/* VibeGame 시안 v2 스타일: 밤의 오락실(플레이·잼)과 해 질 녘 커뮤니티. 모바일 우선, 900px부터 데스크톱 */
:root {
  --room: #EEE7F4;
  --glow: #FBE1D6;
  --surface: #FCF9FE;
  --inset: #F1EAF6;
  --line: #E3D9EC;
  --text: #2B2350;
  --muted: #5F5780;
  --night: #221B3D;
  --night-2: #2E2653;
  --on-night: #F4EFFF;
  --on-night-muted: #C0B6E2;
  --butter: #FFD166;
  --butter-d: #D9A537;
  --berry: #F28AAE;
  --berry-d: #C45F87;
  --soda: #7FD8BE;
  --soda-d: #47A88C;
  --soda-l: #CFEFE4;
  --lav-l: #E6DEFA;
  --lav: #B9A8F0;
  --lav-d: #8570CF;
  --peach: #FFC2AC;
  --theme-a: #FFE3D5;
  --theme-b: #F6DCEC;
  --err: #B3261E;
  --primary-bg: #2B2350;
  --primary-fg: #FFFFFF;
  --focus: #2B2350;
  --head-h: 56px;
  --nav-h: calc(64px + env(safe-area-inset-bottom));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --room: #120E22; --glow: rgba(255,194,172,.05); --surface: #2A2350; --inset: #221C42; --line: #40386E;
    --text: #F1ECFF; --muted: #B3AAD4; --soda-l: #2F5A52; --lav-l: #3B3470; --theme-a: #43304F; --theme-b: #352B58;
    --err: #FF9C9C; --primary-bg: #FFD166; --primary-fg: #2B2350; --focus: #FFD166; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --room: #120E22; --glow: rgba(255,194,172,.05); --surface: #2A2350; --inset: #221C42; --line: #40386E;
  --text: #F1ECFF; --muted: #B3AAD4; --soda-l: #2F5A52; --lav-l: #3B3470; --theme-a: #43304F; --theme-b: #352B58;
  --err: #FF9C9C; --primary-bg: #FFD166; --primary-fg: #2B2350; --focus: #FFD166; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh;
  background: radial-gradient(130% 520px at 50% -160px, var(--glow), transparent) no-repeat, var(--room);
  color: var(--text);
  font: 16px/1.6 "Pretendard Variable", Pretendard, -apple-system, system-ui, sans-serif;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: "Jua", "Pretendard Variable", sans-serif; font-weight: 400; line-height: 1.25; }
svg { width: 1em; height: 1em; flex: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 0.8125rem; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--butter); color: #2B2350; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 10px; }

