/* PLAYORA 라면 가게 */
:root {
  --navy: #25324a; --navy-2: #2e3d59; --navy-3: #3b4d6f; --navy-line: #4c6088;
  --d-ink: #fbf3e4; --d-ink-2: #d9dfeb; --d-ink-3: #a9b4c9;
  --paper: #fbf6ec; --paper-2: #f4ead8; --paper-3: #eadcc4; --p-ink: #3b2a24; --p-ink-2: #6d5a4e; --p-ink-3: #9a8578; --p-line: #e3d4bc;
  --acc: #e4572e; --acc-2: #c24420; --acc-ink: #fffaf2;
  --gold: #f5b83d; --gold-2: #d9981c; --mint: #4fae6d; --mint-2: #3f9a57;
  --page: #f7f0e4; --page-ink: #2b2420; --page-2: #6b5d50; --page-line: #e2d5c2;
  --f-body: "IBM Plex Sans KR", "Pretendard", system-ui, -apple-system, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --f-disp: "Do Hyeon", "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --r1: 8px; --r2: 12px; --r3: 16px; --r4: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@supports (color: oklch(0 0 0)) {
  :root {
    --navy: oklch(0.32 0.045 262); --navy-2: oklch(0.36 0.05 262); --navy-3: oklch(0.43 0.058 262); --navy-line: oklch(0.5 0.065 262);
    --d-ink: oklch(0.97 0.02 85); --d-ink-2: oklch(0.9 0.016 262); --d-ink-3: oklch(0.77 0.03 262);
    --paper: oklch(0.975 0.014 85); --paper-2: oklch(0.94 0.026 85); --paper-3: oklch(0.9 0.036 83); --p-ink: oklch(0.29 0.03 40); --p-ink-2: oklch(0.47 0.03 45); --p-line: oklch(0.88 0.035 83);
    --acc: oklch(0.63 0.18 37); --acc-2: oklch(0.55 0.165 37);
    --page: oklch(0.96 0.018 85); --page-line: oklch(0.88 0.028 82);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--page); color: var(--page-ink); font: 400 16px/1.7 var(--f-body); word-break: keep-all; overflow-wrap: anywhere; }
button { font: inherit; color: inherit; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: 0.38; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- 페이지 머리 */
.mast { display: flex; align-items: baseline; gap: var(--s4); padding: var(--s3) clamp(var(--s4), 3vw, var(--s6)); border-bottom: 1px solid var(--page-line); }
.mast-brand { text-decoration: none; font-size: 14px; color: var(--page-2); white-space: nowrap; }
.mast-brand b { font-weight: 700; letter-spacing: 0.1em; color: var(--page-ink); margin-right: 6px; }
.mast-more { margin-left: auto; font-size: 14px; color: var(--page-2); white-space: nowrap; }
.head { max-width: 1240px; margin: 0 auto; padding: var(--s4) clamp(var(--s3), 3vw, var(--s6)) var(--s3); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s4); }
.head h1 { margin: 0; font: 400 clamp(34px, 4.4vw, 50px)/1.1 var(--f-disp); letter-spacing: 0.01em; color: var(--navy); }
.head p { margin: 0; color: var(--page-2); font-size: 15px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(0px, 2vw, var(--s5)); }

