/* .gp-dialog: оболочка стилизует любой <dialog> как нижнюю шторку (pulse0906c31-pulse.css) и
   переопределяет bottom (currency.css) — без явного inset/margin окно в Скретче прилипало к верху. */
.gp-control{width:100%;min-width:0;margin:0 0 10px;font-family:inherit;color:#f4f6ff;box-sizing:border-box}.gp-tabs{display:flex;background:#0c1422;border:1px solid #2a3750;border-radius:13px;padding:3px;gap:4px}.gp-tabs button{appearance:none;flex:1;height:35px;border:0;border-radius:10px;background:none;color:#93a0b7;font-family:inherit;font-size:14px;font-weight:700;line-height:1;cursor:pointer}.gp-tabs button.on{background:#253655;color:#fff;box-shadow:inset 0 1px #405577}.gp-tabs button:disabled{cursor:default}.gp-choice{width:100%;display:flex;align-items:center;gap:12px;margin-top:7px;padding:7px 12px;border:1px solid #35516b;border-radius:14px;background:linear-gradient(110deg,#18363b,#17253c);color:inherit;text-align:left;min-height:66px;cursor:pointer}.gp-choice img{width:52px;height:52px;object-fit:contain;flex:none}.gp-choice>span{display:grid;gap:4px;min-width:0}.gp-choice b{font-size:16px;line-height:1.15}.gp-choice small{color:#a4c1ca;font-size:12px}.gp-choice em{margin-left:auto;font-style:normal;font-size:12px;color:#73e4c4;white-space:nowrap}.gp-placeholder{font-size:32px;color:#6ee7bb;width:40px;text-align:center}.gp-receipt{margin-top:7px;display:flex;align-items:center;gap:10px;padding:9px 12px;background:#10312f;border:1px solid #2b6458;border-radius:13px;font-size:13px}.gp-receipt img{width:44px;height:44px;object-fit:contain}.gp-receipt span{display:grid;gap:4px}.gp-receipt small{color:#a2cebc}.gp-control [hidden]{display:none!important}.gp-dialog{position:fixed;inset:0;margin:auto;height:fit-content;box-sizing:border-box;color:#f2f6ff;background:#101b2d;border:1px solid #34455f;border-radius:24px;padding:20px;width:min(520px,calc(100% - 24px));max-height:85dvh;overflow:auto;box-shadow:0 24px 80px #0008;font-family:inherit}.gp-dialog::backdrop{background:#020713c9;backdrop-filter:blur(8px)}.gp-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.gp-dialog h2{margin:5px 0 0;font-size:24px;line-height:1.1}.gp-dialog-head small{color:#63dabc;font-size:10px;letter-spacing:.13em;font-weight:800}.gp-dialog-head button{width:38px;height:38px;border:1px solid #35465e;border-radius:12px;background:#1c2940;color:white;font-size:25px}.gp-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.gp-item{min-width:0;background:#1b2940;border:1px solid #30455d;border-radius:17px;padding:10px 5px 12px;color:#f5f8ff;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer}.gp-item img{width:100%;height:88px;object-fit:contain}.gp-item b{font-family:inherit;font-size:12px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}.gp-item span{color:#70e4bc;font-size:14px;font-weight:800}.gp-item small{font-size:10px;color:#b0b9cd}.gp-item:disabled{opacity:.45;cursor:default}.gp-item:not(:disabled):hover{border-color:#58dabb;background:#20384a}.gp-empty{grid-column:1/-1;text-align:center;padding:24px 8px;display:grid;gap:14px}.gp-empty small{color:#9eaec5;font-size:14px;line-height:1.5}.gp-inventory{background:#2f68e9;color:#fff;padding:12px;border:0;border-radius:12px;font-weight:700}.gp-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 18px;background:#203651;color:white;border:1px solid #537598;border-radius:14px;z-index:2147483647;width:max-content;max-width:85vw;font:600 14px/1.4 sans-serif}.gp-dialog button:focus-visible,.gp-control button:focus-visible{outline:2px solid #9dccff;outline-offset:2px}
html.gp-gift[data-gift-game=road] #stakeBox,html.gp-gift[data-gift-game=road] #presets,html.gp-gift[data-gift-game=road] .bet-head,html.gp-gift[data-gift-game=merge] #stakeBox,html.gp-gift[data-gift-game=merge] #chips,html.gp-gift[data-gift-game=merge] .bet-head,html.gp-gift[data-gift-game=merge] #tabs,html.gp-gift[data-gift-game=merge] #autoBox,html.gp-gift[data-gift-game=mines] #stakeBox,html.gp-gift[data-gift-game=mines] #quick,html.gp-gift[data-gift-game=mines] #topupHint,html.gp-gift[data-gift-game=mines] #stakeHint,html.gp-gift[data-gift-game=mines] #tabs,html.gp-gift[data-gift-game=mines] #autoBox,html.gp-gift[data-gift-game=mines] #fb,html.gp-gift[data-gift-game=jump] .ставка,html.gp-gift[data-gift-game=jump] #фбкн,html.gp-gift[data-gift-game=jump] #автолист,html.gp-gift[data-gift-game=arena] #allin,html.gp-gift[data-gift-game=arena] #fb,html.gp-gift[data-gift-game=scratch] #sc2Chips,html.gp-gift[data-gift-game=scratch] #sc2Note{display:none!important}
html[data-gift-game=jump] .gp-control{margin:0 0 5px}html[data-gift-game=jump] .gp-choice{min-height:52px;margin-top:4px;padding:4px 10px}html[data-gift-game=jump] .gp-choice img{width:42px;height:42px}html[data-gift-game=jump] .gp-tabs button{height:28px}html[data-gift-game=jump] .gp-choice b{font-size:14px}
@media(max-width:350px){.gp-list{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-choice{gap:8px}.gp-choice em{font-size:10px}}

html.gp-live[data-gift-game=mines] .gp-control{display:none}html.gp-gift[data-gift-game=mines] #setup>.lbl{display:none}html.gp-gift[data-gift-game=jump] .ставкасумма{display:none}html.gp-gift[data-gift-game=jump] .ставкаверх{grid-template-columns:1fr}html[data-gift-game=arena] .actions{flex-wrap:wrap}html[data-gift-game=arena] .actions .gp-control{flex:0 0 100%}html[data-gift-game=arena] .actions .btn{flex:1}

html.gp-gift[data-gift-game=merge] #modewrap,html.gp-gift[data-gift-game=mines] .setup-stake{display:none!important}
html[data-gift-game=roulette] .gp-control{margin-top:14px}.gp-roulette-note{color:#99b9bd;font-size:13px;line-height:1.4;margin:6px 0 12px}.gp-roulette-pay{width:100%;border:0;border-radius:14px;padding:15px;background:#28665d;color:#dcfff3;font:700 15px sans-serif}.gp-roulette-pay:disabled{opacity:.45}

.gp-award{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 0;font-size:14px;font-weight:600;line-height:1.4;text-align:center}.gp-award img{width:94px;height:94px;object-fit:contain}.gp-award b{font-size:20px;color:#f5f6ff}.gp-award span{font-size:13px;color:#b5c5d9}.gp-gift .gp-receipt[hidden]{display:none}

.gp-idle-rule{font-family:inherit;font-size:14px;font-weight:500;line-height:1.45;color:#adb9d0;margin:0 20px 16px;}

/* Jump keeps the paper, ink and green stickers of its own game controls. */
html[data-gift-game=jump] .gp-control{color:#3e392f;font-family:'Пропись','Каракуля',system-ui,sans-serif;margin-bottom:7px}
html[data-gift-game=jump] .gp-tabs{background:#e9e0cf;border:1.5px solid #a59a83;border-radius:10px;padding:3px}
html[data-gift-game=jump] .gp-tabs button{color:#655e50;font-family:inherit;font-size:22px;height:30px;font-weight:500}
html[data-gift-game=jump] .gp-tabs button.on{background:#fffdf6;color:#2e2a26;box-shadow:0 2px 0 #c3b89f}
html[data-gift-game=jump] .gp-choice{background:#fffdf6;border:1.5px solid #b3a88e;box-shadow:0 2px 0 #d8ceb8;border-radius:12px;gap:10px}
html[data-gift-game=jump] .gp-choice b{font-family:inherit;font-size:22px;font-weight:500}
html[data-gift-game=jump] .gp-choice small{font:14px system-ui,sans-serif;color:#776e5f}
html[data-gift-game=jump] .gp-choice em{font:13px system-ui,sans-serif;color:#3e754e}
html[data-gift-game=jump] .gp-choice img{width:50px;height:50px;filter:drop-shadow(0 2px 1px #5f53302a)}
html.gp-live[data-gift-game=jump] .gp-tabs{display:none}
.gp-jump-reward{display:flex;align-items:center;gap:10px;min-height:62px;padding:6px 10px;background:#fafff1;border:1.5px solid #88aa73;border-radius:12px;box-shadow:0 2px 0 #c2d3aa;box-sizing:border-box}
.gp-jump-reward img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 2px 1px #5370352a);flex:none}
.gp-jump-reward span{display:grid;gap:5px;min-width:0}
.gp-jump-reward b{font-family:'Пропись','Каракуля',system-ui,sans-serif;font-size:24px;line-height:1.4;font-weight:500;overflow-wrap:anywhere}
.gp-jump-reward small{font:12px/1.25 system-ui,sans-serif;color:#526744}
html[data-gift-game=jump] .gp-receipt{color:#34442d;background:#f1f8e9;border-color:#9ab887}
html[data-gift-game=jump] .gp-receipt small{color:#596e4c}
html[data-gift-game=jump] .gp-award b{color:#2e2a26}
html[data-gift-game=jump] .gp-award span{color:#635c4f}
html[data-gift-game=jump] .gp-dialog{background:#f7f1e3;color:#2e2a26;border-color:#a79b82;box-shadow:0 16px 60px #30271966}
html[data-gift-game=jump] .gp-dialog-head small{color:#547b42}
html[data-gift-game=jump] .gp-dialog-head button{background:#fffdf6;color:#514a3e;border-color:#b9ae96}
html[data-gift-game=jump] .gp-item{background:#fffdf6;border-color:#c3b79e;color:#3f392e}
html[data-gift-game=jump] .gp-item span{color:#37774a}
html[data-gift-game=jump] .gp-item:not(:disabled):hover{background:#f0f8e7;border-color:#709750}
