/* Helibets: private prediction markets on Helius Privacy Rings. Black, Helius orange, warm white. */
@font-face { font-family: 'Wix Madefor Display'; src: url('/assets/fonts/WixMadeforDisplay.woff2') format('woff2'); font-weight: 400 800; font-display: block; }
@font-face { font-family: 'Wix Madefor Text'; src: url('/assets/fonts/WixMadeforText.woff2') format('woff2'); font-weight: 400 800; font-display: block; }
@font-face { font-family: 'Spline Sans Mono'; src: url('/assets/fonts/SplineSansMono.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --ink: #050505; --p1: #0b0a09; --p2: #12100e; --p3: #1a1714;
  --line: rgba(242, 239, 234, .085); --line2: rgba(242, 239, 234, .16);
  --w: #F2EFEA; --dim: #b4ada5; --mute: #8B8680; --o: #E84326; --o2: #ff5a33; --ember: #9C2A16;
  --yes: var(--o); --no: var(--w);
  --disp: 'Wix Madefor Display', system-ui, sans-serif; --txt: 'Wix Madefor Text', system-ui, sans-serif; --mono: 'Spline Sans Mono', ui-monospace, monospace;
  --r: 18px; --rb: 13px; --pad: clamp(18px, 4.4vw, 64px); --slip: 392px;
}
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--w); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.5 var(--txt); background: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100svh; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--o); color: #fff; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* background: the odds ring */
#ring { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
#ring.on { opacity: 1; }
#poster { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 46% at 72% 70%, rgba(232, 67, 38, .10), transparent 70%), radial-gradient(40% 30% at 40% 62%, rgba(242, 239, 234, .05), transparent 70%); transition: opacity 1s ease; }
.nobg #ring, .nobg #poster { display: none; }
.clearbg, .clearbg body { background: transparent; }
#app { position: relative; z-index: 1; }

