@font-face{font-family:"Geist Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url("/font/geist-latin-ext-wght-normal.woff2") format("woff2");}@font-face{font-family:"Geist Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url("/font/geist-latin-wght-normal.woff2") format("woff2");}@font-face{font-family:"Courier Prime";font-style:normal;font-display:swap;font-weight:400;src:url("/font/courier-prime-latin-ext-400-normal.woff2") format("woff2");}@font-face{font-family:"Courier Prime";font-style:normal;font-display:swap;font-weight:400;src:url("/font/courier-prime-latin-400-normal.woff2") format("woff2");}@font-face{font-family:"Courier Prime";font-style:normal;font-display:swap;font-weight:700;src:url("/font/courier-prime-latin-ext-700-normal.woff2") format("woff2");}@font-face{font-family:"Courier Prime";font-style:normal;font-display:swap;font-weight:700;src:url("/font/courier-prime-latin-700-normal.woff2") format("woff2");}/* ciubuk — black and white, typewriter. Light and dark share every rule; only the tokens change. */
:root{
  --bg:#ffffff;--fg:#0a0a0a;--muted:#6a6a6a;--soft:#f3f3f3;--dot:#e2e2e2;--card:#ffffff;--shade:#0a0a0a;
  --type:"Courier Prime","Courier New",ui-monospace,monospace;--sans:"Geist Variable",system-ui,-apple-system,Arial,sans-serif;
  color-scheme:light;
}
:root[data-theme=dark]{
  --bg:#0a0a0a;--fg:#f1f1f1;--muted:#9b9b9b;--soft:#181818;--dot:#1f1f1f;--card:#111111;--shade:#f1f1f1;color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--fg);font-family:var(--sans);
  background-image:radial-gradient(var(--dot) 1px,transparent 1.3px);background-size:20px 20px}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}
a{color:inherit;text-underline-offset:3px}
::selection{background:var(--fg);color:var(--bg)}
:focus-visible{outline:2px solid var(--fg);outline-offset:3px}

/* top bar */
.top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px max(16px,calc((100% - 1180px)/2));background:var(--bg);border-bottom:1.5px solid var(--fg)}
.logo{font:700 32px/1 var(--type);letter-spacing:-.04em;text-decoration:none}
.top-actions{display:flex;gap:8px;align-items:center}
.primary,.inbox,.ghost,.theme,.write{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 16px;
  border:1.5px solid var(--fg);border-radius:0;font:700 15px var(--type);letter-spacing:-.01em;text-decoration:none;transition:transform .08s,box-shadow .08s}
.primary,.write{background:var(--fg);color:var(--bg);box-shadow:3px 3px 0 var(--muted)}
.primary:hover,.write:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--muted)}
.primary:active,.write:active{transform:translate(2px,2px);box-shadow:none}
.inbox,.ghost,.theme{background:var(--bg);color:var(--fg)}
.inbox:hover,.ghost:hover,.theme:hover{background:var(--soft)}
.theme{width:42px;padding:0;font-size:20px}
.inbox b{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;background:var(--fg);color:var(--bg);font:700 12px var(--sans)}
.inbox.has{animation:nudge 1.4s ease-in-out infinite}
@keyframes nudge{0%,80%,100%{transform:none}85%{transform:rotate(-4deg)}90%{transform:rotate(4deg)}95%{transform:rotate(-2deg)}}

/* the wall */
.wall{max-width:1180px;margin:0 auto;padding:30px 16px 44px}
.wall-head h1,.legal h1{margin:0;font:700 clamp(36px,6.4vw,64px)/1 var(--type);letter-spacing:-.05em}
.wall-head h1 span,.legal h1 span{color:var(--muted)}
.wall-intro{margin:12px 0 0;font-size:clamp(15px,3.8vw,18px);line-height:1.45}
.day{margin:10px 0 0;color:var(--muted);font-size:14px}
.day time{font:700 15px var(--type);color:var(--fg);font-variant-numeric:tabular-nums;background:var(--soft);padding:1px 6px}
.cities{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0 0}
.cities button{border:1.5px solid var(--fg);background:var(--bg);padding:5px 12px;font:700 14px var(--type)}
.cities button[aria-pressed=true]{background:var(--fg);color:var(--bg)}
.city-pick{display:inline-flex;align-items:center;gap:10px;margin:20px 0 0;font:700 14px var(--type)}
.city-pick select{border:1.5px solid var(--fg);background:var(--bg);color:var(--fg);padding:7px 10px;font:700 15px var(--type);border-radius:0;min-width:220px}
.notes{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:28px 24px;margin-top:28px;align-items:start}

/* a note */
.note{position:relative;display:flex;flex-direction:column;gap:14px;min-height:200px;padding:28px 18px 14px;background:var(--card);
  border:1.5px solid var(--fg);box-shadow:5px 5px 0 var(--shade);transition:rotate .2s,transform .2s}
.note:hover{rotate:0deg!important;transform:translate(-2px,-2px)}
.pin{position:absolute;top:-8px;left:50%;width:16px;height:16px;margin-left:-8px;border-radius:50%;background:var(--fg);border:3px solid var(--bg);box-shadow:0 0 0 1.5px var(--fg)}
.note.mine{border-style:dashed;box-shadow:5px 5px 0 var(--muted)}
.note.fresh{animation:pinned .7s cubic-bezier(.2,.9,.3,1.3)}
@keyframes pinned{from{opacity:0;transform:translateY(-26px) scale(.94)}to{opacity:1;transform:none}}
.note-body{margin:0;font:400 19px/1.35 var(--type);letter-spacing:-.01em;overflow-wrap:anywhere;flex:1}
.note-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:0;font-size:13px;color:var(--muted)}
.note-price{background:var(--fg);color:var(--bg);padding:3px 8px;font:700 16px var(--type)}
.note-meta time{font:400 13px var(--type)}
.note-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1.5px dashed var(--fg);padding-top:12px}
.note-own{font:700 13px var(--type)}
.mine-foot{flex-wrap:wrap}.note-tools{display:flex;gap:10px}
.note-edited{font:400 12px var(--type);border:1px dashed var(--muted);padding:0 5px}
.write{min-height:38px;padding:6px 16px;box-shadow:none}.write:hover{box-shadow:3px 3px 0 var(--muted)}
.link{background:none;border:0;padding:6px 2px;font-size:13px;font-weight:650;text-decoration:underline}
.link.quiet{color:var(--muted);font-weight:500;font-size:12px}
.empty{display:grid;justify-items:start;gap:14px;margin-top:30px;padding:28px;background:var(--card);border:1.5px solid var(--fg);box-shadow:5px 5px 0 var(--shade);max-width:440px}
.empty p{margin:0;font:700 19px var(--type)}

/* footer */
.foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 20px;max-width:1180px;margin:0 auto;padding:20px 16px 30px;
  border-top:1.5px solid var(--fg);color:var(--muted);font-size:13px}
.foot p{margin:0}.foot b{color:var(--fg)}
.foot nav{display:flex;flex-wrap:wrap;gap:6px 16px}
.foot nav a{color:var(--fg)}

/* legal pages */
.legal{max-width:760px;margin:0 auto;padding:34px 16px 50px;line-height:1.6;font-size:16px}
.legal h1{margin-bottom:18px}
.legal h2{font:700 19px var(--type);margin:30px 0 6px;letter-spacing:-.01em}
.legal p,.legal li{margin:0 0 10px}
.legal ul{padding-left:20px}
.legal .lead{font-size:18px;border-left:4px solid var(--fg);padding-left:14px}
.legal .updated{color:var(--muted);font-size:13px}
.table{overflow-x:auto;border:1.5px solid var(--fg);margin:8px 0 12px}
.legal table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.4}
.legal th,.legal td{text-align:left;vertical-align:top;padding:8px 10px;border-bottom:1px solid var(--dot)}
.legal th{font:700 13px var(--type);background:var(--soft)}
.legal code{font-family:var(--type);background:var(--soft);padding:1px 5px}

