/* Zbohatni alebo skrachuj: svetlý izometrický vzhľad, panely v rohoch, stred, zásuvky */
body.ingame { --ink: #262a3b; --ink2: #434a60; --mut: #6d7388; --line: rgba(40, 50, 80, .16); --line2: rgba(40, 50, 80, .28); --glass: #fbf7ec; --glass2: #fffdf6; --acc: #1f8fe0; overflow: hidden; background: #141a3f; color-scheme: light; }
body.ingame #bg { display: none; }
body.ingame .top { position: fixed; top: 6px; left: 50%; transform: translateX(-50%); width: auto; z-index: 30; padding: 3px 8px; gap: 6px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .85); box-shadow: 0 3px 10px rgba(30, 50, 90, .22); backdrop-filter: none; }
body.ingame .top .gtitle, body.ingame .top .sp { display: none; }
body.ingame .top a.back { color: #3b4258; padding: 4px 8px; }
body.ingame .top .iconbtn { width: 32px; height: 32px; }
body.ingame .btn { color: #fff; background: linear-gradient(180deg, #36a9f5, #1673cf); box-shadow: 0 4px 0 #0f5aa6, 0 10px 18px -8px rgba(15, 70, 130, .6); text-shadow: 0 1px 1px rgba(0, 0, 0, .3); }
body.ingame .btn.gold { color: #4a2a00; background: linear-gradient(180deg, #ffd34e, #ffb02e); box-shadow: 0 4px 0 #c67c10, 0 10px 18px -8px rgba(160, 100, 10, .6); text-shadow: none; }
body.ingame .btn.hot { color: #fff; background: linear-gradient(180deg, #ff6b83, #e0244b); box-shadow: 0 4px 0 #a81436; }
body.ingame .btn.alt { color: #333a52; background: #efe9da; border: 0; box-shadow: 0 3px 0 #cfc7b2; text-shadow: none; }
body.ingame .btn.alt:hover:not(:disabled) { background: #f7f2e4; }
body.ingame .btn:disabled { opacity: .55; }
body.ingame .btn.huge { font-size: 1.35rem; padding: 16px 34px; border-radius: 18px; }
body.ingame .modal { background: rgba(50, 80, 120, .35); backdrop-filter: blur(2px); }
body.ingame .inp { background: #fff; color: var(--ink); }
body.ingame .sel { background-color: #fff; color: var(--ink); }

.ces { position: fixed; inset: 0; overflow: hidden; background: #141a3f; }
.ces .city { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dock { display: contents; }
.stage3d { position: absolute; inset: 0; }
.stage3d canvas { display: block; }
.nogl { position: absolute; left: 50%; top: 40%; transform: translateX(-50%); width: min(460px, 90vw); padding: 18px; border-radius: 14px; background: #fff; font-weight: 700; text-align: center; }

/* panely hráčov */
.pp { position: absolute; z-index: 10; display: flex; align-items: center; width: clamp(200px, 21vw, 292px); filter: drop-shadow(0 4px 10px rgba(30, 50, 90, .32)); }
.pp.can { cursor: pointer; }
.pp.s-tl { left: 10px; top: 10px; }
.pp.s-ml { left: 10px; top: 124px; }
.pp.s-bl { left: 10px; bottom: 10px; }
.pp.s-tr { right: 10px; top: 10px; flex-direction: row-reverse; }
.pp.s-mr { right: 10px; top: 124px; flex-direction: row-reverse; }
.pp.s-br { right: 10px; bottom: 10px; flex-direction: row-reverse; }
.pp .av { position: relative; z-index: 2; flex: none; width: 86px; height: 86px; display: grid; place-items: center; font-size: 50px; line-height: 1; border-radius: 14px; border: 4px solid #fff; background: color-mix(in srgb, var(--c) 35%, #fff); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.pp .bx { flex: 1; min-width: 0; margin-left: -10px; }
.pp.s-tr .bx, .pp.s-mr .bx, .pp.s-br .bx { margin: 0 -10px 0 0; text-align: right; }
.pp.s-bl .bx, .pp.s-br .bx { display: flex; flex-direction: column-reverse; }
.pp .nm { padding: 5px 12px 5px 20px; font-weight: 900; font-size: .92rem; letter-spacing: .03em; color: #fff; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--c) 72%, #1c2340); text-shadow: 0 1px 2px rgba(0, 0, 0, .55); border-radius: 0 8px 0 0; }
.pp .nm .botic { margin-left: 6px; font-size: .75em; opacity: .55; }
.pp .cs { padding: 5px 12px 7px 20px; background: #fbf7ec; border: 3px solid color-mix(in srgb, var(--c) 72%, #1c2340); border-top: 0; border-radius: 0 0 12px 0; }
.pp.s-tr .nm, .pp.s-mr .nm { padding: 5px 20px 5px 12px; border-radius: 8px 0 0 0; }
.pp.s-tr .cs, .pp.s-mr .cs { padding: 5px 20px 7px 12px; border-radius: 0 0 0 12px; }
.pp.s-bl .nm { border-radius: 0 0 8px 0; }
.pp.s-bl .cs { border-top: 3px solid color-mix(in srgb, var(--c) 72%, #1c2340); border-bottom: 0; border-radius: 0 12px 0 0; }
.pp.s-br .nm { padding: 5px 20px 5px 12px; border-radius: 0 0 0 8px; }
.pp.s-br .cs { padding: 5px 20px 7px 12px; border-top: 3px solid color-mix(in srgb, var(--c) 72%, #1c2340); border-bottom: 0; border-radius: 12px 0 0 0; }
.pp .cash { font-weight: 800; font-size: 1.35rem; color: #2a2d3d; font-variant-numeric: tabular-nums; line-height: 1.15; }
.pp .cash.up { color: #16924f; animation: cflash .9s; }
.pp .cash.down { color: #d32b4a; animation: cflash .9s; }
@keyframes cflash { 0% { transform: scale(1.18); } 100% { transform: none; } }
.pp .bar { height: 6px; margin-top: 4px; border-radius: 4px; background: #e6dfcd; overflow: hidden; }
.pp .bar i { display: block; width: 0; height: 100%; background: #ff9a3d; transition: width .25s linear; }
.pp .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pp.s-tr .chips, .pp.s-mr .chips, .pp.s-br .chips { justify-content: flex-end; }
.pp.turn .av { outline: 4px solid #ffd84a; animation: avp 1.1s ease-in-out infinite; }
.pp.dead { opacity: .5; filter: grayscale(.9); }
@keyframes avp { 50% { transform: scale(1.06); } }
.chip { font-size: .68rem; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: #e6dfcd; color: #4a4f63; }
.chip.red { background: #ffd3da; color: #a81b3a; }
.chip.gold { background: #ffe6b3; color: #8a5a00; }
.chip.tmc { background: color-mix(in srgb, var(--c) 25%, #fff); color: #262a3b; box-shadow: inset 0 0 0 1.5px var(--c); }

/* okrúhle tlačidlá */
.rbs { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 11; display: flex; flex-direction: column; gap: 12px; }
.rb { width: 58px; height: 58px; font-size: 25px; line-height: 1; border-radius: 50%; border: 4px solid #fff; cursor: pointer; background: linear-gradient(180deg, #36a9f5, #1673cf); box-shadow: 0 4px 10px rgba(30, 50, 90, .35); transition: transform .12s; }
.rb:hover { transform: scale(1.08); }
.rb.off { filter: grayscale(1) opacity(.7); }

/* stred */
.center { position: absolute; left: 50%; top: 63%; transform: translate(-50%, -50%); z-index: 12; width: min(620px, 92vw); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.center > * { pointer-events: auto; }
.who { padding: 5px 16px; font-weight: 800; color: #fff; border-radius: 99px; background: color-mix(in srgb, var(--c, #667) 72%, #1c2340); box-shadow: 0 3px 8px rgba(30, 50, 90, .3); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); pointer-events: none; }
.act { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.act .msg { padding: 8px 14px; border-radius: 12px; color: #2a2d3d; background: rgba(255, 255, 255, .92); font-weight: 600; line-height: 1.35; box-shadow: 0 3px 8px rgba(30, 50, 90, .22); }
.act .msg.big { font-weight: 800; font-size: 1.1rem; }
.act .msg.danger { color: #c11f3f; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.acts .inp { width: 110px; padding: 8px 10px; font-size: .95rem; text-align: center; }
.deal { width: min(440px, 92vw); padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; border-radius: 16px; background: #fbf7ec; border: 4px solid #fff; box-shadow: 0 10px 28px rgba(30, 50, 90, .4); }
.deal h3 { margin: 0; }
.deal p { margin: 0; }
.deal .lead { font-weight: 800; font-size: 1.1rem; }
.deed { width: 100%; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.deed .dh { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; font-size: 1.1rem; color: #fff; background: var(--g); text-shadow: 0 1px 2px rgba(0, 0, 0, .55); font-weight: 800; }
.deed table, .tinfo table { width: 100%; border-collapse: collapse; font-size: .9rem; text-align: left; }
.deed td { padding: 3px 12px; border-top: 1px solid rgba(40, 50, 80, .08); }
.deed td:last-child, .tinfo td:last-child { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.toks { width: 100%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.tokbtn { display: flex; flex-direction: column; align-items: center; padding: 6px 2px; border-radius: 12px; border: 2px solid transparent; background: #efe9da; color: var(--ink); cursor: pointer; transition: transform .12s, background .12s; }
.tokbtn:hover:not(:disabled) { background: #fff; transform: translateY(-2px); }
.tokbtn .e { font-size: 1.8rem; line-height: 1.15; }
.tokbtn small { font-size: .66rem; color: var(--mut); font-weight: 700; }
.tokbtn.sel { border-color: #1f8fe0; background: #d9efff; }
.tokbtn:disabled { opacity: .3; cursor: default; }

/* veľké oznamy */
.fxbox { position: absolute; left: 50%; top: 24%; transform: translateX(-50%); z-index: 13; width: 90%; display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.bn { display: flex; flex-direction: column; align-items: center; text-align: center; animation: bnin 2.7s ease forwards; }
.bn b { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; color: #ffb02e; -webkit-text-stroke: 2px #fff; paint-order: stroke fill; text-shadow: 0 4px 10px rgba(20, 40, 80, .5); font-variant-numeric: tabular-nums; line-height: 1.1; }
.bn small { font-size: 1rem; font-weight: 800; color: #fff; background: rgba(28, 35, 64, .85); padding: 3px 12px; border-radius: 99px; }
.bn.neg b { color: #ea2b4f; }
.bn.pos b { color: #17b463; }
@keyframes bnin { 0% { transform: translateY(18%) scale(.5); opacity: 0; } 10% { transform: scale(1.18); opacity: 1; } 18% { transform: scale(1); } 80% { opacity: 1; transform: translateY(-4%); } 100% { transform: translateY(-14%); opacity: 0; } }
.cardpop { position: absolute; z-index: 14; inset: 0; display: grid; place-items: center; background: rgba(50, 80, 120, .25); animation: fade .2s; }
.cardpop .c { width: min(360px, 86vw); padding: 26px 22px; border-radius: 16px; border: 5px solid #fff; text-align: center; background: linear-gradient(145deg, var(--cc1), var(--cc2)); color: #10121c; font-weight: 800; font-size: 1.15rem; line-height: 1.4; box-shadow: 0 20px 50px rgba(30, 50, 90, .5); animation: cardin .5s cubic-bezier(.2, 1.2, .4, 1); }
.cardpop .c small { display: block; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin-bottom: 8px; font-size: .74em; }
@keyframes cardin { from { transform: rotateY(90deg) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

/* zásuvky */
.drawer { position: absolute; right: 86px; top: 50%; z-index: 12; width: 320px; max-height: 66vh; overflow: auto; padding: 14px; border-radius: 16px; border: 4px solid #fff; background: #fbf7ec; box-shadow: 0 10px 28px rgba(30, 50, 90, .4); opacity: 0; pointer-events: none; transform: translate(16px, -50%); transition: opacity .18s, transform .18s; }
.drawer.open { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.drawer h4 { margin: 0 0 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); font-weight: 800; }
.asset { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 9px; background: #fff; border-left: 6px solid var(--g, #889); cursor: pointer; font-size: .88rem; font-weight: 700; }
.asset + .asset { margin-top: 5px; }
.asset:hover { background: #f1ebda; }
.asset.m { opacity: .55; }
.log { display: flex; flex-direction: column; gap: 3px; font-size: .84rem; line-height: 1.35; }
.log div { padding: 3px 8px; border-left: 3px solid var(--c); color: var(--ink2); border-radius: 0 6px 6px 0; background: rgba(255, 255, 255, .6); }

/* okná */
.tinfo { display: flex; flex-direction: column; gap: 10px; }
.tinfo .th { padding: 12px 14px; border-radius: 12px; font-weight: 900; font-size: 1.2rem; background: var(--g); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.tinfo td { padding: 4px 2px; border-bottom: 1px solid var(--line); }
.tinfo tr.cur td { color: #c67c10; }
.tcols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tcol h5 { margin: 0 0 8px; font-size: .9rem; }
.tcol label { display: flex; align-items: center; gap: 8px; padding: 5px 4px; font-size: .86rem; cursor: pointer; }
.tcol label i { width: 10px; height: 18px; border-radius: 3px; background: var(--g, #889); flex: none; }
.tcol .inp { padding: 8px 10px; font-size: .95rem; margin-bottom: 6px; }
.fin { text-align: center; }
.fin .winner { font-size: 1.6rem; font-weight: 900; margin: 6px 0 14px; }
.fin ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.fin li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #fff; border-left: 5px solid var(--c); }
.fin li b { flex: 1; }
.fin li.out { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .pp.turn .av, .bn, .cardpop .c { animation: none; } }

/* úvod: zlatá fólia a scéna Kocky a karty (vybraný návrh C) */
@font-face { font-family: 'Alfa Slab One'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/alfa-vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Alfa Slab One'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/alfa-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alfa Slab One'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/alfa-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.hero h1.title-xl { font-family: 'Alfa Slab One', Georgia, serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 6.6vw, 3.9rem); letter-spacing: .04em; line-height: 1.12; padding-top: .2em; margin-top: -.1em; background: linear-gradient(100deg, #8a5a00 0%, #ffd34e 22%, #fff6c4 34%, #ffb02e 48%, #a86a00 70%, #ffd34e 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; text-shadow: none; animation: foil 5.5s ease-in-out infinite; filter: drop-shadow(0 2px 0 #5a3a00) drop-shadow(0 5px 0 #3d2700) drop-shadow(0 12px 14px rgba(0,0,0,.65)); }
@keyframes foil { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.stage { position: relative; width: 100%; aspect-ratio: 640 / 260; container-type: size; border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse at 50% 38%, #1d2250 0%, #0a0c20 62%); perspective: 900px; margin: 6px 0 4px; }
.stage::before { content: ''; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(to top, #0e3a2c, transparent); opacity: .75; }
.cubeWrap { position: absolute; left: 50%; top: 34%; width: 0; height: 0; transform-style: preserve-3d; }
.cube { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); transform-style: preserve-3d; animation: cspin var(--t) linear infinite; }
.cube .f { position: absolute; inset: 0; background: linear-gradient(145deg, #fffdf6, #d9d4c4); border-radius: 15%; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 14%; backface-visibility: hidden; box-shadow: inset 0 0 calc(var(--s) * .18) rgba(0,0,0,.22); }
.cube .f s { display: block; border-radius: 50%; margin: 18%; background: #151a33; opacity: 0; }
.cube .f s.on { opacity: 1; }
.cube .f1 { transform: translateZ(calc(var(--s) / 2)); }
.cube .f2 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f3 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube .f4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .f5 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f6 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
@keyframes cspin { from { transform: rotateX(-24deg) rotateY(0) rotateZ(6deg); } to { transform: rotateX(-24deg) rotateY(360deg) rotateZ(6deg); } }
.pc { position: absolute; left: 50%; bottom: -6%; width: 15cqw; height: 21cqw; border-radius: 1.2cqw; background: #f6f2e6; color: #1a1c26; transform-origin: 50% 150%; transform: translateX(-50%) rotate(var(--r)); animation: bob 4.6s ease-in-out infinite; animation-delay: var(--d); box-shadow: 0 1cqw 3cqw rgba(0,0,0,.6); overflow: hidden; }
.pc i { display: block; height: 28%; background: var(--g); }
.pc span { display: block; text-align: center; font: 800 1.9cqw var(--font); padding-top: 1.6cqw; }
.pc em { display: block; text-align: center; font: 700 1.5cqw var(--font); font-style: normal; opacity: .6; padding-top: .5cqw; }
@keyframes bob { 50% { transform: translateX(-50%) rotate(calc(var(--r) + 2.2deg)) translateY(-2.2cqw); } }
.tok3 { position: absolute; bottom: 4cqw; width: 6.6cqw; height: 6.6cqw; border-radius: 50%; display: grid; place-items: center; font-size: 3.6cqw; background: var(--c); border: .4cqw solid #fff; box-shadow: 0 .6cqw 1.6cqw rgba(0,0,0,.7), 0 0 3cqw var(--c); animation: hop 1.9s cubic-bezier(.3,.7,.4,1) infinite; animation-delay: var(--d); }
@keyframes hop { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 12% { transform: translateY(0) scale(1.15, .8); } 32% { transform: translateY(-9cqw) scale(.95, 1.08); } }
.c3 { position: absolute; width: 5cqw; height: 5cqw; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff1a8, #ffb02e 60%, #a86a00); display: grid; place-items: center; font: 900 2.6cqw var(--font); color: #7a4a00; animation: coinf 5s ease-in-out infinite, flip 2.2s linear infinite; animation-delay: var(--d), var(--d); box-shadow: 0 0 2cqw rgba(255,176,46,.6); }
@keyframes coinf { 50% { translate: 0 -4cqw; } }
@keyframes flip { to { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero h1.title-xl, .cube, .pc, .tok3, .c3 { animation: none; } }


/* výber poľa (letisko, Majstrovstvá) a predaj */
.center.flying .deal { padding: 10px 14px; gap: 6px; }
.center.flying .deal p { margin: 0; font-size: .86rem; }
.pick { width: 100%; max-height: 38vh; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 6px; }
.pk { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; border: 0; border-left: 5px solid var(--g); border-radius: 8px; background: #fff; color: #2a2d3d; font-weight: 800; font-size: .84rem; text-align: left; cursor: pointer; }
.pk:hover { background: #fff6dd; }
.pk small { font-weight: 600; opacity: .7; }
.sells { width: 100%; max-height: 34vh; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; }
.asset .btn.sm { flex: none; padding: 4px 8px; font-size: .76rem; }
.asset { flex-wrap: wrap; align-items: center; }
.asset .btn.sm { width: 100%; }
.deal { max-height: 88vh; overflow-y: auto; }
/* doska vľavo, všetko ostatné v stĺpci vpravo, nič nevyskakuje cez polia */
.ces { --dw: clamp(290px, 23vw, 350px); }
.stage3d { right: var(--dw); }
.dock { position: absolute; top: 0; right: 0; bottom: 0; z-index: 10; width: var(--dw); display: flex; flex-direction: column; gap: 8px; padding: 10px; background: rgba(10, 12, 34, .62); border-left: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.pps { display: flex; flex-direction: column; gap: 6px; flex: none; }
.pps .pp { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 100%; flex-direction: row; }
.pps .pp .av { width: 50px; height: 50px; font-size: 28px; border-width: 3px; border-radius: 11px; }
.pps .pp .bx { display: block; margin: 0 0 0 -8px; text-align: left; }
.pps .pp .nm { padding: 2px 8px 2px 14px; font-size: .74rem; border-radius: 0 8px 0 0; }
.pps .pp .cs { padding: 2px 8px 4px 14px; border: 2px solid color-mix(in srgb, var(--c) 72%, #1c2340); border-top: 0; border-radius: 0 0 10px 0; }
.pps .pp .cash { font-size: 1.02rem; }
.pps .pp .bar { height: 4px; margin-top: 2px; }
.pps .pp .chips { justify-content: flex-start; margin-top: 2px; }
.center { position: static; transform: none; width: 100%; flex: 1; min-height: 0; overflow-y: auto; justify-content: flex-start; pointer-events: auto; }
.act { gap: 8px; }
.deal { width: 100%; max-height: none; padding: 10px 12px; }
.rbs { position: static; transform: none; flex: none; flex-direction: row; justify-content: center; gap: 8px; }
.rb { width: 44px; height: 44px; font-size: 19px; border-width: 3px; }
.drawer { top: 10px; right: 10px; bottom: 66px; width: calc(var(--dw) - 20px); max-height: none; transform: translateX(8px); }
.drawer.open { transform: none; }
.fxbox { left: 10px; top: auto; bottom: 10px; width: 330px; transform: none; align-items: flex-start; }
.bn { align-items: flex-start; text-align: left; }
.bn b { font-size: 2rem; }
.bn small { font-size: .84rem; }
.cardpop { inset: 0 var(--dw) 0 0; background: none; pointer-events: none; }
.cardpop .c { width: 320px; padding: 24px 20px; font-size: 1.15rem; pointer-events: auto; }
body.ingame .modal:not(:has(.fin)) { inset: auto 0 62px auto; width: var(--dw); padding: 10px; background: none; backdrop-filter: none; }
body.ingame .modal:not(:has(.fin)) > * { width: 100%; max-height: calc(100vh - 80px); overflow-y: auto; }


/* tvoj ťah: výrazné blikanie, aby sa nedal prehliadnuť */
.ces::after { content: ''; position: absolute; inset: 0 var(--dw) 0 0; z-index: 8; pointer-events: none; opacity: 0; box-shadow: inset 0 0 0 6px #ffd84a, inset 0 0 70px 18px rgba(255, 200, 60, .75); }
.ces.myturn::after { animation: turnglow .85s ease-in-out infinite; }
.ces.myturn .dock { animation: dockglow .85s ease-in-out infinite; }
.ces.myturn .pp.turn .bx { animation: rowglow .85s ease-in-out infinite; }
@keyframes turnglow { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes dockglow { 0%, 100% { box-shadow: none; } 50% { box-shadow: inset 0 0 0 4px #ffd84a, inset 0 0 40px rgba(255, 200, 60, .55); } }
@keyframes rowglow { 50% { filter: brightness(1.35) drop-shadow(0 0 10px #ffd84a); } }
.rollcall { position: absolute; left: calc((100% - var(--dw)) / 2); top: 52%; z-index: 9; transform: translate(-50%, -50%); padding: 20px 38px; border: 5px solid #fff; border-radius: 22px; font: inherit; font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 900; white-space: nowrap; color: #4a2a00; background: linear-gradient(180deg, #ffe26a, #ffb02e); cursor: pointer; box-shadow: 0 8px 0 #c67c10, 0 18px 40px rgba(0, 0, 0, .45); animation: rollpulse .85s ease-in-out infinite; }
@keyframes rollpulse { 50% { transform: translate(-50%, -50%) scale(1.09); box-shadow: 0 8px 0 #c67c10, 0 0 60px 14px #ffd84a; } }
@media (prefers-reduced-motion: reduce) { .ces.myturn::after { animation: none; opacity: 1; } .ces.myturn .dock, .ces.myturn .pp.turn .bx, .rollcall { animation: none; } }

/* ponuky, hrozby, reakcie, veľký nájom, koniec hry */
.warnbox:empty { display: none; }
.warnbox { display: flex; flex-direction: column; gap: 4px; flex: none; }
.warn { padding: 5px 10px; border-radius: 9px; border-left: 5px solid var(--c); background: #ff2e4d; color: #fff; font-size: .8rem; font-weight: 800; animation: warnp 1.4s ease-in-out infinite; }
@keyframes warnp { 50% { background: #b5112c; } }
.cardopt { width: 100%; min-height: 76px; padding: 12px; border: 3px solid #e0a020; border-radius: 12px; background: linear-gradient(145deg, #ffe9a8, #ffc65c); color: #3f2600; font: inherit; font-size: .92rem; font-weight: 800; cursor: pointer; }
.cardopt:hover { transform: translateY(-2px); filter: brightness(1.06); }
.reacts { flex: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.emo { padding: 3px 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .14); font-size: 1.08rem; cursor: pointer; }
.emo:hover { background: rgba(255, 255, 255, .32); transform: scale(1.15); }
.bigrent { position: absolute; left: calc((100% - var(--dw)) / 2); top: 40%; z-index: 13; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; animation: bigin 3s ease forwards; }
.bigrent b { font-size: clamp(3rem, 7vw, 6rem); font-weight: 900; color: #ffd84a; -webkit-text-stroke: 3px #7a1020; paint-order: stroke fill; text-shadow: 0 6px 20px rgba(0, 0, 0, .6); }
.bigrent small { font-size: 1.1rem; font-weight: 800; color: #fff; background: rgba(28, 35, 64, .9); padding: 4px 14px; border-radius: 99px; }
@keyframes bigin { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 10% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } 18% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
.splat { position: absolute; z-index: 40; width: 46vmin; height: 46vmin; transform: translate(-50%, -50%); pointer-events: none; animation: splatin 4.2s ease forwards; }
.splat i { position: absolute; display: block; border-radius: 50%; }
.splat i:nth-child(1) { inset: 10%; background: radial-gradient(circle at 40% 35%, #fffef8, #f4efe0); border-radius: 46% 54% 42% 58%; box-shadow: 0 6px 26px rgba(0, 0, 0, .28); }
.splat i:nth-child(2) { left: 0; top: 34%; width: 26%; height: 22%; background: #fbf7ea; border-radius: 60% 40% 55% 45%; }
.splat i:nth-child(3) { right: 2%; bottom: 14%; width: 24%; height: 26%; background: #fbf7ea; border-radius: 42% 58% 60% 40%; }
.splat i:nth-child(4) { left: 31%; top: 30%; width: 38%; height: 38%; background: radial-gradient(circle at 36% 30%, #ffe27a, #ffb40f 62%, #e88a00); box-shadow: 0 4px 12px rgba(150, 80, 0, .45); }
.splat i:nth-child(5) { left: 46%; top: 76%; width: 9%; height: 34%; border-radius: 40% 40% 50% 50%; background: #fbf7ea; animation: drip 3.6s ease-in forwards; transform-origin: top; }
@keyframes splatin { 0% { transform: translate(-50%, -50%) scale(.2) rotate(-12deg); } 8% { transform: translate(-50%, -50%) scale(1.14); } 13% { transform: translate(-50%, -50%) scale(1); } 72% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -38%) scale(1); } }
@keyframes drip { from { transform: scaleY(.1); } to { transform: scaleY(1.6); } }
.wchart { width: 100%; height: auto; border-radius: 10px; background: rgba(20, 24, 56, .9); padding: 6px; box-sizing: border-box; }
.awards { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; font-size: .9rem; font-weight: 700; }

/* stred dosky: výber karty a stávka v kasíne */
.midbox { position: absolute; inset: 0 var(--dw) 0 0; z-index: 12; display: grid; place-items: center; pointer-events: none; }
.midbox:empty { display: none; }
.midcards { display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: auto; animation: cardin .28s ease-out; }
.midcards h3 { margin: 0; padding: 6px 18px; border-radius: 99px; color: #fff; background: rgba(28, 35, 64, .9); font-size: 1.05rem; }
.midcards .row { display: flex; gap: 20px; }
.midcards .cardopt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 240px; min-height: 300px; padding: 20px 16px; border-width: 5px; border-color: #fff; border-radius: 18px; font-size: 1.12rem; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.midcards .cardopt small { font-weight: 900; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.midcards .cardopt:disabled { opacity: 1; cursor: default; transform: none; filter: none; }
@keyframes cardin { from { opacity: 0; transform: scale(.9) translateY(14px); } }
.casbar { align-self: end; margin-bottom: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 18px; border: 3px solid #ffd84a; border-radius: 16px; color: #fff; background: rgba(28, 12, 24, .92); pointer-events: auto; }
.chipsrow { display: flex; gap: 10px; }
.cchip { width: 72px; height: 72px; padding: 0; white-space: nowrap; border: 5px dashed #fff; border-radius: 50%; background: #2b7a55; color: #fff; font: inherit; font-size: .9rem; font-weight: 900; cursor: pointer; }
.cchip:hover { filter: brightness(1.12); }
.cchip.sel { background: #d81f3c !important; color: #fff !important; outline: 4px solid #ffd84a; }
.btn.cred { background: #d81f3c !important; color: #fff; box-shadow: 0 4px 0 #8a1024; }
.btn.cblack { background: #16171f !important; color: #fff; box-shadow: 0 4px 0 #000; }
.roundchip { align-self: center; padding: 4px 14px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 99px; background: rgba(28, 35, 64, .9); color: #ffe9a8; font: inherit; font-size: .95rem; font-weight: 800; cursor: pointer; }
.bigrent.lost b { color: #ff8a8a; }
.rb.voting { outline: 3px solid #ffd84a; animation: dockglow .85s ease-in-out infinite; }
.rbs { gap: 5px; }
.rbs .rb { width: 40px; height: 40px; font-size: 1.05rem; }

/* hlasovanie o dominancii */
.center.voting { top: 50%; }
.center.voting .act { display: none; }
.votecard { width: min(460px, 92vw); text-align: center; animation: votein .3s ease-out; }
.votesecs { font-size: 1.4rem; color: #b5531a; }
.votebar { width: 100%; height: 8px; border-radius: 99px; overflow: hidden; background: rgba(30, 50, 90, .16); }
.votebar i { display: block; height: 100%; background: #e0a020; transform-origin: left; animation: votebar linear forwards; }
@keyframes votein { from { transform: scale(.7); opacity: 0; } }
@keyframes votebar { from { transform: scaleX(var(--s)); } to { transform: scaleX(0); } }
.tokbtn.lock { opacity: .45; filter: grayscale(1); position: relative; }
.tokbtn.lock::after { content: '🔒'; position: absolute; top: 2px; right: 4px; font-size: .7rem; }