/* ---------- 머리글과 메뉴 ---------- */
.top {
  position: sticky; top: 0; z-index: 20; height: var(--head-h);
  display: flex; align-items: center; gap: 8px; padding: 0 16px;
  background: color-mix(in srgb, var(--room) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-family: "Jua", sans-serif; font-size: 1.1875rem; }
.logo svg { font-size: 26px; }
.draft-chip { border: 1.5px dashed currentColor; background: transparent; color: var(--muted); border-radius: 999px; padding: 0 9px; font-size: 0.6875rem; font-weight: 700; cursor: pointer; min-height: 26px; opacity: .85; }
.top-nav { display: none; }
.head-slot { margin-left: auto; }
.post-btn, .login-btn { display: none; }

.view-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--inset); }
.view-toggle a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 11px; white-space: nowrap; border-radius: 999px; text-decoration: none; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.view-toggle a[aria-current] { background: var(--primary-bg); color: var(--primary-fg); }

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 4px 4px env(safe-area-inset-bottom); height: var(--nav-h);
}
.bn-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; color: var(--muted); font-size: 0.6875rem; font-weight: 700; background: none; border: 0; cursor: pointer; border-radius: 12px;
}
.bn-item > svg { font-size: 23px; padding: 3px 14px; box-sizing: content-box; border-radius: 999px; }
.bn-item[aria-current="page"] { color: var(--text); }
.bn-item[aria-current="page"] > svg { background: var(--butter); color: #2B2350; }
.bn-plus { display: grid; place-items: center; width: 40px; height: 30px; border-radius: 12px; background: var(--primary-bg); color: var(--primary-fg); font-size: 20px; }

main { padding: 0 0 calc(var(--nav-h) + 24px); }
main:focus { outline: none; }

/* 플레이 화면은 밤의 오락실 */
body[data-route="play"] { background: var(--night); overflow: hidden; color: var(--on-night); --focus: #FFD166; }
body[data-route="play"] main { padding: 0; }
body[data-route="play"] .top { background: var(--night); color: var(--on-night); }
body[data-route="play"] .draft-chip { color: var(--on-night-muted); }
body[data-route="play"] .view-toggle { background: rgba(255,255,255,.1); }
body[data-route="play"] .view-toggle a { color: var(--on-night-muted); }
body[data-route="play"] .view-toggle a[aria-current] { background: var(--butter); color: #2B2350; }
body[data-route="play"] .bottom-nav { background: var(--night); border-top-color: rgba(255,255,255,.08); }
body[data-route="play"] .bn-item { color: var(--on-night-muted); }
body[data-route="play"] .bn-item[aria-current="page"] { color: var(--on-night); }
body[data-route="play"] .bn-plus { background: var(--butter); color: #2B2350; }

/* 잼 표시 */
.jam-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 1px 9px; font-size: 0.75rem; font-weight: 700; line-height: 1.6; white-space: nowrap; text-decoration: none; background: #FFEDB8; color: #5C4300; }
body[data-route="play"] .jam-chip, .jam-hero .jam-chip { background: rgba(255,209,102,.16); color: var(--butter); box-shadow: inset 0 0 0 1px rgba(255,209,102,.45); }
.meta-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.best-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 1px 9px; font-size: 0.75rem; font-weight: 700; line-height: 1.6; background: rgba(255,194,172,.16); color: var(--peach); box-shadow: inset 0 0 0 1px rgba(255,194,172,.45); }
.played-chip { font-size: 0.75rem; font-weight: 600; color: var(--on-night-muted); }
.rank-mini { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 6px; width: 100%; max-width: 300px; text-align: left; }
.rank-mini li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,.07); }
.rank-mini b { font-family: "Jua", sans-serif; font-weight: 400; font-size: 1.125rem; color: var(--butter); text-align: center; }
.rank-mini span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm-h { display: inline-flex; align-items: center; gap: 4px; color: var(--berry); font-size: 0.8125rem; font-weight: 700; }
.create-jam { display: grid; justify-items: start; gap: 3px; width: 100%; margin: 0 0 10px; padding: 14px 16px; border: 0; border-radius: 18px; text-align: left; cursor: pointer; background: linear-gradient(135deg, var(--theme-a), var(--theme-b)); color: var(--text); }
.create-jam b { font-size: 1rem; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
  font-weight: 700; font-size: 0.9375rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn svg { font-size: 18px; }
.btn-primary { background: var(--primary-bg); border-color: var(--primary-bg); color: var(--primary-fg); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-butter { background: var(--butter); border-color: var(--butter); color: #2B2350; }
.btn-glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
.btn.wide { width: 100%; }
.btn-mini {
  display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font-size: 0.8125rem; font-weight: 700;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-mini svg { font-size: 15px; }
.link { background: none; border: 0; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 700; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }

/* ---------- 입력 ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > span, .field > legend { font-size: 0.875rem; font-weight: 700; }
.field input, .field textarea, .field select, .search input {
  width: 100%; font-size: 1rem; padding: 11px 12px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline-offset: 0; border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.err { color: var(--err); font-size: 0.8125rem; margin: 0; font-weight: 600; }
.err:empty { display: none; }
.hint-text, .note { color: var(--muted); font-size: 0.8125rem; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg legend { font-size: 0.875rem; font-weight: 700; margin-bottom: 6px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 0.875rem; font-weight: 700; cursor: pointer; }
.seg input:checked + span { background: var(--primary-bg); border-color: var(--primary-bg); color: var(--primary-fg); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.pill, .chip-s, .badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 1px 9px; font-size: 0.75rem; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.pill-go { background: var(--soda); color: #2B2350; }
.pill-wip { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--lav-d); }
.pill-wait { background: var(--butter); color: #2B2350; }
.chip-s { background: var(--inset); font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
.b-0 { background: var(--soda); color: #2B2350; }
.b-1 { background: var(--butter); color: #2B2350; }
.b-2 { background: var(--berry); color: #2B2350; }
.b-3 { background: var(--lav); color: #2B2350; }
.b-4 { background: var(--peach); color: #2B2350; }
.b-5 { background: #BFE3F2; color: #2B2350; }
.kind { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.c-tag { font-size: 0.6875rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 6px; padding: 0 6px; font-weight: 600; }
.note-box { font-size: 0.875rem; color: var(--muted); border: 1.5px dashed var(--line); border-radius: 14px; padding: 10px 14px; margin: 0 0 12px; }
.empty { color: var(--muted); background: var(--inset); border-radius: 16px; padding: 14px 16px; margin: 0; list-style: none; }

.avatar { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: #2B2350; font-family: "Jua", sans-serif; font-size: 1.125rem; }
.avatar.sm { width: 30px; height: 30px; font-size: 0.875rem; }
.avatar.xs { width: 22px; height: 22px; font-size: 0.6875rem; }
.avatar.xl { width: 76px; height: 76px; font-size: 2rem; }
.avatar.lg { width: 54px; height: 54px; font-size: 1.375rem; }
.ai-tag { display: inline-flex; align-items: center; margin-left: 4px; padding: 0 5px; border-radius: 5px; font-family: "Pretendard Variable", sans-serif; font-size: 0.625rem; font-weight: 800; letter-spacing: .02em; line-height: 1.5; background: var(--text); color: var(--room); vertical-align: 2px; }
body[data-route="play"] .ai-tag, .jam-hero .ai-tag { background: var(--on-night); color: var(--night); }
.mention { color: var(--lav-d); font-weight: 700; }
.c-item.is-reply { margin-left: 22px; padding-left: 12px; border-left: 2px solid var(--line); }
.c-item.is-ai .c-text { color: var(--text); }
.check-line { display: flex; align-items: flex-start; gap: 8px; }
.check-line .avatar { margin-top: 2px; }
.crew-link { font-weight: 700; color: var(--text); text-underline-offset: 3px; }
.crew-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.crew-list a { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; }
.crew-list a > span:last-child { display: grid; gap: 2px; justify-items: start; }
.crew-name { display: inline-flex; align-items: center; }
.crew-list b { font-size: 1.0625rem; }
.crew-role { display: inline-block; font-size: 0.8125rem; font-weight: 700; color: var(--lav-d); margin: 0; }
.crew-cols { display: grid; gap: 14px; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rules li { display: grid; gap: 2px; }
.ops-log { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ops-log li { display: grid; grid-template-columns: 44px 22px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 0.875rem; }
.ops-time { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; }
.bot-toggle { margin-top: 2px; }
.side-crew-h { margin-top: 24px; }
.crew-mini { display: grid; gap: 8px; margin-top: 10px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.crew-faces { display: flex; }
.crew-faces .avatar { margin-right: -6px; box-shadow: 0 0 0 2px var(--surface); }

/* ---------- 표지 ---------- */
.cover { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #2B2350; }
/* 표지 틀: 가로·세로 게임을 같은 비율에 담고 남는 곳은 같은 이미지를 흐리게 */
.frame { position: relative; display: block; width: 100%; aspect-ratio: var(--ar, 4 / 3); overflow: hidden; border-radius: 16px; background: #1B1630; isolation: isolate; }
.frame-bg { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(16px) saturate(1.15) brightness(.72); z-index: -1; }
.frame-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cover-default {
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; padding: 12px; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 78% 22%, rgba(185,168,240,.35) 0 18%, transparent 19%), repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px), #2B2350;
}
.cd-title { font-family: "Jua", sans-serif; font-size: 1.125rem; line-height: 1.2; }
.cd-note { font-size: 0.6875rem; font-weight: 600; color: #C3B9E6; border: 1px dashed currentColor; border-radius: 999px; padding: 0 8px; }

/* ---------- 플레이: 한 판씩 피드 ---------- */
.feed {
  --stage-w: min(calc(100vw - 32px), calc((100svh - var(--head-h) - var(--nav-h) - 158px) * .8), 680px);
  --stage-w-wide: min(calc(100vw - 32px), calc((100svh - var(--head-h) - var(--nav-h) - 158px) * 1.78), 1040px);
  height: calc(100svh - var(--head-h) - var(--nav-h));
  overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none;
}
.feed::-webkit-scrollbar { display: none; }
.feed.locked { overflow: hidden; }
.slide {
  height: 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; place-items: center; padding: 6px 16px;
  background: radial-gradient(55% 42% at 50% 36%, rgba(255,209,102,.13), transparent 72%);
}
.slide-inner { width: max(220px, var(--stage-w)); display: grid; gap: 12px; }
.slide.landscape .slide-inner { width: max(280px, var(--stage-w-wide)); }
.rotate-hint { display: none; margin: -4px 0 0; font-size: 0.75rem; color: var(--on-night-muted); text-align: center; }
@media (max-width: 700px) and (orientation: portrait) { .rotate-hint { display: block; } }
.stage {
  position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; background: #1B1630;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 26px 60px -24px rgba(255,190,120,.45);
}
.stage canvas, .stage .stage-img { display: block; width: 100%; height: 100%; border-radius: 0; object-fit: contain; }
.stage canvas:focus-visible { outline: 3px solid var(--butter); outline-offset: -3px; border-radius: 24px; }
.stage[data-state="playing"] canvas { touch-action: none; }
.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px; text-align: center; color: #fff; }
.ov-start { justify-content: flex-start; padding-top: 33%; background: radial-gradient(ellipse 72% 30% at 50% 42%, rgba(27,22,48,.5), transparent); }
.btn-play {
  display: inline-flex; align-items: center; gap: 8px; font-family: "Jua", sans-serif; font-size: 1.375rem;
  background: var(--butter); color: #2B2350; border: 0; border-radius: 999px; min-height: 58px; padding: 0 30px; cursor: pointer;
  box-shadow: 0 5px 0 var(--butter-d);
}
.btn-play svg { font-size: 22px; }
.btn-play:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--butter-d); }
.ov-hint { margin: 4px 0 0; font-size: 0.8125rem; background: rgba(27,22,48,.6); border-radius: 999px; padding: 4px 12px; }
.ov-result { justify-content: center; background: rgba(27,22,48,.86); }
.res-score { margin: 0; font-family: "Jua", sans-serif; font-size: 1.25rem; }
.res-score b { font-weight: 400; font-size: 3.5rem; color: var(--butter); line-height: 1; margin-right: 4px; }
.res-sub { margin: 0 0 6px; font-size: 0.875rem; color: var(--on-night-muted); }
.res-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.quick { margin-top: 12px; }
.quick p { margin: 0 0 6px; font-size: 0.75rem; color: var(--on-night-muted); }
.quick-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.q-chip { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 0.8125rem; font-weight: 700; cursor: pointer; }
.q-chip[aria-pressed="true"] { background: var(--soda); border-color: var(--soda); color: #2B2350; }
/* 가로형 게임은 무대가 낮으니 시작·결과 화면을 촘촘하게 */
.slide.landscape .ov-start { justify-content: center; padding: 12px; gap: 6px; }
.slide.landscape .btn-play { min-height: 46px; padding: 0 22px; font-size: 1.125rem; box-shadow: 0 4px 0 var(--butter-d); }
.slide.landscape .ov-result { gap: 4px; padding: 8px 12px; }
.slide.landscape .res-score b { font-size: 2.25rem; }
.slide.landscape .res-sub { margin: 0; font-size: 0.75rem; }
.slide.landscape .res-actions .btn { min-height: 38px; padding: 0 14px; font-size: 0.875rem; }
.slide.landscape .quick { margin-top: 4px; }
.slide.landscape .quick p { display: none; }
.slide.landscape .q-chip { min-height: 30px; }

.meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.meta-main { display: grid; gap: 2px; min-width: 0; }
.g-title { margin: 0; font-size: 1.375rem; color: var(--on-night); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-maker { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--on-night-muted); text-decoration: none; }
.info-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25); background: transparent; color: var(--on-night); font-weight: 700; font-size: 0.875rem; cursor: pointer; }
.info-btn svg { font-size: 18px; }
.actions { display: flex; align-items: center; gap: 2px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 56px; background: none; border: 0; padding: 0; color: var(--on-night); cursor: pointer; }
.act-cap { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); }
.act-cap svg { font-size: 22px; }
.act-lbl { font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.act:focus-visible { outline: none; }
.act:focus-visible .act-cap { outline: 3px solid var(--butter); outline-offset: 2px; }
.act-heart .act-cap { color: var(--berry); }
.act-heart[aria-pressed="true"] .act-cap { background: var(--berry); color: #fff; }
.next-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 14px 0 18px;
  border: 0; border-radius: 999px; background: var(--butter); color: #2B2350; cursor: pointer; min-width: 0;
  box-shadow: 0 4px 0 var(--butter-d);
}
.next-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--butter-d); }
.next-btn > span { display: grid; text-align: left; line-height: 1.2; min-width: 0; white-space: nowrap; font-family: "Jua", sans-serif; font-size: 1.0625rem; }
.next-btn small { font-family: "Pretendard Variable", sans-serif; font-size: 0.6875rem; font-weight: 700; opacity: .75; max-width: 108px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-btn > svg { font-size: 22px; }

.end-card { display: grid; justify-items: center; gap: 8px; text-align: center; max-width: 360px; }
.lamp { width: 76px; height: 76px; }
.end-card h2 { margin: 0; font-size: 1.5rem; }
.end-card p { margin: 0 0 8px; color: var(--on-night-muted); }
.end-actions { display: grid; gap: 8px; width: 100%; max-width: 280px; }
.kbd-hint { display: none; }

/* ---------- 시트 (모바일 아래에서, 데스크톱 오른쪽에서) ---------- */
dialog.sheet {
  border: 0; padding: 0 18px calc(20px + env(safe-area-inset-bottom)); margin: auto auto 0;
  width: min(600px, 100vw); max-width: 100vw; max-height: 88svh; overflow: auto;
  border-radius: 26px 26px 0 0; background: var(--surface); color: var(--text);
}
dialog.sheet::backdrop, dialog.modal::backdrop { background: rgba(27,22,48,.5); }
.sheet-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface); padding: 16px 0 10px; }
.sheet-bar h2 { margin: 0; font-size: 1.25rem; min-width: 0; }
.sheet-body { display: grid; gap: 10px; }
.sheet-body > p { margin: 0; }
dialog.modal { border: 0; border-radius: 22px; padding: 20px; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--text); }
dialog.modal h2 { font-size: 1.375rem; margin: 0 0 8px; }
dialog.modal ul { padding-left: 20px; margin: 0 0 14px; display: grid; gap: 6px; }
.maker-row { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.maker-row > span:last-child { display: grid; line-height: 1.3; }
.info-tagline { font-size: 1.0625rem; }
.chips-static { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.info-h { font-size: 1.0625rem; margin: 10px 0 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; margin: 0; }
.stat-row div { background: var(--inset); border-radius: 14px; padding: 8px 12px; }
.stat-row dt { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.stat-row dd { margin: 0; font-family: "Jua", sans-serif; font-size: 1.25rem; }
.quick-sum { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.rel-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rel-list a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--inset); border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.rel-list a > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prompt { background: var(--inset); border-radius: 16px; padding: 12px 14px; }
.prompt-label { margin: 0 0 4px; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.prompt-text { margin: 0 0 8px; font-size: 0.9375rem; line-height: 1.6; }
.create-list { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.create-list button { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.create-list button > svg { font-size: 26px; color: var(--muted); }
.create-list button > span { display: grid; line-height: 1.4; }
.create-list b { font-size: 1rem; }
#compose-form { display: grid; gap: 14px; padding-bottom: 4px; }
.tpl-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- 댓글 ---------- */
.comments { display: grid; gap: 4px; }
.c-head { font-size: 1.1875rem; margin: 8px 0 0; }
.c-head span { color: var(--muted); }
.c-list { list-style: none; padding: 0; margin: 0; }
.c-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 0.875rem; }
.c-type { border-radius: 999px; padding: 0 8px; font-size: 0.75rem; font-weight: 700; color: #2B2350; }
.t-0 { background: var(--soda); } .t-1 { background: var(--lav); } .t-2 { background: var(--berry); }
.c-text { margin: 4px 0 0; }
.c-form { display: grid; gap: 10px; margin-top: 12px; }
.c-send { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }

/* ---------- 공통 페이지 ---------- */
.page { max-width: 1120px; margin: 0 auto; padding: 4px 16px 0; }
.page-head h1, .page-title { font-size: 1.875rem; margin: 12px 0 2px; }
.page-head p { margin: 0 0 16px; color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 4px; margin: 10px 0 4px; font-size: 0.875rem; font-weight: 700; color: var(--muted); text-decoration: none; min-height: 36px; }
.back svg { font-size: 18px; }
.side-h { font-size: 1.1875rem; margin: 0; }
.side-h span, .sec-h span { color: var(--muted); }
.sec-h { font-size: 1.3125rem; margin: 28px 0 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: grid; gap: 12px; align-content: start; min-width: 0; }

/* 모아보기 */
.filters { display: grid; gap: 10px; margin: 8px 0 18px; }
.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 50px; }
.search:focus-within { border-color: var(--focus); }
.search svg { font-size: 20px; color: var(--muted); }
.search input { border: 0; padding: 12px 0; background: transparent; outline: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 38px; padding: 0 11px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-weight: 700; font-size: 0.875rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--primary-bg); border-color: var(--primary-bg); color: var(--primary-fg); }
.game-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.game-card { display: grid; gap: 2px; min-width: 0; }
.gc-link { display: grid; gap: 8px; padding: 0; border: 0; background: none; text-align: left; text-decoration: none; cursor: pointer; color: inherit; }
.gc-title { font-family: "Jua", sans-serif; font-size: 1.0625rem; line-height: 1.3; }
.gc-link:hover .gc-title { text-decoration: underline; text-underline-offset: 3px; }
.gc-by { font-size: 0.8125rem; color: var(--muted); font-weight: 600; }
.empty-state { grid-column: 1 / -1; background: var(--inset); border-radius: 18px; padding: 18px; }
.empty-state p { margin: 0 0 12px; }

/* 이번 주 잼 */
.jam-hero {
  margin: 12px 0 8px; padding: 22px 20px; border-radius: 26px; color: var(--on-night);
  background: radial-gradient(70% 90% at 50% 0%, rgba(255,209,102,.22), transparent 70%), var(--night);
}
.jam-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 0.8125rem; color: var(--on-night-muted); font-weight: 600; }
.jam-hero h1 { margin: 10px 0 6px; font-size: 1.875rem; color: var(--butter); }
.jam-brief { margin: 0 0 6px; }
.jam-ops { margin: 0 0 14px; font-size: 0.875rem; color: var(--on-night-muted); }
.jam-month { display: block; margin-bottom: 4px; font-size: 1rem; color: var(--on-night-muted); }
.jam-when { margin: 4px 0 0; font-size: 0.8125rem; color: var(--on-night-muted); }
.weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 16px 0 6px; max-width: 420px; }
.wk { display: grid; gap: 5px; font-size: 0.75rem; font-weight: 700; color: var(--on-night-muted); }
.wk i { display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); }
.wk.done i { background: var(--butter); opacity: .5; }
.wk.now { color: var(--butter); }
.wk.now i { background: var(--butter); box-shadow: 0 0 10px rgba(255,209,102,.6); }

/* 마감 시계: 오락실 점수판 */
.countdown { display: grid; gap: 6px; justify-items: start; margin: 4px 0; }
.cd-label { margin: 0; font-family: "Jua", sans-serif; font-size: 1rem; color: var(--butter); }
.cd-digits { display: flex; gap: 6px; }
.cd-u { display: grid; justify-items: center; gap: 4px; }
.cd-u b {
  display: grid; place-items: center; min-width: 2.7em; padding: 10px 6px 8px; border-radius: 10px;
  font-family: "Press Start 2P", ui-monospace, monospace; font-weight: 400; font-size: 1.125rem; line-height: 1; font-variant-numeric: tabular-nums;
  color: var(--butter); text-shadow: 0 0 8px rgba(255,209,102,.55);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 2px, transparent 2px 4px), #15112A;
  box-shadow: inset 0 0 0 2px #2E2653, inset 0 -3px 0 rgba(0,0,0,.35);
}
.cd-u i { font-style: normal; font-size: 0.6875rem; font-weight: 700; color: var(--on-night-muted); }
.countdown.urgent .cd-u b { color: var(--berry); text-shadow: 0 0 8px rgba(242,138,174,.6); }
.countdown.lg { margin: 14px 0 0; }
.countdown.lg .cd-u b { font-size: 1.5rem; padding: 13px 8px 11px; }
.countdown.sm { gap: 4px; margin: 8px 0; }
.countdown.sm .cd-label { font-size: 0.8125rem; }
.countdown.sm .cd-u b { font-size: 0.75rem; padding: 6px 4px 5px; border-radius: 7px; }
.countdown.sm .cd-u i { font-size: 0.625rem; }
.end-card .countdown { justify-items: center; }
.theme-card .cd-label, .create-jam .cd-label { color: var(--text); }
.theme-card .cd-u i, .create-jam .cd-u i { color: var(--muted); }
.new-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 1px 9px; font-size: 0.75rem; font-weight: 700; line-height: 1.6; background: rgba(127,216,190,.16); color: var(--soda); box-shadow: inset 0 0 0 1px rgba(127,216,190,.45); }
.new-badge { position: absolute; right: 8px; top: 8px; border-radius: 999px; padding: 2px 9px; font-size: 0.75rem; font-weight: 700; background: var(--soda); color: #2B2350; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.jam-hero .row { margin-top: 16px; }
.rank-note { margin: -6px 0 12px; font-size: 0.8125rem; color: var(--muted); }
.rank-wrap { position: relative; display: block; }
.rank-badge { position: absolute; left: 8px; top: 8px; border-radius: 999px; padding: 2px 10px; font-family: "Jua", sans-serif; font-size: 0.9375rem; color: #2B2350; background: var(--surface); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.rank-badge.r1 { background: var(--butter); }
.rank-badge.r2 { background: var(--lav); }
.rank-badge.r3 { background: var(--peach); }
.slot-box { display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 4 / 3; padding: 12px; border: 2px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; font-size: 0.875rem; font-weight: 700; }
.slot-box svg { font-size: 28px; }
.jam-cols { display: grid; gap: 14px; margin-top: 26px; }
.steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.steps li > span, .perks li > span { display: block; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.past-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.past-jam { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.past-body { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.past-body p { margin: 0; }
.past-body h3 { margin: 0; font-size: 1.1875rem; }
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 0.875rem; color: var(--muted); font-weight: 600; }
.soon-tag { border-radius: 999px; padding: 1px 9px; font-size: 0.75rem; font-weight: 700; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
.badges { display: grid; gap: 6px; }
.badges p { margin: 0; }

/* 커뮤니티 */
.community { display: grid; gap: 32px; }
.community-main { min-width: 0; }
.community-side { display: none; }
.compose-prompt {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 8px 16px 8px 10px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); text-align: left; cursor: pointer; font-size: 0.9375rem;
}
.hello-nudge { display: block; margin: 8px 0 0 6px; padding: 4px 0; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.create-hello { display: block; margin: 4px auto 6px; font-size: 0.875rem; color: var(--muted); }
.login-card { margin-bottom: 12px; gap: 10px; }
.login-card p { margin: 0; display: grid; gap: 2px; }
.login-card .btn { justify-self: start; }
.theme-card { margin: 14px 0 16px; padding: 16px 18px; border-radius: 24px; background: linear-gradient(135deg, var(--theme-a), var(--theme-b)); }
.theme-kicker { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.8125rem; font-weight: 700; }
.theme-card h2 { margin: 4px 0 2px; font-size: 1.375rem; }
.theme-card > p { margin: 0; font-size: 0.875rem; }
.post-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: grid; gap: 10px; min-width: 0; }
.post-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 0.875rem; }
.post-head .name { font-weight: 700; text-decoration: none; }
.post-head a.name:hover { text-decoration: underline; }
.when { margin-left: auto; font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.post-title { margin: 0; font-size: 1.1875rem; }
.post-title a { text-decoration: none; }
.post-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-text { margin: 0; line-height: 1.7; white-space: pre-line; }
.post-text.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-text.clamp.open { display: block; }
.more { justify-self: start; background: none; border: 0; padding: 0; min-height: 30px; color: var(--muted); font-weight: 700; font-size: 0.875rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.post-img { display: block; width: 100%; }
img.post-img.big { height: auto; width: min(100%, 360px); margin: 16px 0; border-radius: 16px; }
.game-chip { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 16px; background: var(--inset); text-decoration: none; }
.game-chip .frame { border-radius: 10px; }
.game-chip > span:nth-child(2) { display: grid; line-height: 1.3; min-width: 0; }
.game-chip b { font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--butter); color: #2B2350; }
.chip-go svg { font-size: 16px; }
.from { margin: 0; font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.mine-tag { justify-self: start; margin: 0; font-size: 0.75rem; color: var(--muted); font-weight: 600; border: 1px dashed var(--line); border-radius: 999px; padding: 0 9px; }
.post-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cheer, .foot-link { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 13px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-size: 0.875rem; font-weight: 700; text-decoration: none; cursor: pointer; color: var(--text); }
.cheer svg, .foot-link svg { font-size: 17px; }
.cheer[aria-pressed="true"] { background: var(--soda); border-color: var(--soda); color: #2B2350; }
.post-news { grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; background: transparent; border: 0; padding: 4px 4px; }
.news-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); color: var(--muted); }
.news-icon svg { font-size: 17px; }
.post-news p { margin: 0; font-size: 0.875rem; }
.post-news .when { margin-left: 8px; }
.post-mag { padding: 0; gap: 0; overflow: hidden; }
.mag-link { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 14px; text-decoration: none; }
.mag-link .frame { border-radius: 14px; }
.mag-body { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.mag-ex { font-size: 0.875rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-mag .post-foot { padding: 0 14px 14px; }
.post-list.compact .post { padding: 12px; }
.side-games { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }

/* 글 본문 */
.article { max-width: 680px; }
.article h1 { font-size: 1.875rem; margin: 10px 0 8px; }
.lede { font-size: 1.125rem; color: var(--muted); margin: 0 0 14px; }
.prose p { font-size: 1.0625rem; line-height: 1.8; margin: 14px 0; }
.prose h2 { font-size: 1.4375rem; margin: 32px 0 4px; }
.fig { margin: 24px 0; display: grid; gap: 10px; }
.fig img { width: min(100%, 320px); height: auto; border-radius: 18px; display: block; }
.fig figcaption { font-size: 0.9375rem; display: grid; gap: 2px; }
.fig .ts { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin: 22px 0; }
.qa .q { font-family: "Jua", sans-serif; font-size: 1.125rem; margin: 0 0 6px; }
.qa .a { margin: 0; line-height: 1.75; }
.qa .who { display: block; font-size: 0.8125rem; color: var(--muted); font-weight: 700; margin-top: 6px; }
.article-game { margin: 22px 0 12px; max-width: 420px; }
.article .post-foot { margin: 8px 0 18px; }

/* 제작자·내 공간 */
.maker-head { display: flex; align-items: center; gap: 16px; margin: 14px 0 16px; }
.maker-head h1 { font-size: 1.875rem; margin: 0; }
.maker-head p { margin: 2px 0; }
.grass-wrap { display: grid; gap: 8px; }
.grass { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; max-width: 440px; }
.grass i { aspect-ratio: 1; border-radius: 3px; background: var(--inset); box-shadow: inset 0 0 0 1px var(--line); }
.grass .mk1 { background: var(--soda-l); box-shadow: none; }
.grass .mk2, .grass-legend .mk2 { background: var(--soda); box-shadow: none; }
.grass .mk3 { background: var(--soda-d); box-shadow: none; }
.grass .pl1 { background: var(--lav-l); box-shadow: none; }
.grass .pl2, .grass-legend .pl2 { background: var(--lav); box-shadow: none; }
.grass .pl3 { background: var(--lav-d); box-shadow: none; }
.grass-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0; font-size: 0.8125rem; font-weight: 600; }
.grass-legend span { display: inline-flex; align-items: center; gap: 6px; }
.grass-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.grass-note { margin: 0; font-size: 0.875rem; }
.link-rows { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.link-rows a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.link-rows a > svg { font-size: 22px; color: var(--muted); }
.link-rows a > span { display: grid; line-height: 1.35; }
.me-grid { display: grid; gap: 14px; }
.record-panel { margin-bottom: 14px; }
.role-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 2px; }
.role-make { box-shadow: inset 0 4px 0 var(--soda); }
.role-make .role-dot { background: var(--soda-d); }
.role-play { box-shadow: inset 0 4px 0 var(--lav); }
.role-play .role-dot { background: var(--lav-d); }
.role-panel > p { margin: 0; }
.best-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.best-list a { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 10px; text-decoration: none; }
.best-list .frame { border-radius: 10px; }
.best-list a > span { display: grid; line-height: 1.35; }
.mini-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mini-grid .frame { border-radius: 12px; }
.me .panel > .btn { justify-self: start; }

/* 게임 올리기 */
.stepper { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 560px; }
.stepper li { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.stepper .n { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 0.8125rem; }
.stepper [aria-current] { color: var(--text); font-weight: 800; }
.stepper [aria-current] .n { background: var(--primary-bg); border-color: var(--primary-bg); color: var(--primary-fg); }
.stepper .done .n { background: var(--soda); border-color: var(--soda); color: #2B2350; }
.submit-grid { display: grid; gap: 24px; align-items: start; }
#submit-form, #submit-form fieldset[data-step] { display: grid; gap: 18px; }
.boxes { display: grid; gap: 8px; }
.boxes legend { font-size: 0.875rem; font-weight: 700; margin-bottom: 6px; padding: 0; }
.box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 50px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; }
.box input { width: 20px; height: 20px; accent-color: var(--text); margin: 0; flex: none; }
.box span { display: grid; font-weight: 700; }
.box small { font-weight: 500; color: var(--muted); font-size: 0.8125rem; }
.box:has(input:checked) { border-color: var(--text); }
.step-actions { display: flex; justify-content: space-between; gap: 8px; }
.step-h { font-size: 1.3125rem; margin: 0 0 8px; }
.check-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.done-box { background: var(--surface); border: 2px solid var(--soda-d); border-radius: 20px; padding: 18px; }
.done-box:focus { outline: none; }
.done-box h2 { font-size: 1.375rem; margin: 0 0 6px; }
.done-box p { margin: 0; }
.preview-pane { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: grid; gap: 10px; min-width: 0; }
.submit:not([data-step="3"]) .preview-pane { display: none; }
#preview { display: grid; gap: 10px; }
#preview > p { margin: 0; }
.pv-card { width: min(100%, 220px); }
.pv-title { font-family: "Jua", sans-serif; font-size: 1.125rem; margin: 8px 0 0; }
.pv-card .muted { margin: 0; }

/* 운영자에게 */
.lock-line { display: flex; align-items: flex-start; gap: 8px; color: var(--text) !important; }
.lock-line svg { font-size: 20px; margin-top: 3px; }
.inbox-grid { display: grid; gap: 24px; align-items: start; }
#inquiry-form { gap: 14px; }
#inquiry-form .btn { justify-self: start; }
.my-inq { display: grid; gap: 10px; }
.my-inq ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.inq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.inq summary { display: grid; gap: 6px; cursor: pointer; list-style: none; }
.inq summary::-webkit-details-marker { display: none; }
.inq-title { font-weight: 700; }
.inq-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.inq details p { margin: 10px 0 0; }

/* 알림 */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 14px); z-index: 60;
  transform: translate(-50%, 14px); opacity: 0; pointer-events: none;
  background: #2B2350; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 0.875rem; font-weight: 600;
  width: max-content; max-width: calc(100vw - 32px); text-align: center; box-shadow: 0 0 0 1px rgba(255,255,255,.12);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 380px) {
  .countdown.lg .cd-u b { font-size: 1.125rem; padding: 10px 6px 8px; }
  .cd-digits { gap: 4px; }
  .view-toggle a { padding: 0 8px; font-size: 0.75rem; }
  .top { padding: 0 12px; gap: 6px; }
  .page { padding-left: 12px; padding-right: 12px; }
  .logo span { display: none; }
  .act { width: 48px; }
  .act-cap { width: 40px; height: 40px; }
  .next-btn { padding: 0 10px 0 14px; }
  .next-btn small { max-width: 80px; }
  .info-btn { padding: 0 10px; }
}

@media (max-width: 699px) {
  .page-head p { font-size: 0.9375rem; margin-bottom: 12px; }
  .theme-card { padding: 14px 16px; margin: 12px 0 14px; }
  .theme-card h2 { font-size: 1.1875rem; }
  .theme-card .row { margin-top: 10px; gap: 6px; }
  .theme-card .btn { min-height: 38px; padding: 0 14px; font-size: 0.875rem; }
}

@media (max-width: 479px) {
  .top:has(.view-toggle) .logo span { display: none; } /* 머리글에 보기 전환이 있을 때는 로고 글자를 줄인다 */
}

/* ---------- 태블릿·데스크톱 ---------- */
@media (min-width: 700px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .me-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mag-link { grid-template-columns: 128px minmax(0, 1fr); }
  .chip { padding: 0 15px; }
  .post-img { width: 360px; }
}
@media (min-width: 900px) {
  :root { --head-h: 68px; --nav-h: 0px; }
  .top { padding: 0 32px; gap: 12px; }
  .top-nav { display: flex; gap: 2px; margin-left: 18px; }
  .tn-item { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; min-height: 42px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.9375rem; color: var(--muted); }
  .tn-item svg { font-size: 20px; }
  .tn-item:hover { color: var(--text); }
  .tn-item[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
  body[data-route="play"] .tn-item { color: var(--on-night-muted); }
  body[data-route="play"] .tn-item:hover, body[data-route="play"] .tn-item[aria-current="page"] { color: var(--on-night); }
  body[data-route="play"] .tn-item[aria-current="page"] { background: rgba(255,255,255,.1); box-shadow: none; }
  .post-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--primary-bg); color: var(--primary-fg); font-weight: 700; font-size: 0.9375rem; cursor: pointer; }
  body[data-route="play"] .post-btn { background: var(--butter); color: #2B2350; }
  .login-btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--text); font-weight: 700; font-size: 0.9375rem; cursor: pointer; }
  body[data-route="play"] .login-btn { color: var(--on-night); border-color: rgba(255,255,255,.25); }
  .post-btn svg { font-size: 17px; }
  .bottom-nav { display: none; }
  main { padding-bottom: 64px; }
  .toast { bottom: 28px; }
  .page { padding: 8px 32px 0; }
  .page-head h1, .page-title, .article h1, .maker-head h1 { font-size: 2.375rem; }
  .filters { grid-template-columns: minmax(0, 400px) 1fr; align-items: center; column-gap: 20px; }
  .slide { padding: 10px 32px; }
  .kbd-hint { display: flex; align-items: center; gap: 8px; position: fixed; left: 32px; bottom: 28px; margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--on-night-muted); }
  .kbd-hint kbd { display: inline-grid; place-items: center; min-width: 46px; height: 46px; font: inherit; font-size: 1.375rem; color: var(--on-night); border-radius: 10px; border: 1.5px solid rgba(255,255,255,.3); border-bottom-width: 4px; background: rgba(255,255,255,.06); }
  dialog.sheet { margin: 0 0 0 auto; width: 440px; height: 100dvh; max-height: 100dvh; border-radius: 26px 0 0 26px; padding: 0 24px 24px; }
  .submit-grid { grid-template-columns: minmax(0, 560px) 340px; gap: 48px; }
  .submit .preview-pane { display: grid !important; position: sticky; top: 90px; }
  .inbox-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .jam-hero { padding: 32px 36px; }
  .jam-hero h1 { font-size: 2.5rem; }
  .countdown.lg .cd-u b { font-size: 2rem; padding: 16px 10px 14px; }
  .jam-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: start; }
  .jam-hero > * { grid-column: 1; }
  .jam-hero .countdown { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: center; }
  .jam-hero .weeks { grid-column: 2; grid-row: 4; margin: 0; width: 100%; }
  .jam-hero .jam-when { grid-column: 2; grid-row: 5; max-width: 360px; }
  .jam-hero .row { grid-row: 5; }
  .jam-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .crew-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crew-list a { grid-template-columns: 1fr; align-content: start; height: 100%; }
  .crew-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .jam-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .me-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-only { display: none; }
  .record-panel .grass-wrap { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); column-gap: 36px; align-items: end; }
  .record-panel .grass { grid-row: span 2; }
  .record-panel .grass-legend { flex-direction: column; align-items: flex-start; }
  .record-panel .grass-note { font-size: 1rem; }
}
@media (max-width: 899px) {
  .submit[data-step="3"] .preview-pane { order: -1; } /* 모바일은 미리보기를 먼저 보고 공개한다 */
}
@media (min-width: 1100px) {
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .past-jam { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .community { grid-template-columns: minmax(0, 680px) 300px; justify-content: center; gap: 44px; }
  .community-side { display: block; position: sticky; top: 92px; align-self: start; padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- 서비스 추가분: 홍보 표시, 올라온 게임 실행 화면, 로그인, 내 공간 ---------- */
:root { --sky: #BFE3F2; }
.b-6 { background: #FFE9A8; color: #2B2350; }
.ad-tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 1px 8px; font-size: 0.6875rem; font-weight: 700; line-height: 1.6; white-space: nowrap; border: 1px solid currentColor; color: var(--muted); }
body[data-route="play"] .ad-tag { color: var(--on-night-muted); }
.post.is-promo { box-shadow: inset 3px 0 0 var(--butter); }
.stage iframe { display: block; width: 100%; height: 100%; border: 0; background: #1B1630; }
.iframe-bar { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.iframe-bar .btn-mini { background: rgba(27,22,48,.82); color: #F1ECFF; border-color: rgba(255,255,255,.25); }
.login-inline { display: grid; gap: 8px; justify-items: start; padding: 12px 0 0; }
.login-inline p { margin: 0; }
.google-btn { gap: 10px; }
.google-btn svg { width: 20px; height: 20px; }
.report-link { justify-self: start; color: var(--muted); }
.check-line.warn b { color: var(--berry-d); }
.profile-card { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; margin-bottom: 12px; }
.profile-card p { margin: 0; }
.pc-name { font-size: 1.0625rem; }
.my-games { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.my-games li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.my-games .frame, .my-games .cover-default { border-radius: 10px; }
.my-games li > span { display: grid; line-height: 1.35; }
.me-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 20px 0 0; font-size: 0.875rem; color: var(--muted); }
.me-foot a, .me-foot .link { color: inherit; padding: 0; font-size: inherit; }
.inq-reply { background: var(--soda-l); border-radius: 12px; padding: 10px 12px; }
/* AI 심사단 5각형 */
.review { display: grid; gap: 8px; justify-items: center; text-align: center; }
.radar { width: min(100%, 280px); height: auto; overflow: visible; }
.rd-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.rd-area { fill: rgba(242,138,174,.35); stroke: var(--berry); stroke-width: 2; stroke-linejoin: round; }
.rd-label { font-size: 11px; font-weight: 700; fill: var(--text); text-anchor: middle; dominant-baseline: middle; }
.review-total { margin: 0; font-family: "Jua", sans-serif; font-size: 1.75rem; }
.review-total b { font-weight: 400; margin-right: 4px; }
.review-verdict { margin: 0; font-weight: 700; }
.judge-list { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; gap: 6px; text-align: left; }
.judge-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.judge-list li > span { display: grid; line-height: 1.35; }
.judge-score { font-family: "Jua", sans-serif; font-weight: 400; font-size: 1.125rem; }
.score-chip { display: inline-flex; align-items: center; border: 0; border-radius: 999px; padding: 1px 9px; font: inherit; font-size: 0.75rem; font-weight: 700; line-height: 1.6; cursor: pointer; background: rgba(242,138,174,.18); color: var(--berry); box-shadow: inset 0 0 0 1px rgba(242,138,174,.5); }

/* 플레이 화면 오른쪽 광고 자리. 넓은 화면에서만 */
.ad-slot { display: none; }
@media (min-width: 1280px) {
  .ad-slot { display: grid; gap: 8px; position: fixed; right: 32px; top: 50%; transform: translateY(-50%); width: 220px; padding: 22px 20px; border-radius: 20px; border: 1.5px dashed rgba(255,209,102,.45); background: rgba(255,255,255,.04); color: var(--on-night); }
  .ad-slot p { margin: 0; }
  .ad-slot-label { font-size: 0.6875rem; font-weight: 700; color: var(--on-night-muted); }
  .ad-slot-title { font-family: "Jua", sans-serif; font-size: 1.375rem; line-height: 1.3; }
  .ad-slot-desc { font-size: 0.8125rem; color: var(--on-night-muted); }
  .ad-slot .btn { justify-self: start; margin-top: 6px; }
}

/* ---------- 화면 정리 v3: 커뮤니티 가독성, 차분한 표시 ---------- */
.bot-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; color: var(--muted); vertical-align: -3px; margin-left: 2px; }
.bot-mark svg { width: 15px; height: 15px; }
.bot-mark:hover { color: var(--text); background: var(--inset); }
.type-label { display: inline-flex; align-items: center; padding: 0 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; line-height: 1.7; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.community .page-head h1 { margin-bottom: 6px; }
.community .page-head p { font-size: 1rem; margin-bottom: 20px; }
.compose-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; font-size: 1rem; text-align: left; cursor: pointer; box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
.compose-box:hover { border-color: var(--lav); color: var(--text); }
.compose-icons svg { width: 22px; height: 22px; }
.jam-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 14px 0 0; padding: 12px 16px; border-radius: 16px; background: linear-gradient(135deg, var(--theme-a), var(--theme-b)); text-decoration: none; color: var(--text); font-size: 0.9375rem; }
.jam-strip-left { margin-left: auto; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.tab-row { display: flex; gap: 2px; margin: 22px 0 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tab { flex: none; border: 0; background: none; font: inherit; font-size: 0.9375rem; font-weight: 700; color: var(--muted); padding: 10px 12px; cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.tab[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--butter); }
/* 올리기 두 갈래, 사진 첨부, 출시 확인 */
.create-two button { min-height: 84px; }
.create-two b { font-size: 1.0625rem; }
.field-label { display: block; font-weight: 700; margin-bottom: 6px; }
.img-del { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(18,14,34,.75); color: #fff; cursor: pointer; }
.img-del svg { width: 14px; height: 14px; }
.post-imgs { display: grid; gap: 6px; border-radius: 14px; overflow: hidden; }
.post-imgs.n2, .post-imgs.n4 { grid-template-columns: 1fr 1fr; }
.post-imgs.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.post-imgs.n3 a:first-child { grid-row: span 2; }
.post-imgs a { display: block; background: var(--inset); }
.post-imgs img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.post-imgs.n2 img, .post-imgs.n3 img, .post-imgs.n4 img { aspect-ratio: 1 / 1; max-height: none; }
.confirm-box { margin-top: 14px; border-color: var(--butter); }
.avatar.art { background: var(--inset); overflow: hidden; padding: 0; } .avatar.art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 글 읽기: 넓은 폭, 큰 글자, 한 줄 머리 */
.article { max-width: 760px; }
.article h1 { font-size: 2rem; line-height: 1.3; margin: 18px 0 14px; word-break: keep-all; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.byline .name { font-weight: 700; text-decoration: none; }
.byline .muted { margin-left: 4px; }
.prose { word-break: keep-all; }
.prose p { font-size: 1.1875rem; line-height: 1.9; margin: 0 0 1.15em; }
.prose h2 { font-size: 1.5rem; line-height: 1.4; margin: 2em 0 0.6em; }
.fig { margin: 2em 0; display: grid; justify-items: center; gap: 12px; }
.fig img { display: block; width: auto; max-width: 100%; max-height: 560px; height: auto; border-radius: 18px; }
.fig figcaption { font-size: 0.9375rem; color: var(--muted); text-align: center; }
.article .post-imgs { margin: 0 0 1.5em; }
@media (min-width: 900px) { .article h1 { font-size: 2.625rem; } }
.game-link { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--butter); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* 글쓰기: 읽는 화면과 같은 글자 크기로, 문단 사이에 사진 */
.write { max-width: 760px; }
.write-bar { position: sticky; top: var(--head-h); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; background: var(--room); }
.write-bar .back { margin: 0; }
.write-types { margin-top: 4px; }
.write-title { width: 100%; margin: 22px 0 8px; padding: 6px 0; border: 0; background: none; color: var(--text); font: inherit; font-family: "Jua", sans-serif; font-size: 2rem; line-height: 1.3; outline: none; }
.write-title::placeholder { color: var(--muted); opacity: .6; }
.write-tools { position: sticky; top: calc(var(--head-h) + 58px); z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0 12px; background: var(--room); border-bottom: 1px solid var(--line); }
.write-tools label { cursor: pointer; }
.write-tools svg { width: 16px; height: 16px; }
.editor { position: relative; min-height: 50vh; padding: 20px 0 40px; outline: none; }
.editor.is-empty::before { content: attr(data-ph); position: absolute; top: 20px; left: 0; right: 0; font-size: 1.1875rem; line-height: 1.9; color: var(--muted); opacity: .7; pointer-events: none; }
.editor h2 { font-family: "Jua", sans-serif; }
.w-fig { position: relative; }
.w-fig figcaption { min-width: 200px; outline: none; }
.w-fig figcaption:empty::before { content: attr(data-ph); opacity: .6; }
.write-prompt { margin: 8px 0 12px; padding: 12px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.write-prompt summary { cursor: pointer; font-weight: 700; }
.write-prompt textarea { width: 100%; margin-top: 10px; }
.prose p { white-space: pre-line; }
a.more { display: inline-block; font-weight: 700; color: var(--muted); font-size: 0.875rem; }
.inbox-lead { font-size: 1.0625rem; line-height: 1.8; margin: 4px 0 10px; max-width: 34em; }
.pf-photo { display: grid; justify-items: center; gap: 10px; } .pf-photo .row { justify-content: center; }

/* 글 목록: 제목 먼저, 요약 두 줄, 오른쪽 썸네일. 카드마다 분명한 경계 */
.post-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.post-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.post-row:hover { border-color: var(--lav); }
.post-row:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.row-main { display: grid; gap: 7px; min-width: 0; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 0.8125rem; color: var(--muted); }
.row-title { font-size: 1.1875rem; font-weight: 800; line-height: 1.4; word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-excerpt { font-size: 0.9375rem; line-height: 1.65; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; }
.row-excerpt.no-title { font-size: 1.0625rem; color: var(--text); -webkit-line-clamp: 3; }
.row-stats { display: flex; align-items: center; gap: 14px; margin-top: 2px; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.row-stat { display: inline-flex; align-items: center; gap: 4px; }
.row-stat svg { width: 15px; height: 15px; }
.row-tag { font-size: 0.75rem; padding: 0 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.row-thumb { width: 92px; border-radius: 12px; overflow: hidden; }
.row-thumb .frame, .row-thumb .cover-default { border-radius: 12px; }
.is-mag .post-row { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 24px; background: linear-gradient(135deg, var(--theme-a), var(--theme-b)); }
.is-mag .row-title { font-family: "Jua", sans-serif; font-weight: 400; font-size: 1.5rem; }
.is-mag .row-thumb { width: 150px; }
.is-promo .post-row { border-color: var(--butter); }
.news-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 4px; }
.news-row p { margin: 0; font-size: 0.875rem; color: var(--muted); }
.news-row b { color: var(--text); }
.news-row .when { margin-left: 8px; }
.news-thumb { width: 40px; border-radius: 10px; overflow: hidden; }
@media (max-width: 560px) {
  .post-row { padding: 16px; gap: 14px; }
  .row-thumb { width: 72px; }
  .is-mag .row-thumb { width: 96px; }
  .row-title { font-size: 1.0625rem; }
  .is-mag .row-title { font-size: 1.25rem; }
}
.jam-def { font-size: 0.9375rem; color: var(--on-night-muted); max-width: 40em; margin: 6px 0 0; } .jam-def a { color: var(--butter); }
.guide-card { display: grid; gap: 2px; margin: 0 0 22px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, var(--theme-a), var(--theme-b)); color: var(--text); text-decoration: none; } .guide-card b { font-size: 0.8125rem; color: var(--muted); } .guide-card span { font-weight: 800; }
