/* Friends/opponent game screen drawn like the computer game screen (presentation only).
   Same frame, score panel, top block, fixed figure spots, table zone, hand and pile positions. */
body.in-game.in-game.in-game{background:#f4ece0}
body.in-game.in-game.in-game main,body.in-game.in-game.in-game #match{background:#f4ece0;padding:0;margin:0;max-width:none}
body.in-game.in-game.in-game .game{position:relative;display:block;height:calc(100dvh - 44px);min-height:560px;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;
 background:radial-gradient(at 50% 20%,#fbf5ea 0%,#efe3cf 75%);color:#3d2616;font-family:Assistant,system-ui,sans-serif}
body.in-game.in-game.in-game .game:before{content:"";position:absolute;top:15px;bottom:15px;left:5%;right:5%;border:7px solid #5a3420;border-top-color:#7a4a2c;border-bottom-color:#3e2314;border-radius:42%/10%;
 background:radial-gradient(ellipse at 50% 40%,#f1e2c4 0%,#e6cfa4 55%,#d9bd8c 100%);box-shadow:inset 0 8px 28px rgba(90,52,32,.2),0 10px 24px rgba(62,35,20,.35);z-index:-1;pointer-events:none}
body.in-game.in-game.in-game .game:after{content:"";position:absolute;top:22px;bottom:22px;left:calc(5% + 7px);right:calc(5% + 7px);padding:5px;border-radius:42%/10%;
 background:repeating-linear-gradient(45deg,#b5532f 0 5px,#f2dcb0 5px 8px,#d99a3a 8px 13px,#f2dcb0 13px 16px);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);z-index:-1;pointer-events:none}
/* settings gear and chat button in the corners (computer: settings top right, language top left) */
body.in-game.in-game.in-game .settings{top:0;left:auto;right:8px}
body.in-game.in-game.in-game .settings>summary{background:transparent;box-shadow:none;color:#3d2616;border-radius:0;font-size:22px}
body.in-game.in-game.in-game .settings-body{left:auto;right:0}
body.in-game.in-game.in-game #chat-toggle,body.in-game.in-game.in-game #chat-toggle[aria-expanded]{top:4px;right:auto;left:8px;min-height:44px;padding:0 14px;background:#fbf3e3;border:1px solid #9c4224;color:#3d2616;box-shadow:0 2px 0 #6b2c16;font:700 16px Assistant,Arial,sans-serif;z-index:20}
body.four-mode.in-game.in-game.in-game #chat-toggle{top:4px}
/* top block */
body.in-game.in-game.in-game .game>.opponent{position:absolute;top:18px;left:0;right:0;height:42px;margin:0;display:flex;justify-content:center;align-items:center;gap:8px;font-size:16px;color:#3d2616;z-index:3;flex-direction:row}
body.in-game.in-game.in-game .game>.opponent strong{font:400 15px 'Secular One',Assistant,sans-serif;color:#3d2616}
body.in-game.in-game.in-game .game>.opponent #opponent-count{font-size:16px;font-weight:700;color:#3d2616}
body.in-game.in-game.in-game .fc-backs{display:flex;margin-inline-start:6px}
body.in-game.in-game.in-game .fc-backs i{display:block;width:14px;height:27px;margin-inline-end:-2px;border:1.5px solid #214b8e;border-radius:3px;background:repeating-linear-gradient(45deg,#2159a3,#2159a3 3px,#6599df 3px,#6599df 6px)}
body.in-game.in-game.in-game .game>.table-label{position:absolute;top:44px;left:31px;right:31px;height:44px;margin:4px 0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;font-size:16px;color:#5b3e28;z-index:3}
body.in-game.in-game.in-game .game>.table-label #turn{font-size:16px;font-weight:700;color:#3d2616;text-shadow:none}
body.in-game.in-game.in-game .fc-dealer{position:absolute;top:94px;left:50%;transform:translateX(-50%);z-index:3;padding:1px 14px;border:2px solid #9c4224;border-radius:999px;background:#fbf3e3;color:#3d2616;font-size:16px;font-weight:700;white-space:nowrap}
body.in-game.in-game.in-game #dealer-label,body.in-game.in-game.in-game .dealer-mark-note{display:none!important}
body.in-game.in-game.in-game #score,body.in-game.in-game.in-game #basras,body.in-game.in-game.in-game .hand-label #hand-count{display:none}
/* score panel */
body.in-game.in-game.in-game .fc-panel{position:absolute;top:120px;left:23px;right:23px;height:80px;box-sizing:border-box;z-index:3;display:flex;flex-wrap:wrap;justify-content:space-between;align-content:center;gap:2px 8px;padding:3px 8px 4px;background:#fbf3e3;border:1px solid #9c4224;border-radius:12px;box-shadow:0 0 0 1px #9c4224,0 3px 0 1px #6b2c16,0 10px 20px rgba(62,35,20,.25);color:#3d2616}
body.in-game.in-game.in-game .fc-banner{flex:0 0 100%;box-sizing:border-box;padding:2px 8px;background:#9c4224;color:#fbf0dc;border-radius:8px;box-shadow:0 0 0 3px #9c4224;text-align:center;font-size:14px;font-weight:700;margin:2px 0}
body.in-game.in-game.in-game .fc-side{display:grid;grid-template-columns:auto auto;grid-template-rows:27px 21px;gap:0 6px;justify-content:center;align-items:center;width:158px}
body.in-game.in-game.in-game .fc-side em{font-style:normal;font-size:16px;font-weight:700;grid-column:1;grid-row:1;text-align:start}
body.in-game.in-game.in-game .fc-side b{font:400 19px 'Secular One',Assistant,sans-serif;color:#7a2f17;grid-column:2;grid-row:1;text-align:start}
body.in-game.in-game.in-game .fc-side i{font-style:normal;font-size:16px;font-weight:700;color:#5b3e28;grid-column:1/3;grid-row:2;text-align:center;white-space:nowrap}
body.in-game.in-game.in-game #last-deal-notice{position:absolute;top:206px;left:50%;right:auto;transform:translateX(-50%);margin:0;padding:7px 18px;background:#9c4224;border:1px solid #6b2c16;border-radius:999px;color:#fbf0dc;font-size:17px;font-weight:700;z-index:8;white-space:nowrap}
/* table zone: same box as the computer, figures fixed */
body.in-game.in-game.in-game .table-stage{position:absolute;display:block;top:185px;bottom:273px;left:0;right:0;margin:0;background:none;aspect-ratio:auto;z-index:2}
body.in-game.in-game.in-game .table-stage.has-scene::before,body.in-game.in-game.in-game .table-stage.has-scene::after,
body.in-game.in-game.in-game:not(.four-mode) .game .table-stage.has-scene[style*="--char-mid"]::before,body.in-game.in-game.in-game:not(.four-mode) .game .table-stage.has-scene[style*="--char-mid"]::after,
body.in-game.in-game.in-game .game .table-stage:has(#table .card:nth-child(5))[style*="--char-mid"]::before,body.in-game.in-game.in-game .game .table-stage:has(#table .card:nth-child(5))[style*="--char-mid"]::after{
 top:32px!important;margin-top:0!important;width:84px!important;height:200px!important;opacity:1;z-index:0;background-size:84px 200px;background-position:0 0}
body.in-game.in-game.in-game .table-stage.has-scene::before{left:0}
body.in-game.in-game.in-game .table-stage.has-scene::after{right:0}
body.in-game.in-game.in-game .table-stage #table,body.in-game.in-game.in-game:not(.four-mode) .game .table-stage.has-scene #table,body.in-game.in-game.in-game .table-stage.has-scene #table{position:absolute;top:0;bottom:0;left:31px;right:31px;width:auto;max-width:none;margin:0;padding:6px;box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;align-items:center;gap:4px;z-index:2}
body.in-game.in-game.in-game .table-stage .card{width:60px;height:92px}
/* hand */
body.in-game.in-game.in-game .hand-label{position:absolute;top:470px;left:86px;right:86px;height:21px;margin:0;display:flex;justify-content:space-between;gap:12px;font-size:15px;font-weight:700;color:#3d2616;z-index:3}
body.in-game.in-game.in-game .hand-label .fc-hand-title{font:400 15px 'Secular One',Assistant,sans-serif}
body.in-game.in-game.in-game .hand-label #hand-count{display:inline}
body.in-game.in-game.in-game #hand{position:absolute;top:497px;left:31px;right:31px;height:92px;margin:0;padding:0;display:flex;justify-content:center;gap:6px;z-index:5}
body.in-game.in-game.in-game #hand .card{width:60px;height:92px}
body.in-game.in-game.in-game #instruction{position:absolute;top:426px;left:31px;right:31px;margin:0;text-align:center;font-size:14px;font-weight:700;color:#5b3e28;z-index:6}
/* piles: computer spots */
body.in-game.in-game.in-game .capture-pile.pile-opponent{top:94px;left:47px;right:auto}
body.in-game.in-game.in-game .capture-pile.pile-me{top:626px;bottom:auto;left:auto;right:16px}
body.in-game.in-game.in-game .capture-pile b{color:#3d2616;font-size:16px}
/* overlays that used to sit in the flow */
body.in-game.in-game.in-game #result,body.in-game.in-game.in-game #round-breakdown,body.in-game.in-game.in-game #bottom{position:absolute;top:206px;left:12px;right:12px;z-index:25;max-height:60%;overflow:auto;background:#fbf3e3;border:1px solid #9c4224;border-radius:12px;padding:8px;color:#3d2616}
body.in-game.in-game.in-game #result:empty,body.in-game.in-game.in-game #round-breakdown[hidden],body.in-game.in-game.in-game #bottom[hidden]{display:none}
body.in-game.in-game.in-game #played{position:absolute;left:0;right:0;bottom:150px;top:auto;color:#3d2616;z-index:6}
/* four players: three seat chips in the top block, same palette, special-share sheet at the bottom */
body.four-mode.in-game.in-game.in-game #four-seats{position:absolute;top:14px;left:12px;right:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;z-index:3;margin:0}
body.four-mode.in-game.in-game.in-game #four-seats .seat-info{height:auto;min-height:44px;padding:3px 4px;background:#fbf3e3;border:1px solid #9c4224;border-radius:10px;color:#3d2616;font-size:14px;font-weight:700;line-height:1.2;text-align:center;box-sizing:border-box}
body.four-mode.in-game.in-game.in-game #four-seats .seat-info.active-seat{background:#9c4224!important;color:#fbf0dc!important;border-color:#6b2c16!important}
body.four-mode.in-game.in-game.in-game #four-seats .seat-info.active-seat b,body.four-mode.in-game.in-game.in-game #four-seats .seat-info.active-seat span{color:#fbf0dc!important}
body.four-mode.in-game.in-game.in-game .game>.table-label{top:84px;height:36px;margin:0}
body.four-mode.in-game.in-game.in-game .fc-dealer{top:auto;bottom:auto;top:62px;display:none}
body.four-mode.in-game.in-game.in-game #special-sharing{position:absolute;left:8px;right:8px;bottom:4px;z-index:30;background:#fbf3e3;border:1px solid #9c4224;border-radius:10px;padding:4px 8px;font-size:14px}
body.four-mode.in-game.in-game.in-game #special-sharing[hidden]{display:none}
body.four-mode.in-game.in-game.in-game #special-sharing h3{display:none}
/* fixes after first render */
body.in-game.in-game.in-game .game{z-index:0;isolation:isolate}
body.in-game.in-game.in-game .game>.table-label #stock{display:block!important;font-size:14px;font-weight:700;color:#5b3e28}
body.in-game.in-game.in-game .fc-dealer{font-size:14px;padding:0 12px;border-width:1px;line-height:20px;height:22px;box-sizing:border-box;top:94px}
body.in-game.in-game.in-game .dealer-mark-diamond{display:none!important}
body.in-game.in-game.in-game .capture-pile{display:flex;align-items:center;gap:4px;flex-direction:row}
body.in-game.in-game.in-game .capture-pile b{margin:0;font-size:16px}
body.in-game.in-game.in-game .capture-pile .stack{margin:0}
body.in-game.in-game.in-game .hand-label>*{margin:0!important;padding:0!important;line-height:21px}
body.in-game.in-game.in-game .hand-label{padding:0!important}
body.in-game.in-game.in-game:not(.four-mode) .table-stage #table:has(.card:nth-child(5)){align-content:flex-start;padding-top:58px}
/* 4-player dense tables on phone portrait: style.css's old top:225px rule resolves against the stage,
   not the page, which drops the table half-under the hand. Pin dense 4p tables to the same zone as 2p.
   Scoped to the same media as the rule it fixes. */
@media (max-width:767px) and (orientation:portrait){
 body.four-mode.in-game.in-game.in-game .game .table-stage #table:has(.card:nth-child(5)){top:58px;bottom:0;padding-top:0;align-content:flex-start}
}
/* Short screens: a centered table would sit under the last-deal notice (notice bottom ~242px,
   centered card top < 242px below ~719px viewport height), so keep the same fixed placement in every round.
   This replaces the old notice-conditional pin that made the cards jump when the notice appeared.
   5+ card tables are pinned at every height: they wrap to two rows at phone widths and would
   collide with the notice even on tall screens (live already pins 6+ the same way).
   Sparse 4p tables are pinned here too: rule 44 overrides the 150px padding, so centered sparse 4p
   sits at ~220px and would collide with the notice at short heights. */
@media (max-height:719px){
 body.in-game.in-game.in-game:not(.four-mode) .game .table-stage #table,
 body.in-game.in-game.in-game:not(.four-mode) .game .table-stage.has-scene #table{align-content:flex-start;padding-top:58px}
 body.four-mode.in-game.in-game.in-game .game .table-stage #table{align-content:flex-start;padding-top:58px}
}
/* bottom-anchored like the computer so short screens keep the same stack */
body.in-game.in-game.in-game .hand-label{top:auto;bottom:205px}
body.in-game.in-game.in-game #hand{top:auto;bottom:107px}
body.in-game.in-game.in-game #instruction{top:auto;bottom:250px}
body.in-game.in-game.in-game .capture-pile.pile-me{top:auto;bottom:215px;right:calc(5% + 18px)}
/* four players, round 2 */
body.four-mode.in-game.in-game.in-game #four-seats{top:12px;grid-template-columns:repeat(4,1fr);gap:4px;left:8px;right:8px}
body.four-mode.in-game.in-game.in-game #four-seats .seat-info{min-height:0;height:62px;padding:2px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px}
body.four-mode.in-game.in-game.in-game #four-seats .seat-info b{font-size:14px}
body.four-mode.in-game.in-game.in-game .game>.table-label{top:76px;height:42px;margin:0;gap:0}
body.four-mode.in-game.in-game.in-game #chat-toggle{top:auto;bottom:64px;left:60px;min-height:42px}
body.four-mode.in-game.in-game.in-game .settings{top:auto;bottom:64px;right:auto;left:112px}
body.four-mode.in-game.in-game.in-game #special-sharing{box-sizing:border-box;width:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 6px;bottom:2px;left:6px;right:6px}
body.four-mode.in-game.in-game.in-game #special-sharing p{white-space:normal;margin:0;font-size:14px}
body.four-mode.in-game.in-game.in-game #special-sharing p:empty{display:none}
body.four-mode.in-game.in-game.in-game #special-sharing #share-buttons{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
body.in-game.in-game.in-game:not(.four-mode) .game>.opponent #opponent-count{display:inline!important}
/* round 3 fixes */
body.in-game.in-game.in-game .fc-panel .fc-banner{color:#fff!important;background:#9c4224}
body.in-game.in-game.in-game #last-deal-notice{color:#fff!important}
/* 4 players: chips inside the frame, chat/gear back in the corners, share bar inside the frame */
body.four-mode.in-game.in-game.in-game #four-seats{top:46px;left:58px;right:58px;grid-template-columns:repeat(3,1fr)}
body.four-mode.in-game.in-game.in-game #four-seats .seat-info.fc-self{display:none}
body.four-mode.in-game.in-game.in-game #four-seats .seat-info{height:54px;font-size:14px}
body.four-mode.in-game.in-game.in-game .game>.table-label{top:99px;height:18px;margin:0;flex-direction:row;justify-content:center;gap:10px;font-size:14px}
body.four-mode.in-game.in-game.in-game .game>.table-label #turn,body.four-mode.in-game.in-game.in-game .game>.table-label #stock{font-size:14px}
body.four-mode.in-game.in-game.in-game .game>.table-label #turn{font-size:15px;font-weight:800;line-height:18px;color:#6b2c16}
body.four-mode.in-game.in-game.in-game .game>.table-label #turn.my-turn{background:#9c4224;color:#fbf0dc!important;border-radius:8px;padding:0 10px}
body.four-mode.in-game.in-game.in-game #chat-toggle{top:4px;bottom:auto;left:8px}
body.four-mode.in-game.in-game.in-game .settings{top:0;bottom:auto;right:8px;left:auto}
body.four-mode.in-game.in-game.in-game #special-sharing{left:66px;right:66px;bottom:46px;padding:4px}
body.four-mode.in-game.in-game.in-game #special-sharing button{min-height:44px;padding:0 8px;font-size:14px}
body.four-mode.in-game.in-game.in-game #four-seats{top:42px}
body.four-mode.in-game.in-game.in-game #four-seats .seat-info{height:60px;line-height:1.15;overflow:hidden}
body.four-mode.in-game.in-game.in-game .capture-pile.pile-opponent{display:none}

body.in-game.in-game.in-game #bottom:not([hidden]){display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:8px;padding:10px}
body.in-game.in-game.in-game #bottom:not([hidden])>.fc-bt-title{flex:0 0 100%;text-align:center}
body.in-game.in-game.in-game #bottom{max-height:none;bottom:auto}
/* narrow phones: two score columns side by side, never stacked */
@media (max-width:380px){
 body.in-game.in-game.in-game .fc-panel{left:12px;right:12px;gap:2px 4px;padding:3px 6px 4px}
 body.in-game.in-game.in-game .fc-side{width:auto;flex:1 1 0;min-width:0;gap:0 4px}
 body.in-game.in-game.in-game .fc-side em{font-size:15px}
 body.in-game.in-game.in-game .fc-side b{font-size:17px}
 body.in-game.in-game.in-game .fc-side i{font-size:14px}
}
/* short phones: special-sharing prompt sits between table and hand, buttons in a row, hand stays visible */
@media (max-height:700px){
 body.four-mode.in-game.in-game.in-game #special-sharing{bottom:222px;left:12px;right:12px;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center;padding:1px 6px}
 body.four-mode.in-game.in-game.in-game #special-sharing[hidden]{display:none}
 body.four-mode.in-game.in-game.in-game #special-sharing button{flex:1 1 40%;min-height:38px;margin:0;padding:0 6px;font-size:14px;line-height:1.1}
}
/* match-over: keep piles at the computer spots (release moved them to the top) */
body.in-game.in-game.in-game:has(#rematch) .capture-pile.pile-opponent{top:94px;left:47px;right:auto}
body.in-game.in-game.in-game:has(#rematch) .capture-pile.pile-me{top:626px;bottom:auto;left:auto;right:calc(5% + 18px)}
@media (max-width:380px){
 body.four-mode.in-game.in-game.in-game #four-seats{left:44px;right:44px;gap:4px}
 body.four-mode.in-game.in-game.in-game #four-seats .seat-info{padding:2px 2px;line-height:1.1;height:62px}
}
/* no empty sharing bar: show only when it has buttons or a sent/partner note */
body.four-mode.in-game.in-game.in-game #special-sharing:not(:has(#share-buttons button)):has(#share-sent:empty){display:none}
@media (max-height:600px){
 body.in-game.in-game.in-game .table-stage{top:206px}
 body.in-game.in-game.in-game .table-stage .card{width:56px;height:86px}
}
@media (max-width:380px){
 body.in-game.in-game.in-game:not(.four-mode) .game>.opponent{left:74px;right:30px;gap:4px;flex-wrap:nowrap;white-space:nowrap}
 body.in-game.in-game.in-game:not(.four-mode) .game>.opponent strong,body.in-game.in-game.in-game:not(.four-mode) .game>.opponent #opponent-count{font-size:14px}
}
/* played-card overlap fix (local candidate). Tall phones: lift the thrown card clear of the hand cards (label row only has text at its edges), instruction above it. */
@media (min-height:701px){
body.in-game.in-game.in-game:not(:has(#played button)) #played{bottom:202px}
body.in-game.in-game.in-game:has(#played .card) #instruction{bottom:300px;line-height:22px}
}
/* Short phones: no room for a full-size card above the hand, so the thrown card is shown at about 60% size at the right with the instruction beside it, above the hand label.
   While a capture is being chosen (cancel button present) the hand label row is hidden to make room and the duplicate prompt text node is visually hidden (the full instruction beside the card stays visible, table cards stay uncovered and tappable). */
@media (max-height:700px){
body.in-game.in-game.in-game #played{left:auto;right:31px;bottom:231px;width:auto;margin:0;display:flex;flex-direction:row;align-items:flex-end;text-align:right}
body.in-game.in-game.in-game #played .card{transform:scale(.62);transform-origin:bottom right;margin:0 0 0 -23px}
body.in-game.in-game.in-game:has(#played .card) #instruction{left:10px;right:76px;bottom:231px;font-size:13px;line-height:15px;text-align:right;box-sizing:border-box;padding:1px 6px;background:rgba(251,243,227,.95);border-radius:8px}
body.in-game.in-game.in-game:has(#played button) #played{bottom:209px;gap:6px;font-size:0}
body.in-game.in-game.in-game:has(#played button) #played button{font-size:13px;min-height:34px;padding:2px 8px;line-height:1.1;margin:0}
body.in-game.in-game.in-game:has(#played .card):has(#played button) #instruction{bottom:209px;right:170px}
body.in-game.in-game.in-game:has(#played button) .hand-label{visibility:hidden}
}
/* Tall phones, capture selection (cancel button present): same compact row as on short phones (small card right, cancel button, instruction left on a pill), in the empty band between the table cards and the hand. */
@media (min-height:701px){
body.in-game.in-game.in-game:has(#played button) #played{left:auto;right:31px;bottom:274px;width:auto;margin:0;display:flex;flex-direction:row;align-items:flex-end;text-align:right;gap:6px;font-size:0}
body.in-game.in-game.in-game:has(#played button) #played .card{transform:scale(.62);transform-origin:bottom right;margin:0 0 0 -23px}
body.in-game.in-game.in-game:has(#played button) #played button{font-size:13px;min-height:34px;padding:2px 8px;line-height:1.1;margin:0}
body.in-game.in-game.in-game:has(#played .card):has(#played button) #instruction{left:31px;right:170px;bottom:274px;font-size:13px;line-height:15px;text-align:right;box-sizing:border-box;padding:1px 6px;background:rgba(251,243,227,.95);border-radius:8px}
body.in-game.in-game.in-game:has(#played button) .hand-label{visibility:hidden}
}
/* 4p, short phones: the partner-signal sheet moves below the hand while a played card or capture selection is on screen, so it no longer covers the instruction, the card or the cancel button. Same buttons and behavior. */
@media (max-height:700px){
body.four-mode.in-game.in-game.in-game #special-sharing{bottom:2px;left:6px;right:46px;gap:3px 4px;padding:1px 4px}
body.four-mode.in-game.in-game.in-game #special-sharing button{flex:0 1 auto;min-height:34px;padding:0 6px;font-size:12px}
body.four-mode.in-game.in-game.in-game #special-sharing p{font-size:12px;line-height:14px}
}
@media (min-height:701px){
body.four-mode.in-game.in-game.in-game #special-sharing{bottom:2px;left:6px;right:46px;gap:3px 4px;padding:1px 4px}
body.four-mode.in-game.in-game.in-game #special-sharing button{flex:0 1 auto;min-height:34px;padding:0 6px;font-size:12px}
body.four-mode.in-game.in-game.in-game #special-sharing p{font-size:12px;line-height:14px}
}
/* Opening special cards notice: shown to both players at the start of a round, in the band between the table and the hand. Visible time is counted only while no thrown card or selection is on screen (10 s total), tap to dismiss. */
body.in-game.in-game.in-game #opening-specials:not(:empty){display:block;position:absolute;left:12px;right:12px;top:0;z-index:20;box-sizing:border-box;margin:0;padding:6px 10px;border:1px solid #9c4224;border-radius:10px;font-size:14px;line-height:1.35;text-align:center;font-weight:700;cursor:pointer}
@media (max-height:700px){body.in-game.in-game.in-game #opening-specials:not(:empty){top:0}}
body.in-game.in-game.in-game:has(#played:not(:empty)) #opening-specials{display:none}
/* basra praise banner: it is position:fixed inside .table-stage, which isolates it under the score
   panel's z-index. Raise the whole stage while a praise is showing so the banner stays visible. */
@media(max-width:767px){body.in-game.in-game.in-game .table-stage:has(#table>.praise){z-index:4}}