/* header */
#top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 74px; display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
#top.solid { background: rgba(5, 5, 5, .94); border-bottom-color: var(--line); }
.lock { display: flex; align-items: center; gap: 10px; font: 780 24px/1 var(--disp); letter-spacing: -.03em; flex-shrink: 0; }
.lock img { width: 30px; height: 30px; }
#nav { display: flex; gap: 26px; margin-left: 12px; }
#nav a { font: 560 16px/1 var(--txt); color: var(--dim); padding: 8px 0; position: relative; transition: color .2s; }
#nav a:hover, #nav a.on { color: var(--w); }
#nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--o) 0 63%, transparent 63% 67%, var(--w) 67%); border-radius: 2px; }
.topr { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search { display: flex; align-items: center; gap: 10px; height: 44px; width: 270px; padding: 0 14px; border-radius: 12px; background: rgba(18, 16, 14, .82); border: 1px solid var(--line); color: var(--mute); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--w); font-size: 15px; }
.search input::placeholder { color: var(--mute); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: var(--rb); font: 650 16px/1 var(--txt); white-space: nowrap; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, opacity .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.o { background: var(--o); color: #fff; }
.btn.o:hover { background: var(--o2); }
.btn.w { background: var(--w); color: var(--ink); }
.btn.w:hover { background: #fff; }
.btn.g { background: rgba(242, 239, 234, .06); border: 1px solid var(--line2); }
.btn.g:hover { background: rgba(242, 239, 234, .1); }
.btn.big { height: 56px; padding: 0 26px; font-size: 17px; border-radius: 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.wbtn img { width: 20px; height: 20px; border-radius: 5px; }
.wbtn .sh2 { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); align-items: center; justify-content: center; flex-shrink: 0; }

/* contract address */
.capill { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(18, 16, 14, .82); font: 600 15px/1 var(--mono); display: inline-flex; align-items: center; gap: 8px; color: var(--w); flex-shrink: 0; }
.capill span { color: var(--o); font-family: var(--txt); font-weight: 700; }
.capill.copied, .cachip.copied i, .ftca button.copied { color: var(--o); }
.carow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.cachip { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 14px; border-radius: 13px; border: 1px solid var(--line2); background: rgba(18, 16, 14, .82); min-width: 0; max-width: 100%; }
.cachip b { font: 750 15px/1 var(--disp); }
.cachip span { font-size: 15px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cachip i { font-style: normal; font: 650 14px/1 var(--txt); padding: 8px 10px; border-radius: 9px; background: rgba(242, 239, 234, .08); }
.ftca { color: var(--dim) !important; overflow-wrap: anywhere; }
.ftca button { font-size: 14px; color: var(--w); text-align: left; overflow-wrap: anywhere; }
/* layout */
main { position: relative; overflow-x: clip; }
section { position: relative; padding: 120px var(--pad); }
.wrap { max-width: 1320px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--disp); margin: 0; letter-spacing: -.035em; }
h2 { font-weight: 790; font-size: clamp(38px, 5vw, 72px); line-height: .98; }
h2 em { font-style: normal; color: var(--o); }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--dim); max-width: 600px; margin: 20px 0 0; }
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* hero */
.hero { min-height: 100svh; padding-top: 140px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: center; max-width: 1440px; margin: 0 auto; }
.hl { position: relative; }
.hl::before { content: ''; position: absolute; z-index: -1; left: -14vw; right: -10vw; top: -16vh; bottom: -14vh; background: radial-gradient(closest-side, rgba(5, 5, 5, .86), rgba(5, 5, 5, .55) 58%, rgba(5, 5, 5, 0)); pointer-events: none; }
.page .lp > .lede, .page .lp > h1, .mk-l > h1 { position: relative; }
.hero h1 { font-weight: 800; font-size: clamp(54px, 7.4vw, 118px); line-height: .92; letter-spacing: -.045em; }
.hero h1 span { display: block; }
.hero h1 .o { color: var(--o); }
.hero .lede { max-width: 540px; margin-top: 26px; color: #cfc8c0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.built { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--dim); font-size: 15px; }
.built img { width: 24px; height: 24px; border-radius: 6px; }
.built b { color: var(--w); font-weight: 620; }

/* market cards (featured + grid) */
.fm { position: relative; border-radius: 22px; background: rgba(11, 10, 9, .86); border: 1px solid var(--line2); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.fm .img { height: 168px; position: relative; overflow: hidden; }
.fm .img img { width: 100%; height: 100%; object-fit: cover; }
.fm .img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 10, 9, 0) 30%, rgba(11, 10, 9, .96)); }
.fm .tag { position: absolute; left: 18px; bottom: 12px; z-index: 1; display: flex; gap: 10px; align-items: center; font: 600 15px/1 var(--txt); }
.fm .tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); }
.fm .bd { padding: 6px 20px 20px; }
.fm h3 { font-size: 25px; line-height: 1.14; font-weight: 740; letter-spacing: -.025em; margin: 6px 0 16px; min-height: 57px; }
.odds { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.gauge { position: relative; width: 58px; height: 58px; flex-shrink: 0; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.gauge circle { fill: none; stroke-width: 7; transition: stroke-dasharray .9s cubic-bezier(.3, .7, .2, 1), stroke-dashoffset .9s cubic-bezier(.3, .7, .2, 1); }
.gauge b { position: absolute; inset: 0; display: grid; place-items: center; font: 760 15px/1 var(--disp); letter-spacing: -.02em; }
.ochance { font: 780 30px/1 var(--disp); letter-spacing: -.03em; }
.ochance small { display: block; font: 500 15px/1.3 var(--txt); color: var(--dim); letter-spacing: 0; margin-top: 5px; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yn button { height: 54px; border-radius: 14px; font: 720 18px/1 var(--disp); letter-spacing: -.01em; display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s, filter .2s, background .2s, box-shadow .2s; }
.yn .y { background: var(--o); color: #fff; }
.yn .n { background: var(--w); color: var(--ink); }
.yn button:hover { filter: brightness(1.08); }
.yn button span { font: 600 15px/1 var(--txt); opacity: .78; }
.yn button.sel { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px currentColor; }
.yn .y.sel { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--o); }
.yn .n.sel { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--w); }
.src { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; color: var(--dim); }
.src img { width: 18px; height: 18px; border-radius: 5px; }
.pool { margin-left: auto; font-size: 15px; color: var(--dim); display: flex; gap: 6px; align-items: baseline; }
.pool .mono { color: var(--w); letter-spacing: .12em; }
.fmnav { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 22px; height: 3px; border-radius: 2px; background: rgba(242, 239, 234, .16); transition: background .3s; }
.dots i.on { background: var(--o); }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--dim); transition: color .2s, border-color .2s; }
.arrows button:hover { color: var(--w); border-color: rgba(242, 239, 234, .3); }

