/* Kovaryn ONE: mobile-first app shell. On wide screens the app sits in a phone column next to an intro. */
.onepage { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); background: radial-gradient(1000px 600px at 80% -10%, rgba(43,255,136,.12), transparent 60%), var(--void); }
.one-side { display: none; }
@media (min-width: 1000px) {
  .onepage { grid-template-columns: minmax(0, 1fr) 460px minmax(0, .4fr); gap: 56px; align-items: center; padding: 32px; }
  .one-side { display: grid; gap: 18px; justify-self: end; max-width: 460px; }
  .phone { height: min(900px, calc(100svh - 64px)); border-radius: 44px; border: 1px solid var(--line-strong); box-shadow: 0 60px 120px -40px rgba(43,255,136,.25), 0 0 0 10px #0B0D0C; overflow: hidden; }
}
.one-side__back { color: var(--ash); font-size: 14px; }
.one-side img { border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(43,255,136,.5); }
.one-side__title { font-size: clamp(40px, 4vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.one-side__lede { color: var(--ash); font-size: 18px; }
.one-side__list { list-style: none; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.one-side__list li { color: var(--ash); font-size: 15px; }
.one-side__list b { display: block; color: var(--ink); }
.one-side__qr { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: #090B0A; }
.one-side__qr canvas { width: 132px; height: 132px; border-radius: 10px; background: #fff; padding: 6px; }
.one-side__qr p { font-size: 14px; color: var(--ash); }
.one-side__qr b { color: var(--ink); }

.phone { position: relative; display: flex; flex-direction: column; min-height: 100svh; background: #050606; }
@media (min-width: 1000px) { .phone { min-height: 0; } }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(5,6,6,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar__brand { display: flex; align-items: center; gap: 10px; font: 800 15px/1 var(--wordmark); letter-spacing: .2em; }
.topbar__brand img { border-radius: 8px; }
.topbar__install { margin-left: auto; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--signal); background: none; color: var(--signal); font-size: 13px; cursor: pointer; }
.topbar__me { margin-left: auto; }
.topbar__install:not([hidden]) + .topbar__me { margin-left: 6px; }
.view { flex: 1; overflow-y: auto; padding: 18px 16px 110px; outline: none; }
@media (min-width: 1000px) { .view { padding-bottom: 96px; } }

/* Tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 8px 8px max(10px, env(safe-area-inset-bottom)); background: rgba(5,6,6,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .tabbar { position: absolute; } }
.tabbar a { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--ash); padding: 4px 0; }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"] .ti { background: var(--signal); }
.ti { width: 24px; height: 24px; background: var(--ash); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ti--wallet { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='3'/%3E%3Cpath d='M16 12.5h2M6 6l9-3 1.5 3'/%3E%3C/svg%3E"); }
.ti--explore { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.ti--visits { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ti--biz { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10l1.5-5h13L20 10M4 10v10h16V10M4 10h16M9 20v-5h6v5'/%3E%3C/svg%3E"); }
.ti--qr { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Cpath d='M14 14h3v3h-3zM18 18h3v3h-3z' fill='black'/%3E%3C/svg%3E"); }
.tabbar__pass { align-self: start; }
.tabbar__pass .ti { width: 58px; height: 58px; margin-top: -26px; border-radius: 20px; background: var(--signal) !important; -webkit-mask: none; mask: none; position: relative; box-shadow: 0 10px 30px -8px rgba(43,255,136,.8), 0 0 0 5px #050606; }
.tabbar__pass .ti::after { content: ""; position: absolute; inset: 15px; background: #03130A; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

/* Common blocks */
.h-app { font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.sub { color: var(--ash); font-size: 15px; margin-top: 6px; }
.sect-t { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 12px; font-weight: 600; font-size: 17px; }
.sect-t a, .sect-t button { font-size: 14px; color: var(--signal); font-weight: 500; background: none; border: 0; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 16px; border: 0; background: var(--signal); color: var(--on-signal); font-weight: 600; font-size: 16px; cursor: pointer; transition: transform .1s, opacity .2s; width: 100%; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: var(--raise); color: var(--ink); border: 1px solid var(--line-strong); }
.btn--sm { min-height: 40px; font-size: 14px; border-radius: 12px; width: auto; padding: 0 14px; }
.btn--danger { background: none; color: var(--red); border: 1px solid rgba(248,113,113,.4); }
.btns { display: grid; gap: 10px; margin-top: 16px; }
.btns--row { grid-template-columns: 1fr 1fr; }
.panel { border-radius: 22px; border: 1px solid var(--line); background: #0B0D0C; padding: 18px; }
.panel + .panel { margin-top: 12px; }
.muted-s { color: var(--ash); font-size: 13px; }
.empty { text-align: center; padding: 36px 20px; border-radius: 22px; border: 1px dashed var(--line-strong); color: var(--ash); }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.empty .btn { margin-top: 16px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 12px/1.3 var(--mono); background: var(--raise); color: var(--ash); }
.tag--demo { background: rgba(245,184,75,.14); color: #FFD88A; }
.tag--ok { background: var(--signal-deep); color: #C8FFE0; }
.tag--warn { background: rgba(245,184,75,.14); color: #FFD88A; }
.tag--bad { background: rgba(248,113,113,.12); color: #FFB4B4; }
.input-a { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--graphite); color: var(--ink); font-size: 16px; }
.input-a:focus { outline: 2px solid var(--signal); border-color: var(--signal); }
textarea.input-a { min-height: 90px; padding: 12px 16px; resize: vertical; }
.fld { display: grid; gap: 6px; margin-top: 12px; }
.fld > span { font-size: 14px; color: var(--ash); }
.ferr { color: var(--red); font-size: 13px; }
.ferr:empty { display: none; }
.chips-a { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips-a button { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--ash); font-size: 14px; cursor: pointer; }
.chips-a button[aria-pressed="true"] { background: var(--ink); color: var(--void); border-color: var(--ink); }

/* Hues */
.hue-signal { --h: var(--signal); } .hue-coral { --h: var(--coral); } .hue-pink { --h: var(--pink); } .hue-blue { --h: var(--blue); } .hue-gold { --h: var(--gold); }

/* Welcome (guest) */
.welcome { text-align: center; padding: 20px 4px; }
.welcome__art { position: relative; height: 210px; margin: 6px auto 18px; width: 260px; }
.welcome__art .mini { position: absolute; width: 190px; height: 118px; border-radius: 18px; left: 35px; padding: 14px; text-align: left; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.welcome__art .mini:nth-child(1) { top: 0; transform: rotate(-8deg); background: linear-gradient(135deg, #3B2A07, #1A1405); border: 1px solid #5A4512; }
.welcome__art .mini:nth-child(2) { top: 40px; transform: rotate(5deg); background: linear-gradient(135deg, #0D1D3D, #070D1C); border: 1px solid #22396B; }
.welcome__art .mini:nth-child(3) { top: 80px; background: linear-gradient(135deg, #0E3B24, #06140C); border: 1px solid #1E6A41; }
.welcome__art .mini b { font-size: 14px; }
.welcome__art .mini i { display: flex; gap: 5px; margin-top: 40px; }
.welcome__art .mini i::before, .welcome__art .mini i::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.8); box-shadow: 19px 0 0 rgba(255,255,255,.8), 38px 0 0 rgba(255,255,255,.25), 57px 0 0 rgba(255,255,255,.25); }
.welcome__art .mini i::after { display: none; }
@media (prefers-reduced-motion: no-preference) { .welcome__art .mini { animation: floaty 5s ease-in-out infinite; } .welcome__art .mini:nth-child(2) { animation-delay: -1.6s; } .welcome__art .mini:nth-child(3) { animation-delay: -3.2s; } }
@keyframes floaty { 50% { translate: 0 -6px; } }
.welcome h1 { font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.welcome p { color: var(--ash); margin: 10px auto 0; max-width: 32ch; }
.feats-a { display: grid; gap: 10px; margin: 22px 0 6px; text-align: left; }
.feats-a div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #0B0D0C; border: 1px solid var(--line); font-size: 15px; }
.feats-a i { font-style: normal; font-size: 20px; }
.feats-a small { display: block; color: var(--ash); font-size: 13px; }

/* Wallet */
.hello-a { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.month { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(43,255,136,.08), transparent 60%), #0B0D0C; }
.month div { padding: 14px; display: grid; gap: 2px; }
.month div + div { border-left: 1px solid var(--line); }
.month b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.month small { color: var(--ash); font-size: 12px; }
.offers { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.offer { flex: none; width: 78%; scroll-snap-align: start; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--h) 26%, #0B0D0C), #0B0D0C 70%); border: 1px solid color-mix(in srgb, var(--h) 35%, var(--line)); }
.offer small { color: var(--ash); font-size: 12px; font-family: var(--mono); }
.offer b { display: block; margin-top: 6px; font-size: 17px; }
.offer p { color: var(--ash); font-size: 14px; margin-top: 4px; }
.vcard { display: block; position: relative; overflow: hidden; border-radius: 22px; padding: 18px; color: var(--ink); background: linear-gradient(135deg, color-mix(in srgb, var(--h) 30%, #0B0D0C), #0B0D0C 75%); border: 1px solid color-mix(in srgb, var(--h) 35%, var(--line)); transition: transform .2s var(--ease); }
.vcard + .vcard { margin-top: 10px; }
.vcard:active { transform: scale(.985); }
.vcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--h); opacity: .18; filter: blur(30px); }
.vcard__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.vcard__name, .vcard__meta { display: block; }
.vcard__name { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.vcard__meta { color: var(--ash); font-size: 13px; margin-top: 2px; }
.vcard__msg { margin-top: 12px; font-size: 14px; }
.vcard__msg b { color: var(--h); }
.vcard.is-ready { border-color: var(--h); box-shadow: 0 0 0 1px var(--h), 0 20px 40px -24px var(--h); }
.stamps { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.stamps i { width: 24px; height: 24px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--h) 45%, transparent); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.stamps i.on { border: 0; background: var(--h); box-shadow: 0 0 12px color-mix(in srgb, var(--h) 60%, transparent); }
.stamps i.gift { border-style: solid; border-color: var(--h); }
.stamps i.new { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
.stamps--big i { width: 34px; height: 34px; font-size: 15px; }

/* Pass */
.pass { display: grid; justify-items: center; text-align: center; gap: 14px; padding-top: 6px; }
.pass__card { width: min(100%, 340px); padding: 22px; border-radius: 28px; background: #F2F5F3; color: #050606; display: grid; justify-items: center; gap: 10px; box-shadow: 0 30px 80px -30px rgba(43,255,136,.55); position: relative; }
.pass__card canvas { width: 250px; height: 250px; image-rendering: pixelated; }
.pass__name { font-weight: 700; font-size: 18px; }
.pass__kid { font: 600 15px/1 var(--mono); letter-spacing: .08em; }
.pass__digits { font: 700 30px/1 var(--mono); letter-spacing: .3em; margin-right: -.3em; }
.pass__timer { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; }
.pass__timer circle { fill: none; stroke-width: 4; }
.pass__timer .bg { stroke: #D6DCD8; }
.pass__timer .fg { stroke: #0FAF5C; stroke-linecap: round; stroke-dasharray: 100; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 1s linear; }
.pass p { color: var(--ash); font-size: 14px; max-width: 30ch; }
.celebrate { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; pointer-events: none; }
.celebrate__box { padding: 24px 28px; border-radius: 24px; background: #0B0D0C; border: 1px solid var(--signal); text-align: center; animation: pop .6s var(--ease); box-shadow: 0 30px 80px -20px rgba(43,255,136,.6); }
.celebrate__box b { display: block; font-size: 40px; color: var(--signal); }
.confetti { position: fixed; top: 40%; left: 50%; width: 10px; height: 10px; border-radius: 3px; pointer-events: none; z-index: 31; animation: fly 1.2s var(--ease) forwards; }
@keyframes fly { to { transform: translate(var(--x), var(--y)) rotate(540deg); opacity: 0; } }

/* Explore */
.search-a { position: relative; margin: 14px 0 12px; }
.search-a input { padding-left: 42px; }
.search-a::before { content: ""; position: absolute; left: 15px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid var(--ash); border-radius: 50%; }
.vlist { display: grid; gap: 10px; margin-top: 14px; }
.vrow { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 20px; background: #0B0D0C; border: 1px solid var(--line); align-items: center; }
.vrow:active { transform: scale(.99); }
.vbadge { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--h), color-mix(in srgb, var(--h) 40%, #050606)); display: grid; place-items: center; font: 800 22px/1 var(--wordmark); color: #050606; }
.vrow b { display: block; font-size: 16px; }
.vrow small { color: var(--ash); font-size: 13px; display: block; }
.vrow .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* Venue */
.vhero { margin: -18px -16px 0; padding: 26px 16px 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--h) 35%, #050606), #050606); }
.vhero__badge { width: 64px; height: 64px; border-radius: 20px; font-size: 26px; }
.vhero h1 { margin-top: 14px; font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.vhero p { color: var(--ash); font-size: 14px; margin-top: 6px; }
.vhero .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mycard { margin-top: 16px; }
.mycard .vcard__msg { margin-top: 10px; }
.menu-a { display: grid; gap: 8px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: #0B0D0C; }
.item b { display: block; font-size: 15px; font-weight: 500; }
.item small { color: var(--ash); font-size: 13px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--raise); color: var(--ink); font-size: 18px; cursor: pointer; }
.qty span { min-width: 18px; text-align: center; font-family: var(--mono); }
.item.is-picked { border-color: var(--h, var(--signal)); }
.times { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.times button { flex: none; min-height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: none; color: var(--ink); font-family: var(--mono); cursor: pointer; }
.times button[aria-pressed="true"] { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.cartbar { position: sticky; bottom: 86px; margin-top: 14px; display: flex; gap: 10px; align-items: center; padding: 10px 10px 10px 16px; border-radius: 18px; background: #111513; border: 1px solid var(--line-strong); box-shadow: 0 -10px 30px rgba(0,0,0,.4); }
.cartbar b { flex: 1; }
.cartbar .btn { width: auto; }
.stars { display: flex; gap: 6px; justify-content: center; margin: 10px 0; }
.stars button { font-size: 34px; background: none; border: 0; cursor: pointer; color: #2C332F; transition: transform .15s; }
.stars button.on { color: var(--gold); }
.stars button:hover { transform: scale(1.12); }

/* Visits */
.visit { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 20px; background: #0B0D0C; border: 1px solid var(--line); }
.visit + .visit { margin-top: 10px; }
.visit__when { display: grid; place-items: center; align-content: center; border-radius: 14px; background: var(--raise); font-family: var(--mono); text-align: center; }
.visit__when b { font-size: 18px; }
.visit__when small { font-size: 11px; color: var(--ash); }
.visit .row-a { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-top: 8px; }

/* Business */
.biz-hero { padding: 20px; border-radius: 24px; background: linear-gradient(135deg, rgba(43,255,136,.14), transparent 65%), #0B0D0C; border: 1px solid rgba(43,255,136,.3); }
.biz-hero h1 { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.biz-hero p { color: var(--ash); margin-top: 8px; font-size: 15px; }
.biz-list { display: grid; gap: 8px; margin-top: 14px; }
.biz-list div { display: flex; gap: 10px; font-size: 15px; }
.biz-list div::before { content: "●"; color: var(--signal); }
.dash-head { display: flex; gap: 12px; align-items: center; }
.dash-head h1 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.dtabs { display: flex; gap: 6px; overflow-x: auto; margin: 14px -16px 14px; padding: 0 16px; scrollbar-width: none; }
.dtabs a { flex: none; min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ash); font-size: 14px; }
.dtabs a[aria-current="page"] { background: var(--ink); color: var(--void); border-color: var(--ink); }
.till-btn { min-height: 120px; border-radius: 24px; font-size: 19px; flex-direction: column; }
.till-btn .ti { width: 36px; height: 36px; background: var(--on-signal); }
.scanner { position: fixed; inset: 0; z-index: 40; background: #000; display: grid; place-items: center; }
.scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scanner__frame { position: relative; width: 70vmin; height: 70vmin; max-width: 320px; max-height: 320px; border-radius: 28px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.55); border: 3px solid var(--signal); }
.scanner__frame::after { content: ""; position: absolute; left: 8%; right: 8%; height: 2px; background: var(--signal); box-shadow: 0 0 14px var(--signal); top: 10%; animation: scanline 1.8s ease-in-out infinite alternate; }
@keyframes scanline { to { top: 88%; } }
.scanner__bar { position: absolute; left: 16px; right: 16px; bottom: max(24px, env(safe-area-inset-bottom)); display: grid; gap: 10px; text-align: center; color: #fff; }
.guest { display: grid; gap: 12px; }
.guest__who { display: flex; gap: 12px; align-items: center; }
.guest__who .ava { width: 54px; height: 54px; font-size: 22px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { padding: 14px; border-radius: 18px; background: #0B0D0C; border: 1px solid var(--line); }
.kpi b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.kpi small { color: var(--ash); font-size: 13px; }
.kpi--accent { background: linear-gradient(135deg, rgba(43,255,136,.14), transparent 70%), #0B0D0C; border-color: rgba(43,255,136,.3); }
.chart { width: 100%; height: 140px; margin-top: 10px; }
.chart rect.bar { fill: var(--signal); }
.chart rect.bar.zero { fill: var(--line-strong); }
.chart text { fill: var(--ash); font: 10px var(--mono); }
.feed { list-style: none; display: grid; }
.feed li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.feed li:last-child { border-bottom: 0; }
.feed small { color: var(--ash); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.seg-a { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--graphite); border: 1px solid var(--line); }
.seg-a button { min-height: 40px; border: 0; border-radius: 10px; background: none; color: var(--ash); cursor: pointer; font-size: 14px; }
.seg-a button[aria-pressed="true"] { background: var(--ink); color: var(--void); }
.irow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.irow:last-child { border-bottom: 0; }
.irow button { background: none; border: 0; color: var(--ash); cursor: pointer; font-size: 18px; }
.irow button:hover { color: var(--red); }
.poster-prev canvas { width: 160px; height: 160px; background: #fff; border-radius: 12px; padding: 8px; display: block; margin: 0 auto; }

/* Bottom sheet */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); display: grid; align-items: end; justify-items: center; }
.sheet__box { position: relative; width: min(560px, 100%); max-height: 88svh; overflow-y: auto; padding: 22px 18px max(22px, env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #0E1110; border: 1px solid var(--line-strong); animation: up .35s var(--ease); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet__x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--raise); color: var(--ink); font-size: 20px; cursor: pointer; }
.sheet h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; padding-right: 40px; }

/* Avatar (shared look with Kovaryn ID) */
.ava { --c: var(--signal); display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--c); color: #050606; font-weight: 700; overflow: hidden; }
.ava[data-color="coral"] { --c: var(--coral); } .ava[data-color="pink"] { --c: var(--pink); } .ava[data-color="blue"] { --c: var(--blue); } .ava[data-color="gold"] { --c: var(--gold); } .ava[data-color="ink"] { --c: var(--ink); }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava--sm { width: 34px; height: 34px; font-size: 14px; }

/* Printable poster for the counter */
.poster { display: none; }
@media print {
  body.printing > *:not(.poster) { display: none !important; }
  body.printing { background: #fff !important; display: block; padding: 0; }
  body.printing .poster { display: grid !important; place-items: center; text-align: center; color: #000; gap: 14px; padding: 40px; font-family: var(--font); }
  .poster h1 { font-size: 44px; } .poster p { font-size: 22px; } .poster canvas { width: 320px; height: 320px; }
}