/* sheets (dialogs) */
.sheet{width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:1.5px solid var(--fg);background:var(--bg);color:var(--fg);
  border-radius:0;box-shadow:8px 8px 0 var(--shade)}
.sheet.wide{width:min(620px,calc(100% - 24px));height:min(720px,calc(100dvh - 24px))}
.sheet[open]{display:flex;flex-direction:column}
.sheet::backdrop{background:#000a}
.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 12px 20px;border-bottom:1.5px solid var(--fg)}
.sheet-head h2{margin:0;font:700 26px var(--type);letter-spacing:-.03em}
.x{width:38px;height:38px;border:1.5px solid var(--fg);background:var(--bg);font-size:22px;line-height:1}
.x:hover{background:var(--fg);color:var(--bg)}
.sheet-body{padding:18px 20px 20px;overflow:auto;flex:1;display:flex;flex-direction:column;min-height:0}
.form{display:grid;gap:14px}
.form label{display:grid;gap:6px;font-weight:650;font-size:14px}
.form input,.form textarea,.composer textarea,.copy input{width:100%;border:1.5px solid var(--fg);background:var(--bg);border-radius:0;padding:10px 12px;font-size:16px}
.form textarea{resize:vertical;font:400 17px/1.4 var(--type)}
.form small{font-weight:400;color:var(--muted);font-size:12px}
.form p{margin:0;line-height:1.45}
.pair{display:grid;grid-template-columns:1.4fr 1fr;gap:10px}
.fine{color:var(--muted);font-size:13px;margin:0;line-height:1.45}.fine a{color:var(--fg)}
.error{margin:0;border:1.5px solid var(--fg);background:var(--soft);padding:8px 10px 8px 34px;font-size:14px;position:relative}
.error::before{content:"!";position:absolute;left:10px;top:7px;width:16px;height:16px;display:grid;place-items:center;background:var(--fg);color:var(--bg);font:700 12px var(--type)}
blockquote{margin:0;padding:12px 14px;border:1.5px dashed var(--fg);font:400 17px/1.4 var(--type)}
blockquote span{display:block;margin-top:6px;font:400 13px var(--sans);color:var(--muted)}

/* box and chat */
.box{display:grid;gap:18px}
.box h3{margin:0 0 6px;font:700 13px var(--type);text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.thread{display:grid;grid-template-columns:1fr auto;gap:2px 10px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--dot);padding:11px 4px}
.thread:hover{background:var(--soft)}
.thread-ad{font:700 15px var(--type);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thread-last{grid-column:1;color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thread time{grid-row:1;grid-column:2;font:400 12px var(--type);color:var(--muted)}
.thread.unread .thread-ad::before{content:"";display:inline-block;width:9px;height:9px;margin-right:7px;background:var(--fg)}
.thread.unread .thread-last{color:var(--fg);font-weight:650}
.box-link{border:1.5px dashed var(--fg);padding:12px;display:grid;gap:8px}.box-link p{margin:0;font-size:13px;color:var(--muted)}
.copy{display:flex;gap:6px}.copy input{font:12px var(--type);padding:8px}
.copy button{border:1.5px solid var(--fg);background:var(--fg);color:var(--bg);padding:0 12px;font:700 13px var(--type)}
.conversation{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0}
.conversation-head{display:flex;justify-content:space-between;align-items:center}
.messages{flex:1;min-height:160px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:6px 2px}
.bubble{max-width:82%;align-self:flex-start;background:var(--soft);border:1.5px solid var(--fg);padding:8px 12px 6px}
.bubble.me{align-self:flex-end;background:var(--fg);color:var(--bg)}
.bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.4}
.bubble time{display:block;text-align:right;font:400 11px var(--type);opacity:.65;margin-top:2px}
.composer{display:flex;gap:8px;align-items:flex-end}
.composer textarea{resize:none;min-height:44px;max-height:120px}

.toast{position:fixed;left:50%;bottom:20px;translate:-50% 0;z-index:20;background:var(--fg);color:var(--bg);padding:12px 18px;border:1.5px solid var(--bg);
  font:700 15px var(--type);box-shadow:4px 4px 0 var(--muted);cursor:pointer;animation:pinned .4s ease-out}
.human{position:fixed;left:50%;top:50%;translate:-50% -50%;z-index:30}

@media(max-width:560px){
  .top{padding:10px 12px}.logo{font-size:27px}
  .primary,.inbox,.ghost{min-height:40px;padding:6px 11px;font-size:14px}.theme{width:40px;min-height:40px}
  .wall{padding:22px 14px 30px}
  .notes{grid-template-columns:1fr;gap:22px}
  .note{min-height:0;padding:26px 16px 12px}.note-body{font-size:18px}
  .sheet{width:100%;max-width:none;max-height:100dvh;margin:auto 0 0;border-width:1.5px 0 0;box-shadow:none}
  .sheet.wide{width:100%;height:92dvh}
}
@media(max-width:380px){.top-actions .inbox{padding:6px 8px}.primary{padding:6px 9px}}
@media(prefers-reduced-motion:reduce){.note.fresh,.inbox.has,.toast{animation:none}.note,.primary,.write{transition:none}}

/* admin */
.admin{max-width:1000px;margin:0 auto;padding:30px 16px 50px}
.admin h1{margin:0;font:700 clamp(34px,6vw,54px)/1 var(--type);letter-spacing:-.05em}.admin h1 span{color:var(--muted)}
.admin-login{max-width:360px;margin:40px auto}
.stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:0;margin:22px 0 0;border:1.5px solid var(--fg)}
.stats div{padding:12px 14px;border-right:1px solid var(--dot);border-bottom:1px solid var(--dot)}
.stats dt{font-size:12px;color:var(--muted)}.stats dd{margin:2px 0 0;font:700 28px var(--type)}
.admin-list{display:grid;gap:12px;margin:18px 0}
.admin-row{border:1.5px solid var(--fg);background:var(--card);padding:14px 16px;display:grid;gap:10px}
.admin-row.is-hidden{opacity:.6;border-style:dashed}
.admin-row.is-reported{box-shadow:5px 5px 0 var(--shade)}
.admin-body{margin:0;font:400 18px/1.35 var(--type);overflow-wrap:anywhere}
.admin-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:0;font-size:13px;color:var(--muted)}
.admin-meta .flag{background:var(--fg);color:var(--bg);padding:2px 7px;font:700 13px var(--type)}
.admin-meta .status{font:700 13px var(--type);color:var(--fg)}
.admin-actions{display:flex;flex-wrap:wrap;gap:8px}
.admin-actions .ghost{min-height:36px;padding:5px 12px;font-size:14px}

/* city search (instead of <datalist>, which works badly on phones) */
.city-field{position:relative;display:grid;gap:6px;font-weight:650;font-size:14px}
.city-options{position:absolute;z-index:10;left:0;right:0;top:100%;margin:2px 0 0;padding:0;list-style:none;background:var(--bg);
  border:1.5px solid var(--fg);box-shadow:5px 5px 0 var(--shade);max-height:280px;overflow:auto}
.city-options li{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:11px 12px;cursor:pointer;font:700 16px var(--type);border-bottom:1px solid var(--dot)}
.city-options li small{font:400 12px var(--sans);color:var(--muted);white-space:nowrap}
.city-options li[aria-selected=true]{background:var(--fg);color:var(--bg)}.city-options li[aria-selected=true] small{color:var(--bg);opacity:.75}
.city-options li.none{cursor:default;font:400 14px var(--sans);color:var(--muted)}
.price-field input{max-width:200px}

