/* PRŠÍ V18 — scénická hospoda, čtvercový 3D stůl, živé portréty.
   Původní CSS necháváme kvůli pravidlům a dialogům, toto je poslední vrstva vzhledu. */
:root{--gold:#fbd892}
html,body{background:#130b07!important}
body{
 background:linear-gradient(90deg,#090504bc,#12090648,#090504bc),url('assets/hospoda-atmosfera.webp') center top/cover fixed!important
}
.app,body[data-table-style="drevo"] .app,body[data-table-style="sukno"] .app,body[data-table-style="moderni"] .app{
 width:min(100%,490px)!important;
 min-height:100dvh;
 background:linear-gradient(180deg,#150b09d4 0%,#170c08a4 32%,#0e0807cc 73%,#0a0605ef 100%),url('assets/hospoda-atmosfera.webp') center top/100% auto no-repeat!important;
 border-left:1px solid #c49b5c40!important;
 border-right:1px solid #c49b5c40!important;
 box-shadow:0 4px 60px #000e!important;
 padding:8px 10px max(14px,env(safe-area-inset-bottom))!important;
 isolation:isolate;
}
.app:before{background:radial-gradient(ellipse at 50% 25%,#c0804224,transparent 56%)!important}
.topbar{height:62px!important;position:relative;z-index:5}
.brand b{color:#ffe5a1;font:900 37px/1 Georgia,serif;text-shadow:0 3px 2px #4f220b,0 0 15px #ffd0745c;letter-spacing:3px}
.brand small{color:#ffe0a4}
.iconbtn{border:1px solid #cfa565;background:#2b1a0fdd;box-shadow:0 4px 13px #0009}
.score-pill{background:#1d130ee8}
.pub-scene{position:relative;isolation:isolate;padding:0 2px 2px;min-height:560px}
.pub-scene:before{
 content:"";position:absolute;top:118px;left:-19px;right:-19px;bottom:-1px;
 z-index:-1;pointer-events:none;
 background:url('assets/stul-ctvercovy-3d.webp') center/100% 100% no-repeat;
 filter:drop-shadow(0 14px 17px #000c)
}
/* People in the pub rather than isolated rectangular scorecards */
.opponents{position:relative;z-index:4;gap:4px!important;margin:1px 0 0!important;align-items:flex-end!important}
.opponent,body[data-table-style="moderni"] .opponent{
 min-width:0;flex:1;
 border:0!important;background:transparent!important;box-shadow:none!important;
 padding:0 1px 2px!important;border-radius:0!important;
 overflow:visible;position:relative;
}
.opponent.active{filter:drop-shadow(0 0 11px #ffcf538a)}
.portrait{
 display:block;width:100%!important;height:126px!important;object-fit:cover;object-position:center 22%;
 border:0!important;border-radius:18px 18px 5px 5px!important;
 mask-image:linear-gradient(to bottom,#000 0%,#000 68%,transparent 100%);
 -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 68%,transparent 100%);
 filter:drop-shadow(0 7px 13px #000a);
}
.oppname{position:relative;z-index:2;margin-top:-27px!important;text-align:center;font-weight:900;font-size:14px!important;color:#ffdf97!important;text-shadow:0 2px 5px #000,0 1px #000}
.oppcount,.opp-points{position:relative;z-index:2;font-size:10px!important;color:#fff2d1!important;font-weight:800!important;text-shadow:0 2px 6px #000,0 1px 2px #000;text-align:center}
.opp-points{color:#ffe498!important}
/* Square tabletop: actual picture belongs to pub-scene, not a competing oval */
body .table-wrap{position:relative;z-index:2;margin:0!important;padding:0!important;isolation:auto!important}
body .table-wrap:before{display:none!important}
body .felt-table,body[data-table-style] .felt-table{
 height:224px!important;aspect-ratio:auto!important;background:transparent!important;
 border:0!important;border-radius:0!important;
 box-shadow:none!important;overflow:visible!important;
}
body .felt-table:before,body .felt-table:after{display:none!important}
body .table-stats{top:5px!important;left:5px!important;right:5px!important;z-index:6}
body .table-stats .chip{background:#1a0f0ae8!important;border:1px solid #dfb879a1!important;
 font-size:10px!important;padding:4px 7px!important;border-radius:12px}
body .pile-area{top:49%!important;gap:17px!important;z-index:4}
body .pile.faceup{transform:rotate(-5deg)}
body .pile.deck{transform:rotate(5deg)}
body .pile{height:178px!important;width:121px!important}
body .pile .card,body .pile .card.mini{height:174px!important;width:116px!important;box-shadow:1px 8px 16px #000a!important}
body .pile.deck:before,body .pile.deck:after{height:171px!important;width:115px!important}
body .pile.deck .backface{height:171px!important;width:115px!important}
body .pile.deck .backface:after{height:137px!important;width:89px!important}
body .current-label{bottom:5px!important;top:auto!important;z-index:5}
body .current-label span{padding:4px 10px!important;background:#1e100bdc!important;color:#fff4d9}
.hand-area,body[data-table-style="moderni"] .hand-area{
 position:relative;z-index:4;margin:0!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 padding:6px 3px 0!important;
}
.hand-top{color:#ffebc2!important;text-shadow:0 2px 5px #000;gap:5px!important}
.hand-top .notice{color:#ffe69b!important}
.hand{height:174px!important;padding-top:5px!important}
.hand .card{height:151px!important;width:102px!important;box-shadow:0 9px 13px #0009}
.hand .card.blocked,.hand .card.folk-card.blocked{filter:brightness(.81) saturate(.86)!important}
.hand .card.playable{filter:none!important;box-shadow:0 0 0 2px #ffd77b,0 6px 17px #000a!important}
.controls{position:relative;z-index:5;margin:0 3px 5px!important;gap:9px!important}
.controls .btn{font-size:17px!important;min-height:52px!important;border-radius:14px!important;
 box-shadow:inset 0 2px 0 #ffffff4d,0 6px 13px #000b!important}
.btn.prsi{background:linear-gradient(#db6950,#921e16)!important}
.btn.draw{background:linear-gradient(#46c487,#12764f)!important}
.info-strip{margin-top:8px;position:relative;z-index:7;color:#f7dfb1!important;text-shadow:0 2px 4px #000;padding:5px 4px 0!important}
.info-strip .mini-link{color:#ffe0a4!important}
/* Better match short phones: keep the immersed view but don't hide controls */
@media(max-width:390px){
 .app{padding:7px 7px max(10px,env(safe-area-inset-bottom))!important}
 .pub-scene:before{left:-15px;right:-15px}
 .portrait{height:109px!important}
 .oppname{font-size:12px!important;margin-top:-23px!important}
 body .felt-table{height:209px!important}
 body .pile{width:110px!important;height:162px!important}
 body .pile .card,body .pile .card.mini{width:105px!important;height:157px!important}
 body .pile.deck:before,body .pile.deck:after,body .pile.deck .backface{width:105px!important;height:156px!important}
 body .pile.deck .backface:after{width:79px!important;height:120px!important}
 .hand{height:157px!important}
 .hand .card{width:94px!important;height:138px!important}
 .controls .btn{min-height:48px!important}
}
@media(max-height:725px){
 .topbar{height:49px!important}
 .portrait{height:91px!important}
 body .felt-table{height:189px!important}
 body .pile{width:92px!important;height:138px!important}
 body .pile .card,body .pile .card.mini{width:89px!important;height:134px!important}
 body .pile.deck:before,body .pile.deck:after,body .pile.deck .backface{width:89px!important;height:132px!important}
 body .pile.deck .backface:after{width:67px!important;height:102px!important}
 .hand{height:136px!important}
 .hand .card{width:87px!important;height:126px!important}
 .controls .btn{min-height:44px!important}
}
@media(min-width:700px){.app{width:490px!important}}

/* V19 — realna perspektiva stolu, jen samostatne obrazkove pozadi. */
.pub-scene::before{
    background-image:url('assets/stul-sklopeny-3d.webp')!important;
    background-position:center top!important;
    background-size:100% 100%!important;
    top:116px!important;left:-26px!important;right:-26px!important;bottom:-8px!important;
    filter:drop-shadow(0 14px 20px #000b)!important;
}
@media (max-width:390px){
 .pub-scene::before{top:102px!important;left:-21px!important;right:-21px!important;bottom:-6px!important}
}
@media (max-height:725px){
 .pub-scene::before{top:95px!important}
}


/* V20 - SKUTEČNÉ POZADÍ HOSPODY A STOLU, BEZ DUPLICITNÍHO CSS STOLU */
html,body{background:#100a07!important}
body{
  background-image:linear-gradient(90deg,#0a0503dd,#21100b77,#0a0503dd),url('assets/utulna-krcma-stul-v21.png')!important;
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-attachment:fixed!important;
}
body .app,
body[data-table-style="drevo"] .app,
body[data-table-style="sukno"] .app,
body[data-table-style="moderni"] .app{
  background-image:linear-gradient(180deg,#1108075c 0%,#0b080511 28%,transparent 56%,#10090616 78%,#0b0505c7 100%),url('assets/utulna-krcma-stul-v21.png')!important;
  background-position:center top!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  background-color:#160d09!important;
  box-shadow:0 0 55px #000e!important;
}
/* The new image ALREADY contains the wood table and pub; no second table. */
body .pub-scene:before,body .pub-scene::before{display:none!important;content:none!important;background:none!important}
body .table-wrap:before,body .table-wrap::before,
body .felt-table:before,body .felt-table::before,
body .felt-table:after,body .felt-table::after{display:none!important;content:none!important;background:none!important}
body .felt-table{background:transparent!important;border:none!important;box-shadow:none!important}
body .opponents{filter:drop-shadow(0 3px 5px #100704b0)}
body .topbar{text-shadow:0 2px 5px #130a07}
body .hand-top{color:#fff2d5!important;text-shadow:0 2px 4px #000,0 0 6px #000}
body .info-strip{background:#130c09a8!important;border-radius:10px!important}
/* Appearance switcher not used with a single photographic table design. */
#themeBtn{display:none!important}


/* PRSI V22 – pozadi bez deformace; spodni hrana stolu = spodni hrana hry.
   Image "cover" zachovava presne pomer stran, pripadny presah se orizne.
   Horni cast postupne mizi do cerne. Za uzkym rozhranim je pouze cerna. */
html, body{background:#050404!important;background-image:none!important}
body .app,
body[data-table-style="drevo"] .app,
body[data-table-style="sukno"] .app,
body[data-table-style="moderni"] .app{
  background-color:#080606!important;
  background-image:
    linear-gradient(to bottom,
      #080606 0%,
      #080606f5 9%,
      #080606d6 19%,
      #08060699 30%,
      #08060638 43%,
      #08060600 58%),
    url('assets/utulna-krcma-stul-v21.png')!important;
  background-position:center top,center bottom!important;
  background-size:100% 100%,cover!important;
  background-repeat:no-repeat,no-repeat!important;
  background-attachment:scroll,scroll!important;
  box-shadow:0 0 38px #000d!important;
}
body .app::before{display:none!important}


/* Finalni pozadi: jeden obrazek pouze v hernim okne. Vyska je odvozena
   z jeho originalniho pomeru stran, zadne roztahovani ani horizontalni orez. */
html,body { background: #050404!important; background-image:none!important; }
body .app,
body[data-table-style="drevo"] .app,
body[data-table-style="sukno"] .app,
body[data-table-style="moderni"] .app {
  position:relative;
  isolation:isolate;
  background:#050404!important;
  background-image:none!important;
  overflow:hidden;
}
body .app::before,
body[data-table-style="drevo"] .app::before,
body[data-table-style="sukno"] .app::before,
body[data-table-style="moderni"] .app::before {
  content:""!important;
  display:block!important;
  position:absolute!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1122 / 1402;
  left:0!important;
  right:0!important;
  top:auto!important;
  bottom:0!important;
  background:url('assets/utulna-krcma-stul-v21.png') center bottom / contain no-repeat!important;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.12) 10%,rgba(0,0,0,.6) 25%,black 43%)!important;
  mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.12) 10%,rgba(0,0,0,.6) 25%,black 43%)!important;
  pointer-events:none;
  z-index:0!important;
}
.app > .topbar,.app > .pub-scene,.app > .info-strip{position:relative;z-index:1;}

/* ===== PRŠÍ V25 • čitelnější karty, vějíře soupeřů, menu a rozdávání ===== */
.menu-holder{position:relative;z-index:40;flex:none}
.menu-trigger{width:39px;height:39px;font-size:21px!important;line-height:1}
.game-menu[hidden]{display:none!important}
.game-menu{position:absolute;right:0;top:calc(100% + 8px);width:min(265px,calc(100vw - 30px));max-height:min(75vh,470px);overflow:auto;background:#21160eef;border:1px solid #deb16dbd;border-radius:15px;padding:8px;box-shadow:0 12px 35px #000e;z-index:80;backdrop-filter:blur(14px)}
.menu-caption{padding:5px 9px 8px;color:#ffe1a0;font-weight:900;letter-spacing:.65px;font-size:11px;text-align:left}
.menu-option{display:block;width:100%;border:0;border-top:1px solid #9c733d4b;text-align:left;background:transparent;color:#fff1d4;min-height:42px;padding:9px 12px;font-weight:760;font-size:13px;border-radius:6px}
.menu-option:hover,.menu-option:focus-visible{background:#79552cbb}
.menu-option:disabled{opacity:.5;cursor:not-allowed}
.menu-option.danger{color:#ffd39f}
#themeBtn{display:none!important} /* Jeden fotorealistický stůl; přepínač starých témat nemá smysl. */

/* Za portrétem se překrývají skutečné malé rubové strany karet.
   Počet jednotlivých kartiček odpovídá počtu v ruce (do 9, více označí +N). */
.opponent .opp-mini-fan{position:relative;display:block;width:100%;height:39px;margin-top:-27px;z-index:3;pointer-events:none;filter:drop-shadow(0 3px 4px #000e)}
.opp-mini-fan .mini-card-back{display:block;position:absolute;left:calc(50% - 10px);bottom:4px;width:20px;height:31px;border-radius:3px;border:2px solid #e5d4ab;background:repeating-linear-gradient(135deg,#1b4265 0 4px,#306488 4px 6px,#24415a 6px 8px);box-shadow:0 1px 3px #000b;transform-origin:50% 105%}
.opp-mini-fan .mini-card-back:after{content:'✦';display:grid;place-items:center;position:absolute;inset:3px;border:1px solid #c9b981a3;font-size:8px;color:#e4d3a3}
.opp-mini-fan .mini-extra{position:absolute;right:3px;bottom:2px;padding:2px 4px;background:#160f08;border-radius:9px;border:1px solid #c59d61;color:#fff1c8;font:bold 9px system-ui;z-index:15}
.opponent .oppname{margin-top:-3px!important;position:relative;z-index:5}
.opponent .oppcount,.opponent .opp-points{position:relative;z-index:5}

/* Lícové karty na stole jsou větší, ale stále oddělené od informačních štítků. */
body .felt-table,body[data-table-style] .felt-table{height:257px!important}
body .pile-area{top:51%!important;gap:15px!important}
body .pile{width:137px!important;height:204px!important}
body .pile .card,body .pile .card.mini{width:130px!important;height:195px!important}
body .pile.deck:before,body .pile.deck:after{width:129px!important;height:190px!important}
body .pile.deck .backface{width:129px!important;height:190px!important}
body .pile.deck .backface:after{width:102px!important;height:155px!important}
body .current-label{bottom:1px!important}

/* Animace rozdávání – po dobu rozdání zůstanou karty v ruce schované. */
.is-dealing .hand .card.deal-hidden{opacity:0!important;pointer-events:none!important}
.dealing-ghost{position:fixed;z-index:999;pointer-events:none;width:24px;height:37px;border-radius:4px;border:2px solid #e8d8af;background:repeating-linear-gradient(135deg,#1b4265 0 5px,#326987 5px 8px,#1d4668 8px 11px);box-shadow:0 4px 12px #000b}
.dealing-ghost::after{content:'✦';position:absolute;inset:4px;border:1px solid #d8c3918f;text-align:center;color:#efd49f;font-size:10px}
.continue-winner{min-width:195px;min-height:49px;font-size:16px!important;background:linear-gradient(#64c58b,#178653)!important;color:#fff!important;text-shadow:0 1px #0008;box-shadow:0 5px 13px #0008}

@media(max-width:390px){
  body .felt-table,body[data-table-style] .felt-table{height:230px!important}
  body .pile{width:120px!important;height:178px!important}
  body .pile .card,body .pile .card.mini{width:114px!important;height:171px!important}
  body .pile.deck:before,body .pile.deck:after,body .pile.deck .backface{width:112px!important;height:166px!important}
  body .pile.deck .backface:after{width:87px!important;height:132px!important}
  .opponent .opp-mini-fan{height:34px;margin-top:-24px}
  .opp-mini-fan .mini-card-back{width:17px;height:27px;left:calc(50% - 8.5px)}
  .oppname{font-size:12px!important}
}
@media(max-height:725px){
  body .felt-table,body[data-table-style] .felt-table{height:215px!important}
  body .pile{width:116px!important;height:170px!important}
  body .pile .card,body .pile .card.mini{width:110px!important;height:164px!important}
  body .pile.deck:before,body .pile.deck:after,body .pile.deck .backface{width:108px!important;height:160px!important}
  body .pile.deck .backface:after{width:82px!important;height:127px!important}
}
@media(prefers-reduced-motion:reduce){.dealing-ghost{display:none}}
/* Dodatečný odstup: malé vějíře nesmějí překrýt jména soupeřů. */
.opponent .opp-mini-fan{height:49px!important}
.opponent .oppname{margin-top:2px!important}
@media(max-width:390px){.opponent .opp-mini-fan{height:44px!important}}
/* Menu musí ležet NAD portréty a herním stolem. */
.app > .topbar{position:relative!important;z-index:150!important}
.app > .pub-scene{z-index:1!important}
.app > .info-strip{z-index:2!important}
.game-menu{z-index:999!important}
/* Vějíř je nad portrétem, jméno až pod ním, žádné překrývání textu. */
.opponent .opp-mini-fan{height:74px!important;margin-top:-62px!important}
@media(max-width:390px){.opponent .opp-mini-fan{height:70px!important;margin-top:-60px!important}}
/* Kartičky zasunout výš na fotografii, aby jména zůstala zcela pod nimi. */
.opp-mini-fan .mini-card-back{bottom:35px!important}
.opp-mini-fan .mini-extra{bottom:33px!important}

/* V26 – zvukové nastavení */
.fx-volume-label{display:flex;justify-content:space-between;align-items:center;color:#ffe5b0;margin:12px 0 5px;font-weight:700}
.fx-volume{width:100%;accent-color:#e8bc68;cursor:pointer;margin-bottom:14px}
.fx-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0 14px}
.fx-preview{padding:11px 6px;min-height:43px;color:#ffedc5;font:600 13px/1.2 system-ui;background:linear-gradient(#4c3020,#28180e);border:1px solid #a8814b;border-radius:10px;cursor:pointer}
.fx-preview:hover,.fx-preview:focus-visible{background:#6d4228;outline:2px solid #f1cb73}

/* V27 – ostřejší vyložená karta bez dvojího přepočítávání bitmapy.
   Zdrojové historické obrazy jsou 330 × 525 px. Nedeformujeme je.
   Stín je na samotné kartě, nikoliv na filtrovaném a natočeném rodiči. */
body .pile.faceup {
  transform: none !important;
  filter: none !important;
}
body .pile.faceup .card,
body .pile.faceup .card.mini {
  transform: none !important;
  filter: none !important;
  aspect-ratio: 330 / 525 !important;
  width: auto !important;
  height: 195px !important;
  max-width: 100% !important;
  border-radius: 7px !important;
  box-shadow: 0 2px 0 #9e7951, 2px 8px 13px #000b !important;
}
body .pile.faceup .card img.historic-face {
  object-fit: contain !important;
  image-rendering: auto !important;
}
@media (max-width:390px) {
  body .pile.faceup .card,
  body .pile.faceup .card.mini {height:171px !important;}
}
@media (max-height:725px) {
  body .pile.faceup .card,
  body .pile.faceup .card.mini {height:164px !important;}
}


/* V28 – obrazek viteze, jedine Pokracovat a vysledky na jedne obrazovce. */
.overlay.round-results-mode{background:#050403d9;backdrop-filter:blur(6px)}
.overlay.round-results-mode .modal{
  width:min(100%,410px);max-height:min(97dvh,940px);padding:6px 9px 8px;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;scrollbar-width:thin;scrollbar-color:#6c8e64 transparent;
}
.overlay.round-results-mode #modalTitle,.overlay.round-results-mode .modal-actions{display:none!important}
.round-result-screen{text-align:center;color:#f5e2c5}
.overlay.round-results-mode .round-winner-scene{
  max-width:100%;margin:0 auto 7px;border:1px solid #58bc83;border-radius:12px;
  box-shadow:0 3px 15px #0008;background:#10271e;
}
.overlay.round-results-mode .round-winner-scene img{
  width:100%;height:162px;object-position:center 32%;animation:none;
}
.overlay.round-results-mode .round-winner-scene .win-splash{
  top:4px;left:4px;right:4px;padding:5px 2px;font-size:17px;
  transform:none;background:linear-gradient(90deg,#0b301fe9,#103c27da);
  border:1px solid #5fbb7b66;
}
.overlay.round-results-mode .round-winner-scene .win-quip{padding:19px 5px 6px;font-size:11px}
.overlay.round-results-mode .round-next-btn{
  display:block;width:100%;min-height:43px;margin:3px 0 9px;
  font-size:14px!important;background:linear-gradient(180deg,#50bd7c,#127543)!important;
  border:1px solid #a0e1ac;color:white!important;
}
.overlay.round-results-mode .round-result-title{
  font:900 17px/1.25 Georgia,serif;color:#ffdf9c;
  margin:9px 0 3px;text-shadow:0 2px 4px #000;
}
.overlay.round-results-mode .result-intro{margin:0 auto 7px;max-width:330px;font-size:10px;line-height:1.3;color:#dac7ad}
.overlay.round-results-mode .final-list{margin:6px 0;gap:4px}
.overlay.round-results-mode .final-person{padding:6px 9px;font-size:12px;border-radius:8px;background:#1d1712ec}
.overlay.round-results-mode .final-person:first-child{background:#214933;border-color:#78cf94}
.overlay.round-results-mode .final-person span small{font-size:10px;line-height:1.3}
.overlay.round-results-mode .round-scores{margin:7px 0 6px}
.overlay.round-results-mode .round-scores-title{font-size:12px;padding:6px 8px}
.overlay.round-results-mode .round-scores th,.overlay.round-results-mode .round-scores td{padding:5px 7px}
.overlay.round-results-mode .tourney-tally{margin:6px 0 5px}
.overlay.round-results-mode .small-note{margin:5px 2px 3px!important;font-size:10px!important}
@media(max-width:410px){
 .overlay.round-results-mode{padding:7px}
 .overlay.round-results-mode .modal{max-height:98dvh;padding:3px 4px 5px}
 .overlay.round-results-mode .round-winner-scene img{height:150px}
 .overlay.round-results-mode .round-winner-scene .win-splash{font-size:14px}
 .overlay.round-results-mode .round-result-title{font-size:16px}
}
@media(max-height:730px){
 .overlay.round-results-mode .round-winner-scene img{height:115px}
 .overlay.round-results-mode .round-next-btn{min-height:39px;margin-bottom:5px}
 .overlay.round-results-mode .result-intro{display:none}
}


/* V29 – jednodussi vysledky: ctvercovy oblicej, zlute pokracovat, bez duplicitnich textu */
.overlay.round-results-mode .round-winner-scene{width:172px;max-width:52vw;margin:2px auto 8px;border:2px solid #63c487;border-radius:14px;overflow:hidden;background:#10271e;box-shadow:0 6px 18px #0007}
.overlay.round-results-mode .round-winner-scene img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:center 22%;animation:none}
.overlay.round-results-mode .round-winner-scene .win-splash,.overlay.round-results-mode .round-winner-scene .win-quip{display:none!important}
.overlay.round-results-mode .round-next-btn{display:block;width:100%;min-height:46px;margin:2px 0 10px;font-size:16px!important;font-weight:800;background:linear-gradient(180deg,#ffe788,#dca22b)!important;border:1px solid #ffefaf;color:#3f2500!important;text-shadow:none;box-shadow:0 4px 14px #0008,inset 0 1px 0 #fff6bb}
.overlay.round-results-mode .round-next-btn:hover{filter:brightness(1.03)}
.overlay.round-results-mode .round-result-title{margin:4px 0 7px}
.overlay.round-results-mode .result-intro{display:none!important}
@media(max-width:410px){.overlay.round-results-mode .round-winner-scene{width:156px}.overlay.round-results-mode .round-next-btn{min-height:43px;font-size:15px!important}}
@media(max-height:730px){.overlay.round-results-mode .round-winner-scene{width:126px}.overlay.round-results-mode .round-next-btn{min-height:39px;margin-bottom:6px}}


/* V30 – živé hospodské vtipy: skutečná tvář postavy a HTML bublina od úst */
.overlay.joke-mode{background:#030302db;backdrop-filter:blur(7px);padding:12px}
.overlay.joke-mode .modal{width:min(100%,440px);max-height:94dvh;overflow-y:auto;padding:10px 10px 12px;background:#17100bf2;border:1px solid #bd9a5a;border-radius:17px;box-shadow:0 15px 45px #000c}
.overlay.joke-mode #modalTitle{font:900 17px/1.3 Georgia,serif;margin:2px 0 8px;color:#f7d999}
.overlay.joke-mode #modalActions{display:none}
.joke-card{display:flex;flex-direction:column;gap:8px}
.joke-kicker{font-size:11px;font-weight:800;color:#f5d59c;letter-spacing:.3px}
.joke-pub{isolation:isolate;position:relative;display:flex;align-items:center;justify-content:flex-end;min-height:262px;overflow:hidden;border:2px solid #65ad7e;border-radius:16px;background:linear-gradient(#140e0a77,#281307a6),url('assets/utulna-krcma-stul-v21.png') center 29%/cover no-repeat;box-shadow:inset 0 0 20px #0009,0 7px 16px #0007}
.joke-character{position:absolute;left:-1px;bottom:28px;width:51%;height:248px;object-fit:cover;object-position:center 30%;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 69%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 69%,transparent 100%);filter:drop-shadow(0 6px 9px #0009)}
.joke-bubble{z-index:2;position:relative;flex:0 0 56%;max-width:56%;max-height:231px;overflow:auto;padding:15px 10px 15px 13px;margin:7px 8px 28px 0;background:#fff1cf;color:#2b2015;border:2px solid #eed3a0;border-radius:25px 25px 25px 6px;box-shadow:0 4px 14px #0008;font:850 clamp(13px,3.35vw,16px)/1.32 Georgia,serif;text-align:center;overflow-wrap:anywhere}
.joke-bubble:before{content:"";position:absolute;left:-14px;bottom:17px;width:20px;height:21px;background:#fff1cf;border-left:2px solid #eed3a0;border-bottom:2px solid #eed3a0;transform:skew(-20deg,-16deg);border-radius:0 0 0 5px}
.joke-tablefront{position:absolute;z-index:3;bottom:0;left:0;right:0;height:35px;pointer-events:none;border-top:4px solid #c28b4b;background:repeating-linear-gradient(178deg,transparent 0 2px,#24110626 2px 3px),linear-gradient(180deg,#804625,#3b1d10 58%,#1a0d08);box-shadow:0 -3px 15px #0008,inset 0 5px 4px #e2ae6440}
.joke-credit{font-size:11px;color:#ebd7ae}
.overlay.joke-mode .joke-continue{width:100%;min-height:49px;background:linear-gradient(180deg,#ffe47d,#e8ad34)!important;color:#422709!important;border:1px solid #fff2ab;font-size:18px;box-shadow:0 5px 12px #000a}
@media(max-width:390px){.overlay.joke-mode{padding:7px}.overlay.joke-mode .modal{padding:8px}.joke-pub{min-height:238px}.joke-character{height:226px}.joke-bubble{padding:11px 8px;max-height:215px;line-height:1.29}.joke-tablefront{height:29px}}
@media(max-height:650px){.joke-pub{min-height:209px}.joke-character{height:207px}.joke-bubble{max-height:189px;margin-bottom:17px}.overlay.joke-mode .joke-continue{min-height:42px}}

/* Hrot bubliny smeruje od vtipu primo k ustum postavy. */
.joke-tail{position:absolute;z-index:1;left:27%;top:32%;height:70px;width:23%;background:#fff1cf;clip-path:polygon(100% 2%,100% 90%,0 38%);filter:drop-shadow(0 3px 4px #0007);pointer-events:none}
@media(max-width:390px){.joke-tail{top:31%;height:62px}}


/* V31 – vítěz s vtipem přímo u výsledků, bez samostatného přerušení hry. */
.overlay.round-results-mode .modal{width:min(100%,420px)}
.result-joke-wrap{margin:2px 0 6px}
.result-joke-title{margin:0 0 6px;color:#ffe3a1;font:900 18px/1.2 Georgia,serif;text-shadow:0 2px 3px #000}
.result-joke-scene{position:relative;display:flex;align-items:center;justify-content:flex-end;min-height:190px;border:2px solid #65bf81;border-radius:13px;overflow:hidden;isolation:isolate;background:linear-gradient(110deg,#20100855,#120907aa),url('assets/utulna-krcma-stul-v21.png') center 31%/cover no-repeat;box-shadow:0 5px 12px #0008}
.result-joke-person{position:absolute;left:0;bottom:-2px;width:55%;height:190px;object-fit:cover;object-position:center 21%;-webkit-mask-image:linear-gradient(#000 0% 68%,transparent 100%);mask-image:linear-gradient(#000 0% 68%,transparent 100%)}
.result-joke-bubble{position:relative;z-index:2;width:59%;max-height:173px;overflow-y:auto;scrollbar-width:thin;margin:7px 5px 7px 0;padding:11px 9px 12px;background:#fff0ca;color:#2e1e11;border:1px solid #e7ca8f;border-radius:21px 21px 21px 5px;font:800 13px/1.32 Georgia,serif;text-align:center;overflow-wrap:anywhere;box-shadow:0 3px 11px #0007}
.result-joke-bubble:after{content:"";position:absolute;width:15px;height:15px;left:-7px;bottom:12px;background:#fff0ca;transform:rotate(45deg);border-left:1px solid #e7ca8f;border-bottom:1px solid #e7ca8f}
.result-joke-bubble small{display:block;color:#28623d;font:900 9px/1.3 system-ui,sans-serif;letter-spacing:.4px;margin:0 0 5px}
.overlay.round-results-mode .round-result-title{margin:4px 0 7px}
.overlay.round-results-mode .round-next-btn{margin:5px 0 7px;min-height:43px}
.overlay.round-results-mode .round-scores{margin:5px 0 7px}
.overlay.round-results-mode .round-scores-title{font-size:13px}
.simple-profile-intro{font-size:13px;line-height:1.4;margin:3px 0 11px}
.simple-profile-tip{font-size:12px;color:#e9c993;margin:12px 0 2px}
.simple-profile-next{width:100%;background:linear-gradient(#ffe589,#e0a52f)!important;color:#3f2604!important;font-size:17px!important}
.joke-style-choice{display:block;width:100%;margin:8px 0!important}
@media(max-width:420px){.result-joke-title{font-size:16px}.result-joke-scene,.result-joke-person{min-height:171px;height:171px}.result-joke-bubble{font-size:12px;max-height:151px;padding:9px 6px;margin-right:4px}}
@media(max-height:740px){.result-joke-scene,.result-joke-person{min-height:144px;height:144px}.result-joke-bubble{font-size:11px;max-height:131px;padding:7px 5px}}

/* V32 - místní a celorepublikové žebříčky */
.leaderboard-publish{margin:12px 0 2px;padding:12px;border:1px solid #a47d3b88;background:#1d271cc9;border-radius:12px;text-align:center}
.leaderboard-publish>p:first-child{color:#f4e7ba;font-size:13px;margin:0 0 8px}
.leaderboard-publish .modal-btn{width:100%;margin:5px auto;min-height:43px}
.leaderboard-publish #publishScoreBtn{background:linear-gradient(#ffe789,#dfa52a);color:#322306;font-weight:900;text-shadow:none}
.leaderboard-publish #showLeaderBtn{background:#264b34;color:#fff2d1}
.profile-label{margin-top:9px}
.lb-panel{color:#ffefd0;text-align:left;font-size:13px}
.lb-panel>p:first-child{margin:4px 0 14px;line-height:1.5}
.lb-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}
.lb-tab,.lb-search button{border:1px solid #88704c;border-radius:10px;color:#fff1ce;background:#35281b;padding:11px 8px;cursor:pointer;font:700 13px system-ui,sans-serif}
.lb-tab.current{background:linear-gradient(#5b8c55,#244c38);border-color:#9ed397}
.lb-place{margin:9px 0 13px}
.lb-place label{display:block;color:#e7d6b6;font-size:12px;margin-bottom:6px}
.lb-search{display:flex;gap:6px}
.lb-search input{flex:1;min-width:0;border:1px solid #8d805e;border-radius:9px;padding:10px 12px;background:#f8f1db;color:#2c2114;font-size:15px}
.lb-search button{background:#416949;border-color:#7aa17b;white-space:nowrap}
.lb-heading{font:700 17px Georgia,serif;color:#ffe395;border-bottom:1px solid #bc985e4d;padding:8px 0 10px}
.lb-row{display:flex;align-items:center;gap:9px;padding:9px 6px;border-bottom:1px solid #ae97513d}
.lb-rank{width:30px;flex:none;text-align:center;font-weight:bold;font-size:19px}
.lb-person{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.lb-person strong{font-size:14px;overflow-wrap:anywhere;color:#fff3d2}
.lb-person small{color:#cebf98;font-size:11px;overflow-wrap:anywhere}
.lb-points{white-space:nowrap;color:#ffdb65;font-size:18px}
.lb-points small{font-size:12px}
.lb-empty{padding:20px 6px;text-align:center;color:#eddfb7}
@media(max-width:390px){.lb-tabs{gap:4px}.lb-tab{font-size:12px;padding:11px 3px}.lb-row{padding:8px 2px}}

/* V33 – přehled tvůrců a jasně oddělený konec hry. */
.game-menu #exitBtn{color:#ffceaa;border-top:1px solid #d1a36b75;margin-top:3px;font-weight:900}
.game-menu #exitBtn:hover,.game-menu #exitBtn:focus-visible{background:#74362cbb}
.game-credits{text-align:left;font-size:13px;line-height:1.48;color:#f8e6c9}
.game-credits>p:first-child{margin-top:0}
.game-credits .credits-row{display:flex;flex-direction:column;gap:2px;padding:8px 3px;border-bottom:1px solid #a7835c55}
.game-credits .credits-row strong{color:#ffe1a3}
.game-credits .credits-row span{color:#f0e1cd}
.game-credits .small-note{font-size:11px;line-height:1.35;margin-top:12px}

/* V34: misto pro oddelene ovladani ruchu hospody */
.ambient-settings{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 12px}
.ambient-settings .fx-preview{font-size:12px;min-height:39px}
@media(max-width:360px){.ambient-settings{grid-template-columns:1fr}}

/* V35: Jednoduche ovladani bez hlaseni PRSI — jedine tlacitko LIZNI */
.controls #drawBtn{flex:1 1 100%;width:100%;}


/* V36 – hezci volba barvy po svrsku */
.suit-chooser-sub{margin:2px 0 8px;text-align:center;color:#f2dfba;font-size:13px;line-height:1.3}
.suit-current{display:flex;justify-content:center;align-items:center;gap:6px;margin:0 auto 10px;padding:6px 10px;max-width:220px;background:linear-gradient(180deg,#2f1e14,#1d130e);border:1px solid #b58a58;border-radius:999px;color:#eeddbd;font-size:12px;box-shadow:inset 0 1px 0 #ffffff1a,0 4px 10px #0005}
.suit-current strong{font-size:13px}
.suit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 10px}
.suit-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:92px;padding:10px 8px;background:linear-gradient(180deg,#fff8e9,#efe3c7);border:2px solid #d0a561;border-radius:16px;color:#402b18;font-weight:900;font-size:15px;box-shadow:0 8px 14px #0004,inset 0 1px 0 #fff;transition:transform .12s ease, box-shadow .12s ease, filter .12s ease;cursor:pointer}
.suit-option:hover,.suit-option:focus-visible{transform:translateY(-2px);box-shadow:0 13px 22px #0005,inset 0 1px 0 #fff;filter:brightness(1.02);outline:none}
.suit-option:active{transform:translateY(0)}
.suit-option-icon{display:none}
.suit-option-name{display:block;font-size:15px;line-height:1.05}
.suit-option small{display:block;font-size:10px;line-height:1.1;color:#7c6547;font-weight:700;text-transform:none}
.suit-option.suit-h{background:linear-gradient(180deg,#fff8e8,#f7e2d7)}
.suit-option.suit-l{background:linear-gradient(180deg,#fff9ea,#e4efe1)}
.suit-option.suit-b{background:linear-gradient(180deg,#fff8e8,#efe5d0)}
.suit-option.suit-a{background:linear-gradient(180deg,#fff8e8,#e7dfd8)}
.suit-cancel{min-width:110px;background:linear-gradient(180deg,#624734,#3b281d)!important;border:1px solid #c79e65!important;color:#fff0d0!important;padding:12px 18px!important}
@media(max-width:390px){.suit-grid{gap:8px}.suit-option{min-height:86px;padding:9px 6px}}

/* V37: výhra hráče, minimalistický vítězný titulek a formulář pro vtip */
.result-player-win{width:100%;padding:6px 0 10px;text-align:center}
.result-player-win-title{color:#ffe8a5;font:900 clamp(24px,6vw,32px)/1.18 Georgia,serif;text-shadow:0 2px 6px #000,0 0 18px #f1bb404c;margin:8px 0 14px}
.submit-joke-trigger{display:block;margin:0 auto;min-height:43px;padding:9px 24px;border-radius:12px;border:1px solid #b6e7aa;background:linear-gradient(180deg,#305d3c,#173e2b);color:#f7f9d8;font-weight:900;font-size:16px;cursor:pointer;box-shadow:0 3px 12px #0007}
.submit-joke-trigger:hover,.submit-joke-trigger:focus-visible{filter:brightness(1.16)}
.submit-joke-container[hidden]{display:none!important}
.submit-joke-container{margin:10px 0 0;text-align:left;border:1px solid #cda55c;border-radius:14px;background:#211910f6;padding:13px}
.submit-joke-container label{display:block;margin:8px 0 5px;color:#ffe7af;font-size:13px;font-weight:800}
.submit-joke-container textarea,.submit-joke-container select{display:block;box-sizing:border-box;width:100%;padding:10px;color:#332212;border:1px solid #d0ab66;background:#fff8e7;border-radius:9px;font-size:14px;font-family:system-ui,sans-serif;line-height:1.4}
.submit-joke-container textarea{min-height:98px;resize:vertical}
.submit-joke-hint{font-size:11px;color:#e9cca0;margin:10px 2px;line-height:1.5}
.submit-joke-send{display:block;width:100%;min-height:42px;border:1px solid #ffe49f;border-radius:11px;background:linear-gradient(#ffe78e,#daa42c);font-weight:900;font-size:15px;color:#422c0c;cursor:pointer}
.submit-joke-send:disabled{opacity:.68;cursor:default}
.submit-joke-status{margin:7px 0 0;color:#e8ebc8;font-size:12px;line-height:1.4}
.joke-honeypot{position:absolute!important;left:-10000px;top:-10000px;opacity:0;width:1px!important;height:1px}
@media(max-width:390px){.result-player-win-title{font-size:24px}.submit-joke-trigger{font-size:14px;padding:10px 19px}}


/* V38 – prehled osobnich statistik */
.personal-stats{color:#f7e4c2}.stats-user{font-size:16px;text-align:center;font-weight:900;color:#ffe49c;background:#2e1e12;border:1px solid #b58b53;border-radius:11px;padding:10px;margin:0 0 12px}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stats-item{padding:10px 8px;min-height:64px;background:linear-gradient(160deg,#392919,#1b251d);border:1px solid #a68650;border-radius:12px;display:flex;flex-direction:column;justify-content:space-between;gap:5px}.stats-item span{font-size:11px;color:#e7d3b0}.stats-item strong{color:#ffe08b;font-size:19px}.stats-beaten{color:#d9eac6;background:#173222;padding:10px;border-radius:10px;font-size:12px}@media(max-width:340px){.stats-grid{gap:5px}.stats-item{padding:8px 5px}.stats-item strong{font-size:17px}}
.new-person small{display:block;font-size:11px;color:#ffe2a8;line-height:1.2;margin:3px 0 0}

/* V39 – pole autora vtipu a citelny podpis pod vtipem. */
.submit-joke-container input[name="author"]{display:block;box-sizing:border-box;width:100%;padding:10px;color:#332212;border:1px solid #d0ab66;background:#fff8e7;border-radius:9px;font-size:14px;font-family:system-ui,sans-serif}
.result-joke-bubble small{display:block;margin-top:8px;color:#49653b;font:700 11px/1.3 system-ui,sans-serif}

.suit-pips{display:flex;gap:4px;align-items:center;justify-content:center;font-size:20px;line-height:1;margin-bottom:4px;text-shadow:0 1px 0 #fff8}
.suit-pips span:nth-child(2){transform:translateY(-2px)}
.suit-chooser-compact .modal-body,.suit-chooser-compact{max-width:100%}


/* V42 — kompaktni horni lista: vsechny turnajove udaje hned vedle PRSI */
.topbar{height:66px!important;display:flex;align-items:center;gap:5px!important;justify-content:space-between}
.brand{flex:0 0 auto!important;text-align:left!important;transform:none!important;min-width:0}
.brand b{font:900 clamp(25px,6.3vw,35px)/1 Georgia,serif!important;letter-spacing:.5px!important;white-space:nowrap}
.tournament-progress{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:4px 0}
.progress-row{display:flex;gap:4px 7px;flex-wrap:nowrap;justify-content:flex-start;white-space:nowrap;color:#f4dfab;font:800 clamp(9px,2.45vw,11px)/1.13 system-ui,sans-serif;text-shadow:0 1px 3px #000}
.progress-row:nth-child(2){color:#dfc294}
.progress-row strong{color:#ffe28f;font-weight:900}
.topbar .score-pill{flex:0 0 auto;min-width:53px!important;padding:4px 3px!important}
.topbar .score-pill small{font-size:7px!important;letter-spacing:0!important}
.topbar .score-pill strong{font-size:16px!important}
.topbar .menu-holder{flex:0 0 auto}
.topbar .menu-trigger{height:35px;width:35px;font-size:19px!important}
.info-strip .extras{display:none} /* Turnaj je nyní natrvalo vidět nahoře. */
@media(max-width:365px){.brand b{font-size:25px!important}.topbar{gap:3px!important}.progress-row{font-size:9px;gap:3px}.topbar .score-pill{min-width:45px!important}.topbar .menu-trigger{height:33px;width:33px}}
/* V42 — jeden skutecny historicky motiv z karet, zadne opakovane emoji */
.suit-historic-icon{width:58px;height:52px;object-fit:contain;display:block;margin:0 auto 4px;border-radius:5px;mix-blend-mode:multiply}
.suit-option{min-height:100px;padding:9px 8px;gap:2px}
.suit-option-name{font-size:16px}
.suit-option small{font-size:10px}
.suit-chooser-sub{font-size:12px}
.suit-current{font-size:11px;max-width:220px}
.suit-pips{display:none!important}
@media(max-width:390px){.suit-option{min-height:90px;padding:7px}.suit-historic-icon{width:49px;height:46px}.suit-option-name{font-size:15px}}
/* V42 — autor vtipu je jasne viditelny; identicky formular po vyhre i v menu */
.submit-joke-container{position:relative}
.submit-joke-container input[name="author"]{width:100%;font-size:15px;min-height:43px}
.submit-joke-container label small{font-weight:500;color:#d9c397}
.joke-submit-standalone{margin:0 0 8px;padding:8px 12px 10px}
.overlay .joke-submit-standalone{max-height:min(71dvh,560px);overflow:auto}

/* V43: dalsi vtip bez zavreni okna */
.submit-joke-next{width:100%;padding:12px 10px;margin-top:9px;min-height:45px;border-radius:11px;border:1px solid #a8d9a0;background:linear-gradient(180deg,#448a53,#1a5938);color:#fff9dc;font-weight:850;font-size:15px;cursor:pointer}
.submit-joke-next[hidden]{display:none!important}


/* V44 - jedno uvodni nacitani vsech 32 karet; dalsi partie se jiz nacitaji z pameti */
.card-preload-overlay{position:fixed;z-index:10000;inset:0;display:flex;align-items:center;justify-content:center;padding:18px;background:#090705f3;opacity:1;transition:opacity .24s ease}
.card-preload-overlay.finished{opacity:0;pointer-events:none}
.card-preload-panel{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;width:min(100%,340px);border:1px solid #b99057;border-radius:20px;padding:26px 22px;background:linear-gradient(180deg,#302013,#160f0a);box-shadow:0 10px 40px #000d;color:#f9e6bb;font-family:system-ui,sans-serif}
.card-preload-icon{font-size:45px;line-height:1}
.card-preload-panel strong{font:bold 22px/1.2 Georgia,serif;color:#ffe8ae}
.card-preload-panel span{font-size:14px;color:#e9d2a2}
.card-preload-panel small{font-size:11px;line-height:1.4;color:#c6b394}
.card-preload-track{width:100%;height:9px;border:1px solid #9e7953;border-radius:99px;overflow:hidden;background:#0f0b08}
.card-preload-fill{height:100%;width:0%;background:linear-gradient(90deg,#a87d30,#ffdf78);border-radius:99px;transition:width .1s linear}

/* V45 – dobrovolna nabidka vtipu po druhe partii. */
.joke-offer-box{display:grid;gap:8px;text-align:left;margin:1px 1px 5px}
.joke-offer-box>p:first-child{margin:0 0 7px;text-align:center;color:#f7e5bf;font-size:14px;line-height:1.48}
.joke-offer-choice{display:block;width:100%;min-height:49px;padding:11px 14px;cursor:pointer;text-align:left;border:1px solid #c69b5e;border-radius:12px;background:linear-gradient(180deg,#5b402c,#2e2116);box-shadow:inset 0 1px 0 #ffffff20;color:#ffeac8;font-size:15px;font-weight:800}
.joke-offer-choice:hover,.joke-offer-choice:focus-visible{background:linear-gradient(180deg,#73543a,#44301f);outline:2px solid #f3d28d}
.joke-offer-off{background:#241e19;border-color:#9a7e61;color:#e5d9cb}
.joke-offer-note{text-align:center;font-size:11px;color:#d9c6a7;margin:8px 0 2px}
.result-joke-no-bubble{justify-content:center;min-height:145px!important}
.result-joke-no-bubble .result-joke-person{position:relative;left:auto;bottom:auto;width:75%;height:145px;object-fit:contain;object-position:center;-webkit-mask-image:linear-gradient(#000 0% 80%,transparent 100%);mask-image:linear-gradient(#000 0% 80%,transparent 100%)}
@media(max-width:390px){.joke-offer-choice{min-height:44px;padding:9px 12px;font-size:14px}.joke-offer-box>p:first-child{font-size:13px}}


/* V46 — kdo rozdává: viditelné pod stavem tahu, bez zakrytí karet */
body .dealer-note{position:absolute;left:6px;top:36px;z-index:6;pointer-events:none;display:inline-block;max-width:65%;padding:3px 8px;border-radius:13px;border:1px solid #c7a16c8c;background:#1a0e0ad9;color:#f7ddb0;font:750 10px/1.3 system-ui,sans-serif;text-shadow:0 2px 3px #0009;white-space:nowrap}
@media(max-width:390px){body .dealer-note{top:33px;left:5px;font-size:9px;padding:3px 6px}}


/* V48 — nerusive ovladani: pouze balicek vpravo, zadny prelepeny stul */
body .table-stats{justify-content:flex-end!important;gap:0!important}
body .dealer-note,body #dealerNote,body #turnChip{display:none!important}
/* V49 — tlacitko LIZNI jen par pixelu pod spodnim okrajem i natocenych karet.
   Mezery zmereny v prohlizeci pri 3, 5, 9 a 15 kartach, na sirkach 320–490 px. */
body .hand{height:175px!important;overflow:visible!important}
body .controls{margin:5px 3px 7px!important;position:relative!important;z-index:4!important}
body .hand-area{z-index:5!important}
body .controls #drawBtn{min-height:49px!important}
@media(max-width:390px){body .hand{height:159px!important}}
@media(max-height:725px){body .hand{height:146px!important}}
@media(max-width:390px) and (max-height:725px){body .hand{height:148px!important}}
