:root {
  color-scheme: dark;
  --cream: #f5eddc;
  --ink: #26372f;
  --gold: #e7bd75;
  --card-w: 58px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #142922;
  color: var(--cream);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; background: radial-gradient(ellipse at 50% 35%, #345c45, #142922 80%); }
button, input { font: inherit; }
button { min-height: 44px; min-width: 44px; padding: 11px 16px; border: 1px solid #d0ae72; border-radius: 9px; background: var(--gold); color: #25372b; font-weight: 650; cursor: pointer; touch-action: manipulation; }
button:hover:enabled { background: #f2d294; }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #fff2bf; outline-offset: 4px; }
input { width: 100%; min-width: 0; min-height: 48px; padding: 12px; color: var(--ink); background: #fffaf0; border: 1px solid #b3ad9d; border-radius: 8px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; max-width: 1200px; margin: auto; padding: 18px 24px; }
.brand { display: flex; align-items: center; gap: 18px; font: 750 27px Georgia, serif; letter-spacing: 4px; color: var(--cream); text-decoration: none; }
.brand span { font: 400 12px system-ui; letter-spacing: 1px; color: #bac7b7; }
#connection { max-width: 220px; font-size: 13px; color: #e7bb95; text-align: right; }
#connection.online { color: #bcdfb2; }
main { max-width: 1160px; margin: 0 auto; padding: 12px 24px max(28px, env(safe-area-inset-bottom)); }
h1 { margin: 8px 0 20px; font: 500 clamp(28px, 4vw, 42px) Georgia, serif; }
h2 { margin: 0 0 12px; font: 500 23px Georgia, serif; }
p { line-height: 1.55; }
.paper { padding: 30px; background: var(--cream); color: var(--ink); border: 1px solid #e0d2b8; border-radius: 15px; box-shadow: 0 15px 45px #0003; }
.home { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; min-height: 70vh; }
.home-art { display: grid; place-items: center; min-height: 430px; border-radius: 120px 120px 30px 30px; background: linear-gradient(180deg, #172b2700, #172b2722), url('/assets/menu-background.png') center/cover; box-shadow: inset 0 0 70px #172b2777; }
.home-art img { width: 86%; max-width: 360px; filter: drop-shadow(0 8px 12px #0005); }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #536951; }
.fine, .muted { font-size: 13px; color: #c1cdb7; }
.paper .muted, .fine { color: #647064; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
form { margin-top: 24px; }
form button { width: 100%; margin-top: 14px; }
.home-actions { display: grid; gap: 12px; }
.home-actions button:nth-child(2) { background: transparent; color: var(--ink); }
.inline { display: flex; gap: 8px; }
.inline button { width: auto; margin: 0; white-space: nowrap; }
.directory { margin-top: 27px; padding-top: 22px; border-top: 1px solid #d8cdb5; }
.room-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid #dfd6c5; }
.room-row:first-of-type { border: 0; }
.room-row span { display: block; margin-top: 4px; font-size: 12px; }
.room-row button { padding: 8px 10px; font-size: 12px; }
.notice, .pending { max-width: 1112px; margin: 0 auto 12px; padding: 12px 16px; background: #624331; border: 1px solid #9e7251; border-radius: 8px; font-size: 14px; }
.pending { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pending button { white-space: nowrap; }
.reconnect, .waiting { max-width: 600px; margin: 35px auto; }
.room-code { font-size: 20px; }
.room-code strong { letter-spacing: 3px; }
.members { list-style: none; margin: 24px 0; padding: 0; }
.members li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #dbd0ba; }
.members li span:last-child { font-size: 13px; color: #617451; }
.members small { font-size: 11px; color: #6e806d; }
.waiting > button { margin: 5px 5px 0 0; }
.queue-note { padding: 14px; background: #e4d8bd; border-radius: 8px; }

/* The table, decision and hand occupy separate rows; no control covers the cards. */
.game { --card-w: 58px; }
.game-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; padding-bottom: 13px; border-bottom: 1px solid #d5c99c26; }
.game-toolbar strong { font: 500 23px Georgia, serif; white-space: nowrap; }
.game-toolbar > div:first-child { display: flex; align-items: center; gap: 16px; }
.game-toolbar span { font-size: 13px; color: #c9d3bd; }
.toolbar-actions { display: flex; align-items: center; gap: 15px; }
.toolbar-actions button { padding: 7px 14px; border-color: #a8b18a; background: #192f26; color: var(--cream); font-size: 13px; }
.toolbar-actions button:hover:enabled { background: #314b36; }
.table { position: relative; isolation: isolate; height: 620px; }
.felt-ring { position: absolute; inset: 8% 6% 11%; border: 7px solid #66704a; border-radius: 46%; background: radial-gradient(ellipse at 50% 40%, #477653, #2c543b 75%); box-shadow: inset 0 0 0 2px #bead7940, inset 0 0 65px #142a2a66, 0 16px 28px #0003; outline: 1px solid #b9a36d; }
.seat { position: absolute; z-index: 2; width: clamp(112px, 14vw, 148px); min-height: 77px; padding: 10px 9px; border: 1px solid #8d9a73; border-radius: 11px; background: #192e25f5; box-shadow: 0 5px 13px #0003; text-align: center; }
.seat.active { border-color: #f4d090; box-shadow: 0 0 0 2px #e4bd6559, 0 5px 13px #0003; }
.seat.self { border-color: #c6b783; background: #243e2e; }
.seat.self.active { border-color: #ffe4a4; }
.seat.skipping { background: #24372cf5; color: #c1cab7; border-style: dashed; }
.seat-name { overflow: hidden; font-size: 14px; font-weight: 650; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
.bot-mark { margin-left: 5px; font-size: 9px; font-weight: 400; color: #b3c1a7; }
.seat-balance { margin: 3px 0; font-size: 18px; color: #f4d799; font-variant-numeric: tabular-nums; }
.seat-balance span { font-size: 10px; color: #d2d3b9; }
.seat-balance b { font-size: 12px; }
.seat-detail { min-height: 14px; font-size: 10px; line-height: 1.4; color: #c4cebb; }
.seat-0 { bottom: 0; left: 50%; transform: translateX(-50%); }
.seat-1 { bottom: 15%; left: 3%; }
.seat-2 { top: 42%; left: 0; }
.seat-3 { top: 10%; left: 8%; }
.seat-4 { top: 0; left: 50%; transform: translateX(-50%); }
.seat-5 { top: 10%; right: 8%; }
.seat-6 { top: 42%; right: 0; }
.seat-7 { bottom: 15%; right: 3%; }
.forced-card { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 5px; }
.seat-0 .forced-card { top: auto; bottom: 100%; margin: 0 0 5px; }
.table-center { position: absolute; inset: 24% 17% 23%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.table-cards { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; min-width: 0; max-height: 100%; overflow: auto; padding: 6px; scrollbar-width: thin; scrollbar-color: #b4ad78 #234431; }
.table-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; max-width: 100%; padding: 3px; border-radius: 7px; background: #163b2426; }
.card { position: relative; display: inline-block; flex: 0 0 auto; width: var(--card-w); min-width: 0; min-height: 0; aspect-ratio: 210/324; padding: 0; overflow: hidden; border: 1px solid #efddbd; border-radius: 5px; background: #faf1dc; box-shadow: 0 2px 5px #0005; vertical-align: middle; }
.card-art { position: absolute; inset: 0; background-image: url('/assets/cards.png'); background-size: 1200% 400%; background-position: var(--cx) var(--cy); }
.card-points { position: absolute; right: 2px; bottom: 2px; padding: 1px 3px; border-radius: 3px; background: #fff8eaf0; color: #29332a; font-size: 10px; font-weight: 750; line-height: 1.2; }
.card.back { border: 3px solid #e9dbb7; background: repeating-linear-gradient(45deg, #323f36 0 3px, #69764f 3px 5px); box-shadow: inset 0 0 0 2px #1c3022, 0 2px 5px #0005; }
.card.small { width: 30px; }
.card.selectable { border-color: #ffe39a; box-shadow: 0 0 0 2px #e7bd7580, 0 4px 10px #0005; }
.card.selectable:hover:enabled { background: #faf1dc; transform: translateY(-4px); }
.card:disabled { opacity: .86; }
.deck, .played { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.deck > span:last-child, .played > span:last-child { max-width: 70px; font-size: 11px; line-height: 1.4; text-align: center; color: #e0e5cd; }
.decision-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(760px, 100%); min-height: 78px; margin: 16px auto 0; padding: 15px 19px; border: 1px solid #7d8e68; border-radius: 12px; background: #12291be8; }
.decision-panel.actionable { border-color: #d4b979; background: #33452c; box-shadow: 0 4px 20px #0002; }
.decision-panel strong { font-size: 16px; font-weight: 600; line-height: 1.45; }
.decision-panel #deadline { display: block; min-height: 16px; margin-top: 4px; font-size: 12px; color: #d1d7bd; font-variant-numeric: tabular-nums; }
.decision-buttons { display: flex; flex: 0 0 auto; gap: 8px; }
.decision-buttons button:last-child { border-color: #b6b58d; background: transparent; color: var(--cream); }
.decision-buttons button:last-child:hover:enabled { background: #ffffff12; }
.hand-area { margin: 0 auto; padding: 18px 2px 8px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #b4ad78 transparent; }
.hand-label { display: block; margin-bottom: 12px; font-size: 12px; letter-spacing: .04em; color: #d1dac4; text-align: center; }
.own-turn .hand-label { color: #ffe1a1; }
.hand { display: flex; justify-content: center; gap: 8px; width: max-content; min-width: 100%; min-height: 80px; padding: 5px 4px 8px; }
.hand .card { --card-w: clamp(44px, 6vw, 72px); }
.captured { max-width: 760px; margin: 12px auto; font-size: 13px; color: #d0d9c4; }
.captured summary { min-height: 44px; padding: 13px 8px; cursor: pointer; }
.captured > div { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px; }
.loading { margin-top: 50px; text-align: center; }

@media (max-width: 750px) {
  .topbar { gap: 10px; padding: 15px 16px; }
  .brand { gap: 10px; font-size: 23px; }
  .brand span { font-size: 10px; letter-spacing: 0; }
  #connection { max-width: 150px; font-size: 11px; line-height: 1.4; }
  main { padding: 8px 10px max(20px, env(safe-area-inset-bottom)); }
  .home { display: flex; flex-direction: column; gap: 16px; min-height: auto; }
  .home-art { width: 100%; min-height: 170px; border-radius: 20px; background-position: center 38%; }
  .home-art img { width: 210px; }
  .paper { width: 100%; padding: 24px; }
  .notice { margin: 0 10px 10px; }
  .pending { flex-direction: column; align-items: stretch; gap: 8px; }
  .reconnect, .waiting { margin: 20px auto; }
  .game { --card-w: 44px; }
  .game-toolbar { gap: 8px; margin-bottom: 16px; padding-bottom: 10px; }
  .game-toolbar > div:first-child { flex-direction: column; align-items: flex-start; gap: 3px; }
  .game-toolbar strong { font-size: 21px; }
  .game-toolbar span { font-size: 12px; }
  .toolbar-actions { gap: 6px; }
  .toolbar-actions button { max-width: 160px; font-size: 12px; }
  .code-tag { display: none; }
  .table { height: 480px; }
  .felt-ring { inset: 9% 3% 12%; border-width: 5px; border-radius: 46%; }
  .seat { width: 88px; min-height: 77px; padding: 8px 4px; border-radius: 9px; }
  .seat-name { font-size: 12px; }
  .seat-balance { font-size: 16px; }
  .seat-balance span { font-size: 9px; }
  .seat-detail { font-size: 9px; }
  .seat-3 { top: 55px; left: 1%; }
  .seat-5 { top: 55px; right: 1%; }
  .seat-2, .seat-6 { top: 200px; }
  .seat-1 { bottom: 40px; left: 1%; }
  .seat-7 { bottom: 40px; right: 1%; }
  .table-center { inset: 145px 94px 95px; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: 10px 6px; }
  .table-cards { grid-column: 1 / -1; grid-row: 1; align-self: stretch; align-content: flex-start; gap: 6px; padding: 4px; }
  .table-group { gap: 3px; padding: 2px; }
  .deck, .played { flex-direction: row; justify-content: center; gap: 4px; }
  .deck { grid-column: 1; grid-row: 2; }
  .played { grid-column: 2; grid-row: 2; }
  .deck:only-child { grid-column: 1 / -1; }
  .deck > span:last-child, .played > span:last-child { max-width: 44px; font-size: 9px; }
  .deck .card { width: 32px; }
  .played .card { width: 44px; }
  .card-points { font-size: 9px; padding: 1px 2px; }
  .decision-panel { flex-wrap: wrap; gap: 12px; min-height: 78px; margin-top: 15px; padding: 13px; }
  .decision-panel > div:first-child { flex: 1 1 170px; }
  .decision-panel strong { font-size: 14px; }
  .decision-buttons { margin-left: auto; }
  .decision-buttons button { padding: 10px 13px; font-size: 13px; }
  .hand { gap: 5px; }
  .hand-area { padding-top: 16px; }
  .room-row { flex-wrap: wrap; gap: 8px; }
  .inline { flex-direction: column; }
  .inline button { width: 100%; }
}
@media (max-width: 450px) {
  .hand { gap: 2px; padding-left: 0; padding-right: 0; }
  .hand .card { --card-w: 44px; }
  .decision-buttons { flex: 1 0 100%; margin: 0; }
  .decision-buttons button { flex: 1; }
}
@media (max-width: 359px) {
  .brand span { display: none; }
  .seat { width: 76px; }
  .seat-balance span { display: none; }
  .table-center { right: 80px; left: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .card.selectable:hover:enabled { transform: none; }
}
/* Public player state and captured cards, matching the information available on Android. */
.felt-ring { border-radius: 22px; }
.seat { min-height: 132px; }
.seat.active { background: #735b24; }
.seat-status { display: block; width: fit-content; max-width: 100%; margin: 5px auto 3px; padding: 2px 5px; border-radius: 4px; font-size: 11px; line-height: 1.3; font-weight: 700; background: #35634a; color: #f5eddc; }
.seat.skipping .seat-status { background: #3b4641; color: #d1d8d2; }
.seat.skipping { border-color: #77857b; background: #21382d; }
.seat.leaving { border: 2px dashed #eeac83; background: #4e352b; }
.seat.leaving .seat-status { background: #825039; color: #fff0dc; }
.seat.disconnected .seat-status, .seat.returning .seat-status { background: #6f542f; color: #fff0dc; }
.seat.choosing .seat-status { background: #60542d; }
.seat-captured { display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 2px; width: 100%; min-width: 44px; min-height: 44px; margin-top: 4px; padding: 4px 2px; background: #0d271dcc; border: 1px solid #84976d66; border-radius: 5px; color: #f5eddc; }
.seat-captured:hover:enabled { background: #355542; }
.capture-fan { display: flex; justify-content: center; min-height: 26px; pointer-events: none; }
.capture-fan .card.small { width: 19px; height: 29px; }
.capture-fan .card + .card { margin-left: -5px; }
.capture-fan .card-points { display: none; }
.capture-count { font-size: 10px; line-height: 1.2; pointer-events: none; }
.capture-empty { color: #91a48f; }
.seat-1, .seat-7 { bottom: 16%; }
.seat-2, .seat-6 { top: 39%; }
.seat-3, .seat-5 { top: 3%; }
.forced-card { z-index: 3; }
.inspection-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: #061b17dc; }
.inspection { width: min(760px, 100%); max-height: calc(100svh - 32px); overflow: auto; }
.inspection-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.inspection-heading h2 { margin: 0; overflow-wrap: anywhere; }
.inspection-heading button { flex: 0 0 auto; }
.inspection-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.inspection-cards .card { --card-w: 64px; }
@media (max-width: 750px) {
  .table { height: 610px; }
  .seat { min-height: 115px; padding: 6px 3px; }
  .seat-name { font-size: 12px; }
  .seat-balance { margin: 2px 0; font-size: 15px; }
  .seat-detail { display: none; }
  .seat-status { font-size: 10px; margin: 3px auto; padding: 2px 3px; }
  .seat-captured { min-height: 44px; padding: 3px 1px; margin-top: 3px; }
  .capture-fan .card.small { width: 18px; height: 27px; }
  .capture-count { font-size: 9px; }
  .seat-3, .seat-5 { top: 45px; }
  .seat-2, .seat-6 { top: 228px; }
  .seat-1, .seat-7 { bottom: 45px; }
  .table-center { inset: 166px 94px 148px; }
  .inspection { padding: 18px; }
  .inspection-heading { flex-direction: column; gap: 12px; }
  .inspection-heading button { align-self: flex-end; }
  .inspection-cards { gap: 7px; }
  .inspection-cards .card { --card-w: 53px; }
}
/* Captured trays increase panel height; reserve vertical room on wide tables. */
@media (min-width: 751px) {
  .table { height: 760px; }
  .table-center { inset: 26% 18% 24%; }
}
body:has(.inspection-backdrop) { overflow: hidden; }
/* Inactive seats deliberately recede; announcements and chat remain bright. */
.seat[data-playing="false"]:not(.preparing):not(.choosing) { background: #030b07; border-color: #203126; box-shadow: none; }
.seat[data-playing="false"]:not(.preparing):not(.choosing) > .seat-name,
.seat[data-playing="false"]:not(.preparing):not(.choosing) > .seat-balance,
.seat[data-playing="false"]:not(.preparing):not(.choosing) > .seat-captured,
.seat[data-playing="false"]:not(.preparing):not(.choosing) > .opponent-hand { opacity: .23; filter: saturate(.15) brightness(.65); }
.seat[data-playing="false"]:not(.preparing):not(.choosing) > .seat-status { background: transparent; color: #7c8981; }
.seat-detail { display: none; }
.opponent-hand { display: flex; align-items: center; justify-content: center; height: 22px; gap: 2px; margin: 3px 0; font-size: 10px; }
.opponent-hand .card { width: 12px; height: 18px; border-width: 1px; border-radius: 2px; }
.opponent-hand .card + .card { margin-left: -6px; }
.card.hint { outline: 2px solid #81dfba; outline-offset: 2px; }
.order-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; width: 100%; }
.order-cards > div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.order-cards > div > span:first-child { font-size: 10px; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-announcement { position: absolute; inset: 0; z-index: 6; border-radius: inherit; padding: 8px 5px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; color: #7a2525; background: #f6c453; cursor: pointer; }
.panel-announcement strong { font-size: clamp(13px,1.8vw,23px); }
.panel-announcement > span:not(.card) { font-size: 11px; }
.panel-announcement .card.small { width: 34px; }
.announcement-banner { position: fixed; z-index: 18; top: 65px; left: 50%; transform: translateX(-50%); width: min(480px,94vw); display: grid; place-items: center; gap: 6px; border-radius: 12px; padding: 16px; background: #f6c453; color: #7a2525; box-shadow: 0 8px 35px #0008; }
.announcement-banner strong { font-size: 24px; }
.chat-bubble { position: absolute; z-index: 15; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: #fff9e8; color: #20362c; border: 2px solid #f6c453; padding: 9px; border-radius: 16px 16px 16px 3px; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 12px #0005; pointer-events: none; }
.seat:has(.chat-bubble) { z-index: 16; }
.chat-controls { max-width: 760px; margin: 12px auto; }
.chat-controls > span { margin-left: 10px; font-size: 12px; }
.chat-phrases { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.game-menu { position: fixed; z-index: 25; top: 75px; right: max(14px,calc((100vw - 1160px)/2)); width: min(380px,calc(100vw - 28px)); max-height: calc(100svh - 90px); overflow: auto; padding: 20px; }
.game-menu > button { display: block; width: 100%; margin: 7px 0; }
.ballot { margin: 16px auto; max-width: 760px; padding: 18px; border: 2px solid #f6c453; border-radius: 12px; background: #1d3328; }
.ballot button { margin: 4px; }
.reseat-note { text-align: center; color: #f6c453; }
.settlement { padding: 20px 0; }
.settlement h1 { font-size: 27px; text-align: center; }
.settlement-players { display: grid; grid-template-columns: repeat(auto-fit,minmax(165px,1fr)); gap: 10px; }
.settlement-player { background: #f5eddc; color: #26372f; padding: 12px; border-radius: 10px; border: 1px solid #cabc94; }
.settlement-player h2 { font: 700 16px system-ui; overflow-wrap: anywhere; }
.settlement-player p { margin: 7px 0; font-size: 13px; }
.settlement-player.winner { background: #ddf4df; }
.settlement-player.loser { background: #ffe1de; }
.settlement-player.settlement-skipped { background: #0b1711; color: #78847d; border-color: #203126; }
.settlement-player.settlement-skipped button { opacity: .3; }
.settlement-balance { font-size: 18px !important; font-weight: 700; }
.score-cards { display: flex; flex-wrap: wrap; gap: 3px; min-height: 45px; }
.chip-pot { display: grid; place-items: center; margin: 18px auto; width: 160px; min-height: 75px; border-radius: 50%; border: 2px solid #d3b578; background: #203b2a; color: #f6c453; font-size: 24px; }
.chip-motion { display: inline-block; animation: chip-transfer 950ms ease-in-out infinite; color: #f6c453; }
.entry-payment { max-width: 760px; margin: 10px auto; padding: 12px; text-align: center; background: #153b2b; border-radius: 10px; color: #f6c453; }
@keyframes chip-transfer { from { transform: translateX(-34px) translateY(5px); opacity: .2; } 50% { opacity: 1; } to { transform: translateX(34px) translateY(-5px); opacity: .2; } }
@media (max-width:750px) {
 .order-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
 .opponent-hand { height: 18px; }
 .opponent-hand .card { width: 10px; height: 15px; }
 .panel-announcement strong { font-size: 13px; }
 .panel-announcement > span:not(.card) { font-size: 9px; }
 .chat-bubble { font-size: 12px; padding: 6px; }
 .seat-1 .chat-bubble,.seat-2 .chat-bubble,.seat-3 .chat-bubble { left: 0; transform: none; }
 .seat-5 .chat-bubble,.seat-6 .chat-bubble,.seat-7 .chat-bubble { left: auto; right: 0; transform: none; }
 .settlement-players { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(prefers-reduced-motion:reduce) { .chip-motion { animation: none; } }
.card-preview { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: #061b17bb; pointer-events: none; }
.card-preview .card { width: min(220px,48vw); height: auto; aspect-ratio: 210/324; min-height: 0; opacity: 1; transform: none; }
.card-preview .card-points { font-size: 22px; }
.card[aria-disabled="true"] { opacity: .86; cursor: default; }
.card[aria-disabled="true"]:hover { background: #faf1dc; transform: none; }
.bubyshka-flight { position: fixed; width: 12px; height: 8px; border: 1px solid #b98041; border-radius: 50%; background: #f2cd89; box-shadow: 0 1px 3px #0005; z-index: 35; pointer-events: none; will-change: transform; }
