:root{
--bg:#0b0b0b;--surface:#151515;--raised:#1c1c1b;--line:#34332f;--muted:#999891;
--text:#fff;--gold:#d7bc86;--gold-light:#ecdbb8;--ink:#17140e;
--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px);
--content-top:var(--tg-content-safe-area-inset-top,0px);
font-family:'Sprite Graffiti',Arial,sans-serif;font-synthesis:none;color:var(--text);background:var(--bg);font-size:18.9px;
}
*{box-sizing:border-box;letter-spacing:0}
html{min-height:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);min-height:100dvh;overflow-x:hidden}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button,select,input{font:inherit}
button,a{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.65}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
h1,h2,h3,p{margin:0}
button svg,a svg{flex-shrink:0;width:21px;height:21px;stroke-width:1.7}
.gold{color:var(--gold)}
.muted{color:var(--muted)}
.page-grain{position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:url('/app-assets/cover.webp');background-size:820px;background-position:center;opacity:.06}
#app-shell{max-width:620px;margin:0 auto;min-height:100dvh;padding:calc(var(--safe-top) + var(--content-top)) 0 calc(24px + var(--safe-bottom))}
.app-header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:rgba(11,11,11,.95);border-bottom:1px solid #252420;position:relative;z-index:4}
.wordmark{display:flex;align-items:center;gap:8px;font-family:Oswald,Arial,sans-serif;font-weight:600;font-size:27px}
.wordmark>svg{width:23px;height:23px;color:var(--gold);transform:rotate(-12deg)}
.wordmark .gold{margin-left:2px}
.icon-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;background:transparent;border:1px solid transparent;border-radius:6px;color:var(--text)}
.icon-button:hover{background:#21211e;border-color:#38362e}
#screen{position:relative}
.view{animation:view-enter .22s ease-out}
@keyframes view-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.poster{height:276px;position:relative;overflow:hidden;background:#0a0a09;isolation:isolate}
.poster img{width:100%;height:100%;object-fit:cover;object-position:center 48%;display:block}
.poster-tag{position:absolute;top:17px;left:23px;font-size:12.15px;font-weight:800;border-left:2px solid var(--gold);padding-left:9px;color:#d2c4aa;text-transform:uppercase}
.poster-edition{position:absolute;right:21px;bottom:22px;font-size:12.15px;color:#9f927c;font-weight:700}
.paint-drips{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;opacity:.88}
.home-content{padding:0 22px 16px;margin-top:-3px;position:relative;z-index:3}
.access-strip{display:flex;align-items:center;gap:13px;padding:19px 0 20px;border-bottom:1px solid var(--line);margin-bottom:18px}
.status-glyph{width:44px;height:44px;border:1px solid #4b4537;border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--gold);background:#14120d;flex-shrink:0}
.access-info{min-width:0;flex:1}
.access-info strong{display:block;font-size:18.9px;font-weight:800;margin-bottom:4px}
.access-info p{color:var(--muted);font-size:14.85px;line-height:1.5}
.de-flag{display:inline-grid;width:18px;height:12px;grid-template-rows:repeat(3,1fr);border:1px solid #514c42;margin-right:6px;vertical-align:-2px}
.de-flag span:nth-child(1){background:#131313}.de-flag span:nth-child(2){background:#ca3c3c}.de-flag span:nth-child(3){background:#e4be54}
.tag{display:inline-flex;align-items:center;gap:5px;color:var(--gold);font-size:12.15px;font-weight:800;border:1px solid #5c5139;background:#201b12;padding:5px 7px;border-radius:3px;white-space:nowrap}
.primary,.secondary,.tool-button{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;width:100%;padding:14px 16px;font-weight:800;font-size:18.9px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);transition:background .15s,border-color .15s,transform .15s}
.primary{background:var(--gold);color:#17140e;border-color:var(--gold);box-shadow:0 3px 0 #756344}
.primary:hover{background:var(--gold-light);border-color:var(--gold-light)}
.primary:active,.secondary:active,.tool-button:active{transform:translateY(1px)}
.primary .price-chip{margin-left:auto;background:#b99c69;padding:5px 8px;border-radius:3px;font-size:14.85px;color:#1d180f}
.primary.left,.secondary.left{justify-content:flex-start}
.secondary:hover,.tool-button:hover{background:#22221f;border-color:#5b5548}
.secondary .trailing{margin-left:auto;color:var(--gold);font-size:13.5px}
.home-content>.primary{margin-bottom:13px}
.home-content>.secondary{margin-bottom:12px}
.home-tools{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.home-footer{display:flex;align-items:center;justify-content:space-between;margin-top:19px;padding-bottom:4px;color:#7c776e;font-size:12.15px;font-weight:700}
.crew-mark{font-family:Oswald,sans-serif;color:#c2b79f;font-size:21px;line-height:1.4;white-space:nowrap;transform:rotate(-4deg)}
.content{padding:28px 22px 20px}
#screen>.view.content{padding-top:12px}
.page-label{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;color:var(--gold);font-weight:800;text-transform:uppercase;margin-bottom:10px}
.page-label svg{width:14px;height:14px}
.display-title{font-family:Oswald,Arial,sans-serif;font-weight:600;font-size:45.9px;line-height:1.13;text-transform:uppercase;max-width:100%;overflow-wrap:anywhere}
.display-title .brush-word{position:relative;display:inline-block;color:var(--gold);padding-bottom:7px}
.display-title .brush-word:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--gold);clip-path:polygon(0 40%,12% 0,35% 20%,51% 0,69% 40%,86% 10%,100% 70%,92% 100%,72% 68%,40% 100%,19% 67%,0 100%);transform:rotate(-1deg)}
.subheading{font-size:16.2px;color:var(--muted);line-height:1.65;margin-top:12px}
.section-title{font-size:17.55px;font-weight:800;margin:26px 0 13px}
.device-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.device-card{position:relative;overflow:hidden;min-height:122px;text-align:left;padding:15px;border:1px solid var(--line);border-radius:6px;background:#121212;color:var(--text);display:flex;flex-direction:column;align-items:flex-start}
.device-card[aria-checked=true]{border-color:var(--gold);background:#211d15}
.device-number{font-family:Oswald,sans-serif;font-size:37.8px;line-height:1;font-weight:600;margin-bottom:7px}
.device-name{font-size:14.85px;font-weight:800}.device-description{font-size:13.5px;color:var(--muted);margin-top:3px;line-height:1.4}
.option-ring{width:18px;height:18px;border:1px solid #666153;border-radius:50%;position:absolute;right:14px;top:15px;display:flex;align-items:center;justify-content:center}
.option-ring svg{width:12px;height:12px;stroke-width:3;display:none}
[aria-checked=true] .option-ring{background:var(--gold);border-color:var(--gold);color:#18140c}
[aria-checked=true] .option-ring svg{display:block}
.option-price{font-size:14.85px;color:var(--gold);font-weight:800;margin-top:auto;padding-top:9px}
.period-options{display:flex;flex-direction:column;gap:10px}
.period-card{position:relative;overflow:hidden;display:flex;align-items:center;gap:13px;min-height:77px;padding:15px;border:1px solid var(--line);border-radius:6px;background:#121212;color:var(--text);text-align:left}
.period-card[aria-checked=true]{border-color:var(--gold);background:#211d15}
.period-card .option-ring{position:static;flex-shrink:0}
.period-card strong{font-size:17.55px;font-weight:800;display:block}
.period-card p{font-size:13.5px;color:var(--muted);margin-top:4px}
.period-price{margin-left:auto;font-family:Oswald,sans-serif;font-size:32.4px;font-weight:600;color:var(--gold);white-space:nowrap}
.checkout-dock{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:min(100%,620px);z-index:7;background:#0e0e0d;border-top:1px solid #494334;padding:15px 22px calc(17px + var(--safe-bottom))}
.checkout-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}
.checkout-summary small{font-size:12.15px;color:var(--muted);display:block;margin-bottom:3px;text-transform:uppercase}
.checkout-summary strong{font-size:16.2px;font-weight:800}
.checkout-summary p{font-size:13.5px;color:#8a867b;margin-top:4px}
.checkout-total{text-align:right;white-space:nowrap}
.checkout-total b{font-family:Oswald,sans-serif;font-size:35.1px;font-weight:600;color:var(--gold)}
.checkout-dock .primary{min-height:48px}
.segmented{display:grid;grid-template-columns:1fr 1fr;background:#151514;border:1px solid #34312a;border-radius:6px;padding:4px;gap:4px;margin-top:23px}
.segmented button{border:0;border-radius:4px;background:transparent;color:#8f8c81;min-height:41px;padding:10px;font-weight:800;font-size:14.85px;position:relative;overflow:hidden}
.segmented button[aria-selected=true]{background:var(--gold);color:#1c170f}
.os-selector{display:flex;align-items:center;gap:13px;position:relative;border-bottom:1px solid var(--line);padding:22px 0}
.os-icon{width:43px;height:43px;border:1px solid #514631;border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--gold);flex-shrink:0}
.os-selector label{display:block;font-size:13.5px;color:var(--muted);margin-bottom:4px}
.os-selector select{appearance:none;border:0;background:transparent;color:var(--text);font-size:18.9px;font-weight:800;width:100%;padding-right:35px;min-height:23px;outline-offset:4px;cursor:pointer}
.os-selector select option{background:#151515;color:#f4f2ec}
.os-selector .selector-body{flex:1;min-width:0}
.os-selector .select-arrow{position:absolute;right:2px;bottom:24px;color:var(--gold);width:20px;height:20px;pointer-events:none}
.setup-step{position:relative;padding:24px 0 25px 49px;border-bottom:1px solid var(--line)}
.step-symbol{position:absolute;left:0;top:22px;color:var(--gold);width:32px;height:35px;display:flex;align-items:center;justify-content:center}
.step-symbol>svg{width:23px;height:23px}
.step-symbol:after{content:attr(data-step);position:absolute;bottom:-4px;right:-1px;background:#0c0c0b;color:#b9a77f;font-size:12.15px;font-weight:800;padding:1px 3px}
.setup-step h2{font-size:18.9px;font-weight:800;line-height:1.5}
.setup-step p{font-size:14.85px;line-height:1.75;color:var(--muted);margin-top:8px}
.setup-step .secondary,.setup-step .primary{min-height:47px;font-size:14.85px;margin-top:16px;padding:12px;gap:8px}
.setup-step .secondary svg,.setup-step .primary svg{width:17px;height:17px}
.install-secondary{display:flex;gap:12px;margin-top:12px;align-items:center;font-size:13.5px;color:#b6a886}
.install-secondary a{display:inline-flex;gap:5px;align-items:center;min-height:24px}
.install-secondary svg{width:12px;height:12px}
.add-row{display:grid;grid-template-columns:minmax(0,1fr) 47px;gap:9px;align-items:end;margin-top:16px}
.add-row .primary{margin:0}
.add-row .icon-button{border:1px solid var(--line);width:47px;height:47px;background:#1a1916}
.setup-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:14.85px;color:#a89d86;padding-top:22px;min-height:45px}
.setup-note svg{width:15px;height:15px}
.qr-view{padding:30px 0 4px;text-align:center}
.qr-view h2{font-family:Oswald,sans-serif;font-size:33.75px;text-transform:uppercase;font-weight:600}
.qr-view>p{font-size:14.85px;color:var(--muted);line-height:1.8;max-width:300px;margin:12px auto 20px}
.qr-frame{background:white;display:inline-flex;padding:9px;border-radius:6px;border:4px solid var(--gold);width:216px;height:216px;align-items:center;justify-content:center;margin-bottom:21px}
.qr-frame img{width:100%;height:100%;display:block;image-rendering:pixelated}
.divider-label{display:flex;align-items:center;gap:12px;color:#8c8270;font-size:12.15px;font-weight:800;margin:5px 0 18px;text-transform:uppercase}
.divider-label:before,.divider-label:after{content:"";flex:1;height:1px;background:var(--line)}
.link-field{display:flex;align-items:center;gap:8px;padding:9px 9px 9px 13px;background:#171613;border:1px solid #464031;border-radius:6px;min-height:56px}
.link-field code{font-family:Manrope,sans-serif;font-weight:600;font-size:13.5px;color:#cfc3ab;flex:1;min-width:0;overflow-wrap:anywhere;text-align:left;line-height:1.6}
.link-field .icon-button{width:35px;height:35px;background:#23201a;border:1px solid #454031}
.link-field .icon-button svg{width:17px;height:17px}
.transfer-expiry{font-size:12.15px;color:#77736a;margin-top:13px}
.profile-head{text-align:center;padding:29px 22px 27px;background-image:url('/app-assets/cover.webp');background-size:620px;background-position:center top;position:relative;isolation:isolate}
.profile-head:before{content:"";position:absolute;inset:0;background:rgba(9,9,9,.82);z-index:-1}
.avatar{width:73px;height:73px;display:flex;align-items:center;justify-content:center;font-family:Oswald,sans-serif;font-weight:600;font-size:33.75px;color:var(--gold);border:2px solid var(--gold);border-radius:50%;background:#1c1913;margin:0 auto 12px;position:relative}
.avatar .tiny-crown{position:absolute;top:-16px;right:-6px;color:var(--gold);width:25px;height:25px;transform:rotate(19deg)}
.profile-head h1{font-size:27px;font-weight:800;overflow-wrap:anywhere}
.user-id{display:inline-flex;gap:6px;align-items:center;color:#a49c8a;margin-top:4px;font-size:13.5px}
.user-id .icon-button{width:29px;height:29px;color:#9a8c72}
.user-id .icon-button svg{width:13px;height:13px}
.profile-head .tag{margin-top:11px}
.profile-content{padding:3px 22px 20px}
.profile-menu{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.menu-row>span{min-width:0;overflow-wrap:anywhere}
.menu-row{position:relative;overflow:hidden;width:100%;display:flex;align-items:center;gap:13px;padding:18px 1px;background:transparent;border:0;color:var(--text);border-bottom:1px solid #302e27;text-align:left;min-height:62px;font-size:16.2px;font-weight:700}
.menu-row:last-child{border-bottom:0}
.menu-row>svg:first-child{width:20px;height:20px;color:var(--gold)}
.menu-row .row-end{margin-left:auto;width:16px;height:16px;color:#7e7768}
.profile-link-label{font-size:14.85px;font-weight:700;color:#a8a08f;margin:22px 0 10px}
.profile-content>.secondary{margin-top:15px;font-size:14.85px;min-height:48px}
.info-strip{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:18px 0;font-size:16.2px}
.info-strip strong{color:var(--gold)}
.referral-number{font-family:Oswald,sans-serif;font-size:75.6px;color:var(--gold);font-weight:600;margin:22px 0 0}
.referral-summary{font-size:16.2px;color:#b0a48d;margin:0 0 21px}
.referral-actions{display:grid;grid-template-columns:1fr 48px;gap:10px;margin-top:18px}
.referral-actions .icon-button{height:56px;width:48px;background:#171613;border:1px solid #464031}
.referral-metrics{margin:22px 0;padding:12px 16px;border:1px solid #464031;border-radius:12px;background:#171613;font-family:Manrope,Arial,sans-serif}
.referral-metrics>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0}
.referral-metrics dt{font-size:14px;color:#d3c9b5}.referral-metrics dd{margin:0;color:var(--gold);font-weight:800;white-space:nowrap}
.referral-note{font-family:Manrope,Arial,sans-serif;font-size:13px;line-height:1.6;color:#d3c9b5;margin:12px 0 22px}
.referral-withdraw{width:100%}.referral-profile-amount{display:block;color:var(--gold);font-family:Manrope,Arial,sans-serif;font-size:12px;margin-top:3px}
.referral-history{list-style:none;padding:0;font:13px/1.6 Manrope,Arial,sans-serif}.referral-history li{display:flex;justify-content:space-between;gap:12px;margin:12px 0}.referral-history strong{color:var(--gold);white-space:nowrap}
.order-item{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:13px;align-items:flex-start}
.order-icon{color:var(--gold);width:30px;flex-shrink:0}
.order-icon svg{width:21px;height:21px}
.order-item h2{font-size:16.2px;font-weight:800}
.order-item p{font-size:13.5px;color:var(--muted);line-height:1.7;margin-top:5px}
.order-amount{margin-left:auto;white-space:nowrap;color:var(--gold);font-weight:800;font-size:18.9px}
.empty-state{padding:46px 0;text-align:center;color:var(--muted)}
.empty-state>svg{width:38px;height:38px;color:var(--gold);margin-bottom:14px}
.empty-state h2{color:var(--text);font-size:21.6px;margin-bottom:9px;font-weight:800}
.empty-state p{font-size:14.85px;line-height:1.7}
.empty-state .primary{margin-top:22px}
.terms h2{font-size:18.9px;font-weight:800;margin-top:25px;margin-bottom:9px}
.terms p{font-size:16.2px;line-height:1.85;color:#aaa294}
.terms a{color:var(--gold)}
.toast{position:fixed;bottom:calc(24px + var(--safe-bottom));left:50%;transform:translate(-50%,15px);padding:12px 18px;background:#e3cfaa;color:#20180d;z-index:30;max-width:calc(100% - 32px);width:max-content;border:1px solid #fff0d1;border-radius:5px;font-size:14.85px;font-weight:800;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;text-align:center}
.toast.visible{opacity:1;transform:translate(-50%,0)}
dialog{width:min(90%,420px);border:1px solid #675536;border-radius:8px;background:#141310;color:var(--text);padding:32px 24px 24px;box-shadow:0 20px 80px #000b}
dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}
.modal-close{position:absolute;right:8px;top:8px;width:31px;height:31px;color:#99876a}
.modal-close svg{width:17px;height:17px}
.modal-icon{width:44px;height:44px;color:var(--gold);margin:7px 0 17px}
#modal-body h2{font-family:Oswald,sans-serif;font-size:37.8px;font-weight:600;text-transform:uppercase;margin:0 0 12px}
#modal-body p{font-size:16.2px;color:#b2a58d;line-height:1.8;margin-bottom:16px}
#modal-body .primary,#modal-body .secondary{font-size:16.2px;min-height:48px;margin-top:10px}
.loading-state{padding:70px 22px;min-height:220px}
.loading-line{display:block;width:120px;height:3px;background:var(--gold);margin:0 auto;animation:loading 1s ease-in-out infinite}
@keyframes loading{50%{width:50px;opacity:.4}}
.paint-stamp{pointer-events:none;position:absolute;width:120px;height:120px;z-index:4;opacity:0;animation:paint-stamp .6s ease-out both}
@keyframes paint-stamp{0%{opacity:0;transform:translate(-50%,-50%) scale(.3) rotate(-12deg)}18%{opacity:.68;transform:translate(-50%,-50%) scale(1) rotate(0)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.07) rotate(4deg)}}
body.modal-open{overflow:hidden}
@media(min-width:700px){.poster{height:340px}.app-header{height:70px}.home-content,.content,.profile-content{padding-left:35px;padding-right:35px}.home-content{padding-top:0}.home-footer{margin-top:22px}.primary,.secondary,.tool-button{min-height:60px;font-size:20.25px}.home-tools .tool-button{min-height:57px}.access-info strong{font-size:20.25px}.access-info p{font-size:16.2px}.poster-tag{left:36px;top:25px}.display-title{font-size:51.3px}.device-card{min-height:126px}.content{padding-top:30px}.checkout-dock{padding-left:35px;padding-right:35px}.profile-head{background-size:740px}}
@media(max-width:350px){.app-header{padding-left:13px;padding-right:13px}.home-content,.content,.profile-content{padding-left:16px;padding-right:16px}.wordmark{font-size:24.3px}.poster{height:234px}.primary,.secondary,.tool-button{font-size:16.2px;padding-left:12px;padding-right:12px;gap:7px}.primary .price-chip{font-size:13.5px;padding:4px 6px}.access-info strong{font-size:16.2px}.access-info p{font-size:13.5px}.status-glyph{width:36px;height:38px}.tag{font-size:10.8px;padding:4px 5px}.device-card{padding:12px;min-height:116px}.device-description{font-size:12.15px}.device-name{font-size:13.5px}.option-ring{right:11px;top:12px}.display-title{font-size:40.5px}.segmented button{font-size:13.5px;padding:9px 6px}.setup-step{padding-left:39px}.setup-step p{font-size:13.5px}.setup-step h2{font-size:17.55px}.checkout-dock{padding-left:16px;padding-right:16px}.checkout-summary strong{font-size:14.85px}.home-tools{gap:9px}}

@media(max-height:700px) and (max-width:699px){
.poster{--poster-height:clamp(152px,calc(100dvh - 416px),260px);height:var(--poster-height)}
.poster img{width:min(100%,calc(var(--poster-height)*1.65));margin:0 auto;object-fit:cover;object-position:center 50%}
.home-content .access-strip{padding-top:12px;padding-bottom:12px;margin-bottom:13px}
.home-content>.primary,.home-content>.secondary,.home-tools .tool-button{min-height:48px}
.home-content>.primary,.home-content>.secondary{margin-bottom:10px}
.home-footer{margin-top:13px}
}
@media(max-width:350px){.access-strip>.tag{display:none}}


.wordmark,.crew-mark,.display-title,.device-number,.period-price,.checkout-total b,
.qr-view h2,.link-field code,.avatar,.referral-number,#modal-body h2{font-family:inherit}
body{line-height:1.55}
.wordmark{font-size:25.65px}
.primary,.secondary,.tool-button{font-size:18.9px;line-height:1.55}
.access-info strong{font-size:20.25px;line-height:1.45}
.access-info p{font-size:16.2px;line-height:1.7}
.tag{font-size:13.5px}
.poster-tag,.poster-edition{font-size:13.5px}
.primary .price-chip,.secondary .trailing{font-size:16.2px}
.home-footer{display:grid;grid-template-columns:auto minmax(0,1fr);font-size:18px;line-height:1.5;gap:12px 20px;align-items:start}
.home-footer>span:last-child{min-width:0;text-align:right;overflow-wrap:anywhere}
.page-label{font-size:16.2px}
.subheading{font-size:17.55px;line-height:1.85}
.section-title{font-size:18.9px}
.device-card{min-height:150px}
.device-number{line-height:1.25}
.device-name{font-size:17.55px;line-height:1.5}
.device-description{font-size:16.2px;line-height:1.65}
.option-price{font-size:16.2px}
.period-card strong{font-size:18.9px}
.period-card p,.checkout-summary p{font-size:16.2px}
.checkout-summary small{font-size:13.5px}
.segmented button{font-size:16.2px;line-height:1.5}
.os-selector label{font-size:16.2px}
.setup-step p,.qr-view>p,.empty-state p{font-size:17.55px;line-height:1.9}
.setup-step .secondary,.setup-step .primary,.profile-content>.secondary{font-size:16.2px;line-height:1.65}
.install-secondary,.setup-note,.user-id,.transfer-expiry,.divider-label{font-size:16.2px}
.link-field code{font-size:16.2px;line-height:1.85}
.menu-row,.profile-link-label,.order-item h2,.info-strip{font-size:17.55px;line-height:1.7}
.order-item p{font-size:16.2px;line-height:1.9}
.terms p,#modal-body p{font-size:17.55px;line-height:2}
.toast{font-size:16.2px;line-height:1.7}
.display-title,.qr-view h2,#modal-body h2{text-transform:none}
.access-info p,.home-footer{text-wrap:pretty}
.price-chip,.trailing{flex-shrink:0}

body{
background-color:#080808;
background-image:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),url('/app-assets/wall-v1.webp');
background-size:auto,760px 760px;background-position:0 0,center top;background-repeat:repeat;background-attachment:fixed;
}
.page-grain{display:none}
.app-header{display:flex;justify-content:flex-start;background:transparent;border-bottom:0}
.app-header[hidden]{display:none}
.poster{background:transparent;isolation:auto}
.poster img{
mix-blend-mode:screen;
-webkit-mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent);
mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent);
-webkit-mask-composite:source-in,source-over;mask-composite:intersect,add;
}
.access-strip{border-bottom:0}
.profile-head{background:none}
.profile-head:before{display:none}
.checkout-dock{background:rgba(10,10,10,.94)}
.subscription-expiry{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:18px;font-size:16px;line-height:1.6;color:var(--muted);text-align:center}
.subscription-expiry time{font-size:20px;color:#fff;white-space:nowrap}
.purchase-content{padding-top:12px;padding-bottom:24px}
.purchase-header{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.purchase-symbol{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;color:var(--gold);background:transparent;border:0;border-radius:0}
.purchase-symbol svg{width:25px;height:25px;stroke-width:1.6}
.purchase-header h1{font-size:24px;line-height:1.4;font-weight:800;overflow-wrap:anywhere}
.device-picker{padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.device-heading{display:flex;align-items:center;gap:14px;margin-bottom:6px}
.device-current{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border:1px solid var(--gold);border-radius:50%;font-size:24px;line-height:1;background:#171611;color:var(--gold)}
.device-heading label{font-size:18px;line-height:1.5}
.device-slider{appearance:none;-webkit-appearance:none;display:block;width:100%;height:28px;margin:0;cursor:pointer;background:transparent;border:0;border-radius:0}
.device-slider::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(to right,var(--gold) 0,var(--gold) var(--range-fill),#34332f var(--range-fill),#34332f 100%)}
.device-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;margin-top:-9px;border-radius:50%;border:2px solid var(--gold);background:var(--text);box-shadow:0 2px 8px #0008;transition:box-shadow .15s}
.device-slider::-moz-range-track{height:6px;border-radius:3px;background:#34332f}
.device-slider::-moz-range-progress{height:6px;border-radius:3px;background:var(--gold)}
.device-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;border:2px solid var(--gold);background:var(--text);box-shadow:0 2px 8px #0008}
.device-slider:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.device-scale{display:flex;justify-content:space-between;padding:0 8px;margin-top:6px;font-size:14px;line-height:1.5;color:var(--muted)}
.device-scale .selected{color:var(--gold)}
.plan-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.plan-card{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:140px;padding:16px;text-align:left;color:var(--text);border:1px solid var(--line);border-radius:8px;background:rgba(20,20,20,.88);transition:border-color .18s,background .18s}
.plan-card:hover{border-color:#756c5a;background:#1d1c19}
.plan-card[aria-checked=true]{border-color:var(--text);background:rgba(35,32,26,.94)}
.plan-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:24px}
.plan-heading strong{font-size:16px;line-height:1.3;font-weight:800}
.plan-selected{width:14px;height:14px;flex-shrink:0;color:var(--gold);fill:var(--gold);visibility:hidden}
.plan-card[aria-checked=true] .plan-selected{visibility:visible}
.plan-price{font-size:36px;line-height:1.4;margin-top:12px;white-space:nowrap}
.plan-monthly{font-size:14px;line-height:1.6;color:var(--muted);margin-top:auto}
@media(max-width:350px){.purchase-header h1{font-size:22px}.plan-card{padding:12px;min-height:134px}.plan-heading strong{font-size:16px}.plan-selected{width:14px;height:14px}.plan-heading{gap:5px}.device-heading label{font-size:17px}}
.brand-crown{display:block;width:44px;height:44px;object-fit:contain}
.setup-step p,.install-secondary,.setup-note,.qr-view>p,.transfer-expiry,.terms p,#modal-body p,.empty-state p,.subheading,.referral-summary{font-family:Manrope,Arial,sans-serif;font-size:16px;font-weight:500;line-height:1.75;color:#fff}
.setup-step p+p{margin-top:10px}
.home-footer>span:last-child,.subscription-expiry,.profile-link-label,.link-field code{color:#fff}
.primary .price-chip,.plan-price,.checkout-total b,.order-amount,.plan-monthly{font-family:Manrope,Arial,sans-serif;font-variant-numeric:lining-nums tabular-nums;font-weight:800}
.primary .price-chip{font-size:16px;line-height:1.25}
.profile-link-label{font-family:Manrope,Arial,sans-serif;font-size:15px;font-weight:600}
.link-field code{font-family:Manrope,Arial,sans-serif;font-size:14px;font-weight:500;line-height:1.7}
.profile-head h1{font-family:Manrope,Arial,sans-serif;font-size:24px;font-weight:800;color:#fff}
.avatar{font-family:Manrope,Arial,sans-serif}
.info-strip>strong{min-width:0;max-width:65%;text-align:right;overflow-wrap:anywhere}
.profile-plan small{display:block;font-family:'Sprite Graffiti',Arial,sans-serif;font-size:15px;font-weight:400;line-height:1.3;margin-top:1px}
.quick-import{padding:22px 0 24px;border-bottom:1px solid var(--line)}
.quick-import h2{display:flex;align-items:center;gap:9px;font-size:20px;line-height:1.5;color:var(--gold);margin-bottom:15px}
.quick-import h2 svg{width:19px;height:19px}
.import-buttons{display:grid;gap:10px}
.import-buttons button{justify-content:space-between;min-height:52px;font-size:17px;line-height:1.5;padding:12px 14px;text-align:left}
.import-buttons button>span{min-width:0;overflow-wrap:anywhere}
.import-buttons .secondary{border-color:#675a40}
.setup-step .link-field{margin-top:14px}
.import-view{text-align:center;padding-top:40px}
.import-view>.brand-crown{width:64px;height:64px;margin:0 auto 18px}
.import-view h1{font-size:28px;line-height:1.4}
.import-view h2{font-size:18px;text-align:left;margin-top:27px;margin-bottom:12px}
.import-note{font-family:Manrope,Arial,sans-serif;font-size:16px;line-height:1.75;color:#fff;margin:15px 0}
.import-view>.primary{margin:24px 0}
.import-view>.secondary{margin-top:20px;font-size:16px}
@media(max-width:350px){.import-buttons button{font-size:16px}.import-view h1{font-size:26px}}
.import-bridge #app-shell{display:flex;align-items:center;justify-content:flex-start}
.import-bridge .app-header{align-self:stretch;flex-shrink:0}
.import-bridge .import-view{width:100%;padding-top:48px;padding-bottom:48px;margin-block:auto}
.import-bridge [hidden]{display:none!important}
.project-footer{width:100%;padding:24px 22px 12px;border-top:1px solid var(--line);margin-top:20px;font-family:Manrope,Arial,sans-serif;color:#fff}.import-bridge #app-shell{flex-direction:column}
.project-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.project-footer a{font-size:14px;line-height:1.6;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.project-footer a:hover{color:var(--gold)}
.device-price-note,.quote-breakdown{font-family:Manrope,Arial,sans-serif;font-size:14px;line-height:1.6;color:#fff;overflow-wrap:anywhere}
.device-price-note{margin-top:16px}
.purchase-next-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:12px;align-items:center;margin-bottom:8px}
.purchase-next-row .device-price-note{margin:0}
.checkout-next{display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:1px solid var(--gold);border-radius:6px;background:var(--gold);color:var(--ink);flex-shrink:0}
.checkout-next:hover{background:var(--gold-light);border-color:var(--gold-light)}
.checkout-next:active{transform:translateY(1px)}
.checkout-next svg{width:24px;height:24px}
.checkout-summary>div:first-child{min-width:0}
.checkout-summary .quote-breakdown{font-size:12px;line-height:1.55;margin-top:5px}
.checkout-total b{font-size:30px;white-space:nowrap}
.legal-header{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 22px;border-bottom:1px solid var(--line)}
.legal-header .legal-brand{min-width:0;font-size:24px;color:#fff;overflow-wrap:anywhere}
.legal-header .legal-plans{margin-left:auto;flex-shrink:0;font-family:Manrope,Arial,sans-serif;font-size:14px;text-decoration:underline}
.legal-content{font-family:Manrope,Arial,sans-serif;color:#fff}
.legal-content h1{font-family:'Sprite Graffiti',Arial,sans-serif;font-size:29px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:12px}
.legal-content h2{font-size:19px;line-height:1.5;margin-top:28px;margin-bottom:12px}
.legal-content p,.legal-content li,.contact-list{font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.legal-content p+p{margin-top:14px}
.legal-content .legal-date{font-size:13px;line-height:1.7;margin-bottom:20px}
.legal-content a:not(.primary){text-decoration:underline;text-underline-offset:4px}
.legal-content .primary{font-family:Manrope,Arial,sans-serif;font-size:16px;line-height:1.5}
.contact-action{margin:24px 0}
.contact-list dt{margin-top:15px;font-weight:800}
.contact-list dd{margin:3px 0 0}
.tariff-table-wrap{margin:24px 0;max-width:100%}
.tariff-table{border-collapse:collapse;width:100%;table-layout:fixed;font-family:Manrope,Arial,sans-serif}
.tariff-table caption{text-align:left;font-size:14px;line-height:1.7;margin-bottom:12px}
.tariff-table th,.tariff-table td{font-size:14px;line-height:1.6;text-align:left;border-bottom:1px solid var(--line);padding:12px 6px;overflow-wrap:anywhere;vertical-align:top}
.tariff-table tbody td{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(min-width:700px){.project-footer,.legal-header{padding-left:35px;padding-right:35px}}
@media(max-width:350px){.project-footer,.legal-header{padding-left:16px;padding-right:16px}.legal-content h1{font-size:26px}.tariff-table th,.tariff-table td{font-size:13px;padding-left:4px;padding-right:4px}.checkout-summary .quote-breakdown{max-width:175px}.checkout-total b{font-size:26px}}
.plan-card{height:128px;min-height:128px;padding:12px}
.plan-price{font-size:30px;line-height:1.2;margin-top:4px}
.plan-monthly{font-size:13px;line-height:1.4;white-space:nowrap}
.checkout-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}
.checkout-summary #checkout-choice{font-family:Manrope,Arial,sans-serif;font-size:13px;line-height:1.5;color:#fff}
@media(max-width:350px){.plan-price{font-size:26px}.plan-monthly{font-size:12px}}

/* Fit the home screen to Telegram's visible area without clipping controls. */
body.on-home{min-height:0;--home-height:var(--tg-viewport-height,100dvh);--home-bottom:max(var(--safe-bottom),var(--tg-safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px))}
.on-home #app-shell{display:flex;flex-direction:column;height:var(--home-height);min-height:0;padding-bottom:calc(12px + var(--home-bottom))}
.on-home #screen{display:flex;flex:1;min-height:0}
.home-view{display:flex;flex-direction:column;justify-content:center;flex:1;min-width:0;min-height:0}
.home-view .poster{display:flex;align-items:center;justify-content:center;flex:1;min-height:80px;max-height:360px;height:auto}
.home-view .poster img{width:auto;max-width:100%;height:190%;margin:0;object-fit:contain;object-position:center}
.home-view .home-content{flex:none;margin-top:0;padding:0 18px}
.home-view .access-strip{gap:10px;padding:10px 0;margin-bottom:12px}
.home-view .status-glyph{width:40px;height:40px}
.home-view .access-info strong{font-size:20px;line-height:1.25;margin-bottom:0}
.home-view .tag{font-size:12px;padding:4px 6px}
.home-view .primary,.home-view .secondary,.home-view .tool-button{min-height:52px;padding:12px;font-size:18px;line-height:1.25;gap:8px}
.home-view .home-content>.primary,.home-view .home-content>.secondary{margin-bottom:10px}
.home-view .primary>span:first-of-type,.home-view .secondary>span:first-of-type{min-width:0}
.home-view .primary .price-chip,.home-view .secondary .trailing{font-size:14px;white-space:nowrap}
.home-view .home-tools{gap:10px}
.home-view .home-footer{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin-top:14px;padding:0}
.home-view .crew-mark{font-size:18px;line-height:1.3}
.home-tagline{font-family:'Sprite Graffiti',Arial,sans-serif;font-size:18px;font-weight:400;line-height:1.3;text-wrap:initial}
.home-tagline>span{display:block;white-space:nowrap}
.home-view .subscription-expiry{gap:8px;margin-top:14px;font-size:14px;line-height:1.4}
.home-view .subscription-expiry time{font-size:18px}
@media(max-width:350px){.home-view .home-content{padding-inline:14px}.home-view .primary,.home-view .secondary,.home-view .tool-button{font-size:16px}.home-view .access-info strong{font-size:18px}.home-view .crew-mark{font-size:16px}.home-tagline{font-size:16px}}
@media(max-height:540px){.home-view .access-strip{padding-block:6px;margin-bottom:8px}.home-view .primary,.home-view .secondary,.home-view .tool-button{min-height:46px;padding-block:10px}.home-view .home-content>.primary,.home-view .home-content>.secondary{margin-bottom:8px}.home-view .home-footer,.home-view .subscription-expiry{margin-top:10px}}
.payment-history-check{min-height:40px;padding:8px;margin-top:10px;font-size:14px}
.order-item>div{min-width:0;flex:1}
.order-item p{overflow-wrap:anywhere}
#modal-body [data-payment-id] h2{font-size:27px;line-height:1.3;overflow-wrap:anywhere}

/* A single menu with a compact identity header, sized for repeated mobile use. */
.on-profile{background-image:linear-gradient(rgba(0,0,0,.76),rgba(0,0,0,.76)),url('/app-assets/wall-v1.webp')}
.on-profile #app-shell{padding-bottom:calc(8px + max(var(--safe-bottom),var(--tg-safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px)))}
.profile-view{width:100%;max-width:480px;margin-inline:auto}
.profile-view .profile-head{padding:12px 54px 14px}
.profile-avatar{position:relative;display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin:0 auto 10px;border:2px solid var(--gold);border-radius:50%;background:#201c14;color:var(--gold-light);font-family:Manrope,Arial,sans-serif;font-size:25px;font-weight:700;line-height:1;overflow:hidden}
.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.profile-avatar img[data-profile-avatar]{position:absolute;inset:0}
.profile-view .profile-head h1{font-size:22px;line-height:1.2}
.profile-view .user-id{display:flex;justify-content:center;font-family:Manrope,Arial,sans-serif;font-size:12px;line-height:1.5;margin-top:2px}
.profile-view .user-id .icon-button{width:28px;height:28px}
.profile-view .profile-content{padding:0 22px}
.profile-view .profile-menu{overflow:hidden;border:1px solid #494134;border-radius:8px;background:rgba(23,21,17,.92)}
.profile-view .menu-row{min-height:52px;padding:13px 12px;gap:10px;font-size:16px;line-height:1.4;font-weight:400;border-bottom-color:#373127}
.profile-view .menu-row>span{flex:1}
.profile-view .menu-row>svg:first-child{width:18px;height:18px}
.profile-view .menu-row .row-end{width:14px;height:14px;flex-shrink:0}
.profile-view .menu-row:hover{background:#282319}
.profile-membership{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 8px;margin-top:6px;overflow-wrap:anywhere}
.profile-plan{font-size:15px;line-height:1.35;color:var(--gold)}
.profile-view .profile-plan small{display:inline;font-size:15px;line-height:inherit;color:var(--gold)}
.profile-validity{font-size:14px;line-height:1.4;color:#bfb7a8}
.profile-view .profile-link-label{margin:16px 2px 7px;font-size:13px;line-height:1.5;color:#c5beaf}
.profile-view .link-field{min-height:48px;padding:0 2px 0 13px;gap:4px;border-color:#494134;background:rgba(17,16,13,.94)}
.profile-view .link-field code{font-family:Consolas,'Courier New',monospace;font-size:12px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.profile-view .link-field .icon-button{width:44px;height:44px;background:transparent;border:0}
.profile-view .profile-content>.profile-setup{min-height:48px;margin-top:12px;padding:12px;font-size:17px;line-height:1.4;font-weight:400;border-color:#494134;background:rgba(25,23,18,.94)}
@media(max-height:650px){.profile-view .profile-head{padding-top:8px;padding-bottom:8px}.profile-avatar{width:48px;height:48px;margin-bottom:8px}.profile-view .menu-row{min-height:48px;padding-block:11px}.profile-view .profile-link-label{margin-top:12px}.profile-view .profile-content>.profile-setup{margin-top:10px}}
@media(max-width:350px){.profile-view .profile-content{padding-inline:16px}.profile-view .menu-row{padding-inline:12px;gap:10px}}

/* Paint remains inside the control and behind its label, without changing layout. */
.has-button-paint{position:relative;isolation:isolate;--button-paint-ink:#d7bc86;--button-paint-light:#f8efda}
.has-button-paint.primary,.has-button-paint.checkout-next,.segmented button.has-button-paint[aria-selected=true]{--button-paint-ink:#151412;--button-paint-light:#655737}
.button-paint{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:-1;border-radius:inherit;pointer-events:none;opacity:.94}
