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

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

/* Entertainment family shell: keep the board and betting controls game-specific. */
.v2-frame{border:1px solid #282b39;border-radius:16px;overflow:hidden;background:#14161f}
.v2-game{font-family:Sora,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
.v2-game .v2-header{position:static;top:auto;display:flex;justify-content:space-between;gap:8px;height:62px;min-height:62px;padding:0;border:0;background:none;backdrop-filter:none}
.game-title{display:flex;align-items:center;gap:9px;min-width:0}
#titleHelp{min-height:44px;padding:0;border:0;background:none;color:inherit;font-size:21px;font-weight:800;white-space:nowrap}
#titleHelp span{margin-left:5px;color:#9096ab;font-size:12px;font-weight:800;letter-spacing:.08em}
.v2-header .simulation-badge[hidden]{display:none}
.v2-header .simulation-badge{display:inline-block;padding:4px 7px;border:1px solid #ffc94d38;border-radius:6px;background:#ffc94d14;color:#ffc94d;font-size:10px;font-weight:700}
.header-tools{display:flex;align-items:center;gap:7px}
.v2-header .text-tool,.v2-header #fairButton{display:flex;align-items:center;gap:5px;min-height:44px;padding:10px 9px;border:0;border-radius:0;background:none;color:#9096ab;font-size:12px;font-weight:700}
.v2-header svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.v2-header #fairButton svg{width:17px;height:17px}
.v2-header .icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:12px;font-weight:700}
.v2-header #sfxButton svg{width:22px;height:22px}
#game .v2-tools{grid-template-columns:auto minmax(0,1fr) auto}
#mobileFairButton{display:none}
.drop b{font-size:20px}
.bet>label{font-size:10px;line-height:16px}.bet input{font-size:17px}.multipliers{font-variant-numeric:normal}
.control-status{display:block;height:16px;min-height:16px;color:#9096ab;font-size:10px;line-height:16px;white-space:nowrap;text-align:center}
.charge-hint{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:0;padding:13px 2px;color:#71788d;font-size:10px;line-height:normal;text-align:left}
.charge-hint button{min-height:44px;padding:0;border:0;background:none;color:#9096ab;font-size:10px;font-weight:700;white-space:nowrap}
@media(max-width:760px){
.v2-frame{border-radius:0;border-left:0;border-right:0}
.v2-game .v2-header{height:58px;min-height:58px;padding:0 8px;gap:5px}
.game-title{gap:4px}.v2-header .vault-icon,#titleHelp span{display:none}
#titleHelp{font-size:15px}.v2-header .simulation-badge{padding:3px 5px;font-size:8px}
.v2-header .header-tools{gap:2px}.v2-header .text-tool,.v2-header #fairButton{display:none}
.v2-header .icon{border-radius:10px}.v2-header svg,.v2-header #sfxButton svg{width:19px;height:19px}
.v2-header .balance-wrap{display:block;margin-left:auto;line-height:1.3;white-space:nowrap}
.balance-wrap small{display:block;font-size:8px;font-weight:400}.balance{font-size:11px;font-weight:800}
#game .v2-tools{grid-template-columns:auto minmax(0,1fr) auto auto;padding-block:0}
#mobileFairButton{display:block;border:0;background:none;color:#9096ab;font-size:10px}
.control-status{grid-column:1/-1;grid-row:4}.drop small{font-size:10px}
.charge-hint{min-height:44px;padding:0 12px max(8px,env(safe-area-inset-bottom));box-sizing:content-box;font-size:8px;line-height:16px;background:#14161f}
.charge-hint>span{line-height:12px}.charge-hint button{margin:0;font-size:9px}
}

@media(min-width:761px) and (max-height:800px){.charge-hint{padding-block:9px}}

@media(min-width:761px) and (max-width:900px){.drop b{font-size:18px}}

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