/* 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:10px;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-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}



}
@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/aedaa86e6c486e31d231a062a882f0701193fbbdb953df2f94058ff473a38255/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}

.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}
.multipliers{font-variant-numeric:normal}
.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 .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}




.charge-hint{min-height:44px;padding:0 12px max(8px,env(safe-area-inset-bottom));box-sizing:content-box;font-size:10px;line-height:16px;background:#14161f}
.charge-hint>span{line-height:12px}.charge-hint button{margin:0;font-size:10px}
/* MYSTERY-BOX-NAVBOX-02（决定 36，owner 2026-11-19；原型 docs/design/games-shared-parts-prototype-20261118 README 14.4）：手机上「层数」移出结果条，
   在结果条和棋盘之间单独一行（44px，底线同结果条）。#pins 仍是结果条里那一个控件，只在视觉上挪下去：结果条下面让出 44px，胶囊绝对定位到这一行靠左 12px；
   结果条本身仍 44px 高，近期结果拿到让出的宽度。底线用 ::before 画，胶囊画在它上面，点击仍落到 select。读屏和键盘顺序里「层数」仍在近期结果前面。
   棋盘高度的算法不动，下注行和投球按钮整体下移 44px；提示行去掉 8px 下内边距（安全区里的部分照留，owner 接受链接落进横条区 8px），
   一屏不滚动。GAMES-WIN-LOSS-FEEDBACK-01 段二去掉了投球按钮下的结果行，下注行回到 158px，提示行也不再向上叠进那行留下的空隙。 */
#game .history-bar{position:relative;margin-bottom:44px}
#game .history-bar::before{content:"";position:absolute;left:0;right:0;bottom:-45px;height:1px;background:#282b39}
#game .history-bar .strip-select{position:absolute;left:12px;top:calc(100% + 1px)}
.charge-hint{padding-bottom:calc(max(8px,env(safe-area-inset-bottom)) - 8px)}
}

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



/* 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}}