/* shared request, filter, empty states, box link, notices */
.focus{display:grid;gap:14px;justify-items:start;margin:0 0 30px;padding-bottom:28px;border-bottom:1.5px dashed var(--fg)}
.focus-label{margin:0;font:700 15px var(--type)}
.notes.single{grid-template-columns:minmax(0,520px);width:100%;margin-top:6px}
.wall-title{margin:0;font:700 clamp(26px,4vw,38px)/1 var(--type);letter-spacing:-.04em}.wall-title span{color:var(--muted)}
.wall-intro{margin:12px 0 0;font-size:18px;line-height:1.45;max-width:640px}
.filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 18px;margin-top:20px}
.filter .cities{margin:0}
.filter .city-field{min-width:240px;max-width:320px;flex:1;font-size:13px}
.filter .city-field input{border:1.5px solid var(--fg);background:var(--bg);padding:7px 10px;font:700 15px var(--type);width:100%;border-radius:0}
.field-hint{font-weight:400;color:var(--muted);font-size:12px}
.empty-actions{display:flex;flex-wrap:wrap;gap:10px}
.lost{display:grid;gap:12px;justify-items:start;padding:16px;border:1.5px dashed var(--fg)}
.lost p{margin:0;font:700 16px var(--type)}
.human-slot:empty{display:none}.human-slot{display:flex;justify-content:center}
.note-foot .note-tools{display:flex;gap:10px;align-items:center}
.box-link .ghost{justify-self:start;min-height:36px;padding:5px 12px;font-size:14px}
.legal select,.legal input,.legal textarea{width:100%;border:1.5px solid var(--fg);background:var(--bg);color:var(--fg);border-radius:0;padding:10px 12px;font-size:16px}
.legal .check{display:flex;gap:10px;align-items:flex-start;font-weight:400}.legal .check input{width:20px;height:20px;flex:none;margin-top:2px}
.admin h2{font:700 22px var(--type);margin:26px 0 8px}
.notice-decide{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.notice-decide select,.notice-decide input{border:1.5px solid var(--fg);background:var(--bg);color:var(--fg);padding:7px 10px;border-radius:0}
.notice-decide input{flex:1;min-width:220px}
@media(max-width:560px){.filter .city-field{max-width:none;min-width:0;width:100%}}

@media(max-width:360px){.top{gap:6px}.top .primary{font-size:13px;padding:6px 8px;white-space:nowrap}.top .inbox{font-size:13px;padding:6px 8px}.logo{font-size:24px}}

/* note footer: never wider than the note; "Pot eu" stays on one line */
.note-foot{flex-wrap:wrap;row-gap:8px;min-width:0}
.note-foot .note-tools{flex-wrap:wrap;gap:4px 12px;min-width:0}
.mine-foot .note-own{flex-basis:100%}
.write{white-space:nowrap;flex:none}
.note .link{white-space:nowrap}

/* icon buttons on notes */
.tool{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;background:none;border:1.5px solid transparent;color:var(--fg);cursor:pointer}
.tool:hover,.tool:focus-visible{border-color:var(--fg);background:var(--soft)}
.tool.quiet{color:var(--muted)}.tool.quiet:hover{color:var(--fg)}
.note-foot .note-tools{gap:2px}
.mine-foot .note-tools{margin-left:-8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.filter{align-items:center}

/* Optional traffic measurement */
.traffic-choice{position:fixed;z-index:6;left:14px;bottom:14px;width:min(360px,calc(100% - 28px));padding:12px;background:var(--bg);border:1px solid var(--fg);box-shadow:3px 3px 0 var(--shade);font-size:.86rem}
.traffic-choice p{margin:0 0 8px}
.traffic-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.traffic-actions button{padding:6px 12px;min-height:38px;background:var(--bg);border:1px solid var(--fg)}
.traffic-actions button[aria-pressed=true]{background:var(--fg);color:var(--bg)}
.traffic-settings{position:static;width:100%;max-width:420px;margin:14px 0;box-shadow:none}

/* ───────── the ciubuc calculator: a till receipt ───────── */
.calc{max-width:1100px;margin:0 auto;padding:34px 16px 50px}
.calc-start h1{margin:0;font:700 clamp(40px,7.5vw,78px)/.98 var(--type);letter-spacing:-.05em}
.calc-start h1 span{color:var(--muted)}
.side{display:inline-flex;margin-top:22px;border:1.5px solid var(--fg)}
.side button{border:0;background:var(--bg);color:var(--fg);padding:9px 16px;font:700 15px var(--type);cursor:pointer}
.side button[aria-checked=true]{background:var(--fg);color:var(--bg)}
.calc-pick{margin:30px 0 12px;font:700 20px var(--type)}
.jobs{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.job{display:grid;justify-items:center;gap:10px;padding:20px 10px 16px;border:1.5px solid var(--fg);background:var(--card);color:var(--fg);
  font:700 15px/1.2 var(--type);text-align:center;cursor:pointer;box-shadow:4px 4px 0 var(--shade);transition:transform .08s,box-shadow .08s}
.job:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--shade)}
.job:active{transform:translate(3px,3px);box-shadow:none}
.calc-fine{margin-top:22px;max-width:620px}

.calc-work{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;align-items:start}
.ask{display:grid;gap:14px;align-content:start;justify-items:start}
.ask-job{display:flex;align-items:center;gap:8px;margin:0;font:700 14px var(--type);color:var(--muted)}
.ask-step{margin:6px 0 0;font:400 13px var(--type);color:var(--muted)}
.ask-question{margin:0;font:700 clamp(28px,4.2vw,44px)/1.1 var(--type);letter-spacing:-.03em;min-height:1.1em}
.caret{display:inline-block;width:.5em;height:.9em;margin-left:3px;vertical-align:-.08em;background:var(--fg);animation:blink 1s steps(2) infinite}
@keyframes blink{50%{opacity:0}}
.stamps{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.stamp{border:2px solid var(--fg);background:var(--card);color:var(--fg);padding:14px 18px;font:700 17px var(--type);cursor:pointer;
  box-shadow:3px 3px 0 var(--shade);transition:transform .06s,box-shadow .06s,background .1s}
.stamp:hover{background:var(--fg);color:var(--bg)}
.stamp:active{transform:translate(3px,3px) rotate(-1.5deg) scale(.97);box-shadow:none}
.calc-message{max-width:560px}
.calc-actions{display:flex;flex-wrap:wrap;gap:10px}

/* the printer and the paper: the paper stays white with black ink, in both themes */
.printer{position:sticky;top:90px;display:grid;justify-items:center}
.printer-head{width:360px;max-width:100%;height:34px;background:var(--fg);border-radius:8px 8px 4px 4px;display:grid;place-items:end center;padding-bottom:7px;position:relative;z-index:2}
.printer-head span{width:330px;max-width:90%;height:5px;background:#000;border-radius:3px;box-shadow:inset 0 1px 0 #444}
.paper{width:320px;max-width:calc(100% - 24px);margin-top:-6px;padding:26px 22px 34px;background:#fffdf7;color:#141414;
  font:400 15px/1.45 var(--type);max-height:min(70vh,640px);overflow:auto;scrollbar-width:none;
  box-shadow:0 12px 22px -14px #0007;transform-origin:top center;transition:transform .5s cubic-bezier(.3,1.4,.5,1);
  --zz:linear-gradient(#000 0 0) top/100% calc(100% - 9px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/18px 9px repeat-x;
  -webkit-mask:var(--zz);mask:var(--zz)}
.paper::-webkit-scrollbar{display:none}
.paper p{margin:0}
.paper-brand{text-align:center;font:700 28px/1.1 var(--type);letter-spacing:-.04em}
.paper-center{text-align:center}.paper-center.small{font-size:12px;line-height:1.5}
.paper-rule{border-top:1.5px dashed #141414;margin:10px 0 !important}
.paper-line{display:flex;justify-content:space-between;gap:10px;animation:print .45s steps(8) both}
.paper-line span:first-child{overflow-wrap:anywhere}
.paper-line span:last-child{white-space:nowrap}
@keyframes print{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.paper-line.printing{animation:blink 1s steps(2) infinite}
.paper-total{display:flex;justify-content:space-between;gap:10px;font:700 18px var(--type);animation:print .6s steps(10) both}
.thanks{margin-top:14px !important;font:700 16px var(--type)}
.printer.torn .paper{transform:translateY(16px) rotate(-3deg)}
.printer.torn .paper{--zz:conic-gradient(from 135deg at top,#0000,#000 1deg 89deg,#0000 90deg) top/18px 9px repeat-x,linear-gradient(#000 0 0) 0 9px/100% calc(100% - 18px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/18px 9px repeat-x}

/* the envelope with banknotes */
.envelope{position:relative;display:grid;justify-items:start;gap:10px;padding-top:62px;min-height:200px}
.envelope-notes{position:absolute;left:24px;top:0}
.note-bill{position:absolute;display:grid;place-items:center;width:132px;height:62px;border:1.5px solid var(--fg);background:var(--card);
  box-shadow:2px 2px 0 var(--shade);font:700 22px/1 var(--type);color:var(--fg);animation:drop .5s cubic-bezier(.3,1.3,.5,1) both}
.note-bill small{font:700 10px var(--type);letter-spacing:.1em}
.note-bill::before{content:"";position:absolute;inset:5px;border:1px dashed var(--muted)}
.note-bill.v200,.note-bill.v100{background:repeating-linear-gradient(45deg,var(--card) 0 6px,var(--soft) 6px 7px)}
@keyframes drop{from{opacity:0;transform:translateY(-40px)}}
.envelope-body{position:relative;z-index:1;width:230px;height:120px;margin-top:18px;border:1.5px solid var(--fg);background:var(--card);
  display:grid;place-items:end center;padding-bottom:14px;font:400 italic 14px var(--type);color:var(--muted);
  background-image:linear-gradient(to top right,transparent calc(50% - 1px),var(--fg) 50%,transparent calc(50% + 1px)),linear-gradient(to top left,transparent calc(50% - 1px),var(--fg) 50%,transparent calc(50% + 1px));
  background-size:50% 60%;background-position:left top,right top;background-repeat:no-repeat}
.envelope-label{margin:0;font:400 15px var(--type)}

@media(max-width:820px){
  .calc-work{grid-template-columns:1fr;gap:18px}
  .printer{position:static;order:-1}
  .paper{max-height:42vh}
}
@media(max-width:560px){
  .calc{padding:22px 14px 40px}
  .jobs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .job{padding:16px 8px 12px;font-size:14px}
  .stamp{padding:12px 14px;font-size:16px}
  .printer-head{width:300px}
}
@media(prefers-reduced-motion:reduce){.paper-line,.paper-total,.note-bill,.caret{animation:none}.paper{transition:none}}
/* envelope: notes slide out of the top of the envelope */
.envelope{padding-top:0;min-height:0}
.envelope-stage{position:relative;width:270px;height:200px}
.envelope-stage .note-bill{position:absolute}
.envelope-stage .envelope-body{position:absolute;left:0;bottom:0;margin:0;width:270px;height:122px;z-index:2}
.envelope-stage{height:220px}
.printer-head{width:min(360px,100%)}
.printer-head span{width:calc(100% - 30px);max-width:none}
@media(max-width:560px){.printer-head{width:min(344px,100%)}}
.calc{overflow-x:clip}
@media(max-width:380px){.paper{padding:22px 16px 30px;font-size:14px}.paper-total{font-size:15px}.paper-total span:last-child{white-space:nowrap}}

/* ───────── ciubucul de azi ───────── */
.azi-head{margin-bottom:24px}
.azi-head h1{margin:0;font:700 clamp(38px,6.5vw,68px)/1 var(--type);letter-spacing:-.05em}.azi-head h1 span{color:var(--muted)}
.azi-head .cities{margin-top:16px}
.azi-work{display:grid;grid-template-columns:360px minmax(0,1fr);gap:40px;align-items:start}
.azi-printer{position:sticky;top:90px}
.azi-paper{max-height:min(78vh,760px)}
.azi-line{margin:6px 0}
.azi-line .paper-line{font-weight:700}
.azi-sub{display:flex;justify-content:space-between;gap:8px;font-size:11.5px;color:#555}
.azi-list{display:grid;gap:14px}
.azi-list .calc-pick{margin-top:0}
.deal{border:1.5px solid var(--fg);background:var(--card);padding:14px 16px;display:grid;gap:6px;box-shadow:4px 4px 0 var(--shade)}
.deal h3{margin:0;font:700 18px/1.3 var(--type)}
.deal-store{margin:0;font:700 12px var(--type);text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.deal-price{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0;font-size:14px;color:var(--muted)}
.deal-price s{font-family:var(--type)}
.deal-off{background:var(--fg);color:var(--bg);padding:1px 6px;font:700 13px var(--type)}
.deal-meta{margin:0;font-size:13px;color:var(--muted)}
.basket{margin-top:44px}
.basket .table{margin-top:10px}
.basket table{border-collapse:collapse;width:100%;font-size:14px}
.basket th,.basket td{text-align:left;vertical-align:top;padding:9px 10px;border-bottom:1px solid var(--dot)}
.basket th{font:700 13px var(--type);background:var(--soft)}
.basket tr.missing td{color:var(--muted)}
.basket small{color:var(--muted)}
.nowrap{white-space:nowrap}
.azi-fine{margin-top:24px;max-width:760px}
@media(max-width:860px){.azi-work{grid-template-columns:1fr}.azi-printer{position:static}.azi-paper{max-height:none}}
@media(max-width:560px){.basket th:nth-child(2),.basket td:nth-child(2){display:none}}

/* ───────── Ciubucul de azi: the game, mobile first ───────── */
.game{max-width:880px;margin:0 auto;padding:22px 16px 120px}
.game-head{margin-bottom:18px}
.game-head h1{margin:0;font:700 clamp(36px,10vw,64px)/1 var(--type);letter-spacing:-.05em}.game-head h1 span{color:var(--muted)}
.game-title{margin:4px 0 10px;font:700 clamp(28px,8vw,44px)/1.05 var(--type);letter-spacing:-.04em}
.game-step{margin:0;font:700 12px var(--type);text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.game-pick{margin:26px 0 10px;font:700 20px var(--type);letter-spacing:-.02em}
.game-fine{margin:14px 0}
.game-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0}
.level-chip{display:inline-flex;align-items:center;min-height:42px;padding:0 10px;border:1.5px solid var(--fg);font:700 13px var(--type);white-space:nowrap;max-width:44vw;overflow:hidden;text-overflow:ellipsis}
.level{margin-top:16px;border:1.5px solid var(--fg);background:var(--card);padding:12px 14px;box-shadow:4px 4px 0 var(--shade)}
.level p{margin:0;font-size:14px}.level p b{font:700 16px var(--type)}.level .fine{margin-top:8px;font-size:12.5px}
.level-bar{height:10px;border:1.5px solid var(--fg);margin-top:8px;background:repeating-linear-gradient(90deg,var(--soft) 0 6px,var(--bg) 6px 8px)}
.level-bar i{display:block;height:100%;background:var(--fg)}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:8px}
.tile{display:grid;justify-items:start;gap:4px;text-align:left;padding:10px 11px;border:1.5px solid var(--fg);background:var(--card);min-height:96px}
.tile b{font:700 14.5px/1.2 var(--type)}.tile small{font-size:12px;color:var(--muted);line-height:1.3}
.tile[aria-pressed=true]{background:var(--fg);color:var(--bg)}.tile[aria-pressed=true] small{color:inherit;opacity:.75}
.icon{width:26px;height:26px;flex:none}
.offers{display:grid;gap:8px}
.offer{display:flex;align-items:center;gap:10px;text-align:left;padding:10px 12px;border:1.5px solid var(--fg);background:var(--card)}
.offer-mark{display:grid;place-items:center;width:30px;height:30px;border:1.5px solid currentColor;font:700 18px var(--type);flex:none}
.offer-text{display:grid;gap:2px;min-width:0;flex:1}.offer-text b{font:700 14.5px/1.25 var(--type)}.offer-text small{font-size:12px;color:var(--muted)}
.offer-price{display:grid;justify-items:end;gap:1px;flex:none;font-size:12px}.offer-price b{font:700 16px var(--type)}.offer-price s{color:var(--muted)}.offer-price i{font-style:normal;font-weight:700}
.offer[aria-pressed=true]{background:var(--fg);color:var(--bg)}.offer[aria-pressed=true] small,.offer[aria-pressed=true] s{color:inherit;opacity:.75}
.game-bar{position:fixed;left:0;right:0;bottom:0;z-index:6;background:var(--bg);border-top:1.5px solid var(--fg);padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.game-bar>div{max-width:880px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.game-bar span{display:grid;font-size:14px}.game-bar span b{font:700 16px var(--type)}.game-bar small{color:var(--muted);font-size:12px}
.game-bar .primary{flex:0 1 auto}
.check{display:flex;align-items:center;gap:8px;font-size:15px;margin:6px 0}.check input{width:20px;height:20px;accent-color:var(--fg)}
.map{height:min(56vh,520px);border:1.5px solid var(--fg);margin:6px 0 10px;background:var(--soft)}
:root[data-theme=dark] .map canvas{filter:invert(1) hue-rotate(180deg) brightness(.9)}
.mpin{font:700 12px/1 var(--type);background:var(--fg);color:var(--bg);border:1.5px solid var(--bg);padding:5px 7px;white-space:nowrap;box-shadow:2px 2px 0 rgba(0,0,0,.35);cursor:default}
.mpin-faint{background:var(--bg);color:var(--muted);border-color:var(--muted);padding:3px 5px;box-shadow:none;font-size:11px}
.mpin-start{border-radius:50%;width:28px;height:28px;display:grid;place-items:center;padding:0;background:var(--bg);color:var(--fg);border:2.5px solid var(--fg)}
.summary{border:1.5px solid var(--fg);background:var(--card);padding:12px 14px;box-shadow:4px 4px 0 var(--shade)}
.summary p{margin:0}.summary-big{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font:700 14px var(--type);text-transform:uppercase;letter-spacing:.04em}
.summary-big b{font-size:clamp(26px,8vw,36px);letter-spacing:-.03em;text-transform:none}
.summary-row{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:6px!important;font-size:13.5px;color:var(--muted)}
.store-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}
.store-chips button{display:grid;gap:2px;padding:8px 6px;border:1.5px solid var(--fg);background:var(--bg);font:700 14px var(--type);text-align:center}
.store-chips button small{font:500 11px var(--sans);color:var(--muted)}
.store-chips button[aria-pressed=true]{background:var(--fg);color:var(--bg)}.store-chips button[aria-pressed=true] small{color:inherit;opacity:.75}
.store-chips button:disabled{cursor:not-allowed}
.stops{list-style:none;margin:10px 0;padding:0;display:grid;gap:12px}
.stop{border:1.5px solid var(--fg);background:var(--card);padding:12px 14px}
.stop.done{opacity:.6}.stop.done .stop-head b::after{content:' ✓'}
.stop-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 8px}.stop-head b{font:700 17px var(--type)}.stop-head small{color:var(--muted);font-size:12.5px;flex-basis:100%;padding-left:36px}
.pin-num{display:grid;place-items:center;width:28px;height:28px;background:var(--fg);color:var(--bg);font:700 14px var(--type)}
.stop ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.stop-item{display:flex;align-items:center;gap:10px;padding:6px 0;border-top:1px dashed var(--dot)}
label.stop-item{cursor:pointer}.stop-item input{width:22px;height:22px;accent-color:var(--fg);flex:none}
.stop-item>span:nth-of-type(1){display:grid;gap:1px;flex:1;min-width:0}.stop-item b{font:700 14px/1.25 var(--type)}.stop-item small{font-size:12px;color:var(--muted)}
.stop-item input:checked~span b{text-decoration:line-through}
.stop-price{display:grid!important;justify-items:end;flex:none!important}
.stop.anywhere .fine{padding-left:36px}
.game-receipt{display:grid;gap:26px;align-items:start}
.receipt-side .game-title{margin-top:0}
.stamp-line{margin:10px 0 4px}
.paper-stamp{display:inline-block;border:2px solid currentColor;padding:4px 10px;transform:rotate(-4deg);font-weight:700;letter-spacing:.06em}
@media(min-width:760px){
  .game{padding-top:34px}
  .game-receipt{grid-template-columns:360px minmax(0,1fr)}
  .offers{grid-template-columns:1fr 1fr}
}
.game-receipt .paper{max-height:none;overflow:visible}
/* ───────── ciubuk, the app (/azi): modern Android style, lime accent, light and dark ───────── */
.app{
  --a-bg:#f4f6f1;--a-surface:#ffffff;--a-surface2:#eaeee4;--a-line:#dfe4d8;--a-text:#121510;--a-muted:#5d6658;
  --a-lime:#c4f04c;--a-lime-ink:#1a2400;--a-lime-strong:#4d7c0f;--a-shadow:0 1px 2px #0000000d,0 6px 20px #0000000f;
  --a-radius:22px;--a-nav:72px;
  min-height:100vh;background:var(--a-bg);color:var(--a-text);font-family:var(--sans);font-size:15px;line-height:1.4;
  -webkit-tap-highlight-color:transparent;
}
:root[data-theme=dark] .app{
  --a-bg:#0b0d0a;--a-surface:#161a14;--a-surface2:#22281e;--a-line:#2a3125;--a-text:#f1f5ec;--a-muted:#9aa591;
  --a-lime:#c4f04c;--a-lime-ink:#152000;--a-lime-strong:#c4f04c;--a-shadow:0 1px 2px #0000004d;
}
body:has(.app){background:var(--a-bg,#f4f6f1);background-image:none}
:root[data-theme=dark] body:has(.app){background:#0b0d0a}
.app button,.app a{font-family:inherit}
.app h1,.app h2,.app h3{letter-spacing:-.02em;margin:0}
.a-img{display:block;object-fit:contain;flex:none;user-select:none;-webkit-user-drag:none}
.a-fine{color:var(--a-muted);font-size:13px;margin:0;line-height:1.45}
.a-pad{margin:14px 2px}

/* top bar */
.a-top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:8px;padding:10px 16px;background:color-mix(in srgb,var(--a-bg) 88%,transparent);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.a-logo{font:800 24px/1 var(--sans);letter-spacing:-.05em;text-decoration:none;color:var(--a-text)}
.a-place{flex:1;min-width:0;display:flex;align-items:center;gap:6px;height:42px;padding:0 14px;border:0;border-radius:999px;background:var(--a-surface);
  color:var(--a-text);font-weight:650;font-size:14px;box-shadow:var(--a-shadow)}
.a-place span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a-level{display:flex;align-items:center;gap:5px;height:42px;padding:0 12px;border:0;border-radius:999px;background:var(--a-lime);color:var(--a-lime-ink);font-weight:800}

.a-main{max-width:720px;margin:0 auto;padding:6px 16px calc(var(--a-nav) + 96px)}

/* hero and headings */
.a-hero{display:flex;align-items:center;gap:12px;margin:8px 0 6px;padding:20px;border-radius:28px;background:var(--a-lime);color:var(--a-lime-ink)}
.a-hero h1{font-size:clamp(28px,8.4vw,40px);font-weight:850;line-height:1}
.a-hero p{margin:8px 0 0;font-size:14.5px;line-height:1.4;opacity:.85}
.a-hero .a-hero-kicker{margin:0 0 6px;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.06em;opacity:.7}
.a-hero-img{width:84px;height:84px;filter:drop-shadow(0 8px 10px #0003)}
.a-page-head{margin:12px 2px 14px}.a-page-head h1{font-size:clamp(30px,9vw,40px);font-weight:850}
.a-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:26px 2px 12px}
.a-section-head h2{font-size:21px;font-weight:800}

/* cards */
.a-card{background:var(--a-surface);border-radius:var(--a-radius);box-shadow:var(--a-shadow);padding:14px 16px}

/* staple tiles */
.a-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.a-tile{position:relative;display:grid;justify-items:center;text-align:center;gap:2px;padding:12px 6px 10px;border:2px solid transparent;border-radius:20px;
  background:var(--a-surface);color:var(--a-text);box-shadow:var(--a-shadow);transition:transform .12s}
.a-tile:active{transform:scale(.96)}
.a-tile-img{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:var(--a-surface2);margin-bottom:4px}
.a-tile-img i{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--a-lime);color:var(--a-lime-ink);
  font-style:normal;font-weight:900;font-size:13px;box-shadow:0 0 0 3px var(--a-surface)}
.a-tile b{font-size:13.5px;line-height:1.2;font-weight:750}
.a-tile small{font-size:11.5px;color:var(--a-muted)}
.a-tile .a-tile-store{font-weight:700;color:var(--a-lime-strong)}
.a-tile[aria-pressed=true]{border-color:var(--a-lime)}

/* chips */
.a-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 12px;margin:0 -16px;padding-left:16px;scrollbar-width:none}
.a-chips::-webkit-scrollbar{display:none}
.a-chips button{flex:none;height:38px;padding:0 16px;border:1.5px solid var(--a-line);border-radius:999px;background:var(--a-surface);color:var(--a-text);font-weight:700;font-size:14px}
.a-chips button[aria-pressed=true]{background:var(--a-text);color:var(--a-bg);border-color:var(--a-text)}

/* deals */
.a-deals{display:grid;gap:10px}
.a-deal{display:flex;align-items:center;gap:12px;padding:10px;border-radius:var(--a-radius);background:var(--a-surface);box-shadow:var(--a-shadow)}
.a-deal-img{position:relative;display:grid;place-items:center;width:84px;height:84px;border-radius:18px;background:var(--a-surface2);flex:none}
.a-off{position:absolute;left:6px;bottom:6px;padding:2px 7px;border-radius:999px;background:var(--a-lime);color:var(--a-lime-ink);font-size:12px;font-weight:850}
.a-deal-text{flex:1;min-width:0;display:grid;gap:3px}
.a-deal-text h3{font-size:15px;font-weight:700;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.a-price{display:flex;align-items:baseline;gap:8px;margin:2px 0 0}
.a-price strong{font-size:18px;font-weight:850}
.a-price s{color:var(--a-muted);font-size:13px}
.a-add{flex:none;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--a-surface2);color:var(--a-text);font-size:24px;font-weight:600;line-height:1}
.a-add[aria-pressed=true]{background:var(--a-lime);color:var(--a-lime-ink);font-size:20px;font-weight:900}

/* buttons */
.a-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 22px;border:0;border-radius:999px;background:var(--a-lime);
  color:var(--a-lime-ink);font-weight:800;font-size:16px;text-decoration:none;transition:transform .1s,filter .1s}
.a-btn:active{transform:scale(.97)}
.a-btn:disabled{opacity:.6}
.a-btn-ghost{background:var(--a-surface);color:var(--a-text);box-shadow:var(--a-shadow)}
.a-btn-small{min-height:40px;padding:0 16px;font-size:14px}
.a-btn-wide{width:100%;justify-content:space-between}
.a-btn-wide small{font-weight:700;opacity:.75;font-size:14px}
.a-cta{position:fixed;left:0;right:0;bottom:calc(var(--a-nav) + env(safe-area-inset-bottom) + 10px);z-index:15;padding:0 16px;max-width:720px;margin:0 auto;
  display:flex;gap:10px}
.a-cta .a-btn{flex:1;box-shadow:0 8px 24px #0000002e}
.a-cta-two .a-btn-ghost{flex:0 1 auto}

/* list */
.a-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.a-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:20px;background:var(--a-surface);box-shadow:var(--a-shadow)}
.a-row-img{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--a-surface2);flex:none}
.a-row-text{flex:1;min-width:0;display:grid;gap:2px}.a-row-text b{font-weight:700;font-size:14.5px;line-height:1.25}.a-row-text small{color:var(--a-muted);font-size:12.5px}
.a-x{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:var(--a-surface2);color:var(--a-muted);font-size:22px;line-height:1}
.a-pts{font-weight:850;color:var(--a-lime-strong)}
.a-sum{display:flex;align-items:center;gap:14px;margin-top:12px}.a-sum strong{font-size:26px;font-weight:850}

/* route */
.a-start{display:grid;gap:10px}
.a-start-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.a-switch{display:flex;align-items:center;gap:10px;font-weight:650;cursor:pointer}
.a-switch input{position:absolute;opacity:0;width:1px;height:1px}
.a-switch span{position:relative;width:46px;height:28px;border-radius:999px;background:var(--a-surface2);transition:background .15s;flex:none}
.a-switch span::after{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:var(--a-surface);box-shadow:0 1px 3px #0004;transition:transform .15s}
.a-switch input:checked+span{background:var(--a-lime-strong)}
.a-switch input:checked+span::after{transform:translateX(18px)}
.a-switch input:focus-visible+span{outline:2px solid var(--a-text);outline-offset:2px}
.a-map{height:min(50vh,440px);margin:12px 0;border-radius:var(--a-radius);overflow:hidden;background:var(--a-surface2);box-shadow:var(--a-shadow)}
:root[data-theme=dark] .a-map canvas{filter:invert(1) hue-rotate(180deg) brightness(.85) contrast(.9)}
.a-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.a-stats-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.a-stat{display:flex;align-items:center;gap:10px;padding:12px;border-radius:20px;background:var(--a-surface);box-shadow:var(--a-shadow);min-width:0}
.a-stat div{display:grid;min-width:0}.a-stat strong{font-size:17px;font-weight:850;white-space:nowrap}.a-stat small{color:var(--a-muted);font-size:12px}
.a-stat-big{grid-column:1/-1;background:var(--a-lime);color:var(--a-lime-ink)}.a-stat-big strong{font-size:28px}.a-stat-big small{color:inherit;opacity:.75;font-size:13px}
.a-stats-3 .a-stat{flex-direction:column;align-items:flex-start;gap:6px}
.a-store-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a-store{display:grid;gap:2px;text-align:left;padding:12px 14px;border:2px solid var(--a-line);border-radius:18px;background:var(--a-surface);color:var(--a-text)}
.a-store b{font-size:15px;font-weight:800}.a-store small{color:var(--a-muted);font-size:12px}
.a-store[aria-pressed=true]{border-color:var(--a-lime);background:color-mix(in srgb,var(--a-lime) 22%,var(--a-surface))}
.a-store:disabled{opacity:.5}
.a-stops{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:12px}
.a-stop ul{list-style:none;margin:0;padding:0;display:grid}
.a-stop-head{display:flex;align-items:center;gap:12px;margin:0 0 6px}
.a-stop-head>span:last-child{display:grid}.a-stop-head b{font-size:17px;font-weight:800}.a-stop-head small{color:var(--a-muted);font-size:12.5px}
.a-num{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--a-text);color:var(--a-bg);font-weight:850;flex:none}
.a-done .a-num{background:var(--a-lime);color:var(--a-lime-ink)}
.a-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--a-line)}
label.a-item{cursor:pointer}
.a-item input{appearance:none;-webkit-appearance:none;width:26px;height:26px;border:2px solid var(--a-line);border-radius:8px;flex:none;display:grid;place-items:center;background:var(--a-surface)}
.a-item input:checked{background:var(--a-lime);border-color:var(--a-lime)}
.a-item input:checked::after{content:'✓';color:var(--a-lime-ink);font-weight:900;font-size:15px}
.a-item input:checked~.a-row-text b{text-decoration:line-through;opacity:.6}
.a-stop-price{display:grid;justify-items:end;flex:none}.a-stop-price b{font-weight:850}.a-stop-price small{color:var(--a-lime-strong);font-weight:750;font-size:12px}
.a-meter{height:10px;border-radius:999px;background:var(--a-surface2);overflow:hidden;margin:8px 0}
.a-meter i{display:block;height:100%;border-radius:999px;background:var(--a-lime-strong);transition:width .3s}

/* map pins */
.mpin{font:800 12px/1 var(--sans);background:var(--a-text,#121510);color:var(--a-bg,#fff);padding:7px 10px;border-radius:999px;white-space:nowrap;
  box-shadow:0 4px 10px #0004;border:2px solid #fff}
.mpin-stop{background:#c4f04c;color:#1a2400}
.mpin-faint{background:#ffffffd9;color:#5d6658;padding:3px 6px;font-size:10px;box-shadow:none;border:1px solid #c9cfc2}
.mpin-start{display:grid;place-items:center;width:32px;height:32px;padding:0;background:#121510;color:#fff;border:3px solid #fff}

/* receipt */
.a-win{text-align:center;display:grid;justify-items:center;gap:6px;margin:10px 0 16px}
.a-win h1{font-size:clamp(30px,9vw,42px);font-weight:850}.a-win p{margin:0;color:var(--a-muted)}.a-win b{color:var(--a-lime-strong)}
.a-ticket{position:relative;margin:0 4px 16px;padding:18px 18px 22px;background:var(--a-surface);border-radius:18px;box-shadow:var(--a-shadow);
  font-variant-numeric:tabular-nums;
  -webkit-mask:radial-gradient(circle 8px at 50% 100%,#0000 98%,#000) bottom/18px 100% repeat-x;mask:radial-gradient(circle 8px at 50% 100%,#0000 98%,#000) bottom/18px 100% repeat-x}
.a-ticket p{margin:0}
.a-ticket-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding-bottom:10px;margin-bottom:6px!important;border-bottom:2px dashed var(--a-line)}
.a-ticket-head b{font-size:20px;font-weight:850;letter-spacing:-.04em}.a-ticket-head span{color:var(--a-muted);font-size:12.5px}
.a-ticket-line{display:flex;justify-content:space-between;gap:12px;padding:6px 0}
.a-ticket-line>span:first-child{display:grid;min-width:0}.a-ticket-line b{font-weight:650;font-size:14px}.a-ticket-line small{color:var(--a-muted);font-size:12px}
.a-ticket-line>span:last-child{font-weight:750;white-space:nowrap}
.a-ticket-rule{border-top:2px dashed var(--a-line);margin:8px 0!important}
.a-ticket-total{display:flex;justify-content:space-between;align-items:center;margin:6px -8px!important;padding:12px 14px;border-radius:14px;background:var(--a-lime);color:var(--a-lime-ink);
  font-weight:850;font-size:19px}

/* profile */
.a-levelcard{display:flex;align-items:center;gap:14px}.a-levelcard>div{flex:1;min-width:0}.a-levelcard h2{font-size:22px;font-weight:850}
.a-rules{display:grid;gap:10px}.a-rules p{display:flex;align-items:center;gap:10px;margin:0;font-weight:600}
.a-settings{display:grid;gap:0;padding:4px 16px}
.a-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--a-line);font-weight:650}
.a-setting:first-child{border-top:0}.a-setting small{text-align:right;max-width:55%}
.a-seg{display:flex;padding:3px;border-radius:999px;background:var(--a-surface2)}
.a-seg button{height:34px;padding:0 12px;border:0;border-radius:999px;background:none;color:var(--a-text);font-weight:700;font-size:13px}
.a-seg button[aria-pressed=true]{background:var(--a-surface);box-shadow:var(--a-shadow)}
.a-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin:4px 2px 0;font-size:13px}.a-links a{color:var(--a-muted)}

.a-empty{display:grid;justify-items:center;text-align:center;gap:10px;padding:48px 10px}
.a-empty h1{font-size:28px;font-weight:850}.a-empty p{margin:0 0 6px;color:var(--a-muted);max-width:320px}

/* bottom navigation */
.a-nav{position:fixed;left:0;right:0;bottom:0;z-index:25;display:grid;grid-template-columns:repeat(3,1fr);height:calc(var(--a-nav) + env(safe-area-inset-bottom));
  padding:6px 8px env(safe-area-inset-bottom);background:var(--a-surface);border-top:1px solid var(--a-line)}
.a-nav button{display:grid;justify-items:center;align-content:center;gap:3px;border:0;background:none;color:var(--a-muted);font-size:12px;font-weight:700}
.a-nav-icon{position:relative;display:grid;place-items:center;width:58px;height:32px;border-radius:999px;transition:background .15s}
.a-nav-icon b{position:absolute;top:-4px;right:6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e5484d;color:#fff;font-size:11px;line-height:18px}
.a-nav button[aria-current=page]{color:var(--a-text)}
.a-nav button[aria-current=page] .a-nav-icon{background:var(--a-lime);color:var(--a-lime-ink)}

.app :focus-visible{outline:2.5px solid var(--a-lime-strong);outline-offset:2px}
@media(min-width:720px){
  .a-tiles{grid-template-columns:repeat(5,minmax(0,1fr))}
  .a-deals{grid-template-columns:1fr 1fr}
  .a-nav{left:50%;right:auto;width:min(480px,100%);transform:translateX(-50%);bottom:14px;height:var(--a-nav);border:1px solid var(--a-line);border-radius:28px;box-shadow:var(--a-shadow)}
  .a-cta{bottom:calc(var(--a-nav) + 26px)}
}
@media(max-width:350px){.a-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.a-hero-img{display:none}}
@media(prefers-reduced-motion:reduce){.app *{transition:none!important}}

/* the classic basket of the day (first on Acasă) */
.a-bon{margin:8px 0 4px;padding:18px 14px 14px;border-radius:28px;background:var(--a-lime);color:var(--a-lime-ink)}
.a-bon-head{display:flex;align-items:center;gap:10px;padding:0 4px}
.a-bon-head h1{font-size:clamp(28px,8.4vw,40px);font-weight:850;line-height:1}
.a-bon-head p{margin:8px 0 0;font-size:14px;line-height:1.4;opacity:.85}
.a-bon-ticket{margin:14px 0 12px;color:var(--a-text)}
.a-bon-save{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding-bottom:10px;margin-bottom:4px!important;border-bottom:2px dashed var(--a-line)}
.a-bon-save span{font-weight:700;color:var(--a-muted)}.a-bon-save strong{font-size:30px;font-weight:900;letter-spacing:-.03em}
.a-bon-save small{padding:3px 9px;border-radius:999px;background:var(--a-lime);color:var(--a-lime-ink);font-weight:850}
.a-bon-lines{list-style:none;margin:0;padding:0;display:grid}
.a-bon-lines li{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--a-line)}
.a-bon-lines .a-row-text b{font-size:13.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.a-bon-miss{opacity:.55}
.a-bon-price{display:grid;justify-items:end;flex:none;font-variant-numeric:tabular-nums}
.a-bon-price b{font-weight:850}.a-bon-price s{color:var(--a-muted);font-size:11.5px}.a-bon-price i{font-style:normal;font-weight:850;font-size:11.5px;color:var(--a-lime-strong)}
.a-link{border:0;background:none;padding:10px 0 2px;color:var(--a-lime-strong);font-weight:800;font-size:14px}
.a-bon-go{background:var(--a-lime-ink);color:var(--a-lime)}
.a-bon .a-ticket-total{margin:6px -8px 8px!important}

/* zone picker and search */
.a-place i{font-style:normal;color:var(--a-muted);margin-left:auto}
.a-zone-hint{display:flex;align-items:center;gap:8px;width:100%;margin:12px 0 0;padding:10px 12px;border:0;border-radius:16px;background:#ffffff8c;color:var(--a-lime-ink);font-weight:750;text-align:left}
.a-zone-hint-card{background:var(--a-surface);color:var(--a-text);box-shadow:var(--a-shadow);margin-bottom:12px}
.a-bon-seg{margin:14px 0 0;background:#ffffff73}
.a-bon-seg button{flex:1;color:var(--a-lime-ink)}
.a-bon-seg button[aria-pressed=true]{background:var(--a-lime-ink);color:var(--a-lime)}
.a-search{width:100%;height:52px;padding:0 18px;border:2px solid var(--a-line);border-radius:999px;background:var(--a-surface);color:var(--a-text);font-size:16px;outline:none}
.a-search:focus{border-color:var(--a-lime-strong)}
.a-results{margin:12px 0 18px}
.a-sheet-bg{position:fixed;inset:0;z-index:40;background:#0008;display:flex;align-items:flex-end;justify-content:center}
.a-sheet{width:min(720px,100%);max-height:86vh;overflow:auto;padding:10px 16px calc(20px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;
  background:var(--a-bg);color:var(--a-text);display:grid;gap:12px;font-family:var(--sans)}
.a-sheet h2{font-size:24px;font-weight:850;margin:0}
.a-sheet-grip{justify-self:center;width:44px;height:5px;border-radius:999px;background:var(--a-line)}
.a-towns{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.a-towns button{display:flex;justify-content:space-between;align-items:baseline;gap:10px;width:100%;padding:13px 16px;border:0;border-radius:16px;background:var(--a-surface);color:var(--a-text);font-size:15px;text-align:left}
.a-towns button small{color:var(--a-muted)}
.a-towns button[aria-pressed=true]{background:var(--a-lime);color:var(--a-lime-ink)}
.a-item .a-x{margin-left:4px}
.a-sum p.a-fine{margin-top:2px}

/* the home page while ciubuk is being built */
.soon{min-height:100vh;display:grid;place-content:center;gap:10px;padding:24px;text-align:center;font-family:var(--sans)}
.soon-logo{margin:0;font:800 30px/1 var(--sans);letter-spacing:-.05em}
.soon h1{margin:0;font:850 clamp(44px,13vw,84px)/1 var(--sans);letter-spacing:-.05em}
.soon h1::after{content:'';display:block;width:64px;height:10px;margin:18px auto 0;border-radius:999px;background:#c4f04c}
.soon p:last-child{margin:6px auto 0;max-width:360px;color:var(--muted);font-size:17px}
.soon-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin-top:40px;font-size:13px}.soon-links a{color:var(--muted)}
/* the store of the receipt, the nearest shop, and the search that stands out */
.a-bon-stores{flex-wrap:wrap;overflow:visible;margin:14px 0 0;padding:0 0 4px}
.a-bon-stores button{background:#ffffff73;border-color:transparent;color:var(--a-lime-ink)}
.a-bon-stores button[aria-pressed=true]{background:var(--a-lime-ink);color:var(--a-lime);border-color:var(--a-lime-ink)}
.a-bon-near{display:flex;align-items:center;gap:6px;margin:10px 4px 0;font-size:13px;font-weight:700;color:var(--a-lime-ink)}
.a-search-cta{display:flex;align-items:center;gap:10px;margin:16px 0 4px;height:58px;border-width:2.5px;border-color:var(--a-text);font-weight:750;text-align:left;cursor:text;box-shadow:var(--a-shadow)}
.a-search-cta span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:.8}
.a-search-big{height:58px;font-size:17px;border-width:2.5px}
.a-search-sticky{position:sticky;top:62px;z-index:10;margin:0 -16px 12px;padding:6px 16px;background:color-mix(in srgb,var(--a-bg) 92%,transparent);backdrop-filter:blur(8px)}
.a-sort{display:flex;gap:6px;margin:0 0 12px;padding:3px;border-radius:999px;background:var(--a-surface2)}
.a-sort button{flex:1;height:36px;padding:0 6px;border:0;border-radius:999px;background:none;color:var(--a-text);font-weight:750;font-size:13px}
.a-sort button[aria-pressed=true]{background:var(--a-surface);box-shadow:var(--a-shadow)}
.a-zone-empty{flex-direction:column;align-items:flex-start;gap:8px}.a-zone-empty p{margin:0}

/* what the app is (not a shop), the store name in the title, the link to the store's own page */
.a-what{margin:6px 2px 12px;padding:12px 14px;border-radius:18px;background:var(--a-surface);box-shadow:var(--a-shadow);font-size:13.5px;line-height:1.45;color:var(--a-muted)}
.a-what b{color:var(--a-text)}
.a-bon-at{display:block;font-size:.62em;letter-spacing:-.01em;opacity:.8}
.a-deal-text h3 a{color:inherit;text-decoration:none}
.a-source{justify-self:start;margin-top:2px;font-size:12.5px;font-weight:750;color:var(--a-lime-strong);text-decoration:none}
.a-source:hover,.a-deal-text h3 a:hover{text-decoration:underline}
.a-bon-lines .a-row-text a{color:inherit;text-decoration:none}
.a-plain{color:inherit;text-decoration:none}

/* the legal pages, in the app's design */
.a-back{display:flex;align-items:center;height:42px;margin-left:auto;padding:0 16px;border-radius:999px;background:var(--a-surface);color:var(--a-text);
  font-weight:700;font-size:14px;text-decoration:none;box-shadow:var(--a-shadow)}
.a-legal{padding-bottom:48px;line-height:1.55}
.a-legal h1{margin:14px 2px 16px;font-size:clamp(30px,9vw,44px);font-weight:850;line-height:1.05}
.a-legal h2{margin:26px 2px 8px;font-size:20px;font-weight:800}
.a-legal p,.a-legal li{font-size:15px}
.a-legal p{margin:0 2px 12px}
.a-legal .lead{padding:16px 18px;border-radius:var(--a-radius);background:var(--a-lime);color:var(--a-lime-ink);font-size:16px;font-weight:600}
.a-legal .updated{color:var(--a-muted);font-size:13px}
.a-legal ul{margin:0 0 12px;padding:14px 16px 14px 34px;border-radius:var(--a-radius);background:var(--a-surface);box-shadow:var(--a-shadow);display:grid;gap:8px}
.a-legal a{color:var(--a-lime-strong);font-weight:650}
.a-legal .table{overflow-x:auto;margin:0 0 12px;border-radius:var(--a-radius);background:var(--a-surface);box-shadow:var(--a-shadow);border:0}
.a-legal table{border-collapse:collapse;width:100%;font-size:14px}
.a-legal th,.a-legal td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid var(--a-line)}
.a-legal th{font-weight:800;background:var(--a-surface2)}
.a-legal .a-links{margin-top:28px;padding-top:16px;border-top:1px solid var(--a-line)}
.a-legal .a-links a{color:var(--a-muted);font-weight:600}
.a-legal .a-links a[aria-current=page]{color:var(--a-text)}

/* the "?" next to the receipt: what ciubuk is, on demand */
.a-bon-art{position:relative;flex:none}
.a-info{position:absolute;top:-4px;right:-6px;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;
  background:var(--a-lime-ink);color:var(--a-lime);font-weight:900;font-size:17px;box-shadow:0 2px 6px #0003}
.a-info[aria-expanded=true]{background:var(--a-surface);color:var(--a-text)}
.a-bon .a-what{margin:12px 0 0;background:#ffffffb3;color:var(--a-lime-ink);box-shadow:none}
.a-bon .a-what b{color:inherit}
.a-nav button>span:last-child{white-space:nowrap}

/* /secretariat: the admin, in the app's design */
.a-admin-login{max-width:420px;margin:40px auto;display:grid;gap:14px}
.a-admin-login h1{font-size:30px;font-weight:850}
.a-admin-h{margin:24px 2px 10px;font-size:20px;font-weight:800}
.a-admin .a-stat{align-items:flex-start}
.a-admin .a-stat strong{font-size:24px}
.a-admin .a-stat small{white-space:normal}
.a-admin-table{overflow-x:auto;padding:4px 0;margin-top:10px}
.a-admin-table table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums}
.a-admin-table th,.a-admin-table td{text-align:right;padding:9px 12px;border-bottom:1px solid var(--a-line);white-space:nowrap}
.a-admin-table th:first-child,.a-admin-table td:first-child{text-align:left}
.a-admin-table th{font-weight:800;color:var(--a-muted);font-size:12.5px}
.a-admin-tops{display:grid;gap:10px;margin-top:12px}
.a-admin-top h2{font-size:17px;font-weight:800;margin-bottom:8px}
.a-admin-top ol{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.a-admin-top li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--a-line)}
.a-admin-count{font-weight:850;font-size:20px;padding:4px 12px;border-radius:999px;background:var(--a-lime);color:var(--a-lime-ink)}
.a-admin-count.a-admin-bad{background:#e5484d;color:#fff}
@media(min-width:720px){.a-admin-tops{grid-template-columns:repeat(3,1fr)}}
