@font-face{font-family:Unbounded;src:url(fonts/unbounded-latin-800-normal.woff2) format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(fonts/instrument-sans-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(fonts/instrument-sans-latin-500-normal.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(fonts/instrument-sans-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
:root{--royal:#0038FF;--sky:#38C6FF;--navy:#071C5C;--pale:#D6F2FF;--paper:#fff;--line:#BBD8EE;--warn:#FFE4C2;--warnink:#6A3200;--bad:#FFD9DD;--badink:#7D0B1E;--good:#D5F7E3;--goodink:#075231;--mut:#2A3F7E}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--navy);font:400 16px/1.45 "Instrument Sans",system-ui,sans-serif}
h1,h2,h3{margin:0;font-family:Unbounded,system-ui,sans-serif;font-weight:800;line-height:1.15;text-wrap:balance}
h1{font-size:clamp(23px,4.5vw,32px);margin-bottom:14px}
h2{font-size:17px;margin:24px 0 10px}
p{margin:0 0 10px}
a{color:var(--royal);overflow-wrap:anywhere}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer;touch-action:manipulation;transition:transform .14s,background-color .2s,color .2s,border-color .2s}
button:active{transform:scale(.97)}
button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible,label:focus-within{outline:3px solid var(--navy);outline-offset:2px}
.onblue :focus-visible,.onblue:focus-visible{outline-color:#fff}
.boot{padding:40px 20px;text-align:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:8px 18px;border:2px solid var(--royal);border-radius:24px;background:var(--royal);color:#fff;font-weight:700;text-align:center;text-decoration:none}
.btn:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.btn.ghost{background:transparent;color:var(--royal)}
.btn.ghost:hover{background:var(--pale);color:var(--navy)}
.btn.small{min-height:38px;padding:4px 13px;font-size:14px}
.btn.wide{width:100%}
.btn[disabled]{opacity:.55;cursor:default}
.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
label{display:block;font-weight:700;margin:14px 0 5px}
.field{display:block;width:100%;min-height:48px;padding:10px 14px;border:2px solid var(--line);border-radius:14px;background:#fff}
.field:focus{border-color:var(--royal)}
textarea.field{resize:vertical;min-height:90px}
.hint{font-size:14px;color:var(--mut)}
.err{margin:10px 0;padding:10px 12px;border-radius:12px;background:var(--bad);color:var(--badink);font-weight:500}
.ok{margin:10px 0;padding:10px 12px;border-radius:12px;background:var(--good);color:var(--goodink);font-weight:500}
.notice{padding:11px 13px;border-radius:12px;background:var(--pale);font-size:14px;margin:10px 0}
.notice.warn{background:var(--warn);color:var(--warnink);font-weight:500}
.check{display:flex;gap:10px;align-items:flex-start;font-weight:500;margin:14px 0}
.check input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--royal)}
.empty{padding:22px;border-radius:16px;background:var(--pale);text-align:center}
.tag{flex:none;display:inline-block;padding:2px 9px;border-radius:999px;background:var(--pale);font-size:13px;font-weight:700;white-space:nowrap}
.tag.good{background:var(--good);color:var(--goodink)}.tag.warn{background:var(--warn);color:var(--warnink)}.tag.bad{background:var(--bad);color:var(--badink)}.tag.royal{background:var(--royal);color:#fff}
.meta{font-size:13px;color:var(--mut)}

/* Cadre */
.shell{min-height:100dvh;display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:auto 1fr}
.top.onblue{grid-column:2;position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px clamp(16px,3vw,32px);padding-top:max(10px,env(safe-area-inset-top));background:var(--royal);color:#fff}
.brand{display:flex;align-items:center;gap:9px;font:800 13px/1.15 Unbounded,sans-serif;color:#fff}
.brand img{width:34px;height:34px;border-radius:9px;display:block}
.top.onblue .brand{visibility:hidden}
.topr{display:flex;gap:8px;align-items:center}
.pill{min-height:40px;padding:4px 14px;border:2px solid #fff;border-radius:20px;background:transparent;color:#fff;font-weight:700;white-space:nowrap}
.pill:hover{background:#0A2BC4}
.side{grid-row:1/3;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:18px;padding:16px 12px;background:var(--royal);color:#fff}
.nav{display:flex;flex-direction:column;gap:4px}
.nav button{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:6px 12px;border:0;border-radius:14px;background:transparent;color:#fff;font-weight:500;text-align:left}
.nav button:hover{background:#0A2BC4}
.nav button[aria-current=page]{background:#fff;color:var(--royal);font-weight:700}
.nav svg{flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.dotnew{width:9px;height:9px;border-radius:50%;background:var(--sky);margin-left:auto}
main{min-width:0;display:flex;flex-direction:column}
.page{width:100%;max-width:820px;margin:0 auto;padding:22px clamp(16px,3vw,32px) 48px}
.page.withbar{padding-bottom:120px}

/* Booster */
.hero{flex:1;position:relative;overflow:hidden;background:var(--royal);color:#fff;padding:clamp(24px,5vw,48px) clamp(16px,4vw,48px) 56px}
.hero h1{font-size:clamp(28px,6vw,46px);max-width:15em;margin-bottom:10px}
.hero p{font-size:18px;margin-bottom:22px}
.nets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,2vw,18px);max-width:640px}
.net{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 4px;border:0;border-radius:18px;background:#fff;color:var(--navy);font-weight:700;min-width:0;animation:rise .45s cubic-bezier(.16,1.3,.3,1) both}
.net:nth-child(2){animation-delay:.05s}.net:nth-child(3){animation-delay:.1s}.net:nth-child(4){animation-delay:.15s}.net:nth-child(5){animation-delay:.2s}.net:nth-child(6){animation-delay:.25s}
.net:hover:not([disabled]){background:var(--pale)}
.net img{width:clamp(46px,11vw,64px);height:clamp(46px,11vw,64px);border-radius:14px;display:block}
.net span{font-size:clamp(12.5px,3.4vw,15px);overflow-wrap:anywhere}
.net[disabled]{cursor:default}
.net .soon{font-size:11px;font-weight:700;padding:1px 7px;border-radius:999px;background:var(--pale)}
.stepbar{display:flex;align-items:center;gap:12px;padding:10px clamp(16px,3vw,32px);background:var(--royal);color:#fff}
.back{flex:none;display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:var(--royal);font-size:20px;font-weight:700}
.stepmeta{flex:1;min-width:0;font-size:14px;font-weight:700}
.bars{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:5px}
.bars i{display:block;height:6px;border-radius:3px;background:var(--navy)}
.bars i.on{background:#fff}
.title{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.title img{flex:none;width:52px;height:52px;border-radius:13px}
.title h1{margin:0}
.rows{display:grid;gap:9px}
.rowbtn{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:62px;padding:10px 16px;border:2px solid var(--line);border-radius:16px;background:#fff;text-align:left}
.rowbtn:hover:not([disabled]){border-color:var(--royal);background:var(--pale)}
.rowbtn b{display:block}
.rowbtn small{display:block;font-size:14px;color:var(--mut)}
.rowbtn[disabled]{cursor:default;color:var(--mut);background:#F5F9FD}
.chev{flex:none;color:var(--royal);font-size:20px;font-weight:700}
.opt{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:18px;border:2px solid var(--royal);border-radius:18px;background:#fff;text-align:left}
.opt:hover{background:var(--pale)}
.opt b{font:800 18px Unbounded,sans-serif}
.opt span{text-align:right;font-size:14px}
.opt strong{display:block;font:800 17px Unbounded,sans-serif;color:var(--royal)}
.qtybox{margin:-22px calc(-1*clamp(16px,3vw,32px)) 18px;padding:18px clamp(16px,3vw,32px) 20px;background:var(--royal);color:#fff}
.qtybox .sum{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:14px}
.qtybox .sum img{width:38px;height:38px;border-radius:10px}
.qtybox label{margin:0 0 6px;font-size:17px}
.bigqty{width:100%;padding:0;border:0;border-bottom:3px solid #fff;background:transparent;color:#fff;font:800 clamp(32px,8vw,44px)/1.25 Unbounded,sans-serif;-moz-appearance:textfield;appearance:textfield}
.bigqty::-webkit-outer-spin-button,.bigqty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.dialrow{display:flex;align-items:center;gap:10px;margin-top:12px}
.round{flex:none;width:44px;height:44px;border:2px solid #fff;border-radius:50%;background:transparent;color:#fff;font-size:22px;font-weight:700;line-height:1}
.dial{-webkit-appearance:none;appearance:none;flex:1;min-width:0;height:44px;margin:0;background:transparent}
.dial::-webkit-slider-runnable-track{height:10px;border-radius:5px;background:var(--sky)}
.dial::-moz-range-track{height:10px;border-radius:5px;background:var(--sky)}
.dial::-webkit-slider-thumb{-webkit-appearance:none;width:34px;height:34px;margin-top:-12px;border:6px solid var(--sky);border-radius:50%;background:#fff}
.dial::-moz-range-thumb{width:22px;height:22px;border:6px solid var(--sky);border-radius:50%;background:#fff}
.limits{display:flex;justify-content:space-between;font-size:14px;margin-top:2px}
.upload{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 14px;border:2px dashed var(--royal);border-radius:14px;color:var(--royal);font-weight:700;cursor:pointer;margin:0;text-align:center}
.upload input{position:absolute;width:1px;height:1px;opacity:0}
.preview{display:block;max-width:100%;max-height:220px;margin-top:8px;border-radius:12px;background:var(--pale)}
.orderbar{position:sticky;bottom:0;z-index:9;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px clamp(16px,3vw,32px);background:#fff;border-top:2px solid var(--line)}
.orderbar div{min-width:0}
.orderbar small{display:block;font-size:13px}
.orderbar strong{display:block;font:800 clamp(18px,5vw,24px)/1.15 Unbounded,sans-serif;white-space:nowrap}

/* Cartes */
.card{min-width:0;padding:15px;border:2px solid var(--line);border-radius:16px;background:#fff;margin-bottom:12px}
.cardhead{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:5px}
.cardhead strong{overflow-wrap:anywhere}
.line{font-size:15px;overflow-wrap:anywhere}
.track{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:11px 0 3px}
.track i{height:7px;border-radius:4px;background:var(--line)}
.track i.on{background:var(--royal)}
.tracklab{display:grid;grid-template-columns:repeat(3,1fr);font-size:12.5px;color:var(--mut)}
.tracklab span:nth-child(2){text-align:center}.tracklab span:nth-child(3){text-align:right}
.balance{padding:20px;border-radius:20px;background:var(--royal);color:#fff;margin-bottom:12px}
.balance b{display:block;font:800 clamp(26px,7vw,36px)/1.2 Unbounded,sans-serif;margin-top:3px}
.balance.alt{background:var(--sky);color:var(--navy)}
.kv{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;background:var(--pale);margin-bottom:6px;font-size:15px}
.kv b{white-space:nowrap}
.code{font:800 22px Unbounded,sans-serif;overflow-wrap:anywhere}
.seg{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 10px}
.seg button{flex:none;min-height:38px;padding:4px 13px;border:2px solid var(--royal);border-radius:19px;background:#fff;color:var(--royal);font-weight:700;font-size:14px}
.seg button[aria-pressed=true]{background:var(--royal);color:#fff}
.faq{border:2px solid var(--line);border-radius:14px;margin-bottom:8px}
.faq summary{min-height:48px;padding:12px 14px;font-weight:700;cursor:pointer}
.faq p{padding:0 14px 12px;margin:0;font-size:15px}
.prompt{padding:12px;border-radius:12px;background:var(--pale);margin-bottom:8px;overflow-wrap:anywhere}

/* Conversation */
.bubbles{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.bubble{max-width:min(85%,560px);padding:10px 13px;border-radius:15px;background:var(--pale);overflow-wrap:anywhere;white-space:pre-wrap;animation:pop .25s ease-out}
.bubble.me{align-self:flex-end;background:var(--royal);color:#fff}
.bubble .meta{display:block;margin-top:3px;white-space:normal}
.bubble.me .meta{color:#fff}
.bubble img{display:block;max-width:100%;max-height:260px;border-radius:10px;margin-bottom:4px}
.bubble audio{display:block;width:230px;max-width:100%}
.sendrow{display:flex;gap:8px;align-items:flex-end}
.sendrow .field{flex:1;min-width:0}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.chips button{min-height:38px;padding:4px 12px;border:2px solid var(--royal);border-radius:19px;background:#fff;color:var(--royal);font-weight:700;font-size:14px;text-align:left}

dialog{width:min(94vw,520px);max-height:92dvh;padding:20px;border:0;border-radius:22px;color:var(--navy);background:#fff;overflow-y:auto}
dialog::backdrop{background:rgba(7,28,92,.62)}
dialog[open]{animation:rise .35s cubic-bezier(.16,1.3,.3,1)}
dialog h2{margin:0 0 10px;font-size:20px}
.dlghead{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.close{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:var(--pale);color:var(--navy);font-size:18px;font-weight:700}
.switch{display:block;width:100%;margin-top:8px;min-height:44px;border:0;background:none;color:var(--royal);font-weight:700;text-decoration:underline}
#toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:30;width:max-content;max-width:min(92vw,520px);pointer-events:none}
#toast div{padding:10px 16px;border-radius:14px;background:var(--navy);color:#fff;font-weight:500;text-align:center}
.party{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:20px;overflow:hidden;background:var(--royal);color:#fff;text-align:center;animation:fade .2s linear}
.party strong{font:800 clamp(30px,8vw,46px)/1.1 Unbounded,sans-serif;animation:pop .45s cubic-bezier(.2,1.6,.4,1) both}
.party i{position:absolute;top:-20px;width:10px;height:16px;border-radius:3px;background:#fff;animation:fall 1.6s ease-in both}
.party i:nth-child(odd){background:var(--sky)}
@keyframes rise{from{transform:translateY(28px);opacity:0}to{transform:none;opacity:1}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes pop{0%{transform:scale(.75)}60%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes fall{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(105vh) rotate(540deg)}}

@media (max-width:860px){
 .shell{display:flex;flex-direction:column}
 .top.onblue .brand{visibility:visible}
 .side{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:20;height:auto;padding:5px 6px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #0A2BC4}
 .side .brand{display:none}
 .nav{flex-direction:row;gap:2px}
 .nav button{flex:1 1 0;min-width:0;flex-direction:column;gap:1px;min-height:54px;padding:4px 1px;font-size:12px;text-align:center;border-radius:12px}
 .dotnew{position:absolute;top:6px;right:calc(50% - 18px);margin:0}
 main{flex:1;padding-bottom:calc(66px + env(safe-area-inset-bottom))}
 .orderbar{bottom:calc(66px + env(safe-area-inset-bottom))}
 .page.withbar{padding-bottom:24px}
 .hero{padding-bottom:40px}
}
@media (prefers-reduced-motion:reduce){*,*::after{animation:none!important;transition:none!important}.party i{display:none}}
.top-gap,.hint.top,.btn.top,.rows.top,h1.top{margin-top:14px}
.linkish{display:inline;padding:0;border:0;background:none;color:var(--royal);font-weight:700;text-decoration:underline}
label.nolabel{margin-bottom:2px}
@media (max-width:480px){
 .top.onblue .brand span{display:none}
 .topr{min-width:0;margin-left:auto}
 .pill{padding:4px 11px;font-size:14px}
}
@media (min-width:861px){.qtybox{margin:0 0 18px;border-radius:20px;padding:20px 24px}}
.paybanner{display:block;width:100%;max-width:340px;padding:0;border:2px solid var(--royal);border-radius:20px;background:#fff;overflow:hidden;font-weight:700}
.paybanner:hover{background:var(--pale)}
.paybanner img{display:block;width:100%;height:auto}
.paybanner span{display:block;padding:12px;background:var(--royal);color:#fff}