/* explore */
.ex-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.cats button { height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--line2); color: var(--dim); font: 600 15px/1 var(--txt); background: rgba(11, 10, 9, .6); transition: all .2s; }
.cats button:hover { color: var(--w); }
.cats button.on { background: var(--w); color: var(--ink); border-color: var(--w); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-top: 30px; }
.mc { border-radius: var(--r); background: rgba(11, 10, 9, .9); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; cursor: pointer; }
.mc:hover { border-color: var(--line2); transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.mc .top { display: flex; gap: 14px; padding: 16px 16px 0; align-items: flex-start; }
.mc .top img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--p3); }
.mc h4 { margin: 0; font: 680 17px/1.28 var(--txt); letter-spacing: -.01em; }
.mc .meta { padding: 14px 16px 0; display: flex; align-items: center; gap: 12px; }
.mc .meta .gauge { width: 46px; height: 46px; }
.mc .meta .gauge b { font-size: 13px; }
.mc .meta .tx { font-size: 15px; color: var(--dim); line-height: 1.35; }
.mc .meta .tx b { color: var(--w); font-weight: 650; }
.mc .yn { padding: 14px 16px 16px; margin-top: auto; }
.mc .yn button { height: 46px; font-size: 16px; border-radius: 12px; }
.mc.big { grid-column: span 2; grid-row: span 2; }
.mc.big .hero-img { height: 210px; position: relative; }
.mc.big .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.mc.big .hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11, 10, 9, .95)); }
.mc.big h4 { font: 760 28px/1.12 var(--disp); letter-spacing: -.03em; }
.empty { color: var(--dim); padding: 40px 0; }

