:root{--sea:#0e3b5c;--sea-2:#1c5a85;--teal:#139c8e;--teal-soft:#d5f0ec;--teal-ink:#0d6e64;--coral:#e8634f;--coral-soft:#fbe1dc;--coral-ink:#b23e2c;--ground:#eef2f3;--surface:#fff;--ink:#10212e;--muted:#5f6f7a;--line:#e4e9ec;--box:#b7c3ca;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);background:var(--ground);-webkit-tap-highlight-color:transparent;font:16px/1.5 IBM Plex Sans,system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--ground);min-height:100dvh;margin:0}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--sea-2);outline-offset:2px}h1{color:var(--ink);letter-spacing:-.01em;margin:0;font:600 22px/1.2 Sora,system-ui,sans-serif}.muted{color:var(--muted)}.mono{font-variant-numeric:tabular-nums;font-family:IBM Plex Mono,ui-monospace,SF Mono,monospace}.screen{max-width:480px;margin:0 auto;padding:24px 16px}.btn{background:var(--sea);color:#fff;text-align:center;border:0;border-radius:14px;width:100%;min-height:52px;padding:12px 16px;font:600 15px/1.25 Sora,system-ui,sans-serif;text-decoration:none;display:block}.btn small{opacity:.85;margin-top:2px;font:400 12.5px/1.3 IBM Plex Sans,system-ui,sans-serif;display:block}.btn.ghost{background:var(--surface);color:var(--sea);border:1.5px solid var(--sea)}.btn:disabled{opacity:.45;cursor:default}.btn:not(:disabled):active{transform:scale(.98)}.link{min-height:44px;color:var(--sea-2);text-underline-offset:3px;background:0 0;border:0;padding:12px 8px;font-weight:500;text-decoration:underline}.link.inline{min-height:0;padding:0}.link:disabled{opacity:.45}.guest{background:var(--surface);flex-direction:column;max-width:480px;min-height:100dvh;margin:0 auto;display:flex}.appbar{z-index:2;background:var(--surface);border-bottom:1px solid var(--line);color:var(--sea);align-items:center;gap:8px;padding:14px 16px;font:600 15px/1 Sora,system-ui,sans-serif;display:flex;position:sticky;top:0}.appbar small{color:var(--muted);text-align:right;margin-left:auto;font:500 13px/1.2 IBM Plex Sans,system-ui,sans-serif}.mark{background:var(--sea);border-radius:8px;flex:none;place-items:center;width:26px;height:26px;display:grid}.bill{flex-direction:column;gap:6px;padding:16px 16px 8px;display:flex}.sub{color:var(--muted);margin:0;font-size:14.5px}.units{border-top:1px solid var(--line);margin:8px 0 0;padding:0;list-style:none}.unit{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;grid-template-columns:24px 1fr auto;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 4px;font-size:15px;transition:background .15s;display:grid}.unit .box{border:2px solid var(--box);border-radius:7px;place-items:center;width:22px;height:22px;display:grid}.unit .box svg{opacity:0}.unit.mine{background:color-mix(in srgb, var(--coral-soft) 45%, transparent)}.unit.mine .box{background:var(--coral);border-color:var(--coral)}.unit.mine .box svg{opacity:1}.unit.taken{color:#8a979f;cursor:default}.unit.taken .box{border-style:dashed}.unit.paid .box{background:var(--teal);border:0}.unit.paid .box svg,.unit:disabled{opacity:1}.unit .nm{min-width:0}.unit .nm small{color:var(--muted);font-size:12.5px;display:block}.tag{vertical-align:1px;white-space:nowrap;border-radius:6px;margin-left:8px;padding:2px 7px;font-size:11.5px;font-weight:600;display:inline-block}.tag.lock{background:var(--coral-soft);color:var(--coral-ink)}.tag.paid{background:var(--teal-soft);color:var(--teal-ink)}.units.skeleton li{border-bottom:1px solid var(--line);background:linear-gradient(90deg, transparent, var(--ground), transparent) no-repeat;background-size:60% 100%;height:56px;animation:1.2s linear infinite shimmer}@keyframes shimmer{0%{background-position:-100% 0}to{background-position:200% 0}}.totals{flex-direction:column;gap:2px;margin:10px 0 0;display:flex}.totals div{color:var(--muted);justify-content:space-between;font-size:14px;display:flex}.totals dd{margin:0}.totals .big{color:var(--ink);font:600 16px/1.4 Sora,system-ui,sans-serif}.notice{min-height:0;color:var(--coral-ink);margin:0 16px;font-size:14px;font-weight:500}.notice:empty{display:none}.cartbar{padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);align-items:center;gap:12px;margin-top:auto;display:flex;position:sticky;bottom:0;box-shadow:0 -8px 20px -16px #081e3073}.cartinfo{color:var(--muted);flex-direction:column;flex:1;font-size:13.5px;line-height:1.25;display:flex}.cartinfo strong{color:var(--ink);font:600 15px/1.3 Sora,system-ui,sans-serif}.cartinfo .mono{color:var(--ink);font-size:15px}.btn.cartgo{width:auto;min-width:132px;min-height:48px}.pay{padding:12px 16px calc(16px + env(safe-area-inset-bottom));flex-direction:column;flex:1;gap:10px;display:flex}.back{min-height:44px;color:var(--sea-2);background:0 0;border:0;align-self:flex-start;padding:8px 0;font-size:15px;font-weight:500}.mylist{border-top:1px solid var(--line);margin:0;padding:0;list-style:none}.mylist li{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:10px 0;font-size:15px;display:flex}.mylist small{color:var(--muted)}.label{color:var(--muted);margin:6px 0 0;font-size:13px}.payactions{flex-direction:column;gap:8px;margin-top:auto;padding-top:8px;display:flex}.sheet{padding:14px 16px calc(14px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);border-radius:18px 18px 0 0;flex-direction:column;gap:8px;margin-top:auto;display:flex;position:sticky;bottom:0;box-shadow:0 -10px 24px -18px #081e3080}.sum{color:var(--muted);justify-content:space-between;font-size:14.5px;display:flex}.sum.big{color:var(--ink);font:600 17px/1.3 Sora,system-ui,sans-serif}.tips{gap:8px;display:flex}.tips button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--muted);border-radius:11px;flex:1;font-size:15px}.tips button.sel{background:var(--sea);border-color:var(--sea);color:#fff}.lockst{color:var(--muted);text-align:center;margin:0;font-size:13px}.lockst.ok{color:var(--teal-ink)}.lockst.err{color:var(--coral-ink)}.center{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:32px 20px;display:flex}.center .btn{max-width:360px}.amount{margin:0;font-size:26px;font-weight:500}.check{background:var(--teal);color:#fff;border-radius:50%;place-items:center;width:84px;height:84px;font:700 40px/1 Sora,sans-serif;animation:.45s cubic-bezier(.2,1.6,.4,1) both pop;display:grid}.check.bad{background:var(--coral)}@keyframes pop{0%{opacity:0;transform:scale(.4)}}.receipt{border:1px dashed var(--box);text-align:left;border-radius:12px;flex-direction:column;gap:6px;width:100%;max-width:360px;padding:12px 14px;font-size:14px;display:flex}.receipt div{justify-content:space-between;gap:10px;display:flex}.receipt div span:first-child{color:var(--muted)}.receipt div span:last-child{text-align:right;word-break:break-all}.spinner{border:4px solid var(--line);border-top-color:var(--sea);border-radius:50%;width:48px;height:48px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.qrbox{border:1px solid var(--line);background:#fff;border-radius:16px;padding:12px}.qr{max-width:100%;height:auto;display:block}.qr-ph{width:240px;max-width:100%;height:240px}.waiting{color:var(--muted);align-items:center;gap:8px;margin:0;font-size:14px;display:flex}.waiting .dot{background:var(--teal);border-radius:50%;width:8px;height:8px;animation:1.6s infinite blink}@keyframes blink{50%{opacity:.3}}.nameform{flex-direction:column;gap:12px;width:100%;max-width:360px;display:flex}.nameform input{border:1.5px solid var(--line);background:var(--surface);border-radius:12px;width:100%;min-height:52px;padding:12px 14px;font-size:17px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
