/* 검증게시판 — 앱 테마(dark / light / blue) · html.theme-* 포털(토스트·모달) 공통 변수 */
.bps-page--vbd {
color: var(--text);
background: var(--se-bg, var(--bg));
}
.bps-page--vbd .bps-left,
.bps-page--vbd .bps-center {
background: var(--se-bg-elevated, var(--panel));
border-color: var(--border);
}
.bps-page--vbd .bps-center {
min-width: 0;
}
.vbd-header-actions {
display: flex;
align-items: center;
gap: 6px;
}
.vbd-icon-btn {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 6px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--panel);
color: var(--text);
font-size: 12px;
cursor: pointer;
transition: background 0.15s, border-color 0.15s;
}
.vbd-icon-btn:hover:not(:disabled) {
background: var(--hover);
border-color: var(--accent);
}
.vbd-icon-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.vbd-icon-btn--danger:hover:not(:disabled) {
border-color: #ef5350;
color: #ef5350;
}
.vbd-icon-btn-label {
font-size: 11px;
}
/* 좌측 목록 */
.vbd-list-panel {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
gap: 8px;
}
.vbd-list-filters {
display: flex;
flex-direction: column;
gap: 6px;
padding: 0 2px;
}
.vbd-stage-select,
.vbd-search-input {
width: 100%;
padding: 7px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--input-bg);
color: var(--text);
font-size: 12px;
}
.vbd-list-count {
font-size: 11px;
color: var(--text-muted);
padding: 0 4px;
}
.vbd-list-count-sub {
opacity: 0.8;
}
.vbd-list {
list-style: none;
margin: 0;
padding: 0;
overflow-y: auto;
flex: 1;
min-height: 0;
}
.vbd-list.vl-scroll {
display: block;
}
.vbd-list-empty {
padding: 24px 12px;
text-align: center;
color: var(--text-muted);
font-size: 12px;
}
.vbd-list-item {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 10px;
width: 100%;
padding: 10px 10px;
border: none;
border-bottom: 1px solid var(--border);
background: transparent;
color: var(--text);
text-align: left;
cursor: pointer;
transition: background 0.12s;
}
.vbd-list-item:hover {
background: var(--hover);
}
.vbd-list-item--active {
background: var(--accent-muted);
border-left: 3px solid var(--accent);
padding-left: 7px;
}
.vbd-stage-icon {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 8px;
border: 1px solid;
}
.vbd-stage-icon svg {
width: 58%;
height: 58%;
}
.vbd-list-item-body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.vbd-list-item-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
flex-wrap: wrap;
}
.vbd-stage-badge {
display: inline-block;
padding: 2px 7px;
border-radius: 4px;
font-size: 10px;
font-weight: 600;
line-height: 1.4;
}
.vbd-stage-badge--lg {
font-size: 12px;
padding: 4px 10px;
}
.vbd-list-title {
font-size: 13px;
font-weight: 500;
line-height: 1.35;
word-break: break-word;
}
.vbd-list-meta {
font-size: 10px;
color: var(--text-muted);
white-space: nowrap;
}
/* 우측 상세 */
.vbd-detail {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
overflow: hidden;
}
.vbd-detail-scroll {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 16px 20px 8px;
}
.vbd-detail-footer {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 20px 14px;
border-top: 1px solid var(--border);
background: var(--panel);
}
.vbd-detail-dirty-hint {
font-size: 11px;
color: var(--accent);
min-width: 0;
flex: 1;
}
.vbd-detail-footer-actions {
display: flex;
gap: 8px;
flex-shrink: 0;
}
.vbd-detail--empty {
align-items: center;
justify-content: center;
color: var(--text-muted);
font-size: 14px;
}
.vbd-detail-title-row {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 10px;
}
.vbd-detail-title {
margin: 0;
font-size: 18px;
font-weight: 600;
line-height: 1.35;
flex: 1;
min-width: 0;
word-break: break-word;
}
.vbd-detail-title-input {
flex: 1;
min-width: 0;
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--input-bg);
color: var(--text);
font-size: 16px;
font-weight: 600;
}
.vbd-detail-stage-select {
flex-shrink: 0;
min-width: 108px;
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--input-bg);
font-size: 12px;
font-weight: 600;
cursor: pointer;
}
.vbd-field--inline {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 0;
}
.vbd-detail-content-input {
width: 100%;
min-height: 160px;
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--input-bg);
color: var(--text);
font-family: inherit;
font-size: 13px;
line-height: 1.65;
resize: vertical;
}
.vbd-detail-meta {
display: flex;
flex-wrap: wrap;
gap: 16px;
font-size: 11px;
color: var(--text-muted);
margin-bottom: 14px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border);
}
.vbd-detail-path {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 8px;
margin-bottom: 12px;
padding: 8px 10px;
border-radius: 6px;
background: color-mix(in srgb, var(--accent) 8%, var(--bg2));
border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
}
.vbd-detail-path-label {
font-size: 11px;
font-weight: 600;
color: var(--accent);
flex-shrink: 0;
}
.vbd-detail-path-value {
font-size: 12px;
color: var(--text);
word-break: break-all;
}
.vbd-detail-body {
flex: 1;
min-height: 0;
overflow-y: auto;
margin-bottom: 8px;
}
.vbd-detail-content {
margin: 0;
font-family: inherit;
font-size: 13px;
line-height: 1.65;
white-space: pre-wrap;
word-break: break-word;
color: var(--text);
}
/* 모달 */
.vbd-modal-overlay {
position: fixed;
inset: 0;
z-index: 6000;
background: var(--overlay-scrim);
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
}
.vbd-modal {
width: min(520px, 100%);
max-height: 90vh;
display: flex;
flex-direction: column;
background: var(--panel);
border: 1px solid var(--border);
border-radius: 10px;
box-shadow: var(--popup-shadow);
}
.vbd-modal--wide {
width: min(640px, 100%);
}
.vbd-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
border-bottom: 1px solid var(--border);
}
.vbd-modal-header h3 {
margin: 0;
font-size: 15px;
font-weight: 600;
}
.vbd-modal-close {
border: none;
background: transparent;
color: var(--text-muted);
font-size: 16px;
cursor: pointer;
padding: 4px 8px;
}
.vbd-modal-form {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px;
overflow-y: auto;
}
.vbd-field {
display: flex;
flex-direction: column;
gap: 4px;
}
.vbd-field--grow {
flex: 1;
}
.vbd-field-label {
font-size: 11px;
color: var(--text-muted);
}
.vbd-field-hint {
font-size: 10px;
color: var(--text-muted);
line-height: 1.4;
}
.vbd-path-wrap {
position: relative;
}
.vbd-path-input {
width: 100%;
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--input-bg);
color: var(--text);
font-size: 13px;
font-family: inherit;
box-sizing: border-box;
}
.vbd-path-suggest {
position: absolute;
z-index: 7100;
left: 0;
right: 0;
top: calc(100% + 4px);
margin: 0;
padding: 4px 0;
list-style: none;
max-height: 220px;
overflow-y: auto;
background: var(--panel);
border: 1px solid var(--border);
border-radius: 8px;
box-shadow: var(--popup-shadow);
}
.vbd-path-suggest-item {
display: block;
width: 100%;
padding: 8px 12px;
border: none;
background: transparent;
color: var(--text);
font-size: 12px;
text-align: left;
cursor: pointer;
line-height: 1.35;
}
.vbd-path-suggest-item:hover,
.vbd-path-suggest-item--active {
background: var(--hover);
color: var(--accent);
}
.vbd-path-hint {
margin: 4px 0 0;
font-size: 10px;
color: var(--text-muted);
}
.vbd-field input,
.vbd-field select,
.vbd-field textarea {
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--input-bg);
color: var(--text);
font-size: 13px;
font-family: inherit;
}
.vbd-field textarea {
resize: vertical;
min-height: 160px;
}
.vbd-modal-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
padding-top: 4px;
}
.vbd-btn {
padding: 8px 16px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--panel);
color: var(--text);
font-size: 13px;
cursor: pointer;
}
.vbd-btn--primary {
background: var(--accent);
border-color: var(--accent);
color: #fff;
}
.vbd-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.vbd-btn--sm {
padding: 5px 12px;
font-size: 12px;
}
/* 댓글 */
.vbd-comments {
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 10px;
padding-top: 12px;
border-top: 1px solid var(--border);
max-height: 45%;
min-height: 180px;
}
.vbd-comments-header {
flex-shrink: 0;
}
.vbd-comments-title {
margin: 0;
font-size: 14px;
font-weight: 600;
color: var(--text);
}
.vbd-comments-list {
flex: 1;
min-height: 0;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
}
.vbd-comments-empty {
margin: 0;
padding: 12px 0;
font-size: 12px;
color: var(--text-muted);
text-align: center;
}
.vbd-comment {
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel-alt);
}
.vbd-comment-head {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-bottom: 6px;
}
.vbd-comment-author {
font-size: 12px;
font-weight: 600;
color: var(--accent);
}
.vbd-comment-date {
font-size: 10px;
color: var(--text-muted);
flex: 1;
}
.vbd-comment-actions {
display: flex;
gap: 6px;
margin-left: auto;
}
.vbd-comment-action {
border: none;
background: transparent;
color: var(--text-muted);
font-size: 11px;
cursor: pointer;
padding: 2px 4px;
}
.vbd-comment-action:hover:not(:disabled) {
color: var(--text);
}
.vbd-comment-action--danger:hover:not(:disabled) {
color: #ef5350;
}
.vbd-comment-action:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.vbd-comment-body {
margin: 0;
font-size: 13px;
line-height: 1.55;
white-space: pre-wrap;
word-break: break-word;
color: var(--text);
}
.vbd-comment-textarea {
width: 100%;
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--input-bg);
color: var(--text);
font-size: 13px;
font-family: inherit;
resize: vertical;
box-sizing: border-box;
}
.vbd-comment-edit {
display: flex;
flex-direction: column;
gap: 8px;
}
.vbd-comment-edit-actions {
display: flex;
justify-content: flex-end;
gap: 6px;
}
.vbd-comment-compose {
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.vbd-comment-compose-actions {
display: flex;
justify-content: flex-end;
}
/* 첨부 이미지 */
.vbd-attachments {
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px 0;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
margin-bottom: 8px;
}
.vbd-attachments--compact {
padding: 8px 0;
margin-bottom: 0;
border-bottom: none;
}
.vbd-attachments--compact .vbd-attach-zone {
min-height: 80px;
}
.vbd-attach-zone--disabled {
opacity: 0.6;
pointer-events: none;
}
.vbd-attachments-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.vbd-attachments-actions {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
/* ── 화면 영역 캡처 오버레이 ── */
.screen-capture-overlay {
position: fixed;
inset: 0;
z-index: 200000;
cursor: crosshair;
user-select: none;
}
.screen-capture-video {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
object-fit: contain;
background: #000;
pointer-events: none;
}
.screen-capture-interaction {
position: fixed;
inset: 0;
z-index: 1;
touch-action: none;
}
.screen-capture-selection {
position: fixed;
box-sizing: border-box;
border: 2px solid #fff;
background: transparent;
box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
pointer-events: none;
}
.screen-capture-toolbar {
position: fixed;
top: 12px;
left: 50%;
transform: translateX(-50%);
z-index: 2;
display: flex;
align-items: center;
gap: 12px;
padding: 8px 14px;
border-radius: 8px;
background: rgba(20, 22, 28, 0.92);
color: #fff;
font-size: 13px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
pointer-events: auto;
}
.screen-capture-hint {
white-space: nowrap;
}
.screen-capture-cancel {
padding: 4px 12px;
border: 1px solid rgba(255, 255, 255, 0.35);
border-radius: 6px;
background: transparent;
color: #fff;
font-size: 12px;
cursor: pointer;
}
.screen-capture-cancel:hover {
background: rgba(255, 255, 255, 0.12);
}
.vbd-attachments-title {
margin: 0;
font-size: 14px;
font-weight: 600;
flex: 1;
}
.vbd-attach-zone {
position: relative;
min-height: 100px;
padding: 10px;
border: 1px dashed var(--border);
border-radius: 8px;
background: var(--panel-alt);
outline: none;
transition: border-color 0.15s, background 0.15s;
}
.vbd-attach-zone:focus {
border-color: var(--accent);
}
.vbd-attach-zone--over {
border-color: var(--accent);
background: color-mix(in srgb, var(--accent) 12%, var(--panel-alt));
}
.vbd-attach-hint {
margin: 0;
padding: 20px 8px;
text-align: center;
font-size: 12px;
color: var(--text-muted);
line-height: 1.5;
}
.vbd-attach-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 10px;
}
.vbd-attach-item {
position: relative;
margin: 0;
border: 1px solid var(--border);
border-radius: 6px;
overflow: hidden;
background: var(--panel);
}
.vbd-attach-thumb {
display: block;
width: 100%;
padding: 0;
border: none;
background: transparent;
cursor: zoom-in;
}
.vbd-attach-item img {
display: block;
width: 100%;
height: 100px;
object-fit: cover;
pointer-events: none;
}
.vbd-attach-caption {
padding: 4px 6px;
font-size: 10px;
color: var(--text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.vbd-attach-remove {
position: absolute;
top: 4px;
right: 4px;
width: 22px;
height: 22px;
border: none;
border-radius: 4px;
background: rgba(0, 0, 0, 0.65);
color: #fff;
font-size: 12px;
line-height: 1;
cursor: pointer;
opacity: 0;
transition: opacity 0.15s;
}
.vbd-attach-item:hover .vbd-attach-remove {
opacity: 1;
}
.vbd-attach-uploading {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.45);
color: #fff;
font-size: 13px;
border-radius: 8px;
}
.vbd-attach-ctx {
position: fixed;
z-index: 7000;
min-width: 180px;
padding: 4px 0;
background: var(--panel);
border: 1px solid var(--border);
border-radius: 8px;
box-shadow: var(--popup-shadow);
}
.vbd-attach-ctx button {
display: block;
width: 100%;
padding: 8px 14px;
border: none;
background: transparent;
color: var(--text);
font-size: 13px;
text-align: left;
cursor: pointer;
}
.vbd-attach-ctx button:hover {
background: var(--hover);
}
/* 검증 이슈 알림 팝업 — body 포털(.app 밖) · 매매 시그널 팝업(tsn-)과 동일 톤 */
html.theme-dark .vbd-toast-stack,
html.theme-light .vbd-toast-stack,
html.theme-blue .vbd-toast-stack {
color: var(--text);
}
.vbd-toast-stack {
position: fixed;
left: 16px;
bottom: 16px;
z-index: 20002;
display: flex;
flex-direction: column;
gap: 10px;
width: min(380px, calc(100vw - 32px));
pointer-events: none;
}
.vbd-toast-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
pointer-events: auto;
padding-bottom: 2px;
}
.vbd-toast-toolbar-label {
font-size: 11px;
font-weight: 600;
color: var(--text2, var(--text-muted));
}
.vbd-toast-dismiss-all {
font-size: 11px;
padding: 5px 12px;
border-radius: 6px;
border: 1px solid var(--border, rgba(122, 162, 247, 0.2));
background: var(--bg3, #1a1b26);
color: var(--text2, #a9b1d6);
cursor: pointer;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.vbd-toast-dismiss-all:hover {
background: var(--bg4, var(--hover));
color: var(--text);
border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.vbd-toast-card {
pointer-events: auto;
padding: 12px 14px 10px;
border-radius: 10px;
border: 1px solid var(--border, rgba(122, 162, 247, 0.25));
background: var(--bg2, #1e2030);
color: var(--text);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
animation: vbd-toast-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes vbd-toast-in {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
.vbd-toast-head {
display: flex;
align-items: flex-start;
gap: 10px;
}
.vbd-toast-head-text {
flex: 1;
min-width: 0;
}
.vbd-toast-kind {
margin: 0 0 4px;
font-size: 11px;
font-weight: 500;
color: var(--text2, var(--text-muted));
line-height: 1.35;
}
.vbd-toast-title {
margin: 0;
font-size: 13px;
font-weight: 600;
line-height: 1.4;
color: var(--text);
word-break: break-word;
}
.vbd-toast-close {
flex-shrink: 0;
border: none;
background: transparent;
color: var(--text3, var(--text-muted));
font-size: 18px;
line-height: 1;
cursor: pointer;
padding: 0 4px;
transition: color 0.15s;
}
.vbd-toast-close:hover {
color: var(--text);
}
.vbd-toast-meta {
margin-top: 8px;
}
.vbd-toast-meta .vbd-stage-badge {
font-size: 10px;
}
.vbd-toast-actions {
display: flex;
justify-content: flex-end;
margin-top: 10px;
padding-top: 2px;
}
.vbd-toast-go {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
border-radius: 6px;
background: color-mix(in srgb, var(--accent) 12%, var(--bg2, var(--panel)));
color: var(--accent);
font-size: 12px;
font-weight: 500;
cursor: pointer;
transition: background 0.15s, border-color 0.15s;
}
.vbd-toast-go:hover {
background: color-mix(in srgb, var(--accent) 22%, var(--bg2, var(--panel)));
border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}
.vbd-toast-go svg {
flex-shrink: 0;
}