/* ---------------------------------------------------------------- 게임 틀 */
.rm { position: relative; width: 100%; height: clamp(560px, calc(100svh - 132px), 860px); background: var(--navy); color: var(--d-ink); overflow: hidden; border-radius: var(--r2);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; font: 400 14px/1.45 var(--f-body); }
@media (max-width: 640px) { .rm { border-radius: 0; height: calc(100svh - 96px); min-height: 560px; } .head { padding-top: var(--s3); } .head p { display: none; } }
html.embed, html.embed body { height: 100%; overflow: hidden; background: var(--navy); }
html.embed .mast, html.embed .head, html.embed .about, html.embed .foot { display: none !important; }
html.embed .wrap { padding: 0; max-width: none; }
html.embed .rm { position: fixed; inset: 0; width: auto; height: auto; min-height: 0; border-radius: 0; }
.rm:fullscreen { border-radius: 0; }
.rm button:focus-visible, .rm [role="button"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.nojs { padding: var(--s6); text-align: center; }
.rm canvas { display: block; }

/* 위 막대 */
.bar { position: absolute; top: 0; left: 0; right: 0; height: 46px; z-index: 6; display: flex; align-items: center; gap: var(--s2); padding: 0 var(--s2) 0 var(--s3); background: var(--navy); border-bottom: 1px solid rgba(0, 0, 0, 0.3); }
.rm.short .bar { height: 40px; }
.bar-l { display: flex; align-items: center; gap: var(--s2); min-width: 0; flex: 1; }
.bar-t { font: 400 22px/1 var(--f-disp); white-space: nowrap; color: var(--d-ink); letter-spacing: 0.01em; flex: none; }
.rm.tiny .bar-t { font-size: 19px; }
.rm.narrow[data-kind="endless"] .bar-t { display: none; }
.bar-r { display: flex; align-items: center; gap: 6px; flex: none; }
.tb { height: 34px; padding: 0 10px; border-radius: var(--r1); border: 1px solid var(--navy-line); background: transparent; color: var(--d-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tb.icon { width: 36px; padding: 0; }
.rm.short .tb { height: 30px; } .rm.tiny .tb.icon { width: 32px; } .rm.tiny .bar-r { gap: 4px; }
.tb svg { width: 18px; height: 18px; flex: none; }
.tb:hover { border-color: var(--d-ink-3); background: rgba(255, 255, 255, 0.07); }
.hud { display: flex; align-items: center; gap: var(--s2); min-width: 0; flex: 1; }
.hc { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px 0 5px; border-radius: 15px; background: var(--navy-2); border: 1px solid var(--navy-line); font: 400 18px/1 var(--f-disp); white-space: nowrap; flex: none; }
.hc canvas { width: 20px; height: 20px; }
.hg { position: relative; flex: 1 1 60px; min-width: 44px; max-width: 240px; height: 12px; border-radius: 6px; background: var(--navy-3); box-shadow: inset 0 0 0 1px var(--navy-line); }
.hg i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: var(--gold); transition: width 0.4s var(--ease); }
.hg .tk { position: absolute; top: -2px; width: 16px; height: 16px; margin-left: -8px; background: var(--d-ink-3); clip-path: polygon(50% 0%, 62% 34%, 98% 36%, 69% 58%, 80% 93%, 50% 72%, 20% 93%, 31% 58%, 2% 36%, 38% 34%); }
.hg .tk.on { background: #fff6cf; }
.hl { font-size: 13px; font-weight: 600; color: var(--d-ink-2); white-space: nowrap; flex: none; }
.rm.narrow .hl { display: none; }
.lives { display: inline-flex; gap: 2px; flex: none; }
.lives canvas { width: 22px; height: 22px; }
.lives canvas.off { opacity: 0.25; filter: grayscale(1); }
.view { position: absolute; top: 46px; left: 0; right: 0; bottom: 0; }
.rm.short .view { top: 40px; }

/* 단추 */
.big { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border: 0; border-radius: 28px; background: var(--acc); color: var(--acc-ink); font: 400 23px/1 var(--f-disp); letter-spacing: 0.01em; box-shadow: 0 4px 0 var(--acc-2); transition: transform 0.12s var(--ease); }
.big:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--acc-2); }
.rm.short .big { min-height: 46px; font-size: 21px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 18px; border-radius: 23px; border: 2px solid var(--p-line); background: #fff; color: var(--p-ink); font-weight: 700; font-size: 15px; }
.btn.pri { border-color: var(--navy); background: var(--navy); color: var(--d-ink); }
.btn.warn { color: #b23a2b; }
.btn.warn.ask { border-color: #b23a2b; background: #fdece8; }
.btn.off { opacity: 0.5; }
.rm.short .btn { height: 40px; }
.modes { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 16px; border-radius: 20px; border: 2px solid var(--p-line); background: #fff; color: var(--p-ink); font: 400 18px/1 var(--f-disp); }
.chip.on { border-color: var(--navy); background: var(--navy); color: var(--d-ink); }
.rm.short .chip { height: 36px; }

/* ---------------------------------------------------------------- 처음 화면 */
.v-title { background: var(--paper); color: var(--p-ink); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); }
.rm.port .v-title { display: flex; flex-direction: column; }
.tt-art { position: relative; min-height: 0; overflow: hidden; }
.rm.port .tt-art { flex: 1 1 auto; min-height: 150px; }
.tt-art > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tt-side { min-width: 0; min-height: 0; padding: var(--s5) clamp(var(--s4), 3vw, var(--s6)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s3); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.rm.port .tt-side { flex: 0 0 auto; padding: var(--s3) var(--s4) var(--s4); align-items: stretch; }
.rm.short .tt-side { padding: var(--s2) var(--s4); gap: var(--s2); }
.tt-t { margin: 0; font: 400 clamp(38px, 5.6vw, 58px)/1 var(--f-disp); color: var(--navy); letter-spacing: 0.01em; }
html:not(.embed) .tt-t { display: none; }
.rm.port .tt-t { font-size: 34px; }
.tt-d { margin: 0; color: var(--p-ink-2); font-size: 15px; max-width: 24em; }
.rm.short .tt-d { display: none; }
.tt-row { display: flex; gap: var(--s2); flex-wrap: wrap; }
.rm.port .tt-row .btn { flex: 1; padding: 0 8px; }
.tt-n { margin: 0; font-size: 13px; color: var(--p-ink-2); }

/* ---------------------------------------------------------------- 단계 고르기 */
.v-map { background: var(--paper); color: var(--p-ink); display: flex; flex-direction: column; }
.mp-top { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); padding: 10px var(--s3); border-bottom: 1px solid var(--p-line); }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px 0 7px; border-radius: 18px; background: #fff; border: 2px solid var(--p-line); font: 400 18px/1 var(--f-disp); white-space: nowrap; }
.pill canvas { width: 22px; height: 22px; }
.sp { flex: 1; }
.rm.short .mp-top { padding: 6px var(--s3); gap: 6px; }
.rm.short .pill { height: 32px; }
.mp-top .btn { height: 40px; padding: 0 14px; }
.mp-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 var(--s3) var(--s4); scrollbar-width: thin; touch-action: pan-y; }
.ch-h { margin: 14px 0 8px; font: 600 14.5px/1.3 var(--f-body); color: var(--p-ink-2); display: flex; gap: 8px; align-items: baseline; }
.ch-h b { font: 400 21px/1 var(--f-disp); color: var(--navy); }
.days { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: var(--s2); }
.rm.port .days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 66px; padding: 6px 2px; border-radius: 14px; border: 2px solid var(--p-line); background: #fff; color: var(--p-ink); transition: transform 0.12s var(--ease); }
.day:hover { transform: translateY(-2px); }
.day b { font: 400 25px/1 var(--f-disp); }
.st3 { display: inline-flex; gap: 1px; }
.st3 .s { width: 14px; height: 14px; fill: var(--paper-3); stroke: var(--p-ink-3); stroke-width: 1.5; stroke-linejoin: round; }
.st3 .s.on { fill: var(--gold); stroke: #a8741a; }
.day.lock { background: var(--paper-2); color: var(--p-ink-3); }
.day .lk { width: 16px; height: 16px; }
.day.cur { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(228, 87, 46, 0.22); }
.day.flame { border-color: var(--acc); }
.day.flame::after { content: ""; position: absolute; top: 5px; left: 6px; width: 9px; height: 9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--acc); }
.day .vd { position: absolute; top: 4px; right: 5px; width: 12px; height: 12px; background: var(--mint); clip-path: polygon(50% 0%, 62% 34%, 98% 36%, 69% 58%, 80% 93%, 50% 72%, 20% 93%, 31% 58%, 2% 36%, 38% 34%); }

/* ---------------------------------------------------------------- 장사 화면 */
.v-play { display: flex; background: var(--navy-2); }
.rm.port .v-play { flex-direction: column; }
.stage { position: relative; flex: 1; min-width: 0; min-height: 0; overflow: hidden; background: #e9dfd0; }
.stage > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.zones { position: absolute; inset: 0; }
.cz, .pz { position: absolute; border-radius: 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pz { touch-action: none; cursor: grab; }
.cz:focus-visible, .pz:focus-visible { outline-offset: -3px; }
.sv { position: absolute; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 16px; background: var(--acc); color: var(--acc-ink); font: 400 21px/1 var(--f-disp); box-shadow: 0 4px 0 var(--acc-2); }
.sv.raw { background: var(--paper-3); color: var(--p-ink-2); box-shadow: 0 4px 0 #cdbb9d; }
.sv.good { background: var(--mint); box-shadow: 0 4px 0 var(--mint-2); animation: svp 0.9s ease-in-out infinite; }
.sv.soggy { background: #d97a3c; box-shadow: 0 4px 0 #b25d24; }
.sv.ask { background: var(--gold); color: #4a3507; box-shadow: 0 4px 0 var(--gold-2); animation: none; }
.sv:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3); }
@keyframes svp { 50% { transform: translateY(-3px); } }
.coach { position: absolute; left: 8px; right: 8px; bottom: 6px; z-index: 3; display: flex; align-items: center; gap: var(--s2); padding: 6px 12px 6px 6px; border-radius: 16px; background: rgba(251, 246, 236, 0.97); color: var(--p-ink); box-shadow: 0 0 0 2px var(--p-ink), 0 4px 0 rgba(0, 0, 0, 0.15); pointer-events: none; }
.coach canvas { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--paper-3); }
.coach p { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.rm.wide .coach { left: 50%; right: auto; transform: translateX(-50%); width: min(620px, calc(100% - 16px)); }
.rm.wide .coach p { font-size: 16px; }
.ring { position: absolute; z-index: 7; border-radius: 18px; box-shadow: 0 0 0 4px var(--gold), 0 0 0 9px rgba(245, 184, 61, 0.35); pointer-events: none; animation: ringp 1s ease-in-out infinite; }
@keyframes ringp { 50% { box-shadow: 0 0 0 6px var(--gold), 0 0 0 15px rgba(245, 184, 61, 0.18); } }

/* 재료 단추 */
.dock { flex: none; display: flex; gap: 6px; padding: var(--s2); background: var(--navy-2); --ih: 54px; }
.rm.land .dock { flex-direction: column; justify-content: center; width: clamp(224px, 30%, 372px); border-left: 1px solid rgba(0, 0, 0, 0.3); }
.rm.port .dock { flex-wrap: wrap; padding: var(--s2) 6px calc(var(--s2) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(0, 0, 0, 0.3); }
.dg { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 6px; min-width: 0; }
.rm.land .dg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rm.land .dg-top { order: 3; } .rm.land .dg-side { order: 4; }
.rm.port .dg-base, .rm.port .dg-top { flex: 1 1 100%; }
.rm.port .dg-soup, .rm.port .dg-side { flex: var(--fg, 1) 1 0; }
.rm.port .dg-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ing { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-width: 0; height: var(--ih); padding: 2px 2px 3px; border: 0; border-radius: var(--r2); background: var(--paper); color: var(--p-ink); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.32); touch-action: none; cursor: grab; transition: transform 0.1s var(--ease); }
.ing canvas { width: min(46px, calc(var(--ih) - 20px)); height: min(46px, calc(var(--ih) - 20px)); pointer-events: none; flex: none; }
.ing span { font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; max-width: 100%; overflow: hidden; pointer-events: none; }
.rm.wide .ing span { font-size: 13.5px; }
.ing.sp { box-shadow: inset 0 -5px 0 var(--c), 0 3px 0 rgba(0, 0, 0, 0.32); padding-bottom: 6px; }
.ing.sd { background: #e6f2df; }
.ing.dmp { background: var(--navy-3); color: var(--d-ink); cursor: pointer; }
.ing.dmp.ask { background: var(--gold); color: #4a3507; }
.ing:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.32); }
.ing.sp:active { box-shadow: inset 0 -5px 0 var(--c), 0 1px 0 rgba(0, 0, 0, 0.32); }
.ghost, .fly { position: absolute; left: 0; top: 0; pointer-events: none; }
.ghost { z-index: 25; width: 60px; height: 60px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.3)); }
.fly { z-index: 8; width: 44px; height: 44px; transition: transform 0.28s var(--ease), opacity 0.28s linear; }

/* ---------------------------------------------------------------- 창 */
.modal { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: var(--s3); background: rgba(20, 26, 40, 0.6); }
.card { position: relative; width: min(470px, 100%); max-height: 100%; overflow: auto; overscroll-behavior: contain; padding: var(--s5) var(--s5) var(--s4); border-radius: var(--r4); background: var(--paper); color: var(--p-ink); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6); scrollbar-width: thin; touch-action: pan-y; }
.card.wide { width: min(600px, 100%); }
.rm.short .card, .rm.narrow .card { padding: var(--s3) var(--s4); }
.card h3 { margin: 0 44px 6px 0; font: 400 28px/1.2 var(--f-disp); color: var(--navy); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.card h3 small { font: 600 13.5px/1.3 var(--f-body); color: var(--p-ink-2); }
.rm.short .card h3 { font-size: 23px; }
.card .lead { margin: 0 0 var(--s3); color: var(--p-ink-2); font-size: 14.5px; line-height: 1.6; white-space: normal; }
.x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--p-ink); display: grid; place-items: center; z-index: 1; }
.x svg { width: 20px; height: 20px; }
.mb { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); align-items: center; }
.mb.stick { position: sticky; bottom: 0; margin: var(--s3) calc(-1 * var(--s2)) calc(-1 * var(--s3)); padding: var(--s3) var(--s2) var(--s3); background: var(--paper); box-shadow: 0 -10px 10px -10px rgba(60, 40, 20, 0.25); }
.mb.stick .big { flex: 1; }
.lab { margin: var(--s3) 0 6px; font-size: 13px; font-weight: 700; color: var(--p-ink-2); }
.lab.new { color: var(--acc-2); }
.goal { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 2px; font-size: 14px; }
.goal b { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; white-space: nowrap; }
.mrow { display: flex; flex-wrap: wrap; gap: 6px; }
.mi { display: inline-flex; flex-direction: column; align-items: center; width: 54px; padding: 4px 0 3px; border-radius: 10px; background: #fff; border: 1px solid var(--p-line); }
.mi canvas { width: 34px; height: 34px; }
.mi em { font-style: normal; font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 1.3; }
.mi.side { background: #e6f2df; }
.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.news li { display: flex; align-items: center; gap: var(--s2); font-size: 14px; line-height: 1.45; }
.news canvas { width: 36px; height: 36px; flex: none; }
.card .modes { margin-top: var(--s3); }
.mdesc { margin: 6px 0 0; font-size: 13px; color: var(--p-ink-2); }
.rec { margin: 0; font: 400 20px/1.3 var(--f-disp); color: var(--navy); }
.stars3big { display: flex; justify-content: center; gap: var(--s2); margin: 2px 0 var(--s2); }
.sb canvas { width: 56px; height: 56px; }
.rm.short .sb canvas { width: 42px; height: 42px; }
.sb.on canvas { animation: spop 0.5s var(--ease) both; animation-delay: var(--d); }
@keyframes spop { 0% { transform: scale(0.2) rotate(-30deg); opacity: 0; } 70% { transform: scale(1.18) rotate(6deg); opacity: 1; } 100% { transform: none; } }
.kv { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.kv th { text-align: left; font-weight: 600; color: var(--p-ink-2); padding: 6px 10px 6px 0; white-space: nowrap; vertical-align: top; }
.kv td { padding: 6px 0; }
.kv td b { font: 400 20px/1 var(--f-disp); color: var(--navy); }
.kv tr + tr { border-top: 1px solid var(--p-line); }
.hr canvas { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; }
.hr span { display: inline-block; margin-right: 10px; white-space: nowrap; }
.gift { display: flex; align-items: center; gap: 6px; margin: var(--s3) 0 0; font-size: 14px; font-weight: 700; color: var(--mint-2); }
.gift canvas { width: 18px; height: 18px; flex: none; }
.wallet { display: flex; align-items: center; gap: 6px; margin: 0 0 var(--s3); font: 400 21px/1 var(--f-disp); }
.wallet canvas { width: 22px; height: 22px; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--navy); margin-bottom: var(--s3); }
.dt { flex: 1; min-width: 0; height: 44px; padding: 0 4px; border: 0; border-radius: var(--r2) var(--r2) 0 0; background: var(--paper-3); color: var(--p-ink-2); font: 400 18px/1 var(--f-disp); }
.dt.on { background: var(--navy); color: var(--d-ink); }
.ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.ur { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: var(--s2) 10px; border-radius: 14px; background: #fff; border: 1px solid var(--p-line); }
.ur canvas { width: 48px; height: 48px; }
.ur canvas[data-k="vip"] { width: 56px; height: 56px; }
.ur-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.ur-t b { font-size: 15.5px; }
.ur-t span { font-size: 13px; color: var(--p-ink-2); }
.pips { display: flex; gap: 4px; margin-top: 4px; }
.pips i { width: 20px; height: 6px; border-radius: 3px; background: var(--paper-3); }
.pips i.on { background: var(--mint); }
.ur-n { font-size: 12.5px; color: var(--p-ink-2); white-space: nowrap; text-align: right; }
.ur-n.done { color: var(--mint-2); font-weight: 700; }
.ur.lock { background: var(--paper-2); }
.ur.lock canvas { opacity: 0.45; filter: grayscale(0.7); }
.ur .btn { height: 42px; padding: 0 14px; }
.q { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-3); font: 400 28px/1 var(--f-disp); color: var(--p-ink-3); }
.dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.di { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 6px 2px; border-radius: var(--r2); border: 2px solid var(--p-line); background: #fff; color: var(--p-ink); white-space: normal; }
.di canvas { width: 52px; height: 52px; }
.di em { font-style: normal; font-size: 12px; font-weight: 600; line-height: 1.25; text-align: center; }
.di small { font-size: 12px; color: var(--p-ink-2); }
.di.on { border-color: var(--mint); background: #eef7ea; }
.di.on small { color: var(--mint-2); font-weight: 700; }
.di.lock { background: var(--paper-2); }
.di.lock canvas { opacity: 0.4; filter: grayscale(0.8); }
.ml { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s3); }
.ml .btn, .ml .big { width: 100%; }
.tgs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s3); }
.tg { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 46px; padding: 0 14px; border-radius: var(--r2); border: 2px solid var(--p-line); background: #fff; color: var(--p-ink); font-weight: 700; }
.tg i { font-style: normal; color: var(--p-ink-3); }
.tg.on { border-color: var(--mint); }
.tg.on i { color: var(--mint-2); }
.how { margin: var(--s2) 0 var(--s3); padding: 0; list-style: none; display: grid; gap: var(--s2); }
.how li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.how canvas { width: 40px; height: 40px; flex: none; }
.toast { position: absolute; left: 50%; top: 54px; z-index: 30; transform: translate(-50%, -8px); max-width: calc(100% - 20px); padding: 8px 16px; border-radius: 18px; background: var(--navy); color: var(--d-ink); font-size: 14.5px; font-weight: 600; line-height: 1.4; text-align: center; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16), 0 8px 20px -10px rgba(0, 0, 0, 0.7); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.rm.short .toast { top: 46px; }
@media (prefers-reduced-motion: reduce) {
  .sv.good, .ring, .sb.on canvas { animation: none; }
  .big, .day, .ing, .toast, .fly, .hg i { transition: none; }
}

/* ---------------------------------------------------------------- 소개 글 */
.about { max-width: 1240px; margin: 0 auto; padding: var(--s6) clamp(var(--s4), 3vw, var(--s6)) var(--s7); display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: var(--s6) clamp(var(--s5), 4vw, var(--s7)); }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }
.about-main { min-width: 0; max-width: 46em; }
.about h2 { margin: var(--s6) 0 var(--s3); font: 400 29px/1.25 var(--f-disp); color: var(--navy); letter-spacing: 0.01em; }
.about h2:first-child { margin-top: 0; }
.about h3 { margin: var(--s5) 0 var(--s2); font: 700 18px/1.4 var(--f-body); color: var(--page-ink); }
.about p, .about li, .about dd { color: #3e332c; }
.about ol, .about ul { padding-left: 1.3em; }
.about li { margin: 6px 0; }
.about dl { margin: 0; }
.about dt { margin-top: var(--s4); font-weight: 700; }
.about dd { margin: 4px 0 0; }
.about .note { padding: var(--s3) var(--s4); border-left: 4px solid var(--navy); background: #fffaf0; font-size: 15px; }
.nb { white-space: nowrap; }
.about .more { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--page-line); font-size: 14.5px; line-height: 2; color: var(--page-2); }
.about-side { min-width: 0; align-self: start; position: sticky; top: var(--s4); padding: var(--s4) var(--s5); border-left: 4px solid var(--acc); background: #fffaf0; }
@media (max-width: 860px) { .about-side { position: static; } }
.about-side h3 { margin-top: var(--s4); }
.about-side h3:first-child { margin-top: 0; }
.keytab { width: 100%; border-collapse: collapse; font-size: 14px; }
.keytab th { text-align: left; font-weight: 600; padding: 6px 10px 6px 0; vertical-align: top; color: var(--page-ink); white-space: nowrap; }
.keytab td { padding: 6px 0; color: var(--page-2); }
.keytab tr + tr { border-top: 1px solid var(--page-line); }
.foot { max-width: 1240px; margin: 0 auto; padding: var(--s5) clamp(var(--s4), 3vw, var(--s6)) var(--s7); border-top: 1px solid var(--page-line); font-size: 13.5px; color: var(--page-2); }
.foot a { margin-right: var(--s4); display: inline-block; }
.foot p { margin: var(--s3) 0 0; }