/* launch teaser + venues */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.venues { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.venue { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); background: rgba(11, 10, 9, .88); border: 1px solid var(--line); text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.venue:hover { border-color: var(--line2); transform: translateY(-2px); }
.venue.sel { border-color: var(--o); background: rgba(232, 67, 38, .07); }
.venue img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: #0f0f0f; }
.venue b { display: block; font: 720 19px/1.15 var(--disp); letter-spacing: -.02em; }
.venue span { display: block; font-size: 15px; color: var(--dim); margin-top: 3px; }
.venue.pump img { background: #fff; padding: 6px; }
.venue.ray img { background: #0c0c12; padding: 7px; }

/* open a market teaser */
.kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.kind { padding: 22px; border-radius: var(--r); background: rgba(11, 10, 9, .88); border: 1px solid var(--line); min-height: 196px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; text-align: left; }
.kind:hover { border-color: var(--line2); transform: translateY(-2px); }
.kind .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(242, 239, 234, .06); margin-bottom: auto; }
.kind b { font: 730 21px/1.15 var(--disp); letter-spacing: -.02em; margin-top: 22px; }
.kind span { font-size: 15px; color: var(--dim); margin-top: 6px; line-height: 1.45; }

/* sealed ticket */
.ticket { --tear: 62%; position: relative; border-radius: 22px; background: linear-gradient(180deg, #14110f, #0c0a09); border: 1px solid var(--line2);
  -webkit-mask: radial-gradient(circle 13px at 0 var(--tear), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--tear), #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 13px at 0 var(--tear), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--tear), #0000 97%, #000) right / 51% 100% no-repeat; }
.ticket::after { content: ''; position: absolute; left: 22px; right: 22px; top: var(--tear); border-top: 2px dashed rgba(242, 239, 234, .14); }
.tk-in { padding: 26px 28px 24px; }
.tk-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.tk-row:last-child { border-bottom: 0; }
.tk-row span { color: var(--dim); }
.tk-row b { font-weight: 650; text-align: right; }
.sealv { position: relative; display: inline-grid; justify-items: end; }
.sealv > * { grid-area: 1 / 1; transition: opacity .45s ease, filter .45s ease, transform .45s ease; }
.sealv .dots { font-family: var(--mono); letter-spacing: .16em; color: var(--w); opacity: 0; transform: scale(.9); filter: blur(4px); }
.sealed .sealv .plain { opacity: 0; filter: blur(6px); transform: scale(1.04); }
.sealed .sealv .dots { opacity: 1; transform: none; filter: none; }
.peek .sealv .plain { opacity: 1 !important; filter: none !important; transform: none !important; }
.peek .sealv .dots { opacity: 0 !important; }
.tk-foot { display: flex; align-items: center; gap: 12px; padding: 22px 28px 26px; }
.tk-foot img { width: 34px; height: 34px; }
.tk-foot .tx { font-size: 15px; color: var(--dim); line-height: 1.4; }
.tk-foot .tx b { color: var(--w); font-weight: 650; }
.hold { margin-left: auto; height: 42px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--line2); font: 600 15px/1 var(--txt); user-select: none; -webkit-user-select: none; touch-action: none; }
.hold:active { background: rgba(242, 239, 234, .08); }
.chain-v { margin-top: 28px; display: grid; gap: 10px; }
.cv { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #cfc8c0; }
.cv i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(242, 239, 234, .07); font-style: normal; flex-shrink: 0; font-size: 13px; }
.cv i.o { background: rgba(232, 67, 38, .16); color: var(--o); }

/* coins */
.coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 34px; }
.coin { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); background: rgba(11, 10, 9, .9); border: 1px solid var(--line); }
.coin img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.coin b { display: block; font: 720 18px/1.1 var(--disp); }
.coin span { font-size: 15px; color: var(--dim); }
.coin.open { border-style: dashed; color: var(--dim); }
.coin.open .ph { width: 50px; height: 50px; border-radius: 50%; border: 1.5px dashed var(--line2); flex-shrink: 0; }

/* footer */
footer { position: relative; z-index: 1; padding: 70px var(--pad) 50px; border-top: 1px solid var(--line); background: rgba(5, 5, 5, .92); }
.ft { max-width: 1320px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; justify-content: space-between; }
.ft p { margin: 10px 0 0; color: var(--mute); font-size: 15px; max-width: 560px; }
.ft nav { display: flex; gap: 24px; flex-wrap: wrap; }
.ft nav a { color: var(--dim); font-size: 15px; }
.ft nav a:hover { color: var(--w); }

/* pages */
.page { min-height: 100svh; padding: 112px var(--pad) 90px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font: 600 15px/1 var(--txt); margin-bottom: 22px; }
.back:hover { color: var(--w); }
.mk { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 34px; max-width: 1240px; margin: 0 auto; align-items: start; }
.mk-hero { border-radius: 24px; overflow: hidden; position: relative; height: 300px; border: 1px solid var(--line); }
.mk-hero img { width: 100%; height: 100%; object-fit: cover; }
.mk-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5, 5, 5, .9)); }
.mk-hero .tag { position: absolute; left: 22px; bottom: 18px; z-index: 1; font: 600 15px/1 var(--txt); display: flex; gap: 10px; }
.mk h1 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 790; line-height: 1.02; letter-spacing: -.035em; margin: 26px 0 0; }
.mk .ev { color: var(--dim); font-size: 17px; margin-top: 10px; }
.bigodds { display: flex; align-items: center; gap: 24px; margin-top: 30px; padding: 22px; border-radius: 20px; background: rgba(11, 10, 9, .86); border: 1px solid var(--line); }
.bigodds .gauge { width: 112px; height: 112px; }
.bigodds .gauge circle { stroke-width: 9; }
.bigodds .gauge b { font-size: 26px; }
.bo-l { display: grid; gap: 10px; flex: 1; }
.bar { height: 10px; border-radius: 6px; background: var(--w); overflow: hidden; display: flex; }
.bar i { background: var(--o); height: 100%; transition: width .9s cubic-bezier(.3, .7, .2, 1); }
.bar-l { display: flex; justify-content: space-between; font: 650 16px/1 var(--txt); }
.bar-l .y { color: var(--o); }
.rules { margin-top: 26px; display: grid; gap: 0; border-radius: 20px; background: rgba(11, 10, 9, .86); border: 1px solid var(--line); padding: 6px 22px; }
.rules .tk-row { font-size: 16px; }

