.pk-game,#tt-plinko { --lime:#bcfc25; --edge:#2b494e; --muted:#abc0c6; }
#tt-plinko { margin:22px auto 38px; color:#eef6f4; font:inherit; }
#tt-plinko * { box-sizing:border-box; }
#tt-plinko [hidden] { display:none!important; }
#tt-plinko button,#tt-plinko input,#tt-plinko select { font:inherit; color:inherit; }
#tt-plinko button { cursor:pointer; background:#11262a; border:1px solid var(--edge); border-radius:9px; padding:9px 13px; }
#tt-plinko button:disabled { opacity:.55; cursor:default; }
#tt-plinko :focus-visible { outline:2px solid var(--lime); outline-offset:2px; }
.pk-heading,.pk-row,.pk-input,.pk-mode,.pk-result { display:flex; align-items:center; gap:10px; }
.pk-heading,.pk-row { justify-content:space-between; }
.pk-heading { margin-bottom:16px; }
.pk-heading h1 { margin:0; font-size:25px; letter-spacing:.07em; }
.pk-heading h1 small { color:var(--muted); font-size:10px; border-left:1px solid var(--edge); padding-left:12px; vertical-align:middle; }
.pk-heading a,.pk-controls label,.pk-controls small { color:var(--muted); }
.pk-game { display:grid; grid-template-columns:minmax(235px,28%) minmax(0,1fr); background:#09191b; border:1px solid var(--edge); border-radius:17px; overflow:hidden; }
.pk-controls { background:linear-gradient(145deg,#143035,#0b1c20); border-right:1px solid var(--edge); padding:clamp(16px,2.5vw,36px); display:flex; flex-direction:column; gap:16px; min-width:0; }
.pk-controls label,.pk-controls details[open],#pk-series { display:grid; gap:8px; } .pk-controls details>label { margin-top:10px; } .pk-controls summary { cursor:pointer; }
.pk-row { flex-wrap:wrap; gap:6px; } .pk-row small { font-variant-numeric:tabular-nums; }
.pk-controls input,.pk-controls select,.pk-input,.pk-mode { background:#091a1e; border:1px solid var(--edge); border-radius:9px; min-width:0; }
.pk-controls input,.pk-controls select { width:100%; padding:11px; }
.pk-mode { gap:2px; padding:4px; } #tt-plinko .pk-mode button { flex:1; border:0; background:transparent; }
#tt-plinko .pk-mode button[aria-pressed=true] { background:#29494d; color:white; }
.pk-input { padding:4px; gap:4px; } .pk-input input { border:0; background:transparent; } .pk-input b { font-size:12px; color:var(--muted); } #tt-plinko .pk-input button { padding:8px; }
#tt-plinko .pk-primary { background:var(--lime); color:#162200; font-weight:750; border:0; min-height:48px; margin-top:6px; }
#pk-error { margin:0; color:#ffadb0; } #pk-error:empty { display:none; }
.pk-field { position:relative; display:grid; align-content:center; justify-items:center; gap:9px; min-width:0; padding:58px clamp(8px,2.4vw,32px) 22px; background:radial-gradient(ellipse at center,#193b3b,#091a1c 76%); }
#pk-sound { position:absolute; top:12px; right:12px; }
.pk-machine { width:min(100%,820px); padding:1% .5% 1.5%; background:linear-gradient(155deg,#173437,#0a2326 70%); border-radius:15px; box-shadow:inset 0 1px #416267,0 4px #07181b; }
#pk-canvas { display:block; width:100%; aspect-ratio:600/316; }
.pk-bins { display:grid; grid-template-columns:repeat(var(--pockets),minmax(0,1fr)); gap:2px; margin:0 4%; }
#tt-plinko .pk-bins button { padding:0; height:clamp(25px,3.4vw,39px); min-width:0; color:#0b211f; font-size:clamp(10px,1.1vw,15px); letter-spacing:-.035em; font-weight:750; white-space:nowrap; background:var(--pocket-color); border:0; border-radius:5px; box-shadow:inset 0 1px #ffffff70,inset 0 -3px #122e2755; }
#tt-plinko .pk-bins button.hit { outline:2px solid white; filter:brightness(1.15); }
#pk-detail { font-size:12px; color:var(--muted); min-height:16px; } .pk-result { justify-content:center; color:var(--muted); } .pk-result strong { color:#eef8da; font-variant-numeric:tabular-nums; font-size:19px; }
.pk-history { border:1px solid var(--edge); border-radius:12px; padding:16px; background:#0b1e21; margin-top:14px; }
#pk-history { display:flex; flex-wrap:wrap; gap:7px; margin-top:10px; } #pk-history span { border-radius:6px; background:#163036; padding:5px 9px; font-size:13px; } #pk-history .profit { color:var(--lime); }
#pk-help { max-width:min(390px,90vw); color:#e5f4f2; background:#11282c; border:1px solid #39575d; border-radius:12px; padding:20px; } #pk-help::backdrop {background:#00101888;}
@media(max-width:760px){.pk-game{display:flex;flex-direction:column}.pk-field{order:-1;padding:52px 6px 14px}.pk-controls{border:0;border-top:1px solid var(--edge)}.pk-heading h1 small{display:none}.pk-heading h1{font-size:20px}.pk-bins{gap:1px}.pk-result{font-size:13px}.pk-field .pk-machine{border-radius:8px}#tt-plinko .pk-bins button{font-size:clamp(9px,2.4vw,12px)}}
