@font-face{font-family:Inter;src:url(assets/inter-cyrillic.woff2?v=71d5ee93cc1e9f1d520a) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;src:url(assets/inter-latin.woff2?v=3100e775e8616cd2611b) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{color-scheme:dark;--bg:#151e27;--paper:#202c38;--ink:#f4f7fb;--muted:#b0bdc9;--accent:#55b8f6;--pressed:#105d98;--tint:#294257;--teal-bg:#095957;--teal:#99eee5;--line:#37424c;--focus:#a0dafe;font:400 16px/1.45 Inter,-apple-system,sans-serif;color:var(--ink);background:#0d151e;font-synthesis:none;font-variant-numeric:tabular-nums}
*{box-sizing:border-box}body{min-height:100dvh;margin:0}button,input,select{font:inherit;color:inherit;font-variant-numeric:tabular-nums}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button,a,select{transition:transform .24s cubic-bezier(.2,1.55,.4,1),background-color .14s,color .14s}button:active:not(:disabled),a:active,select:active{transform:scale(.975);transition-duration:.08s}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.shell{max-width:540px;min-height:100dvh;margin:0 auto;padding:0 20px calc(106px + env(safe-area-inset-bottom));background:var(--bg)}header,.sectionhead,.row,.setting,.amounthead,.inputline,.dialoghead,nav{display:flex;align-items:center}header{height:64px;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-decoration:none;font:700 25px/1 Inter,sans-serif;letter-spacing:-1.5px}.brand-symbol{display:grid;place-items:center;min-width:39px;height:28px;border-radius:8px;background:#55b8f61a;color:var(--accent);font:700 italic 13px/1 Inter,sans-serif;letter-spacing:-1px;padding-right:2px}
.demo{padding:4px 10px;border-radius:40px;background:#273541;color:#c3cfda;font-size:12px;font-weight:500}
main{padding-top:3px}h1,h2,p{margin:0}h1,h2{font-weight:600}h1{font-size:30px;letter-spacing:-1.35px;line-height:1.15;margin:4px 2px 16px}h2{font-size:18px;line-height:1.24;letter-spacing:-.5px}small,label,.hint,.rate{font-size:13px;color:var(--muted)}button{font-weight:500}.icon{display:inline-block;flex:0 0 auto;width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;pointer-events:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.shell{--inset:20px;padding-inline:var(--inset)}
.shell:has(.dashboard) header{background:#238bda;margin-inline:calc(-1 * var(--inset));padding-inline:var(--inset);color:white}
.shell:has(.dashboard) .brand-symbol{color:white;background:#ffffff20}
.shell:has(.dashboard) .demo{background:#125e9b;color:#fff}.shell:has(.dashboard) main{padding-top:0}
.summary{position:relative;isolation:isolate;overflow:hidden;margin-inline:calc(-1 * var(--inset));text-align:center;color:white;padding:10px 18px 18px;background:linear-gradient(180deg,#238bda 0%,#238bda 10%,#206ca9 39%,#234e86 67%,#223e64 100%)}
.summary:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;background:url(assets/wallet-mosaic.svg?v=938d4f18fa1d4d4b13d6) center bottom / cover no-repeat;mask-image:linear-gradient(180deg,transparent 0%,#000 74%)}
.shortcuts{display:flex;justify-content:space-evenly;gap:6px;max-width:365px;margin:16px auto 0}
.shortcuts a,.shortcuts button{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;color:white;background:transparent;border:0;text-decoration:none;font-size:12px;font-weight:600;line-height:1.35;padding:0 5px}
.shortcuts i{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#153b5e66;border:1px solid #ffffff55;backdrop-filter:blur(6px)}.shortcuts>a:active,.shortcuts>button:active:not(:disabled){transform:none}
.summary>small{display:block;color:#ffffff;font-size:13px}.assetlabel{display:inline-flex;align-items:center;gap:5px}.asset{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;font-size:13px;font-weight:700}.usdt{background:#00888c;color:white}.usdt svg{width:15px;height:15px}
.heroamount{display:flex;align-items:baseline;justify-content:center;gap:7px;min-height:45px;font-size:clamp(33px,8.8vw,45px);letter-spacing:-2.4px;line-height:1.14;font-weight:700}.heroamount>span{font-size:.84em;color:#d8ebff}.heroamount.long{font-size:clamp(25px,7.5vw,36px);align-items:center;letter-spacing:-1.3px}.rate{margin-top:5px;color:#b0bdc9;font-size:12px}.surface{background:var(--paper);border:1px solid var(--line);border-radius:23px;box-shadow:0 2px 8px #0000000a}.entry{margin-top:12px;padding:13px 16px 12px}.amounthead,.sectionhead{justify-content:space-between;gap:8px}.assetlabel{font-size:13px;font-weight:600}.amounthead label{font-weight:500}.inputline{gap:10px}.inputline input{display:block;width:100%;min-width:0;font-size:32px;line-height:1.18;letter-spacing:-1.3px;font-weight:700;padding:0;background:transparent;border:0;border-radius:4px}.edit{width:44px;min-height:44px;display:grid;place-items:center;cursor:text}.edit .icon{width:16px;height:16px}.quick{display:flex;gap:6px;margin-top:5px}.quick button{position:relative;min-height:44px;flex:1;min-width:0;font-size:13px;padding:6px;border:0;background:transparent;isolation:isolate;color:#d8e3ed}.quick button:before{content:"";position:absolute;z-index:-1;inset:5px 0;border-radius:30px;background:linear-gradient(155deg,#334354,#293744);border:1px solid #bedcff17}.quick button[aria-pressed=true]{font-weight:600;color:var(--accent)}.quick button[aria-pressed=true]:before{background:linear-gradient(150deg,#345875,#253f56);border-color:#629ac1;box-shadow:inset 0 1px 0 #b8e1ff24}.quick button:active:before{background:#345771}.quick button[aria-pressed=true]:active:before{background:#2b465d}.error{color:#ffacb5;font-size:13px}.error:not(:empty){margin:4px 0 3px}.surface.entry:has([aria-invalid=true]){box-shadow:inset 0 0 0 1px #e0808e}
.primary,.secondary,.send,.circle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:0;border-radius:16px;font-weight:500}
.primary,.send{
  color:#fff;
  background:linear-gradient(180deg,#56ace0 0%,#44a3dd 55%,#44a3dd 100%);
  box-shadow:inset 0 0 0 1px #bce7ff40,inset 0 1px 0 #c4eaff45;
}
.primary{border-radius:999px;min-height:48px;font-size:15px;font-weight:600}
.primary,.full{width:100%;margin-top:12px;padding:12px 15px}.primary .icon{width:17px;height:17px}.primary:active,.send:active{background:linear-gradient(#4195c6,#348cc3);box-shadow:inset 0 0 0 1px #bce7ff30}.primary:disabled{background:#334453;color:#becbd7;box-shadow:none;cursor:default}.secondary,.circle{background:var(--tint);color:var(--accent)}.secondary{padding:10px 15px;border-radius:999px;background:linear-gradient(160deg,#30495e,#253a4c);box-shadow:inset 0 1px 0 #c6e8ff21}.secondary:active,.circle:active{background:#33536a}.sectionhead{margin:21px 2px 7px;min-height:38px}.sectionhead .link,.back{color:var(--accent);font-size:13px;font-weight:500;text-decoration:none;display:inline-flex;align-items:center;min-height:44px;gap:3px}.link .icon,.back .icon{width:16px;height:16px}
.list{overflow:hidden}.row,.setting{position:relative;border:0;background:transparent;width:100%;min-height:70px;padding:12px 14px;gap:11px;text-align:left}.row+.row:after,.group>.setting+.setting:after{content:"";position:absolute;left:53px;right:13px;top:0;height:1px;background:var(--line)}.row:active{background:#2c3c4b}.badge{width:35px;height:35px;flex:0 0 auto;display:inline-grid;place-items:center;border-radius:11px;color:var(--accent);background:var(--tint)}.badge.sage{color:var(--teal);background:var(--teal-bg)}.badge .icon{width:19px;height:19px}.grow{flex:1;min-width:0}.row small,.row b,.setting small,.setting b{display:block}.row small,.setting small{font-size:12px}.row b,.setting b{font-size:14px;font-weight:600}.row .trailing{text-align:right}.row>.icon,.setting>.icon{width:15px;height:15px;color:var(--muted)}.back{margin-top:-9px}.setting input,.setting select{display:block;width:100%;border:0;appearance:none;background:transparent;font-weight:500;padding:3px 0;outline-offset:0;min-width:0}.setting select{cursor:pointer}.hint{margin:8px 12px 18px}.totals{padding:5px 16px}.totals>div{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:44px}.totals>div+div{border-top:1px solid var(--line)}.totals b{font-weight:600}
.settlement{padding:17px;margin-bottom:14px}.settlement .sectionhead{margin:0 0 15px;min-height:22px;flex-wrap:wrap}.status{display:inline-flex;gap:5px;align-items:center;font-size:12px;font-weight:500;color:var(--accent)}.status .icon{width:14px;height:14px}.dealamount{font-size:39px;letter-spacing:-1.5px;font-weight:700}.meter{height:7px;border-radius:10px;background:#344551;margin:12px 0 15px;overflow:hidden}.meter i{display:block;height:100%;background:linear-gradient(90deg,#238bda,#75cdf8);border-radius:inherit;box-shadow:inset 0 1px 0 #ffffff40}.split{display:flex}.split>div{width:50%}.split>div+div{border-left:1px solid var(--line);padding-left:16px}.split b{display:block;font-size:19px;font-weight:700}.steps{margin:0 14px;padding:10px 0 14px;list-style:none;border-top:1px solid var(--line)}.steps li{display:flex;align-items:center;gap:12px;padding:5px 8px;font-size:13px}.steps .icon{width:17px;height:17px;color:var(--accent)}.blank{display:grid;justify-items:center;text-align:center;padding:22px 18px;gap:10px;font-size:14px;color:var(--muted)}.blank p{max-width:31ch}.badge+.grow small{margin-top:1px}
/* Blurred background and the movable selection are independent layers. */
nav{position:fixed;z-index:5;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 32px),382px);height:62px;padding:4px;isolation:isolate;border-radius:34px;user-select:none;touch-action:pan-y;box-shadow:0 5px 18px #08111f38}
nav::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:linear-gradient(145deg,#99b8df28,#30465d17 55%,#c8e1ff12),#28354663;box-shadow:inset 0 1px 1px #ecf5ff50,inset 1px 0 1px #cfeaff25,inset 0 -1px 1px #cfeaff28;-webkit-backdrop-filter:blur(14px) saturate(1.85);backdrop-filter:blur(14px) saturate(1.85)}
nav a{position:relative;z-index:1;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;height:54px;border-radius:27px;text-decoration:none;color:#e5edf6;font-size:11px;font-weight:600;-webkit-user-drag:none}
nav a:focus-visible{outline:none}
nav a:focus-visible span{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;text-decoration-color:var(--focus)}
nav a:active .icon{opacity:.78}
nav a>.icon{width:21px;height:21px;stroke-width:2.2}nav a[aria-current=page]{color:#7bcaff}
nav .lens{position:absolute;left:0;top:5px;height:52px;width:min(calc((100% - 12px)/3),86px);border-radius:999px;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,#59acff40,transparent 76%),linear-gradient(145deg,#aac4ef33,#7598c32e);box-shadow:inset 0 1px 1px #ebf8ff38,inset 0 -1px 1px #93cfff21,0 1px 7px #244d7933;transition:translate .46s cubic-bezier(.22,.87,.24,1.14),scale .18s;will-change:translate}
nav.dragging .lens{transition:scale .14s;scale:1.09 1.04;background-color:#c7e6ff18}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){nav::before{background:#314153ed}}
@media(prefers-reduced-motion:reduce){nav.dragging .lens{scale:1}}
dialog{width:min(100%,530px);margin:auto auto 0;border:1px solid var(--line);border-bottom:0;border-radius:26px 26px 0 0;background:var(--paper);color:var(--ink);padding:8px 18px max(18px,env(safe-area-inset-bottom));max-height:86dvh;box-shadow:inset 0 1px 0 #dff0ff20,0 -8px 32px #07111a40}dialog::backdrop{background:#080f18a8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.grab{width:34px;height:4px;border-radius:8px;background:#607184;margin:0 auto 14px}.dialoghead{gap:10px}.dialoghead h2{margin:0}.circle,.send{width:44px;min-height:44px;flex:0 0 auto;border-radius:50%}.circle .icon{width:17px;height:17px}#messages{min-height:130px;max-height:44dvh;overflow:auto;overscroll-behavior:contain;margin:15px 0;border-block:1px solid var(--line)}.bubble{width:fit-content;max-width:86%;overflow-wrap:anywhere;margin:9px 0 9px auto;padding:9px 13px;border-radius:17px 17px 5px 17px;background:var(--tint)}#chat-form{display:flex;gap:8px}#message{flex:1;min-width:0;border-radius:24px;padding:10px 15px;background:var(--bg);border:1px solid var(--line)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:540px){.shell{--inset:15px;padding-top:env(safe-area-inset-top)}header{height:53px}h1{font-size:28px;margin-bottom:13px}}
@media(max-width:355px){.shell{--inset:12px}.row{gap:7px;padding-inline:11px}.row b{font-size:13px}.row small{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}button:active:not(:disabled),a:active,select:active{transform:none}.brand:active,.link:active,.back:active{background:var(--tint)}}

.surface{border-color:#283642}.list .badge,.setting .badge,.dialoghead .badge{color:white;background:linear-gradient(155deg,#2eb1ee,#0869d5)}.list .badge.sage,.setting .badge.sage{background:linear-gradient(155deg,#13b8ac,#007a86);color:white}.group .setting:nth-child(3) .badge{background:linear-gradient(155deg,#9882ec,#6052bc)}.setting select option{background:var(--paper);color:var(--ink)}.sectionhead h2{color:var(--accent)}.settlement .sectionhead h2{color:var(--ink)}.entry{margin-top:16px}.rate{margin-top:2px}.shell:has(.dashboard){background:linear-gradient(#238bda 0 env(safe-area-inset-top),var(--bg) env(safe-area-inset-top))}.summary>small{color:#fff;font-weight:500;text-shadow:0 1px 4px #153b60}.brand:active,.link:active,.back:active{color:#b6e3ff}


.surface{border:0;box-shadow:none;border-radius:21px}.row,.setting{min-height:58px;gap:10px;padding:9px 13px}
.setting .badge,.dialoghead .badge,.row .badge{width:30px;height:30px;border-radius:9px;box-shadow:inset 0 1px 0 #ffffff40}
.row small,.setting small{font-size:12px}.sectionhead{margin-top:19px}
.dashboard{padding:12px 18px 20px}.dashboard .shortcuts{margin-top:21px}.dashboard .shortcuts i{transition:transform .24s cubic-bezier(.2,1.55,.4,1),background-color .14s;border-color:#ebfaff60;background:linear-gradient(140deg,#b0e6ff4a,#ccfff11c);box-shadow:inset 0 1px 2px #ffffff29,0 2px 5px #132e4426;backdrop-filter:blur(8px) saturate(1.8)}
.dashboard .heroamount{font-size:clamp(35px,9vw,43px);min-height:45px}.dashboard .heroamount.long{font-size:clamp(23px,6vw,34px)}
@media(prefers-reduced-motion:reduce){nav:has(a:active) .lens{scale:1}nav a:active .icon{opacity:.65}}

.dashboard{background:linear-gradient(180deg,#238bda 0%,#238bda 13%,transparent 52%),radial-gradient(ellipse at 64% 73%,#237f82 0%,transparent 45%),radial-gradient(ellipse at 8% 95%,#383b83 0%,transparent 63%),linear-gradient(140deg,#226ca9,#254d6d)}
.dashboard:before{filter:blur(.55px);opacity:.94}.profile-pill{display:inline-flex;max-width:100%;align-items:center;gap:7px;padding:3px 11px 3px 3px;margin-bottom:11px;border-radius:999px;font-size:13px;font-weight:600;line-height:1.25;border:1px solid #ffffff65;background:#2876b25e;box-shadow:inset 0 1px 1px #ffffff24;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.dashboard>.heroamount{text-shadow:0 1px 5px #11487644}

.profile-avatar{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:50%;overflow:hidden;background:linear-gradient(145deg,#2c355d,#193051);color:#d5edff;font-size:13px}
.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.profile-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quote{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 8px;border-top:1px solid var(--line);margin-top:5px;padding-top:10px}
.quote label{font-size:13px}
.quantity-number,.payout-number{position:relative;font-variant-numeric:tabular-nums}
.quantity-number{flex:1;min-width:0;font-size:32px;font-weight:700;letter-spacing:-1.3px;line-height:1.18}
.payout-number{margin-left:auto;font-weight:600;font-size:17px;white-space:nowrap}
.reels{display:none;position:absolute;inset:0;align-items:center;overflow:hidden;pointer-events:none;white-space:pre}
.rolling .reels{display:flex}
.payout-number.rolling output,.quantity-number.rolling input:not(:focus){color:transparent}
.quantity-number:focus-within .reels{visibility:hidden}
.digit-slot{display:inline-block;height:1em;line-height:1;overflow:hidden}
.digit-strip{display:block;white-space:pre;line-height:1;animation:roll-digit .42s cubic-bezier(.22,.68,.26,1) both}
@keyframes roll-digit{from{transform:translateY(var(--from))}to{transform:translateY(var(--to))}}
@media(prefers-reduced-motion:reduce){
  .rolling .reels{display:none}
  .payout-number.rolling output,.quantity-number.rolling input:not(:focus){color:inherit}
}

html, dialog, #messages { scrollbar-width: none; }
html::-webkit-scrollbar, dialog::-webkit-scrollbar, #messages::-webkit-scrollbar { display: none; }

.shortcuts button:disabled{opacity:.5;cursor:default}

.report-card{margin:0 0 14px;padding:18px;background:linear-gradient(155deg,#263746 0%,#202c38 58%);box-shadow:inset 0 1px 0 #bfdfff12}
.report-card h2{margin:0;font-size:17px;letter-spacing:-.5px}
.chart-note,.ref-note{font-size:13px;color:var(--muted)}
.stats-group{overflow:hidden}
.payout-progress{padding:16px 14px 12px;border-bottom:1px solid var(--line)}
.payout-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted)}
.payout-progress strong{font-size:18px;font-weight:600;color:var(--accent)}
.payout-progress .meter{height:6px;margin:10px 0 0;background:#344450}
.stats-rows{margin:0;padding:0 14px}
.stats-rows>div{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:10px 0}
.stats-rows>div+div:before{content:"";position:absolute;left:38px;right:0;top:0;height:1px;background:var(--line)}
.stats-rows dt{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500}
.stats-rows dd{margin:0;text-align:right;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.stats-rows .badge{width:28px;height:28px;border-radius:8px;color:white;background:linear-gradient(150deg,#38b1ef,#1075c6);box-shadow:inset 0 1px 0 #ffffff38}
.stats-rows .badge.sage{background:linear-gradient(150deg,#26bb9a,#087a74)}
.stats-rows .icon{width:17px;height:17px}
.invitation{background:radial-gradient(ellipse at 100% 0%,#294d65 0%,transparent 64%),var(--paper)}
.invite-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(140deg,#348fc4,#246ba6);box-shadow:inset 0 1px 0 #caedff66;margin-bottom:13px}
.invitation p,.ref-note,.chart-note{margin:6px 0 0;line-height:1.45}
.invitation p{color:var(--muted);font-size:14px}
.invite-heading{display:flex;align-items:center;gap:10px}
.invite-heading .invite-icon{margin-bottom:0}
.invitation .referral-reward{display:flex;align-items:center;gap:12px;margin:16px 0 12px;padding-bottom:14px;border-bottom:1px solid var(--line);color:var(--ink)}
.referral-reward strong{flex:none;color:#75e2bc;font-size:clamp(29px,8vw,36px);letter-spacing:-1.5px;line-height:1}
#invite-link{min-width:0;width:100%;padding:12px;border:1px solid #466074;border-radius:12px;background:#172632;color:#daefff;font-size:14px;text-overflow:ellipsis;margin-top:15px}
#invite-link:focus{text-overflow:clip}
#copy-link{margin-top:9px}
#invite-status:empty{display:none}#invite-status{color:#a3ddfd;font-size:13px}
.period{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:22px 5px 8px}
.period h2{margin:0;color:var(--accent);font-size:16px;font-weight:600}
.period small{color:var(--muted);font-size:12px;white-space:nowrap}
#arrival-history{overflow:hidden;background:var(--paper)}
.people-series{--series:#63c6fa;--icon-bg:linear-gradient(150deg,#38b1ef,#1075c6)}
.income-series{--series:#59ddb4;--icon-bg:linear-gradient(150deg,#26bb9a,#087a74)}
.week-summary{margin:0;padding:0 14px}
.week-summary>div{display:flex;position:relative;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:8px 0}
.week-summary>div+div:before{content:"";position:absolute;left:38px;right:0;top:0;height:1px;background:var(--line)}
.week-summary dt{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500}
.week-summary dt i{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--icon-bg);color:white;box-shadow:inset 0 1px 0 #ffffff38}
.week-summary dt .icon{width:17px;height:17px}
.week-summary dd{margin:0;text-align:right;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.chart-empty,.referral-plot{margin:0;border-top:1px solid var(--line);padding:12px 14px}
.chart-empty,#arrival-history .chart-note{color:var(--muted);font-size:13px;line-height:1.45}
#arrival-history .chart-note{margin:0;padding:16px}
#arrival-history>.secondary{margin:0 14px 14px}
.ref-note{padding-top:8px}
.chart-limits{display:flex;justify-content:space-between;font-size:11px;color:#80cdf6}.chart-limits span:last-child{color:#94e4c9}
.week-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));list-style:none;padding:0;margin:4px 0 0}
.week-chart button{display:block;width:100%;border:0;background:transparent;color:var(--muted);padding:0;border-radius:6px}
.bar-track{height:87px;display:flex;justify-content:center;align-items:flex-end;gap:3px;background:repeating-linear-gradient(to top,#b2d7fd22 0 1px,transparent 1px 29px)}
.bar-track i{width:min(27%,12px);height:var(--height);border-radius:4px 4px 0 0;background:linear-gradient(to top,color-mix(in srgb,var(--series) 58%,#1b3546),var(--series));background-color:var(--series)}
.week-chart button[aria-pressed=true] .bar-track i{filter:brightness(1.15)}
.day-label{display:inline-block;margin-top:4px;padding:3px 5px;border-radius:8px;font-size:12px}
.week-chart button[aria-pressed=true] .day-label{background:#294254;color:#a7ddff;font-weight:600}
.day-detail{display:block;text-align:center;margin-top:10px;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.ref-note{margin:0 6px}.chart-note{margin-top:10px}

.dashboard .shortcuts>a:active i,.dashboard .shortcuts>button:active:not(:disabled) i{transform:scale(.9);background-color:#183e6866;transition-duration:.08s}
@media(prefers-reduced-motion:reduce){
  .dashboard .shortcuts>a:active i,.dashboard .shortcuts>button:active:not(:disabled) i{transform:none;border-color:#fff;background-color:#183e6888}
}
/* The amount mask is real text replacement, never a blur over readable digits. */
.heroamount{position:relative;align-items:center;gap:6px;letter-spacing:-1.6px}
.heroamount .ruble-mark{width:.54em;height:.7em;color:#b2d5ef;flex:none;align-self:center}
.heroamount b{font-weight:700;line-height:1.14}
.heroamount .concealed{letter-spacing:3px;font-size:.77em;min-width:3.8em;line-height:1.48}
.privacy-toggle{display:grid;place-items:center;width:36px;height:40px;margin-left:-3px;padding:0;border:0;background:transparent;color:#b4d9ee;border-radius:50%;flex:none}
.privacy-toggle .icon{width:18px;height:18px;stroke-width:2.2}
.hero-game{position:absolute;top:6px;right:16px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;text-decoration:none}
.hero-game:before{content:"";position:absolute;inset:6px;border:1px solid #ffffff50;border-radius:50%;background:#ffffff18;box-shadow:inset 0 1px 0 #ffffff20}
.hero-game .icon{width:23px;height:23px;z-index:1}
.edge-softness{position:fixed;z-index:4;pointer-events:none;inset:0;max-width:540px;margin:auto;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);background:#09111b0b;mask-image:linear-gradient(to right,#0008,transparent 10px,transparent calc(100% - 10px),#0008),linear-gradient(to bottom,#0006,transparent 8px,transparent calc(100% - 14px),#0008)}
@media(hover:hover) and (pointer:fine){
  .primary:not(:disabled):hover,.send:not(:disabled):hover{filter:brightness(1.08)}
  .secondary:not(:disabled):hover,.circle:not(:disabled):hover{background-color:#395b74;filter:brightness(1.12)}
  .row:hover,.setting:hover{background-color:#ffffff09}
  .quick button:hover:before{filter:brightness(1.18)}
  .shortcuts>a:hover i,.shortcuts>button:not(:disabled):hover i{background-color:#ffffff24;box-shadow:inset 0 1px 2px #ffffff40,0 2px 8px #132e4426}
  .privacy-toggle:hover,.hero-game:hover{background-color:#ffffff18}
  nav a:hover{background-color:#c8e5ff0e;color:#a8ddff}
  .back:hover,.link:hover{color:#b4e4ff}
  .prize-stake button:not(:disabled):hover{background:#ffffff10}
}

/* A dedicated full-height game view, with the selected ticket below centre. */
.shell:has(.prize-page){padding:0;min-height:100dvh}
.shell:has(.prize-page)>header,.shell:has(.prize-page)>nav{display:none}
.shell:has(.prize-page)>main{padding:0}
.prize-page{position:relative;display:grid;grid-template-rows:54px minmax(300px,1fr) auto;height:100dvh;min-height:540px;padding-bottom:env(safe-area-inset-bottom);overflow:hidden}
.prize-title{display:flex;align-items:center;gap:6px;padding:0 14px;z-index:2;background:var(--bg)}
.prize-title h1{margin:0;font-size:17px;font-weight:600;letter-spacing:-.4px;flex:1}
.prize-title .back{margin:0;justify-content:center;width:32px;color:var(--muted)}
.prize-title .back .icon{width:22px;height:22px}
.prize-title .circle{background:transparent;color:var(--muted);width:38px;min-height:38px}
.prize-title .demo{background:transparent;font-size:11px;padding:0 4px;color:#93a4b1}
.prize-help{position:absolute;z-index:4;top:52px;left:16px;right:16px;padding:14px;font-size:13px;color:var(--muted);box-shadow:0 6px 25px #08121b90}
.prize-window{position:relative;min-height:0;overflow:hidden;isolation:isolate}
.prize-window:before{content:"";position:absolute;inset:0;z-index:-1;background:url(assets/send-fortune-bg.png?v=c2fbe642fdd0291864fc) center top / 50% auto repeat;opacity:1;mask-image:linear-gradient(transparent,#000 8%,#000 82%,transparent)}
.prize-window:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(var(--bg),transparent 36px,transparent calc(100% - 36px),var(--bg));z-index:2}
.ticket-track{position:absolute;top:65%;left:50%;width:150px;margin-left:-75px;display:flex;flex-direction:column;gap:30px;will-change:transform}
.prize-ticket{width:150px;height:100px;flex:0 0 100px;position:relative}
.ticket-art{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ticket-content{position:absolute;inset:12px 12px 15px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px}
.ticket-content strong{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;font-size:26px;font-weight:700;letter-spacing:-.7px;line-height:1.15;white-space:nowrap}
.ticket-content small{color:inherit;font-size:12px;font-weight:500;opacity:.9}
.ticket-coin{display:inline-grid;place-items:center;width:22px;height:22px;flex:none;background:#009b9d;border-radius:50%;box-shadow:inset 0 1px 1px #ffffff25}
.ticket-coin svg{width:23px;height:23px}
.prize-pointer{position:absolute;top:calc(65% - 18px);width:24px;height:36px;color:#44a3dd;z-index:3}
.prize-pointer svg{width:100%;height:100%;display:block}
.prize-pointer.left{left:calc(25% - 55px);transform:translateX(-50%)}
.prize-pointer.right{right:calc(25% - 55px);transform:translateX(50%) rotate(180deg)}
.prize-controls{position:relative;padding:9px 16px 12px;background:var(--bg);z-index:3}
#prize-result{position:absolute;left:20px;right:20px;bottom:calc(100% + 3px);text-align:center;font-size:12px;color:#b5c6d2;pointer-events:none}
.prize-wallet{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:64px;border-radius:23px;background:#202f3a}
.prize-wallet>.asset{width:40px;height:40px;flex:none}.prize-wallet>.asset svg{width:29px;height:29px}
.prize-wallet b{font-size:14px;font-weight:600}.prize-wallet small{display:block;font-size:12px;color:var(--accent)}
.prize-stake{text-align:center}.prize-stake>div{display:flex;align-items:center;gap:3px}.prize-stake button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:50%;padding:0;background:transparent;color:var(--accent)}.prize-stake button:disabled{opacity:.35;cursor:default}.prize-stake output{min-width:28px;font-size:14px;font-weight:600}.prize-stake .icon{width:17px;height:17px}.prize-stake small{color:#91a6b7}
.prize-actions{display:flex;gap:10px;margin-top:12px}.prize-actions .primary{flex:1;margin:0;font-size:14px;min-height:48px}.prize-actions .secondary{min-width:126px;font-size:14px;min-height:48px;background:linear-gradient(145deg,#2c3946,#24313d);box-shadow:inset 0 1px 0 #a9c9e52a}
.prize-actions .secondary[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--accent)}
.prize-disclaimer{font-size:11px;text-align:center;margin:10px 0 0;color:#90a1af}
@media(max-width:355px){.prize-controls{padding-inline:12px}.prize-wallet{gap:7px;padding:10px}.prize-wallet>.asset{width:32px;height:32px}.prize-wallet b{font-size:13px}.prize-stake button{width:26px}.prize-actions .secondary{min-width:110px}.hero-game{right:8px}}

.ticket-value{display:block;min-width:0;font-variant-numeric:tabular-nums}
.bubble.operator{margin-right:auto;margin-left:0;background:var(--paper);border:1px solid var(--line)}
.bubble.operator small{display:block;color:var(--accent);font-size:12px;margin-bottom:5px}
