:root {
  --ink: #14231C;
  --ink-2: #3E5048;
  --muted: #5B6B63;
  --green: #1C7A5E;
  --green-2: #1FA87A;
  --line: #E3EDE7;
  --soft: #F3F8F4;
  --tag-ink: #145A86;
  --tag-bg: #DDEFFB;
  --g1: #C6EC6B; --g2: #62D3A1; --g3: #72BCF3;
  --grad: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
  --green-d: #1F7A4C; --green-dd: #1F5E3E; --tint-1: #EEF3EF; --tint-2: #DDE8E1;
  --fs: 1;
  --h5baf2e: #5baf2e;
  --h1fa87a: #1fa87a;
  --h2c86cf: #2c86cf;
  --ha9d9c1: #a9d9c1;
  --hcfefe0: #cfefe0;
  --hd6ebfb: #d6ebfb;
  --h33443c: #33443c;
  --h0f2a22: #0f2a22;
  --hfafdf8: #fafdf8;
  --hcfe0d6: #cfe0d6;
  --h4a6357: #4a6357;
  --h3f6b10: #3f6b10;
  --he3f5c9: #e3f5c9;
  --hf6fcea: #f6fcea;
  --heef6fe: #eef6fe;
  --hdcefe4: #dcefe4;
  --hddebf5: #ddebf5;
  --h8dbfa3: #8dbfa3;
  --heef7e6: #eef7e6;
  --h2f5b12: #2f5b12;
  --hd7edc2: #d7edc2;
  --heaf6ee: #eaf6ee;
  --h24513a: #24513a;
  --h3d5247: #3d5247;
  --he6f0fb: #e6f0fb;
  --h2c5a8a: #2c5a8a;
  --he9efec: #e9efec;
  --he3f4d3: #e3f4d3;
  --hd9eef2: #d9eef2;
  --h2c3e35: #2c3e35;
  --h9db8a9: #9db8a9;
  --h9cc7af: #9cc7af;
  --hdce5e0: #dce5e0;
  --h1f3a2c: #1f3a2c;
  --h16241c: #16241c;
  --h2e8b57: #2e8b57;
  --hc8e3b4: #c8e3b4;
  --h1f7a54: #1f7a54;
  --hf2f7f3: #f2f7f3;
  --hc9d9ce: #c9d9ce;
  --heaf7dc: #eaf7dc;
  --h9bd27a: #9bd27a;
  --h1f4d2e: #1f4d2e;
  --h4fa86a: #4fa86a;
  --h2b5c3a: #2b5c3a;
  --ha9d3b4: #a9d3b4;
  --h2e7d4f: #2e7d4f;
  --h2f5e9e: #2f5e9e;
  --ha8d88a: #a8d88a;
  --hd8f0c8: #d8f0c8;
  --h2f6b1e: #2f6b1e;
  --he2f3ec: #e2f3ec;
  --hb9dfc4: #b9dfc4;
  --h1f5e46: #1f5e46;

  --grad-soft: linear-gradient(135deg, #EEFAD6 0%, #DDF5EA 50%, #DDEEFC 100%);
  --serif: 'Gowun Batang', serif;
  --sans: 'Pretendard Variable', Pretendard, system-ui, sans-serif;
  --tabs-h: 64px;
  --max-w: 560px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-size: calc(13px * var(--fs));
  line-height: 1.5;
  letter-spacing: -0.01em;
  /* 한글이 단어 중간에서 줄바꿈되지 않게 */
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .hero-title, .card-title, .d-title, .song-title, .brand-name, .dice-song { letter-spacing: -0.025em; }
a { color: var(--green); text-decoration: none; }
button { font-family: inherit; }

.app {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: #fff;
}
.view {
  padding: 20px 20px calc(var(--tabs-h) + 32px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--tint-1) 0, var(--heaf6ee) 50px, #fff 120px) no-repeat;
  outline: none;
}

/* 상단 이름 */
.brand { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.brand-name {
  font-family: var(--serif);
  font-size: calc(21px * var(--fs));
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(100deg, var(--h5baf2e), var(--h1fa87a) 50%, var(--h2c86cf));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  align-self: flex-start;
}
.brand-sub { font-size: calc(12px * var(--fs)); color: var(--muted); }

.h1 { margin: 0 0 8px; font-size: calc(19px * var(--fs)); font-weight: 700; line-height: 1.3; }
.soon { padding: 24px 0; color: var(--ink-2); line-height: 1.6; }
.soon p { margin: 0 0 12px; }
.status { font-size: calc(12px * var(--fs)); color: var(--muted); }

.btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: calc(12px * var(--fs));
}

/* 홈 */
.h2 { margin: 0; font-size: calc(15px * var(--fs)); font-weight: 700; }
.sub { font-size: calc(12px * var(--fs)); color: var(--muted); margin: 0; }
.block { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.more { font-size: calc(12px * var(--fs)); font-weight: 500; }
.stack { display: flex; flex-direction: column; gap: 10px; }

.searchbox {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px;
  border-radius: 16px; border: 1.5px solid var(--hcfe0d6);
  box-shadow: 0 6px 18px rgba(46, 139, 106, 0.10);
}
.searchbox svg { width: 20px; height: 20px; stroke: var(--green-2); fill: none; stroke-width: 1.9; stroke-linecap: round; flex: none; }
.searchbox input::placeholder { font-size: calc(13px * var(--fs)); }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: calc(16px * var(--fs)); color: var(--ink); }
.searchbox input::placeholder { color: var(--muted); }

.meta { display: flex; align-items: center; gap: 8px; font-size: calc(12px * var(--fs)); color: var(--ink-2); }
.tag { font-size: calc(12px * var(--fs)); line-height: 1.4; font-weight: 700; color: var(--tag-ink); background: var(--tag-bg); border-radius: 6px; padding: 2px 7px; flex: none; }

.hero { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; background: var(--grad-soft); color: var(--ink); }
.hero-title { font-size: calc(14px * var(--fs)); font-weight: 700; line-height: 1.4; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.songs { font-size: calc(12px * var(--fs)); font-weight: 500; color: var(--green-d); line-height: 1.5; }
.songs-label { font-size: calc(12px * var(--fs)); font-weight: 400; color: var(--ink-2); margin-right: 6px; }
.play-pill { display: flex; align-items: center; gap: 4px; flex: none; margin-left: auto; font-size: calc(12px * var(--fs)); font-weight: 700; background: #fff; border-radius: 16px; padding: 6px 12px; }
.play-pill svg { width: 14px; height: 14px; fill: var(--green-2); }

.dice-card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 20px; border: 1.5px dashed var(--ha9d9c1); }
.dice-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: var(--ink); }
.dice-thumb { position: relative; flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); }
.dice-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dice-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 14px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 3px 8px rgba(20, 40, 30, 0.25); display: flex; align-items: center; justify-content: center; }
.dice-play svg { width: 12px; height: 12px; fill: var(--green-2); margin-left: 2px; }
.dice-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dice-text .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reroll { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border: 0; border-radius: 17px; background: var(--ink); color: #fff; font-size: calc(12px * var(--fs)); font-weight: 700; }
.reroll svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dice-song { font-size: calc(14px * var(--fs)); font-weight: 700; overflow-wrap: break-word; line-height: 1.35; }

.row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 4px; border-bottom: 1px solid var(--tint-1); color: var(--ink); }
.row-year { flex: none; width: 40px; white-space: nowrap; font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--green); }
.row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-title { font-size: calc(12px * var(--fs)); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { font-size: calc(12px * var(--fs)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.pill { flex: none; height: 40px; padding: 0 16px; border-radius: 20px; background: var(--soft); color: var(--ink); font-size: calc(12px * var(--fs)); display: flex; align-items: center; }
.pill:nth-child(1) { background: linear-gradient(120deg, var(--he3f5c9), var(--hcfefe0)); }
.pill:nth-child(2) { background: linear-gradient(120deg, var(--hcfefe0), var(--hd6ebfb)); }

/* 검색 */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-top {
  display: flex; flex-direction: column; gap: 12px;
  margin: -20px -20px 0; padding: 16px 20px 12px;
  background: linear-gradient(180deg, var(--tint-1) 0%, var(--heaf6ee) 55%, #fff 100%);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.search-top .searchbox { background: #fff; border-color: var(--g2); }
.chip {
  flex: none; height: 36px; padding: 0 14px;
  border-radius: 18px; border: 1px solid var(--tint-2); background: #fff;
  color: var(--h33443c); font-size: calc(12px * var(--fs)); display: flex; align-items: center; position: relative;
}
.chip.on { background: linear-gradient(120deg, var(--g1), var(--g2) 55%, var(--g3)); color: var(--h0f2a22); border-color: transparent; font-weight: 700; }
.chip-select { padding: 0; }
.chip-select select {
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent; height: 100%; padding: 0 14px;
  font: inherit; color: inherit; border-radius: 18px;
}
.result-head { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 10px; font-size: calc(12px * var(--fs)); color: var(--muted); }
.result-head b { color: var(--ink); }
.link-btn { border: 0; background: none; color: var(--muted); font-size: calc(12px * var(--fs)); min-height: 36px; padding: 0 4px; }
.play-all {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; border-radius: 14px; margin-bottom: 10px;
  background: var(--ink); color: #fff; font-size: calc(12px * var(--fs)); font-weight: 700;
}
.play-all svg { width: 16px; height: 16px; fill: var(--g2); }
.card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--tint-2); box-shadow: 0 3px 10px rgba(46, 139, 106, 0.06); color: var(--ink); }
.card .meta { font-size: calc(12px * var(--fs)); color: var(--muted); }
.card-title { font-size: calc(13px * var(--fs)); font-weight: 700; line-height: 1.4; }
.card .songs { font-size: calc(12px * var(--fs)); }
.play-dot { margin-left: auto; width: 30px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); }
.play-dot svg { width: 12px; height: 12px; fill: #fff; }
.empty { padding: 32px 0; text-align: center; color: var(--muted); font-size: calc(12px * var(--fs)); line-height: 1.6; }
.btn-soft { width: 100%; margin-top: 12px; background: var(--soft); color: var(--ink); }

/* 일정 상세 시트 */
body.sheet-open { overflow: hidden; }
.sheet-wrap { position: fixed; inset: 0; z-index: 20; }
.sheet-wrap[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 40, 30, 0.30); animation: fade .2s ease-out; }
.sheet {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: var(--max-w); max-height: 92vh; max-height: 92dvh;
  overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 30px rgba(20, 40, 30, 0.15);
  border-top: 6px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad);
  background-origin: border-box; background-clip: padding-box, border-box;
  animation: rise .25s ease-out;
  outline: none;
}
@keyframes rise { from { transform: translate(-50%, 40px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-backdrop { animation: none; } }
.sheet-grab { display: flex; justify-content: center; padding: 8px 0 4px; }
.sheet-grab span { width: 40px; height: 5px; border-radius: 3px; background: var(--hcfe0d6); }
.sheet-close {
  position: absolute; top: 8px; right: 10px;
  width: 44px; height: 44px; border: 0; border-radius: 22px; background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.sheet-close svg { width: 20px; height: 20px; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.sheet-body { padding: 8px 20px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.d-title { margin: 0; font-weight: 700; font-size: calc(17px * var(--fs)); line-height: 1.4; padding-right: 32px; }
.h3 { margin: 0; font-size: calc(13px * var(--fs)); }
.d-block { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }

.thumb { display: block; position: relative; margin-top: 6px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--grad-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 29px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 6px 16px rgba(20, 40, 30, 0.25); display: flex; align-items: center; justify-content: center; }
.thumb-play svg { width: 22px; height: 22px; fill: var(--green-2); margin-left: 3px; }
.thumb-cap { position: absolute; left: 10px; bottom: 10px; font-size: calc(12px * var(--fs)); color: #fff; background: rgba(20, 35, 28, 0.65); border-radius: 8px; padding: 3px 8px; }

.song-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 12px; background: var(--soft); color: var(--ink); font-size: calc(12px * var(--fs)); }
.song-count { font-size: calc(12px * var(--fs)); color: var(--green-d); flex: none; }
.src-note { margin: 0; font-size: calc(12px * var(--fs)); color: var(--muted); line-height: 1.5; }
.src-badge { font-size: calc(12px * var(--fs)); font-weight: 700; color: #6B4A00; background: #FFF1C9; border-radius: 6px; padding: 2px 7px; flex: none; }
.notice { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--hf2f7f3); font-size: calc(12px * var(--fs)); color: var(--ink-2); line-height: 1.5; }
.notice-col { flex-direction: column; }
.notice-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.notice-links a { font-weight: 700; min-height: 32px; display: inline-flex; align-items: center; }

.report { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed #E6C97A; font-size: calc(12px * var(--fs)); }
.report-badge { align-self: flex-start; font-size: calc(12px * var(--fs)); font-weight: 700; color: #6B4A00; background: #FFF1C9; border-radius: 6px; padding: 2px 7px; }
.report-msg { color: var(--ink-2); }

.rel { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 8px 0; font-size: calc(12px * var(--fs)); color: var(--h33443c); border-bottom: 1px solid var(--tint-1); }
.rel .tag { margin-top: 1px; }
.rel-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.same-time { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--ha9d9c1); font-size: calc(12px * var(--fs)); font-weight: 500; }

/* 곡 아카이브 */
.page-head { margin-bottom: 14px; }
.page-head .h1 { margin-bottom: 4px; }
.page-head + .notice { margin-bottom: 14px; }
.song-item { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--tint-1); color: var(--ink); }
.song-name { flex: 1; min-width: 0; font-size: calc(13px * var(--fs)); }
.song-first { font-size: calc(12px * var(--fs)); color: var(--muted); flex: none; }
.song-n { font-size: calc(12px * var(--fs)); color: var(--muted); flex: none; }
#song-sort { margin-bottom: 6px; }
.back { display: inline-flex; align-items: center; min-height: 36px; font-size: calc(12px * var(--fs)); font-weight: 500; margin-bottom: 6px; }
.song-hero { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; background: var(--grad-soft); }
.song-title { margin: 0; font-size: calc(18px * var(--fs)); font-weight: 700; line-height: 1.3; }
.count-pill { align-self: flex-start; font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--green-d); background: #fff; border-radius: 10px; padding: 3px 9px; }
.facts { display: flex; flex-direction: column; }
.fact { display: flex; gap: 10px; font-size: calc(12px * var(--fs)); color: var(--h33443c); min-height: 32px; align-items: baseline; line-height: 1.5; }
.fact b { color: var(--muted); font-weight: 400; width: 64px; flex: none; }
.song-hero .play-all { margin: 4px 0 0; }
.list-title { margin: 22px 0 10px; }
.foot { margin-top: 18px; }

/* 연표 */
.tl-top {
  display: flex; flex-direction: column; gap: 12px;
  margin: -20px -20px 0; padding: 20px 20px 12px;
  background: linear-gradient(180deg, var(--tint-1) 0%, var(--heaf6ee) 55%, #fff 100%); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.tl-top .h1 { margin: 0; }
.yr { flex: none; min-width: 56px; height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--tint-2); color: var(--h33443c); font-size: calc(12px * var(--fs)); display: flex; align-items: center; justify-content: center; }
.yr.on { background: linear-gradient(120deg, var(--g1), var(--g2) 55%, var(--g3)); color: var(--h0f2a22); border-color: transparent; font-weight: 700; }
.yr.gap { color: #7C8C84; border-style: dashed; }
.tl { position: relative; padding: 16px 0 0; }
.tl::before { content: ""; position: absolute; left: 5px; top: 16px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--g1), var(--g2) 50%, var(--g3)); }
.gap-card { position: relative; margin: 0 0 18px 25px; padding: 14px; border-radius: 16px; border: 1.5px dashed var(--ha9d9c1); background: var(--hfafdf8); display: flex; flex-direction: column; gap: 6px; font-size: calc(12px * var(--fs)); color: var(--muted); line-height: 1.5; }
.gap-card b { font-size: calc(12px * var(--fs)); color: var(--ink); }
.gap-card a { font-weight: 700; min-height: 32px; display: inline-flex; align-items: center; }
.month { position: relative; margin: 10px 0 10px 25px; font-size: calc(13px * var(--fs)); font-weight: 700; color: var(--green); background: #fff; padding: 2px 0; scroll-margin-top: 140px; }
.ev { display: flex; gap: 14px; position: relative; padding-bottom: 14px; color: var(--ink); }
.dot { width: 12px; height: 12px; border-radius: 6px; background: var(--g2); margin-top: 4px; flex: none; position: relative; z-index: 1; box-shadow: 0 0 0 4px #fff; }
.dot-plain { background: var(--g3); }
.ev-body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.ev-date { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: calc(12px * var(--fs)); color: var(--muted); }
.ev-date .tag { font-size: calc(12px * var(--fs)); padding: 1px 6px; }
.ev-date > :not(.ev-place) { flex: none; white-space: nowrap; }
.ev-place { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-place::before { content: '· '; }
.ev-days { display: inline-flex; gap: 4px; flex: none; }
.ev-day { color: var(--muted); }
.ev-day.went { color: #B23A5E; font-weight: 600; }
.ev-day + .ev-day::before { content: '· '; }
.ev-count { font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--green); background: var(--tint-1); border-radius: 6px; padding: 1px 6px; vertical-align: 2px; }
.ev-title { font-size: calc(13px * var(--fs)); font-weight: 600; line-height: 1.35; color: var(--ink); }
.ev-songs { font-size: calc(12px * var(--fs)); color: var(--green-d); line-height: 1.5; }

/* 프로그램별 */
.prog-top { display: flex; flex-direction: column; gap: 10px; margin: -20px -20px 16px; padding: 12px 20px 18px; background: var(--grad-soft); }
.prog-top .back { margin: 0; }
.prog-top .h1 { margin: 0; }
.prog-top .chip { text-decoration: none; }
.ep { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 0; border-bottom: 1px solid var(--tint-1); color: var(--ink); }
.ep-date { font-size: calc(12px * var(--fs)); color: var(--muted); }
.ep-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ep-title { font-size: calc(13px * var(--fs)); font-weight: 500; line-height: 1.4; }
.ep-songs { font-size: calc(12px * var(--fs)); color: var(--green-d); }
.ep-ref { font-size: calc(12px * var(--fs)); color: var(--muted); }
.ep .play-dot { margin-left: 0; }

/* 공유 */
.share-round { flex: none; width: 40px; height: 40px; border: 0; border-radius: 20px; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; }
.share-round svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.hero ~ .share-round, .song-hero .share-round, .prog-top .share-round { background: #fff; }
.head-side { display: inline-flex; align-items: center; gap: 6px; }
.share-row { display: flex; gap: 8px; margin-top: 4px; }
.act { flex: 1; height: 44px; border-radius: 14px; border: 1px solid var(--tint-2); background: #fff; color: var(--ink); font-size: calc(12px * var(--fs)); display: flex; align-items: center; justify-content: center; gap: 6px; }
.act-wide { flex: 2; }
.act svg { width: 18px; height: 18px; stroke: var(--green-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share-menu { position: fixed; inset: 0; z-index: 40; }
.share-backdrop { position: absolute; inset: 0; background: rgba(20, 40, 30, 0.30); }
.share-box { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: var(--max-w); background: #fff; border-radius: 22px 22px 0 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; }
.share-item { min-height: 52px; border: 0; border-radius: 14px; background: var(--soft); color: var(--ink); font-size: calc(13px * var(--fs)); font-weight: 500; display: flex; align-items: center; justify-content: center; }
.share-cancel { background: transparent; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabs-h) + 24px + env(safe-area-inset-bottom)); transform: translate(-50%, 10px); background: var(--ink); color: #fff; font-size: calc(12px * var(--fs)); padding: 10px 16px; border-radius: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 더보기 */
.page-title { margin-bottom: 18px; }
.about-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--grad-soft); color: var(--h33443c); font-size: calc(12px * var(--fs)); line-height: 1.55; margin-bottom: 18px; }
.about-title { font-size: calc(14px * var(--fs)); font-weight: 700; color: var(--ink); }
.mi { display: flex; align-items: center; gap: 12px; min-height: 56px; color: var(--ink); font-size: calc(13px * var(--fs)); border-bottom: 1px solid var(--tint-1); }
.mi-ic { width: 36px; height: 36px; border-radius: 11px; background: var(--heaf6ee); display: flex; align-items: center; justify-content: center; flex: none; }
.mi-ic svg { width: 19px; height: 19px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mi-l { flex: 1; }
.mi-side { font-size: calc(12px * var(--fs)); color: #66766E; }
.mi-pin { display: none; font-size: calc(20px * var(--fs)); color: #B9C6BF; padding: 0 4px; }
.mi-pin.on { color: #F0A82A; }
.more-edit .mi-pin { display: block; }
.more-edit .mi-side { display: none; }
.pin-box { margin-bottom: 14px; padding: 12px 12px 14px; border-radius: 20px; background: var(--grad-soft); }
.pin-h { display: flex; justify-content: space-between; align-items: center; margin: 0 4px 10px; font-size: calc(13px * var(--fs)); color: var(--h33443c); }
.pin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px; }
.pin-t { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--ink); font-size: calc(11px * var(--fs)); line-height: 1.3; text-decoration: none; }
.pin-t .mi-ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.85); }
.pin-t span { word-break: keep-all; }
.pin-ask { display: block; width: 100%; margin-bottom: 14px; padding: 12px 14px; border: 1.5px dashed var(--hcfe0d6); border-radius: 16px; background: transparent; color: var(--h4a6357); font: inherit; font-size: calc(12px * var(--fs)); text-align: left; cursor: pointer; }
.pin-tip { margin: -6px 4px 8px; }
.member-list { margin-top: 12px; }

.about-top { display: flex; flex-direction: column; gap: 10px; margin: -20px -20px 22px; padding: 12px 20px 22px; background: var(--grad-soft); }
.about-top .h1 { margin: 0; }
.about-top p { margin: 0; font-size: calc(12px * var(--fs)); line-height: 1.6; color: var(--h33443c); }
.sec { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.sec p { margin: 0; font-size: calc(12px * var(--fs)); line-height: 1.65; color: var(--h33443c); }
.badges { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--soft); }
.b-row { display: flex; align-items: flex-start; gap: 10px; font-size: calc(12px * var(--fs)); line-height: 1.55; color: var(--h33443c); }
.bd { flex: none; font-size: calc(12px * var(--fs)); font-weight: 700; border-radius: 6px; padding: 2px 7px; margin-top: 1px; }
.bd-tv { color: var(--tag-ink); background: var(--tag-bg); }
.bd-official { color: var(--green-d); background: var(--hdcefe4); }
.bd-press { color: #4A3C8C; background: #E9E5FA; }
.bd-fan { color: var(--h3f6b10); background: var(--he3f5c9); }
.bd-ref { color: #6B4A00; background: #FFF1C9; }
.bd-report { color: #6B4A00; background: #FFF1C9; border: 1px dashed #E6C97A; }
.two-btn { display: flex; gap: 8px; }
.btn-link { flex: 1; display: flex; align-items: center; justify-content: center; height: 46px; color: #fff; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--tint-2); }

.install-head { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; }
.install-head img { border-radius: 16px; flex: none; }
.install-head .h1 { margin: 0 0 2px; }
.checks { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--soft); font-size: calc(12px * var(--fs)); color: var(--h33443c); margin: 12px 0 18px; }
.install-now { width: 100%; margin-bottom: 18px; }
.seg-wrap { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--he9efec); margin-bottom: 20px; }
.seg { flex: 1; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: calc(12px * var(--fs)); color: var(--h33443c); }
.seg.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 2px 8px rgba(20, 40, 30, 0.08); }
.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.num { flex: none; width: 30px; height: 30px; border-radius: 15px; background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); color: var(--h0f2a22); font-size: calc(12px * var(--fs)); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.st { display: flex; flex-direction: column; gap: 4px; flex: 1; padding-top: 4px; }
.st b { font-size: calc(13px * var(--fs)); }
.st span { font-size: calc(12px * var(--fs)); color: var(--muted); line-height: 1.5; }

/* 하단 탭 */
.tabs {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom));
  padding: 0 6px env(safe-area-inset-bottom);
  display: flex;
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 10;
}
.tab {
  flex: 1;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #66766E;
  font-size: calc(12px * var(--fs));
  position: relative;
}
.tab svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab.on { color: var(--green); font-weight: 700; }
.tab.on::before {
  content: "";
  position: absolute;
  top: 0; left: 30%; right: 30%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad);
}
.sheet-close:focus:not(:focus-visible) { outline: none; }

.upcoming { flex: none; font-size: calc(12px * var(--fs)); font-weight: 700; color: #8A5A00; background: #FFF1C9; border-radius: 6px; padding: 1px 6px; }
.tl-legend { display: flex; gap: 14px; margin-top: 10px; font-size: calc(12px * var(--fs)); color: var(--muted); }
.tl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tl-legend .dot { width: 8px; height: 8px; margin: 0; box-shadow: none; }
.setlist summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 12px; background: var(--soft); cursor: pointer; list-style: none; }
.setlist summary::-webkit-details-marker { display: none; }
.setlist summary .sub::after { content: ' ›'; }
.setlist[open] summary .sub::after { content: ' ⌄'; }
.setlist-list { margin: 10px 0 8px; padding: 0 0 0 26px; display: flex; flex-direction: column; gap: 7px; font-size: calc(12px * var(--fs)); }
.setlist-list li { padding-left: 2px; }
.setlist-list li::marker { color: var(--muted); font-size: calc(12px * var(--fs)); }
.sl-title a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line, #ccc); text-underline-offset: 3px; }
.sl-note { display: inline-block; margin-left: 6px; font-size: calc(12px * var(--fs)); color: var(--muted); }
.setlist .src-note a { color: inherit; text-decoration: underline; }
.sl-ok { margin-left: 5px; font-size: calc(12px * var(--fs)); color: var(--green-2); font-weight: 700; }
.setlist-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--grad-soft); color: var(--ink); font-size: calc(12px * var(--fs)); font-weight: 600; }
.setlist-link .sub { font-weight: 500; flex: none; }
.setlist-link span:last-child { text-align: right; }
.tour-card { display: flex; flex-direction: column; gap: 4px; }
.tour-shows { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; border-top: 1px solid rgba(28,122,94,.12); }
.tour-show { display: flex; justify-content: space-between; gap: 10px; font-size: calc(12px * var(--fs)); }
.tour-place { color: var(--ink); min-width: 0; }
.tour-show .ev-days { flex-wrap: wrap; justify-content: flex-end; }
.tour-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tour-chips .chip { height: 32px; }
.tour-foot { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.tour-foot a, .setlist-list a { color: inherit; }
.tour-list { margin-top: 14px; }
.find-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.find-label { font-size: calc(12px * var(--fs)); color: var(--muted); flex: none; margin-right: 2px; }
.find-btn { flex: 1; height: 44px; border-radius: 14px; border: 1px solid var(--tint-2); background: #fff; color: var(--ink); font-size: calc(12px * var(--fs)); display: flex; align-items: center; justify-content: center; gap: 6px; }
.find-btn svg { width: 16px; height: 16px; stroke: var(--green-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.find-btn svg .fill { fill: var(--green-2); stroke: none; }
.song-hero .find-row { margin-top: 0; }
.setlist-list li { position: relative; padding-right: 36px; }
.sl-yt { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.sl-yt svg { width: 17px; height: 17px; stroke: var(--muted); fill: none; stroke-width: 1.7; stroke-linejoin: round; }
.sl-yt svg .fill { fill: var(--muted); stroke: none; }
.tour-shows + .find-row { margin-top: 2px; }
.card-concert { background: linear-gradient(135deg, var(--hf6fcea) 0%, var(--heaf6ee) 50%, var(--heef6fe) 100%); border-color: var(--hdcefe4); }
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.sc { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 1px; align-items: center; padding: 12px; border-radius: 16px; background: var(--grad-soft); color: var(--ink); min-height: 64px; }
.sc .mi-ic { grid-row: 1 / 3; background: #fff; }
.sc-l { font-size: calc(12px * var(--fs)); font-weight: 700; line-height: 1.3; }
.sc-s { font-size: calc(12px * var(--fs)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc { padding: 12px 10px; column-gap: 9px; }
.sc .mi-ic { width: 32px; height: 32px; }
.sc-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shortcuts { margin-top: 18px; }
.sc { grid-template-columns: 1fr; padding: 14px; row-gap: 2px; }
.sc .mi-ic { grid-row: auto; margin-bottom: 8px; }
.sc-l { white-space: normal; }
.hero { background: #fff; border: 1px solid var(--tint-2); box-shadow: 0 3px 10px rgba(46, 139, 106, 0.06); }
.card-wrap { position: relative; }
.card-wrap .card { padding-right: 96px; }
.card-sl { position: absolute; top: 12px; right: 12px; height: 32px; padding: 0 11px; border-radius: 16px; background: #fff; border: 1px solid var(--tint-2); color: var(--green); font-size: calc(12px * var(--fs)); font-weight: 700; display: flex; align-items: center; gap: 4px; }
.card-sl svg { width: 14px; height: 14px; stroke: var(--green-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-cats { margin-top: 8px; }
.tl-cats .chip { height: 32px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 22px 0 0; }
.sheet-body .divider { margin-top: 18px; }
.tour-foot { margin-top: 14px; }
.divider + .list-title { margin-top: 18px; }
.tl .month ~ .month { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
h1:has(> .help), h2:has(> .help) { position: relative; }
.help { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 6px; padding: 0; border-radius: 50%; border: 1px solid var(--hcfe0d6); background: #fff; color: var(--muted); font-size: calc(12px * var(--fs)); font-weight: 700; line-height: 1; vertical-align: 3px; cursor: pointer; }
.help[aria-expanded="true"] { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.help-pop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; width: max-content; max-width: min(300px, calc(100vw - 40px)); padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--hdce5e0); box-shadow: 0 8px 24px rgba(28, 74, 56, 0.14); font-size: calc(12px * var(--fs)); font-weight: 400; line-height: 1.55; letter-spacing: 0; color: var(--ink); white-space: normal; }
.help-pop a { color: var(--green); }
.report-links { font-size: calc(12px * var(--fs)); }
.x-card{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid var(--line,var(--hdce5e0));border-radius:14px;color:inherit;text-decoration:none;background:#fff}
.x-card img{width:84px;height:84px;object-fit:cover;border-radius:10px;flex:none;background:var(--tint-1)}
.x-text{font-size: calc(14px * var(--fs));line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.x-date{display:block;font-size: calc(12px * var(--fs));color:var(--muted,#6b7a72);margin-bottom:2px}
.more-btn{display:block;width:100%;margin:14px 0 4px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-size: calc(15px * var(--fs));color:var(--muted)}
.x-list{gap:10px}
#xfeed > .sub{margin:12px 0 8px}
.find-btn { background: linear-gradient(135deg, var(--hf6fcea) 0%, var(--heaf6ee) 50%, var(--heef6fe) 100%); border-color: var(--hdcefe4); }
.hero.hero-pic { position: relative; padding-right: 108px; min-height: 108px; }
.hero-img { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 82px; height: 82px; object-fit: cover; border-radius: 12px; background: var(--tint-1); }
.member-x .x-strip { display: flex; gap: 8px; overflow-x: auto; margin: 10px 0 12px; padding-bottom: 2px; }
.member-x .x-strip a { flex: none; }
.member-x .x-strip img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; background: var(--tint-1); display: block; }
.shortcuts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sc { padding: 12px 10px; }
.sc-l { font-size: calc(12.5px * var(--fs)); word-break: keep-all; }
.album-head .album-img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 18px; margin: 6px 0 14px; background: var(--tint-1); display: block; }
.track-list { margin: 6px 0 10px; padding-left: 22px; font-size: calc(14px * var(--fs)); line-height: 1.8; }
.track-list a { color: var(--green); }

.show-list li, .fact-list li { font-size: calc(13px * var(--fs)); line-height: 1.6; }
.tour-info { margin-top: 18px; }
.tour-poster { width: 100%; max-height: 420px; object-fit: contain; border-radius: 14px; margin: 8px 0 12px; background: rgba(255,255,255,.5); display: block; }
/* 표지·포스터는 같은 크기 상자에 통째로 보이게 (긴 포스터도 화면을 덮지 않게) */
.album-head .album-img, .tour-poster { height: 200px; max-height: none; width: 100%; object-fit: contain; background: rgba(255,255,255,.55); }
/* 셋리스트: 곡 링크는 밑줄 없이, 유튜브 영상이 있는 곡만 초록 글씨 */
.setlist-list .sl-title a { color: var(--ink); text-decoration: none; font-weight: 500; }
.setlist-list .sl-title a.has-vid { color: var(--green); }
/* 곡 목록: 앨범 썸네일 + 곡명 + 무대·콘서트 수 */
.song-thumb { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; background: linear-gradient(135deg, var(--he9efec), var(--hddebf5)); display: block; }
.song-name small { display: block; font-size: calc(12px * var(--fs)); color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-n b { color: var(--green); font-weight: 500; }
.setlist-list .sl-title a.plain { color: var(--ink); font-weight: 400; }
/* 곡 화면: 수록 음반 */
.song-albums { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 6px; }
.song-album { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.6); color: var(--ink); }
.song-album img, .song-album > span:first-child { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--tint-1); }
.song-album b { display: block; font-size: calc(13px * var(--fs)); font-weight: 500; }
.song-album small { display: block; font-size: calc(12px * var(--fs)); color: var(--muted); }
/* 무대 목록 연도별 */
.year-group { margin: 0 0 10px; }
.year-group summary { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; font-size: calc(13px * var(--fs)); font-weight: 500; cursor: pointer; list-style: none; border-bottom: 1px solid var(--tint-1); }
.year-group summary::-webkit-details-marker { display: none; }
.year-group summary::after { content: '▾'; color: var(--muted); margin-left: 8px; }
.year-group[open] summary::after { content: '▴'; }
.year-group .stack { margin-top: 10px; }
.yg-year { flex: 1; }
.song-search { margin: 4px 0 12px; }
.song-item[hidden] { display: none; }
/* 검색: 카드 오른쪽 영상 썸네일 */
.card.has-thumb { flex-direction: row; align-items: center; gap: 12px; }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.card-thumb { position: relative; width: 96px; height: 54px; flex: none; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); display: flex; align-items: center; justify-content: center; }
.card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-thumb .play-dot { position: relative; margin: 0; width: 26px; height: 26px; background: rgba(0,0,0,.45); }
/* 검색: 바로가기 줄 */
.shortcut-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -2px 4px; scrollbar-width: none; }
.shortcut-row::-webkit-scrollbar { display: none; }
.shortcut-card { flex: none; width: 150px; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 14px; border: 1px solid var(--tint-2); background: linear-gradient(135deg, var(--heef7e6), var(--heaf6ee)); color: var(--ink); }
.shortcut-card img, .sc-ph { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; background: var(--he9efec); display: block; }
.shortcut-card small { display: block; font-size: calc(12px * var(--fs)); color: var(--green); }
.shortcut-card b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: calc(12px * var(--fs)); font-weight: 500; line-height: 1.35; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.list-title .link-btn { float: right; font-size: calc(12px * var(--fs)); }
#show-all { margin-top: 18px; width: 100%; }
.shortcut-card > span { min-width: 0; }
.shortcut-row { margin-top: 12px; }
.card-thumb { width: 80px; height: 45px; }

/* 누르기 쉽게: 연표는 줄 전체, 셋리스트 곡·날짜는 위아래로 넓게 */
.ev .ev-title::after { content: ''; position: absolute; inset: -6px 0 6px 0; }
.ev .ev-day { position: relative; z-index: 2; }
.sl-title a { padding: 6px 0; }
.ev-days .ev-day { padding: 6px 0; margin: -6px 0; }
.nw { white-space: nowrap; }
.tour-show { align-items: baseline; }
span.song-thumb { display: flex; align-items: center; justify-content: center; }
span.song-thumb::before { content: '♪'; font-size: calc(16px * var(--fs)); color: var(--h8dbfa3); }
/* 음반·콘서트 목록: 이름을 먼저, 날짜·개수는 아래 작게 */
.x-text:has(> b) { display: flex; flex-direction: column; -webkit-line-clamp: unset; }
.x-text > b { order: -1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 3px; }
.x-card[hidden] { display: none; }
.yt-card img { width: 112px; height: 63px; }
.yt-card .x-text { -webkit-line-clamp: 3; font-size: calc(13px * var(--fs)); }
.yt-strip { display: flex; gap: 10px; overflow-x: auto; margin: 10px 0 4px; padding-bottom: 4px; scrollbar-width: none; }
.yt-strip::-webkit-scrollbar { display: none; }
.yt-strip a { flex: none; width: 152px; color: var(--ink); }
.yt-strip img { width: 152px; height: 86px; object-fit: cover; border-radius: 10px; background: var(--tint-1); display: block; }
.yt-strip span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 5px; font-size: calc(12px * var(--fs)); line-height: 1.35; }
.yt-ago { margin-top: 12px; }
.search-yt { margin: 4px 0 14px; }
/* 상세 화면 탭 */
.pane-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 5px; margin: 4px -20px 12px; padding: 8px 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pane-tabs::-webkit-scrollbar { display: none; }
.pane-tabs button { flex: 1 0 auto; min-height: 36px; padding: 0 9px; border: 1px solid var(--hdce5e0); border-radius: 18px; background: #fff; font: inherit; font-size: calc(13px * var(--fs)); color: var(--muted); cursor: pointer; }
.pane-tabs button b { font-weight: 600; color: var(--green); margin-left: 2px; }
.pane-tabs button.on { background: linear-gradient(120deg, var(--g1), var(--g2) 55%, var(--g3)); color: var(--h0f2a22); border-color: transparent; font-weight: 700; }
.pane-tabs button.on b { color: inherit; }
.adv-btn { flex: none; margin-right: -6px; padding: 7px 11px; border-radius: 12px; background: linear-gradient(120deg, var(--he3f5c9), var(--hcfefe0)); color: var(--green-d); font-size: calc(12px * var(--fs)); font-weight: 700; white-space: nowrap; }
.x-wrap[hidden] { display: none; }
.x-wrap { display: flex; flex-direction: column; border: 1px solid var(--line,var(--hdce5e0)); border-radius: 14px; background: #fff; }
.x-wrap > .x-card { border: 0; background: none; }
.x-links { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px 10px; margin-top: -4px; }
.x-wrap:has(> .x-card > img) .x-links { padding-left: 106px; }
.x-links a { padding: 5px 10px; border-radius: 10px; background: var(--tint-1); color: var(--green-d); font-size: calc(12px * var(--fs)); font-weight: 600; }
.member-x + .chip { display: inline-flex; margin-bottom: 8px; }
.member-x .x-strip { margin-top: 0; }
.mem-all { display: block; text-align: right; margin-top: 12px; }
.setlist-list .sl-has .sl-title, .setlist-list .sl-has .sl-title a { color: var(--green); font-weight: 700; }
.sl-has .sl-yt svg { stroke: var(--green); }
.sl-has .sl-yt .fill { fill: var(--green); }
.cat-chips { margin: 0 0 10px; }
.shortcuts { grid-template-columns: 1fr 1fr; }
.mem-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mem-row a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border-radius: 14px; background: var(--grad-soft); color: var(--ink); }
.mem-row b { font-size: calc(14px * var(--fs)); }
.mem-row span { font-size: calc(12px * var(--fs)); color: #66766E; text-align: center; line-height: 1.4; }
.prog-mini .h3 { margin-bottom: 8px; font-size: calc(13px * var(--fs)); color: #4C5C54; }
.prog-mini .chip { font-size: calc(12px * var(--fs)); }
.mem-pic { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #fff; margin-bottom: 4px; }
.mem-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sc.sc-pic { grid-template-columns: auto 1fr; grid-template-rows: auto auto; padding: 10px; column-gap: 10px; }
.sc-img { grid-row: 1 / 3; width: 46px; height: 46px; object-fit: cover; border-radius: 10px; background: #fff; }
.sc-pic .mi-ic { display: none; }
.sc-pic .sc-l, .sc-pic .sc-s { text-align: left; }
/* 홈 음반·콘서트: 한 상자 안 두 줄 */
.shortcuts { display: flex; flex-direction: column; gap: 0; margin-top: 10px; border-radius: 16px; background: var(--grad-soft); overflow: hidden; }
.shortcuts .sc, .shortcuts .sc.sc-pic { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 1px; align-items: center; padding: 10px 14px; min-height: 0; border-radius: 0; background: none; }
.shortcuts .sc + .sc { border-top: 1px solid rgba(255,255,255,.8); }
.shortcuts .sc::after { content: '›'; grid-column: 3; grid-row: 1 / 3; color: var(--muted); font-size: calc(18px * var(--fs)); }
.shortcuts .sc .mi-ic { grid-row: 1 / 3; margin: 0; width: 44px; height: 44px; }
.shortcuts .sc-img { width: 44px; height: 44px; }
.shortcuts .sc-l { font-size: calc(13px * var(--fs)); white-space: nowrap; }
.shortcuts .sc-s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-head { margin-bottom: 0; }
/* 검색창~필터 위에 고정 (엑셀 틀 고정처럼) */
.stick { position: sticky; top: 0; z-index: 6; margin: 0 -20px 8px; padding: 8px 20px 8px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.stick .searchbox { margin-bottom: 8px; }
.stick .tl-cats { margin: 0 0 6px; }
.stick .tl-cats:last-child { margin-bottom: 0; }
.stick .searchbox { height: 42px; min-height: 0; padding: 0 14px; box-shadow: none; }
.stick .tl-cats .chip { height: 28px; font-size: calc(12px * var(--fs)); padding: 0 11px; }
.stick .tl-cats { margin-bottom: 5px; }
/* 앨범 보기 (사이트 전체) */
.view-row { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 6px 0 4px; }
.view-row .sub { margin: 0 auto 0 0; }
.view-tog { font-size: calc(12px * var(--fs)); height: 30px; }
.view-tog.dis { opacity: .4; filter: grayscale(1); pointer-events: none; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list:has(.x-card, .card-thumb) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .x-wrap, .album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .card-wrap { display: contents; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .x-links, .album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .x-text, .album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .no-img, .album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .card-body, .album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .card-sl, .album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .card:not(.has-thumb) { display: none; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .x-card, .album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .card { padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--tint-1); box-shadow: none; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .x-card img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .yt-card img { aspect-ratio: 16 / 10; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .card-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .x-card[hidden], .album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .x-wrap[hidden], .album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .card[hidden], .album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .card-wrap[hidden] { display: none; }
.stick .view-row { margin: 6px 0 0; }
.more-btn[hidden] { display: none; }
/* 음반 이야기 목록: 연도별 표지 바둑판 */
.rel-year { font-size: calc(13px * var(--fs)); font-weight: 700; color: var(--muted); margin: 18px 0 8px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
.rel-tile { display: flex; flex-direction: column; gap: 2px; color: var(--ink); min-width: 0; }
.rel-tile[hidden], .rel-sec[hidden] { display: none; }
.rel-cover { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); margin-bottom: 6px; }
.rel-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rel-tile b { font-size: calc(12px * var(--fs)); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rel-sub { font-size: calc(12px * var(--fs)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 음반 상세 머리 */
.ah2 .ah-top { display: flex; gap: 14px; align-items: center; margin: 6px 0 12px; }
.ah2 .ah-img { width: 120px; height: 120px; object-fit: cover; border-radius: 14px; flex: none; background: var(--tint-1); box-shadow: 0 4px 14px rgba(20,40,30,.12); }
.ah2 .ah-info .h1 { font-size: calc(20px * var(--fs)); line-height: 1.3; margin-bottom: 4px; }
.ah2 .ah-info .sub { line-height: 1.5; }
.ah-facts { display: grid; grid-template-columns: 64px 1fr; gap: 6px 10px; margin: 0 0 10px; font-size: calc(12px * var(--fs)); }
.ah-facts dt { color: var(--muted); }
.ah-facts dd { margin: 0; color: var(--h33443c); }
.ah-note { font-size: calc(12px * var(--fs)); line-height: 1.6; color: #4C5C54; background: var(--hf2f7f3); border-radius: 12px; padding: 10px 12px; margin: 0 0 8px; }
.ah-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.ah-nav a { display: flex; flex-direction: column; max-width: 48%; font-size: calc(12px * var(--fs)); color: var(--muted); }
.ah-nav a:last-child { text-align: right; margin-left: auto; }
.ah-nav b { font-size: calc(12px * var(--fs)); color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 앨범 보기: 글 하나의 사진 전부 */
.x-extra { display: none; }
.x-group[hidden] { display: none; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .x-group { display: contents; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .x-group[hidden] { display: none; }
.album-on :is(#view, .sheet-wrap):has(.view-tog) .x-list .x-extra { display: block; }
.x-count { margin: 0 0 8px; }
/* 통합 검색 */
.s-tabs { margin: 4px 0 12px; }
.s-tabs .chip b { font-weight: 600; color: var(--green); margin-left: 2px; }
.s-tabs .chip.on b { color: inherit; }
.s-xlink { border-style: dashed; color: var(--green); }
.s-sec { margin: 6px 0 30px; }
.s-sec .block-head { margin-bottom: 8px; }
#filters[hidden], #fwrap[hidden] { display: none; }

/* 필터 펼치기 */
.chips-tog { font-size: calc(13px * var(--fs)); white-space: nowrap; }
.chips-open .stick { position: static; }
.chips-open .stick .chips { flex-wrap: wrap; overflow: visible; }
.view-row .sub { white-space: nowrap; }
.chips-open .stick .chips.tl-cats + .chips.tl-cats { border-top: 1px solid var(--line); padding-top: 8px; }
.track-links { margin-top: 6px; }
.track-links .chip { height: 30px; font-size: calc(13px * var(--fs)); }
/* 검색창·필터 칩 통일: 통합 검색·곡·유튜브·공식 X 모두 같은 모양 */
.search-top .searchbox, .stick .searchbox { height: 42px; min-height: 0; padding: 0 14px; box-shadow: none; background: #fff; border-color: var(--g2); }
.stick .song-search { margin: 0 0 8px; }
.search-top .chip, .stick .chips .chip { height: 28px; font-size: calc(12px * var(--fs)); padding: 0 11px; }
.s-tabs .chip { height: 28px; font-size: calc(12px * var(--fs)); padding: 0 11px; }
/* 곡 목록: 오른쪽 숫자가 길어도 곡 이름이 글자 단위로 쪼개지지 않게 */
.song-name { word-break: keep-all; overflow-wrap: anywhere; }
.song-item .song-n { max-width: 42%; text-align: right; line-height: 1.4; }
/* '○○ 전체'는 다른 칩과 다른 단계: 다른 걸 고르면 회색, 펼치면 혼자 한 줄 */
.chip-all:not(.on) { background: #EEF1EF; border-color: #E1E6E3; color: #8A968F; }
.chip-br { display: none; }
.chips-open .stick .chip-br { display: block; flex-basis: 100%; height: 0; margin: -3px 0; }
/* 프로그램별 모아보기 */
.prog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; margin-bottom: 22px; }
.prog-card { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: var(--ink); }
.prog-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--grad-soft); margin-bottom: 4px; }
.prog-thumb img, .prog-rthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prog-card b { font-size: calc(14px * var(--fs)); font-weight: 700; line-height: 1.3; word-break: keep-all; }
.prog-meta { font-size: calc(12px * var(--fs)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog-rows { display: flex; flex-direction: column; margin-bottom: 18px; }
.prog-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; border-bottom: 1px solid var(--tint-1); color: var(--ink); }
.prog-rthumb { flex: none; width: 72px; height: 41px; border-radius: 8px; overflow: hidden; background: var(--grad-soft); }
.prog-rbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.prog-rbody b { font-size: calc(14px * var(--fs)); font-weight: 600; line-height: 1.35; word-break: keep-all; }
.prog-rbody span { font-size: calc(12px * var(--fs)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog-chev { color: var(--muted); font-size: calc(18px * var(--fs)); }
.ep-year { margin: 14px 0 0; font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--green-d); }
.ep-list > .ep-item:first-child .ep-year { margin-top: 4px; }
.ep-list { gap: 0; }
/* 유튜브 뮤직 음원 썸네일로 채운 표지: 양옆 검은 띠를 잘라 정사각형으로 */
img[src*="i.ytimg.com"].album-img { width: 200px; height: 200px; margin-left: auto; margin-right: auto; object-fit: cover; }
.yt-strip .yt-src { display: block; margin-top: 2px; font-size: calc(12px * var(--fs)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 일정 상세 '이날 부른 곡' */
.day-songs { display: flex; flex-direction: column; }
.day-song { display: flex; align-items: center; gap: 8px; min-height: 52px; border-bottom: 1px solid var(--tint-1); }
.day-song-name { flex: 1; min-width: 0; color: var(--ink); padding: 8px 0; }
.day-song-name b { display: block; font-size: calc(14px * var(--fs)); font-weight: 600; word-break: keep-all; }
.day-song-name small { display: block; font-size: calc(12px * var(--fs)); color: var(--muted); margin-top: 2px; }
.day-song .day-play { position: static; transform: none; flex: none; }
.day-song .day-play svg { stroke: var(--green); }
.day-song .day-play svg .fill { fill: var(--green); }
.about-list { margin: 8px 0 0; padding-left: 18px; font-size: calc(12px * var(--fs)); line-height: 1.7; color: var(--h33443c); }
.day-thumb { position: relative; flex: none; width: 96px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--tint-1); margin: 6px 0; }
.day-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.day-thumb .thumb-play { width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.day-thumb .thumb-play svg { width: 11px; height: 11px; margin-left: 2px; }
/* 자동 연결 점검 */
.check-link { display: block; margin: 18px 0 6px; font-size: calc(12px * var(--fs)); color: var(--muted); text-align: center; }
.chk-bar { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; font-size: calc(13px * var(--fs)); }
.chk-bar .link-btn { margin-left: auto; font-size: calc(12px * var(--fs)); }
.chk-list { gap: 0; }
.chk { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--tint-1); }
.chk-media { flex: none; width: 96px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--tint-1); }
.chk-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chk-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.chk-sub, .chk-why { font-size: calc(12px * var(--fs)); color: var(--muted); }
.chk-why { color: #B0742A; }
.chk-title { font-size: calc(13px * var(--fs)); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chk-to { font-size: calc(13px * var(--fs)); font-weight: 700; color: var(--green); word-break: keep-all; }
.chk-btns { display: flex; gap: 6px; margin-top: 4px; }
.chk-btns .chip { height: 30px; font-size: calc(12px * var(--fs)); }
.chk-btns .chk-bad { color: #C0392B; }
.ep-thumb { margin: 0; }

/* 멤버 개인 활동 */
.mem-hero { display: flex; align-items: center; gap: 14px; margin: 14px 0 10px; }
.mem-hero-pic { flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--grad-soft); }
.mem-hero-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mem-hero-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mem-hero-body > b { font-size: calc(18px * var(--fs)); font-weight: 700; }
.mem-stats { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: calc(12px * var(--fs)); color: var(--muted); }
.mem-stats b { color: var(--ink); font-weight: 700; }
.mem-bday { font-size: calc(12px * var(--fs)); color: var(--green-d); }
.car-h { margin: 16px 0 4px; font-size: calc(13px * var(--fs)); font-weight: 700; color: var(--green-d); }
.car-h b { font-weight: 600; color: var(--muted); margin-left: 2px; }
.pane > .car-h:first-child { margin-top: 4px; }
.car-row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--tint-1); }
.car-date { flex: none; width: 70px; font-size: calc(12px * var(--fs)); color: var(--muted); line-height: 1.5; text-align: center; align-self: center; }
.car-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.car-body b { font-size: calc(13px * var(--fs)); font-weight: 600; line-height: 1.4; word-break: keep-all; }
.car-body span { font-size: calc(12px * var(--fs)); color: var(--muted); line-height: 1.4; }
b > .help { vertical-align: 2px; }
b > .help-pop { position: static; display: block; width: auto; max-width: none; margin-top: 6px; }
b > .help-pop[hidden] { display: none; }
.tour-more summary { list-style: none; cursor: pointer; padding: 10px 0 4px; color: var(--green); font-size: calc(14px * var(--fs)); font-weight: 600; }
.tour-more summary::-webkit-details-marker { display: none; }
.tour-more summary::after { content: ' ›'; }
.tour-more[open] summary { display: none; }
.tour-more > .tour-show { margin-top: 6px; }
.sync-box { display: grid; gap: 4px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: calc(13px * var(--fs)); }
.sync-row { display: flex; justify-content: space-between; gap: 8px; }
.sync-row a { color: inherit; }
.sync-bad, .sync-bad a { color: #C0392B; font-weight: 600; }
.x-add { margin: 0 0 10px; font-size: calc(13px * var(--fs)); }
.x-add summary { cursor: pointer; color: var(--green); font-weight: 600; list-style: none; }
.x-add summary::-webkit-details-marker { display: none; }
.x-add-form { display: flex; gap: 6px; margin-top: 8px; }
.x-add-form input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.x-add-msg:empty { display: none; }
.sync-note { margin: 18px 0 4px; text-align: center; font-size: calc(12px * var(--fs)); color: var(--muted); }

/* 누르기 쉬운 크기: 보이는 모양은 그대로 두고 누르는 범위만 넓혀요 */
.help { position: relative; }
.help::after { content: ''; position: absolute; inset: -10px; }
.searchbox input { align-self: stretch; }
.more, .src-note a, .check-link, .mem-bday, .x-add summary { position: relative; }
.more::after, .src-note a::after, .x-add summary::after { content: ''; position: absolute; inset: -12px -6px; }
.check-link { padding: 10px 0; margin-top: 8px; margin-bottom: 0; }
.yt-find { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; font-size: calc(12px * var(--fs)); font-weight: 500; color: var(--muted); vertical-align: 1px; }
.yt-find svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.day-song-find { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex: 1; min-height: 44px; }
.day-song-find b { min-width: 0; }
.s-group { gap: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 3px 10px rgba(46, 139, 106, 0.06); }
.s-group :is(.card, .x-card, .x-wrap) { border: 0; border-radius: 0; box-shadow: none; }
.s-group.s-group > * + * { border-top: 1px solid var(--line); }
.setlist-list li:has(.sl-find) { padding-right: 76px; }
.sl-yt.sl-find { width: auto; padding: 0 2px 0 6px; }
.sl-find .yt-find { margin-left: 0; }

/* 프로그램 모아보기: 홈 가로 카드 · 찾기 */
.prog-mini .sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.prog-mini .sec-head .h3 { margin: 0; }
.prog-mini .more-link { font-size: calc(13px * var(--fs)); color: var(--green-2); font-weight: 600; }
.prog-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; }
.prog-scroll::-webkit-scrollbar { display: none; }
.prog-scroll .prog-card { flex: none; width: 42%; scroll-snap-align: start; }
.prog-scroll .prog-card b { font-size: calc(13px * var(--fs)); }
.prog-row[hidden], .prog-card[hidden], .prog-sec[hidden] { display: none; }
#prog-sort .chip { font-size: calc(12px * var(--fs)); padding: 4px 10px; }

/* 보관함 (♡ 좋아요 · 🎫 직관) */
.box-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.bpill { height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--tint-2); background: #fff; color: var(--ink); font-size: calc(12px * var(--fs)); display: inline-flex; align-items: center; gap: 4px; }
.box-btn[aria-pressed="true"] { border-color: #E9A0B4; background: #FFF1F5; color: #B23A5E; font-weight: 600; }
.heart-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--tint-2); background: #fff; color: #B23A5E; font-size: calc(18px * var(--fs)); display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; }
.song-hero .head-side { display: inline-flex; align-items: center; }
.box-stat .box-nums { display: flex; flex-wrap: wrap; gap: 8px; }
.box-nums span { flex: 1 1 0; min-width: 70px; padding: 12px 10px; border-radius: 14px; background: var(--soft); font-size: calc(12px * var(--fs)); color: var(--muted); }
.box-nums b { display: block; font-size: calc(20px * var(--fs)); color: var(--ink); }
.box-songs { flex-wrap: wrap; overflow: visible; }
.box-search { margin-top: 16px; }
.box-hit[hidden], #box-found[hidden], #box-tabs-wrap[hidden], #box-none[hidden] { display: none !important; }
.box-list.short > .box-ev:nth-of-type(n+9), .box-list.short .box-songs > .chip:nth-child(n+9), .box-list.short .box-songlist > .song-item:nth-child(n+9) { display: none; }
.box-more { margin-top: 12px; }
.box-ev { display: flex; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.box-ev span { flex: none; font-size: calc(12px * var(--fs)); color: var(--muted); }
.box-ev b { font-weight: 500; font-size: calc(14px * var(--fs)); }
.box-ev.box-note { flex-direction: column; gap: 4px; align-items: stretch; }
.box-ev.box-note span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.box-ev.box-note b { line-height: 1.55; }
.box-sync { margin-top: 24px; padding: 16px; border-radius: 16px; background: var(--hf2f7f3); border: 1px solid var(--tint-2); display: grid; gap: 8px; font-size: calc(13px * var(--fs)); }
.box-form { display: flex; flex-wrap: wrap; gap: 8px; }
.box-form input { flex: 1 1 140px; min-width: 0; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--tint-2); font-size: calc(16px * var(--fs)); background: #fff; }
.box-form input#box-pin { flex: 0 1 110px; }

/* 눌리는 날짜는 작은 버튼처럼 */
.ev-days { gap: 4px; }
a.ev-day { padding: 2px 8px; margin: 0; border-radius: 10px; background: var(--heaf6ee); color: var(--green-2); font-weight: 600; text-decoration: none; }
.ev-days .ev-day + .ev-day::before { content: none; }
.ev-days a.ev-day { padding: 2px 8px; margin: 0; }
a.ev-day.went { background: #FFF1F5; color: #B23A5E; }
.liked-mark { color: #D9567C; }
.went-mark { color: #B23A5E; font-weight: 600; }
.yt-thumb { position: relative; display: block; font-style: normal; }
.new-badge { position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: 6px; background: #E5484D; color: #fff; font-size: calc(10px * var(--fs)); font-weight: 700; letter-spacing: .3px; }

/* 숲별 카드 · 입덕일 D+ */
.view { position: relative; }
.dday-badge { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 4; display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 11px; border-radius: 15px; background: #fff; border: 1px solid var(--hcfe0d6); color: var(--ink-2); font-size: calc(11px * var(--fs)); text-decoration: none; box-shadow: 0 2px 8px rgba(20, 60, 40, .06); }
.dday-badge b { color: var(--green); font-size: calc(12px * var(--fs)); }
.dday-ask { position: relative; margin: 16px 0 14px; padding: 16px; border-radius: 16px; background: var(--grad-soft); display: grid; gap: 6px; font-size: calc(13px * var(--fs)); }
.dday-ask > b { font-size: calc(15px * var(--fs)); }
.dday-ask > span { color: var(--ink-2); font-size: calc(12px * var(--fs)); padding-right: 24px; }
.dday-x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font-size: calc(14px * var(--fs)); }
.dday-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.dday-form input { flex: 1 1 150px; min-width: 0; height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--hcfe0d6); background: #fff; font-size: calc(16px * var(--fs)); color: var(--ink); }
.card-form { display: grid; gap: 16px; }
.card-form label, .cf-g { display: grid; gap: 6px; font-size: calc(12px * var(--fs)); font-weight: 600; color: var(--ink-2); min-width: 0; }
.cf-l { font-size: calc(12px * var(--fs)); font-weight: 600; color: var(--ink-2); }
.card-form small, .cf-l small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.card-form input:not([type=file]), .card-form select { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--tint-2); background: #fff; font: inherit; font-size: calc(16px * var(--fs)); font-weight: 400; color: var(--ink); }
.card-form select { font-size: calc(14px * var(--fs)); }
.cf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cf-chips { flex-wrap: wrap; overflow: visible; }
.cf-chips .chip { font-weight: 500; }
.cf-photo { display: flex; align-items: center; gap: 8px; }
.cf-file { cursor: pointer; color: var(--green); font-weight: 600; }
.cf-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cf-font { height: 46px; border-radius: 12px; border: 1px solid var(--tint-2); background: #fff; color: var(--ink); font-size: calc(16px * var(--fs)); }
.cf-font.on { border: 2px solid var(--green); color: var(--green); }
.cf-colors { display: flex; gap: 14px; padding: 4px; }
.cf-color { width: 34px; height: 34px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.cf-color.on { outline: 2px solid var(--ink); outline-offset: 3px; }
.cf-pv-l { margin: 28px 0 8px; }
.cf-pv { display: flex; justify-content: center; }
.cf-pv canvas { width: 100%; max-width: 340px; height: auto; touch-action: pan-y; filter: drop-shadow(0 6px 18px rgba(20, 50, 35, .14)); }
.cf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.cf-btns .btn { min-height: 48px; font-size: calc(14px * var(--fs)); background: var(--green); }
.cf-btns .btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--tint-2); }
.cf-msg { margin-top: 8px; text-align: center; }
.cf-pv canvas.has-photo { touch-action: none; }
.cf-ac { position: relative; display: block; }
.cf-sug { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 6; max-height: 240px; overflow-y: auto; background: #fff; border: 1px solid var(--tint-2); border-radius: 12px; box-shadow: 0 8px 24px rgba(20, 50, 35, .12); padding: 4px; }
.cf-opt { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px; min-height: 40px; border-radius: 8px; font: inherit; font-size: calc(14px * var(--fs)); font-weight: 400; color: var(--ink); }
.cf-opt:active { background: var(--soft); }
.cf-none { display: block; padding: 10px; font-size: calc(12px * var(--fs)); font-weight: 400; color: var(--muted); }
.cf-two label:first-child .cf-sug { right: calc(-100% - 8px); }
.cf-two label:last-child .cf-sug { left: calc(-100% - 8px); }
.solo-nolink { color: var(--ink-2); }
.box-ev b small { font-weight: 400; color: var(--muted); font-size: calc(11px * var(--fs)); margin-left: 4px; }
.solo-tabs { margin: 4px 0 12px; }
.solo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
.solo-card { display: flex; flex-direction: column; gap: 2px; color: var(--ink); text-decoration: none; min-width: 0; }
.solo-card[hidden] { display: none; }
.solo-card b { font-size: calc(12.5px * var(--fs)); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.solo-cover { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3)); margin-bottom: 6px; }
.solo-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.con-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: calc(26px * var(--fs)); }
.con-set { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--h1f7a54); font-size: calc(11px * var(--fs)); font-weight: 700; }
.con-year { margin-top: 18px; }
.con-year[hidden] { display: none; }
.con-y { margin: 0 0 8px; font-size: calc(13px * var(--fs)); font-weight: 700; color: var(--ink-2, var(--ink)); letter-spacing: .02em; }
.solo-grid .rel-sub { font-size: calc(11.5px * var(--fs)); white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }
.solo-badge, .con-set { font-size: calc(10.5px * var(--fs)); padding: 1px 7px; }
.solo-badge { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: calc(11px * var(--fs)); font-weight: 600; }
.solo-seen { position: absolute; right: 6px; top: 4px; font-size: calc(14px * var(--fs)); }
.solo-nolink b { color: var(--ink-2, var(--ink)); }

.solo-grid .nw { white-space: normal; }
.solo-who { display: block; font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.sl-add { margin-top: 12px; }
.sl-add summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--green); font-size: calc(14px * var(--fs)); font-weight: 600; }
.sl-add summary::-webkit-details-marker { display: none; }
.sl-box { display: grid; gap: 8px; margin-top: 10px; }
.sl-box select, .sl-box textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: calc(15px * var(--fs)); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card, #fff); color: var(--ink); }
.sl-pre { margin: 0; padding-left: 22px; font-size: calc(13px * var(--fs)); line-height: 1.6; }
.sl-pre:empty { display: none; }
.sl-pre .ok { color: var(--ink); }
.sl-pre .new { color: var(--muted); }
.sl-send { justify-self: start; }
.sl-send:disabled { opacity: .5; }
.con-sum { margin: 2px 0 0; font-size: calc(13px * var(--fs)); color: var(--muted); }
.ev-thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--soft); align-self: flex-start; }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 썸네일 있는 공연 카드: 썸네일은 다른 카드처럼 오른쪽 끝에, 셋리 버튼은 그 아래로 */
.card-wrap .card.has-thumb { padding-right: 16px; align-items: flex-start; min-height: 122px; }
.card-wrap:has(.card.has-thumb) .card-sl { top: 76px; right: 16px; }
@media (max-width: 420px) { .card-wrap:has(.card.has-thumb) .card-sl { top: 68px; } .card-wrap .card.has-thumb { min-height: 114px; } }

/* 팬이 올린 셋리 상태 */
.sl-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #FFF8E3; font-size: calc(13px * var(--fs)); line-height: 1.45; }
.sl-state.ok { background: var(--heef7e6); }
.sl-state.ok .src-badge { color: var(--h2f5b12); background: var(--hd7edc2); }
.sl-state-msg { flex: 1 1 100%; min-width: 0; color: var(--ink-2); }
.sl-alts { flex: 1 1 100%; } .sl-alts > summary { cursor: pointer; font-size: calc(12.5px * var(--fs)); font-weight: 600; color: var(--ink-2); }
.sl-gate { margin: 6px 0; font-size: calc(12px * var(--fs)); color: var(--muted); }
.sl-alt { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.7); }
.sl-alt-h { margin: 0 0 4px; font-size: calc(12px * var(--fs)); color: var(--muted); }
.sl-alt ol { margin: 0 0 6px; padding-left: 22px; font-size: calc(13px * var(--fs)); }
.sl-state .sl-ok { flex: none; margin: 0; }
.day-song-link b { color: var(--green); }
.day-yt { flex: none; display: flex; align-items: center; min-height: 44px; }
.day-yt .yt-find { margin-left: 0; }
.new-tag { display: inline-block; font-size: calc(11px * var(--fs)); font-weight: 700; color: #6B4A00; background: #FFF1C9; border-radius: 6px; padding: 1px 6px; vertical-align: 2px; }
.solo-tag { display: inline-block; font-size: calc(11px * var(--fs)); font-weight: 700; color: var(--tag-ink); background: var(--hddebf5); border-radius: 6px; padding: 1px 6px; vertical-align: 2px; }
.con-set.con-check { color: #8A6A1E; background: rgba(255,248,227,.72); font-weight: 600; font-size: calc(10px * var(--fs)); }
/* 일정 등록 */
.add-xl{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.add-up{cursor:pointer}
.add-card{display:flex;flex-direction:column;gap:10px;padding:14px;margin:12px 0;border:1px solid var(--line,#e3e6e0);border-radius:14px;background:#fff}
.add-row{display:flex;gap:8px}
.add-f{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.add-f>span{font-size: calc(12px * var(--fs));color:var(--muted,#6b7068);font-weight:600}
.add-cat{flex:0 0 96px}
.add-grow{flex:1}
.add-card input,.add-card select,.add-card textarea{font:inherit;font-size: calc(16px * var(--fs));padding:8px 10px;border:1px solid var(--line,#d9ddd5);border-radius:10px;background:transparent;color:inherit;min-width:0;width:100%;box-sizing:border-box}
.add-sl summary{font-size: calc(13px * var(--fs));color:var(--muted,#6b7068);cursor:pointer}
.add-sl textarea{margin-top:6px}
.a-dup{margin:0;font-size: calc(13px * var(--fs));color:#8A6A1E}
.a-dup:empty{display:none}
.a-del{align-self:flex-end;font-size: calc(12px * var(--fs))}
.add-more{margin-right:6px}
.add-send{background:var(--green);color:#fff;border-color:transparent}
.add-bar{margin-top:8px}
.add-mini{font-size: calc(12px * var(--fs));padding:2px 10px;margin-left:6px}
.add-card .a-mem{flex-wrap:wrap;overflow:visible;margin:0;padding:0}
/* 의견 */
.op-form{display:flex;flex-direction:column;gap:8px;margin:14px 0 18px}
.op-form input,.op-form textarea,textarea.op-in{font:inherit;font-size: calc(16px * var(--fs));padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:inherit;width:100%;box-sizing:border-box}
.op-send{align-self:flex-start}
.op-item{padding:12px 0;border-bottom:1px solid var(--line)}
.op-head{display:flex;justify-content:space-between;gap:8px;font-size: calc(12px * var(--fs));color:var(--muted)}
.op-who{font-weight:600;color:var(--ink-2)}
.op-text{margin:6px 0;white-space:pre-wrap;word-break:break-word;font-size: calc(14px * var(--fs));line-height:1.55}
.op-foot{display:flex;gap:10px;align-items:center;font-size: calc(12px * var(--fs))}
.op-done{color:var(--green);font-weight:600}
.op-todo{color:var(--muted)}
.op-item.done .op-text{color:var(--ink-2)}
.op-fab{display:block;width:max-content;margin:28px auto 8px;padding:8px 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink-2);font-size: calc(13px * var(--fs));text-decoration:none}
.op-form .op-cats{flex-wrap:wrap;overflow:visible;margin:0;padding:0}
.op-cat{margin-left:0}
.add-bar{margin:12px 0 4px}
.add-quick>summary{list-style:none;display:inline-flex;cursor:pointer}
.add-quick>summary::-webkit-details-marker{display:none}
.add-quick[open]>summary{background:var(--soft)}
.add-acts{display:flex;gap:8px}
/* 일정 상세 정보 수정 요청 */
.fix-box{margin-top:6px}
.fix-box>summary{font-size: calc(13px * var(--fs));color:var(--muted);cursor:pointer}
.fix-box .op-form{margin:10px 0 0}
.op-ev{display:inline-block;margin-top:6px;font-size: calc(12px * var(--fs));color:var(--green);text-decoration:none}
.add-more-f{display:flex;flex-direction:column;gap:10px}
.add-more-f[open]>summary{margin-bottom:4px}
.op-home{display:flex;align-items:center;gap:6px;margin:4px 0 12px;padding:12px 14px;border-radius:14px;background:#FFF8E3;color:#5E4A12;text-decoration:none;font-size: calc(14px * var(--fs))}
.op-home b{color:#8A6A1E}
.op-home span{margin-left:auto;font-size: calc(13px * var(--fs))}
.op-new{display:inline-block;min-width:16px;padding:0 4px;border-radius:8px;background:#E5484D;color:#fff;font-size: calc(10px * var(--fs));font-weight:700;text-align:center;line-height:16px}
.op-read{margin:14px 0 2px;padding:6px 0;text-align:center;font-size: calc(12px * var(--fs));color:var(--muted);border-top:1px dashed var(--line);border-bottom:1px dashed var(--line)}
.tl-top .add-bar{margin:0}
.tl-top .add-quick[open]{max-height:62vh;overflow-y:auto;overscroll-behavior:contain}
.tl-top .add-quick .add-card{margin:10px 0}
.f-date{display:flex;flex-direction:column;gap:4px;font-size: calc(13px * var(--fs));color:var(--muted);margin-top:8px}
.f-date-h{display:flex;justify-content:space-between;align-items:center}
.f-date-in{display:flex;align-items:center;gap:6px}
.f-date input{font:inherit;font-size: calc(14px * var(--fs));padding:5px 8px;min-width:0;flex:1 1 0;border:1px solid var(--line);border-radius:10px;background:#fff;color:inherit}
.f-tog{display:block;margin:6px 0 0 auto;font-size: calc(12px * var(--fs))}
.f-date-in>span{flex:none}
.search-top.f-folded .f-date,.search-top.f-folded #fwrap{display:none!important}
.op-reply{margin:8px 0 0 14px;padding:8px 0 8px 12px;border-bottom:0;border-left:2px solid var(--line)}
.op-reply .op-text{margin:4px 0}
.op-re-box{margin:8px 0 0 14px}
.op-del{color:var(--muted)}
.op-del.sure{color:#C8383D;font-weight:600}
.op-re-box[hidden]{display:none}
.chip-sep{flex:none;width:1px;align-self:stretch;margin:4px 2px;background:var(--line)}
.op-item.done{background:var(--hf2f7f3);margin:0 -10px;padding:12px 10px;border-radius:12px}
.op-item.done + .op-item.done{margin-top:6px}
.a-dup:empty{display:none}
.a-dup{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:12px;background:#FFF8E3;color:#5E4A12;font-size: calc(13px * var(--fs));line-height:1.5}
.a-near{display:flex;flex-direction:column;gap:6px}
.a-pick{display:flex;gap:8px;align-items:baseline;text-align:left;font:inherit;font-size: calc(13px * var(--fs));padding:8px 10px;border:1px solid #EBDDB3;border-radius:10px;background:#fff;color:var(--ink);cursor:pointer}
.a-pick span{flex:none;color:var(--muted);font-size: calc(12px * var(--fs))}
.a-pick.on{border-color:var(--green);background:var(--heaf6ee);font-weight:600}
.a-choose{display:flex;flex-wrap:wrap;gap:6px}
.a-choose .chip[disabled]{opacity:.45}
.a-note{font-size: calc(12px * var(--fs));color:#7A6524}
.ev-merge{display:block;text-align:left;margin:4px 0}
.ev-merge.sure,.ev-hide.sure{color:#C8383D;font-weight:600}
.op-reply .op-reply{margin-left:8px}
.op-reply .op-reply .op-reply .op-reply{margin-left:0;padding-left:0;border-left:0}
.op-to{color:var(--muted);font-weight:400}
.del-box{margin:12px 0;padding:10px 12px;border-radius:12px;background:var(--warn-bg,#FFF4E5);display:flex;flex-direction:column;gap:4px}
.del-box .op-item{border-bottom:0;padding:4px 0}
.del-quiet{margin-top:2px}
.del-quiet>summary{font-size: calc(12px * var(--fs));color:var(--muted);list-style:none}
.del-quiet>summary::-webkit-details-marker{display:none}
.del-quiet:not([open])>summary{text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--line)}
.op-auto{display:inline-block;margin-top:4px;padding:1px 7px;border-radius:999px;font-size: calc(11px * var(--fs));color:var(--muted);background:var(--soft);border:1px solid var(--line)}
.op-text-auto{color:var(--ink-2)}
.op-photo{display:inline-flex;align-self:flex-start;cursor:pointer;font-size: calc(13px * var(--fs));color:var(--muted);padding:6px 10px;border:1px dashed var(--line);border-radius:999px}
.op-photo-has{font-size: calc(12px * var(--fs));color:var(--muted)}
.news-home{background:var(--heaf6ee);color:var(--h24513a)}
.news-home b{color:var(--green-d)}
.news-cnt{color:var(--green-d);font-size: calc(12px * var(--fs))}
.news-list{display:flex;flex-direction:column;gap:8px;padding-bottom:24px}
.news-day{margin:12px 0 0;font-size: calc(13px * var(--fs));font-weight:600;color:var(--muted)}
.news-item{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);text-decoration:none}
.news-t{flex:1;min-width:0;font-size: calc(15px * var(--fs));font-weight:600;line-height:1.4}
.news-s{flex-basis:100%;order:3;font-size: calc(13px * var(--fs));color:var(--muted);line-height:1.5}
.news-go{color:var(--muted)}
.news-new{display:inline-block;margin-right:6px;padding:1px 6px;border-radius:6px;background:var(--green-d);color:#fff;font-size: calc(11px * var(--fs));font-weight:700;vertical-align:2px}
.fan-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px}
.fan-card{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);text-decoration:none}
.fan-card.on{border-color:var(--green-d);background:var(--heaf6ee)}
.fan-card:last-child:nth-child(odd){grid-column:1/-1}
.fan-card-l{font-size: calc(13px * var(--fs));color:var(--muted)}
.fan-card-n{font-size: calc(26px * var(--fs));font-weight:700;color:var(--green-d);line-height:1.2}
.fan-card-s{font-size: calc(12px * var(--fs));color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fan-filter{display:flex;gap:8px;align-items:center;margin:-4px 0 10px;font-size: calc(13px * var(--fs));color:var(--muted)}
.fan-filter a{color:var(--green-d)}
.fan-list{display:flex;flex-direction:column;gap:8px}
.fan-item{display:flex;flex-direction:column;gap:4px;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);text-decoration:none}
.fan-small{padding:8px 14px;background:var(--hfafdf8)}
.fan-small .fan-title{font-size: calc(13px * var(--fs));font-weight:500}
.fan-top{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.fan-k{padding:1px 8px;border-radius:8px;background:var(--he9efec);font-size: calc(12px * var(--fs));font-weight:600;color:var(--h3d5247)}
.fan-k-ev,.fan-k-join{background:var(--he6f0fb);color:var(--h2c5a8a)}
.fan-k-sl,.fan-k-slfix{background:#F3ECFA;color:#6A3F8F}
.fan-k-dt{background:#FFF1E0;color:#8A5A12}
.fan-what{font-size: calc(12px * var(--fs));color:var(--muted)}
.fan-st{margin-left:auto;font-size: calc(12px * var(--fs));font-weight:600}
.fan-wait{color:#B5651D}
.fan-ok{color:var(--green-d)}
.fan-old{color:var(--muted);font-weight:400}
.fan-title{font-size: calc(15px * var(--fs));font-weight:600;line-height:1.4;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fan-sub{display:flex;gap:6px;font-size: calc(12px * var(--fs));color:var(--muted)}
.fan-sub b{color:var(--green-d);font-weight:600}
.fan-ago{margin-left:auto}
.map-entry{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding:10px 14px;border-radius:12px;background:var(--heaf6ee);color:var(--green-dd);font-size: calc(14px * var(--fs));font-weight:600;text-decoration:none}
.map-modes{margin-bottom:8px}
.map-car{display:flex;gap:10px;height:calc(min(62vw,240px) * .625);box-sizing:content-box;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -16px 12px;padding:4px 16px 8px;scroll-padding:0 16px}
.map-car::-webkit-scrollbar{display:none}
.map-car[hidden]{display:none}
.map-c{flex:none;position:relative;width:min(62vw,240px);aspect-ratio:16/10;border-radius:18px;overflow:hidden;background:var(--he9efec);scroll-snap-align:start;text-decoration:none;color:var(--ink);box-shadow:0 4px 14px rgba(31,94,62,.16)}
.map-c img{width:100%;height:100%;object-fit:cover}
.map-c span{position:absolute;left:8px;top:8px;padding:3px 9px;border-radius:999px;background:rgba(20,40,30,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font-size: calc(11px * var(--fs));font-weight:700}
.map-c-sl{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:12px 16px;background:linear-gradient(135deg,var(--he3f4d3),var(--hd9eef2))}
.map-c-sl b{font-size: calc(14px * var(--fs));color:var(--green-dd)}
.map-c-sl ol{margin:0;padding:0;list-style:none;counter-reset:sl;font-size: calc(13px * var(--fs));line-height:1.5;color:var(--h2c3e35)}
.map-c-sl li{counter-increment:sl;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-c-sl li::before{content:counter(sl);display:inline-block;width:18px;font-weight:700;color:var(--green-d)}
.map-c-sl small{font-size: calc(11px * var(--fs));color:var(--green-d);font-weight:600}
.map-stage{position:relative;isolation:isolate;border-radius:22px;overflow:hidden;box-shadow:0 6px 24px rgba(31,94,62,.14);background:var(--he9efec)}
#map{height:min(50vh,420px);background:var(--he9efec);z-index:0}
.map-ov #map{height:min(56vh,480px)}
.map-stage:not(.map-ov) #map{height:min(40vh,330px)}
.map-trip small{display:block;font-size: calc(10px * var(--fs));font-weight:500;opacity:.85}
.map-trip:has(small){height:auto;padding:7px 14px;line-height:1.25;text-align:center}
#map .leaflet-tile-pane{filter:saturate(.4) brightness(1.05) contrast(.92)}
.map-tools{position:absolute;top:10px;right:10px;z-index:500;display:flex;flex-direction:column;gap:6px}
.map-tool{width:36px;height:36px;border:0;border-radius:12px;background:rgba(255,255,255,.92);box-shadow:0 1px 6px rgba(0,0,0,.15);font-size: calc(17px * var(--fs));color:var(--green-dd);cursor:pointer}
.map-tools{align-items:flex-end}
.map-trip{height:36px;padding:0 14px;border:0;border-radius:999px;background:var(--green-d);color:#fff;font:inherit;font-size: calc(13px * var(--fs));font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.2);cursor:pointer;white-space:nowrap}
.map-sum{justify-content:center;padding:10px 14px}
.map-pinbar{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:12px;border-radius:16px;background:var(--card,#fff);border:1px solid var(--tint-2);font-size: calc(13px * var(--fs))}
.map-pinbar[hidden]{display:none}
.map-panel{margin-top:10px;display:flex;align-items:center;gap:6px;padding:10px 8px;border-radius:18px;background:var(--card,#fff);border:1px solid var(--tint-2);box-shadow:0 2px 10px rgba(31,94,62,.08)}
.map-grip{position:absolute;left:0;right:0;bottom:0;z-index:600;height:22px;display:flex;align-items:center;justify-content:center;cursor:ns-resize;touch-action:none;background:linear-gradient(transparent,rgba(255,255,255,.75))}
.map-grip span{width:44px;height:5px;border-radius:3px;background:var(--h9db8a9)}
.map-info{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.map-meta{font-size: calc(11px * var(--fs));font-weight:600;letter-spacing:.02em;color:var(--green-d)}
.map-now-t{max-width:100%;font-size: calc(15px * var(--fs));font-weight:700;color:var(--ink);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-place{max-width:100%;font-size: calc(12px * var(--fs));color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-place em{font-style:normal;color:#B5651D}
.map-arrow{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:var(--green-d);color:#fff;font-size: calc(24px * var(--fs));line-height:1;cursor:pointer}
.map-arrow:disabled{background:#D5DED9;color:#fff;cursor:default}
.map-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:5px}
.map-dot{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:var(--hcfe0d6);cursor:pointer}
.map-dot.past{background:var(--h9cc7af)}
.map-dot.on{width:18px;border-radius:4px;background:var(--green-d)}
.map-track{width:70%;height:4px;margin-top:6px;border-radius:2px;background:var(--hdce5e0);overflow:hidden}
.map-track span{display:block;height:100%;background:var(--green-d);border-radius:2px}
.map-seek{-webkit-appearance:none;appearance:none;width:80%;height:22px;margin:4px 0 0;background:transparent;cursor:pointer;touch-action:none}
.map-seek::-webkit-slider-runnable-track{height:5px;border-radius:3px;background:linear-gradient(90deg,var(--green-d) var(--p,0%),var(--hdce5e0) var(--p,0%))}
.map-seek::-moz-range-track{height:5px;border-radius:3px;background:linear-gradient(90deg,var(--green-d) var(--p,0%),var(--hdce5e0) var(--p,0%))}
.map-seek::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;margin-top:-6.5px;border-radius:50%;background:#F07B2A;border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.map-seek::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#F07B2A;border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.map-b{display:inline-flex;flex-direction:column;align-items:center;transform:translate(-50%,-50%);cursor:pointer}
.map-b b{display:flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 6px;border-radius:14px;background:var(--green-d);color:#fff;font-size: calc(13px * var(--fs));border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.map-b small{margin-top:3px;font-size: calc(11px * var(--fs));font-weight:700;color:var(--h1f3a2c);text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 3px #fff;white-space:nowrap}
.map-b.big b{min-width:40px;height:40px;border-radius:20px;font-size: calc(15px * var(--fs))}
.map-b b{white-space:nowrap}
.map-b.ov{flex-direction:row;gap:0;padding:2px 9px 2px 2px;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 2px 8px rgba(0,0,0,.18)}
.map-b.ov b{min-width:26px;height:26px;border:0;box-shadow:none;font-size: calc(14px * var(--fs))}
.map-b.ov small{margin:0 0 0 5px;font-size: calc(12px * var(--fs));text-shadow:none}
.map-b.fuzzy b{background:rgba(31,122,76,.6);border-style:dashed}
.map-b.now b{background:#F07B2A;border-color:#fff;box-shadow:0 0 0 3px rgba(240,123,42,.35),0 2px 8px rgba(0,0,0,.25)}
.map-b.now small{color:#B5520F}
.map-now{display:block;width:56px;height:56px;transform:translate(-50%,-50%);border-radius:50%;background:rgba(240,123,42,.3);animation:mapPulse 1.8s ease-out infinite;pointer-events:none}
@keyframes mapPulse{0%{transform:translate(-50%,-50%) scale(.5);opacity:1}100%{transform:translate(-50%,-50%) scale(1.4);opacity:0}}
@media (prefers-reduced-motion:reduce){.map-now{animation:none}}
.map-pin{display:inline-block;transform:translate(-50%,-100%);font-size: calc(28px * var(--fs));line-height:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4))}
.map-fixbox{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:8px 4px 0}
.map-fixbox .link-btn{font-size: calc(12px * var(--fs))}
.map-pend{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size: calc(12px * var(--fs));color:#8A5A12}
.map-venue{margin-top:14px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:#fff}
.map-venue-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size: calc(15px * var(--fs))}
.map-venue-h span{font-size: calc(13px * var(--fs));color:var(--muted);display:flex;align-items:center;gap:10px}
.map-venue .map-go{width:100%;border:0;background:none;font:inherit;text-align:left;cursor:pointer}
.map-off{margin-top:12px;font-size: calc(13px * var(--fs));color:var(--muted)}
.map-src{margin-top:10px}
.map-period{display:flex;flex-direction:column;gap:6px;margin:0 0 10px}
.map-years{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.map-years::-webkit-scrollbar{display:none}
.map-years .chip{flex:none;height:32px;font-size: calc(13px * var(--fs))}
.map-sep{flex:none;width:1px;align-self:stretch;margin:6px 2px;background:var(--hcfe0d6)}
.map-playbar{display:flex;align-items:center;gap:6px;margin-top:10px;overflow-x:auto;scrollbar-width:none}
.map-playbar .chip{flex:none;height:30px;padding:0 10px;font-size: calc(12px * var(--fs))}
.map-sp-l{flex:none;margin-left:2px;font-size: calc(12px * var(--fs));color:var(--muted)}
.map-dur{margin-top:3px;font-size: calc(11px * var(--fs));color:var(--muted)}
.map-car-t{display:block;margin:0 0 6px auto;font-size: calc(12px * var(--fs))}
.map-range{font-size: calc(13px * var(--fs));color:var(--muted)}
.map-range summary{cursor:pointer}
.map-range-in{display:flex;align-items:center;gap:8px}
.map-range-in[hidden]{display:none}
.map-range-in input{flex:1;min-width:0;height:36px;padding:0 10px;border:1px solid var(--line);border-radius:10px;font:inherit;font-size: calc(14px * var(--fs));background:#fff;color:var(--ink)}
.map-intro{position:absolute;inset:0;z-index:700;display:flex;align-items:center;justify-content:center;padding:20px;background:linear-gradient(180deg,rgba(241,250,227,.55),rgba(233,247,241,.75));-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.map-intro-card{display:flex;flex-direction:column;align-items:center;gap:8px;max-width:300px;padding:22px 20px 14px;border-radius:22px;background:rgba(255,255,255,.95);box-shadow:0 8px 30px rgba(31,94,62,.18);text-align:center}
.map-intro-k{font-size: calc(12px * var(--fs));font-weight:700;letter-spacing:.06em;color:var(--green-d)}
.map-intro-t{margin:0;font-size: calc(19px * var(--fs));font-weight:700;line-height:1.45;color:var(--ink);text-wrap:balance}
.map-intro-s{font-size: calc(13px * var(--fs));color:var(--muted)}
.map-intro-go{margin-top:6px;padding:12px 28px;border:0;border-radius:999px;background:var(--green-d);color:#fff;font:inherit;font-size: calc(16px * var(--fs));font-weight:700;cursor:pointer}
/* 뮤지컬 캐스팅 회차: 달마다 한 줄, 작은 칩 */
.cast-months { display: flex; flex-direction: column; gap: 10px; margin-block: 8px 6px; }
.cast-m { display: grid; grid-template-columns: 2.6em 1fr; gap: 6px; align-items: start; }
.cast-mh { padding-top: 6px; font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cast-list { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.cast-row { position: relative; display: inline-flex; }
.cast-btn { padding: 4px 8px; border: 1px solid var(--hcfe0d6); border-radius: 999px; background: var(--card, #fff); color: var(--ink); font: inherit; font-size: calc(12px * var(--fs)); letter-spacing: -.2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cast-btn[aria-pressed="true"] { border-color: #E39AB5; background: #FDEFF4; color: #B03A64; font-weight: 700; }
.cast-row.wait .cast-btn { border-style: dashed; color: var(--ink-2); }
.cast-del { display: none; position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: #9AA8A0; color: #fff; font-size: calc(12px * var(--fs)); line-height: 18px; }
.cast-editing .cast-del { display: block; }
.cast-edit { margin: 0 0 8px; font-size: calc(12px * var(--fs)); }
/* 확정 배지: 작게, 누르면 설명 */
.ok-mini { display: inline-block; margin: 0 6px 8px 0; font-size: calc(12px * var(--fs)); vertical-align: top; }
.ok-mini summary { list-style: none; cursor: pointer; display: inline-block; padding: 2px 9px; border-radius: 999px; color: var(--h2f5b12); background: var(--hd7edc2); font-weight: 700; }
.ok-mini summary::-webkit-details-marker { display: none; }
.ok-mini[open] { display: block; }
.ok-mini span { display: block; margin-top: 4px; color: var(--ink-2); }
.meta .ok-mini { margin: 0 4px 0 0; font-size: calc(11.5px * var(--fs)); vertical-align: middle; }
.meta .ok-mini summary { padding: 1px 8px; }
.meta .ok-mini[open] { display: inline-block; }
.meta .ok-mini[open] span { position: absolute; z-index: 3; max-width: 260px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--card, #fff); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.meta .heart-n { margin-left: 2px; }
/* 지도 위치 찾기 */
.pin-find{display:flex;gap:6px;flex-basis:100%}
.pin-find input{flex:1;min-width:0;padding:8px 10px;border:1px solid var(--hcfe0d6);border-radius:10px;font:inherit;background:#fff;color:var(--h16241c)}
.pin-res{flex-basis:100%;max-height:min(55vh,420px);overflow:auto;display:flex;flex-direction:column;gap:4px}
.pin-res:empty{display:none}
.pin-hit{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:6px 10px;border:1px solid var(--tint-2);border-radius:10px;background:#fff;color:var(--h16241c);font:inherit}
.pin-hit small{color:#5E6E64;font-size: calc(11px * var(--fs))}
.pin-hit.on{border-color:var(--h2e8b57);background:var(--tint-1)}
.map-pinbar .src-note{flex-basis:100%;margin:0}
.pin-find{min-width:0;width:100%}
.pin-find .chip{flex:none;margin:0}
/* 장소 한꺼번에 찾기 */
.pf-item{display:flex;flex-direction:column;gap:8px;padding:12px;margin-bottom:10px;border:1px solid var(--tint-2);border-radius:16px;font-size: calc(13px * var(--fs))}
.pf-h{display:flex;flex-direction:column;gap:2px}
.pf-h span{color:var(--ink-2);font-size: calc(12px * var(--fs))}
.pf-done{background:var(--heef7e6);border-color:var(--hc8e3b4)}
.pf-done .pin-find{display:none}
.pin-hit:disabled{opacity:.6}
.pin-hit.on:disabled{opacity:1}
.pf-done .pin-res{display:none}
/* 언어 */
.brand { position: relative; }
.brand-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.lang-btn { padding: 2px 8px; border: 1px solid var(--line, var(--tint-2)); border-radius: 999px; background: var(--card, #fff); color: var(--ink-2); font: inherit; font-size: calc(12px * var(--fs)); }
.lang-row { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--line, var(--tint-2)); border-radius: 14px; background: var(--card, #fff); color: var(--ink); font: inherit; font-size: calc(14px * var(--fs)); text-align: left; }
.lang-row b { color: var(--accent, var(--h1f7a54)); font-weight: 600; }
.lang-sheet { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.35); }
.lang-box { width: min(480px, 100%); display: flex; flex-direction: column; gap: 8px; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; background: var(--card, #fff); color: var(--ink); }
.lang-opt { padding: 12px; border: 1px solid var(--line, var(--tint-2)); border-radius: 12px; background: transparent; color: inherit; font: inherit; text-align: left; }
.lang-opt.on { border-color: var(--h2e8b57); background: var(--tint-1); color: var(--h16241c); font-weight: 700; }
.lang-box p { margin: 6px 0 0; font-size: calc(12px * var(--fs)); color: var(--ink-2); }
.lang-full { padding: 10px 12px; border-radius: 12px; background: var(--tint-1); color: var(--green-dd); font-weight: 600; text-decoration: none; }
.lang-x { padding: 10px; border: 0; background: transparent; color: var(--ink-2); font: inherit; }
.cast-day { display: inline-flex; align-items: center; gap: 3px; padding: 2px 3px 2px 9px; border: 1px solid var(--he9efec); border-radius: 999px; background: var(--hf2f7f3); }
.cast-dl { font-size: calc(12px * var(--fs)); color: var(--ink-2); margin-right: 2px; white-space: nowrap; }
.cast-day .cast-btn { padding: 2px 7px; }
.sl-pre .sl-sec { list-style: none; margin: 6px 0 2px -1.2em; font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--ink-2); }
.sl-pre small { color: var(--ink-3, #8a968f); font-size: calc(11px * var(--fs)); }
.cf-colors { flex-wrap: wrap; }
.cf-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cf-badge { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px 7px; border: 1px solid var(--line, var(--hdce5e0)); border-radius: 12px; background: var(--card, #fff); color: var(--ink); font: inherit; }
.cf-badge span { font-size: calc(18px * var(--fs)); line-height: 1.2; }
.cf-badge b { font-size: calc(12px * var(--fs)); }
.cf-badge small { font-size: calc(10px * var(--fs)); color: var(--ink-2); }
.cf-badge.on { border-color: var(--green-d); background: var(--heaf6ee); box-shadow: inset 0 0 0 1px var(--green-d); }
.cf-badge:disabled { opacity: .42; }
.stk-bar { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--hf2f7f3); }
.stk-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: calc(13px * var(--fs)); }
.stk-tools { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; border-top: 1px solid var(--hdce5e0); }
.stk-tools label { display: grid; grid-template-columns: 4em 1fr; align-items: center; font-size: calc(12px * var(--fs)); color: var(--ink-2); }
.stk-tools .chips { flex-wrap: wrap; }
.stk-tools[hidden] { display: none; }
.cf-slots { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.cf-slots.open { padding: 10px 12px 12px; border-radius: 14px; background: var(--hf2f7f3); }
.slot-top { display: flex; align-items: center; gap: 6px; }
.slot-toggle { font-size: calc(13px * var(--fs)); }
.slot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.slot { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; padding: 8px 9px; border: 1px dashed var(--hc9d9ce); border-radius: 10px; background: #fff; color: var(--ink-2); font: inherit; text-align: left; }
.slot b { font-size: calc(11px * var(--fs)); color: var(--ink-2); }
.slot span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(12.5px * var(--fs)); font-weight: 600; }
.slot small { font-size: calc(10.5px * var(--fs)); color: var(--ink-2); }
.slot.full { border-style: solid; color: var(--ink); }
.slot.on { border-color: var(--green-d); box-shadow: inset 0 0 0 1px var(--green-d); }
.slot-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cf-bd > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; cursor: pointer; }
.cf-bd > summary::-webkit-details-marker { display: none; }
.cf-bd > summary .cf-l { min-width: 0; }
.cf-bd-t { flex: none; font-size: calc(12px * var(--fs)); color: var(--accent, var(--green-d)); }
.cf-bd-t::after { content: ' ▾'; }
.cf-bd[open] .cf-bd-t { font-size: 0; }
.cf-bd[open] .cf-bd-t::after { content: '접기 ▴'; font-size: calc(12px * var(--fs)); }
.cf-bd[open] > summary { margin-bottom: 8px; }
.cf-badge { padding: 6px 4px 5px; border-radius: 10px; }
.cf-badge span { font-size: calc(15px * var(--fs)); }
.cf-badge b { font-size: calc(11.5px * var(--fs)); }
.cf-badge small { font-size: calc(9.5px * var(--fs)); line-height: 1.25; }
.map-off-x{display:block;margin:8px auto 0}
.home-edit-btn{display:block;margin:26px auto 0;font-size: calc(13px * var(--fs))}
.home-edit{margin-top:24px;padding:14px;border-radius:20px;border:1px solid var(--tint-2);background:var(--card,#fff)}
.he-row{display:flex;align-items:center;gap:10px;min-height:46px;border-bottom:1px solid var(--he9efec)}
.he-row.off .he-l{color:#9AA8A0}
.he-l{flex:1;font-size: calc(14px * var(--fs))}
.he-mv{width:34px;height:34px;border:0;border-radius:10px;background:var(--heaf6ee);color:var(--green-d);font-size: calc(12px * var(--fs));cursor:pointer}
.he-mv:disabled{opacity:.35;cursor:default}
.he-sw{position:relative;flex:none;width:42px;height:24px}
.he-sw input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.he-sw span{position:absolute;inset:0;border-radius:12px;background:#D5DED9;transition:background .2s;pointer-events:none}
.he-sw span::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .2s}
.he-sw input:checked+span{background:var(--green-d)}
.he-sw input:checked+span::after{transform:translateX(18px)}
.he-done{display:block;margin:14px auto 0}
.home-pins{margin-top:18px}
/* 공식 유튜브 필터 2.0 */
.yf-row { display: flex; gap: 5px; margin: 2px 0 6px; }
.yf-row::-webkit-scrollbar { display: none; }
.yf-btn { flex: 1 1 0; min-width: 0; height: 30px; padding: 0 4px; border-radius: 15px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: calc(12px * var(--fs)); color: inherit; white-space: nowrap; overflow: hidden; }
.yf-btn.on { background: var(--heaf7dc); border-color: var(--h9bd27a); font-weight: 700; color: var(--h1f4d2e); }
.yf-sort { flex: 1.1 1 0; }
.yf-btn b { display: inline-grid; place-items: center; min-width: 16px; height: 16px; border-radius: 8px; background: var(--h4fa86a); color: #fff; font-size: calc(10px * var(--fs)); margin-left: 3px; vertical-align: 1px; }
.yf-pills { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin: 0 0 6px; }
.yf-pill { display: inline-flex; gap: 4px; align-items: center; height: 26px; padding: 0 9px; border-radius: 13px; background: var(--hf2f7f3); color: var(--h2b5c3a); font-size: calc(12px * var(--fs)); text-decoration: none; }
.yf-pill span { opacity: .6; font-size: calc(11px * var(--fs)); }
.yf-clear { font-size: calc(12px * var(--fs)); color: #8A9A90; }
.yf-wrap { position: fixed; inset: 0; z-index: 30; }
.yf-wrap[hidden] { display: none; }
.yf-back { position: absolute; inset: 0; background: rgba(20, 40, 30, .3); animation: fade .2s ease-out; }
.yf-sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 75vh; overflow-y: auto; background: #fff; border-radius: 18px 18px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; animation: yfUp .22s ease-out; }
@keyframes yfUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.yf-head { display: flex; align-items: baseline; gap: 8px; }
.yf-head b { font-size: calc(16px * var(--fs)); }
.yf-head .yf-none { margin-left: auto; font-size: calc(13px * var(--fs)); }
.yf-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.yf-opts .chip small { opacity: .55; font-size: calc(11px * var(--fs)); margin-left: 2px; }
.yf-range { display: flex; align-items: center; gap: 6px; font-size: calc(13px * var(--fs)); flex-wrap: wrap; }
.yf-range .bpill { height: 30px; font-size: calc(12.5px * var(--fs)); padding: 0 12px; }
.yf-range select { height: 30px; border-radius: 8px; border: 1px solid var(--line); padding: 0 6px; font: inherit; }
.yf-ok { align-self: stretch; height: 42px; font-size: calc(15px * var(--fs)); }
.op-secret { display: flex; align-items: center; gap: 6px; font-size: calc(13px * var(--fs)); }
.op-secret small { color: #8A9A90; }
.op-secret input { width: 16px; height: 16px; accent-color: var(--h4fa86a); }
/* 공연장 위치 모으기 안내 */
.drive { position: relative; margin: 6px 0 14px; padding: 10px 14px; border-radius: 16px; background: linear-gradient(135deg, #FFF4E6, #FFE9D6); border: 1px solid #F5C9A0; box-shadow: 0 2px 8px rgba(240,123,42,.10); display: flex; flex-direction: column; gap: 8px; }
.drive-t { font-size: calc(14px * var(--fs)); }
.drive-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; border: 0; background: none; padding: 2px 0; font: inherit; color: inherit; text-align: left; }
.drive-tog { flex: none; font-size: calc(12px * var(--fs)); font-weight: 700; color: #C2571A; background: #fff; border-radius: 999px; padding: 3px 9px; border: 1px solid #F5C9A0; }
.drive-t { color: #8A3D0E; }
.drive-how summary { color: #A04A14 !important; }
.drive-n { color: #8C6A55 !important; }
.drive-in { display: flex; flex-direction: column; gap: 8px; }
.drive-in[hidden] { display: none; }
.drive-s { margin: 0; font-size: calc(13px * var(--fs)); line-height: 1.55; }
.drive-n { margin: 0; font-size: calc(12px * var(--fs)); color: #6B7F73; line-height: 1.5; }
.drive-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; background: none; color: #6B7F73; font-size: calc(15px * var(--fs)); }
.drive-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.drive-body { display: flex; flex-direction: column; gap: 8px; }
.drive-body[hidden] { display: none; }
.drive-body input[type=text], .drive-body textarea { font: inherit; font-size: calc(16px * var(--fs)); padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; width: 100%; box-sizing: border-box; }
.drive-how summary { font-size: calc(12.5px * var(--fs)); color: var(--h2b5c3a); cursor: pointer; }
.drive-how p { margin: 6px 0 0; font-size: calc(12px * var(--fs)); line-height: 1.6; color: #4A5E52; }
.drive-miss { align-self: flex-start; font-size: calc(12.5px * var(--fs)); }
.drive-list { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 6px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.drive-list[hidden] { display: none; }
.drive-pick { text-align: left; border: 0; background: none; padding: 6px 4px; font: inherit; font-size: calc(13px * var(--fs)); color: inherit; border-bottom: 1px solid var(--tint-1); }
.drive-pick span { color: #6B7F73; margin-right: 6px; font-size: calc(12px * var(--fs)); }
.drive-pick small { display: block; color: #8A9A90; font-size: calc(11.5px * var(--fs)); }
.drive-mini { display: block; width: 100%; margin: 6px 0 12px; padding: 9px 12px; border-radius: 12px; border: 1px dashed var(--ha9d3b4); background: var(--hf2f7f3); font: inherit; font-size: calc(13px * var(--fs)); color: var(--h2b5c3a); text-align: left; }
.drive-hits { max-height: 240px; }
.map-add { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: #FFF6EC; border: 1px solid #F5C9A0; }
.map-add[hidden] { display: none; }
.map-add-t { margin: 0; font-size: calc(13px * var(--fs)); color: #8A3D0E; font-weight: 700; }
.ma-f { display: flex; flex-direction: column; gap: 3px; font-size: calc(12px * var(--fs)); color: #8A3D0E; font-weight: 700; }
.ma-f small { font-weight: 400; color: #8C6A55; }
.ma-list { display: flex; flex-direction: column; gap: 6px; }
.ma-list:empty { display: none; }
.ma-cnt { font-size: calc(12.5px * var(--fs)); color: #8A3D0E; margin-top: 4px; }
.ma-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid #F5C9A0; font-size: calc(13px * var(--fs)); }
.ma-item span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ma-item small { display: block; color: #6B7F73; font-size: calc(12px * var(--fs)); }
.ma-x { flex: none; width: 28px; height: 28px; border: 0; background: none; color: #A04A14; font-size: calc(14px * var(--fs)); }
.ma-add { align-self: stretch; }
.drive-sent { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 6px; background: var(--heef7e6); color: var(--h2e7d4f); font-style: normal; font-size: calc(11px * var(--fs)); font-weight: 700; }
.drive-pick.sent { background: var(--hfafdf8); }
.drive-has { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 6px; background: #EAF1FB; color: var(--h2f5e9e); font-style: normal; font-size: calc(11px * var(--fs)); font-weight: 700; }

.ma-hint { margin: -4px 0 0; font-size: calc(12px * var(--fs)); color: #9A8576; }
.map-off-h{font-size: calc(13px * var(--fs));font-weight:700;margin:14px 0 4px;color:var(--ink)}
.map-off-row{display:flex;align-items:center;gap:8px}
.map-off-row .box-ev{flex:1;min-width:0}
.map-off-pl{flex:none;font-size: calc(12px * var(--fs));padding:4px 9px;white-space:nowrap}
.map-off-n{font-size: calc(12px * var(--fs));color:var(--muted);margin:0 0 4px}
.map-off>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:4px;padding:4px 2px;color:var(--muted);font-size: calc(12px * var(--fs));font-weight:500;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line)}
.map-off>summary::-webkit-details-marker{display:none}
.map-off>summary::after{content:'▾';text-decoration:none}.map-off[open]>summary::after{content:'▴'}
.map-off>summary::after{content:'펼치기 ▾';margin-left:auto;font-size: calc(12px * var(--fs));font-weight:400;color:var(--green)}
.map-off[open]>summary::after{content:'접기 ▴'}
.map-off-how{margin:12px 0 4px;padding:10px 12px;border-radius:10px;background:var(--soft);font-size: calc(12.5px * var(--fs));color:var(--ink)}
.map-off-how p{margin:0 0 6px}
.sendq-btn{position:fixed;top:calc(52px + env(safe-area-inset-top,0px));right:16px;z-index:30;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 13px;border-radius:17px;border:0;background:var(--green);color:#fff;font-size: calc(13px * var(--fs));font-weight:700;box-shadow:0 4px 14px rgba(20,60,40,.25);cursor:pointer}
.sendq-btn[hidden],.sendq-panel[hidden]{display:none}
.sendq-btn b{background:#fff;color:var(--green);border-radius:9px;padding:0 6px;font-size: calc(12px * var(--fs))}
.sendq-panel{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.35);display:flex;align-items:flex-start;justify-content:center;padding:calc(60px + env(safe-area-inset-top,0px)) 16px 16px}
.sendq-box{width:100%;max-width:460px;max-height:75vh;overflow:auto;background:#fff;border-radius:16px;padding:14px 16px;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.sendq-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.sendq-list{list-style:none;margin:0 0 12px;padding:0}
.sendq-list li{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line);font-size: calc(13px * var(--fs))}
.map-off-act{display:flex;flex-direction:column;gap:4px;flex:none}
.map-off-pv{font-size: calc(12px * var(--fs));padding:4px 9px;white-space:nowrap}
.map-off-pv.on{background:var(--soft);border-color:var(--green);color:var(--green)}
.pl-priv{display:block;margin:10px 0 0;font-size: calc(12.5px * var(--fs))}
.edit-box .edit-tabs{margin:10px 0 4px;flex-wrap:wrap}
.edit-box .edit-pane{display:none}
.edit-box .edit-pane.on{display:block}
.edit-box .edit-pane>details>summary{display:none}
.edit-box .edit-pane>details{border:0;padding:0;margin:0;background:none}
.edit-box .edit-del{font-size: calc(12px * var(--fs));color:var(--muted);border-color:transparent;background:none}
.edit-box .edit-del.on{color:var(--ink);border-color:var(--line)}
.pl-kind { display: flex; gap: 6px; margin-bottom: 8px; }
.pl-kind .chip { flex: 1; justify-content: center; }
.pl-privbox[hidden] { display: none; }
.report + .report { margin-top: 10px; }
.report.rep-ok { background: var(--heaf6ee); border-color: var(--ha8d88a); border-style: solid; }
.report.rep-ok .report-badge { background: var(--hd8f0c8); color: var(--h2f6b1e); }
.song-y { appearance: none; -webkit-appearance: none; font: inherit; padding-right: 22px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 8px) 55%; background-size: 4px 4px; background-repeat: no-repeat; }
.song-memo { margin: 10px 0 0; }
.song-memo summary { font-size: calc(13px * var(--fs)); color: var(--muted); cursor: pointer; padding: 4px 0; }
.song-memo .box-ev small { display: block; font-size: calc(11px * var(--fs)); color: var(--muted); }
.same-song { margin-top: 18px; }
.song-picks { margin-top: 10px; }
.ly-line { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ly-line q { font-size: calc(14px * var(--fs)); line-height: 1.5; quotes: '“' '”'; }
.ly-side { display: flex; gap: 6px; align-items: center; flex: none; }
.ly-side small { font-size: calc(11px * var(--fs)); color: var(--muted); }
.ly-up.on { opacity: .7; }
.ly-sh { display: flex; gap: 6px; align-items: center; font-size: calc(13px * var(--fs)); margin: 6px 0; }
.ly-form { margin-top: 8px; }
.op-form .ly-sh { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 6px; width: auto; }
.op-form .ly-sh input { width: 18px; height: 18px; flex: none; margin: 0; }
.heart-n { font-size: calc(12px * var(--fs)); color: #C2456B; font-weight: 600; align-self: center; margin-right: 4px; white-space: nowrap; }
.box-row .heart-n { margin-left: 6px; }
.heart-nt { background: linear-gradient(135deg, var(--heef7e6), var(--he2f3ec)); border-color: var(--hb9dfc4); box-shadow: none; padding-right: 36px; }
.heart-nt-x { position: absolute; top: 8px; right: 8px; border: 0; background: none; font-size: calc(15px * var(--fs)); color: var(--muted); cursor: pointer; padding: 4px; }
.heart-nt .drive-t { color: var(--green-d); }
.song-row { display: flex; align-items: center; border-bottom: 1px solid var(--tint-1); }
.song-row[hidden] { display: none; }
.song-row .song-item { flex: 1; min-width: 0; border-bottom: 0; padding-right: 0; }
.song-t { display: block; }
.song-name small b { color: var(--green); font-weight: 600; }
.song-marks { font-size: calc(11px * var(--fs)); letter-spacing: -1px; }
.song-acts { display: flex; align-items: center; flex: none; }
.song-hb, .song-more { border: 0; background: none; color: var(--muted); cursor: pointer; width: 34px; min-height: 44px; font-size: calc(18px * var(--fs)); line-height: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; }
.song-hb.on { color: #D0587E; }
.song-hb small { font-size: calc(10px * var(--fs)); margin-top: 2px; color: var(--muted); }
.song-wish { width: 30px; font-size: calc(14px * var(--fs)); line-height: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.song-wish small { font-size: calc(10px * var(--fs)); margin-top: 3px; color: var(--muted); }
.song-more { font-size: calc(16px * var(--fs)); letter-spacing: 1px; }
.song-sort { font: inherit; font-size: calc(13px * var(--fs)); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; background: var(--card, #fff); }
.yf-sheet .song-picks { margin: 6px 0 12px; }
.song-opt { display: flex; align-items: center; gap: 8px; flex: none; }
.song-numl { display: flex; align-items: center; gap: 4px; font-size: calc(12px * var(--fs)); color: var(--muted); white-space: nowrap; }
.song-numl input { margin: 0; width: 15px; height: 15px; }
.lang-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: calc(13px * var(--fs)); }
.lang-tag { font-weight: 600; color: var(--ink); }
.lang-fix summary { font-size: calc(12px * var(--fs)); color: var(--muted); cursor: pointer; }
.lang-fix[open] { flex-basis: 100%; }
.lang-fix .chips { margin-top: 6px; }
.lg-new { margin: 8px 0; }
.ch-t { font-size: calc(14px * var(--fs)); line-height: 1.5; }
.ch-tag { background: #FFF1DC; color: #A35A12; }
.yf-sheet { max-height: 85vh; overflow-y: auto; }
.yf-sheet .sheet-go { margin-top: 12px; }
.song-stat { max-width: 38%; text-align: right; line-height: 1.45; font-size: calc(11px * var(--fs)); }
.song-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-pill { background: rgba(255,255,255,.7); color: var(--ink); font-weight: 500; }
.tab-box { padding: 4px 0; }
.song-fix { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.song-fix .lang-row { margin-top: 0; }
.rp-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 26px; min-height: 0; box-sizing: border-box; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: calc(15px * var(--fs)); font-weight: 700; letter-spacing: 1px; line-height: 1; text-decoration: none; cursor: pointer; }
.ly-line.rp-done { opacity: .45; }
.tmi-box { margin-top: 14px; }
.tmi-src { font-size: calc(11px * var(--fs)); color: var(--muted); margin-left: 4px; white-space: nowrap; }
.tmi-add summary { font-size: calc(13px * var(--fs)); color: var(--green); cursor: pointer; padding: 8px 0; }
.tmi-src-in { width: 100%; font: inherit; font-size: calc(13px * var(--fs)); padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; margin: 6px 0; box-sizing: border-box; }
.song-writes { margin-top: 8px; } .song-write { font-size: calc(13px * var(--fs)); }
.song-showb { font-size: calc(13px * var(--fs)); white-space: nowrap; }
.show-opts { display: flex; flex-direction: column; gap: 10px; }
.show-opt { display: flex; align-items: center; gap: 8px; font-size: calc(14px * var(--fs)); }
.show-opt input { width: 18px; height: 18px; margin: 0; }
.box-tabs { display: flex; gap: 4px; margin: 14px 0 0; padding: 4px; border-radius: 14px; background: var(--soft); }
.box-tab { flex: 1 1 0; text-align: center; padding: 9px 4px; border-radius: 10px; font-size: calc(14px * var(--fs)); color: var(--muted); text-decoration: none; white-space: nowrap; }
.box-tab.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.box-subrow { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; }
.box-subs { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.box-subs::-webkit-scrollbar { display: none; }
.box-sub { flex: none; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: calc(13px * var(--fs)); color: var(--muted); text-decoration: none; white-space: nowrap; }
.box-sub small { font-size: calc(11px * var(--fs)); margin-left: 1px; opacity: .8; }
.box-sub.on { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.box-year { flex: none; padding: 5px 8px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: calc(13px * var(--fs)); color: var(--ink); }
.box-list { margin-top: 6px; }
.box-line { margin-top: 6px; font-size: calc(13px * var(--fs)); }
.box-sync-on { display: block; margin-top: 20px; padding: 10px 14px; font-size: calc(12px * var(--fs)); }
.box-sync-on summary { cursor: pointer; list-style: none; color: var(--muted); }
.box-sync-on summary::-webkit-details-marker { display: none; }
.box-sync-on > span, .box-sync-on > button { display: block; margin-top: 6px; }
.wish-n { margin: 4px 0 0; font-size: calc(13px * var(--fs)); color: var(--muted); }
.wish-row { align-items: center; }
.wish-row .wish-rank { width: 18px; font-weight: 700; color: var(--ink); text-align: center; }
.wish-row b { flex: 1; min-width: 0; }
.wish-row small { flex: none; font-size: calc(12px * var(--fs)); color: var(--muted); }
.tmi-jumps { margin: 8px 0 0; }
/* 곡 화면 위 칩: 3칸 같은 너비로 정리 */
.song-hero .song-picks, .song-hero .song-writes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.song-hero .song-writes { margin-top: 6px; }
.song-hero .song-pick, .song-hero .song-write { height: 38px; padding: 0 4px; justify-content: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.72); font-size: calc(13px * var(--fs)); color: var(--h33443c); white-space: nowrap; box-shadow: 0 1px 2px rgba(15,42,34,.05); }
.song-hero .song-write { height: 34px; font-size: calc(12px * var(--fs)); background: rgba(255,255,255,.45); border-color: rgba(255,255,255,.6); color: #4A5C53; }
.song-hero .song-pick.on { background: #fff; border-color: var(--g2); color: var(--h0f2a22); font-weight: 700; }
.song-hero .find-row { margin-top: 10px; }
.box-songlist { margin-top: 4px; }
.box-songlist .song-item { padding-right: 0; }
.fd-tools { display: flex; gap: 14px; justify-content: flex-end; margin: 4px 0 2px; font-size: calc(12px * var(--fs)); }
.fd-new { display: flex; gap: 6px; margin: 12px 0 8px; }
.fd-new .fd-in { flex: 1; min-width: 0; }
.share-round.fd-btn { font-size: calc(18px * var(--fs)); }
.share-round.fd-btn.on { box-shadow: 0 0 0 2px var(--g2) inset; }
.fd-opts .chip small { margin-left: 3px; opacity: .7; }
.song-fix-go { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 6px; padding: 8px; border: 1px dashed rgba(51,68,60,.25); border-radius: 12px; background: transparent; font-size: calc(12px * var(--fs)); color: #4A5C53; }
.song-fix-go small { color: var(--muted); font-size: calc(11px * var(--fs)); }
.lyc-btn { font-size: calc(15px * var(--fs)); padding: 0 4px; }
.lyc-sheet { max-height: 92vh; overflow-y: auto; }
.lyc-cv { display: block; width: min(100%, 360px); aspect-ratio: 1; height: auto; margin: 6px auto 8px; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.lyc-opts { flex-wrap: wrap; margin-bottom: 6px; }
.lyc-acts { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.note-card .x-text { display: flex; flex-direction: column; -webkit-line-clamp: unset; }
.note-card .x-date { font-size: calc(12px * var(--fs)); color: var(--muted); margin-bottom: 2px; }
.note-card .x-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lyc-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 2px 0 8px; font-size: calc(13px * var(--fs)); }
.lyc-extra[hidden] { display: none; }
.lyc-extra input[type=color] { width: 40px; height: 32px; border: none; background: none; vertical-align: middle; padding: 0; }
.lyc-sw { display: flex; gap: 6px; flex-wrap: wrap; }
.lyc-dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.lyc-dim input { vertical-align: middle; width: 120px; }
.lyc-photo .src-note { width: 100%; margin: 0; }
.lyc-opts { overflow: visible; height: auto; }
.story-tabs .box-tab { font-size: calc(13px * var(--fs)); }
.story-sort { font-size: calc(12px * var(--fs)); color: var(--muted); }
.story-sort a { color: var(--muted); text-decoration: none; }
.story-sort a.on { color: var(--ink); font-weight: 700; }
.story-src { display: block; font-size: calc(11px * var(--fs)); color: var(--muted); margin-top: 3px; }
.story-card .news-cnt { font-size: calc(10px * var(--fs)); }
.story-row { position: relative; }
.story-row .story-card { padding-bottom: 40px; }
.story-acts { position: absolute; right: 14px; bottom: 10px; display: flex; gap: 8px; align-items: center; }
.story-acts .bpill { height: 26px; font-size: calc(12px * var(--fs)); padding: 0 10px; }
.story-acts .st-tr { font-size: calc(12px * var(--fs)); color: var(--muted, #6b7a70); background: none; border: 0; padding: 0 2px; cursor: pointer; }
.story-row.rp-done { opacity: .5; }
.nw-badge { display: inline-block; position: static; padding: 1px 6px; margin-right: 4px; border-radius: 6px; background: #FF6B4A; color: #fff; font-size: calc(10px * var(--fs)); font-weight: 800; letter-spacing: .3px; vertical-align: 1px; }
.news-cnt { display: inline-block; padding: 1px 7px; border-radius: 6px; background: #FF6B4A; color: #fff !important; font-size: calc(11px * var(--fs)); font-weight: 800; }
.story-mini { flex-direction: column; gap: 3px; align-items: flex-start; }
.story-mini b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-badge { font-style: normal; }
.best-badge { background: linear-gradient(120deg, #F5B81B, #F08A24); }
.story-tabs .box-tab { font-size: calc(12px * var(--fs)); padding: 9px 2px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 18px 0 8px; flex-wrap: wrap; }
.pager a, .pager b { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: calc(14px * var(--fs)); text-decoration: none; color: var(--ink); }
.pager a { border: 1px solid var(--line); background: #fff; }
.pager b { background: var(--h1f5e46); color: #fff; }
.pager span { color: var(--muted); padding: 0 2px; }
.n-dot { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #E5484D; color: #fff; font-size: calc(10px * var(--fs)); font-weight: 800; font-style: normal; vertical-align: 1px; margin-right: 2px; }
.tre-box { margin: 2px 0 8px 14px; font-size: calc(13px * var(--fs)); }
.tre-box > summary { cursor: pointer; color: var(--muted); font-size: calc(12px * var(--fs)); list-style: none; padding: 2px 0; }
.tre-box > summary::-webkit-details-marker { display: none; }
.tre-line { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.tre-line .ch-t { font-size: calc(13px * var(--fs)); }
.tre-sub { margin-left: 18px; }
.tre-form { display: flex; gap: 6px; margin: 6px 0 2px; }
.tre-form .tre-in { flex: 1; min-width: 0; height: 34px; padding: 0 10px; font-size: calc(13px * var(--fs)); }
.tre-form .bpill { height: 34px; }
.st-re { font-size: calc(12px * var(--fs)); color: var(--muted); text-decoration: none; }

.a-run { display: block; line-height: 1.6; }
.a-run-go { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--accent, var(--h2e7d4f)); }

/* 화면 꾸미기: 테마 색(html data-theme) · 글씨 크기(html data-fs) */
html[data-fs="s"] { --fs: .92; }
html[data-fs="l"] { --fs: 1.12; }
html[data-theme="night"] { --ink-2: #454759; --muted: #5B6B63; --green: #1F2286; --green-2: #2129B3; --line: #E3E5ED; --soft: #F3F4F8; --tag-ink: #3D1693; --tag-bg: #E6DDFB; --g1: #6BCAEC; --g2: #626ED3; --g3: #9D72F3; --green-d: #223086; --green-dd: #232D6A; --tint-1: #EEEFF3; --tint-2: #DDDFE8; --h5baf2e: #317CB9; --h1fa87a: #2129B3; --h2c86cf: #6932D4; --ha9d9c1: #A9AFD9; --hcfefe0: #CFD3EF; --hd6ebfb: #E2D6FB; --h33443c: #3A3C4D; --h0f2a22: #0F102A; --hfafdf8: #F3F8FC; --hcfe0d6: #CFD2E0; --h4a6357: #50536B; --h3f6b10: #125479; --he3f5c9: #C9E7F5; --hf6fcea: #EAF7FC; --heef6fe: #F4EEFE; --hdcefe4: #DCDFEF; --hddebf5: #E5DDF5; --h8dbfa3: #8D95BF; --heef7e6: #E6F1F7; --h2f5b12: #154669; --hd7edc2: #C2DDED; --heaf6ee: #EAEDF6; --h24513a: #29305C; --h3d5247: #44475B; --he6f0fb: #EEE6FB; --h2c5a8a: #552F94; --he9efec: #E9EAEF; --he3f4d3: #D3E8F4; --hd9eef2: #DED9F2; --h2c3e35: #333648; --h9db8a9: #9DA1B8; --h9cc7af: #9CA3C7; --hdce5e0: #DCDDE5; --h1f3a2c: #1F233A; --h16241c: #161824; --h2e8b57: #314295; --hc8e3b4: #B4D0E3; --h1f7a54: #222B86; --hf2f7f3: #F2F3F7; --hc9d9ce: #C9CDD9; --heaf7dc: #DCEDF7; --h9bd27a: #7AACD2; --h1f4d2e: #243059; --h4fa86a: #5469AE; --h2b5c3a: #303D67; --ha9d3b4: #A9B4D3; --h2e7d4f: #324187; --h2f5e9e: #6232A8; --ha8d88a: #8AB7D8; --hd8f0c8: #C8DFF0; --h2f6b1e: #214C77; --he2f3ec: #E2E4F3; --hb9dfc4: #B9C2DF; --h1f5e46: #23286A; --grad-soft: linear-gradient(135deg, #D6F0FA 0%, #DDE0F5 50%, #E8DDFC 100%); }
html[data-theme="sakura"] { --ink-2: #735962; --muted: #5B6B63; --green: #AB274A; --green-2: #D42758; --line: #EDE3E7; --soft: #F8F3F6; --tag-ink: #BA281C; --tag-bg: #FBE0DD; --g1: #EC6BE8; --g2: #D36288; --g3: #F37E72; --green-d: #AA2B5A; --green-dd: #8F2F52; --tint-1: #F3EEF1; --tint-2: #E8DDE2; --h5baf2e: #CD41B0; --h1fa87a: #D42758; --h2c86cf: #D95C4D; --ha9d9c1: #D9A9BB; --hcfefe0: #EFCFDA; --hd6ebfb: #FBDAD6; --h33443c: #6A4F58; --h0f2a22: #2A0F16; --hfafdf8: #FCF3FA; --hcfe0d6: #E0CFD6; --h4a6357: #83626E; --h3f6b10: #A41892; --he3f5c9: #F5C9F1; --hf6fcea: #FCEAFB; --heef6fe: #FEF0EE; --hdcefe4: #EFDCE4; --hddebf5: #F5DFDD; --h8dbfa3: #BF8DA1; --heef7e6: #F7E6F4; --h2f5b12: #931D7D; --hd7edc2: #EDC2E7; --heaf6ee: #F6EAEF; --h24513a: #7F3853; --h3d5247: #755763; --he6f0fb: #FBE9E6; --h2c5a8a: #B44A39; --he9efec: #EFE9EB; --he3f4d3: #F4D3EF; --hd9eef2: #F2D9DA; --h2c3e35: #664853; --h9db8a9: #B89DA8; --h9cc7af: #C79CAD; --hdce5e0: #E5DCE0; --h1f3a2c: #3A1F29; --h16241c: #24161C; --h2e8b57: #B43C6B; --hc8e3b4: #E3B4DB; --h1f7a54: #AA2B54; --hf2f7f3: #F7F2F5; --hc9d9ce: #D9C9D0; --heaf7dc: #F7DCF4; --h9bd27a: #D27AC1; --h1f4d2e: #7D3254; --h4fa86a: #B96A8F; --h2b5c3a: #873F60; --ha9d3b4: #D3A9BD; --h2e7d4f: #A73D68; --h2f5e9e: #C5533B; --ha8d88a: #D88AC9; --hd8f0c8: #F0C8E9; --h2f6b1e: #9C2C7D; --he2f3ec: #F3E2E7; --hb9dfc4: #DFB9CB; --h1f5e46: #8F2F4C; --grad-soft: linear-gradient(135deg, #FAD6F8 0%, #F5DDE5 50%, #FCE0DD 100%); }
html[data-theme="sea"] { --ink-2: #424F56; --muted: #5B6B63; --green: #1E5782; --green-2: #2074AF; --line: #E3EAED; --soft: #F3F7F8; --tag-ink: #15308F; --tag-bg: #DDE4FB; --g1: #6BECC9; --g2: #62AAD3; --g3: #728CF3; --green-d: #216282; --green-dd: #225066; --tint-1: #EEF2F3; --tint-2: #DDE5E8; --h5baf2e: #30B5A9; --h1fa87a: #2074AF; --h2c86cf: #2F4FD3; --ha9d9c1: #A9C9D9; --hcfefe0: #CFE4EF; --hd6ebfb: #D6DDFB; --h33443c: #38444A; --h0f2a22: #0F1E2A; --hfafdf8: #F3FCFB; --hcfe0d6: #CFDBE0; --h4a6357: #4E5F68; --h3f6b10: #117463; --he3f5c9: #C9F5EC; --hf6fcea: #EAFCF8; --heef6fe: #EEF1FE; --hdcefe4: #DCE9EF; --hddebf5: #DDE2F5; --h8dbfa3: #8DB0BF; --heef7e6: #E6F7F4; --h2f5b12: #14645B; --hd7edc2: #C2EDE6; --heaf6ee: #EAF3F6; --h24513a: #274859; --h3d5247: #415158; --he6f0fb: #E6E9FB; --h2c5a8a: #2E3E91; --he9efec: #E9EDEF; --he3f4d3: #D3F4EF; --hd9eef2: #D9E1F2; --h2c3e35: #313E45; --h9db8a9: #9DB0B8; --h9cc7af: #9CBAC7; --hdce5e0: #DCE2E5; --h1f3a2c: #1F313A; --h16241c: #162024; --h2e8b57: #307492; --hc8e3b4: #B4E3DD; --h1f7a54: #215E82; --hf2f7f3: #F2F6F7; --hc9d9ce: #C9D5D9; --heaf7dc: #DCF7F2; --h9bd27a: #7AD2C9; --h1f4d2e: #224955; --h4fa86a: #5197AD; --h2b5c3a: #2E5763; --ha9d3b4: #A9CAD3; --h2e7d4f: #316C84; --h2f5e9e: #3140A5; --ha8d88a: #8AD8D0; --hd8f0c8: #C8F0EB; --h2f6b1e: #207371; --he2f3ec: #E2EDF3; --hb9dfc4: #B9D6DF; --h1f5e46: #224B66; --grad-soft: linear-gradient(135deg, #D6FAF1 0%, #DDECF5 50%, #DDE3FC 100%); }
html[data-theme="sunset"] { --ink-2: #6D5C54; --muted: #5B6B63; --green: #A35425; --green-2: #CD6026; --line: #EDE5E3; --soft: #F8F4F3; --tag-ink: #B1861A; --tag-bg: #FBF3DD; --g1: #EC6B96; --g2: #D38362; --g3: #F3D072; --green-d: #A24929; --green-dd: #87442C; --tint-1: #F3EFEE; --tint-2: #E8DFDD; --h5baf2e: #CB3A51; --h1fa87a: #CD6026; --h2c86cf: #D8B247; --ha9d9c1: #D9B6A9; --hcfefe0: #EFD8CF; --hd6ebfb: #FBF1D6; --h33443c: #63514A; --h0f2a22: #2A190F; --hfafdf8: #FCF3F5; --hcfe0d6: #E0D3CF; --h4a6357: #7E675E; --h3f6b10: #9A1737; --he3f5c9: #F5C9D5; --hf6fcea: #FCEAF0; --heef6fe: #FEFAEE; --hdcefe4: #EFE0DC; --hddebf5: #F5EEDD; --h8dbfa3: #BF998D; --heef7e6: #F7E6EA; --h2f5b12: #8A1B2F; --hd7edc2: #EDC2CC; --heaf6ee: #F6ECEA; --h24513a: #774635; --h3d5247: #6F5A53; --he6f0fb: #FBF6E6; --h2c5a8a: #AD9237; --he9efec: #EFEBE9; --he3f4d3: #F4D3DA; --hd9eef2: #F2E8D9; --h2c3e35: #5F4B43; --h9db8a9: #B8A39D; --h9cc7af: #C7A69C; --hdce5e0: #E5DEDC; --h1f3a2c: #3A261F; --h16241c: #241916; --h2e8b57: #AD5539; --hc8e3b4: #E3B4BD; --h1f7a54: #A24E29; --hf2f7f3: #F7F3F2; --hc9d9ce: #D9CCC9; --heaf7dc: #F7DCE3; --h9bd27a: #D27A89; --h1f4d2e: #753C2F; --h4fa86a: #B77365; --h2b5c3a: #80473C; --ha9d3b4: #D3AFA9; --h2e7d4f: #A0523B; --h2f5e9e: #BFA539; --ha8d88a: #D88A98; --hd8f0c8: #F0C8CF; --h2f6b1e: #942933; --he2f3ec: #F3E7E2; --hb9dfc4: #DFBFB9; --h1f5e46: #874A2C; --grad-soft: linear-gradient(135deg, #FAD6E1 0%, #F5E4DD 50%, #FCF4DD 100%); }
html[data-theme="lavender"] { --ink-2: #5A4E64; --muted: #5B6B63; --green: #6C2397; --green-2: #8524C2; --line: #E8E3ED; --soft: #F5F3F8; --tag-ink: #A119A4; --tag-bg: #FBDDFB; --g1: #6B74EC; --g2: #A262D3; --g3: #F372F3; --green-d: #612696; --green-dd: #54287A; --tint-1: #F0EEF3; --tint-2: #E2DDE8; --h5baf2e: #4434C5; --h1fa87a: #8524C2; --h2c86cf: #D63ED5; --ha9d9c1: #C3A9D9; --hcfefe0: #E1CFEF; --hd6ebfb: #FBD6FB; --h33443c: #50435A; --h0f2a22: #200F2A; --hfafdf8: #F4F3FC; --hcfe0d6: #D7CFE0; --h4a6357: #685876; --h3f6b10: #18158C; --he3f5c9: #C9CAF5; --hf6fcea: #EAEBFC; --heef6fe: #FEEEFD; --hdcefe4: #E5DCEF; --hddebf5: #F5DDF5; --h8dbfa3: #A68DBF; --heef7e6: #E7E6F7; --h2f5b12: #21187C; --hd7edc2: #C4C2ED; --heaf6ee: #EFEAF6; --h24513a: #4F306C; --h3d5247: #5A4C67; --he6f0fb: #FBE6FA; --h2c5a8a: #A2349E; --he9efec: #ECE9EF; --he3f4d3: #D4D3F4; --hd9eef2: #EFD9F2; --h2c3e35: #4A3C55; --h9db8a9: #AB9DB8; --h9cc7af: #B29CC7; --hdce5e0: #E1DCE5; --h1f3a2c: #2D1F3A; --h16241c: #1D1624; --h2e8b57: #6D36A3; --hc8e3b4: #B7B4E3; --h1f7a54: #662696; --hf2f7f3: #F4F2F7; --hc9d9ce: #D0C9D9; --heaf7dc: #DDDCF7; --h9bd27a: #827AD2; --h1f4d2e: #462A69; --h4fa86a: #835EB3; --h2b5c3a: #523775; --ha9d3b4: #BAA9D3; --h2e7d4f: #653795; --h2f5e9e: #B536AC; --ha8d88a: #918AD8; --hd8f0c8: #CBC8F0; --h2f6b1e: #372688; --he2f3ec: #ECE2F3; --hb9dfc4: #C9B9DF; --h1f5e46: #59287A; --grad-soft: linear-gradient(135deg, #D6D8FA 0%, #EADDF5 50%, #FCDDFC 100%); }
.deco-sheet .lang-box { gap: 10px; }
.deco-colors { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 8px; }
.deco-c { width: 48px; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.deco-c i { width: 38px; height: 38px; border-radius: 50%; display: block; box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; }
.deco-c.on i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.deco-fs { display: flex; gap: 8px; justify-content: center; margin-bottom: 6px; }
.deco-fs button { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 0; font: inherit; color: var(--ink); cursor: pointer; }
.deco-fs button.on { border-color: var(--green); color: var(--green); font-weight: 700; }

.rp-sheet .lang-opt small { display: block; margin-top: 3px; font-size: calc(12px * var(--fs)); font-weight: 400; color: var(--muted); }
.rp-why { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font: inherit; resize: vertical; }
/* ⏳ 기다리는 일정 */
.tk { position: relative; display: flex; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 2px 10px rgba(20,60,40,.06); }
.tk-stub { flex: none; width: 86px; display: grid; place-content: center; justify-items: center; gap: 2px; padding: 14px 4px; background: var(--grad); border-radius: 17px 0 0 17px; color: var(--h0f2a22); text-decoration: none; border-right: 2px dashed rgba(255,255,255,.9); position: relative; }
.tk-stub b { font-size: calc(22px * var(--fs)); font-weight: 800; letter-spacing: -.5px; }
.tk-stub small { font-size: calc(11.5px * var(--fs)); font-weight: 600; opacity: .8; }
.tk-body { flex: 1; min-width: 0; padding: 13px 14px 12px 18px; display: flex; flex-direction: column; gap: 4px; }
.tk-title { color: var(--ink); font-weight: 700; font-size: calc(15px * var(--fs)); line-height: 1.35; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-right: 30px; }
.wait-home .tk-title { padding-right: 0; }
.tk-meta { color: var(--muted); font-size: calc(12px * var(--fs)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-foot { display: flex; align-items: center; gap: 12px; margin-top: 6px; color: var(--ink-2); font-size: calc(12px * var(--fs)); font-weight: 600; text-decoration: none; }
.tk-rd { display: inline-flex; align-items: center; gap: 6px; }
.tk-bar { display: inline-block; width: 44px; height: 5px; border-radius: 3px; background: var(--tint-2); overflow: hidden; vertical-align: middle; }
.tk-bar i { display: block; height: 100%; background: var(--green-2); border-radius: 3px; }
.tk-more { margin-left: auto; color: var(--muted); font-size: calc(16px * var(--fs)); }
.wait-home { margin: 6px 0 14px; }
.wait-card { margin: 0 0 12px; }
.tk-line { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 0 0; margin-top: 6px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink-2); font-size: calc(13px * var(--fs)); text-decoration: none; text-align: left; }
.tk-line b { color: var(--green-d); }
.tk-with { color: var(--muted); font-size: calc(12px * var(--fs)); margin-top: 4px; }
.go-mini { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--tint-2); background: #fff; font-size: 16px; padding: 0; display: grid; place-items: center; color: var(--green-d); font-weight: 800; }
.go-mini[aria-pressed="true"] { background: var(--green-d); border-color: transparent; color: #fff; }
.tk .go-mini { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; font-size: 14px; }
.wm-h { margin: 18px 0 4px; font-size: calc(13px * var(--fs)); color: var(--muted); font-weight: 700; }
.wait-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.cal { flex: none; width: 46px; display: grid; justify-items: center; padding: 4px 0; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); line-height: 1.15; }
.cal small { font-size: calc(10px * var(--fs)); color: var(--muted); }
.cal b { font-size: calc(17px * var(--fs)); color: var(--ink); }
.wr-t { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; font-size: calc(14px * var(--fs)); line-height: 1.35; display: grid; gap: 2px; }
.wr-t small { color: var(--muted); font-size: calc(12px * var(--fs)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.go-btn[aria-pressed="true"] { background: var(--green-d); color: #fff; border-color: transparent; }
.go-with:empty { display: none; }
.sp-l { margin: 12px 0 6px; font-size: calc(13px * var(--fs)); font-weight: 700; color: var(--ink-2); }
.sp-l b { color: var(--green-d); }
.sp-mine { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 2px 12px 10px; }
.sp-empty { margin: 4px 0; color: var(--muted); font-size: calc(13px * var(--fs)); }
.sp-list { list-style: none; margin: 0; padding: 0; display: grid; }
.sp-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: calc(14px * var(--fs)); }
.sp-list li:last-child { border-bottom: 0; }
.sp-n { flex: none; width: 22px; text-align: right; color: var(--muted); font-size: calc(12px * var(--fs)); font-variant-numeric: tabular-nums; }
.sp-nm { flex: 1; min-width: 0; color: var(--ink); }
.sp-x { flex: none; border: 0; background: none; color: var(--muted); font-size: 18px; width: 28px; height: 28px; padding: 0; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-add { height: 30px; padding: 0 11px; border-radius: 15px; border: 1px solid var(--tint-2); background: #fff; color: var(--ink-2); font-size: calc(12.5px * var(--fs)); }
.sp-search { display: flex; align-items: center; gap: 8px; height: 42px; margin: 12px 0 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 21px; background: #fff; }
.sp-search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.sp-q { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: calc(14px * var(--fs)); color: var(--ink); }
.sp-score { display: flex; align-items: center; gap: 16px; margin: 8px 0 12px; }
.sp-ring { --p: 0; flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-content: center; justify-items: center; background: radial-gradient(closest-side, #fff 78%, transparent 80%), conic-gradient(var(--green-2) calc(var(--p) * 1%), var(--tint-2) 0); }
.sp-ring b { font-size: calc(26px * var(--fs)); color: var(--green-d); line-height: 1; }
.sp-ring small { font-size: calc(11px * var(--fs)); color: var(--muted); }
.sp-ring.sm { width: 44px; height: 44px; }
.sp-ring.sm b { font-size: calc(14px * var(--fs)); }
.sp-sum { display: grid; gap: 3px; }
.sp-sum b { font-size: calc(15px * var(--fs)); color: var(--ink); }
.sp-sum small { color: var(--muted); font-size: calc(12px * var(--fs)); }
.sp-avg { margin: 2px 0 8px; }
.sp-avg > summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; font-size: calc(12.5px * var(--fs)); font-weight: 600; color: var(--green-d); padding: 4px 0; }
.sp-avg > summary::-webkit-details-marker { display: none; }
.sp-avg-ar { font-size: 11px; display: inline-block; transition: transform .15s; }
.sp-avg[open] .sp-avg-ar { transform: rotate(180deg); }
.sp-avg-in { margin: 6px 0 0; display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--soft); font-size: calc(13px * var(--fs)); color: var(--ink-2); }
.sp-avg-in b { color: var(--green-d); font-size: calc(14.5px * var(--fs)); }
.sp-avg-in span { color: var(--muted); }
.sp-avg-nt { margin: 0 0 6px; font-size: calc(11.5px * var(--fs)); color: var(--muted); opacity: .85; }
.sp-sum .sp-best { color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.sp-sum .sp-best svg { width: 13px; height: 13px; }
.sp-real li { color: var(--muted); }
.sp-real li .sp-nm { color: var(--muted); }
.sp-real li.hit .sp-nm { color: var(--ink); font-weight: 600; }
.sp-ok { color: var(--green-2); font-weight: 800; }
.sp-sur { margin: 10px 0 6px; padding: 8px 12px; border-radius: 12px; background: var(--soft); font-size: calc(13px * var(--fs)); color: var(--ink-2); }
.rd-box { display: grid; gap: 2px; text-align: left; }
.rd-row { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line); font-size: calc(14px * var(--fs)); }
.rd-row input { width: 20px; height: 20px; accent-color: var(--green-2); }
.rd-row input:checked + span { text-decoration: line-through; color: var(--muted); }
.rd-x { margin-left: auto; border: 0; background: none; color: var(--muted); font-size: 18px; padding: 0 6px; }
.rd-new { display: flex; gap: 6px; margin-top: 8px; }
.rd-in { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: calc(14px * var(--fs)); color: var(--ink); }
.rd-memo { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.rd-memo summary { cursor: pointer; font-size: calc(13.5px * var(--fs)); font-weight: 700; color: var(--green-d); padding: 4px 2px; }
.rd-memo summary small { color: var(--green-2); font-size: 9px; vertical-align: 2px; }
.rd-mt { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #FFFDF5; font: inherit; font-size: calc(14px * var(--fs)); line-height: 1.5; color: var(--ink); resize: vertical; }
.rd-mf { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .rd-mf .rd-keep { margin-top: 6px; }
.rd-moff { font-size: calc(12px * var(--fs)); color: var(--muted); margin-top: 6px; } .rd-mon { margin-top: 10px; font-size: calc(12.5px * var(--fs)); text-align: left; }
.wt-pop { text-align: center; align-items: center; }
.wt-big { font-size: 44px; line-height: 1; margin-top: 4px; }
.wt-t { font-size: calc(17px * var(--fs)); }
.wt-pop .rd-box { align-self: stretch; }
.wt-yes { align-self: stretch; height: 46px; border: 0; background: var(--green-d); color: #fff; font-weight: 700; font-size: calc(15px * var(--fs)); justify-content: center; }
.wt-row { display: flex; gap: 10px; justify-content: center; align-items: center; color: var(--muted); }
.wt-row button { border: 0; background: none; color: var(--muted); font-size: calc(13px * var(--fs)); padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }
.wi { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; margin-right: 4px; }
.tk-line .wi, .tk-foot .wi, .wi-h .wi { color: var(--green-d); }
.go-mini .wi { margin: 0; width: 16px; height: 16px; }
.wt-big .wi { width: 46px; height: 46px; margin: 0; color: var(--green-d); stroke-width: 1.5; }
.sp-sur .wi { color: var(--green-d); }
.wi-h { display: inline-flex; align-items: center; }
.news-bar { display: flex; margin: 4px 0 12px; border-radius: 14px; background: var(--heaf6ee, #eaf6ee); overflow: hidden; }
.news-bar a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; padding: 12px 14px; color: var(--h24513a, #24513a); text-decoration: none; font-size: calc(14px * var(--fs)); white-space: nowrap; }
.news-bar a + a { border-left: 1px solid var(--line); }
.news-bar b { margin-left: 4px; color: var(--green-d); }
.news-bar span { margin-left: auto; color: var(--muted); }
.news-bar .wi { color: var(--green-d); }
.tk-btn { display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 11px; border-radius: 15px; border: 1px solid var(--tint-2); background: var(--soft); color: var(--ink-2); font-size: calc(12px * var(--fs)); font-weight: 600; text-decoration: none; }
.tk-btn b { margin-left: 3px; color: var(--green-d); }
.tk-foot { gap: 6px; flex-wrap: wrap; }
.tk-n { display: inline-flex; align-items: center; color: var(--muted); }
.tk-foot .tk-more { text-decoration: none; padding: 0 2px 0 6px; }
.rd-keep { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: calc(12.5px * var(--fs)); color: var(--muted); } .rd-keep input { accent-color: var(--green-2); }
.wt-demo { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; font-size: calc(12px * var(--fs)); color: var(--muted); }
.go-tg { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: calc(12.5px * var(--fs)); color: var(--ink-2); }
.go-tg b { color: var(--green-d); }
.go-av { display: inline-flex; }
.go-av i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px; background: var(--g1); }
.go-av i:first-child { margin-left: 0; }
.go-av i:nth-child(2) { background: var(--g2); }
.go-av i:nth-child(3) { background: var(--g3); }
.wh-mini { display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; padding: 0 14px 0 6px; border: 1px solid var(--line); border-radius: 23px; background: #fff; box-shadow: 0 2px 10px rgba(20,60,40,.06); color: var(--ink); font-size: calc(14px * var(--fs)); text-align: left; }
.wh-mini b { flex: none; height: 34px; padding: 0 12px; border-radius: 17px; background: var(--grad); color: var(--h0f2a22); display: grid; place-items: center; font-size: calc(14px * var(--fs)); font-weight: 800; }
.wh-n { flex: none; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--green-d); }
.wh-n .go-av i { width: 16px; height: 16px; margin-left: -6px; }
.wh-n .go-av i:first-child { margin-left: 0; }
.wh-mini > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.wh-tg svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wait-home.open { position: relative; }
.wh-fold { position: absolute; z-index: 1; right: 8px; top: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--soft); display: grid; place-items: center; padding: 0; }
.wait-home.open .tk-title { padding-right: 34px; }
.wait-home.anim.open .tk { animation: whOpen .28s cubic-bezier(.2,.8,.3,1); transform-origin: top center; }
.wait-home.anim .wh-mini { animation: whFold .22s ease-out; }
@keyframes whOpen { from { opacity: 0; transform: translateY(-6px) scaleY(.6); clip-path: inset(0 0 60% 0 round 18px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 18px); } }
@keyframes whFold { from { opacity: .4; transform: scaleY(1.4); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wait-home.anim .tk, .wait-home.anim .wh-mini { animation: none; } }
.wh-x { position: absolute; z-index: 1; right: 8px; top: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 18px; padding: 0; }
.wt-score { justify-content: center; margin: 4px 0; }
.wt-score .sp-sum { text-align: left; }
a.wt-yes { display: flex; align-items: center; text-decoration: none; }
.sp-sw { margin: 0 0 12px; }
.wh-intro { padding-right: 4px; }
.wh-intro a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wh-intro span { font-weight: 500; font-size: calc(13px * var(--fs)); }
.wh-ix { flex: none; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 18px; padding: 0; }
.wh-recent { padding-right: 4px; margin-bottom: 8px; }
.wait-home.open .wh-recent ~ .wh-fold { top: 62px; }
.wh-recent a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wh-recent b { background: var(--soft); color: var(--muted); }
.wh-recent span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: calc(13.5px * var(--fs)); }
.wh-recent em { flex: none; font-style: normal; font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--green-d); }
.sp-fold > summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.sp-fold > summary::-webkit-details-marker { display: none; }
.sp-fold > summary .h3, .sp-fold > summary .sp-l { flex: 1; min-width: 0; }
.sp-fold > summary .h3 { margin-bottom: 0; }
.sp-chev { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.sp-fold[open] > summary .sp-chev { transform: rotate(180deg); }
.sp-fold:not([open]) > summary .h3 { margin-bottom: 0; }
.sp-fold[open] > summary .h3 { margin-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .sp-chev { transition: none; } }
.sp-cnt { flex: none; padding: 2px 8px; border-radius: 10px; background: var(--tint-2); color: var(--green-d); font-size: calc(12px * var(--fs)); font-weight: 700; }
.sp-pc { flex: none; margin-left: auto; color: var(--ink-2); font-size: calc(12px * var(--fs)); }
.sp-list li .sp-pc + .sp-ok { margin-left: 6px; }
.tk-spn { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--ink-2); font-size: calc(12.5px * var(--fs)); }
.tk-spn .wi { width: 15px; height: 15px; }
.tk-spn2 { margin-left: 6px; color: var(--ink-2); font-size: calc(12px * var(--fs)); font-weight: 500; }
/* 더보기: 네 묶음 + 3칸 아이콘 */
.mg { margin: 18px 0 0; }
.mg-h { margin: 0 0 8px; font-size: calc(13px * var(--fs)); font-weight: 700; color: var(--ink-2); }
.mt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mi.mt { position: relative; flex-direction: column; justify-content: center; gap: 6px; min-height: 82px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.mi.mt .mi-ic { width: 38px; height: 38px; }
.mt-l { font-size: calc(12.5px * var(--fs)); font-weight: 600; line-height: 1.25; word-break: keep-all; }
.mt-b { position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 9px; background: #FF7A45; color: #fff; font-size: calc(10.5px * var(--fs)); font-weight: 800; }
.more-edit .mi.mt .mi-pin { position: absolute; top: 2px; left: 4px; font-size: calc(17px * var(--fs)); padding: 0; }
.more-edit .mi.mt .mt-b { display: none; }
.more-set { display: flex; flex-wrap: wrap; gap: 6px; }
.mi.mt.mt-s { flex-direction: row; min-height: 0; padding: 7px 12px; border-radius: 18px; gap: 6px; }
.mi.mt.mt-s .mi-ic { width: auto; height: auto; background: none; }
.mi.mt.mt-s .mi-ic svg { width: 16px; height: 16px; }
.more-edit .mi.mt.mt-s .mi-pin { position: static; }
.mt-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mi.mt { min-height: 74px; padding: 8px 2px; gap: 5px; border-radius: 12px; }
.mi.mt .mi-ic { width: 34px; height: 34px; }
.mt-l { font-size: calc(11.5px * var(--fs)); }
.mt-b { top: 3px; right: 3px; font-size: calc(9.5px * var(--fs)); padding: 0 5px; }
.mi.mt.mt-s .mt-l { font-size: calc(13px * var(--fs)); font-weight: 400; }
.tab { position: relative; }
.tab-b { position: absolute; top: 4px; left: 50%; margin-left: 6px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #FF7A45; color: #fff; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; border: 1.5px solid #fff; }

.route-go { display: flex; justify-content: center; height: 44px; align-items: center; margin-top: 8px; }
.map-acts{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}
.map-act{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:var(--card, #fff);color:var(--green-d);font:inherit;font-size: calc(12px * var(--fs));font-weight:700;text-decoration:none;white-space:nowrap}
.map-act svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.pl-nsearch{display:inline-flex;margin:2px 0 8px;font-size: calc(13px * var(--fs))}
.pl-ns{display:flex;gap:6px;flex-wrap:wrap;margin:2px 0 8px}.pl-ns .pl-nsearch{margin:0}
/* 일정 상세: 버튼 한 줄 · 공유·검색은 아래 작은 줄 (v569) */
.ev-acts { flex-wrap: nowrap; gap: 6px; align-items: center; }
.ev-acts .bpill { height: 36px; padding: 0 12px; font-size: calc(13px * var(--fs)); white-space: nowrap; flex: none; }
.ev-acts .go-btn { flex: 0 1 auto; }
.ev-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.ev-tools .share-row, .ev-tools .find-row { display: contents; }
.ev-tools .act, .ev-tools .find-btn { flex: none; height: 32px; padding: 0 10px; border-radius: 16px; font-size: calc(12px * var(--fs)); gap: 5px; background: var(--soft); border: 1px solid var(--line); }
.ev-tools .act svg, .ev-tools .find-btn svg { width: 15px; height: 15px; }
.sheet-body .meta { flex-wrap: wrap; row-gap: 4px; padding-right: 34px; }
.sheet-body .meta > span, .meta .ok-mini summary, .meta .heart-n { white-space: nowrap; }
.ev-tools { flex-wrap: nowrap; align-items: center; overflow-x: auto; scrollbar-width: none; }
.ev-tools .act { padding: 0 9px; }
.ev-tools-sep { flex: none; width: 1px; height: 18px; background: var(--line); margin: 0 2px; }
.sheet-body .tmi-box, .sheet-body .edit-box { margin-top: 10px; }

/* 기념일 */
.anv-fall { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.anv-fall i { position: absolute; top: -30px; display: block; animation: anv-drop linear infinite, anv-sway ease-in-out infinite alternate; }
.anv-fall i svg, .anv-bit svg, .anv-tg svg { width: 100%; height: 100%; display: block; }
.anv-fall .lf, .anv-bit.lf { color: var(--h9bd27a, #7cbf6e); opacity: .55; }
.anv-fall .st, .anv-bit.st { color: #f2c94c; opacity: .6; }
@keyframes anv-drop { from { transform: translateY(0) rotate(0); } to { transform: translateY(110vh) rotate(320deg); } }
@keyframes anv-sway { from { margin-left: -18px; } to { margin-left: 18px; } }
.anv-tg { position: fixed; left: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 41; width: 30px; height: 30px; padding: 6px; border-radius: 50%; border: 1px solid var(--line, #ddd); background: var(--card, #fff); color: var(--green-2, #5aa25a); box-shadow: 0 1px 4px rgba(0,0,0,.12); cursor: pointer; }
.anv-tg.off { color: #aaa; opacity: .7; }
.anv-ban { position: fixed; left: 50%; top: 12px; transform: translate(-50%, -130%); z-index: 60; width: min(92vw, 400px); box-sizing: border-box; padding: 18px 18px 12px; border-radius: 22px; color: #fff; text-align: center; overflow: hidden;
  background: radial-gradient(circle at 18% 12%, rgba(255,226,122,.35) 0 2px, transparent 3px), radial-gradient(circle at 82% 30%, rgba(255,255,255,.4) 0 1.5px, transparent 2.5px), radial-gradient(circle at 66% 8%, rgba(255,226,122,.3) 0 1.5px, transparent 2.5px), radial-gradient(circle at 30% 70%, rgba(255,255,255,.25) 0 1px, transparent 2px), linear-gradient(160deg, var(--green-dd, #1f4d33) 0%, var(--green-d, #2f7046) 55%, var(--green-2, #5a9b5a) 100%);
  box-shadow: 0 12px 32px rgba(20,60,35,.35); transition: transform .5s cubic-bezier(.2,1.3,.4,1); }
.anv-ban.show { transform: translate(-50%, 0); }
.anv-top { display: flex; align-items: center; gap: 14px; text-align: left; }
.anv-num { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 700 30px/1 var(--serif, serif); color: var(--green-dd, #2a5a37); background: linear-gradient(145deg, #fff6cf, #f0d377); box-shadow: 0 0 0 3px rgba(255,255,255,.25), 0 4px 12px rgba(0,0,0,.2); }
.anv-num small { font-size: 12px; margin-left: 1px; align-self: start; margin-top: 18px; }
.anv-num { grid-auto-flow: column; }
.anv-numic { font-size: 30px; }
.anv-tt small { display: block; font-size: 11px; letter-spacing: .06em; opacity: .75; }
.anv-tt b { display: block; font: 700 19px/1.25 var(--serif, serif); margin: 2px 0; }
.anv-tt em { display: block; font-style: normal; font-size: 12px; color: #ffe9a3; }
.anv-cheer { margin: 14px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.anv-cb { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 99px; border: 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--green-dd, #234d31); background: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.anv-cb svg { width: 17px; height: 17px; }
.anv-cb.on { background: rgba(255,255,255,.18); color: #fff; box-shadow: none; cursor: default; }
.anv-cn { font-size: 12px; opacity: .9; }
.anv-cn b { color: #ffe27a; }
.anv-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.15); font-size: 11.5px; opacity: .85; }
.anv-foot a { color: #fff; text-decoration: none; font-weight: 700; }
.dy-hero .anv-cheer { margin: 12px 0 0; }
.dy-hero .anv-cb { background: var(--green, #3f8f4f); color: #fff; }
.dy-hero .anv-cb.on { background: var(--tint-2, #e3efe3); color: var(--green, #3f8f4f); }
.dy-hero .anv-cn { color: var(--muted); }
.dy-hero .anv-cn b { color: var(--green, #3f8f4f); }
.anv-x { position: absolute; right: 8px; top: 8px; border: 0; background: none; color: #fff; opacity: .8; font-size: 14px; cursor: pointer; }
.anv-stk { position: fixed; z-index: 55; width: 46px; height: 54px; padding: 0; border: 0; background: none; cursor: pointer; animation: anv-in .5s cubic-bezier(.2,1.6,.4,1), anv-wig 1.6s ease-in-out .5s infinite; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.anv-stk svg { width: 100%; height: 100%; }
.anv-stk.bye { transition: opacity .5s, transform .5s; opacity: 0; transform: scale(.4); }
@keyframes anv-in { from { transform: scale(0) rotate(-20deg); } to { transform: scale(1); } }
@keyframes anv-wig { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.anv-bit { position: fixed; z-index: 56; width: 14px; height: 14px; margin: -7px; pointer-events: none; animation: anv-burst .9s ease-out forwards; }
@keyframes anv-burst { to { transform: translate(var(--dx), var(--dy)) rotate(200deg); opacity: 0; } }
.anv-got { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 70; transform: translate(-50%, 20px); opacity: 0; transition: .3s; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 99px; background: var(--green-dd, #1f4d33); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); white-space: nowrap; }
.anv-got.show { transform: translate(-50%, 0); opacity: 1; }
.anv-gic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; background: linear-gradient(145deg, #fff6cf, #f0d377); }
.anv-gt b { display: block; font-size: 13px; }
.anv-gt small { display: block; font-size: 11px; color: #ffe27a; }
.anv-got a { font-size: 12px; padding: 6px 12px; border-radius: 99px; background: #fff; color: var(--green-dd, #1f4d33); text-decoration: none; font-weight: 700; }
.anv-got .anv-gt:only-child { padding: 0 8px; }
.anv-more { display: inline-block; margin-top: 4px; font-size: 12px; color: #fff; text-decoration: underline; }
.dy-hero { margin: 4px 0 18px; padding: 20px; border-radius: 18px; background: var(--grad-soft, #eef6ee); text-align: center; }
.dy-hero small { display: block; color: var(--muted); font-size: 13px; }
.dy-hero > b { display: block; font-size: 34px; color: var(--green-d, #245c31); margin: 2px 0; }
.dy-hero > span { font-size: 13px; color: var(--green, #3f8f4f); }
.dy-list { display: flex; flex-direction: column; gap: 2px; }
.dy-row { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.dy-ic { font-size: 20px; width: 28px; text-align: center; }
.dy-t { flex: 1; min-width: 0; }
.dy-t b { display: block; font-size: 14px; }
.dy-t small { color: var(--muted); font-size: 12px; }
.dy-t small a { color: inherit; }
.dy-t small b { display: inline; font-size: inherit; }
.dy-dd, .dy-nx { font-size: 12px; color: var(--muted); white-space: nowrap; }
.dy-today { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--green, #3f8f4f); color: #fff; }
.anv-mem { display: block; margin: 0 auto 10px; width: fit-content; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.45); color: #fff; font-size: 13px; text-decoration: none; }
.dy-a { display: block; color: inherit; text-decoration: none; }
.dy-mem { padding: 14px; border-radius: 18px; background: var(--grad-soft, #eef6ee); }
.dy-mem-s { margin-top: 10px; }
.dy-mem-s h3 { margin: 0 0 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.dy-mem .more-link { display: inline-block; margin: 10px 12px 0 0; font-size: 13px; color: var(--green-d, #245c31); font-weight: 600; text-decoration: none; }
.anv-got.gold { background: linear-gradient(135deg, #f7e08a, #e8b94a); color: #4a3510; box-shadow: 0 0 0 2px #fff6cf, 0 6px 22px rgba(232,185,74,.55); }
.anv-got.gold .anv-gt small { color: #6b4e14; }
.anv-got.gold .anv-gic { background: #fff; }
.anv-got.gold a { color: #6b4e14; }
/* 금빛 뱃지 */
.cf-badge.gold { position: relative; overflow: hidden; border-color: #e0b04a; background: linear-gradient(135deg, #fff8dc, #f6dc86 50%, #fff3c4); color: #5a3d0c; }
.cf-badge.gold small { color: #7a5716; }
.cf-badge.gold::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%); transform: translateX(-100%); animation: gold-sweep 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes gold-sweep { 60%,100% { transform: translateX(100%); } }
.cf-gold, #card-form .cf-gold { display: flex; flex-direction: row; align-items: center; gap: 8px; margin-top: 10px; font-size: calc(12.5px * var(--fs)); font-weight: 400; color: var(--muted); }
#card-form .cf-gold input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--green); }

/* 조회수 소식 (홈) */
.vw-list { gap: 0; }
.vw-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.vw-row:last-child { border-bottom: 0; }
.vw-th { flex: none; width: 72px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--line); }
.vw-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vw-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vw-t > b { font-weight: 500; font-size: calc(13.5px * var(--fs)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vw-t small { font-size: calc(12px * var(--fs)); color: var(--muted); }
.vw-t small b { color: var(--green-d); font-weight: 700; }
.vw-t small .vw-hit { color: #c27a00; }
.vw-up { white-space: nowrap; font-style: normal; color: var(--green-d); font-weight: 600; }

/* 오늘은 무슨 날 (홈 제목 밑 작은 글씨 한 줄) */
.today-bar { display: block; margin: -2px 0 12px; font-size: calc(12.5px * var(--fs)); color: var(--muted); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.today-bar b { font-weight: 500; color: var(--ink); }

/* 숲별 취향 궁합 (#/match) */
.mt-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 26px 18px 24px; text-align: center; color: #fff; background: linear-gradient(150deg, var(--green-dd) 0%, var(--green) 60%, var(--green-2) 100%); box-shadow: 0 10px 30px rgba(31, 92, 67, .2); border-top: 0; }
.mt-hero { background-clip: padding-box; }
.mt-hero > .mt-stripe { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad); }
.mt-hero::before, .mt-hero::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.mt-hero::before { width: 180px; height: 180px; left: -50px; top: -40px; }
.mt-hero::after { width: 220px; height: 220px; right: -70px; bottom: -90px; }
.mt-hero > * { position: relative; }
.mt-hero-in h1 { font-family: "Nanum Myeongjo", serif; font-size: 28px; font-weight: 800; margin: 6px 0 8px; }
.mt-hero-in p { font-size: 14px; line-height: 1.6; opacity: .9; margin: 0; }
.mt-spark { font-size: 44px; display: inline-block; animation: mt-beat 1.6s ease-in-out infinite; }
@keyframes mt-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.15); } 30% { transform: scale(1); } }
.mt-av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 15px; border: 2px solid #fff; flex: none; vertical-align: middle; }
.mt-from { margin: 16px 2px 0; font-size: 14px; line-height: 1.6; }
.mt-mine { margin-top: 16px; padding: 18px 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); }
.mt-nick { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.mt-nick input { font: inherit; font-size: 16px; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: transparent; }
.mt-incl { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 6px; padding: 0; margin: 14px 0; }
.mt-incl li { text-align: center; font-size: 11.5px; color: var(--muted); padding: 8px 2px; border-radius: 12px; border: 1px solid var(--line); }
.mt-incl b { display: block; font-size: 18px; color: var(--ink); margin-top: 2px; }
.mt-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; border: 0; border-radius: 16px; font: inherit; font-size: 15px; font-weight: 700; color: #fff; background: var(--green); cursor: pointer; }
.mt-go svg, .mt-sub-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mt-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin: 10px 2px 0; }
.mt-avs { display: flex; justify-content: center; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.mt-pp { display: grid; justify-items: center; gap: 4px; max-width: 70px; }
.mt-pp .mt-av { width: 52px; height: 52px; font-size: 22px; border-width: 3px; }
.mt-g .mt-pp .mt-av { width: 42px; height: 42px; font-size: 18px; }
.mt-pp small { font-size: 12px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70px; }
.mt-x { font-size: 26px; font-weight: 300; margin-top: 10px; opacity: .85; }
.mt-lab { margin: 18px 0 0; font-size: 13px; opacity: .85; letter-spacing: .02em; }
.mt-pct { margin: 0; font-family: "Nanum Myeongjo", serif; font-size: 22px; font-weight: 800; line-height: 1; }
.mt-pct b { font-size: 84px; letter-spacing: -.03em; }
.mt-type { margin: 8px 0 0; font-size: 21px; font-weight: 800; }
.mt-type span { margin-right: 6px; }
.mt-say { margin: 6px 0 0; font-size: 13.5px; opacity: .9; }
.mt-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mt-tags span { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .2); }
.mt-hint { font-size: 12px; color: var(--muted); margin: 10px 4px 0; line-height: 1.5; }
.mt-card { margin-top: 12px; padding: 16px 16px 18px; border-radius: 22px; background: var(--tint-1); animation: mt-up .5s ease both; }
.mt-card:nth-of-type(2) { animation-delay: .08s; } .mt-card:nth-of-type(3) { animation-delay: .16s; } .mt-card:nth-of-type(4) { animation-delay: .24s; } .mt-card:nth-of-type(n+5) { animation-delay: .32s; }
@keyframes mt-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mt-card, .mt-spark { animation: none; } }
.mt-card h2 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.mt-card h2 span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); box-shadow: 0 2px 6px rgba(0,0,0,.06); font-size: 15px; }
.mt-card h2 b { color: var(--green); }
.mt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-chips small { color: var(--muted); margin-left: 4px; }
.mt-evs { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mt-evs a { display: flex; gap: 10px; font-size: 13.5px; padding: 4px 0; color: var(--ink); }
.mt-evs span { color: var(--muted); font-size: 12px; flex: none; padding-top: 1px; font-variant-numeric: tabular-nums; }
.mt-sub, .mt-more { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.mt-sub b { color: var(--ink); }
.mt-big { font-size: 17px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 8px; }
.mt-rank { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mt-rank li { display: flex; align-items: center; gap: 2px; font-size: 13.5px; }
.mt-rank li .mt-av + .mt-av { margin-left: -10px; }
.mt-rank .mt-rn { margin-left: 8px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-rank b { color: var(--green); }
.mt-acts { display: grid; gap: 8px; margin-top: 18px; }
.mt-sub-btn { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); background: none; cursor: pointer; }
/* 취향 테스트 */
.ts-start, .ts-mine { display: grid; gap: 4px; margin-top: 14px; padding: 16px; border-radius: 20px; border: 1.5px dashed var(--green-2); color: var(--ink); text-decoration: none; background: var(--tint-1); }
.ts-start span { font-size: 28px; }
.ts-start b, .ts-mine b { font-size: 16px; }
.ts-start small, .ts-mine small { font-size: 12px; color: var(--muted); }
.ts-mine { border-style: solid; border-color: var(--line); grid-template-columns: 1fr auto; align-items: center; }
.ts-mine small { grid-column: 1 / -1; }
.ts-mine span { font-size: 12.5px; color: var(--green); font-weight: 600; }
.ts-wrap { min-height: 70vh; }
.ts-backbtn { border: 0; background: none; color: var(--green); font: inherit; cursor: pointer; padding: 0; }
.ts-in { animation: ts-slide .32s ease both; }
@keyframes ts-slide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ts-in { animation: none; } }
.ts-prog { height: 6px; border-radius: 99px; background: var(--tint-2); overflow: hidden; margin-top: 6px; }
.ts-prog i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width .3s; }
.ts-n { font-size: 12px; color: var(--muted); margin: 8px 0 0; text-align: right; }
.ts-3 { display: grid; gap: 10px; }
.ts-opt { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--line); background: none; font: inherit; color: var(--ink); cursor: pointer; }
.ts-opt span { grid-row: 1 / 3; font-size: 30px; align-self: center; }
.ts-opt b { font-size: 15.5px; }
.ts-opt small { font-size: 12.5px; color: var(--muted); }
.ts-opt.on, .ts-opt:active { border-color: var(--green); background: var(--tint-1); }
.ts-big { font-size: 64px; margin: 6px 0 0; line-height: 1.1; }
.ts-title { display: inline-block; margin: 10px 0 0; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .2); }
.ts-who { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ts-who li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.ts-who span { display: grid; gap: 1px; }
.ts-who b { font-size: 12px; color: var(--muted); font-weight: 600; }
.ts-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13.5px; }
.ts-lines li::before { content: '· '; color: var(--muted); }
.ts-lines b { color: var(--green); }
.ts-num { text-align: center; margin: 30px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--green-2); }
.ts-q { font-family: "Nanum Myeongjo", serif; font-size: 22px; font-weight: 800; text-align: center; margin: 10px 8px 44px; line-height: 1.5; word-break: keep-all; }
.ts-ends { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0 2px 14px; }
.ts-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.ts-rail { position: absolute; left: 12.5%; right: 12.5%; top: 21px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--green), var(--tint-2) 50%, var(--h2c86cf)); }
.ts-pt { position: relative; display: grid; justify-items: center; gap: 10px; padding: 0; border: 0; background: none; font: inherit; color: var(--muted); cursor: pointer; }
.ts-pt i { display: block; border-radius: 50%; background: var(--soft); border: 3px solid var(--green); box-sizing: border-box; transition: transform .18s, background .18s, box-shadow .18s; }
.ts-p0 i, .ts-p3 i { width: 46px; height: 46px; }
.ts-p1 i, .ts-p2 i { width: 32px; height: 32px; margin-top: 7px; margin-bottom: 7px; }
.ts-p2 i, .ts-p3 i { border-color: var(--h2c86cf); }
.ts-pt span { font-size: 12.5px; font-weight: 600; }
.ts-pt.on i, .ts-pt:active i { transform: scale(1.12); background: var(--green); box-shadow: 0 0 0 6px var(--tint-2); }
.ts-p2.on i, .ts-p3.on i, .ts-p2:active i, .ts-p3:active i { background: var(--h2c86cf); box-shadow: 0 0 0 6px var(--heef6fe); }
.ts-pt.on span { color: var(--ink); font-weight: 800; }
.ts-sum { margin-top: 14px; padding: 20px 18px; border-radius: 24px; background: var(--grad-soft, var(--tint-1)); }
.ts-sum-h { font-family: "Nanum Myeongjo", serif; font-size: 17px; font-weight: 800; margin: 0 0 16px; text-align: center; }
.ts-ax { padding: 12px 0; border-top: 1px dashed var(--line); }
.ts-ax:first-of-type { border-top: 0; padding-top: 0; }
.ts-ax-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.ts-ax-top span.on { color: var(--ink); font-weight: 800; font-size: 14.5px; }
.ts-ax-top small { font-size: 11px; padding: 1px 8px; border-radius: 99px; background: rgba(255, 255, 255, .6); }
.ts-axbar { position: relative; height: 8px; margin: 10px 0 8px; border-radius: 99px; background: rgba(255, 255, 255, .75); }
.ts-axbar::after { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--line); }
.ts-axbar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.ts-axbar i.l { right: 50%; background: var(--green); }
.ts-axbar i.r { left: 50%; background: var(--h2c86cf); }
.ts-axbar b { position: absolute; top: -22px; font-size: 11px; color: var(--green); transform: translateX(-50%); white-space: nowrap; }
.ts-axbar b.l { transform: translateX(50%); }
.ts-axbar b.r { color: var(--h2c86cf); }
.half .ts-axbar b { left: 50% !important; right: auto !important; transform: translateX(-50%); color: var(--muted); }
.ts-why { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.ts-why em { font-style: normal; margin: 0 6px; opacity: .6; }
.ts-style { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .7); }
.ts-style > span { font-size: 30px; }
.ts-style p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.ts-style small { display: block; font-size: 11px; }
.ts-style b { color: var(--ink); font-size: 14.5px; margin-right: 4px; }
.ts-ax-top em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--green); }
.ts-ax-top span:last-child em { color: var(--h2c86cf); }
/* 취향 슬라이더 + 사분면 */
.ts-sl { display: grid; gap: 4px; }
.ts-range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; margin: 18px 0 4px; border-radius: 99px; background: linear-gradient(90deg, var(--green) 0%, var(--tint-2) 50%, var(--h2c86cf) 100%); outline: none; }
.ts-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); border: 4px solid var(--ink); box-shadow: 0 3px 10px rgba(0, 0, 0, .18); cursor: grab; }
.ts-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--soft); border: 4px solid var(--ink); box-shadow: 0 3px 10px rgba(0, 0, 0, .18); cursor: grab; }
.ts-ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.ts-now { text-align: center; margin: 22px 0 26px; }
.ts-now b { display: inline-block; min-width: 110px; padding: 8px 18px; border-radius: 99px; background: var(--tint-1); font-size: 17px; }
.tsq-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 8px; }
.tsq-tab { font: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--soft); color: var(--muted); cursor: pointer; }
.tsq-tab.on { background: var(--green); border-color: var(--green); color: #fff; }
.tsq-svg { display: block; width: 100%; max-width: 340px; margin: 0 auto; overflow: visible; }
.tsq-svg[hidden] { display: none; }
.tsq-q0 { fill: var(--soft); } .tsq-q1 { fill: var(--heef6fe); }
.tsq-ax { stroke: var(--line); stroke-width: 2; stroke-dasharray: 4 4; }
.tsq-l { font-size: 11.5px; font-weight: 700; fill: var(--ink); }
.tsq-c { font-size: 9.5px; fill: var(--muted); }
.tsq-dot text { font-size: 13px; font-weight: 700; fill: #fff; }
.tsq-dot { animation: tsq-pop .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
@keyframes tsq-pop { from { transform: scale(0); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .tsq-dot { animation: none; } }
.tsq-leg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; }
.tsq-leg span { display: inline-flex; align-items: center; gap: 5px; }
.tsq-leg i { width: 10px; height: 10px; border-radius: 50%; }
.ts-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 26px 0 30px; }
.ts-vs div { display: grid; justify-items: center; gap: 8px; text-align: center; }
.ts-vs span { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; font-size: 36px; background: var(--tint-1); }
.ts-vs div:last-child span { background: var(--heef6fe); }
.ts-vs b { font-size: 15px; line-height: 1.35; word-break: keep-all; }
.ts-vs em { font-style: normal; font-family: "Nanum Myeongjo", serif; font-size: 22px; font-weight: 800; color: var(--muted); }
.ts-ax-t { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.mt-card h2 span:empty { display: none; }
.mt-card h2 span svg { width: 17px; height: 17px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mt-pick-h { margin: 16px 0 8px; font-size: 13px; font-weight: 700; }
.mt-pick-h small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.mt-pick { display: grid; gap: 6px; margin-bottom: 14px; }
.mt-pk { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.mt-pk input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.mt-pk span { flex: 1; }
.mt-pk b { font-size: 12.5px; font-weight: 600; color: var(--muted); max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-pk.none { opacity: .45; }
.tsq-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 16px; background: var(--soft); }
.tsq-tab { display: grid; gap: 1px; padding: 7px 6px; border: 0; border-radius: 12px; background: none; font-size: 11.5px; line-height: 1.3; }
.tsq-tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsq-tab span + span { font-weight: 500; opacity: .85; }
.ts-big { font-size: 46px; }
.tsq-l { font-size: 11px; }
@media (max-width: 360px) { .tsq-tab { font-size: 10.5px; } }
.ts-code { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: 280px; margin: 14px auto 4px; }
.ts-code span { display: grid; justify-items: center; gap: 2px; padding: 10px 0 8px; border-radius: 14px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); }
.ts-code b { font-family: "Nanum Myeongjo", serif; font-size: 30px; font-weight: 800; line-height: 1; }
.ts-code small { font-size: 10.5px; opacity: .85; white-space: nowrap; }
.ts-code span.r { background: rgba(255, 255, 255, .26); }
.ts-all { margin-top: 12px; border-radius: 20px; background: var(--tint-1); padding: 4px 14px; }
.ts-all summary { cursor: pointer; padding: 12px 2px; font-size: 14px; font-weight: 700; color: var(--green); list-style: none; text-align: center; }
.ts-all summary::-webkit-details-marker { display: none; }
.ts-all summary::after { content: ' ›'; display: inline-block; transition: transform .2s; }
.ts-all[open] summary::after { transform: rotate(90deg); }
.ts-all ul { list-style: none; padding: 0 0 12px; margin: 0; display: grid; gap: 6px; }
.ts-all li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--soft); }
.ts-all li.me { outline: 2px solid var(--green); }
.ts-mini { flex: none; font-family: "Nanum Myeongjo", serif; font-weight: 800; font-size: 15px; letter-spacing: .04em; color: var(--green); width: 64px; text-align: center; }
.ts-all p { margin: 0; display: grid; gap: 2px; min-width: 0; }
.ts-all b { font-size: 14px; }
.ts-all b em { font-style: normal; font-size: 11px; color: #fff; background: var(--green); padding: 1px 7px; border-radius: 99px; margin-left: 4px; vertical-align: 2px; }
.ts-all small { font-size: 12px; color: var(--muted); }
.ts-code b { font-family: "IBM Plex Sans KR", system-ui, sans-serif; font-size: 32px; font-weight: 700; letter-spacing: 0; }
.ts-mini { font-family: "IBM Plex Sans KR", system-ui, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .12em; width: 58px; }
.ts-mini { width: 62px; white-space: nowrap; letter-spacing: .06em; font-size: 15px; }
.ts-read { margin: 4px 0 0; font-size: 22px; font-weight: 800; letter-spacing: .04em; }
.ts-read + .mt-type { margin-top: 2px; font-size: 17px; opacity: .92; }
.ts-mini { display: grid; gap: 1px; }
.ts-mini small { font-size: 12px; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.ts-mini small { font-size: 10.5px; font-weight: 500; color: var(--muted); opacity: .8; }
.mt-nick input { width: 100%; box-sizing: border-box; min-width: 0; }
.mt-hero-in { padding: 28px 18px 26px; }
.mt-venn { display: block; width: 120px; height: 72px; margin: 0 auto 6px; overflow: visible; }
.mt-venn circle { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .9); stroke-width: 2; }
.mt-venn .mt-venn-in { fill: rgba(198, 236, 107, .55); animation: mt-glow 2.4s ease-in-out infinite; }
.mt-venn .mt-venn-d { fill: #fff; stroke: none; }
.mt-venn .mt-venn-d.b { fill: #9fd4ff; }
@keyframes mt-glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mt-venn .mt-venn-in { animation: none; } }
.mt-kick { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .28em; opacity: .7; }
.mt-hero-in h1 { margin-top: 4px; }
.tsq-save { margin: 12px auto 0; width: 100%; }
.ts-code button { display: grid; justify-items: center; gap: 2px; padding: 10px 0 8px; border-radius: 14px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font: inherit; cursor: pointer; transition: background .15s, transform .15s; }
.ts-code button.r { background: rgba(255, 255, 255, .26); }
.ts-code button.sel { background: rgba(255, 255, 255, .42); transform: translateY(-2px); }
.ts-code-tip { margin: 8px auto 4px; max-width: 300px; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .18); font-size: 13px; line-height: 1.55; }
.ts-code-tip b { font-size: 15px; margin-right: 2px; }
.ts-code-tip small { display: block; margin-top: 4px; font-size: 11.5px; opacity: .75; }
.ts-code-tip[hidden] { display: none; }
/* 숲별 통계 */
.ts-st { margin-top: 14px; padding: 20px 18px; border-radius: 24px; background: var(--tint-1); }
.ts-st h2 small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.ts-st h3 { margin: 18px 0 8px; font-size: 13px; color: var(--muted); font-weight: 700; }
.ts-st-wait p { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.ts-st-me { margin: 4px 0 12px; font-size: 15px; line-height: 1.5; }
.ts-st-me b { color: var(--green); }
.ts-st-me em { font-style: normal; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 2px; }
.ts-st-rank { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ts-st-rank li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--soft); }
.ts-st-rank li.me { outline: 2px solid var(--green); }
.ts-st-rank .ts-mini { flex: none; }
.ts-st-n { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ts-st-n b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-st-n b em { font-style: normal; font-size: 11px; color: var(--green); }
.ts-st-n i { display: block; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--green), var(--green-2, var(--green))); }
.ts-st-rank small { flex: none; font-size: 13px; font-weight: 700; color: var(--green); min-width: 36px; text-align: right; }
.ts-st-ax { margin-bottom: 10px; }
.ts-st-ax p { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 13px; }
.ts-st-ax b { color: var(--green); }
.ts-st-bar { height: 8px; border-radius: 99px; background: var(--tint-2, #C9D9CE); overflow: hidden; }
.ts-st-bar i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.ts-st-sty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ts-st-sty span { display: grid; gap: 2px; padding: 10px 6px; border-radius: 12px; background: var(--soft); text-align: center; font-size: 12px; }
.ts-st-sty span.me { outline: 2px solid var(--green); }
.ts-st-sty b { font-size: 16px; color: var(--green); }
.ts-st-opt { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.ts-st-opt small { opacity: .8; }
/* 금빛 뱃지 선물 */
.gift-card { margin: 18px 0; padding: 34px 22px 28px; border-radius: 28px; text-align: center; color: #fff; background: linear-gradient(150deg, var(--green-dd, #1F5E3E), var(--green), var(--green-2, #1FA87A)); }
.gift-k { margin: 0; font-size: 12px; letter-spacing: .3em; opacity: .8; font-weight: 700; }
.gift-badge { width: 112px; height: 112px; margin: 18px auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 50px; background: radial-gradient(circle at 35% 30%, #FFF6D2, #F2D27A 55%, #C99A2E); box-shadow: 0 0 0 6px rgba(255, 255, 255, .25), 0 10px 30px rgba(0, 0, 0, .2); }
.gift-card h1 { margin: 0 0 8px; font-size: 22px; }
.gift-card p { margin: 0 0 20px; font-size: 14px; opacity: .92; line-height: 1.6; }
.gift-card .mt-go { background: #fff; color: var(--green); }
.gift-make { margin-top: 10px; width: 100%; justify-content: center; }
.gift-make small { font-size: 11px; opacity: .7; margin-left: 4px; }
.ts-tbl-save { margin: 0 auto 14px; display: flex; }
/* 받은 링크 합치기 */
.mt-merge { margin: 14px 0; padding: 4px 16px; border-radius: 20px; background: var(--tint-1); }
.mt-merge summary { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--green); cursor: pointer; list-style: none; }
.mt-merge summary::-webkit-details-marker { display: none; }
.mt-merge summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mt-merge textarea { box-sizing: border-box; width: 100%; margin: 8px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--tint-2, #C9D9CE); font: inherit; font-size: 13px; resize: vertical; background: var(--card, #fff); color: inherit; }
.mt-merge .mt-go { width: 100%; margin-bottom: 14px; }
.mt-room-go { width: 100%; margin: 0 0 14px; }
.mt-room-new { display: grid; gap: 8px; margin: 8px 0 4px; }
.mt-room-new[hidden] { display: none; }
.mt-room-new input { box-sizing: border-box; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--tint-2, #C9D9CE); font: inherit; background: var(--card, #fff); color: inherit; }
.mt-room-t { margin: 0 0 10px; text-align: center; font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.mt-hero .mt-room-t { color: #fff; position: relative; }
.mt-merge-list { display: grid; gap: 6px; margin-bottom: 10px; }
.mt-ml-h { margin: 2px 0; font-size: 12px; color: var(--muted); font-weight: 700; }
.mt-ml { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--card, #fff); font-size: 14px; }
.mt-ml input { width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.mt-ml b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-ml small { color: var(--muted); font-size: 12px; flex: none; }
.mt-ml-bad { margin: 2px 0; font-size: 12px; color: #B4541A; line-height: 1.5; }
/* 내 숲별 모임 박스 */
.mt-rooms { margin: 6px 0 4px; }
.mt-rooms-g { display: grid; gap: 8px; }
.mt-rb { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 10px 40px 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card, #fff); box-sizing: border-box; }
.mt-rb a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: inherit; text-decoration: none; }
.mt-rb a::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }
.mt-rb b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-rb small { font-size: 12px; color: var(--mute, #6B7A70); }
.mt-rb-x { position: absolute; top: 50%; margin-top: -14px; right: 8px; width: 28px !important; height: 28px !important; z-index: 1; width: 26px; height: 26px; border: 0; background: none; color: var(--mute, #6B7A70); font-size: 16px; cursor: pointer; border-radius: 50%; }
.mt-rb-add { flex-direction: row; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border-style: dashed; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--green); cursor: pointer; }
.mt-rb-add span { font-size: 18px; line-height: 1; }
.mt-room-again { width: 100%; margin: 8px 0 0; }
.mt-room-z { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mt-room-z label { display: grid; gap: 2px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px; text-align: center; cursor: pointer; }
.mt-room-z label:has(input:checked) { border-color: var(--green); background: var(--tint-1, #F1F6F2); }
.mt-room-z input { position: absolute; opacity: 0; pointer-events: none; }
.mt-room-z b { font-size: 13.5px; }
.mt-room-z small { font-size: 11.5px; color: var(--mute, #6B7A70); }
.mt-roster { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.mt-roster li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; background: var(--card, #fff); }
.mt-roster li b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.mt-roster li small:not(:last-child) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-roster li small { font-size: 12px; color: var(--mute, #6B7A70); }
.mt-roster li small:last-child, .mt-ro-x { margin-left: auto; }
.mt-ro-x { width: 28px; height: 28px; border: 0; background: none; color: var(--mute, #6B7A70); font-size: 17px; cursor: pointer; border-radius: 50%; }
.mt-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mt-bars li { display: grid; grid-template-columns: 56px 1fr 22px; align-items: center; gap: 8px; font-size: 13px; }
.mt-bars i { display: block; height: 10px; border-radius: 6px; background: var(--green); min-width: 6px; }
.mt-bars b { text-align: right; }
.mt-rb-add { min-height: 48px; }
.mt-ed .mt-merge { margin-top: 12px; }
.mt-res-go { display: flex; justify-content: center; margin-top: 14px; text-decoration: none; }
.mt-res-wait { text-align: center; margin-top: 12px; }
.mt-cap { grid-column: 1 / -1; margin: 0 0 4px; font-size: 12.5px; color: #B4541A; line-height: 1.5; }
/* 우리 모임은: 문항별 막대 */
.mt-split { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mt-split li { display: grid; grid-template-columns: 4.6em 1fr 4.6em; align-items: center; gap: 8px; font-size: 12.5px; }
.mt-split .sp-l { text-align: right; color: var(--mute, #6B7A70); word-break: keep-all; line-height: 1.25; }
.mt-split .sp-r { text-align: left; color: var(--mute, #6B7A70); word-break: keep-all; line-height: 1.25; }
.mt-split .on { color: var(--ink, #1E2A22); font-weight: 700; }
.sp-bar { display: flex; height: 24px; border-radius: 12px; overflow: hidden; background: var(--tint-1, #F1F6F2); }
.sp-bar i { display: flex; align-items: center; justify-content: center; min-width: 22px; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; }
.sp-bar .a { background: var(--green); }
.sp-bar .b { background: var(--h2c86cf, #2C86CF); }
.sp-bar .h { background: var(--tint-2, #C9D9CE); color: var(--ink, #1E2A22); font-weight: 600; font-size: 11px; }
.mt-card h2 { position: relative; flex-wrap: wrap; }
.mt-card h2 span.help-pop { display: block; position: static; flex-basis: 100%; width: auto; height: auto; max-width: none; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(28, 74, 56, 0.1); font-size: 12.5px; font-weight: 400; place-items: initial; }
.mt-card h2 span.help-pop[hidden] { display: none; }
/* 2명: 9문항 비교 선 */
.pv-leg { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; margin: -2px 0 10px; }
.pv-leg .mt-av { width: 22px; height: 22px; font-size: 11px; }
.pv-leg small { margin-left: auto; color: var(--muted); }
.mt-pv { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mt-pv li { position: relative; display: grid; grid-template-columns: 4.4em 1fr 4.4em; align-items: center; gap: 10px; min-height: 40px; font-size: 12px; color: var(--muted); }
.mt-pv li.ok::after { content: '✓'; position: absolute; right: -6px; top: 2px; font-size: 11px; font-weight: 800; color: var(--green); }
.pv-l { text-align: right; word-break: keep-all; line-height: 1.25; }
.pv-r { word-break: keep-all; line-height: 1.25; }
.pv-tr { position: relative; height: 4px; border-radius: 2px; background: var(--tint-2); }
.mt-pv li.ok .pv-tr { background: var(--hcfefe0, #CFEFE0); }
.pv-tr em { position: absolute; top: -4px; width: 2px; height: 12px; margin-left: -1px; background: var(--hc9d9ce, #C9D9CE); font-style: normal; }
.pv-3 em { width: 8px; height: 8px; top: -2px; margin-left: -4px; border-radius: 50%; }
.pv-3 em:nth-child(2) { font-size: 10.5px; line-height: 30px; text-indent: 0; white-space: nowrap; display: flex; justify-content: center; color: var(--muted); }
.pv-dot { position: absolute; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.pv-dot.l { margin-left: -21px; }
.pv-dot.r { margin-left: -3px; }
/* 홈: 취향 테스트 칸 */
a.block.home-taste { display: flex; flex-direction: row; text-align: left; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--heaf6ee, #eaf6ee); color: inherit; text-decoration: none; margin-top: 16px; margin-bottom: 8px; }
.home-taste .ht-ic { font-size: 28px; line-height: 1; }
.home-taste .ht-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.home-taste .ht-t b { font-size: 15px; }
.home-taste .ht-t small { color: var(--muted); font-size: 12px; }
.home-taste .ht-go { flex: none; font-size: 13px; font-weight: 700; color: var(--green, #3f8f4f); }
/* 궁합 이스터에그 · 도감 */
.mt-eggs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.mt-eggs span { font-size: 13px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 226, 122, .25); color: #FFE27A; border: 1px solid rgba(255, 226, 122, .5); }
.mt-pct-love b { background: linear-gradient(90deg, #FFE27A, #FF9EC4, #FFE27A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-pop { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 30, 20, .55); opacity: 0; transition: opacity .3s; }
.mt-pop.show { opacity: 1; }
.mt-pop-in { width: 100%; max-width: 340px; text-align: center; padding: 24px 20px 18px; border-radius: 22px; background: linear-gradient(160deg, #1f5c3e, #2a7d58); color: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.3); transform: scale(.85); transition: transform .35s cubic-bezier(.2,1.4,.4,1); }
.mt-pop.show .mt-pop-in { transform: scale(1); }
.mt-pop-k { margin: 0; font-size: 13px; font-weight: 700; color: #FFE27A; letter-spacing: .02em; }
.mt-pop-ic { font-size: 64px; line-height: 1.2; margin: 8px 0 4px; animation: mtPopIc 1.6s ease-in-out infinite; }
@keyframes mtPopIc { 50% { transform: translateY(-6px) rotate(-4deg); } }
.mt-pop-in h2 { margin: 0 0 6px; font-size: 22px; }
.mt-pop-in p { margin: 0 0 10px; font-size: 14px; opacity: .92; line-height: 1.5; }
.mt-pop-in .mt-pop-more { font-size: 13px; color: #FFE27A; }
.mt-pop-in small { display: block; font-size: 12px; opacity: .75; margin-bottom: 14px; }
.mt-pop-b { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.mt-pop-b .mt-sub-btn { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); }
.dx-top { margin-bottom: 8px; }
.dx-n { margin: 4px 0 6px; font-size: 15px; color: var(--muted); }
.dx-n b { font-size: 26px; color: var(--green, #3f8f4f); }
.dx-hid { font-size: 13px; font-weight: 700; color: #C77A1E; }
.dx-bar { height: 8px; border-radius: 99px; background: var(--line, #e3ece6); overflow: hidden; margin-bottom: 8px; }
.dx-bar i { display: block; height: 100%; background: var(--green, #3f8f4f); border-radius: 99px; }
.dx-s { margin-top: 18px; }
.dx-s .mg-h small { font-weight: 500; color: var(--muted); font-size: 13px; }
.dx-g { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dx-c { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 8px; border-radius: 14px; background: var(--card, #f4f6f5); border: 1px dashed var(--line, #d6ddd9); color: var(--muted); }
.dx-c.on { background: var(--heaf6ee, #eaf6ee); border-style: solid; border-color: transparent; color: inherit; }
.dx-c .dx-ic { font-size: 30px; line-height: 1.2; }
.dx-c:not(.on) .dx-ic { filter: grayscale(1); opacity: .5; }
.dx-c b { font-size: 14px; }
.dx-c small { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.dx-c em { font-style: normal; font-size: 11px; color: var(--green, #3f8f4f); margin-top: 2px; }
.dx-ty { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dx-ty li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 4px; border-radius: 12px; background: var(--card, #f4f6f5); color: var(--muted); font-size: 10.5px; line-height: 1.3; }
.dx-ty li.on { background: var(--heaf6ee, #eaf6ee); color: inherit; }
.dx-ty li span { font-size: 22px; }
.dx-ty li:not(.on) span { filter: grayscale(1); opacity: .5; }
.mt-pop-b { flex-direction: column; }
.mt-pop-b .mt-go, .mt-pop-b .mt-sub-btn { width: 100%; }
.dx-foot { display: block; margin: 18px auto 4px; text-align: center; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.dx-foot b { font-weight: 600; }
/* 궁합 처음 안내 */
.mt-guide { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--heaf6ee, #eaf6ee); font-size: 13.5px; line-height: 1.55; }
.mt-guide summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.mt-guide h3 { margin: 14px 0 6px; font-size: 13.5px; }
.gd-ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gd-ol li { display: flex; gap: 8px; align-items: flex-start; }
.gd-n { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green, #3f8f4f); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.gd-p { margin: 0 0 6px; color: var(--ink); }
/* 숲별 취향 지도 (4×4) */
.tsm { display: grid; grid-template-columns: 46px repeat(4, 1fr); gap: 5px; align-items: stretch; }
.tsm-h { font-size: 10px; line-height: 1.25; color: var(--muted); text-align: center; align-self: end; padding-bottom: 2px; }
.tsm-r { align-self: center; text-align: right; padding: 0 4px 0 0; }
.tsm-c { position: relative; aspect-ratio: 1; border: 0; border-radius: 12px; padding: 4px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: color-mix(in srgb, var(--green-2) calc(var(--a) * 100%), transparent); color: var(--ink); cursor: pointer; font: inherit; }
.tsm-c span { font-size: 18px; line-height: 1; }
.tsm-c b { font-size: 11px; font-weight: 700; }
.tsm-c.none { opacity: .45; }
.tsm-c.me { outline: 2px solid var(--ink); outline-offset: 1px; }
.tsm-c.sel { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 35%, transparent); }
.tsm-c em { position: absolute; top: -6px; right: -4px; font-style: normal; font-size: 9px; font-weight: 800; background: var(--ink); color: #fff; border-radius: 8px; padding: 1px 5px; }
.tsm-info { margin: 8px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; min-height: 2.6em; }
.tsm-info b { color: var(--ink); }
.ts-st-re { margin-left: 8px; border: 1px solid var(--line); background: #fff; color: var(--green-d); font: inherit; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 9px; cursor: pointer; vertical-align: middle; }
