/* RONDZA v0.3 — one design system for the website and the app */
:root {
  --ink: #151D25; --night: #0E141A; --card-d: #1D2731; --line-d: #2C3844; --line-d2: #3A4754;
  --ivory: #F4F0E8; --paper: #FBF9F4; --line: #E2DCD0; --line2: #D6CFC2;
  --ice: #A6C8DC; --ice-deep: #87A6BE; --slate: #52677A;
  --text-l: #4A5B6B; --text-d: #B5C2CE; --mute-d: #8FA3B5; --ice-text: #22313F;
  --ok: #17744B; --ok-l: #7FD1A6; --bad: #B3261E; --warn: #8F5208; --strike: #8A4A43;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r: 14px; --r-l: 24px; --r-xl: 28px;
  --gut: 80px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body { margin: 0; font: 500 16px/1.5 var(--font); color: var(--ink); background: var(--ivory); min-height: 100vh; }
body.dark { background: var(--ink); color: var(--ivory); }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ice-deep); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: var(--r); border: 1.5px solid transparent; font: 800 16px var(--font); cursor: pointer; text-decoration: none; background: var(--ice); color: var(--ink); white-space: nowrap; }
.btn:hover { filter: brightness(1.04); }
.btn.dark { background: var(--ink); color: var(--ivory); }
.btn.outline { background: transparent; color: var(--ivory); border-color: var(--line-d2); }
.btn.outline-dark, .btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.dark .btn.secondary { color: var(--ivory); border-color: var(--line-d2); }
.btn.light { background: var(--ivory); color: var(--ink); }
.btn.lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn.small { min-height: 42px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn.huge { min-height: 68px; font-size: 19px; border-radius: 18px; }
.btn.danger { background: transparent; color: var(--bad); border-color: #E2B4AF; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; font: 800 15px var(--font); color: inherit; cursor: pointer; text-decoration: underline; }

/* =================================================================== WEBSITE */
.site { background: var(--night); color: var(--ivory); }
.inner { max-width: 1280px; margin: 0 auto; }
.nav { background: var(--ink); border-bottom: 1px solid #222D38; position: sticky; top: 0; z-index: 20; }
.nav .inner { height: 80px; padding: 0 var(--gut); max-width: calc(1280px + 2 * var(--gut)); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.brand svg { display: block; }
.brand b { font-weight: 800; font-size: 19px; letter-spacing: .28em; }
.nav .links { display: flex; gap: 34px; font-weight: 600; }
.nav .links a { text-decoration: none; color: #D5DEE6; }
.nav .links a:hover, .nav .links a[aria-current] { color: var(--ice); }
.nav .cta { display: flex; align-items: center; gap: 20px; }
.nav .cta a.login { text-decoration: none; font-weight: 600; }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 46px; height: 46px; border: 1px solid var(--line-d); border-radius: 12px; display: grid; place-items: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu .drop { position: absolute; right: 0; top: 56px; width: min(320px, calc(100vw - 32px)); background: var(--ink); border: 1px solid var(--line-d); border-radius: 18px; padding: 10px; display: grid; gap: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.menu .drop a { padding: 14px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.menu .drop a:hover { background: var(--card-d); }
.menu .drop .btn { margin-top: 6px; }

.sec { padding: 120px var(--gut); }
.sec > .inner { display: flex; flex-direction: column; gap: 56px; }
.sec > .inner.g2, .sec > .inner.g3 { display: grid; }
.sec > .inner.cta-row { flex-direction: row; }
.price-rows .tagpill { color: var(--ink); font-size: 13px; }
.sec.ink { background: var(--ink); color: var(--ivory); }
.sec.night { background: var(--night); color: var(--ivory); }
.sec.ivory { background: var(--ivory); color: var(--ink); }
.sec.paper { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.sec.ice { background: var(--ice); color: var(--ink); }
.sec.tight-top { padding-top: 0; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.ink .eyebrow, .night .eyebrow, .dark .eyebrow { color: var(--ice); }
.ice .eyebrow { color: var(--ice-text); }
.display { font-size: clamp(56px, 7.4vw, 108px); line-height: .98; letter-spacing: -0.045em; }
.h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.04em; }
.h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.03; letter-spacing: -0.035em; }
.h3 { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.06; }
.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; }
.ink .lede, .night .lede, .ink .muted, .night .muted { color: var(--text-d); }
.ivory .lede, .paper .lede, .ivory .muted, .paper .muted { color: var(--text-l); }
.ice .lede, .ice .muted { color: var(--ice-text); }
.small-print { font-size: 15px; color: var(--mute-d); }
.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.split > p { max-width: 440px; }
.stack-s { display: flex; flex-direction: column; gap: 16px; }
.stack-m { display: flex; flex-direction: column; gap: 24px; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.center { align-items: center; text-align: center; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.box { border-radius: var(--r-l); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.box.l { background: var(--paper); border: 1px solid var(--line); }
.box.d { background: var(--card-d); border: 1px solid var(--line-d); }
.box.i { background: var(--ice); color: var(--ink); }
.box.k { background: var(--ink); color: var(--ivory); }
.box .t { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.box .n { font-size: 40px; font-weight: 800; color: var(--ice); line-height: 1; }
.box.l .n { color: var(--slate); }
.box.i .n { color: var(--ink); }
.box p { font-size: 17px; line-height: 1.55; }
.box.l p { color: var(--text-l); } .box.d p, .box.k p { color: var(--text-d); } .box.i p { color: var(--ice-text); }
.strike { font-size: 15px; font-weight: 700; color: var(--strike); text-decoration: line-through; }
.more { font-weight: 800; text-decoration: none; }
.k .more, .box.k .more { color: var(--ice); }

/* hero */
.hero { background: var(--ink); padding: 96px var(--gut) 120px; }
.hero .inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.hero .copy { display: flex; flex-direction: column; gap: 28px; }
.hero .lede { color: var(--text-d); max-width: 560px; }
.phones { position: relative; height: 640px; }
.phone { position: absolute; border-radius: 46px; background: #0A0F14; padding: 10px; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.phone > .scr { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; }
.phone.a { left: 40px; top: 70px; width: 270px; height: 560px; transform: rotate(-5deg); }
.phone.b { right: 30px; top: 0; width: 290px; height: 600px; transform: rotate(4deg); }
.scr.ok { background: var(--ok); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: #fff; }
.scr.ok .ring { width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.scr.ok .big { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.scr.ok .pill { font-size: 14px; background: rgba(0,0,0,.2); border-radius: 12px; padding: 8px 14px; margin-top: 8px; }
.scr.door { background: var(--ink); padding: 26px 16px; display: flex; flex-direction: column; gap: 12px; color: var(--ivory); }
.mrow { background: var(--card-d); border-radius: 14px; padding: 12px; display: flex; align-items: center; gap: 10px; }
.mrow > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mrow b { font-size: 14px; } .mrow small { font-size: 12px; color: var(--mute-d); }
.mrow small.i { color: var(--ice); } .mrow small.g { color: var(--ok-l); }
.mrow .in { font-size: 12px; font-weight: 800; background: var(--ice); color: var(--ink); border-radius: 9px; padding: 7px 10px; }
.msearch { height: 40px; border-radius: 12px; background: var(--card-d); border: 1px solid var(--line-d); display: flex; align-items: center; padding: 0 12px; font-size: 13px; color: var(--mute-d); }

.trust { background: var(--ivory); color: var(--ink); padding: 32px var(--gut); }
.trust .inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trust div > span { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; }

.mod-prev { height: 200px; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.mod-prev.dk { background: var(--ink); color: var(--ivory); }
.mod-prev.lt { background: var(--ivory); color: var(--ink); flex-direction: row; align-items: center; gap: 18px; }
.mod-prev .r { background: var(--card-d); border-radius: 12px; padding: 12px; display: flex; justify-content: space-between; font-size: 14px; }
.mod-prev .r b { font-weight: 700; } .mod-prev .r span { color: var(--ice); }
.badge-mini { align-items: center; text-align: center; gap: 8px !important; }
.badge-mini .v { font-size: 12px; letter-spacing: .3em; color: var(--ice); font-weight: 700; }
.badge-mini .x { font-size: 58px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.clock { font-weight: 800; background: var(--ice); color: var(--ink); border-radius: 10px; padding: 4px 14px; font-variant-numeric: tabular-nums; }

.roles-box { background: var(--paper); border: 1px solid var(--line); border-radius: 32px; padding: 64px; }
.role-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.role-tiles div { background: var(--ink); color: var(--ivory); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.role-tiles b { font-size: 22px; } .role-tiles span { font-size: 15px; color: var(--text-d); }

.badge-big { width: 360px; max-width: 100%; height: 480px; border-radius: 40px; background: var(--ink); border: 1px solid var(--line-d); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); margin: 0 auto; }
.badge-big .v { font-size: 14px; letter-spacing: .32em; color: var(--ice); font-weight: 700; }
.badge-big .x { font-size: 120px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.badge-big .who { font-size: 24px; font-weight: 700; }
.badge-big .clock { font-size: 44px; border-radius: 16px; padding: 6px 22px; }
.badge-big .d { font-size: 16px; color: var(--text-d); }

.sol { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; text-decoration: none; }
.sol.i { background: var(--ice); color: var(--ink); } .sol.d { background: var(--card-d); border: 1px solid var(--line-d); color: var(--ivory); }
.sol b { font-size: 26px; } .sol span { font-size: 16px; line-height: 1.5; color: var(--text-d); } .sol.i span { color: var(--ice-text); }

.price-rows { display: flex; flex-direction: column; gap: 12px; }
.price-rows div { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; }
.price-rows b { font-size: 20px; } .price-rows span { font-size: 18px; font-weight: 700; color: var(--slate); }
.price-rows .k { background: var(--ink); color: var(--ivory); border-color: var(--ink); } .price-rows .k span { color: var(--ice); }
.tagpill { font-size: 13px; font-weight: 800; color: var(--ink); background: var(--ice); border-radius: 8px; padding: 3px 8px; margin-left: 8px; vertical-align: 2px; }

.quote { border-top: 1px solid var(--line2); padding-top: 80px; display: grid; grid-template-columns: 3fr 9fr; gap: 24px; }
.quote blockquote { margin: 0; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 17px; color: var(--text-l); }
.quote cite b { color: var(--ink); }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.plan { border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.plan.l { background: var(--paper); border: 1px solid var(--line); }
.plan.k { background: var(--ink); color: var(--ivory); box-shadow: 0 30px 60px rgba(21,29,37,.25); }
.plan .t { font-size: 26px; font-weight: 800; }
.plan .p { font-size: 36px; font-weight: 800; } .plan .p small { font-size: 15px; font-weight: 600; color: var(--slate); }
.plan.k .p small { color: var(--text-d); }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; flex: 1; }
.plan.k ul { border-color: var(--line-d); }
.plan li::before { content: "✓  "; font-weight: 800; color: var(--ok); }
.plan.k li::before { color: var(--ice); }

.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; border-top: 1px solid var(--line2); padding-top: 72px; }
.faq details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-size: 21px; font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--slate); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--text-l); }

.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.paste { background: var(--ink); color: var(--ivory); border-radius: 14px; padding: 16px; font: 15px/1.7 var(--mono); }
.proto { width: 330px; max-width: 100%; margin: 0 auto; border-radius: 48px; background: #0A0F14; padding: 10px; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.proto > div { border-radius: 39px; padding: 28px 20px; display: flex; flex-direction: column; gap: 14px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 40px 0 10px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; color: var(--text-l); }
.prose p + p { margin-top: 12px; }

.footer { background: var(--night); color: var(--ivory); padding: 80px var(--gut) 48px; }
.footer .inner { display: flex; flex-direction: column; gap: 56px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer .cols div { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer .cols a { color: var(--text-d); text-decoration: none; } .footer .cols a:hover { color: var(--ivory); }
.footer .legal { border-top: 1px solid #222D38; padding-top: 28px; display: flex; justify-content: space-between; gap: 40px; font-size: 13px; color: var(--mute-d); }
.footer .legal span:last-child { max-width: 760px; text-align: right; }

@media (max-width: 1080px) {
  :root { --gut: 40px; }
  .nav .links { display: none; }
  .nav .cta .login, .nav .cta .btn { display: none; }
  .menu { display: block; }
  .hero .inner, .g2 { grid-template-columns: 1fr; }
  .g4, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --gut: 20px; }
  .nav .inner { height: 64px; }
  .brand b { font-size: 16px; }
  .sec { padding: 56px var(--gut); }
  .sec > .inner { gap: 28px; }
  .hero { padding: 40px var(--gut) 56px; }
  .hero .copy { gap: 20px; }
  .hero .btns .btn { width: 100%; }
  .phones { height: 440px; }
  .phone { border-radius: 34px; padding: 8px; } .phone > .scr { border-radius: 27px; }
  .phone.a { left: 0; top: 46px; width: 190px; height: 380px; }
  .phone.b { right: 0; top: 0; width: 200px; height: 410px; }
  .scr.ok .ring { width: 66px; height: 66px; } .scr.ok .big { font-size: 30px; } .scr.ok .pill { font-size: 11px; padding: 6px 10px; }
  .scr.door { padding: 18px 12px; gap: 8px; } .mrow { padding: 10px; } .mrow .in { display: none; }
  .trust .inner, .g3, .g4, .plans, .role-tiles { grid-template-columns: 1fr; }
  .trust .inner { gap: 14px; }
  .split, .cta-row, .sec > .inner.cta-row { flex-direction: column; align-items: stretch; gap: 20px; }
  .roles-box { padding: 24px; border-radius: 24px; }
  .box { padding: 22px; }
  .quote, .faq { grid-template-columns: 1fr; padding-top: 40px; }
  .badge-big { width: 280px; height: 380px; } .badge-big .x { font-size: 88px; } .badge-big .clock { font-size: 32px; }
  .footer { padding: 48px var(--gut) 40px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .cols div:first-child { grid-column: span 2; }
  .footer .legal { flex-direction: column; gap: 10px; } .footer .legal span:last-child { text-align: left; }
  .cta-row .btn, .sec.ice .btns .btn { width: 100%; }
}

/* =================================================================== APP */
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 560px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
header.top .brand b { font-size: 16px; }
.dark header.top .brand { color: var(--ivory); }
header.top .brand { color: var(--ink); }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 0 0 20px; scrollbar-width: none; }
.tabs a { flex: none; text-decoration: none; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid var(--line); background: var(--paper); }
.tabs a[aria-current] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.dark .tabs a { background: var(--card-d); border-color: var(--line-d); color: var(--ivory); }
.dark .tabs a[aria-current] { background: var(--ice); color: var(--ink); }
.app main > section, .app main > .card, .app main > form { margin: 0 0 20px; }
.app h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.05; }
.app h2 { font-size: 22px; letter-spacing: -0.02em; }
.app h3 { font-size: 18px; letter-spacing: -0.01em; }
.lead { color: var(--text-l); margin-top: 6px; }
.dark .lead { color: var(--text-d); }
.hint { font-size: 14px; color: var(--text-l); font-weight: 500; }
.dark .hint { color: var(--mute-d); }
.role { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.dark .role { color: var(--ice); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.card.k { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.panel { background: var(--card-d); border: 1px solid var(--line-d); border-radius: var(--r-l); padding: 20px; }
.grid { display: grid; gap: 12px; }
.grid > * { min-width: 0; }
.cols2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.kpi b { display: block; font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 13px; color: var(--text-l); font-weight: 600; }
.kpi.k { background: var(--ink); color: var(--ivory); border-color: var(--ink); } .kpi.k span { color: var(--text-d); }
.dark .kpi { background: var(--card-d); border-color: var(--line-d); } .dark .kpi span { color: var(--mute-d); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 14px; }
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: 600 16px var(--font); color: var(--ink); background: #fff; border: 1.5px solid #CFC7B8; border-radius: 12px; padding: 12px 14px; min-height: 50px; }
textarea { min-height: 160px; resize: vertical; font: 15px/1.6 var(--mono); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; }
.dark input, .dark textarea, .dark select { background: var(--card-d); color: var(--ivory); border-color: var(--line-d2); }
.dark input:focus { border-color: var(--ice); }
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.flash { border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; font-weight: 700; }
.flash.err { background: #FBE6E4; color: #9A2019; }
.flash.ok { background: #E3F3EA; color: #135E3D; }
.flash.info { background: #E4EEF4; color: var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.num { font-variant-numeric: tabular-nums; text-align: right; }
.scroll-x { overflow-x: auto; }
.badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #E9E3D7; color: var(--ink); white-space: nowrap; }
.badge.ok { background: #E3F3EA; color: #135E3D; } .badge.bad { background: #FBE6E4; color: #9A2019; } .badge.warn { background: #FCEFD9; color: #7A4606; } .badge.ice { background: var(--ice); color: var(--ink); }
.linkbox { display: flex; gap: 8px; align-items: center; }
.linkbox code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px; }
details > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
footer.foot { padding: 40px 0 28px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.dark footer.foot { color: var(--mute-d); }
.progress { height: 8px; border-radius: 4px; background: #E2DCD0; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ink); }
.dark .progress, .card.k .progress { background: var(--line-d); } .dark .progress i, .card.k .progress i { background: var(--ice); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { margin: 0; position: relative; }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.checks span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #CFC7B8; background: #fff; font-weight: 700; cursor: pointer; }
.checks input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.checks input:focus-visible + span { outline: 3px solid var(--ice-deep); outline-offset: 2px; }
.tool { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid #CFC7B8; border-radius: 16px; background: #fff; cursor: pointer; margin: 0; }
.tool input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.tool b { display: block; font-size: 17px; } .tool small { font-size: 14px; color: var(--text-l); font-weight: 500; }
.tool.off { opacity: .55; cursor: default; }

/* night list / guest rows */
.nights a { display: block; text-decoration: none; }
.glist { list-style: none; margin: 0; padding: 0; }
.glist li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.glist li:last-child { border-bottom: 0; }
.glist .who { flex: 1; min-width: 0; } .glist .who b { display: block; overflow-wrap: anywhere; } .glist .who small { color: var(--text-l); font-size: 13px; }
.card.k .glist li, .dark .glist li { border-color: var(--line-d); } .card.k .glist small, .dark .glist small { color: var(--mute-d); }

/* door */
.door-search { position: sticky; top: 0; z-index: 5; background: var(--ink); padding: 10px 0 12px; }
.door-search input { min-height: 58px; font-size: 19px; border-color: var(--ice); }
.dg { background: var(--card-d); border: 1px solid var(--line-d); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 10px; }
.dg.done { border-color: #2E5E48; }
.dg .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dg .nm { font-size: 20px; font-weight: 800; overflow-wrap: anywhere; } .dg .ls { font-size: 13px; color: var(--mute-d); white-space: nowrap; }
.dg .segs { display: flex; gap: 5px; } .dg .segs i { flex: 1; height: 9px; border-radius: 5px; background: var(--line-d); max-width: 60px; } .dg .segs i.on { background: var(--ok-l); }
.dg .st { font-size: 15px; color: var(--text-d); font-weight: 600; } .dg.done .st { color: var(--ok-l); }
.dg .acts { display: grid; grid-template-columns: 1fr 1fr 72px; gap: 8px; }
.dg .acts .btn { min-height: 54px; }
.door-tot { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px; }
.door-tot span { background: var(--card-d); border: 1px solid var(--line-d); border-radius: 999px; padding: 8px 12px; font-size: 14px; font-weight: 700; color: var(--text-d); }
.door-tot span b { color: var(--ivory); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ok-l); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok-l); }
.live.off { color: #E8A39D; } .live.off::before { background: #E8A39D; }

/* perks (v0.2) */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.seg input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; margin: 0; }
.seg label { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; border: 2px solid #CFC7B8; border-radius: 14px; background: #fff; font-size: 17px; font-weight: 800; cursor: pointer; }
.seg input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.seg input:focus-visible + label { outline: 3px solid var(--ice-deep); outline-offset: 2px; }
.qty { display: grid; grid-template-columns: 64px 1fr 64px; gap: 8px; align-items: center; }
.qty button { height: 62px; border-radius: 14px; border: 1.5px solid #BDB4A4; background: #fff; font: 700 28px var(--font); color: var(--ink); cursor: pointer; }
.qty input { text-align: center; font-size: 30px; font-weight: 800; min-height: 62px; }
.dark .qty button { background: transparent; color: var(--ivory); border-color: var(--line-d2); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chips button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #BDB4A4; background: transparent; font: 700 14px var(--font); cursor: pointer; color: inherit; }
.dark .chips button { border-color: var(--line-d2); }
.wallet { background: var(--ivory); color: var(--ink); border-radius: var(--r-xl); padding: 22px; }
.wallet .big { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.wallet .qr { background: #fff; border-radius: 14px; padding: 10px; margin: 16px auto 10px; max-width: 280px; }
.wallet .qr svg, .giveqr svg { display: block; width: 100%; height: auto; }
.wallet.off .qr { opacity: .15; }
.giveqr { background: #fff; border-radius: 14px; padding: 10px; max-width: 260px; margin: 12px auto; }
.tree { list-style: none; padding: 0; margin: 8px 0 0; }
.tree li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.tree li small { color: var(--text-l); }
.dark .tree li { border-color: var(--line-d); } .dark .tree li small { color: var(--mute-d); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.drink { background: var(--ice-deep); } .dot.food { background: #C9A46A; }
.cam { position: relative; aspect-ratio: 3/4; max-height: 64vh; width: 100%; background: #0B1117; border-radius: var(--r-xl); overflow: hidden; display: grid; place-items: center; }
.cam video { width: 100%; height: 100%; object-fit: cover; }
.cam .frame { position: absolute; inset: 20% 14%; border: 4px solid var(--ice); border-radius: 22px; pointer-events: none; }
.cam .msg { padding: 24px; text-align: center; color: var(--text-d); }
.overlay { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px; text-align: center; color: #fff; }
.overlay[hidden] { display: none; }
.overlay.ok { background: var(--ok); } .overlay.bad { background: var(--bad); } .overlay.warn { background: var(--warn); } .overlay.net { background: #3D4C5A; }
.overlay .icon { width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; margin-bottom: 18px; }
.overlay .icon svg { width: 66px; height: 66px; }
.overlay h2 { font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; }
.overlay .sub { font-size: 21px; margin: 10px 0 0; font-weight: 700; }
.overlay .who { font-size: 16px; margin-top: 10px; background: rgba(0,0,0,.18); border-radius: 14px; padding: 8px 14px; }
.overlay .who:empty { display: none; }
.overlay .acts { display: grid; gap: 10px; width: 100%; max-width: 360px; margin-top: 30px; }
.overlay .btn { min-height: 60px; font-size: 18px; }
.overlay .btn.light { background: #fff; color: var(--ink); }
.overlay .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.pw { font: 700 18px var(--mono); letter-spacing: .06em; background: #fff; border: 1.5px dashed #BDB4A4; border-radius: 8px; padding: 6px 10px; display: inline-block; }
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth .side { background: var(--ink); color: var(--ivory); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth .side .display { font-size: clamp(44px, 5vw, 76px); }
.auth .form { padding: 48px 20px; display: flex; align-items: center; justify-content: center; }
.auth .form > div { width: 100%; max-width: 440px; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth .side { padding: 24px 20px 32px; gap: 28px; } .auth .side .display { font-size: 40px; } .auth .form { padding: 28px 20px 48px; align-items: flex-start; } }
@media (prefers-reduced-motion: no-preference) { .overlay:not([hidden]) { animation: pop .16s ease-out; } @keyframes pop { from { transform: scale(.97); opacity: .6; } } }
.card.k .hint, .card.k .lead { color: var(--text-d); }
fieldset legend { padding: 0; }
/* v0.4 app additions */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.steps { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 8px; }
.steps li { counter-increment: st; display: flex; align-items: center; gap: 12px; }
.steps li::before { content: counter(st); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--ice); color: var(--ink); }
.steps li.done::before { content: "✓"; background: #7FD1A6; }
.steps li a { color: inherit; font-weight: 700; }
.steps li.done a { opacity: .6; text-decoration: line-through; }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 70px; margin-top: 12px; }
.spark i { flex: 1; background: var(--slate); border-radius: 3px 3px 0 0; min-width: 3px; }
/* v0.4 website additions */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ice); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { left: 8px; }
.nav .links { gap: 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mute-d); }
.crumbs a { color: inherit; text-decoration: none; } .crumbs a:hover { color: var(--ice); }
.crumbs [aria-current] { color: var(--text-d); }
.ivory .crumbs, .paper .crumbs { color: var(--slate); } .ivory .crumbs [aria-current], .paper .crumbs [aria-current] { color: var(--ink); }
.sec.ink .h1 { color: var(--ivory); }
.sol.l { background: var(--paper); border: 1px solid var(--line); color: var(--ink); } .sol.l span { color: var(--text-l); }
.sol:hover { transform: translateY(-2px); } .sol { transition: transform .15s ease; }
.uc, .guide-card { text-decoration: none; color: var(--ink); transition: transform .15s ease, border-color .15s ease; }
.uc:hover, .guide-card:hover { transform: translateY(-2px); border-color: var(--slate); }
.guide-card .t { font-size: 22px; }
.uc .more { margin-top: auto; }
.tool-link { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); background: var(--paper); }
.tool-link b { font-size: 19px; } .tool-link span { color: var(--text-l); } .tool-link:hover { border-color: var(--slate); }
.limits { border-style: dashed; }
.limits a { color: var(--ink); font-weight: 700; }
.story p { font-size: 19px; line-height: 1.7; color: var(--text-l); }
.story p + p { margin-top: 16px; }
.chips-l { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-l a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.chips-l a:hover { border-color: var(--slate); }
.sec > .inner.article { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.toc > b { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.toc > a { color: var(--text-l); text-decoration: none; line-height: 1.35; } .toc > a:hover { color: var(--ink); }
.toc-cta { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--ink); color: var(--ivory); display: flex; flex-direction: column; gap: 8px; }
.toc-cta span { color: var(--text-d); font-size: 14px; line-height: 1.45; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.prose a { color: var(--ink); font-weight: 700; }
.prose code { font-family: var(--mono); font-size: .92em; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose h2:first-child { margin-top: 0; }
.sec > .inner > .prose { max-width: 760px; }
.plans.plans3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer .cols.cols5 { grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1fr; }
.footer .cols div:first-child .small-print { max-width: 260px; line-height: 1.5; }
@media (max-width: 1240px) and (min-width: 1081px) { .nav .links { gap: 18px; font-size: 15px; } }
@media (max-width: 1080px) {
  .sec > .inner.article { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .plans.plans3 { grid-template-columns: 1fr 1fr; }
  .footer .cols.cols5 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 720px) {
  .plans.plans3 { grid-template-columns: 1fr; }
  .footer .cols.cols5 { grid-template-columns: 1fr 1fr; }
  .story p { font-size: 17px; }
  .toc > a { display: none; } .toc > b { display: none; } .toc-cta { margin-top: 0; }
}

/* ---------- v0.5: redeem mode ---------- */
.modes { display: grid; gap: 8px; }
.mode { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid #CFC7B8; border-radius: 16px; background: #fff; cursor: pointer; margin: 0; }
.mode input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.mode b { display: block; font-size: 16px; } .mode small { font-size: 14px; color: var(--text-l); font-weight: 500; }
.mode:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- swipe to redeem ---------- */
.swipe { position: relative; height: 76px; margin: 20px 0 0; border-radius: 999px; background: #151D25; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.swipe[hidden] { display: none; }
.swipe-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #1E8E5A, #2FBF7A); border-radius: 999px; }
.swipe-text { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 64px; color: #F4F0E8; font-weight: 800; font-size: 17px; letter-spacing: .01em; pointer-events: none;
  background: linear-gradient(90deg, rgba(244,240,232,.55) 0%, #F4F0E8 45%, rgba(244,240,232,.55) 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: 0 0; } }
.swipe-knob { position: absolute; left: 4px; top: 4px; width: 68px; height: 68px; border-radius: 50%; border: 0; background: #F4F0E8; color: #151D25; display: grid; place-items: center; cursor: grab; touch-action: none; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.swipe-knob:active { cursor: grabbing; }
.swipe-knob:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
.qrfold { margin-top: 14px; } .qrfold summary { text-align: center; color: #52677A; font-weight: 700; cursor: pointer; }
body.locked { overflow: hidden; }
.proof { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; color: #fff; text-align: center;
  background: radial-gradient(120% 80% at 50% 20%, #2FBF7A 0%, #168A55 55%, #0E6B41 100%); animation: pin .22s ease-out; }
.proof[hidden] { display: none; }
.proof.again { background: radial-gradient(120% 80% at 50% 20%, #F2B24A 0%, #C9831C 60%, #9C620F 100%); }
@keyframes pin { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.proof-in { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.proof-ring { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); position: relative; margin-bottom: 30px; }
.proof-ring::before, .proof-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255,255,255,.7); animation: ring 1.8s ease-out infinite; }
.proof-ring::after { animation-delay: .9s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.proof-h { font-size: 56px; line-height: 1; letter-spacing: -0.01em; margin: 0; color: #fff; }
.proof-h span { font-size: .55em; letter-spacing: .02em; opacity: .92; }
.proof-clock { font: 800 46px/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; margin: 16px 0 0; }
.proof-ago { font-size: 18px; font-weight: 700; margin: 4px 0 0; opacity: .95; }
.proof-meta { font-size: 16px; margin: 6px 0 0; opacity: .9; }
.proof-act { width: 100%; display: grid; gap: 10px; margin-top: 26px; }
.proof .btn.outline { border-color: rgba(255,255,255,.6); color: #fff; }
.proof .btn.light { color: #0E6B41; }
.proof.again .btn.light { color: #7A4606; }
@media (prefers-reduced-motion: reduce) { .swipe-text, .proof-ring::before, .proof-ring::after { animation: none; } }

/* ---------- badges (admin) ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.pills input, .swatches input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; margin: 0; }
.pills label { margin: 0; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid #BDB4A4; background: #fff; font-weight: 800; letter-spacing: .06em; cursor: pointer; }
.pills input:checked + label { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pills input:focus-visible + label, .swatches input:focus-visible + label { outline: 3px solid var(--ice-deep); outline-offset: 2px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.swatches label { margin: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatches input:checked + label { box-shadow: 0 0 0 3px var(--paper, #fff), 0 0 0 5px var(--ink); }
.brow { display: flex !important; align-items: center; gap: 14px; text-decoration: none; }
.bmini { width: 64px; height: 84px; flex: none; border-radius: 12px; background: var(--bc); color: var(--bt); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 4px; text-align: center; overflow: hidden; }
.bmini b { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; } .bmini span { font-size: 9px; font-weight: 700; line-height: 1.2; opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.bcard { background: var(--bc); color: var(--bt); border-radius: 26px; padding: 26px 22px; min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px; }
.bcard-v { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.bcard-l { font-size: clamp(72px, 22vw, 120px); font-weight: 800; line-height: .95; letter-spacing: -0.04em; }
.bcard-h { font-size: 24px; font-weight: 800; } .bcard-a { font-size: 15px; font-weight: 700; opacity: .8; } .bcard-d { font-size: 14px; opacity: .75; margin-top: 6px; }

/* ---------- badge (holder screen) ---------- */
body.badgepage { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--bc); color: var(--bt); font-family: Manrope, system-ui, sans-serif; overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; transition: background .6s, color .6s; }
body.badgepage.invalid { --bc: #5B6570 !important; --bt: #E7EAEE !important; }
#water { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bp { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; padding: max(22px, env(safe-area-inset-top)) 22px max(22px, env(safe-area-inset-bottom)); pointer-events: none; }
.bp-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bp-venue { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; letter-spacing: .14em; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.28); flex: none; }
.bp-live i { width: 10px; height: 10px; border-radius: 50%; background: #1FB36A; box-shadow: 0 0 0 0 rgba(31,179,106,.7); animation: live 1.6s infinite; }
.invalid .bp-live i { background: #E5484D; animation: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(31,179,106,.7); } 70% { box-shadow: 0 0 0 10px rgba(31,179,106,0); } 100% { box-shadow: 0 0 0 0 rgba(31,179,106,0); } }
.bp-mid { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bp-level { display: block; font-size: clamp(96px, 34vw, 220px); font-weight: 800; line-height: .9; letter-spacing: -0.05em; overflow-wrap: anywhere; }
.invalid .bp-level { text-decoration: line-through; text-decoration-thickness: .06em; opacity: .6; }
.bp-holder { font-size: clamp(26px, 8vw, 44px); font-weight: 800; letter-spacing: -0.01em; margin-top: 8px; }
.bp-area { font-size: 17px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; border: 2px solid currentColor; margin-top: 6px; }
.bp-foot { text-align: center; }
.bp-foot p { margin: 0; }
.bp-clock { font-size: clamp(48px, 16vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bp-date { font-size: 17px; font-weight: 700; margin-top: 6px !important; opacity: .85; }
.bp-valid { font-size: 15px; font-weight: 700; margin-top: 10px !important; opacity: .8; }
.invalid .bp-valid { opacity: 1; font-size: 20px; font-weight: 800; }
.bp-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin-top: 18px !important; }
.bp-off { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 5; background: #151D25; color: #fff; padding: 14px 16px; border-radius: 14px; font-weight: 800; text-align: center; }
.bp-off[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .bp-live i { animation: none; } }

/* ---------- v0.6: printable guest cards ---------- */
body.printpage { margin: 0; background: #E9E3D7; font-family: Manrope, system-ui, sans-serif; color: #151D25; }
.pbar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #151D25; color: #F4F0E8; z-index: 2; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; padding: 16px; max-width: 900px; margin: 0 auto; }
.pc { background: #fff; border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto 1fr; gap: 6px 14px; break-inside: avoid; page-break-inside: avoid; border: 1px dashed #BDB4A4; }
.pc-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #52677A; }
.pc-qr svg { display: block; width: 110px; height: 110px; }
.pc-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pc-txt b { font-size: 22px; line-height: 1.1; } .pc-txt span { font-weight: 700; overflow-wrap: anywhere; } .pc-txt small { font-size: 11px; color: #52677A; } .pc-code { font-family: var(--mono, monospace); letter-spacing: .06em; }
@media print {
  @page { size: A4; margin: 10mm; }
  body.printpage { background: #fff; }
  .pbar { display: none; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 6mm; padding: 0; max-width: none; }
  .pc { height: 62mm; box-sizing: border-box; border-radius: 4mm; }
}
.pc-txt .pc-hi { color: #87A6BE; font-weight: 800; font-size: 12px; }

/* ---------- v0.7: work mode + RONDZA Pass ---------- */
.workmode { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0 0 10px; }
.workmode a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: var(--ivory); font-weight: 800; text-decoration: none; }
.workmode a span { color: var(--ice); font-size: 20px; line-height: 1; }
@view-transition { navigation: auto; }
body.passpage { margin: 0; min-height: 100vh; min-height: 100dvh; background: #151D25; color: #F4F0E8; font-family: Manrope, system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
.pp { max-width: 440px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 18px; box-sizing: border-box; }
.pp-top { display: flex; justify-content: space-between; align-items: center; }
.pp-live { display: inline-flex; align-items: center; gap: 8px; font: 700 13px ui-monospace, Menlo, monospace; background: #1D2731; border: 1px solid #26323E; padding: 7px 11px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.pp-live i { width: 8px; height: 8px; border-radius: 50%; background: #2FBF7A; animation: live 1.6s infinite; }
.pp-who h1 { margin: 0; font-size: 34px; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; color: #F4F0E8; }
.pp-who p { margin: 6px 0 0; color: #8FA3B5; font-weight: 600; }
.pp-off { background: #3A2326; color: #F6C9C9; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.pp-stack { display: grid; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: #151D25; border-radius: 22px; padding: 18px 20px 20px; min-height: 156px; margin-top: -54px; overflow: hidden; box-shadow: 0 -10px 24px rgba(0,0,0,.35); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.pcard:first-child { margin-top: 0; }
.pcard:hover, .pcard:focus-visible { transform: translateY(-6px); outline: none; }
.pcard:focus-visible { box-shadow: 0 0 0 3px #F4F0E8; }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 66%); background-size: 260% 100%; animation: sheen 5s linear infinite; pointer-events: none; }
@keyframes sheen { from { background-position: 160% 0; } to { background-position: -100% 0; } }
.pc-row { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
.pc-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pc-big { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pc-what { font-size: 18px; font-weight: 800; }
.pc-sub { font-size: 13px; font-weight: 700; opacity: .7; }
.pc-badge { background: var(--pc, #E2B654); }
.pc-drink { background: linear-gradient(135deg, #BCD8E8, #A6C8DC 60%, #87A6BE); }
.pc-food { background: linear-gradient(135deg, #F2E2C2, #E9D3A8 60%, #D2B784); }
.pcard.off { background: #26323E; color: #8FA3B5; box-shadow: none; }
.pcard.off::after { display: none; }
.pp-hint, .pp-home { margin: 0; text-align: center; color: #8FA3B5; font-size: 13px; font-weight: 600; }
.pp-home { font-size: 12px; opacity: .8; }
.bp-back { pointer-events: auto; color: inherit; font-size: 14px; font-weight: 800; text-decoration: none; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.28); }
@media (prefers-reduced-motion: reduce) { .pcard::after, .pp-live i { animation: none; } }
.presets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.presets button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #CFC7B8; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.presets button b { font-size: 16px; } .presets button small { font-size: 12px; color: var(--text-l); font-weight: 600; }
.presets button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.presets button[aria-pressed="true"] small { color: var(--ice); }
.presets button:focus-visible { outline: 3px solid var(--ice-deep); outline-offset: 2px; }
.topups { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
