/* ============================================================
   wish_tag 스킨 디자인
   ★ 색을 바꾸고 싶으면 바로 아래 ① 칸만 고치세요.
   ★ 블러(흐림 효과) · 줄무늬는 쓰지 않았어요. 투명도로만 조절해요.
   ============================================================ */
.wt, .wt-view, .wt-write {
    /* ① 색 */
    --wt-navy: #14213a;                 /* 글자 · 테두리 · 명패 (남색) */
    --wt-muted: #5f6f84;                /* 흐린 글자 */
    --wt-pane: rgba(255,255,255,.30);   /* 큰 판 바탕 (투명도) */
    --wt-card: rgba(255,255,255,.60);   /* 카드 바탕 */
    --wt-tagbg: rgba(255,255,255,.87);  /* 가격표 바탕 (87% 불투명) */
    --wt-pk: #f8cddb;                   /* 분홍 그림자 */
    --wt-sky: #cfe8f6;                  /* 하늘 그림자 */
    --wt-pkline: #e8a3ba;               /* 분홍 포인트 (커서 · 아이콘) */
    /* 상태 색 (형광펜) : 숫자 세 개 = 빨강 · 초록 · 파랑 값 */
    --hc-plan: 246,189,207;             /* 구매 예정 : 분홍 */
    --hc-think: 209,194,242;            /* 고민중 : 보라 */
    --hc-buy: 172,214,240;              /* 샀음 : 하늘 */
    --hc-no: 206,215,228;               /* 안 사기로 함 : 연한 회청 */
    /* 도장 색 */
    --stamp-buy: #7fb3d6;
    --stamp-no: #9ba8ba;

    --wt-bd: 1px solid rgba(20,33,58,.82);
    --wt-tagshape: polygon(10px 0,100% 0,100% 100%,10px 100%,0 50%);
    --wt-serif: "Gowun Batang", serif;
    --wt-en: "Cormorant Garamond", serif;
    color: var(--wt-navy);
}
.wt *, .wt-view *, .wt-write * { box-sizing: border-box; }
.wt .st-plan, .wt-view.st-plan, .wt-write.st-plan { --hc: var(--hc-plan); }
.wt .st-think, .wt-view.st-think, .wt-write.st-think { --hc: var(--hc-think); }
.wt .st-buy, .wt-view.st-buy, .wt-write.st-buy { --hc: var(--hc-buy); }
.wt .st-no, .wt-view.st-no, .wt-write.st-no { --hc: var(--hc-no); }
.wt svg, .wt-view svg, .wt-write svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wt-ic { width: 14px; height: 14px; vertical-align: -2px; }
.wt-fl { width: 12px; height: 12px; vertical-align: -1px; fill: currentColor !important; stroke: none !important; }
.wt [hidden], .wt-view [hidden], .wt-write [hidden] { display: none !important; }
.wt button, .wt-view button, .wt-write button { font-family: inherit; cursor: pointer; }

/* D식 기울어진 형광펜 (왼쪽 진하게 → 오른쪽 투명) */
.wt-hl-base { position: relative; z-index: 0; }

/* ── 큰 판 ── */
.wt { position: relative; margin: 0 auto 30px; padding: 30px 28px 36px; background: var(--wt-pane); border: 1px solid rgba(255,255,255,.95); border-radius: 4px; font-family: var(--wt-serif); }

