@font-face{font-family:Sora;src:url(/games-assets/aedaa86e6c486e31d231a062a882f0701193fbbdb953df2f94058ff473a38255/public/trade/fonts/sora-latin-v17.woff2) format('woff2');font-weight:100 800;font-display:swap}
:root{color-scheme:dark;--bg:#0b0c11;--surface:#14161f;--card:#1b1d27;--edge:#282b39;--edge2:#343849;--text:#eef0f7;--muted:#9096ab;--green:#35d59b;--blue:#55c8f2;--red:#ff5d73;--accent:#8b8fff;--chance:48.5%;--over:51.49%}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Sora,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;font-size:14px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:1px solid var(--edge2);background:var(--card);font-weight:700;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}button:hover{border-color:#666c82}button:disabled{opacity:.4;cursor:default}input{min-width:0;outline:none;color:var(--text)}input:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{appearance:textfield}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}.site-header{height:60px;display:flex;align-items:center;gap:20px;padding:0 22px;border-bottom:1px solid var(--edge);background:var(--bg)}.brand{display:flex;align-items:center;gap:7px;font-size:17px;font-weight:800;letter-spacing:.02em}.site-header nav{display:flex;gap:4px;margin-left:8px}.site-header nav a{padding:8px 14px;border-radius:99px;font-size:14px;font-weight:600;color:var(--muted)}.site-header nav a.on{background:var(--surface);color:var(--text)}.wallet{margin-left:auto;padding:7px 13px;border-radius:99px;background:var(--surface);border:1px solid var(--edge);line-height:1.3}.wallet small{display:block;font-size:10px;color:var(--muted);letter-spacing:.1em}.wallet b{font-size:15px;font-weight:800}.demo-account{font-size:12px;color:var(--muted);font-weight:700}.page{max-width:1120px;margin:auto;padding:12px 22px 24px}.game-header{height:62px;display:flex;align-items:center;justify-content:space-between;gap:8px}.game-title{display:flex;align-items:center;gap:9px}.game-title h1{font-size:21px;font-weight:800;white-space:nowrap}.game-title h1 span{font-size:12px;color:var(--muted);margin-left:5px;letter-spacing:.08em}.dice-icon{width:30px;height:30px;color:var(--green);fill:currentColor}.dice-icon rect{fill:none}.header-tools{display:flex;align-items:center;gap:7px}.icon-button{width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center}.text-tool{background:none;border:0;color:var(--muted);padding:10px 9px;font-size:12px;min-height:44px;display:flex;gap:5px;align-items:center}.text-tool svg{width:17px;height:17px}.game-frame{height:clamp(500px,calc(100dvh - 200px),680px);border:1px solid var(--edge);border-radius:16px;overflow:hidden;background:var(--surface);display:grid;grid-template-rows:48px minmax(300px,1fr) 108px}.history-chip{border:0;border-radius:7px;flex-shrink:0;min-width:52px;height:27px;padding:0 9px;font-size:11px;background:#35d59b18;color:var(--green)}.history-chip.over{background:#55c8f218;color:var(--blue)}.history-chip.loss{background:var(--card);color:var(--muted)}.history-chip:hover{background:var(--edge2)}.play-space{padding:22px 38px 26px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background-image:linear-gradient(#ffffff02 1px,transparent 1px),linear-gradient(90deg,#ffffff02 1px,transparent 1px);background-size:32px 32px}.result-block{text-align:center;position:relative;min-height:136px}.result-caption{font-size:11px;color:var(--muted);letter-spacing:.03em;margin-bottom:3px}.roll-number{font-size:82px;font-weight:800;letter-spacing:-.065em;line-height:1.1;color:var(--text)}.roll-number>.number-fraction{font-size:.6em;color:#bec3d4;margin-left:2px}.roll-number.rolling{filter:blur(.4px);color:var(--muted)}.round-message{font-size:12px;font-weight:600;color:var(--muted);height:22px;margin-top:7px;transition:color .2s}.range-board{width:100%;position:relative;padding:14px 0 30px;max-width:920px}.lane{height:27px;border-radius:4px;position:relative;overflow:hidden;background:#ff5d7340;box-shadow:inset 0 0 0 1px #ffffff08}.lane::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 calc(1% - 1px),#0b0c1180 calc(1% - 1px) 1%)}.lane+.lane{margin-top:7px}.win-zone{position:absolute;top:0;bottom:0}.over-lane .win-zone{right:0;width:var(--chance);background:var(--blue)}.under-lane .win-zone{left:0;width:var(--chance);background:var(--green)}.top-ticks{position:absolute;top:3px;width:100%;display:flex;justify-content:space-between}.top-ticks i{height:5px;width:1px;background:#62687c}.result-marker{position:absolute;top:34px;transform:translateX(-50%);height:23px;width:23px;border-radius:50%;background:#ffc94d;box-shadow:0 0 0 5px #ffc94d18,0 3px 8px #0006;z-index:2;display:grid;place-items:center;transition:none}.result-marker span{width:6px;height:6px;border-radius:50%;background:#30260e}.result-marker.win{background:var(--green);box-shadow:0 0 0 5px #35d59b20,0 0 25px #35d59b66}.result-marker.win.over{background:var(--blue);box-shadow:0 0 0 5px #55c8f220,0 0 25px #55c8f266}.scale{display:flex;justify-content:space-between;position:absolute;bottom:2px;left:0;right:0;font-size:10px;color:var(--muted)}.odds-panel{width:500px;max-width:100%;border:1px solid var(--edge2);border-radius:14px;overflow:hidden;background:#1b1d27e6;flex-shrink:0}.odds-main{display:flex;align-items:center;gap:10px;padding:14px 16px 11px}.odds-main>label{font-size:11px;color:var(--muted);white-space:nowrap}.payout-field{display:flex;align-items:center;background:var(--bg);border:1px solid var(--edge2);border-radius:8px;padding:7px 10px;gap:3px;flex-shrink:0}.payout-field input{width:72px;background:none;border:0;font-size:17px;font-weight:800;text-align:right}.payout-field b{font-size:13px;color:var(--muted)}.slider-wrap{margin-left:12px;flex:1;min-width:60px}.slider-wrap input{width:100%;height:8px;accent-color:#eef0f7;direction:rtl;cursor:ew-resize}.slider-ends{display:flex;justify-content:space-between;font-size:10px;color:#747b91;margin-top:4px}.odds-summary{display:flex;justify-content:space-between;gap:10px;padding:11px 16px;background:#11131ba6;border-top:1px solid var(--edge);font-size:11px;color:var(--muted)}.odds-summary strong{color:var(--text);margin-left:5px;font-size:12px}.field-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;font-weight:700;margin-bottom:7px}.field-label span{font-size:10px;color:#646b80}.game-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 2px;font-size:10px;color:#71788d}.game-footer button{padding:0;border:0;background:none;color:var(--muted);font-size:10px;min-height:20px}.game-frame.celebrate .roll-number{color:var(--green);text-shadow:0 0 60px #35d59b25;animation:result-in .42s ease-out}.game-frame.celebrate.over .roll-number{color:var(--blue);text-shadow:0 0 60px #55c8f225}.game-frame.celebrate .roll-number span{color:inherit}.game-frame.celebrate .range-board{filter:drop-shadow(0 0 18px #35d59b0a)}@keyframes result-in{0%{transform:scale(.88);filter:blur(4px)}65%{transform:scale(1.04)}100%{transform:scale(1);filter:none}}dialog{padding:0;border:1px solid var(--edge2);border-radius:20px;background:var(--surface);color:var(--text);width:520px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);box-shadow:0 30px 100px #0008;overflow:hidden}dialog::backdrop{background:rgb(5 6 11 / 74%);backdrop-filter:blur(7px)}.modal-header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid var(--edge)}.modal-header h2{font-size:20px;font-weight:800}.modal-header .icon-button{background:none;border:1px solid #343849;border-radius:10px}.modal-body{padding:22px;overflow:auto;max-height:calc(100dvh - 130px);overscroll-behavior:contain}.modal-body p{color:var(--muted);line-height:1.8;font-size:13px}.modal-body h3{margin:0 0 12px;font-size:13px;font-weight:700}.section-card{padding:17px;border:1px solid var(--edge);border-radius:14px;background:var(--card);margin-bottom:14px}.section-card:last-child{margin-bottom:0}input[type=radio],input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}.primary{min-height:48px;border-radius:12px;width:100%;background:#eef0f7;color:#11131b;border-color:#d5daed;font-size:14px;margin-top:18px}.secondary{min-height:44px;padding:0 14px;border-radius:10px;font-size:12px}.dim{font-size:11px!important;color:#71788d!important}.facts{display:grid;grid-template-columns:1fr 1fr;gap:19px}.facts small{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.facts strong{font-size:20px;font-weight:800}.detail-roll{display:flex;align-items:center;justify-content:space-between}.detail-roll b{font-size:48px;letter-spacing:-.04em}.direction-tag{display:inline-flex;gap:5px;align-items:center;font-size:12px;color:var(--green);background:#35d59b18;padding:7px 11px;border-radius:8px}.direction-tag.over{color:var(--blue);background:#55c8f218}.detail-status{font-size:13px;color:var(--green);font-weight:700}.detail-status.loss{color:var(--muted)}.detail-meta{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:18px}.record-list{display:flex;flex-direction:column;gap:7px}.record-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:65px;border-radius:12px;padding:12px 14px;text-align:left}.record-row .record-left{display:flex;align-items:center;gap:12px}.record-row small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}.record-number{font-size:20px;color:var(--green);min-width:65px}.record-row.over .record-number{color:var(--blue)}.record-right{font-size:13px;text-align:right}.record-right b{display:block;color:var(--green)}.record-right b.loss{color:var(--muted)}.record-right em{font-style:normal;color:var(--muted);margin-left:8px}.fair-heading{display:flex;align-items:center;gap:12px;margin-bottom:13px}.fair-heading svg{width:36px;height:36px;color:var(--green)}.fair-heading b{font-size:17px}.fair-checks{display:flex;flex-direction:column;gap:12px;font-size:12px;color:var(--muted);margin-top:15px}.fair-checks div{display:flex;justify-content:space-between}.fair-checks span{color:var(--green)}.seed-input{margin-top:12px;width:100%;background:var(--bg);border:1px solid var(--edge2);border-radius:9px;padding:12px;font-size:13px}.commit-preview{margin:11px 0 3px;font-size:11px;word-break:break-all;line-height:1.8;color:#747b91}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 18px;background:#eef0f7;color:#14161f;font-size:12px;font-weight:600;border-radius:12px;box-shadow:0 6px 30px #0006;z-index:50;max-width:90vw}.help-visual{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px 0 24px}.help-visual b{font-size:52px;letter-spacing:-.05em}.help-lanes{width:100%;height:22px;background:linear-gradient(90deg,var(--green) 0 48.5%,#ff5d7340 48.5% 51.5%,var(--blue) 51.5%);border-radius:5px}.help-directions{display:flex;width:100%;justify-content:space-between;font-size:12px;font-weight:700}.help-directions span:first-child{color:var(--green)}.help-directions span:last-child{color:var(--blue)}.lobby{padding-top:44px}.eyebrow{font-size:11px;letter-spacing:.15em;color:var(--muted)}.lobby-heading h1{font-size:30px;font-weight:800;margin:10px 0}.lobby-heading p{font-size:13px;color:var(--muted)}.lobby-card{display:grid;grid-template-columns:230px 1fr;gap:26px;padding:18px;background:var(--surface);border:1px solid var(--edge);border-radius:20px;max-width:660px;margin-top:28px}.lobby-art{background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:24px 24px;border:1px solid var(--edge);border-radius:14px;height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--green)}.lobby-art svg{width:72px;height:72px;fill:currentColor;transform:rotate(-12deg)}.lobby-art svg rect{fill:none}.lobby-art span{font-size:10px;color:var(--muted);letter-spacing:.15em}.lobby-card>div:last-child{display:flex;flex-direction:column;justify-content:center}.lobby-card h2{font-size:23px;margin-bottom:10px}.lobby-card h2 span{font-size:12px;color:var(--muted)}.lobby-card p{font-size:12px;color:var(--muted)}.card-cta{font-size:13px;color:var(--green);margin-top:25px}.card-cta b{margin-left:35px}.lobby-note{color:var(--muted);font-size:11px;margin-top:18px}
@media(min-width:761px) and (max-height:760px){.play-space{gap:12px;padding-top:12px;padding-bottom:14px}.result-block{min-height:119px}.roll-number{font-size:72px}.game-frame{grid-template-rows:46px minmax(300px,1fr) 100px}}
@media(max-width:900px) and (min-width:761px){.play-space{padding-left:24px;padding-right:24px}}
@media(max-width:760px){.site-header{display:none}.page{padding:0}.game-header{height:58px;padding:0 12px}.game-title{gap:6px}.game-title h1{font-size:17px}.game-title h1 span{display:none}.dice-icon{width:25px;height:25px}.header-tools{gap:4px}.text-tool{font-size:11px;padding:8px 5px}.text-tool svg{display:none}.icon-button{width:36px;height:36px;border-radius:10px}.icon-button svg{width:19px;height:19px}.game-frame{border-radius:0;border-left:0;border-right:0;height:calc(100dvh - 89px);min-height:510px;grid-template-rows:42px minmax(280px,1fr) 158px}.history-chip{height:25px;min-width:48px;font-size:10px}.play-space{padding:18px 18px 24px;gap:24px;background-size:24px 24px}.result-block{min-height:128px}.roll-number{font-size:82px}.result-caption{font-size:10px}.round-message{font-size:11px}.range-board{padding-top:14px;padding-bottom:27px}.lane{height:25px}.lane+.lane{margin-top:6px}.result-marker{top:33px;width:21px;height:21px}.odds-panel{width:100%;border-radius:12px}.odds-main{padding:12px 12px 9px;gap:7px}.odds-main>label{font-size:10px}.payout-field{padding:6px 7px}.payout-field input{width:72px;font-size:16px}.slider-wrap{margin-left:5px}.slider-ends{font-size:10px}.odds-summary{padding:11px 12px;font-size:10px}.odds-summary strong{font-size:11px}.field-label{display:block;min-width:48px;font-size:10px;margin:0}.field-label span{display:block;margin-top:4px}.game-footer{padding:6px 12px;height:31px;font-size:10px}.game-footer button{font-size:10px}.modal-header{height:66px;padding:0 18px}.modal-header h2{font-size:20px}.modal-body{padding:18px}.facts strong{font-size:18px}.toast{bottom:18px}.lobby{padding:26px 16px}.lobby-heading h1{font-size:27px}.lobby-card{grid-template-columns:110px 1fr;gap:16px;padding:12px;border-radius:16px}.lobby-art{height:140px}.lobby-art svg{width:56px;height:56px}.lobby-card h2{font-size:19px}.lobby-card h2 span{display:block;font-size:10px;margin-top:4px}.lobby-card p{font-size:11px}.card-cta{font-size:12px;margin-top:20px}.card-cta b{margin-left:12px}}
@media(max-width:760px) and (max-height:740px){.play-space{gap:12px;padding-top:12px;padding-bottom:16px}.roll-number{font-size:67px}.result-block{min-height:112px}.game-frame{grid-template-rows:38px minmax(280px,1fr) 150px;min-height:490px}.range-board{padding-bottom:23px}.lane{height:21px}.result-marker{top:29px;height:20px;width:20px}.odds-main{padding-top:9px;padding-bottom:8px}.odds-summary{padding-top:9px;padding-bottom:9px}.result-caption{font-size:10px}.round-message{margin-top:5px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.title-help{padding:0;border:0;background:none;font:inherit;color:inherit}
@media(max-width:760px){.header-tools .text-tool{display:none}.game-header{gap:8px}.game-title h1{font-size:16px}.game-title .dice-icon{width:23px;height:23px}}

/* Motion revision 2: compositor-driven reels and a single sweep timeline. */
.game-frame{--motion-color:#35d59b;--motion-rgb:53,213,155}
.game-frame[data-direction="over"]{--motion-color:#55c8f2;--motion-rgb:85,200,242}
.roll-number{display:inline-flex;align-items:flex-end;justify-content:center;letter-spacing:0;line-height:1.1}
.number-whole,.number-fraction{display:inline-flex;align-items:flex-end}.number-fraction{margin-bottom:.13em}
.digit-cell{display:inline-block;position:relative;width:.65em;height:1.1em;overflow:hidden;vertical-align:baseline;contain:layout paint}
.digit-strip{display:flex;flex-direction:column;will-change:transform;transform:translateZ(0)}
.digit-face{display:block;flex:none;height:1.1em;line-height:1.1;font-size:1em;text-align:center;font-weight:800}
.decimal-point{display:inline-block;line-height:1.1;margin-left:1px;margin-right:1px}
.roll-number.rolling{filter:none;color:var(--text)}
.rolling .number-fraction{color:#b7c6d7}
.rolling .digit-cell{mask-image:linear-gradient(transparent,black 12%,black 88%,transparent)}
.play-space{position:relative;isolation:isolate}
.play-space::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 35%,rgba(var(--motion-rgb),.17),transparent 64%);opacity:0;z-index:0}
.play-space>*{position:relative;z-index:1}
.is-rolling .play-space::before{animation:energy-rise var(--roll-energy-duration,6s) ease-in-out}
.result-marker,.motion-trail,.scan-beam{will-change:transform}
.is-rolling .result-marker{background:#ffdc7e;box-shadow:0 0 0 4px #ffc94d16,0 0 26px #ffc94d65}
.is-rolling .result-marker span{background:#694509}
.scan-beam{position:absolute;top:9px;bottom:25px;width:50px;left:50%;transform:translateX(-50%);background:linear-gradient(90deg,transparent,rgba(var(--motion-rgb),.3),transparent);border-inline:1px solid #ffffff07;pointer-events:none;opacity:0;z-index:1}
.motion-trail{position:absolute;left:50%;top:41px;width:9px;height:9px;border-radius:50%;background:#ffcf60;transform:translateX(-50%);opacity:0;pointer-events:none;z-index:2}
.is-rolling .scan-beam{opacity:1}
.is-rolling .trail-one{opacity:.42}
.is-rolling .trail-two{opacity:.24;width:7px;height:7px;top:42px}
.is-rolling .trail-three{opacity:.12;width:5px;height:5px;top:43px}
.result-block::after{content:'';position:absolute;left:50%;top:47%;width:180px;height:180px;pointer-events:none;border:1px solid rgba(var(--motion-rgb),.6);border-radius:50%;opacity:0;transform:translate(-50%,-50%) scale(.6);z-index:-1}
.game-frame.celebrate .result-block::after{animation:impact-ring 1.8s cubic-bezier(.12,.65,.2,1)}
.game-frame.celebrate .play-space::before{animation:win-radiance 2.8s ease-out}
.game-frame.celebrate .roll-number{color:var(--motion-color);text-shadow:none;filter:drop-shadow(0 0 14px rgba(var(--motion-rgb),.25));animation:win-number 1.1s cubic-bezier(.17,.8,.25,1)}
.game-frame.celebrate.over .roll-number{color:var(--motion-color);text-shadow:none;filter:drop-shadow(0 0 14px rgba(var(--motion-rgb),.25))}
.game-frame.celebrate .range-board{filter:none}
.result-marker.win::after{content:'';position:absolute;inset:-7px;border:2px solid var(--motion-color);border-radius:50%;animation:marker-impact 1.4s ease-out forwards;pointer-events:none}

@keyframes energy-rise{0%{opacity:0;transform:scale(.88)}30%{opacity:1}80%{opacity:.7}100%{opacity:0;transform:scale(1.05)}}
@keyframes win-radiance{0%{opacity:1;transform:scale(.8)}40%{opacity:1}100%{opacity:0;transform:scale(1.25)}}
@keyframes impact-ring{0%{opacity:.8;transform:translate(-50%,-50%) scale(.5)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.5)}}
@keyframes marker-impact{0%{opacity:.9;transform:scale(.8)}100%{opacity:0;transform:scale(2.6)}}
@keyframes win-number{0%{transform:scale(.94)}40%{transform:scale(1.12)}100%{transform:scale(1)}}

@media(max-width:760px){.motion-trail{top:39px}.is-rolling .trail-two{top:40px}.is-rolling .trail-three{top:41px}.result-block::after{width:160px;height:160px}.scan-beam{width:34px}}
@media(max-width:760px) and (max-height:740px){.motion-trail{top:35px}.is-rolling .trail-two{top:36px}.is-rolling .trail-three{top:37px}}
@media(prefers-reduced-motion:reduce){.is-rolling .scan-beam,.is-rolling .motion-trail{display:none}.play-space::before,.result-block::after,.result-marker::after{animation:none!important}}

.single-whole .number-whole .digit-cell:first-child{width:0}

/* Account host and recovery follow the existing Plinko surface. */
/* Host chrome mirrors trade v2; every rule stays outside the mobile game. */
#diceSiteHeader{display:none}
@media(max-width:760px){#diceSitePage .note{display:none}}
@media(min-width:761px){
#diceSiteHeader,#diceSiteHeader *,#diceSitePage .note,#diceSitePage .note *{margin:0;padding:0;-webkit-font-smoothing:antialiased}
#diceSiteHeader{position:sticky;top:0;z-index:60;display:flex;align-items:center;gap:20px;height:60px;padding:0 22px;
  background:rgba(11,12,17,.9);backdrop-filter:blur(16px);border-bottom:1px solid #282b39}
#diceSiteHeader .brand{display:inline-flex;align-items:center;gap:7px;font-weight:800;letter-spacing:.02em;font-size:17px}
#diceSiteHeader .brand svg{width:78px;height:13px;stroke:none}
#diceSiteHeader .nav{display:flex;gap:4px;margin-left:8px}
#diceSiteHeader .nav a{padding:7px 14px;border-radius:999px;font-size:14px;font-weight:600;color:#9096ab;text-decoration:none;transition:.16s}
#diceSiteHeader .nav a:hover{color:#eef0f7}
#diceSiteHeader .nav a.on{background:#14161f;color:#eef0f7}
#diceSiteHeader .acct{margin-left:auto;flex:none;display:flex;align-items:center;gap:9px}
#diceSiteHeader .acct button{min-height:44px;padding:7px 13px;border-radius:999px;border:1px solid #343849;font-size:14px;font-weight:600;color:#eef0f7;text-decoration:none;white-space:nowrap;transition:.16s}
#diceSiteHeader .acct button:hover{border-color:#8b8fff;color:#8b8fff}
#diceSiteHeader .acct button:disabled{opacity:.5;cursor:default}
#diceSiteHeader .acct .addr{font-size:13px;font-weight:700;color:#9096ab;text-decoration:none;font-variant-numeric:tabular-nums}
#diceSiteHeader .wallet + .acct{margin-left:0}
#diceSiteHeader .wallet{margin-left:auto;display:flex;align-items:center;gap:9px;padding:7px 13px;border-radius:999px;
  background:#14161f;border:1px solid #282b39}
#diceSiteHeader .wallet small{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#666c82;font-weight:700}
#diceSiteHeader .wallet b{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
#diceSitePage .note{display:flex;gap:9px;padding:11px 13px;border-radius:12px;margin-bottom:12px;font-size:12px;line-height:1.6}
#diceSitePage .note .mk{flex:none;width:20px;height:20px;border-radius:6px;display:grid;place-items:center;font-size:11px;font-weight:800}
#diceSitePage .note.amber{background:rgba(255,201,77,.09);border:1px solid rgba(255,201,77,.26);color:#ffc94d}
#diceSitePage .note.amber .mk{background:#ffc94d;color:#22180a}
#diceSitePage .note.grey{background:#191b24;border:1px solid #282b39;color:#9096ab}
#diceSitePage .note.grey .mk{background:#2a2d3a;color:#9096ab}
#diceSitePage .note[hidden]{display:none}
#diceSitePage .wpath{display:block;margin-top:6px}
#diceSitePage .wbtns{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
#diceSitePage .wbtn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;
  border-radius:12px;background:#14161f;border:1px solid #343849;color:#eef0f7;
  text-decoration:none;font-size:13px;font-weight:700}
#diceSitePage .wbtn:hover{border-color:#8b8fff;color:#8b8fff}
#diceSiteHeader{font-size:16px;line-height:normal}
#diceSiteHeader .brand{min-height:auto;padding:0;white-space:nowrap}
#diceSiteHeader button{background:none;line-height:normal}
#diceSiteHeader [hidden]{display:none}
#diceSitePage{max-width:1120px;margin:0 auto;padding:12px 22px 24px}
#diceSitePage>.v2-game{min-height:calc(100dvh - 96px)}
#diceSitePage .v2-header{top:60px;grid-template-columns:minmax(100px,1fr) 44px 44px}
#diceSitePage .v2-header .balance-wrap{display:none}
#diceSitePage .v2-header .brand{display:flex;gap:9px}
#diceSitePage .v2-layout{min-height:calc(100dvh - 218px)}
}
@media(min-width:761px) and (max-width:860px){
#diceSitePage{padding:12px 13px 24px}
}
/* The trade-width host leaves 761px desktop just short of the 555 label. */
@media(min-width:761px) and (max-width:900px){
#diceSitePage #board,#diceSitePage .multipliers{width:calc(100% - 12px)}
}

.v2-header .vault-icon{display:none;flex:none;width:30px;height:30px;background:url(/games-assets/aedaa86e6c486e31d231a062a882f0701193fbbdb953df2f94058ff473a38255/assets/games/vault-plinko.svg) center/contain no-repeat}
@media(min-width:761px){.v2-header .vault-icon{display:inline-block}}

#diceSitePage{max-width:1120px;margin:auto}#diceSitePage>.page{padding:0}.seed-input{min-height:44px}#diceMobileLogin{min-height:44px}.history-chip,.game-footer button,.title-help{min-height:44px}.history-chip{height:27px}.over-lane .win-zone{width:var(--over-chance)}
@media(max-width:760px){#diceSitePage{padding:0}.icon-button{width:44px;height:44px}.game-header{padding:0 8px;gap:5px}.game-title{gap:4px}.game-title h1{font-size:15px}.game-title .dice-icon{display:none}.header-tools{gap:2px}.game-frame{grid-template-rows:44px minmax(280px,1fr) 158px}}
@media(min-width:761px){#diceSitePage .game-header{height:62px}}

.direction-button{overflow:hidden;touch-action:none}.direction-button::before{content:'';position:absolute;inset:0;background:var(--green);transform:scaleX(var(--charge,0));transform-origin:left;opacity:0;pointer-events:none}.direction-button.over::before{background:var(--blue)}.direction-button.charging::before{opacity:.8}.direction-button>svg,.direction-button>span{position:relative;pointer-events:none}.controls-bar .direction-button.charging,.controls-bar .direction-button.charging:hover{filter:brightness(1.1)}

/* Family auxiliary surfaces keep the title and close outside the scroll area. */
#modal{width:min(520px,calc(100vw - 24px));max-width:520px;max-height:calc(100dvh - 24px);padding:0;border-color:#282b39;overflow:hidden}
#modal[open]{display:flex;flex-direction:column}.modal-header{min-height:74px;flex-shrink:0}.modal-body{min-height:0;max-height:none}.modal-header h2{outline:none}.modal-header .icon-button{width:44px;height:44px}
.seed-field{margin-top:16px}.seed-field label{display:block;font-size:10px;font-weight:700;color:var(--muted);margin-bottom:8px}.seed-field .seed-input{margin-top:0}.seed-field small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:8px}
.action-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.action-row .primary{width:auto;margin:0;min-height:44px;padding:9px 14px;font-size:12px;border-radius:10px}.action-row .secondary{padding:9px 14px}#diceFairStatus:empty{display:none}#diceFairStatus{margin-top:12px}.fair-rtp{border-top:1px solid var(--edge);padding-top:14px;margin-top:16px}.fair-rtp summary{min-height:44px;color:var(--muted);font-size:12px;cursor:pointer}
.verification-status[data-result=pass],.net-profit{color:var(--green)!important}.verification-status[data-result=fail],.net-loss{color:var(--red)!important}.net-even{color:var(--muted)!important}.record-row .record-right b{color:var(--text)}.record-row .record-right b.loss{color:var(--muted)}
.record-time span{display:block}.record-row .record-left{min-width:0}.record-row .record-left>span{min-width:0}.record-right{flex-shrink:0}.record-row{gap:8px}.record-row .net-profit{color:var(--green)}
@media(max-width:760px){.modal-header{min-height:66px}.modal-body{padding-bottom:calc(18px + var(--game-safe-bottom,env(safe-area-inset-bottom)))}.record-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;padding:10px;gap:8px}.record-row .record-left{display:grid;grid-template-columns:55px minmax(0,1fr);gap:8px}.record-number{min-width:0}.record-row small{line-height:1.5}.record-right b{white-space:nowrap}#gamePage .game-frame{height:calc(100dvh - 102px - var(--status-height,0px) - var(--game-safe-bottom,env(safe-area-inset-bottom)));min-height:490px} }

@media(max-width:760px){.game-footer{height:44px;padding:0 12px var(--game-safe-bottom,env(safe-area-inset-bottom));box-sizing:content-box}}
@media(min-width:761px){.game-frame{height:clamp(500px,calc(100dvh - 200px - var(--status-height,0px)),680px)}}

/* Same sweep and lifetime as the Plinko wager feedback. */







.game-frame.has-choice[data-direction=under] .direction-button.under,.game-frame.has-choice[data-direction=over] .direction-button.over{opacity:1;outline:2px solid #ffffff90;outline-offset:2px}




/* Mobile wager entry above the full-width game actions. */

/* Fairness-only field/action rhythm and explicit receipt tools. */
#modal[data-fairness="settings"] .section-card,#modal[data-fairness="settings"] .card,#modal[data-fairness="settings"] .info-card{margin-bottom:14px}#modal[data-fairness="settings"] .form-field,#modal[data-fairness="settings"] .seed-field,#modal[data-fairness="settings"] .fair-field{display:block;margin:0}
#modal[data-fairness="settings"] label{display:block;font-size:10px;font-weight:700;color:#9096ab;line-height:1.5;margin:0 0 8px}#modal[data-fairness="settings"] input[maxlength]{display:block;width:100%;min-width:0;height:44px;min-height:44px;padding:0 12px;font-size:13px}
#modal[data-fairness="settings"] .action-row,#modal[data-fairness="settings"] .fair-buttons,#modal[data-fairness="detail"] .action-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}#modal[data-fairness="settings"] .primary,#modal[data-fairness="detail"] .primary{background:#eef0f7;color:#14161f}
#modal[data-fairness="settings"] .form-field>small,#modal[data-fairness="settings"] .seed-field>small,#modal[data-fairness="settings"] .fair-field>small{display:block;margin-top:8px;font-size:11px;line-height:1.7;color:#9096ab}#modal[data-fairness="settings"] button,#modal[data-fairness="detail"] button{min-height:44px;font-size:12px}#modal[data-fairness="settings"] p:empty{display:none}
#modal .receipt-export{margin-top:12px;overflow-wrap:anywhere}#modal .receipt-export p{font-size:12px;line-height:1.8;color:#9096ab;margin:0}#modal .receipt-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}#modal .receipt-download,#modal .receipt-copy{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid #343849;border-radius:10px;background:#1b1d27;color:#eef0f7;font:700 12px Sora,sans-serif;text-decoration:none}#modal .receipt-export textarea{display:block;width:100%;max-width:100%;min-height:140px;margin-top:12px;padding:12px;border:1px solid #343849;border-radius:9px;background:#0b0c11;color:#eef0f7;font:12px monospace;user-select:text}
#modal[data-fairness="settings"] button,#modal[data-fairness="detail"] button{border-radius:10px;font-weight:700;padding:9px 14px}#modal[data-fairness="settings"] .section-card,#modal[data-fairness="settings"] .card,#modal[data-fairness="settings"] .info-card{padding:17px}#modal[data-fairness="settings"] p{font-size:13px;line-height:1.8}@media(max-width:760px){#modal[data-fairness="settings"] .section-card,#modal[data-fairness="settings"] .card,#modal[data-fairness="settings"] .info-card{padding:15px}}

.history-chip.profit{background:#35d59b18;color:var(--green)}.record-row.profit .record-number{color:var(--green)}.record-row.loss .record-number{color:var(--muted)}



/* HEADER-BALANCE-INT-01：窄屏顶栏余额只显示整数，截断不进位（setHeaderBalance，见 public/trade/wallet-connect.js）。 */
.hb-narrow{display:none}
@media(max-width:760px){.mobile-balance .hb-wide{display:none}.mobile-balance .hb-narrow{display:inline}}

/* GAMES-WIN-LOSS-FEEDBACK-01 (DESIGN.md 触控区怎么量): the payout field and slider take a 44px tap on the desktop too (were phones only). */
.payout-field{padding-top:0;padding-bottom:0}.payout-field input,#payoutSlider{height:44px}.slider-wrap input{background:transparent}.slider-wrap input::-webkit-slider-runnable-track{height:8px}.slider-wrap input::-webkit-slider-thumb{margin-top:-4px}.slider-wrap input::-moz-range-track{height:8px}
@media(max-width:760px){#limitsButton{min-width:44px;min-height:44px}}
@media(max-width:760px) and (max-height:780px){.dice-game-frame .play-space{padding:32px 18px 0;gap:0}.dice-game-frame .result-block{flex-shrink:0}.dice-game-frame .range-board{padding-top:10px;padding-bottom:14px}.dice-game-frame .odds-main{padding-top:0;padding-bottom:0}.dice-game-frame .odds-summary{padding-top:2px;padding-bottom:2px}.dice-game-frame .slider-ends{margin-top:0}.dice-game-frame .lane{height:21px}.dice-game-frame .result-marker{top:25px;height:20px;width:20px}.dice-game-frame .motion-trail{top:31px}.dice-game-frame.is-rolling .trail-two{top:32px}.dice-game-frame.is-rolling .trail-three{top:33px}.dice-game-frame .scan-beam{top:10px;bottom:14px}.dice-game-frame .top-ticks{top:4px}}
/* GAMES-WIN-LOSS-FEEDBACK-01 (DESIGN.md 顶部留位, card §4.1): the roll number, taken at its win animation's 1.12x peak, stays
   under the top 44px of the play area where the result bar will sit (the caption may sit in that band). Phones up to 740px
   high use the compact spacing above (it ran up to 600px). There the result block does not shrink, so the round message never
   runs into the lanes; the lanes sit 4px higher than elsewhere and the marker, trails, scan beam (lanes' full height) and ticks
   (just above the lanes, clear of the message) keep their places on them. Up to 660px high the slider's
   end labels sit in the slider's own 44px box; below the 600px floor the frame grows and the page scrolls. Desktop and landscape
   screens under 720px high would squeeze the frame to 500px, where the odds card left the play area and a two-line win reached
   the ticks; there the frame keeps 520px and the page scrolls a little further. A status strip still takes its height from the
   frame as navigation.css says (the frame's 500px floor stays). Above 800px high the play area's top padding is 35px: at 801px (the
   frame is 601px, the 3px gaps stop) 31px left the number's peak 44px under the strip with the longest odds card in English. */
@media(min-width:761px){.dice-game-frame{min-height:calc(520px - var(--status-height,0px))}.dice-game-frame .play-space{padding-top:35px;gap:13px}.dice-game-frame .slider-ends{position:relative;margin-top:-16px;pointer-events:none}}
@media(min-width:761px) and (max-height:800px){.dice-game-frame .play-space{padding-top:34px;padding-bottom:0;gap:3px}}
@media(min-width:761px) and (max-height:780px){.dice-game-frame .odds-main{padding-top:6px;padding-bottom:4px}.dice-game-frame .odds-summary{padding-top:7px;padding-bottom:7px}}
@media(max-width:760px) and (min-height:781px){.dice-game-frame .play-space{padding-top:34px;gap:17px}}
@media(max-width:760px) and (max-height:660px){.dice-game-frame .result-block{min-height:0}.dice-game-frame .round-message{margin-top:0;height:22px}.dice-game-frame .odds-summary{padding-top:0;padding-bottom:0}.dice-game-frame .slider-ends{position:relative;margin-top:-16px;pointer-events:none}}
@media(max-width:760px) and (max-height:599px){#gamePage .dice-game-frame{min-height:506px}}
/* The number keeps 67px wherever it fits (owner 2026-11-20), judged with the longest odds card: a $100 bet at 970x, whose summary
   (小 $10,000.00 / 大 $10,000.00, English alike) takes two lines below 425px of content width in English (422px in
   Chinese). Short of room there: below 600px high (the frame grows to 506px and the page scrolls) and at 600-614px, where it grows
   back with the screen (.8px per px, which keeps the number's 2px margin over the reserve at every height); 600px is the tightest.
   Below 600px high the page scrolls, so a desktop window's classic scrollbar takes 15px of the width: there the limit is 439px. */
@media(max-width:439px) and (max-height:599px){.dice-game-frame .roll-number{font-size:61px}}
@media(max-width:424px) and (min-height:600px) and (max-height:614px){.dice-game-frame .roll-number{font-size:clamp(48px,calc(55px + (100dvh - 600px)*.8),67px)}}
/* GAMES-GUEST-DEMO-01 amendment C: the guest login button sits right after the footer note. */
.guest-login{margin-right:auto}
/* GAMES-LAYOUT-FIX-01 amendment A: on phones the quick-amount list covers only part of the odds card, which floats at a height
   that changes with the screen, so the card is hidden while the list is open and no half-covered text shows round it.
   DICE-POPOVER-SCALE-01: the 0–100 scale under the lanes floats the same way (Linux fonts put it 1px into the list at 375x667;
   at 360x640 it is 6px in on any platform), and on the desktop the list cuts the odds card too, so while the list is open both
   are hidden at every width. Nothing here depends on how far the text sits from the list. */
.dice-game-frame:has(#presets:not([hidden])) :is(.odds-panel,.scale){visibility:hidden}
/* GAMES-WIN-LOSS-FEEDBACK-01 (DESIGN.md 最小字号, 触控区怎么量): the direction odds under 返还倍率 read at 10px (a <small> in a 10px label read 8.3px)
   and the label may wrap, so at 320px wide it does not widen the frame; a disclosure line in a dialog takes a 44px tap. */
#directionOdds{font-size:10px}.odds-main>label{white-space:normal}
/* At 10px the English slider ends (Chance / Mult.) need 64px; the slider keeps that much and the label beside it wraps instead. */
.slider-wrap{min-width:66px}
dialog summary{min-height:44px;padding-top:12px;padding-bottom:12px}

.fair-detail .detail-roll{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:8px}
.fair-detail .detail-roll>b{white-space:nowrap}