/* bet panel (market page + slip) */
.bp { border-radius: 22px; background: rgba(11, 10, 9, .94); border: 1px solid var(--line2); padding: 22px; position: sticky; top: 96px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.bp h3 { font-size: 22px; font-weight: 760; letter-spacing: -.025em; }
.bp .yn { margin-top: 16px; }
.amt { margin-top: 18px; }
.amt label { display: flex; justify-content: space-between; font-size: 15px; color: var(--dim); margin-bottom: 8px; }
.amt-in { display: flex; align-items: center; height: 62px; border-radius: 15px; background: var(--p2); border: 1px solid var(--line2); padding: 0 8px 0 18px; transition: border-color .2s; }
.amt-in:focus-within { border-color: rgba(242, 239, 234, .35); }
.amt-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 760 28px/1 var(--disp); letter-spacing: -.02em; }
.coinpick { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 8px; border-radius: 11px; background: rgba(242, 239, 234, .07); font: 650 16px/1 var(--txt); flex-shrink: 0; }
.coinpick img { width: 26px; height: 26px; border-radius: 50%; }
.quick { display: flex; gap: 8px; margin-top: 10px; }
.quick button { flex: 1; height: 38px; border-radius: 10px; border: 1px solid var(--line2); font: 620 15px/1 var(--txt); color: var(--dim); transition: all .15s; }
.quick button:hover, .quick button.on { color: var(--w); border-color: rgba(242, 239, 234, .32); }
.sum { margin-top: 18px; display: grid; gap: 0; }
.sum .tk-row { padding: 10px 0; font-size: 15px; }
.priv { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px; border-radius: 14px; background: rgba(232, 67, 38, .07); border: 1px solid rgba(232, 67, 38, .2); font-size: 15px; line-height: 1.45; color: #e7ddd6; }
.priv img { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.bp .go { width: 100%; margin-top: 16px; }
.note { font-size: 15px; color: var(--dim); margin-top: 12px; text-align: center; }
.err { color: #ff8b73; font-size: 15px; margin-top: 10px; text-align: center; min-height: 0; }

/* sealing state */
.sealing .go { pointer-events: none; }
.state { display: none; }
.bp.done .form { display: none; }
.bp.done .state { display: block; animation: rise .6s cubic-bezier(.2, .7, .2, 1); }
.stamp { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.stamp .ringsvg { width: 52px; height: 52px; animation: spin 2.4s cubic-bezier(.5, 0, .2, 1) 1; }
@keyframes spin { from { transform: rotate(-200deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.stamp b { display: block; font: 780 25px/1.05 var(--disp); letter-spacing: -.03em; }
.stamp span { font-size: 15px; color: var(--dim); }
.wait { display: none; align-items: center; justify-content: center; gap: 10px; }
.sealing .wait { display: flex; }
.sealing .gotext { display: none; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* slip (desktop dock, mobile sheet) */
#slip { position: fixed; z-index: 40; right: 18px; top: 92px; width: var(--slip); max-height: calc(100vh - 110px); overflow: auto; transform: translateX(calc(100% + 40px)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); scrollbar-width: none; }
#slip.open { transform: none; }
#slip .bp { position: relative; top: 0; }
.slip-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--dim); z-index: 2; }
.slip-x:hover { color: var(--w); background: rgba(242, 239, 234, .06); }
.slip-m { display: flex; gap: 12px; align-items: center; padding-right: 36px; }
.slip-m img { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; }
.slip-m b { font: 700 16px/1.25 var(--txt); display: block; }

/* launch + open pages */
.lp { max-width: 1180px; margin: 0 auto; }
.lp h1 { font-size: clamp(40px, 5vw, 76px); font-weight: 800; line-height: .96; letter-spacing: -.04em; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; margin-top: 40px; align-items: start; }
.step { border-radius: 22px; background: rgba(11, 10, 9, .9); border: 1px solid var(--line); padding: 24px; margin-bottom: 16px; }
.step h3 { font-size: 22px; font-weight: 760; display: flex; align-items: center; gap: 12px; }
.step h3 .n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--w); color: var(--ink); font: 760 15px/1 var(--disp); }
.step .venues { margin-top: 18px; }
.fld { display: grid; gap: 8px; margin-top: 16px; }
.fld > span { font-size: 15px; color: var(--dim); }
.inp { height: 52px; border-radius: 13px; background: var(--p2); border: 1px solid var(--line2); padding: 0 16px; outline: 0; font-size: 16px; transition: border-color .2s; width: 100%; }
.inp:focus { border-color: rgba(242, 239, 234, .38); }
textarea.inp { height: 92px; padding: 14px 16px; resize: vertical; line-height: 1.4; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.up { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 15px; border: 1.5px dashed var(--line2); cursor: pointer; transition: border-color .2s, background .2s; }
.up:hover, .up.drag { border-color: var(--o); background: rgba(232, 67, 38, .05); }
.up .th { width: 64px; height: 64px; border-radius: 14px; background: var(--p3) center/cover; display: grid; place-items: center; color: var(--mute); flex-shrink: 0; overflow: hidden; }
.up b { display: block; font-weight: 650; }
.up span { font-size: 15px; color: var(--dim); }
.up .pickb { margin-left: auto; height: 40px; padding: 0 14px; border-radius: 10px; background: rgba(242, 239, 234, .08); display: grid; place-items: center; font: 600 15px/1 var(--txt); }
.preview { position: sticky; top: 96px; }
.pv { border-radius: 22px; background: rgba(11, 10, 9, .94); border: 1px solid var(--line2); padding: 22px; }
.pv-c { display: flex; align-items: center; gap: 14px; }
.pv-c .ci { width: 64px; height: 64px; border-radius: 50%; background: var(--p3) center/cover; flex-shrink: 0; }
.pv-c b { display: block; font: 780 24px/1.05 var(--disp); letter-spacing: -.03em; }
.pv-c span { color: var(--dim); font-size: 15px; }
.pv-v { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 13px; background: rgba(242, 239, 234, .05); font-size: 15px; }
.pv-v img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.pv-m { margin-top: 14px; padding: 16px; border-radius: 16px; background: rgba(242, 239, 234, .04); border: 1px solid var(--line); }
.pv-m h4 { margin: 0; font: 680 17px/1.3 var(--txt); }
.pv-m .odds { margin: 12px 0 0; }
.live { display: inline-flex; align-items: center; gap: 8px; font: 650 15px/1 var(--txt); color: var(--w); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--o); box-shadow: 0 0 0 0 rgba(232, 67, 38, .6); animation: ping 1.6s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(232, 67, 38, 0); } }
.okc { text-align: center; padding: 10px 0 4px; }
.okc .ringsvg { width: 84px; height: 84px; margin: 0 auto 14px; display: block; animation: spin 2.2s cubic-bezier(.5, 0, .2, 1) 1; }
.okc b { display: block; font: 790 28px/1.05 var(--disp); letter-spacing: -.03em; }
.okc p { color: var(--dim); font-size: 15px; margin: 10px 0 0; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.seg button { padding: 16px 14px; border-radius: 15px; border: 1px solid var(--line2); text-align: left; transition: all .2s; background: rgba(11, 10, 9, .6); }
.seg button b { display: block; font: 700 17px/1.2 var(--disp); }
.seg button span { display: block; font-size: 15px; color: var(--dim); margin-top: 4px; }
.seg button.on { border-color: var(--o); background: rgba(232, 67, 38, .08); }

/* my balance */
.me { max-width: 960px; margin: 0 auto; }
.bal { margin-top: 28px; }
.bal .big { font: 800 clamp(48px, 7vw, 92px)/1 var(--disp); letter-spacing: -.04em; margin: 8px 0 0; }
.bal .big .dots { font-family: var(--mono); letter-spacing: .1em; font-weight: 600; }
.pos { margin-top: 26px; display: grid; gap: 12px; }
.pos .row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(11, 10, 9, .92); border: 1px solid var(--line); }
.pos .row img { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; }
.pos .row .q { flex: 1; min-width: 0; }
.pos .row .q b { display: block; font: 650 16px/1.3 var(--txt); }
.pos .row .q span { font-size: 15px; color: var(--dim); }
.badge { height: 32px; padding: 0 12px; border-radius: 9px; display: inline-flex; align-items: center; gap: 7px; font: 650 15px/1 var(--txt); background: rgba(242, 239, 234, .07); white-space: nowrap; }
.badge.o { background: rgba(232, 67, 38, .14); color: #ff9a80; }
.badge.paid { background: var(--o); color: #fff; }

/* wallet sheet */
#sheet { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, .66); padding: 20px; }
#sheet.open { display: flex; }
.sh { width: 100%; max-width: 400px; border-radius: 24px; background: #0e0c0b; border: 1px solid var(--line2); padding: 24px; animation: rise .35s cubic-bezier(.2, .7, .2, 1); }
.sh h3 { font-size: 24px; font-weight: 780; }
.sh p { color: var(--dim); font-size: 15px; margin: 8px 0 18px; }
.wl { display: grid; gap: 10px; }
.wl button { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 16px; border-radius: 15px; background: var(--p2); border: 1px solid var(--line); font: 650 17px/1 var(--txt); transition: border-color .2s; }
.wl button:hover { border-color: var(--line2); }
.wl img { width: 32px; height: 32px; border-radius: 9px; }
.sh .x { margin-top: 16px; width: 100%; }

/* responsive */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; padding-top: 128px; }
  .hero .fmwrap { max-width: 460px; }
  .kinds { grid-template-columns: 1fr 1fr; }
  #nav { display: none; }
}
@media (max-width: 980px) {
  .split, .mk, .steps { grid-template-columns: minmax(0, 1fr); }
  .mk > *, .steps > *, .split > * { min-width: 0; }
  .bp, .preview { position: relative; top: 0; }
  .mc.big { grid-column: auto; grid-row: auto; }
  .search { display: none; }
  section { padding: 90px var(--pad); }
}
@media (max-width: 700px) {
  :root { --pad: 18px; }
  #top { height: 64px; gap: 12px; background: rgba(5, 5, 5, .97); border-bottom-color: var(--line); }
  .lock { font-size: 21px; }
  .lock img { width: 26px; height: 26px; }
  .hero { padding-top: 96px; gap: 26px; min-height: 0; }
  .hero h1 { font-size: 15vw; }
  .hero .lede { font-size: 17px; margin-top: 18px; }
  .cta .btn { flex: 1; }
  .fm h3 { font-size: 22px; min-height: 0; }
  .grid { grid-template-columns: 1fr; }
  .venues, .kinds, .row2, .seg { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr 1fr; }
  .row3 { grid-template-columns: 1fr 1fr; }
  #slip { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 88svh; transform: translateY(105%); }
  #slip.open { transform: none; }
  #slip .bp { border-radius: 24px 24px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .page { padding-top: 84px; }
  .mk-hero { height: 190px; border-radius: 20px; }
  .bigodds { gap: 16px; padding: 16px; }
  .bigodds .gauge { width: 84px; height: 84px; }
  .bigodds .gauge b { font-size: 21px; }
  .wbtn .full { display: none; }
  .wbtn .sh2 { display: inline; }
  .wbtn { padding: 0 12px; gap: 7px; font-size: 15px; max-width: 150px; }
  .wbtn span { overflow: hidden; text-overflow: ellipsis; }
  .topr { gap: 8px; min-width: 0; }
  .btn { height: 44px; padding: 0 16px; }
  .btn.big { height: 54px; }
  .ticket { --tear: 64%; }
  .tk-in { padding: 22px 20px 20px; }
  .tk-foot { padding: 18px 20px 22px; flex-wrap: wrap; }
  .pos .row { flex-wrap: wrap; }
  .pos .row .q { flex: 1 1 calc(100% - 64px); }
  .pos .row .badge { margin-left: 60px; }
  .mk h1 { font-size: 30px; }
  .hero .fmwrap { width: 100%; }
  .lp h1 { font-size: 40px; }
}
@media (max-width: 380px) { .lock span { display: none; } }
@media (max-width: 1180px) { .capill { display: none; } }

/* film/phone capture mode: phone-sized UI with no header chrome noise */
.film #top { background: transparent; border-bottom: 0; }
.film .note { display: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .reveal.in { animation: none; } }