/* ── 제목 ── */
.wt-head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 22px; }
.wt-title { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.wt-title h2 { margin: 0; }
.wt-sub { position: relative; z-index: 0; padding: 0 6px; font: 13px var(--wt-serif); color: var(--wt-navy); --hc: var(--hc-buy); }
.wt-sub::before, .wt-wh::before, .wt-tab.on b::before, .wt-price span::before, .wt-vprice span::after, .wt-badge::before, .wt-sat::before {
    content: ""; position: absolute; z-index: -1; border-radius: 1px 12px 9px 1px; transform: rotate(-2.5deg) skewX(-10deg);
    background: linear-gradient(100deg, rgba(var(--hc),.98) 0%, rgba(var(--hc),.8) 35%, rgba(var(--hc),.1) 100%);
    box-shadow: inset 3px 0 0 rgba(var(--hc),1);
}
.wt-sub::before { left: -4px; right: -8px; top: 42%; bottom: 2%; }
/* T2 라벨 테이프 */
.wt-tape { display: flex; justify-content: center; gap: 2px; transform: rotate(-2deg); filter: drop-shadow(4px 4px 0 var(--wt-pk)); }
.wt-tape span { padding: 8px 9px 7px; background: var(--wt-navy); color: #fff; font: 700 24px/1 "Noto Sans KR", sans-serif; letter-spacing: .06em; text-shadow: 0 -1px 0 rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.35); }
.wt-tape span.pk { background: #e9a6bc; color: var(--wt-navy); text-shadow: 0 1px 0 rgba(255,255,255,.5); }
/* T1 남색 명패 */
.wt-smallhead { font: italic 400 14px var(--wt-en); letter-spacing: .3em; }
.wt-plate-title { display: inline-block; padding: 10px 26px 9px 34px; background: var(--wt-navy); color: #fff; font: 500 30px/1 var(--wt-en) !important; letter-spacing: .42em; box-shadow: 5px 5px 0 var(--wt-pk); }
/* T4 가격표 + 바코드 */
.wt-tagtitle { display: flex; align-items: stretch; background: rgba(255,255,255,.9); border: var(--wt-bd); box-shadow: 5px 5px 0 var(--wt-sky); text-align: left; }
.wt-tagtitle .l { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 11px 20px; border-right: 1px dashed rgba(20,33,58,.4); }
.wt-tagtitle h2 { font: 500 27px/1 var(--wt-en) !important; letter-spacing: .3em; }
.wt-tagtitle .wt-sub { padding: 0; font-size: 11.5px; color: var(--wt-muted); }
.wt-tagtitle .wt-sub::before { display: none; }
.wt-tagtitle .r { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 14px; background: rgba(238,247,252,.9); }
.wt-tagtitle .bc { width: 70px; height: 26px; background: linear-gradient(90deg, var(--wt-navy) 0 1px, transparent 1px 3px, var(--wt-navy) 3px 5px, transparent 5px 6px, var(--wt-navy) 6px 7px, transparent 7px 10px, var(--wt-navy) 10px 12px, transparent 12px 13px, var(--wt-navy) 13px 14px, transparent 14px 17px, var(--wt-navy) 17px 18px, transparent 18px 20px, var(--wt-navy) 20px 23px, transparent 23px 24px, var(--wt-navy) 24px 25px, transparent 25px 28px, var(--wt-navy) 28px 30px, transparent 30px 31px, var(--wt-navy) 31px 32px, transparent 32px 35px) 0 0 / 35px 100% repeat-x; }
.wt-tagtitle .r i { font: italic 500 13px var(--wt-en); }

/* ── 탭 : ▶ 커서 + 형광펜 ── */
.wt-tabs { display: flex; justify-content: center; gap: 32px; }
.wt-tab { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: italic 500 20px var(--wt-en); color: rgba(20,33,58,.4); letter-spacing: .04em; }
.wt-tab .cur { display: inline-block; width: 0; height: 0; border-left: 7px solid var(--wt-pkline); border-top: 5px solid transparent; border-bottom: 5px solid transparent; visibility: hidden; }
.wt-tab.on { color: var(--wt-navy); }
.wt-tab.on .cur { visibility: visible; }
.wt-tab b { position: relative; z-index: 0; padding: 0 4px; font-weight: inherit; --hc: var(--hc-plan); }
.wt-tab.on b::before { left: -4px; right: -10px; top: 42%; bottom: 0; transform: rotate(-3deg) skewX(-10deg); }
.wt-tab small { font: 12px var(--wt-serif); opacity: .55; }

/* ── 요약 칸 (명패) ── */
.wt-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 6px 0 20px; }
.wt-sum > div { position: relative; padding: 22px 16px 12px; background: rgba(255,255,255,.5); border: var(--wt-bd); border-radius: 3px; box-shadow: 4px 4px 0 var(--wt-sky); }
.wt-sum > div.pk { box-shadow: 4px 4px 0 var(--wt-pk); }
.wt-sum p { position: absolute; top: -10px; left: 10px; margin: 0; padding: 2px 10px; background: var(--wt-navy); color: #fff; font: 12px var(--wt-serif); }
.wt-sum b { display: block; font: 500 30px/1.1 var(--wt-en); font-feature-settings: "lnum" 1; color: var(--wt-navy); }
.wt-sum b small { font: 12px var(--wt-serif); margin-left: 2px; }
.wt-sum span { font-size: 11px; color: var(--wt-muted); }

/* ── 도구 줄 : 왼쪽 정렬·연도 / 가운데 상태 / 오른쪽 검색 ── */
.wt-tool { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 4px 0 14px; }
.wt-tl { justify-self: start; display: flex; gap: 8px; flex-wrap: wrap; }
.wt-tr { justify-self: end; }
.wt-tl button { padding: 2px 3px; border: 0; background: none; font: 12px var(--wt-serif); color: var(--wt-muted); }
.wt-years button { font: italic 500 15px var(--wt-en); }
.wt-tl button.on { color: var(--wt-navy); text-decoration: underline; text-decoration-color: var(--wt-pkline); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.wt-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.wt-chips button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 15px; background: rgba(255,255,255,.7); border: var(--wt-bd); border-radius: 2px; font: 12.5px var(--wt-serif); color: var(--wt-navy); }
.wt-chips button b { font-weight: inherit; }
.wt-chips button em { font: italic 500 14px var(--wt-en); opacity: .55; }
.wt-chips button.on { background: var(--wt-navy); color: #fff; box-shadow: 3px 3px 0 var(--wt-sky); }
.wt-chips button.on em { opacity: .75; }
.wt-chips .hotc .wt-fl { color: var(--wt-pkline); }
.wt-srch { display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: rgba(255,255,255,.7); border: var(--wt-bd); border-radius: 2px; cursor: text; }
.wt-srch input { width: 0; padding: 0; border: 0; background: none; font: 12.5px var(--wt-serif); color: var(--wt-navy); outline: none; transition: width .2s; }
.wt-srch:focus-within input, .wt-srch.has input { width: 130px; }

/* ── 빠른 작성 칸 ── */
.wt-quick { margin: 0 0 14px; }
.wt-quick-open { display: flex; align-items: center; gap: 8px; width: 100%; padding: 11px 16px; background: rgba(255,255,255,.4); border: 1px dashed rgba(20,33,58,.45); border-radius: 3px; font: 13px var(--wt-serif); color: var(--wt-muted); text-align: left; }
.wt-quick-open .plus { color: var(--wt-pkline); font-weight: 700; }
.wt-quick-open small { margin-left: 6px; font-size: 11px; opacity: .8; }
.wt-quick-form { position: relative; padding: 22px 22px 16px; background: rgba(255,255,255,.62); border: var(--wt-bd); border-radius: 3px; box-shadow: 4px 4px 0 var(--wt-sky); }
.wt-qcols, .wt-wcols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wt-qcol + .wt-qcol, .wt-wcol + .wt-wcol { padding-left: 24px; border-left: 1px dashed rgba(20,33,58,.25); }
.wt-qfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(20,33,58,.25); }
.wt-qfull { font-size: 12.5px; color: var(--wt-navy) !important; text-decoration: none !important; }
.wt-qfull small { color: var(--wt-muted); }
.wt-qbtns { display: flex; gap: 8px; }

/* 입력칸 공통 (빠른 작성 · 글쓰기) */
.wt-wf { display: block; flex: 1; min-width: 0; margin: 0 0 11px; }
.wt-wrow { display: flex; gap: 10px; }
.wt-wl { display: block; margin: 0 0 5px; font: 12px var(--wt-serif); color: var(--wt-navy); }
.wt-wl small { margin-left: 4px; font-size: 10.5px; color: var(--wt-muted); }
.wt-quick-form input[type=text], .wt-quick-form input[type=password], .wt-quick-form select, .wt-quick-form textarea,
.wt-write input[type=text], .wt-write input[type=password], .wt-write input[type=number], .wt-write select, .wt-write textarea {
    display: block; width: 100%; padding: 8px 10px; background: rgba(255,255,255,.9); border: 1px solid rgba(20,33,58,.28); border-radius: 2px;
    font: 14px var(--wt-serif); color: var(--wt-navy); line-height: 1.5;
}
.wt-quick-form textarea, .wt-write textarea { resize: vertical; }
.wt-quick-form input:focus, .wt-quick-form select:focus, .wt-quick-form textarea:focus,
.wt-write input:focus, .wt-write select:focus, .wt-write textarea:focus { outline: none; border-color: var(--wt-navy); box-shadow: 2px 2px 0 var(--wt-sky); }
.wt-seg { display: flex; gap: 5px; margin-bottom: 8px; }
.wt-seg button { flex: 1; padding: 8px 4px; background: rgba(255,255,255,.88); border: var(--wt-bd); border-radius: 2px; font: 12.5px var(--wt-serif); color: var(--wt-navy); }
.wt-seg button.on { background: var(--wt-navy); color: #fff; box-shadow: 3px 3px 0 var(--wt-sky); }
.wt-hotchk { display: flex; align-items: center; gap: 6px; padding: 8px 11px; background: rgba(253,238,243,.85); border: 1px solid rgba(20,33,58,.25); border-radius: 2px; font: 12.5px var(--wt-serif); cursor: pointer; }
.wt-hotchk input { position: absolute; opacity: 0; pointer-events: none; }
.wt-hotchk i { width: 15px; height: 15px; border: 1px solid var(--wt-navy); border-radius: 1px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 10px; color: #fff; }
.wt-hotchk input:checked + i { background: var(--wt-navy); }
.wt-hotchk input:checked + i::after { content: "✓"; }
.wt-hotchk .wt-fl { color: var(--wt-pkline); }
.wt-hotchk small { margin-left: auto; font-size: 10.5px; color: var(--wt-muted); }
.wt-hotchk.is-off { opacity: .4; pointer-events: none; }
.wt-paste { position: relative; display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 8px; background: rgba(255,255,255,.75); border: 1px dashed #86b9da; border-radius: 2px; text-align: center; cursor: pointer; overflow: hidden; }
.wt-paste:focus { outline: none; border-color: var(--wt-navy); box-shadow: 2px 2px 0 var(--wt-sky); }
.wt-paste.is-over { background: rgba(238,247,252,.95); }
.wt-paste-sm { min-height: 64px; }
.wt-paste-msg { font-size: 12px; color: var(--wt-muted); line-height: 1.6; }
.wt-paste-msg b { color: var(--wt-navy); }
.wt-paste-img { max-width: 100%; max-height: 140px; object-fit: contain; }
.wt-paste-sm .wt-paste-img { max-height: 80px; }
.wt-paste-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; border: var(--wt-bd); border-radius: 2px; background: #fff; font-size: 11px; color: var(--wt-navy); }
.wt-paste-tools { display: flex; gap: 6px; margin-top: 6px; }
.wt-pick { position: relative; flex: none; padding: 7px 10px; border: var(--wt-bd); border-radius: 2px; background: #fff; font-size: 12px; cursor: pointer; white-space: nowrap; }
.wt-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wt-paste-tools .wt-thumb-url { flex: 1; min-width: 0; font-size: 12.5px !important; }

/* 버튼 */
.wt-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 16px; background: rgba(255,255,255,.88); border: var(--wt-bd); border-radius: 2px; font: 12.5px var(--wt-serif); color: var(--wt-navy) !important; text-decoration: none !important; white-space: nowrap; }
.wt-btn.wt-pri { background: var(--wt-navy); color: #fff !important; box-shadow: 3px 3px 0 var(--wt-pk); }
.wt-btn:disabled { opacity: .6; }

/* ── 구역 제목 ── */
.wt-grp { margin-top: 6px; }
.wt-gh { display: flex; align-items: center; gap: 10px; margin: 24px 0 14px; }
.wt-gt { padding: 2px 11px; background: var(--wt-navy); color: #fff; font: 12.5px var(--wt-serif); }
.wt-gn { font: italic 500 17px var(--wt-en); }
.wt-rule { flex: 1; height: 1px; background: radial-gradient(circle, rgba(20,33,58,.32) .8px, transparent 1px) 0 50% / 4.5px 1px repeat-x; }
.wt-fold { flex: none; width: 24px; height: 24px; padding: 0; border: var(--wt-bd); border-radius: 2px; background: rgba(255,255,255,.75); font-size: 13px; color: var(--wt-navy); line-height: 1; }
.wt-grp.is-folded .wt-grid, .wt-grp.is-folded .wt-empty { display: none; }
.wt-empty, .wt-noresult { margin: 6px 0 18px; text-align: center; font-size: 12.5px; color: var(--wt-muted); }

/* ── 카드 ── */
.wt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.wt-card { position: relative; display: flex; flex-direction: column; background: var(--wt-card); border: var(--wt-bd); border-radius: 3px; box-shadow: 4px 4px 0 var(--wt-sky); color: var(--wt-navy); transition: transform .15s, box-shadow .15s; }
.wt-card.is-hot { box-shadow: 4px 4px 0 var(--wt-pk); }
.wt-card:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--wt-sky); }
.wt-card.is-hot:hover { box-shadow: 5px 5px 0 var(--wt-pk); }
.wt-card.is-filtered { display: none; }
.wt-cover { position: absolute; inset: 0; z-index: 6; }
.wt-ph { position: relative; aspect-ratio: 1 / 1; margin: 6px 6px 0; border: 1px solid rgba(20,33,58,.15); background: linear-gradient(140deg, rgba(var(--hc),.35), rgba(255,255,255,.6)); overflow: hidden; }
.wt-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wt-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(20,33,58,.3); }
.wt-noimg .wt-ic { width: 38%; height: 38%; stroke-width: 1; }
.wt-cb { display: flex; flex-direction: column; flex: 1; padding: 9px 11px 11px; }
.wt-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin-bottom: 2px; font-size: 10.5px; color: var(--wt-muted); }
.wt-cat { font: italic 500 14px var(--wt-en); color: var(--wt-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-days { white-space: nowrap; }
.wt-name { margin: 0 0 6px; font: 700 13px/1.45 var(--wt-serif); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; }
.wt-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 16px; margin-top: auto; }
.wt-foot .wt-sat { margin-right: auto; }
.wt-lk, .wt-cmtn { font-size: 11px; color: var(--wt-muted); }
.wt-cmtn::before { content: "💬"; font-size: 10px; margin-right: 2px; filter: grayscale(1); opacity: .7; }

/* 가격표 : 87% 불투명 + 뚫린 구멍 + 숫자 뒤 상태색 형광펜 */
.wt-price { position: absolute; top: 14px; right: -5px; z-index: 3; padding: 4px 11px 4px 20px; clip-path: var(--wt-tagshape); background: var(--wt-tagbg); font: 500 15px var(--wt-en); font-feature-settings: "lnum" 1; color: var(--wt-navy); transform: rotate(4deg); pointer-events: none;
    -webkit-mask: radial-gradient(circle at 9px 50%, transparent 2.6px, #000 3.1px); mask: radial-gradient(circle at 9px 50%, transparent 2.6px, #000 3.1px); }
.wt-price span { position: relative; z-index: 0; padding: 0 2px; white-space: nowrap; }
.wt-price span::before { left: -3px; right: -5px; top: 42%; bottom: 6%; border-radius: 1px 10px 8px 1px; transform: rotate(-3deg) skewX(-10deg); box-shadow: inset 2px 0 0 rgba(var(--hc),1); }
.wt-card.st-no .wt-price span { text-decoration: line-through; text-decoration-color: rgba(20,33,58,.5); }

/* 미치게 갖고 싶다 : 흰 바탕 + 남색 테두리 + 작은 남색 그림자 (나레이션 박스) */
.wt-hot { position: absolute; left: 8px; bottom: 9px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; background: #fff; border: 1px solid var(--wt-navy); box-shadow: 2px 2px 0 var(--wt-navy); font: 11.5px var(--wt-serif); color: var(--wt-navy); white-space: nowrap; }
.wt-hot b { font-weight: 400; }
.wt-hot .wt-fl { color: var(--wt-pkline); }

/* 도장 S1 : 두 줄 네모 + 날짜 */
.wt-stamp { position: absolute; right: 9px; bottom: 10px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 10px 3px; border: 2px solid var(--stamp-buy); border-radius: 2px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), inset 0 0 0 3.2px var(--stamp-buy); background: rgba(255,255,255,.9); color: #5b97c0; transform: rotate(-8deg); font: 700 13px/1.2 var(--wt-serif); }
.wt-stamp em { font-style: normal; white-space: nowrap; }
.wt-stamp small { font: 500 11px/1 var(--wt-en); font-feature-settings: "lnum" 1; letter-spacing: .08em; }
.wt-stamp.s-no { border-color: var(--stamp-no); box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), inset 0 0 0 3.2px var(--stamp-no); color: #7d8a9c; font-size: 11.5px; }
/* 도장 S2 : 남색 명패 */
.wt-stamp2 { position: absolute; left: 8px; bottom: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; background: var(--wt-navy); color: #fff; font: 12px var(--wt-serif); box-shadow: 3px 3px 0 var(--wt-sky); }
.wt-stamp2.s-no { background: #7d8aa0; box-shadow: 3px 3px 0 rgba(206,215,228,1); }
.wt-stamp2 small { font: 500 12px var(--wt-en); opacity: .85; }
/* 안 사기로 함 : 사진만 흑백 */
.wt-card.st-no .wt-ph img { filter: grayscale(1); opacity: .6; }
.wt-card.st-no .wt-name { color: var(--wt-muted); text-decoration: line-through; text-decoration-color: rgba(20,33,58,.35); }

/* 만족도 (형광펜) */
.wt-sat { position: relative; z-index: 0; display: inline-block; padding: 0 5px; font: 10.5px var(--wt-serif); color: var(--wt-navy); white-space: nowrap; }
.wt-sat::before { left: -2px; right: -4px; top: 30%; bottom: 0; border-radius: 1px 9px 7px 1px; transform: rotate(-2deg) skewX(-10deg); background: linear-gradient(100deg, rgba(var(--hc),.95), rgba(var(--hc),.15)); box-shadow: none; }
.wt-sat.sat0 { --hc: var(--hc-plan); } .wt-sat.sat1 { --hc: var(--hc-buy); } .wt-sat.sat2 { --hc: 190,198,210; }

/* 잠금 카드 */
.wt-lockph { display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, rgba(209,194,242,.55), rgba(207,232,246,.55) 60%, rgba(255,255,255,.6)); }
.wt-lockplate { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--wt-navy); color: #fff; font: italic 500 14px var(--wt-en); letter-spacing: .14em; box-shadow: 3px 3px 0 var(--wt-pk); }
.wt-lockplate .wt-ic { color: #fff; }
.wt-lockplate b { font-weight: 500; }
.wt-card.is-lock .wt-name { color: var(--wt-muted); font-weight: 400; }
.wt-card.is-lock .wt-price span { letter-spacing: .1em; }

/* ── receipt : 달 ── */
.wt-month { margin-top: 6px; }
.wt-mh { display: flex; align-items: center; gap: 12px; margin: 24px 0 14px; }
.wt-mt { font: italic 500 22px var(--wt-en); font-feature-settings: "lnum" 1; white-space: nowrap; }
.wt-mt::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 4px 0; background: var(--wt-pkline); transform: rotate(45deg); }
.wt-mh .wt-fold { margin-left: auto; }
.wt-thumbs, .wt-mcount { display: none; }
.wt-month.is-folded .wt-grid { display: none; }
.wt-month.is-folded .wt-mh { margin: 12px 0; }
.wt-month.is-folded .wt-mt::before { background: #9ccbe8; }
.wt-month.is-folded .wt-thumbs { display: flex; }
.wt-thumbs i { display: block; background: linear-gradient(140deg, rgba(var(--hc-buy),.6), #fff) center / cover no-repeat; }
.wt-thumbs i.t-no { filter: grayscale(1); opacity: .75; }
.wt-thumbs i.t-lock { background: linear-gradient(150deg, rgba(209,194,242,.6), rgba(207,232,246,.6)); }
/* M2 겹쳐 놓은 폴라로이드 */
.wt-month-m2 .wt-thumbs { padding-left: 10px; }
.wt-month-m2 .wt-thumbs i { width: 34px; height: 40px; margin-left: -10px; border: 3px solid #fff; border-bottom-width: 9px; box-shadow: 0 2px 4px rgba(0,0,0,.15); }
.wt-month-m2 .wt-thumbs i:nth-child(odd) { transform: rotate(-7deg); }
.wt-month-m2 .wt-thumbs i:nth-child(even) { transform: rotate(6deg) translateY(-2px); }
/* M3 네모 창 + 개수 */
.wt-month-m3 .wt-thumbs { gap: 6px; padding: 5px 7px; background: rgba(255,255,255,.65); border: 1px solid rgba(20,33,58,.4); box-shadow: 3px 3px 0 var(--wt-sky); }
.wt-month-m3 .wt-thumbs i { width: 28px; height: 28px; }
.wt-month-m3 .wt-month.is-folded .wt-mcount { display: inline; position: relative; z-index: 0; padding: 0 3px; font: italic 500 14px var(--wt-en); --hc: var(--hc-plan); }
.wt-month-m3 .wt-month.is-folded .wt-mcount::before { content: ""; position: absolute; z-index: -1; left: -2px; right: -6px; top: 40%; bottom: 0; transform: rotate(-3deg) skewX(-10deg); border-radius: 1px 10px 8px 1px; background: linear-gradient(100deg, rgba(var(--hc),.95), rgba(var(--hc),.1)); }
.wt-month.is-empty { display: none; }

/* ── category 택 (오른쪽) ── */
.wt-catside { position: absolute; top: 30px; right: 0; z-index: 20; filter: drop-shadow(2px 2px 0 var(--wt-pk)); }
.wt-catbtn, .wt-cbtn { position: relative; z-index: 0; border: 0; background: var(--wt-navy); clip-path: var(--wt-tagshape);
    -webkit-mask: radial-gradient(circle at 12px 50%, transparent 3px, #000 3.5px); mask: radial-gradient(circle at 12px 50%, transparent 3px, #000 3.5px); }
.wt-catbtn::after, .wt-cbtn::after { content: ""; position: absolute; inset: 1px 1px 1px 1.4px; z-index: -1; background: #fff; clip-path: polygon(9.3px 0,100% 0,100% 100%,9.3px 100%,0 50%); }
.wt-catbtn { position: absolute; right: 0; top: 0; padding: 8px 14px 8px 24px; transform: translateX(72%) rotate(-6deg); font: italic 500 16px var(--wt-en); color: var(--wt-navy); white-space: nowrap; }
.wt-catbtn b { font-weight: 500; }
.wt-catside.is-open .wt-catbtn { transform: translateX(72%) rotate(4deg); }
.wt-catside.is-open .wt-catbtn::after { background: #fdeef3; }
.wt-catpanel { position: absolute; top: -6px; right: 30px; width: 190px; padding: 14px; display: flex; flex-direction: column; gap: 7px; background: rgba(255,255,255,.9); border: var(--wt-bd); border-radius: 3px; box-shadow: 4px 4px 0 var(--wt-pk); }
.wt-cbtn { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 12px 6px 22px; font: 12.5px var(--wt-serif); color: var(--wt-navy); text-align: left; }
.wt-cbtn em { position: relative; font: italic 500 14px var(--wt-en); opacity: .6; }
.wt-cbtn.on { color: #fff; }
.wt-cbtn.on::after { background: var(--wt-navy); }
.wt-mcats { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; width: 100%; padding: 10px 8px; background: rgba(255,255,255,.55); border: var(--wt-bd); border-radius: 2px; box-shadow: 3px 3px 0 var(--wt-pk); }
.wt-mcats .wt-cbtn { padding: 5px 11px 5px 21px; font-size: 12px; -webkit-mask: radial-gradient(circle at 11px 50%, transparent 2.6px, #000 3.1px); mask: radial-gradient(circle at 11px 50%, transparent 2.6px, #000 3.1px); }

/* 관리자 설정 버튼 */
.wt-gear { position: absolute; top: 12px; left: 12px; z-index: 5; width: 30px; height: 30px; padding: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.8); border: var(--wt-bd); border-radius: 2px; box-shadow: 2px 2px 0 var(--wt-sky); color: var(--wt-navy); }
.wt-gear .wt-ic { width: 16px; height: 16px; }
.wt-gear:hover, .wt-gear:focus, .wt-gear:active { background: var(--wt-navy); color: rgb(246,189,207); }

/* ── 명패 (ITEM · NEW · SETTING) ── */
.wt-plate { position: absolute; top: -12px; left: 22px; z-index: 4; padding: 3px 13px; background: var(--wt-navy); color: #fff; font: 500 13px var(--wt-en); letter-spacing: .32em; box-shadow: 3px 3px 0 var(--wt-pk); }

/* ── 모달 ── */
.wt.wt-portal { position: static; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.wt-loadfail { padding: 30px 10px; text-align: center; font-size: 14px; line-height: 1.7; }
.wt-loadfail .why { margin: 6px 0 16px; font-size: 12px; color: rgba(20,33,58,.6); word-break: break-all; }
.wt-dim { position: fixed; inset: 0; z-index: 1000; background: rgba(20,33,58,.3); }
.wt-modal { position: fixed; left: 50%; top: 50%; z-index: 1001; width: min(780px, calc(100vw - 32px)); max-height: calc(100vh - 60px); transform: translate(-50%,-50%); display: flex; flex-direction: column; background: rgba(250,252,254,.97); border: var(--wt-bd); border-radius: 3px; box-shadow: 6px 6px 0 var(--wt-sky), 0 24px 50px rgba(20,33,58,.18); }
.wt-mbody { overflow-y: auto; overscroll-behavior: contain; padding: 30px 30px 24px; }
.wt-mx { position: absolute; right: 14px; top: 14px; z-index: 5; width: 28px; height: 28px; padding: 0; border: var(--wt-bd); border-radius: 2px; background: #fff; color: var(--wt-navy); font-size: 13px; }
.wt-loading { padding: 50px 0; text-align: center; font-size: 12.5px; color: var(--wt-muted); }
html.wt-modal-on, html.wt-modal-on body { overflow: hidden; }
.wt-modal .wt-vcard { padding: 0; background: none; border: 0; box-shadow: none; }
.wt-modal .wt-vcard > .wt-plate, .wt-modal .wt-only-page { display: none !important; }
.wt-view .wt-only-modal { display: none; }
.wt-modal .wt-view .wt-only-modal { display: inline-flex; }

/* ── 보기 화면 ── */
.wt-view { max-width: 860px; margin: 20px auto 30px; font-family: var(--wt-serif); }
.wt-vcard { position: relative; padding: 32px 28px 24px; background: rgba(255,255,255,.66); border: var(--wt-bd); border-radius: 3px; box-shadow: 5px 5px 0 var(--wt-sky); }
.wt-vtop { display: flex; gap: 26px; margin-bottom: 18px; }
.wt-vimg { position: relative; flex: 0 0 260px; aspect-ratio: 1 / 1; border: 1px solid rgba(20,33,58,.15); background: linear-gradient(140deg, rgba(var(--hc),.35), rgba(255,255,255,.6)); }
.wt-vimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wt-vimg .wt-hot { left: 10px; bottom: 12px; }
.wt-vinfo { flex: 1; min-width: 0; }
.wt-vmeta { display: flex; align-items: center; gap: 10px; }
.wt-vmeta .wt-cat { font-size: 16px; }
.wt-badge { position: relative; z-index: 0; padding: 0 5px; font: 12px var(--wt-serif); }
.wt-badge::before { left: -2px; right: -6px; top: 35%; bottom: 0; border-radius: 1px 10px 8px 1px; transform: rotate(-3deg) skewX(-10deg); box-shadow: inset 2px 0 0 rgba(var(--hc),1); }
.wt-vtitle { margin: 6px 0 8px !important; font: 700 21px/1.45 var(--wt-serif) !important; color: var(--wt-navy); word-break: keep-all; overflow-wrap: anywhere; }
.wt-vprice { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.wt-vprice > span { position: relative; z-index: 0; display: inline-block; padding: 4px 18px 4px 30px; clip-path: polygon(16px 0,100% 0,100% 100%,16px 100%,0 50%); background: var(--wt-tagbg); font: 500 30px var(--wt-en); font-feature-settings: "lnum" 1; transform: rotate(-1.5deg); filter: drop-shadow(0 1px 2px rgba(0,0,0,.12));
    -webkit-mask: radial-gradient(circle at 15px 50%, transparent 3.6px, #000 4.2px); mask: radial-gradient(circle at 15px 50%, transparent 3.6px, #000 4.2px); }
.wt-vprice > span::after { left: 26px; right: 34px; top: 48%; bottom: 16%; border-radius: 1px 12px 10px 1px; transform: rotate(-3deg) skewX(-10deg); }
.wt-vprice small { font: 13px var(--wt-serif); }
.wt-vorig { font-style: normal; font-size: 11.5px; color: var(--wt-muted); text-decoration: line-through; }
.wt-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; }
.wt-links a { display: inline-flex; align-items: center; gap: 5px; padding: 3px 2px; border-bottom: 1px solid rgba(20,33,58,.3); font-size: 12.5px; color: var(--wt-navy) !important; text-decoration: none !important; }
.wt-links a:hover { border-bottom-color: var(--wt-navy); }
.wt-dates { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; font-size: 12px; color: var(--wt-muted); }
.wt-vbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.wt-stwrap { position: relative; }
.wt-stmenu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 10; display: flex; flex-direction: column; gap: 4px; padding: 8px; background: #fff; border: var(--wt-bd); box-shadow: 3px 3px 0 var(--wt-sky); }
.wt-stmenu button { position: relative; z-index: 0; padding: 5px 12px; border: 0; background: none; font: 12.5px var(--wt-serif); color: var(--wt-navy); text-align: left; white-space: nowrap; }
.wt-stmenu button::before { content: ""; position: absolute; z-index: -1; left: 6px; right: 6px; top: 45%; bottom: 10%; transform: skewX(-10deg); background: linear-gradient(100deg, rgba(var(--hc),.9), rgba(var(--hc),.15)); opacity: 0; }
.wt-stmenu button:hover::before, .wt-stmenu button.on::before { opacity: 1; }
.wt-vbody { padding: 4px 2px 14px; font: 14px/1.9 var(--wt-serif); color: var(--wt-navy); overflow-wrap: anywhere; }
.wt-vbody img { max-width: 100%; height: auto; }
.wt-vbody .unused-images-area img { display: block; margin: 0 auto 12px; }
/* 이유 칸 (쪽지 + 가격표 이름표) */
.wt-note { position: relative; margin-top: 10px; padding: 26px 18px 14px; border-radius: 14px; background: rgba(238,247,252,.72); border: 1px solid rgba(255,255,255,.95); }
.wt-note p { margin: 0; font: 13.5px/1.8 var(--wt-serif); }
.wt-ntag { position: absolute; top: -11px; left: 16px; display: inline-flex; align-items: baseline; gap: 7px; padding: 3px 13px 3px 20px; clip-path: var(--wt-tagshape); background: var(--wt-sky); font: italic 500 14px var(--wt-en);
    -webkit-mask: radial-gradient(circle at 9px 50%, transparent 2.4px, #000 2.9px); mask: radial-gradient(circle at 9px 50%, transparent 2.4px, #000 2.9px); }
.wt-ntag b { font: 12px var(--wt-serif); }
.wt-note.n-buy { background: rgba(238,247,252,.72); } .wt-note.n-buy .wt-ntag { background: rgba(var(--hc-buy),1); }
.wt-note.n-no { background: rgba(240,242,245,.75); } .wt-note.n-no .wt-ntag { background: #dfe3e9; }
.wt-note.n-not .wt-ntag { background: var(--wt-sky); }
.wt-after { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 14px; background: rgba(253,238,243,.6); border-radius: 10px; }
.wt-after p { margin: 0; font-size: 13px; }
.wt-after .wt-sat { font-size: 12px; }
.wt-nb { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 12px; border-top: 1px dashed rgba(20,33,58,.25); font-size: 12.5px; }
.wt-nb a { color: var(--wt-navy) !important; text-decoration: none !important; }
/* 댓글 : 눌러서 열기 */
.wt-cmt { margin-top: 18px; }
.wt-cmtbar { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 18px; background: rgba(255,255,255,.62); border: var(--wt-bd); border-radius: 3px; box-shadow: 4px 4px 0 var(--wt-pk); text-align: left; }
.wt-cmtbar .ct { font: italic 500 17px var(--wt-en); letter-spacing: .06em; color: var(--wt-navy); }
.wt-cmtbar .cn { font-size: 12.5px; color: var(--wt-muted); }
.wt-cmtbar .ca { margin-left: auto; font-size: 12px; color: var(--wt-navy); }
.wt-cmtbody { margin-top: 12px; padding: 14px 16px; background: rgba(255,255,255,.62); border: var(--wt-bd); border-radius: 3px; }
.wt-cmtbody .cmt_btn { display: none; }
.wt-cmtbody #bo_vc { display: block !important; }

/* ── 글쓰기 화면 ── */
.wt-write { position: relative; max-width: 1040px; margin: 24px auto 30px; padding: 32px 28px 22px; background: rgba(255,255,255,.42); border: var(--wt-bd); border-radius: 3px; box-shadow: 5px 5px 0 var(--wt-sky); font-family: var(--wt-serif); }
.wt-whead { display: flex; align-items: baseline; gap: 12px; margin: 2px 0 18px; }
.wt-wh { position: relative; z-index: 0; padding: 0 4px; font: 700 19px var(--wt-serif); --hc: var(--hc-plan); }
.wt-wh::before { left: -4px; right: -10px; top: 45%; bottom: 0; }
.wt-whs { font: italic 400 15px var(--wt-en); letter-spacing: .12em; color: var(--wt-muted); }
.wt-linkrow { display: flex; gap: 6px; margin-bottom: 6px; }
.wt-linkdel { flex: none; width: 34px; padding: 0; border: 1px solid rgba(20,33,58,.28); border-radius: 2px; background: #fff; color: var(--wt-muted); }
.wt-linkadd { width: 100%; padding: 6px; border: 1px dashed #86b9da; border-radius: 2px; background: rgba(255,255,255,.6); font-size: 12px; color: #4f80a8; }
.wt-buyonly { display: none; margin-top: 4px; padding: 14px 14px 4px; background: rgba(238,247,252,.6); border: 1px dashed rgba(20,33,58,.25); border-radius: 2px; }
.wt-write.st-buy .wt-buyonly { display: block; }
.wt-satpick { display: flex; flex-wrap: wrap; gap: 8px; }
.wt-satpick label { position: relative; padding: 5px 10px; border: 1px solid rgba(20,33,58,.25); border-radius: 2px; background: #fff; cursor: pointer; font-size: 12.5px; }
.wt-satpick input { position: absolute; opacity: 0; pointer-events: none; }
.wt-satpick label:has(input:checked) { border-color: var(--wt-navy); box-shadow: 2px 2px 0 var(--wt-pk); }
.wt-satpick label.is-on { border-color: var(--wt-navy); box-shadow: 2px 2px 0 var(--wt-pk); }
.wt-wbtn { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(20,33,58,.25); }
.wt-editor { min-width: 0; }

/* ── 설정창 ── */
.wt-setwin { position: fixed; left: 50%; top: 50%; z-index: 1002; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 60px); overflow-y: auto; transform: translate(-50%,-50%); padding: 30px 26px 20px; background: rgba(250,252,254,.97); border: var(--wt-bd); border-radius: 3px; box-shadow: 5px 5px 0 var(--wt-sky), 0 20px 40px rgba(20,33,58,.18); }
.wt-setwin .wt-plate { position: sticky; top: 0; display: inline-block; margin: -20px 0 8px -4px; }
.wt-srow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 10px 0; border-bottom: 1px dashed rgba(20,33,58,.18); }
.wt-sl { width: 96px; margin: 0; font: 700 12.5px var(--wt-serif); }
.wt-srow input[type=text] { flex: 1; min-width: 160px; padding: 6px 10px; border: 1px solid rgba(20,33,58,.3); border-radius: 2px; background: #fff; font: 13px var(--wt-serif); color: var(--wt-navy); }
.wt-snum { width: 64px; padding: 6px 8px; border: 1px solid rgba(20,33,58,.3); border-radius: 2px; }
.wt-shint { font-size: 11px; color: var(--wt-muted); }
.wt-sopts { display: flex; flex-wrap: wrap; gap: 8px; }
.wt-sopt { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: var(--wt-bd); border-radius: 2px; background: #fff; font: 12px var(--wt-serif); cursor: pointer; }
.wt-sopt input { position: absolute; opacity: 0; pointer-events: none; }
.wt-sopt i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--wt-navy); }
.wt-sopt.on { background: var(--wt-navy); color: #fff; box-shadow: 2px 2px 0 var(--wt-pk); }
.wt-sopt.on i { background: #f6bdcf; border-color: #fff; }
.wt-sbtn { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* ── 휴대폰 : 읽기 편하게 ── */
@media (max-width: 640px) {
    .wt { padding: 54px 14px 24px; }
    .wt-head { gap: 12px; margin-bottom: 14px; }
    .wt-tape span { font-size: 16px; padding: 6px 6px 5px; }
    .wt-plate-title { font-size: 22px !important; padding: 8px 18px 7px 24px; }
    .wt-tagtitle h2 { font-size: 20px !important; }
    .wt-catside { top: 10px; right: 10px; }
    .wt-catbtn { position: relative; transform: rotate(-4deg); padding: 5px 11px 5px 21px; font-size: 14px; -webkit-mask: radial-gradient(circle at 11px 50%, transparent 2.6px, #000 3.1px); mask: radial-gradient(circle at 11px 50%, transparent 2.6px, #000 3.1px); }
    .wt-catside.is-open .wt-catbtn { transform: rotate(3deg); }
    .wt-catpanel { display: none !important; }
    .wt-sum { grid-template-columns: 1fr 1fr; gap: 12px; }
    .wt-sum > div { padding: 18px 10px 10px; }
    .wt-sum b { font-size: 22px; }
    .wt-sum .wt-sum-saved, .wt-ysum > div:last-child { grid-column: 1 / -1; }
    .wt-tool { grid-template-columns: 1fr auto; }
    .wt-tool .wt-chips { grid-column: 1 / -1; grid-row: 1; }
    .wt-chips { gap: 6px; }
    .wt-chips button { padding: 6px 10px; font-size: 12px; }
    .wt-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .wt-name { font-size: 13.5px; }
    .wt-hot { font-size: 10.5px; padding: 1px 6px 1px 5px; }
    .wt-price { font-size: 14px; }
    .wt-quick-open small { display: none; }
    .wt-qcols, .wt-wcols { grid-template-columns: 1fr; gap: 0; }
    .wt-qcol + .wt-qcol, .wt-wcol + .wt-wcol { padding-left: 0; border-left: 0; }
    .wt-wrow { flex-direction: column; gap: 0; }
    .wt-quick-form input, .wt-quick-form select, .wt-quick-form textarea, .wt-write input, .wt-write select, .wt-write textarea { font-size: 16px !important; }
    .wt-qfoot { flex-direction: column-reverse; align-items: stretch; }
    .wt-qbtns .wt-btn { flex: 1; padding: 10px; }
    .wt-modal { top: auto; bottom: 0; left: 0; width: 100%; max-height: 90vh; transform: none; border-radius: 3px 3px 0 0; box-shadow: 0 -6px 0 var(--wt-sky); }
    .wt-mbody { padding: 26px 16px 20px; }
    .wt-vtop { flex-direction: column; gap: 14px; }
    .wt-vimg { flex-basis: auto; width: 100%; max-width: 360px; align-self: center; }
    .wt-vcard { padding: 28px 16px 18px; }
    .wt-vbody { font-size: 15px; }
    .wt-write { padding: 30px 16px 18px; }
    .wt-mh { gap: 8px; }
    .wt-month-m2 .wt-thumbs i:nth-child(n+6) { display: none; }
}

@media (min-width: 641px) { .wt-mcats { display: none !important; } }
