
.wheel { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); height: 240px; margin: 4px 0 0; -webkit-mask: linear-gradient(transparent, #000 32%, #000 68%, transparent); mask: linear-gradient(transparent, #000 32%, #000 68%, transparent); }
.wh-col { height: 240px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; text-align: center; outline: none; touch-action: pan-y; }
.wh-col::-webkit-scrollbar { display: none; }
.wh-col:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); border-radius: 16px; }
.wh-pad { height: 96px; }
.wh-it { height: 48px; line-height: 48px; scroll-snap-align: center; font-size: 22px; font-weight: 600; color: var(--ink2); font-variant-numeric: tabular-nums; cursor: pointer; transition: color var(--t-fast) var(--e-brush), font-size var(--t-fast) var(--e-brush); }
.wh-it.on { font-size: 28px; font-weight: 800; color: var(--ink); }
.wheel:not(.wh-set) .wh-it.on { color: var(--ink2); }
.wh-lens { position: absolute; left: 0; right: 0; top: 96px; height: 48px; border-radius: 16px; background: rgba(18, 58, 44, .07); pointer-events: none; }
.wh-nudge { animation: fun-shake var(--t-base) linear; }
.wh-band { min-height: 26px; margin: 12px 0 0; text-align: center; font-size: 16px; font-weight: 700; color: var(--pine2); }
.unknown-btn { display: block; min-height: 48px; margin: 4px auto 0; padding: 0 16px; border: 0; background: none; color: var(--ink2); font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cs { position: fixed; inset: 0; z-index: 60; background: rgba(29, 26, 20, .18); display: flex; justify-content: center; cursor: pointer; }
.cs-in { position: relative; width: 100%; max-width: var(--app, 520px); height: 100%; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.cs-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; }
.cs-bar i { position: absolute; inset: 0; background: var(--seal); transform-origin: left; transform: scaleX(0); }
.cs-full i { transform: scaleX(1) !important; transition: transform var(--t-base) var(--e-brush); }
.cs-wait .cs-bar i { animation: cs-wait 1.2s ease-in-out infinite; }
@keyframes cs-wait { 0%, 100% { transform: scaleX(.92); } 50% { transform: scaleX(.98); } }
.cs-stream { position: absolute; inset: 0; pointer-events: none; }
.cs-stream span { position: absolute; top: 0; writing-mode: vertical-rl; font: 26px/1.6 var(--hanja); color: var(--ink); opacity: .06; white-space: nowrap; letter-spacing: .3em; }
.cs-head { position: relative; z-index: 2; padding: calc(56px + env(safe-area-inset-top)) 24px 0; }
.cs-cap { position: relative; height: 68px; margin: 0; overflow: hidden; font: 800 23px/1.45 var(--sans); letter-spacing: -.02em; }
.cs-cap span { position: absolute; left: 0; right: 0; top: 0; }
.cs-tick { position: relative; height: 26px; margin: 12px 0 0; overflow: hidden; font-size: 16px; font-weight: 600; color: var(--ink2); }
.cs-tick span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.cs-tick .cs-hit { color: var(--seal2); font-weight: 800; }
.cs-pills { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 24px 20px 0; }
.cs-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; border-radius: 20px; transition: transform var(--t-slow) var(--e-seal), background-color var(--t-slow) var(--e-ink), box-shadow var(--t-slow) var(--e-ink); }
.cs-lb { font-size: 14px; font-weight: 700; color: var(--ink2); }
.cs-slot { position: relative; width: 62px; height: 64px; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.cs-strip { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.cs-strip b { display: grid; place-items: center; height: 64px; font: 400 42px/1 var(--hanja); color: var(--ink3); }
.cs-none .cs-slot { background: transparent; border-style: dashed; }
.cs-none .cs-strip b { color: var(--ink2); font: 700 24px/1 var(--sans); }
.cs-read { height: 20px; font-size: 14px; font-weight: 800; opacity: 0; transform: translateY(6px); transition: opacity var(--t-base) var(--e-brush), transform var(--t-base) var(--e-brush); }
.cs-landed .cs-read { opacity: 1; transform: none; }
.cs-landed.cs-col { animation: cs-land var(--t-slow) var(--e-seal); }
@keyframes cs-land { 40% { transform: translateY(-3px); } }
.cs-me.cs-col { background: #fff; box-shadow: var(--shadow-s); transform: translateY(-6px) scale(1.05); animation: none; }
.cs-ring { position: absolute; left: 50%; top: 30px; width: 88px; height: 88px; margin-left: -48px; overflow: visible; pointer-events: none; }
.cs-ring circle { fill: none; stroke: var(--seal); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; transform: rotate(-90deg); transform-origin: 46px 46px; animation: cs-ring 520ms var(--e-ink) forwards; }
@keyframes cs-ring { to { stroke-dashoffset: 0; } }
.cs-seal { position: absolute; top: -10px; right: -6px; }
.cs-gg { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: auto; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) {
  .cs-ring circle { animation: none; stroke-dashoffset: 0; }
  .cs-landed.cs-col { animation: none; }
}
.mo-fly-glyph { position: fixed; z-index: 70; pointer-events: none; line-height: 1; font-weight: 400; will-change: transform; }
.mo-fly-lift { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.mo-fly-card { position: absolute; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font: 400 40px/1 var(--hanja); color: var(--seal); }
.who-name { width: 100%; min-height: 52px; margin: 0 0 16px; }
.who-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.who-chip { min-height: 52px; padding: 0 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-size: 18px; font-weight: 700; color: var(--ink); cursor: pointer; }
.who-chip[aria-pressed="true"] { border-color: var(--pine); background: var(--pine); color: #fff; }
.cf-list { display: grid; gap: 10px; }
.cf-row { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 10px; min-height: 60px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.cf-row span { font-size: 15px; color: var(--ink2); }
.cf-row b { font-size: 17px; font-weight: 800; word-break: keep-all; }
.cf-row i { font-style: normal; font-size: 14px; color: var(--pine2); text-decoration: underline; text-underline-offset: 3px; }
details:not(.ask-free) > summary { transition: opacity var(--t-fast) ease-out; }
details:not(.ask-free) > summary:active { opacity: .6; }
details.mi-u[open] > :not(summary) { animation: mi-rise var(--t-base) var(--e-brush); }
@keyframes mi-rise { from { opacity: 0; transform: translateY(6px); } }
.who-chip { transition: transform var(--t-press) ease-out; }
.who-chip:active { transform: scale(.97); }
#app :is(.btn, .deck-btn, .add a):not(.paybtn-bar *) { transition: transform var(--t-press) ease-out; }
#app :is(.btn, .deck-btn, .add a):not(.paybtn-bar *):active:not(:disabled) { transform: scale(.97); }
#app :is(.book, .pick) { transition: transform var(--t-press) ease-out; }
#app :is(.book, .pick):active { transform: scale(.98); }
#app .chip-pick span { transition: transform var(--t-press) ease-out; }
#app .chip-pick:active span { transform: scale(.95); }
#app .seg label { transition: transform var(--t-press) ease-out; }
#app .seg label:active { transform: scale(.95); }
#app label.check { transition: opacity var(--t-fast) ease-out; }
#app label.check:active { opacity: .6; }
#app :is(.tabbar a, li > a, p > a) { transition: opacity var(--t-fast) ease-out; }
#app :is(.tabbar a, li > a, p > a):active { opacity: .6; }
@media (prefers-reduced-motion: reduce) {
  details:not(.ask-free) > summary { transition: none; }
  details.mi-u[open] > :not(summary) { animation: none; }
  .who-chip, #app :is(.btn, .deck-btn, .add a, .book, .pick, .seg label), #app .chip-pick span { transition: none; }
  .who-chip:active, #app :is(.btn, .deck-btn, .add a, .book, .pick, .seg label):active, #app .chip-pick:active span { transform: none; }
}
::view-transition-old(root) { animation: 90ms ease-out both mi-vt-out; }
::view-transition-new(root) { animation: 160ms ease-out 40ms both mi-vt-in; }
@keyframes mi-vt-out { to { opacity: 0; } }
@keyframes mi-vt-in { from { opacity: 0; } }
.tabbar { view-transition-name: tabbar; }
