@font-face { font-family: Pretendard; font-weight: 400; font-display: swap; src: url(vendor/fonts/Pretendard-Regular.woff2) format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 700; font-display: swap; src: url(vendor/fonts/Pretendard-Bold.woff2) format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 900; font-display: swap; src: url(vendor/fonts/Pretendard-Black.woff2) format("woff2"); }
:root {
  --lime: #d0ff00;
  --olive: #212800;
  --ink: #f4f6e8;
  --muted: rgba(244, 246, 232, 0.6);
  --crimson: #fa163f;
  --crimson-text: #ff5a78;
  --radius: 8px;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --field: rgba(0, 0, 0, 0.25);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Noto Sans JP", "Malgun Gothic", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  background-color: var(--olive);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(54, 0, 0, 0.95), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(54, 0, 0, 0.7), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(250, 22, 63, 0.16), transparent 32%);
  background-attachment: fixed;
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: 100%; max-width: 448px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, p { margin: 0; }

/* 버튼 */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; text-align: center;
}
.btn.primary { height: 56px; background: var(--lime); color: var(--olive); font-size: 16px; font-weight: 700; }
.btn.secondary { height: 48px; background: rgba(255, 255, 255, 0.05); border-color: var(--line); color: var(--ink); font-size: 14px; font-weight: 600; }
.btn.small { height: 44px; background: var(--lime); color: var(--olive); font-size: 14px; font-weight: 700; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.icon-btn { background: none; border: 0; padding: 8px; color: var(--muted); line-height: 0; border-radius: var(--radius); }
.icon-btn:hover { color: var(--ink); }

/* 로그인 */
.login { padding-top: 12vh; padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.logo-lg { display: block; width: 52px; height: 52px; }
.brand { margin-top: 14px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.accent { color: var(--lime); }
.lead { margin-top: 10px; text-align: center; color: var(--muted); }
.login-form { width: 100%; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.pw-row { position: relative; }
.input {
  width: 100%; height: 56px; padding: 0 14px; border-radius: var(--radius);
  background: var(--field); border: 1px solid var(--line); color: var(--ink); font-size: 16px; outline: none;
}
.input::placeholder { color: rgba(244, 246, 232, 0.4); }
.input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(208, 255, 0, 0.15); }
.pw-row .input { padding-right: 64px; }
.pw-toggle { position: absolute; right: 8px; top: 12px; height: 32px; padding: 0 10px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, 0.08); color: var(--muted); font-size: 13px; }
.err { min-height: 20px; color: var(--crimson-text); font-size: 14px; }
.login .btn.secondary { margin-top: 12px; }

/* 머리 줄 */
.app-head { display: flex; align-items: center; gap: 10px; height: 56px; }
.app-head .logo { width: 28px; height: 28px; flex: none; }
.app-head .name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.pills { display: flex; gap: 4px; margin-left: 6px; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.25); }
.pill { height: 28px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; }
.pill.on { background: var(--lime); color: var(--olive); }
.app-head .spacer { flex: 1; }

/* 카드와 줄 */
.stack { display: flex; flex-direction: column; gap: 12px; padding-bottom: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.row-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 14px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700;
}
.row-btn .picked { margin-left: auto; min-width: 0; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--lime); font-weight: 600; font-size: 14px; }
.row-btn .chev { color: var(--muted); flex: none; }
.row-btn .picked + .chev { margin-left: 0; }
.row-btn:not(:has(.picked)) .chev { margin-left: auto; }
.card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.label { font-size: 13px; font-weight: 700; color: var(--muted); }
.card-head .tools { margin-left: auto; display: flex; gap: 2px; }
.card-head .count { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.lime-note { margin-top: 10px; color: var(--lime); font-size: 13px; line-height: 1.5; }
.stack .card .btn.small { margin-top: 12px; }
.result-box { margin-top: 12px; min-height: 48px; padding: 12px; display: flex; align-items: center; gap: 8px; border-radius: var(--radius); background: var(--field); border: 1px solid var(--line); color: var(--muted); font-size: 14px; word-break: break-all; }
.result-box.has { color: var(--ink); font-weight: 600; }
.result-box .btn-copy { margin-left: auto; flex: none; }
.help { margin-top: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.help.err { color: var(--crimson-text); min-height: 0; }

/* 영상 올리기 */
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 96px;
  border: 2px dashed rgba(208, 255, 0, 0.7); border-radius: var(--radius); background: rgba(208, 255, 0, 0.04); color: var(--lime); font-weight: 700;
}
.dropzone:disabled { opacity: 0.4; cursor: not-allowed; }
.vrow { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px; border-radius: var(--radius); background: var(--field); border: 1px solid var(--line); }
.vrow .thumb { width: 44px; height: 78px; flex: none; border-radius: 6px; object-fit: cover; background: rgba(255, 255, 255, 0.08); }
.vrow .info { flex: 1; min-width: 0; }
.vrow .fname { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vrow .meta { color: var(--muted); font-size: 12.5px; }
.vrow .state { font-size: 12.5px; font-weight: 700; color: var(--lime); display: flex; align-items: center; gap: 6px; }
.vrow .state.bad { color: var(--crimson-text); }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(208, 255, 0, 0.3); border-top-color: var(--lime); animation: spin 0.8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 설정 카드 */
.collapse-head { display: flex; align-items: center; width: 100%; padding: 0; background: none; border: 0; text-align: left; }
.collapse-head .t { font-weight: 800; }
.collapse-head .s { color: var(--muted); font-size: 12.5px; }
.collapse-head .chev { margin-left: auto; color: var(--muted); transition: transform 0.2s; }
.collapse-head[aria-expanded="false"] .chev { transform: rotate(180deg); }
.collapse-body { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.count-line { font-weight: 700; font-size: 14px; }
.switch-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius); background: var(--field); border: 1px solid var(--line); cursor: pointer; }
.switch-row .txt { flex: 1; min-width: 0; }
.switch-row .t { font-weight: 700; }
.switch-row .s { color: var(--muted); font-size: 12.5px; }
.switch { position: relative; flex: none; width: 48px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); transition: background 0.15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.switch[aria-checked="true"] { background: var(--lime); }
.switch[aria-checked="true"]::after { transform: translateX(20px); background: var(--olive); }
.group-title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.group-title small { font-weight: 500; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.channel { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--field); min-width: 0; }
.channel .face { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(208, 255, 0, 0.18); color: var(--lime); font-weight: 800; }
.channel .nm { font-size: 12px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip { height: 44px; min-width: 0; padding: 0 6px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--field); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.chip.wide { grid-column: span 2; }
.chip.on, .channel.on { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 0 16px rgba(208, 255, 0, 0.22); }
.chip .dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); flex: none; }
.chip input[type="color"] { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.chip.plain { font-weight: 700; }

/* 아래 붙은 단추 */
.cta { position: sticky; bottom: 0; z-index: 5; margin: 0 -16px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to bottom, rgba(33, 40, 0, 0), #212800 16px); }
.cta .why { min-height: 0; margin-bottom: 8px; text-align: center; color: var(--muted); font-size: 13px; }

/* 창 */
.backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, 0.6); animation: fade-in 0.2s; }
.sheet { position: fixed; left: 50%; bottom: 0; z-index: 21; width: 100%; max-width: 448px; max-height: 86vh; display: flex; flex-direction: column; transform: translateX(-50%); background: #2a3300; border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; animation: sheet-up 0.25s ease-out; }
@keyframes sheet-up { from { transform: translate(-50%, 40px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.sheet-head { display: flex; align-items: center; padding: 14px 8px 8px 16px; }
.sheet-head h2 { flex: 1; font-size: 16px; font-weight: 800; }
.sheet-body { padding: 4px 16px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.sheet-body h3 { margin-top: 6px; font-size: 14px; color: var(--lime); }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.libitem { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; text-align: left; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.libitem .thumb { width: 44px; height: 78px; flex: none; border-radius: 6px; object-fit: cover; background: rgba(255, 255, 255, 0.08); }
.libitem .info { flex: 1; min-width: 0; }
.libitem .nm { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.libitem .meta { color: var(--muted); font-size: 12.5px; }
.libitem .go { color: var(--lime); font-weight: 800; flex: none; }
.empty { padding: 24px 8px; text-align: center; color: var(--muted); line-height: 1.6; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 40; transform: translateX(-50%); max-width: min(420px, calc(100vw - 32px)); padding: 12px 16px; border-radius: var(--radius); background: rgba(20, 24, 0, 0.96); border: 1px solid var(--line); text-align: center; font-size: 14px; animation: fade-in 0.2s; }

/* 만드는 중 */
.progress { padding-top: 24px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 0; }
.progress .small { text-align: center; color: var(--muted); font-size: 13px; }
.progress h1 { margin-top: 2px; text-align: center; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.progress .sub { margin-top: 2px; text-align: center; color: var(--muted); font-size: 13px; }
.pct-row { margin-top: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.pct { font-size: 36px; font-weight: 800; color: var(--lime); line-height: 1; }
.stage-name { color: var(--lime); font-size: 13px; font-weight: 700; }
.bar { height: 10px; margin-top: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--lime); transition: width 0.4s; }
.bar.thin { height: 6px; margin-top: 6px; }
.retry { margin-top: 10px; padding: 8px 12px; border-radius: var(--radius); background: rgba(250, 22, 63, 0.14); color: var(--crimson-text); font-size: 13px; text-align: center; }
.tiles { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiles.one { grid-template-columns: minmax(0, 190px); justify-content: center; }
.tile { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #151a00 center / cover no-repeat; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.6)); }
.tile.wait::before { background: rgba(0, 0, 0, 0.72); }
.tile.on { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 0 18px rgba(208, 255, 0, 0.3); }
.tile .tag { position: absolute; left: 8px; top: 8px; z-index: 1; font-size: 11.5px; font-weight: 800; line-height: 1.3; color: var(--lime); }
.tile .tag span { display: block; color: var(--ink); font-weight: 700; }
.tile .foot { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1; font-size: 11.5px; font-weight: 700; }
.tile.fail .foot { color: var(--crimson-text); }
.tile.ok .foot { color: var(--lime); }
.stage-card { margin-top: 14px; }
.stage-card .head { display: flex; align-items: center; gap: 10px; color: var(--lime); font-weight: 800; font-size: 14px; }
.title-box { margin-top: 10px; padding: 12px 10px; border-radius: var(--radius); background: rgba(0, 0, 0, 0.3); text-align: center; font-size: 18px; font-weight: 800; line-height: 1.35; }
.title-box .l2 { display: block; }
.script { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.script li { display: flex; gap: 8px; font-size: 13.5px; }
.script .n { flex: none; width: 14px; color: var(--lime); font-weight: 800; }
.script .tx { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skel { height: 14px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.eq { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.eq i { width: 4px; border-radius: 2px; background: var(--lime); animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(1) { height: 8px; animation-delay: -0.1s; } .eq i:nth-child(2) { height: 18px; animation-delay: -0.4s; } .eq i:nth-child(3) { height: 12px; animation-delay: -0.2s; } .eq i:nth-child(4) { height: 20px; animation-delay: -0.6s; } .eq i:nth-child(5) { height: 10px; animation-delay: -0.3s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.lost { margin-top: 24px; text-align: center; color: var(--muted); }

/* 완성 */
.done { padding-top: 24px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.done h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.done .product { color: var(--muted); }
.result { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.result .who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--lime); }
.result .who .ch { margin-left: auto; color: var(--muted); font-weight: 600; }
.result video { display: block; width: 100%; max-height: 64vh; aspect-ratio: 9 / 16; border-radius: var(--radius); background: #000; object-fit: contain; }
.result .fail { padding: 14px; border-radius: var(--radius); background: rgba(250, 22, 63, 0.12); color: var(--crimson-text); font-size: 14px; }
.tmpnote { color: var(--muted); font-size: 12px; text-align: center; }

@media (max-width: 340px) {
  .chips { grid-template-columns: repeat(2, 1fr); }
  .channels { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* 폰판 고유: 키 넣기, 설정, 보관함 탭, 시험 딱지 */
.badge-test { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--crimson); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 0; }
.gate-note { margin-top: 10px; width: 100%; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.gate .login-form { margin-top: 20px; }
.gate .btn.secondary { margin-top: 0; }
.gate .row2 { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.gate .detail { color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.notice { padding: 12px 14px; border-radius: var(--radius); background: rgba(208, 255, 0, 0.08); border: 1px solid rgba(208, 255, 0, 0.35); display: flex; flex-direction: column; gap: 10px; }
.notice .btn { height: 44px; }
.bgnote { margin-top: 10px; padding: 8px 12px; border-radius: var(--radius); background: rgba(208, 255, 0, 0.1); color: var(--lime); font-size: 13px; text-align: center; }
.tabs { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.25); align-self: flex-start; }
.tabs .pill { height: 32px; }
.libitem-wrap { display: flex; align-items: center; gap: 4px; }
.libitem-wrap .libitem { flex: 1; min-width: 0; }
.mini { margin-top: 6px; height: 30px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); font-size: 12.5px; font-weight: 700; color: var(--ink); }
.mini:disabled { opacity: 0.5; cursor: default; }
.set-sec { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.set-sec h3 { margin: 0; font-size: 14px; color: var(--lime); }
.set-sec .sub { color: var(--muted); font-size: 12.5px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field > span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.field .input { height: 48px; font-size: 15px; }
.keyrow { position: relative; }
.keyrow .input { padding-right: 64px; }
.keyrow .pw-toggle { top: 8px; }
.chips.two { grid-template-columns: repeat(2, 1fr); }
.chips.three { grid-template-columns: repeat(3, 1fr); }
.prov { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: var(--radius); background: var(--field); border: 1px solid var(--line); }
.prov .top { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.prov .st { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 600; }
.prov .st.has { color: var(--lime); }
.chlist { display: flex; flex-direction: column; gap: 6px; }
.chrow { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border-radius: var(--radius); background: var(--field); border: 1px solid var(--line); }
.chrow span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addrow { display: flex; gap: 8px; }
.addrow .input { height: 44px; font-size: 14px; }
.addrow .btn { width: 84px; height: 44px; flex: none; }
.danger { border-color: rgba(250, 22, 63, 0.5) !important; color: var(--crimson-text) !important; }
.result .btns { display: flex; gap: 8px; }
.result .btns .btn { flex: 1; }
.codecnote { color: var(--muted); font-size: 12px; text-align: center; }

/* 2차: 틀 고르기, 색 뒤집기, 배경음, 샤오홍슈 찾기 도우미, 상품 찾기 */
.row-btn .hint { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.row-btn .hint + .chev { margin-left: 0; }
.tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tpl { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 8px 4px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--field); }
.tpl .tsk { width: 36px; height: 64px; border-radius: 4px; background: #000; }
.tpl .nm { font-size: 12px; font-weight: 700; text-align: center; line-height: 1.3; }
.tpl.on { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 0 16px rgba(208, 255, 0, 0.22); }
.help.faint { opacity: 0.75; margin-top: 4px; }
.dot-sm { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); vertical-align: -1px; }
.terms { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.term { padding: 10px 12px; border-radius: var(--radius); background: var(--field); border: 1px solid var(--line); }
.term .zh { font-size: 16px; font-weight: 800; word-break: break-all; }
.term .ko { color: var(--muted); font-size: 12.5px; }
.term .acts { display: flex; gap: 8px; margin-top: 8px; }
.stack .card .term .acts .btn { flex: 1; width: auto; height: 40px; margin-top: 0; font-size: 13px; }
.guide { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--field); border: 1px solid var(--line); }
.guide .collapse-head .t { font-size: 13px; }
.guide .steps { margin-top: 8px; font-size: 13px; }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); }
.months .pill { height: 32px; padding: 0; }
.season { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.rec { padding: 10px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.rec .rtop { display: flex; align-items: center; gap: 8px; }
.rec .rn { flex: 1; min-width: 0; }
.rec .why { color: var(--muted); font-size: 12.5px; }
.rec .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
a.mini { display: inline-flex; align-items: center; margin-top: 0; text-decoration: none; }
.rec .mini { margin-top: 0; }
.suggest { width: 100%; height: 64px; margin-top: 8px; border: 0; border-radius: var(--radius); background: #fff; }
.sheet-body > * { flex: none; }

/* 3차: 콘셉트 여러 개 고르기, 대본만 먼저 보기, 짧은 소제목 */
.chip.multi { justify-content: flex-start; padding: 0 12px; }
.chip.multi::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--muted); }
.chip.multi.on::before { background: var(--lime); border-color: var(--lime); box-shadow: inset 0 0 0 3px #212800; }
.group-title.sub { margin-top: 10px; }
.cta .draft-btn { margin-bottom: 8px; }
.dcard { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--field); }
.dcard + .dcard { margin-top: 10px; }
.dcard .dh { display: flex; align-items: center; gap: 6px; }
.dcard .dh .nm { flex: 1; min-width: 0; font-weight: 800; font-size: 14px; }
.dcard .mini { margin-top: 0; flex: none; }
.dcard .title-box { margin-top: 0; font-size: 16px; }
.draft-script { margin-top: 0; gap: 8px; }
.dline { align-items: center; }
.dline .n { align-self: center; }
.dline .who { flex: none; font-size: 12px; font-weight: 800; color: var(--lime); }
.dline .input { flex: 1; min-width: 0; height: 40px; font-size: 13.5px; }
.dline .sfxmark { flex: none; max-width: 76px; padding: 0 8px; }
