:root{--ink:#0F1115;--bg:#F4F5F7;--muted:#5B616E;--faint:#8A909C;--line:#E4E6EB;--line2:#EEF0F3;--red:#C8102E;--ok:#12805C;--ok-bg:#E8F5EF;--gold:#8A6D1D;--gold-l:#E6C77A;--card:#16181D}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.45 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-feature-settings:"tnum" 1;-webkit-tap-highlight-color:transparent}
a{color:var(--ink)}
h1{margin:0;font-size:26px;font-weight:700;letter-spacing:-.03em}
.muted{color:var(--muted)}.small{font-size:13px}.center{text-align:center}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--muted)}
.eyebrow.light{color:rgba(255,255,255,.6);font-weight:600}.eyebrow.ok{color:var(--ok)}.eyebrow.red{color:var(--red)}
.btn{display:inline-flex;align-items:center;justify-content:center;height:50px;padding:0 18px;border-radius:12px;border:1px solid var(--ink);background:var(--ink);color:#fff;font:600 16px Inter,system-ui,sans-serif;text-decoration:none;cursor:pointer}
.btn.sm{height:40px;font-size:14px;border-radius:10px;align-self:flex-start}
.btn.ghost{background:#fff;color:var(--ink);border-color:#D5D8DE}
.btn.block{width:100%}
.link{background:none;border:0;color:var(--muted);font:500 14px Inter,sans-serif;text-decoration:underline;cursor:pointer;padding:6px}
label.f{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:var(--muted)}
input{font:400 17px Inter,system-ui,sans-serif;color:var(--ink);padding:13px 14px;border:1px solid #D5D8DE;border-radius:12px;background:#fff;width:100%}
input:focus{outline:2px solid rgba(15,17,21,.15);border-color:var(--ink)}
.alert{padding:12px 14px;border-radius:12px;font-weight:500;font-size:14px}
.alert.err{background:#FDECEE;color:#8E0B21}.alert.ok{background:var(--ok-bg);color:#0B5C42}
/* login */
.login{max-width:440px;margin:0 auto;padding:48px 20px 32px;display:flex;flex-direction:column;gap:16px;min-height:100vh}
.lhead{display:flex;flex-direction:column;gap:6px;padding:12px 4px}
.lhead h1{font-size:32px}
.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:14px}
/* app */
.app{max-width:480px;margin:0 auto;padding:0 0 calc(92px + env(safe-area-inset-bottom));min-height:100vh}
.view{display:none;flex-direction:column;gap:12px;padding:0 20px}
.view.on{display:flex}
.top{display:flex;align-items:center;justify-content:space-between;padding:calc(20px + env(safe-area-inset-top)) 0 4px}
.eyebrow-s{display:block;font-size:12px;font-weight:500;color:var(--muted)}
.hello{font-size:20px;font-weight:700;letter-spacing:-.02em}
.chip{height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:#fff;font:600 12px Inter,sans-serif;display:inline-flex;align-items:center;text-decoration:none}
.mcard{all:unset;cursor:pointer;margin-top:4px;background:var(--card);color:#fff;border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:18px;position:relative;overflow:hidden;box-shadow:0 10px 30px rgba(15,17,21,.18)}
.mcard:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.ring{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.08)}
.r1{right:-40px;top:-40px;width:180px;height:180px}.r2{right:-10px;top:-10px;width:120px;height:120px}
.mc-top,.mc-bot{display:flex;justify-content:space-between;gap:12px;position:relative}
.mc-top{align-items:flex-start}.mc-bot{align-items:flex-end}
.mc-top>span:first-child,.mc-bot>span:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.mc-top b{font-size:17px;font-weight:700}
.tierchip{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--gold-l);border:1px solid rgba(230,199,122,.5);padding:5px 10px;border-radius:999px}
.tierchip.t-silver{color:#C9CDD4;border-color:rgba(201,205,212,.45)}.tierchip.t-platinum{color:#E8ECF2;border-color:rgba(232,236,242,.55)}
.code{font-size:22px;font-weight:600;letter-spacing:.08em}
.since{font-size:12px;color:rgba(255,255,255,.6)}
.qrbox{width:84px;height:84px;background:#fff;border-radius:10px;padding:6px;flex:0 0 auto;display:flex}
.qrbox svg{width:72px;height:72px}
.bar{height:3px;width:44px;background:var(--red);border-radius:2px}
.bal{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tile{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--ink)}
.tile>span:first-child:not(.row-b):not(.eyebrow){font-size:12px;font-weight:500;color:var(--muted)}
.tile strong{font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
.tile small{font-size:12px;color:var(--muted)}
.tile small.gold{color:var(--gold)}
.tile b{font-size:15px;font-weight:600}
.tile b.big{font-size:17px}
.tile.ready{border-color:var(--ink)}
.row-b{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.prog{display:block;height:6px;background:#EEF0F3;border-radius:99px;overflow:hidden}
.prog i{display:block;height:100%;background:var(--ink);border-radius:99px}
.steps{display:grid;gap:6px}.steps i{height:6px;border-radius:99px;background:#EEF0F3}.steps i.on{background:var(--ink)}
.sec-h{display:flex;justify-content:space-between;align-items:baseline;margin-top:6px;padding:0 2px}
.offers{display:flex;flex-direction:column;gap:10px}
.offer{padding:10px}
.offer summary{list-style:none;display:flex;gap:12px;align-items:center;cursor:pointer}
.offer summary::-webkit-details-marker{display:none}
.thumb{width:64px;height:64px;border-radius:12px;background:#E9EBEF center/cover no-repeat;flex:0 0 auto}
.ot{display:flex;flex-direction:column;gap:2px;min-width:0}
.offer img{width:100%;border-radius:12px;margin-top:10px}
.offer p{margin:8px 2px 2px;color:var(--muted);font-size:14px}
.list{gap:0;padding:4px 16px}
.li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line2)}
.li:last-child{border-bottom:0}
.li>div{display:flex;flex-direction:column;min-width:0}
.li .t{font-size:14px;font-weight:500}.li .s{font-size:12px;color:var(--muted)}
.li .v{font-size:14px;font-weight:600;white-space:nowrap}.li .v.ok{color:var(--ok)}
.seg{display:grid;grid-template-columns:1fr 1fr;background:#E9EBEF;border-radius:12px;padding:3px}
.seg a{text-align:center;padding:9px;border-radius:10px;text-decoration:none;color:var(--muted);font-size:14px;font-weight:500}
.seg a.on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(15,17,21,.08)}
.tabbar{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);padding:8px 8px calc(10px + env(safe-area-inset-bottom));z-index:10}
.tabbar a{position:relative;text-decoration:none;color:#8A909C;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:500;padding:6px 0}
.tabbar a.on{color:var(--ink);font-weight:600}
.tabbar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.badge{position:absolute;top:2px;left:calc(50% + 6px);background:var(--red);color:#fff;font-size:10px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 4px}
@media (min-width:600px){.tabbar{max-width:480px;margin:0 auto;border:1px solid var(--line);border-bottom:0;border-radius:16px 16px 0 0}}
.qrfull{position:fixed;inset:0;background:rgba(15,17,21,.6);z-index:20;display:flex;align-items:flex-end;justify-content:center}
.qrfull[hidden]{display:none}
.qrsheet{background:#fff;width:100%;max-width:480px;border-radius:24px 24px 0 0;padding:24px 24px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.qrsheet b{font-size:18px}
.qrbig{margin:14px 0 6px;padding:12px;border:1px solid var(--line);border-radius:18px}
.qrbig svg{display:block;width:min(70vw,260px);height:auto}
.qrsheet .btn{margin-top:10px;width:100%}
[hidden]{display:none!important}

.logo{width:140px;height:auto;margin-bottom:10px}
.hi{display:flex;align-items:center;gap:12px}
.logo-s{width:52px;height:auto;flex:0 0 auto}
.btn.danger{background:#fff;color:var(--red);border-color:#F1C4CC}
.contact{gap:10px}
.contact .btn{width:100%}
.contact .link{align-self:center}
a.li{text-decoration:none;color:var(--ink)}
.clink:hover .t{color:var(--red)}

.mcard .mc-top>span.mc-brand{flex-direction:row;align-items:center;gap:12px}
.mc-brand img{width:58px;height:auto;flex:0 0 auto}
.mc-brand>span{display:flex;flex-direction:column;gap:2px}
.terms{margin:0;padding:20px 20px 20px 40px;display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:1.55;color:#2B2F36}
.terms li::marker{color:var(--red);font-weight:700}
