:root{--ink:#2b2620;--paper:#f4efe6;--shade:#1418208c;font-family:Pretendard,Apple SD Gothic Neo,Noto Sans KR,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%;color:var(--ink);touch-action:none;-webkit-user-select:none;user-select:none;background:#1b2747;margin:0;overflow:hidden}#app{position:fixed;inset:0}canvas.scene{width:100%;height:100%;display:block}footer{left:0;right:0;bottom:calc(68px + env(safe-area-inset-bottom));color:#fff;text-shadow:0 1px 2px #000000b3;pointer-events:none;z-index:1;flex-wrap:wrap;gap:4px 12px;padding:6px 12px;font-size:12px;display:flex;position:absolute}footer .status{color:#ffe2a8}.fallback{background:var(--paper);text-align:center;border-radius:12px;max-width:420px;margin:20vh auto 0;padding:24px;line-height:1.6}.debug{top:calc(104px + env(safe-area-inset-top));color:#e8e8e8;touch-action:auto;background:#0009;border-radius:8px;width:min(320px,100% - 16px);padding:8px 10px;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;position:absolute;right:8px}.debug label{align-items:center;gap:6px;margin:4px 0;display:flex}.debug input[type=range]{flex:1}.debug pre{white-space:pre-wrap;margin:6px 0 0}.pick-card{left:50%;bottom:calc(var(--notice-h,170px) + 8px);max-height:calc(100% - 64px - env(safe-area-inset-top) - var(--notice-h,170px) - 16px);z-index:5;background:var(--paper);width:min(360px,100% - 32px);color:var(--ink);touch-action:auto;border-radius:14px;padding:16px;position:absolute;overflow:auto;transform:translate(-50%);box-shadow:0 8px 24px #00000040}.pick-card h2{margin:0 0 8px;font-size:20px}.pick-card .portrait{float:right;background:radial-gradient(circle at 50% 60%,#efe3c8,#d8c6a0);border-radius:12px;width:96px;height:96px;margin:-8px -6px 0 8px}.pick-card .legend{color:#5a4fb0;margin:0 0 4px;font-size:12px}.pick-card .badge{color:#b0473a;font-size:12px;font-weight:400}.pick-card .tape{background:repeating-linear-gradient(90deg,#f5d76e 0 9px,#3b3326 9px 10px);border-radius:4px;height:22px;margin:4px 0 10px;position:relative;overflow:hidden}.pick-card .tape-bar{background:#3b332640;width:0;transition:width .8s ease-out;position:absolute;inset:0 auto 0 0}.pick-card .tape span{font-size:13px;font-weight:600;position:absolute;top:1px;right:6px}.pick-card p{margin:0 0 12px;line-height:1.5}.pick-card .buttons{gap:8px;display:flex}.pick-card button{white-space:nowrap;color:#fff;min-width:0;min-height:44px;font:inherit;background:#2f4a6b;border:0;border-radius:10px;flex:1;padding:0 6px;font-size:15px;font-weight:600}.pick-card button[data-testid=pick-photo]{color:var(--ink);background:#e8b04a;flex:.8}.pick-card button+button{background:#6d8a5a}.toast{color:#fff;pointer-events:none;background:#0009;border-radius:999px;padding:8px 14px;font-size:14px;position:absolute;top:25%;left:50%;transform:translate(-50%)}#app.flash:after{content:"";pointer-events:none;background:#fff;animation:.4s ease-out forwards flash;position:absolute;inset:0}@keyframes flash{0%{opacity:.9}to{opacity:0}}footer{flex-direction:column;gap:2px;font-size:11px;line-height:1.45}footer div{flex-wrap:wrap;gap:2px 10px;display:flex}footer button.link{color:#bfe3ff;font:inherit;pointer-events:auto;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.sheet{inset:calc(64px + env(safe-area-inset-top)) 16px auto;max-width:420px;max-height:calc(100% - 64px - env(safe-area-inset-top) - var(--notice-h,170px) - 10px);z-index:5;background:var(--paper);color:var(--ink);touch-action:auto;border-radius:14px;margin:0 auto;padding:16px 16px 12px;line-height:1.55;position:absolute;overflow:auto;box-shadow:0 8px 24px #00000040}.sheet h2{margin:0 0 8px;font-size:18px}.sheet ol{margin:0;padding-left:20px}.sheet ul{margin:8px 0 0;padding:0;list-style:none}.sheet li{border-top:1px solid #2b26201f;padding:8px 0}.sheet p{margin:0}.sheet .totals{gap:16px;font-weight:600;display:flex}.sheet .sub{color:#6b6156;font-size:13px}.sheet .warn{color:#b0473a;margin-bottom:8px;font-size:13px}.sheet button.close{color:#fff;width:100%;min-height:44px;font:inherit;background:#2f4a6b;border:0;border-radius:10px;margin-top:12px;font-weight:600}.banner{top:calc(44px + env(safe-area-inset-top));max-width:calc(100% - 24px);color:var(--ink);background:#ffecaaf2;border-radius:10px;align-items:center;gap:10px;padding:8px 12px;font-size:13px;display:flex;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #0003}.banner button{color:#fff;font:inherit;background:#2f4a6b;border:0;border-radius:8px;flex:none;padding:4px 10px;font-weight:600}footer .version{opacity:.6}footer a.link{color:#bfe3ff;pointer-events:auto}.sheet textarea{width:100%;font:inherit;resize:vertical;border:1px solid #2b262040;border-radius:8px;margin:8px 0;padding:8px}.sheet button.primary{color:#fff;min-height:40px;font:inherit;background:#6d8a5a;border:0;border-radius:10px;padding:0 18px;font-weight:600}.sheet [data-testid=bug-result]{margin-top:8px;font-size:13px;display:block}.entry{padding:max(28px, env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));color:#fff;touch-action:auto;background:#1b2747;position:absolute;inset:0;overflow:auto}.entry>:not(.entry-backdrop){max-width:440px;margin-left:auto;margin-right:auto;position:relative}.entry h1{margin-top:0;margin-bottom:16px;font-size:22px}.entry-regions{flex-direction:column;gap:10px;display:flex}.entry-region{background:var(--paper);width:100%;color:var(--ink);font:inherit;text-align:left;border:2px solid #0000;border-radius:14px;flex-direction:column;gap:2px;padding:12px 14px;font-size:14px;line-height:1.45;display:flex}.entry-region.on{border-color:#ffd27a;box-shadow:0 0 0 3px #ffd27a59}.entry-region strong{font-size:16px}.entry-region .tide{color:#2f4a6b;font-weight:600}.entry-region .crowd,.entry-region .tag{color:#6b6458;font-size:13px}.entry-source{opacity:.8;margin-top:16px;font-size:12px}.sheet .postcard-img{-webkit-touch-callout:default;border-radius:6px;width:100%;height:auto;display:block;box-shadow:0 2px 8px #00000026}.sheet button.primary{width:100%;min-height:44px;color:var(--ink);font:inherit;background:#e8b04a;border:0;border-radius:10px;margin:12px 0 6px;font-weight:700}.sheet a.link{color:#2f4a6b;text-align:center;margin:2px 0 10px;font-weight:600;display:block}.sheet .dex-progress{margin-bottom:8px;font-weight:600}.dex-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;display:grid}.dex-tile{color:var(--ink);font:inherit;cursor:pointer;background:radial-gradient(circle at 50% 40%,#efe3c8,#dccaa5);border:0;border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;display:flex}.dex-tile img{width:64px;height:64px}.dex-tile .q{color:#2b26204d;place-items:center;width:64px;height:64px;font-size:28px;font-weight:700;display:grid}.dex-tile.unknown{cursor:default;background:#2b262014}.dex-tile .name{text-align:center;word-break:keep-all;font-size:12px;line-height:1.3}.dex-tile.unknown .name{color:#2b262073}.sheet .dex-portrait{background:radial-gradient(circle at 50% 60%,#efe3c8,#d8c6a0);border-radius:14px;width:160px;height:160px;margin:0 auto 8px;display:block}.sheet .dex-section{border-top:1px solid #2b26201f;padding:8px 0;font-size:14px}.sheet .dex-h{margin-bottom:2px;font-weight:700}.sheet button.secondary{width:100%;min-height:40px;color:var(--ink);font:inherit;background:0 0;border:1px solid #2b262033;border-radius:10px;margin:0 0 8px;font-weight:600}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.icon{flex:none;width:22px;height:22px;display:inline-flex}.icon svg{width:100%;height:100%}.hud-pill{top:calc(10px + env(safe-area-inset-top));color:var(--ink);white-space:nowrap;background:#f4efe6e6;border-radius:999px;align-items:center;gap:2px;padding:4px;display:flex;position:absolute;box-shadow:0 2px 10px #0000002e}.hud-left{left:10px}.hud-right{right:10px}.hud-pill button{min-height:38px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:4px;padding:0 10px;font-size:15px;font-weight:700;display:inline-flex}.hud-pill button:active{background:#2b26201a}.hud-place .icon-chevron{opacity:.6;width:16px;height:16px}.hud-pill .hud-icon{justify-content:center;width:38px;padding:0}.hud-presence{opacity:.85;align-items:center;gap:4px;padding:0 8px 0 6px;font-size:13px;font-weight:600;display:inline-flex}.hud-presence .icon{width:18px;height:18px}.hud-bar{left:50%;bottom:calc(10px + env(safe-area-inset-bottom));background:#f4efe6eb;border-radius:20px;gap:2px;padding:4px;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 2px 12px #0003}.hud-bar button{min-width:72px;color:var(--ink);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:6px 8px 5px;font-size:12px;font-weight:600;display:flex}.hud-bar button:active{background:#2b26201a}.hud-bar [data-testid=hud-blink]{background:#ffd66ebf}.menu-item{width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:#2b26200f;border:0;border-radius:12px;margin:0 0 8px;padding:12px 14px;font-size:15px;font-weight:600;text-decoration:none;display:block}.menu-name{background:#2b26200f;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px;padding:6px 6px 6px 14px;font-weight:600;display:flex}.sheet .menu-name button.secondary{white-space:nowrap;flex:none;width:auto;margin:0;padding:8px 12px}.menu-name span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}@media (width<=420px){.hud-bar button{min-width:64px;padding:6px 4px 5px}.hud-place{max-width:46vw}.hud-place span:not(.icon){text-overflow:ellipsis;overflow:hidden}}.entry-backdrop{pointer-events:none;position:fixed;inset:0}.entry-backdrop-svg{width:100%;height:100%;display:block}.entry-backdrop .wave{animation:7s ease-in-out infinite alternate entry-wave}.entry-backdrop .w2{animation-duration:9s;animation-direction:alternate-reverse}@keyframes entry-wave{0%{transform:translate(-14px)}to{transform:translate(14px)}}@media (prefers-reduced-motion:reduce){.entry-backdrop .wave{animation:none}}.entry-brand{text-align:center;text-shadow:0 2px 12px #00000059;margin-bottom:18px}.entry-logo{letter-spacing:.06em;margin:4px 0 0;font-size:44px;font-weight:800}.entry-tagline{opacity:.92;margin:2px 0 0;font-size:14px}.entry h1{text-shadow:0 1px 8px #00000059;font-size:17px}.entry-region{-webkit-backdrop-filter:blur(6px);background:#f4efe6e0;box-shadow:0 6px 18px #0000002e}.entry-region .head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.entry-region .mulddae{color:#2f4a6b;background:#2f4a6b1a;border-radius:999px;flex:none;padding:2px 8px;font-size:12px;font-weight:700}.entry-source{text-shadow:0 1px 6px #00000080}.basket-detail{background:#2b26200f;border-radius:12px;align-items:center;gap:12px;margin:4px 0 10px;padding:8px;display:flex}.basket-picture{background:radial-gradient(circle at 50% 60%,#efe3cc,#ddcdb0);border-radius:10px;flex:none;width:108px;height:108px}.basket-detail div{flex-direction:column;gap:2px;display:flex}.basket-detail strong{font-size:18px}.basket-detail span{color:#6b6458;font-size:15px;font-weight:600}.basket-count{margin:0 0 6px;font-weight:600}.basket-grid{background:repeating-linear-gradient(90deg,#6e51301f 0 2px,#0000 2px 10px),#e8d7b6;border-radius:12px;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:6px;max-height:260px;padding:6px;display:grid;overflow:auto}.basket-tile{aspect-ratio:1;font:inherit;cursor:pointer;background:#ffffff73;border:2px solid #0000;border-radius:10px;flex-direction:column;justify-content:flex-end;align-items:center;padding:2px 2px 3px;display:flex;position:relative;overflow:hidden}.basket-tile.on{background:#fffc;border-color:#e8b04a}.basket-tile img{object-fit:contain;transform-origin:50% 65%;flex:1;width:118%;min-height:0}.basket-tile .size{color:#6b5a44;font-size:10px;font-weight:700}.basket-tile.newest{animation:.5s ease-out basket-drop}@keyframes basket-drop{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.basket-tile.newest{animation:none}}.hud-place-text{flex-direction:column;align-items:flex-start;line-height:1.15;display:inline-flex}.hud-steps{opacity:.7;font-size:11px;font-weight:600}.hud-hint{top:calc(60px + env(safe-area-inset-top));color:#fff;text-shadow:0 1px 2px #0006;pointer-events:none;background:#141c288c;border-radius:999px;align-items:center;gap:8px;max-width:calc(100% - 24px);padding:6px 8px 6px 14px;font-size:13px;font-weight:600;display:flex;position:absolute;left:50%;transform:translate(-50%)}.hud-hint[hidden]{display:none}.hud-hint span{padding-right:6px}.hud-hint button{color:var(--ink);font:inherit;text-shadow:none;white-space:nowrap;pointer-events:auto;cursor:pointer;background:#ffd66e;border:0;border-radius:999px;flex:none;padding:6px 12px;font-size:13px;font-weight:700}#app:has(.sheet:not([hidden])) .hud-hint{display:none}#app.sky-mode .hud-left,#app.sky-mode .hud-right,#app.sky-mode .hud-bar{display:none}.move-list{flex-direction:column;gap:8px;margin:4px 0 8px;display:flex}.move-region{color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:#2b26200f;border:2px solid #0000;border-radius:12px;flex-wrap:wrap;align-items:center;gap:2px 8px;padding:12px 14px;display:flex}.move-region strong{font-size:16px}.move-region .tide{color:#2f4a6b;flex-basis:100%;font-size:13px;font-weight:600}.move-region.here{background:#e8b04a1f;border-color:#e8b04a}.move-region .here-badge{color:var(--ink);background:#e8b04a;border-radius:999px;padding:1px 8px;font-size:12px;font-weight:700}.hud-bar:has([data-testid=hud-sky]:not([hidden])) button{min-width:60px}@media (width<=420px){.hud-bar:has([data-testid=hud-sky]:not([hidden])) button{min-width:0;padding:6px 7px 5px}}.hud-bar button[hidden]{display:none}.sheet .links{gap:8px;margin:12px 0;display:grid}.sheet a.donate{color:var(--ink);text-align:center;background:#e8b04a;border-radius:10px;padding:12px 14px;font-weight:700;text-decoration:none;display:block}.sheet .qrs{display:none}@media (hover:hover) and (pointer:fine){.sheet .links.has-qr>a{display:none}.sheet .qrs{flex-wrap:wrap;justify-content:center;gap:12px 20px;display:flex}}.sheet figure.qr{text-align:center;margin:0}.sheet figure.qr img{background:#fff;border-radius:8px;margin:0 auto 4px;display:block}.sheet figure.qr figcaption{font-size:13px;font-weight:600}.sheet .qr-hint{text-align:center;opacity:.75;flex-basis:100%;margin:0;font-size:12px}
