/* Original 31daydev Lantern Room UI. Scoped; no external font or image requests. */
.lr {
  --lr-bg: #0b1020;
  --lr-surface: #171824;
  --lr-ivory: #f7efdc;
  --lr-muted: #c0bbc6;
  --lr-dim: #a79eae;
  --lr-line: #5a4d58;
  --lr-brass: #c29c69;
  --lr-orange: #ffb36b;
  --lr-mint: #c6e3b8;
  color-scheme: dark;
  color: var(--lr-ivory);
  background: radial-gradient(ellipse at 50% 32%, #26213255, transparent 67%), var(--lr-bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-synthesis: none;
  min-height: 100svh;
  padding: 0 32px 20px;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}
.lr *, .lr *::before, .lr *::after { box-sizing: border-box; }
.lr [hidden] { display: none !important; }
.lr svg { display: block; flex-shrink: 0; }
.lr button, .lr input, .lr select { font: inherit; }
.lr button { cursor: pointer; touch-action: manipulation; }
.lr button:disabled { cursor: not-allowed; }
.lr button, .lr a, .lr input, .lr select, .lr summary { -webkit-tap-highlight-color: transparent; }
.lr a { color: inherit; }
.lr :is(button,a,input,select,summary,[tabindex]):focus-visible { outline: 3px solid var(--lr-orange); outline-offset: 4px; }
.lr :is(input,select):focus-visible { outline-offset: 2px; }
.lr button:disabled { opacity: .46; }
.lr button:disabled:hover { transform: none; }
.lr .lr-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.lr-skip { position: absolute; z-index: 30; top: 12px; left: 16px; transform: translateY(-200%); padding: 12px 20px; background: var(--lr-ivory); color: #171824 !important; border-radius: 4px; }
.lr-skip:focus { transform: translateY(0); }
.lr-topbar { max-width: 1240px; margin: auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #95878c33; }
.lr-brand { display: inline-flex; align-items: center; gap: 11px; min-height: 48px; text-decoration: none; font-size: 19px; font-weight: 750; letter-spacing: -.6px; }
.lr-brand-mark { display: grid; place-items: center; position: relative; font-family: Georgia,serif; background: var(--lr-ivory); color: #27232f; width: 42px; height: 42px; border-radius: 3px; font-size: 29px; line-height: 1; letter-spacing: -3px; padding-right: 5px; }
.lr-brand-mark > span { position: absolute; font-size: 11px; color: #8e4d33; right: 2px; top: 3px; }
.lr-brand small { display: block; font-size: 8px; font-weight: 550; letter-spacing: 1.15px; color: var(--lr-muted); margin-top: 2px; }
.lr-play-money { display: flex; gap: 9px; align-items: center; border: 1px solid #a48f665c; padding: 8px 12px; border-radius: 4px; color: #ecd5ad; font-size: 10px; font-weight: 750; letter-spacing: 1.2px; line-height: 1.4; }
.lr-play-money .lr-chip { width: 25px; height: 25px; }
.lr-play-money small { display: block; font-size: 10px; font-weight: 450; letter-spacing: .2px; color: var(--lr-muted); }
.lr-connection, .lr-error { max-width: 1180px; margin: 12px auto 0; border: 1px solid #c89a65; border-radius: 4px; padding: 11px 16px; color: #f5d8ae; background: #33291e; font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lr-error { border-color: #d78f88; background: #362128; color: #f6c8c2; }
.lr-eyebrow { font-size: 10px; font-weight: 750; letter-spacing: 2.1px; color: var(--lr-brass); margin: 0; }
.lr-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 11px 18px; border: 1px solid #70636d; border-radius: 4px; background: #2a2532; color: var(--lr-ivory); font-size: 14px; font-weight: 650; transition: background-color 140ms ease, border-color 140ms ease; }
.lr-button:not(:disabled):hover { background: #3b3141; border-color: #ae9597; }
.lr-button--primary { background: var(--lr-orange); color: #281d22; border-color: #ffca95; box-shadow: inset 0 -3px #824d2733; }
.lr-button--primary:not(:disabled):hover { background: #ffc68f; border-color: #ffe0b9; }
.lr-button--small { min-height: 40px; padding: 7px 14px; font-size: 13px; }
.lr-button svg { width: 18px; height: 18px; }
.lr-text-button { border: 0; background: transparent; color: var(--lr-muted); padding: 8px 12px; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.lr-text-button:not(:disabled):hover { color: var(--lr-ivory); }

/* Entrance: one short form, original architectural lantern illustration. */
.lr-entry { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; min-height: min(780px,calc(100svh - 110px)); padding: 48px 0 60px; }
.lr-entry-illustration { text-align: center; position: relative; }
.lr-entrance-art { width: 100%; max-height: 560px; }
.lr-art-caption { display: block; margin-top: -10px; color: #a99b9e; font-family: ui-monospace, "Cascadia Code", monospace; font-size: 9px; letter-spacing: 1.65px; }
.lr-entry-content { max-width: 420px; }
.lr-entry-content h1 { font: 400 clamp(50px,5.3vw,76px)/.97 Georgia,"Times New Roman",serif; letter-spacing: -2px; margin: 18px 0 22px; }
.lr-entry-content h1 em { font-weight: 400; color: var(--lr-orange); }
.lr-entry-description { margin: 0; font-size: 16px; color: #e4d9d6; }
.lr-entry-meta { font-size: 11px; color: var(--lr-muted); margin: 14px 0 29px; display: flex; flex-wrap: wrap; gap: 9px; }
.lr-entry-meta span { color: var(--lr-brass); }
.lr-entry-form { border-top: 1px solid var(--lr-line); padding-top: 23px; }
.lr-field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 650; color: #ddd1d2; }
.lr-field input, .lr-field select, .lr-invite-fallback input { width: 100%; min-height: 50px; border: 1px solid #6d5a67; border-radius: 4px; padding: 12px 14px; color: var(--lr-ivory); background: #1a1825; font-size: 15px; }
.lr-field input::placeholder { color: #aaa0b1; }
.lr-field input[data-code] { font-family: ui-monospace, monospace; font-size: 13px; letter-spacing: .2px; }
.lr-entry-tabs { margin: 20px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid #6d5a67; border-radius: 4px; padding: 4px; gap: 4px; }
.lr-entry-tabs button { min-height: 62px; padding: 8px 5px; border: 1px solid transparent; border-radius: 2px; color: #c5bbc9; background: transparent; font-size: 12px; font-weight: 650; }
.lr-entry-tabs button small { display: block; margin-top: 4px; font-size: 10px; font-weight: 450; color: #b8acbe; }
.lr-entry-tabs button[aria-pressed=true] { color: #f2ddbd; border-color: #907353; background: #3c3030; }
.lr-entry-tabs button[aria-pressed=true] small { color: #e1c3a5; }
.lr-solo-note { display: flex; align-items: center; gap: 12px; min-height: 70px; color: #dfd0d2; }
.lr-solo-mark > svg { width: 32px; height: 42px; color: var(--lr-orange); }
.lr-solo-note strong { display: block; font-size: 12px; font-weight: 650; }
.lr-solo-note small { display: block; margin-top: 4px; color: var(--lr-dim); font-size: 11px; }
.lr-capacity-field { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; min-height: 70px; }
.lr-capacity-field small { display: block; margin-top: 4px; color: var(--lr-dim); font-size: 11px; font-weight: 450; }
.lr-capacity-field select { width: 80px; }
.lr-entry-form [data-join-fields] { min-height: 70px; }
.lr-form-error { color: #ffc2b7; min-height: 22px; margin: 8px 0; font-size: 12px; }
.lr-entry-submit { width: 100%; justify-content: space-between; min-height: 54px; padding: 13px 18px; font-size: 14px; }
.lr-entry-submit > span:last-child { font-size: 22px; line-height: 1; }
.lr-entry-footnote { color: var(--lr-dim); font-size: 10px; text-align: center; margin: 12px 0 0; }

/* Table: CSS grid gives every seat a fixed place; it never tracks pointer motion. */
.lr-room { max-width: 1180px; margin: 0 auto; }
.lr-room-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; }
.lr-room-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.lr-room-title > .lr-lantern { width: 42px; height: 48px; color: var(--lr-orange); }
.lr-room-title .lr-eyebrow { font-size: 9px; letter-spacing: 1.7px; }
.lr-room-title h1 { font-family: Georgia,serif; font-size: 31px; font-weight: 400; line-height: 1.2; letter-spacing: -.7px; margin: 6px 0 0; }
.lr-room-title h1 > span { font-family: inherit; font-size: 20px; color: var(--lr-muted); }
.lr-room-tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.lr-room-code { color: #cdb6a4; font-family: ui-monospace,monospace; font-size: 11px; letter-spacing: 1.1px; }
.lr-button--invite { font-size: 12px; min-height: 44px; border-color: #917455; background: #30292c; color: #f7dfbc; }
.lr-room-tools > .lr-text-button { font-size: 11px; padding-right: 0; }
.lr-invite-fallback { display: flex; align-items: end; gap: 15px; padding: 14px 18px; border: 1px solid var(--lr-line); background: #1a1825; border-radius: 4px; }
.lr-invite-fallback label { flex: 1; font-size: 12px; }
.lr-invite-fallback input { display: block; margin-top: 8px; min-height: 44px; }
.lr-table-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 16px; font-family: ui-monospace,monospace; font-size: 11px; color: #b8adb9; }
.lr-connected { display: inline-flex; align-items: center; gap: 8px; color: #c4d1b2; }
.lr-connected svg { width: 14px; height: 14px; }
.lr-connected[data-state=offline], .lr-connected[data-state=reconnecting] { color: var(--lr-orange); }
.lr-table-stage { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: 100px minmax(200px,auto) 174px; column-gap: clamp(14px,6vw,120px); row-gap: 8px; padding: 0 clamp(24px,5vw,62px); min-height: 490px; isolation: isolate; }
.lr-table-surface { position: absolute; inset: 37px 2px 63px; z-index: -1; border: 12px solid #46313a; border-radius: 200px; background: radial-gradient(ellipse at 50% 42%,#3b3045,#292136 75%); box-shadow: 0 0 0 1px #a1815d, 0 0 0 6px #211d28, 0 0 0 7px #6f5246, inset 0 0 0 2px #b699634f, inset 0 5px 45px #0c0c1866, 0 25px 40px #0003; overflow: hidden; }
.lr-table-surface::after { content: ""; position: absolute; inset: 10px; border: 1px dashed #c6a77230; border-radius: inherit; }
.lr-table-surface::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#efe0c90e .75px,transparent .75px); background-size: 5px 5px; }
.lr-felt-mark { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; color: #c4a16b40; font-size: 8px; font-family: Georgia,serif; letter-spacing: 2.5px; white-space: nowrap; }
.lr-felt-mark svg { width: 22px; height: 28px; }
.lr-seat-position { min-width: 0; width: 100%; max-width: 230px; justify-self: center; align-self: start; }
.lr-seat-position[data-slot="0"] { grid-row: 3; grid-column: 2; }
.lr-seat-position[data-slot="1"] { grid-row: 3; grid-column: 1; padding-top: 32px; }
.lr-seat-position[data-slot="2"] { grid-row: 1; grid-column: 1; }
.lr-seat-position[data-slot="3"] { grid-row: 1; grid-column: 2; }
.lr-seat-position[data-slot="4"] { grid-row: 1; grid-column: 3; }
.lr-seat-position[data-slot="5"] { grid-row: 3; grid-column: 3; padding-top: 32px; }
.lr-seat { position: relative; border: 1px solid #705a69; border-radius: 5px; background: #1b1926; box-shadow: 0 4px 0 #0b0d17, 0 9px 18px #0a071d55; min-height: 83px; margin-top: 16px; }
.lr-seat-body { display: flex; align-items: center; gap: 10px; padding: 10px 11px 8px; min-width: 0; }
.lr-avatar { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid #8e776b; background: #41302e; color: #e8b781; border-radius: 4px; }
.lr-avatar-art { width: 32px; height: 32px; }
.lr-avatar--ghost { background: #293934; color: #c5d8ba; border-color: #637d6a; }
.lr-avatar--cat { background: #3e3046; color: #d2b9e4; border-color: #796486; }
.lr-avatar--pumpkin { background: #442e25; color: #ffb47c; border-color: #a26e4d; }
.lr-avatar--moth { background: #283742; color: #acced8; border-color: #5d7f8b; }
.lr-avatar--moon { background: #3d3b2f; color: #e2d6a2; border-color: #8c8259; }
.lr-avatar--raven { background: #303443; color: #c3c3e8; border-color: #707496; }
.lr-avatar--toad { background: #303e2e; color: #ccdb9e; border-color: #7c8b60; }
.lr-seat-identity { min-width: 0; flex: 1; }
.lr-name-line { display: flex; align-items: center; gap: 6px; }
.lr-name-line strong { font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.lr-you-label { font-family: ui-monospace,monospace; font-size: 8px; font-weight: 650; letter-spacing: .5px; color: #edbf86; }
.lr-cpu-label { flex-shrink: 0; border: 1px solid #85769b; border-radius: 2px; padding: 0 3px; color: #d6c6e5; font: 700 8px/1.5 ui-monospace,monospace; letter-spacing: .3px; }
.lr-stack { display: flex; align-items: center; gap: 5px; font-family: ui-monospace,monospace; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: #f0dfc3; margin-top: 2px; }
.lr-stack .lr-chip { width: 13px; height: 13px; color: #bda06f; }
.lr-seat-tokens { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 20px; }
.lr-dealer { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #f0e4ce; color: #252231; box-shadow: 0 1px 3px #0005; font-size: 10px; font-weight: 800; }
.lr-blind { font-family: ui-monospace,monospace; font-size: 8px; color: #c9bbce; }
.lr-seat-status { border-top: 1px solid #87737e33; padding: 4px 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 10px; color: #bdb1c0; min-height: 24px; }
.lr-seat-status > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-bet { flex-shrink: 0; color: #bcb0bc; font-size: 10px; font-variant-numeric: tabular-nums; }
.lr-bet b { font-weight: 650; color: #f0d4af; }
.lr-seat--acting { border-color: var(--lr-mint); box-shadow: 0 0 0 2px #c6e3b81a, 0 4px 0 #0b0d17, 0 0 23px #bbdd9630; }
.lr-seat--acting::before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; right: 9px; top: -4px; background: var(--lr-mint); box-shadow: 0 0 0 4px #232632; }
.lr-seat--acting .lr-turn-text { color: var(--lr-mint); font-weight: 650; }
.lr-seat--you { border-color: #d3a068; }
.lr-seat--you.lr-seat--acting { border-color: var(--lr-mint); }
.lr-seat--folded .lr-avatar, .lr-seat--folded .lr-seat-cards { opacity: .5; }
.lr-seat--folded .lr-name-line, .lr-seat--away .lr-name-line { color: #b7aaba; }
.lr-seat--away { border-style: dashed; }
.lr-seat-cards { position: absolute; display: flex; gap: 2px; top: -16px; right: 11px; z-index: -1; }
.lr-seat-cards .lr-card { width: 21px; height: 29px; border-radius: 2px; }
.lr-seat-cards .lr-card .lr-star { width: 11px; height: 11px; }
.lr-seat-cards--own { position: relative; top: auto; right: auto; justify-content: center; margin: -76px 0 7px; z-index: 0; gap: 6px; }
.lr-seat-cards--own:empty { min-height: 72px; margin: -76px 0 7px; }
.lr-seat-cards--own .lr-card { width: 56px; height: 78px; border-radius: 4px; }
.lr-seat-cards--own .lr-card .lr-star { width: 26px; height: 26px; }
.lr-seat--you { margin-top: 82px; }
.lr-seat--empty { border: 1px dashed #92787e60; background: #1c19268c; box-shadow: none; min-height: 80px; margin-top: 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; color: #c5b5bb; font-size: 12px; }
.lr-vacant-mark { width: 22px; height: 22px; border: 1px solid #90747e8c; border-radius: 50%; text-align: center; font-size: 17px; line-height: 19px; color: #cab9ba; margin-bottom: 3px; }
.lr-seat--empty small { font-size: 9px; color: #a493a4; }

/* Full-size, high-contrast cards; hidden cards never contain rank data. */
.lr-board-area { grid-row: 2; grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 4px 0 0; min-width: 0; }
.lr-pot { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 50px; position: relative; }
.lr-pot-head { display: flex; align-items: center; justify-content: center; gap: 9px; }
.lr-pot-head .lr-chip { width: 23px; height: 23px; color: #caa675; }
.lr-pot-head > span { font-size: 11px; letter-spacing: .6px; color: #d9c8ba; }
.lr-pot-head strong { font-family: Georgia,serif; font-size: 31px; line-height: 1.15; font-weight: 400; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.lr-pot-breakdown { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; color: #c6b7c7; font-size: 10px; max-width: 440px; }
.lr-pot-breakdown b { color: #f1ddbb; font-weight: 650; margin-left: 3px; }
.lr-pot-details { font-size: 10px; color: #c5b8c7; }
.lr-pot-details summary { cursor: pointer; min-height: 24px; text-align: center; padding: 3px 6px; text-decoration: underline; text-underline-offset: 3px; }
.lr-pot-details ul { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #1b1926; border: 1px solid #a88b66; border-radius: 4px; box-shadow: 0 8px 25px #0009; list-style: none; width: 290px; padding: 12px 16px; margin: 4px 0; z-index: 5; font-size: 12px; }
.lr-pot-details li + li { border-top: 1px solid #625368; padding-top: 8px; margin-top: 8px; }
.lr-pot-details li span { display: block; color: #c1b7c8; margin-top: 3px; }
.lr-pot-details li b { color: #e9d3b0; }
.lr-board { display: flex; align-items: center; justify-content: center; gap: 8px; }
.lr-card { position: relative; display: block; flex: 0 0 auto; width: 67px; height: 94px; border: 1px solid #d5c8b6; border-radius: 4px; color: #252432; background: #f7efdc; box-shadow: 0 3px 0 #10101b66, inset 0 0 0 3px #fff9ee; user-select: none; }
.lr-board > .lr-card:not(.lr-card--empty), .lr-seat-cards--own > .lr-card { animation: lr-deal 180ms ease-out both; }
.lr-board > .lr-card:nth-child(2) { animation-delay: 30ms; }
.lr-board > .lr-card:nth-child(3) { animation-delay: 60ms; }
.lr-card--red { color: #a13a32; }
.lr-card-corner { position: absolute; top: 5px; left: 6px; display: flex; flex-direction: column; align-items: center; line-height: .88; gap: 3px; }
.lr-card-corner b { font: 700 23px/1 Georgia,serif; letter-spacing: -1.5px; }
.lr-card-corner i { font: normal 15px/1 Georgia,serif; }
.lr-card-corner--bottom { top: auto; left: auto; bottom: 5px; right: 6px; transform: rotate(180deg); }
.lr-card-suit { position: absolute; inset: 0; display: grid; place-items: center; font: 32px Georgia,serif; }
.lr-card--empty { border: 1px dashed #bba6bb55; background: #18182333; box-shadow: inset 0 2px 10px #080d171a; display: grid; place-items: center; color: #a38eac40; }
.lr-card--empty .lr-star { width: 24px; height: 24px; }
.lr-card--back { display: grid; place-items: center; background: repeating-linear-gradient(45deg,#614252 0 2px,#54394b 2px 5px); border: 2px solid #d6b48b; box-shadow: 0 2px 2px #0005,inset 0 0 0 2px #322439; color: #efc98e; }
.lr-card--back .lr-star { width: 32px; height: 32px; filter: drop-shadow(0 1px #372232); }
.lr-card--winning { box-shadow: 0 0 0 2px #ccdfb2,0 0 20px #c6e3b822; }
.lr-seat-cards--own .lr-card-corner { top: 4px; left: 5px; gap: 1px; }
.lr-seat-cards--own .lr-card-corner b { font-size: 20px; }
.lr-seat-cards--own .lr-card-corner i { font-size: 12px; }
.lr-seat-cards--own .lr-card-corner--bottom { top: auto; left: auto; right: 5px; bottom: 4px; }
.lr-seat-cards--own .lr-card-suit { font-size: 27px; }
.lr-seat-cards:not(.lr-seat-cards--own) .lr-card:not(.lr-card--back) { width: 34px; height: 48px; }
.lr-seat-cards:not(.lr-seat-cards--own) .lr-card-corner { left: 3px; top: 3px; gap: 0; }
.lr-seat-cards:not(.lr-seat-cards--own) .lr-card-corner b { font-size: 13px; letter-spacing: -.5px; }
.lr-seat-cards:not(.lr-seat-cards--own) .lr-card-corner i { font-size: 9px; }
.lr-seat-cards:not(.lr-seat-cards--own) .lr-card-suit { font-size: 17px; transform: translate(4px,6px); }
.lr-seat-cards:not(.lr-seat-cards--own) .lr-card-corner--bottom { display: none; }
.lr-result { min-height: 43px; display: grid; place-items: center; text-align: center; max-width: 500px; }
.lr-table-motto { font-family: Georgia,serif; font-style: italic; font-size: 12px; color: #baa7b9; }
.lr-hand-result { display: flex; flex-direction: column; align-items: center; gap: 1px; color: #d6c6d5; font-size: 11px; line-height: 1.35; }
.lr-hand-result strong { color: #dfefcd; font-size: 15px; font-weight: 650; }
.lr-hand-result small { font-size: 10px; }

/* Keep the full action dock in document flow at every width. */
.lr-dock { position: relative; background: linear-gradient(#24202c,#1b1b29); border: 1px solid #817065; border-radius: 7px; padding: 18px 22px 13px; box-shadow: 0 6px 0 #080c17, 0 15px 30px #0002; margin-top: 12px; }
.lr-dock-context { display: block; }
.lr-pocket-hand { display: none; }

/* Results remain legible outside the felt, with one selected winning hand. */
.lr-outcome { margin: 12px 0; padding: 18px 20px; border: 1px solid #92a77b; border-radius: 6px; background: linear-gradient(110deg,#283126,#211e2c 75%); box-shadow: 0 4px 0 #090d17; }
.lr-outcome-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lr-outcome-heading h2 { margin: 4px 0 0; font: 400 25px/1.2 Georgia,serif; color: #e3efcf; }
.lr-outcome-heading > span { color: #c2b5c6; font-size: 11px; }
.lr-result-detail { color: #cbbcd0; font-size: 11px; margin: -4px 0 12px; }
.lr-winner-choices { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 14px; }
.lr-winner-choice { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #76677e; border-radius: 4px; background: #24202e; color: #eee0df; font: inherit; font-size: 12px; }
.lr-winner-choice b { color: #d5e9bd; font-family: ui-monospace,monospace; font-size: 11px; }
.lr-winner-choice[aria-pressed=true] { background: #3a4631; border-color: #bad29f; box-shadow: inset 0 -2px #c6e3b844; }
.lr-winning-detail { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 26px; align-items: start; }
.lr-winning-hand { display: flex; gap: 6px; margin: 12px 0 8px; }
.lr-winning-hand > .lr-card { width: 53px; height: 76px; }
.lr-winning-hand .lr-card-corner b { font-size: 19px; }
.lr-winning-hand .lr-card-corner i { font-size: 12px; }
.lr-winning-hand .lr-card-suit { font-size: 26px; }
.lr-hand-description strong { display: block; font-size: 16px; color: #e9efdc; }
.lr-hand-description p { margin: 4px 0; font-size: 12px; color: #cebfcd; }
.lr-hand-description small { font-size: 10px; color: #b6a9bb; }
.lr-payouts { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.lr-payouts > li { border-bottom: 1px solid #8b79813b; padding: 8px 0; }
.lr-payouts > li:first-child { padding-top: 0; }
.lr-payouts > li:last-child { border: 0; padding-bottom: 0; }
.lr-payout-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #eadac1; }
.lr-payout-title > span { color: #d1c2d4; font-size: 10px; }
.lr-payout-person { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 4px; color: #d7cad9; }
.lr-payout-person > b { font: 600 12px ui-monospace,monospace; color: #d8eabe; white-space: nowrap; }
.lr-refund-note { margin: 10px 0 0; color: #bdb0c5; font-size: 11px; }
.lr-history { margin-top: 15px; padding: 0 4px; color: #bdb0c4; }
.lr-history > summary { cursor: pointer; min-height: 44px; padding: 11px 0; font-size: 12px; }
.lr-history-summary { color: #d4c7d5; margin-left: 9px; }
.lr-history .lr-outcome { margin-top: 2px; border-color: #706274; background: #1b1b28; box-shadow: none; }
.lr-seat--winner { border-color: #c6e3b8; }
.lr-seat--winner .lr-seat-status { color: #d8eabc; }
.lr-seat--selected-winner { box-shadow: 0 0 0 2px #c6e3b835,0 4px 0 #0b0d17; }
.lr-card--winning::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border: 1px solid #162416; border-radius: 50%; background: #c6e3b8; }
.lr-table-stage:is([data-phase="complete"],[data-phase="showdown"]) .lr-card { animation: none; }

/* Compact host settings. Draft choices only take effect after host authority. */
.lr-settings { border: 1px solid #72616c; border-radius: 5px; background: #1b1927; margin: 0 0 18px; }
.lr-settings > summary { cursor: pointer; padding: 11px 14px; min-height: 46px; font-size: 12px; color: #e5d3c8; }
.lr-settings-summary { margin-left: 12px; color: #baadbf; font: 11px ui-monospace,monospace; }
.lr-settings-body { padding: 0 16px 14px; }
.lr-settings-note { color: #c2b5c7; font-size: 12px; margin: 0 0 12px; }
.lr-settings-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.lr-settings-presets button { min-height: 44px; padding: 7px 12px; background: #2c2635; border: 1px solid #746073; border-radius: 4px; color: #e1c7aa; font-size: 11px; }
.lr-settings-presets button small { display: block; color: #bdafc5; font-size: 10px; margin-top: 2px; }
.lr-settings-presets button[aria-pressed=true] { border-color: #ceae80; background: #443230; }
.lr-settings-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 12px; align-items: end; }
.lr-settings-fields .lr-field { gap: 6px; }
.lr-settings-fields input { min-height: 46px; padding: 10px 12px; font-family: ui-monospace,monospace; }
.lr-settings-fields .lr-button { min-height: 46px; }
.lr-settings-help { font-size: 11px; color: #c4b5c9; margin: 9px 0 0; min-height: 18px; }
.lr-settings-help.lr-invalid { color: #ffc0af; }
.lr-settings-limits { color: #aea0b6; font-size: 10px; line-height: 1.6; margin: 5px 0 0; }
.lr-result-source { display: flex; flex-wrap: wrap; align-items: start; gap: 20px; margin-top: 18px; padding-top: 12px; border-top: 1px solid #81738a44; }
.lr-result-source p { font-size: 11px; color: #c4b6cb; margin: 0 0 7px; }
.lr-result-board { display: flex; gap: 5px; }
.lr-result-board .lr-card { width: 46px; height: 66px; }
.lr-result-board .lr-card-corner b { font-size: 18px; }
.lr-result-board .lr-card-corner i { font-size: 11px; }
.lr-result-board .lr-card-suit { font-size: 23px; }
.lr-pending-settings { padding: 9px 13px; margin-bottom: 14px; border-left: 3px solid #e1b075; background: #30262b; color: #e7c899; font-size: 12px; }
.lr-pending-settings strong { font-weight: 650; }
.lr-pending-settings small { display: block; color: #c7b7c9; font-size: 10px; margin-top: 3px; }
@media (max-width: 720px) {
  .lr-outcome { padding: 15px 13px; }
  .lr-outcome-heading { align-items: start; }
  .lr-outcome-heading h2 { font-size: 23px; }
  .lr-winning-detail { grid-template-columns: 1fr; gap: 17px; }
  .lr-winning-hand { justify-content: center; gap: 6px; }
  .lr-winner-choice { flex: 1 1 auto; justify-content: space-between; }
  .lr-payouts { border-top: 1px solid #8b79813b; padding-top: 12px; }
  .lr-history-summary { display: block; margin: 4px 0 0; font-size: 11px; }
  .lr-settings-summary { display: block; margin: 4px 0 0 15px; }
  .lr-settings-fields { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
  .lr-settings-fields .lr-button { grid-column: 1/-1; }
  .lr-settings-fields .lr-field { font-size: 11px; }
  .lr-settings-fields input { padding: 10px 8px; font-size: 14px; }
  .lr-settings-presets button { flex: 1 1 auto; }
}
@media (max-width: 359px) {
  .lr-winning-hand { gap: 4px; }
  .lr-winning-hand > .lr-card { width: 46px; height: 68px; }
  .lr-winning-hand .lr-card-corner--bottom { display: none; }
  .lr-winning-hand .lr-card-suit { transform: translate(3px,7px); }
  .lr-settings-body { padding-inline: 10px; }
}
.lr-turn-line { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px; min-height: 22px; }
.lr-turn-line > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.lr-turn-indicator { width: 6px; height: 6px; background: #9c8a99; border-radius: 50%; display: inline-block; }
.lr-turn-indicator--on { background: var(--lr-mint); box-shadow: 0 0 9px #c6e3b855; }
.lr-turn-line strong { font-family: Georgia,serif; font-weight: 400; font-size: 20px; line-height: 1.1; }
.lr-turn-clock { color: #eee0c9; border: 1px solid #887260; border-radius: 3px; padding: 3px 7px; font: 600 14px/1.4 ui-monospace,monospace; min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.lr-turn-clock--short { color: #ffd09e; border-color: #d99e65; }
.lr-clock-warning { min-height: 36px; margin: -2px 0 10px; padding: 0; color: #c9bbce; font-size: 12px; line-height: 18px; }
.lr-clock-warning--urgent { color: #ffd09e; font-weight: 650; }
.lr-turn-line strong { overflow-wrap: anywhere; max-width: 100%; }
.lr-turn-line > span { color: #c9becc; font-size: 12px; font-variant-numeric: tabular-nums; }
.lr-actions { display: grid; grid-template-columns: 1fr 1.3fr 2.8fr 1fr; column-gap: 10px; align-items: start; }
.lr-actions > .lr-button { min-height: 64px; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; white-space: nowrap; }
.lr-actions > .lr-button > span { font-size: 15px; }
.lr-actions > .lr-button small { font-size: 11px; font-weight: 450; color: #c9bdcc; }
.lr-action-fold { background: #28212e; }
.lr-action-call { background: #343c32; border-color: #8b9d7b; color: #e5f1d6; }
.lr-action-call:not(:disabled):hover { background: #43513b; border-color: #c5dbb0; }
.lr-actions .lr-action-call small { color: #d5e1c9; }
.lr-action-allin { background: #3b2b2d; border-color: #a57764; color: #f7c398; }
.lr-actions .lr-action-allin small { color: #dcc0af; }
.lr-wager { border: 1px solid #8a6f55; background: #1a1722; border-radius: 4px; padding: 8px 9px 0; }
.lr-wager-row { display: flex; align-items: center; gap: 8px; }
.lr-wager-row > label { font-size: 11px; color: #d9c8b7; white-space: nowrap; }
.lr-wager-input-wrap { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 70px; padding: 0 8px; background: #0f1120; border: 1px solid #74616d; border-radius: 3px; }
.lr-wager-input-wrap .lr-chip { width: 16px; height: 16px; color: #bf9a6a; }
.lr-wager input { width: 100%; min-width: 0; min-height: 42px; border: 0; padding: 8px 0; background: transparent; color: var(--lr-ivory); font-size: 17px; font-family: ui-monospace,monospace; font-variant-numeric: tabular-nums; }
.lr-wager input::placeholder { color: #a298aa; font-size: 12px; }
.lr-wager input:disabled { color: #827587; }
.lr-wager input[aria-invalid=true] { color: #ffb4a3; }
.lr-wager-row > .lr-button { min-height: 44px; padding: 9px 17px; }
.lr-wager-range { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 26px; }
.lr-wager-range > span { font-size: 10px; color: #c1b2c4; }
.lr-wager-range > div { display: flex; }
.lr-wager-range .lr-text-button { min-height: 32px; min-width: 36px; font-size: 10px; padding: 4px 7px; color: #e3c298; }
.lr-wager-help { grid-column: 1/-1; min-height: 19px; margin: 8px 0 0; font-size: 11px; color: #bfb1c1; text-align: right; }
.lr-wager-help.lr-invalid { color: #ffc0af; }
.lr-lobby-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 89px; padding-bottom: 10px; }
.lr-lobby-controls > p { margin: 0; font-size: 13px; color: #c9bfce; max-width: 520px; }
.lr-lobby-controls > div { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lr-lobby-controls button[aria-pressed=true] { background: #343d32; border-color: #9eb88b; color: #d8ebc7; }
.lr-confirm { position: absolute; inset: 0; z-index: 4; background: #241e2cf7; border: 1px solid #ac916c; border-radius: inherit; padding: 24px; display: flex; align-items: center; gap: 12px; }
.lr-confirm > div { flex: 1; }
.lr-confirm strong { display: block; font-family: Georgia,serif; font-weight: 400; font-size: 24px; }
.lr-confirm span { display: block; color: #cfc0d1; font-size: 12px; margin-top: 7px; }
.lr-table-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 4px 0; color: #b0a5b6; font-size: 10px; }
.lr-toast { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 20; color: #e9ecd8; background: #293227; border: 1px solid #99ad83; border-radius: 4px; padding: 12px 18px; font-size: 12px; box-shadow: 0 4px 18px #0005; width: max-content; max-width: calc(100% - 32px); pointer-events: none; }

/* Seven/eight seats keep the original 2–6 layout intact. The middle row has
   real side seats; the board gets its own center column on wide screens. */
.lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) { grid-template-columns: minmax(145px,1fr) minmax(370px,1.65fr) minmax(145px,1fr); column-gap: 26px; padding: 0 24px; }
.lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) .lr-board-area { grid-row: 2; grid-column: 2; }
.lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="1"] { grid-row: 3; grid-column: 1; padding-top: 32px; }
.lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="2"] { grid-row: 2; grid-column: 1; align-self: center; }
.lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="3"] { grid-row: 1; grid-column: 1; }
.lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="4"] { grid-row: 1; grid-column: 2; }
.lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="5"] { grid-row: 1; grid-column: 3; padding-top: 0; }
.lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="6"] { grid-row: 2; grid-column: 3; align-self: center; }
.lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="7"] { grid-row: 3; grid-column: 3; padding-top: 32px; }

@keyframes lr-deal { from { opacity: .3; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1600px) {
  .lr-room { max-width: 1260px; }
  .lr-table-stage { grid-template-rows: 105px minmax(225px,auto) 180px; }
  .lr-card { width: 74px; height: 104px; }
  .lr-seat-cards--own .lr-card { width: 60px; height: 84px; }
}
@media (max-width: 1000px) {
  .lr { padding: 0 22px 18px; }
  .lr-entry { gap: 34px; }
  .lr-entry-content h1 { font-size: 58px; }
  .lr-room-tools { gap: 10px; }
  .lr-room-code { display: none; }
  .lr-room-title h1 > span { font-size: 15px; }
  .lr-table-stage { padding: 0 30px; column-gap: 42px; grid-template-rows: 100px minmax(200px,auto) 174px; }
  .lr-seat-body { gap: 7px; padding: 9px 8px 7px; }
  .lr-avatar { width: 33px; height: 35px; }
  .lr-avatar-art { width: 29px; height: 29px; }
  .lr-name-line strong { font-size: 12px; }
  .lr-stack { font-size: 13px; }
  .lr-seat-tokens { min-width: 16px; }
  .lr-actions { grid-template-columns: 1fr 1.2fr 2.9fr .95fr; gap: 8px; }
  .lr-dock { padding: 16px 16px 10px; }
  .lr-actions > .lr-button { padding: 10px 7px; }
  .lr-actions > .lr-button small { font-size: 10px; }
  .lr-wager-row > label { display: none; }
  .lr-wager-row > .lr-button { padding: 9px 12px; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) { grid-template-columns: minmax(114px,1fr) 324px minmax(114px,1fr); padding: 0 12px; column-gap: 14px; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) .lr-board > .lr-card { width: 58px; height: 82px; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) .lr-board { gap: 6px; }
}
@media (max-width: 720px) {
  .lr { padding: 0 16px 16px; }
  .lr-topbar { min-height: 73px; }
  .lr-brand { font-size: 17px; }
  .lr-brand-mark { width: 36px; height: 36px; font-size: 26px; }
  .lr-brand small { font-size: 7px; }
  .lr-entry { grid-template-columns: 1fr; max-width: 440px; gap: 0; padding: 30px 0; }
  .lr-entry-illustration { position: absolute; width: 185px; right: 8px; top: 91px; opacity: .6; z-index: -1; }
  .lr-art-caption { display: none; }
  .lr-entry-content { max-width: none; }
  .lr-entry-content h1 { font-size: 61px; margin-bottom: 22px; }
  .lr-entry-description { font-size: 14px; }
  .lr-entry-meta { font-size: 10px; gap: 7px; }
  .lr-room-heading { min-height: 92px; gap: 8px; }
  .lr-room-title { gap: 8px; }
  .lr-room-title > .lr-lantern { width: 30px; height: 37px; }
  .lr-room-title h1 { font-size: 25px; }
  .lr-room-title h1 > span { display: none; }
  .lr-room-title .lr-eyebrow { font-size: 7px; letter-spacing: 1.2px; }
  .lr-room-tools { gap: 2px; }
  .lr-room-tools > .lr-text-button { padding: 8px; }
  .lr-button--invite { min-height: 44px; padding: 10px 11px; font-size: 11px; gap: 6px; }
  .lr-button--invite svg { width: 16px; height: 16px; }
  .lr-table-meta { font-size: 9px; padding-bottom: 14px; }
  .lr-connected { gap: 5px; }
  .lr-connected svg { width: 11px; height: 11px; }
  .lr-table-stage { padding: 0 7px; column-gap: 14px; grid-template-rows: 92px minmax(195px,auto) 159px; row-gap: 5px; min-height: 456px; }
  .lr-table-surface { inset: 39px 0 63px; border-width: 7px; border-radius: 110px; box-shadow: 0 0 0 1px #a1815d,0 0 0 3px #211d28,0 0 0 4px #6f5246,inset 0 0 0 1px #b6996355,0 13px 25px #0002; }
  .lr-seat { min-height: 78px; }
  .lr-seat-body { padding: 9px 7px 6px; gap: 6px; }
  .lr-avatar { width: 27px; height: 31px; }
  .lr-avatar-art { width: 26px; height: 26px; }
  .lr-name-line strong { font-size: 11px; }
  .lr-stack { font-size: 12px; }
  .lr-stack .lr-chip { width: 10px; height: 10px; }
  .lr-seat-tokens { position: absolute; top: -9px; left: 5px; flex-direction: row; gap: 4px; }
  .lr-dealer { width: 18px; height: 18px; font-size: 9px; }
  .lr-blind { padding: 1px 4px; border-radius: 2px; background: #3d3345; font-size: 8px; }
  .lr-seat-status { padding: 4px 7px; font-size: 10px; min-height: 24px; }
  .lr-bet { font-size: 10px; }
  .lr-seat-cards--own { margin-top: -69px; margin-bottom: 6px; gap: 4px; }
  .lr-seat-cards--own:empty { margin-top: -69px; min-height: 64px; }
  .lr-seat-cards--own .lr-card { width: 49px; height: 69px; }
  .lr-seat--you { margin-top: 73px; }
  .lr-seat--empty { font-size: 10px; min-height: 78px; }
  .lr-seat--empty small { font-size: 8px; }
  .lr-you-label { display: none; }
  .lr-board-area { gap: 9px; }
  .lr-card { width: 58px; height: 82px; }
  .lr-card-corner b { font-size: 21px; }
  .lr-card-suit { font-size: 29px; }
  .lr-board { gap: 6px; }
  .lr-pot-head strong { font-size: 28px; }
  .lr-pot-breakdown { font-size: 9px; gap: 2px 9px; }
  .lr-result { min-height: 38px; }
  .lr-dock { position: relative; bottom: auto; z-index: auto; margin-top: 8px; padding: 14px 13px 10px; box-shadow: 0 4px 0 #080c17,0 -7px 30px #080c1740; }
  .lr-turn-line { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 12px; }
  .lr-turn-line strong { font-size: 19px; }
  .lr-turn-line > span { font-size: 11px; }
  .lr-actions { grid-template-columns: 1fr 1.25fr 1fr; row-gap: 10px; }
  .lr-actions > .lr-button { min-height: 55px; }
  .lr-actions > .lr-button > span { font-size: 14px; }
  .lr-action-allin { grid-column: 3; grid-row: 1; }
  .lr-wager { grid-column: 1/-1; grid-row: 2; padding: 7px 8px 0; }
  .lr-wager-row { gap: 9px; }
  .lr-wager-row > label { display: block; width: 51px; font-size: 11px; }
  .lr-wager-input-wrap { flex: 1; }
  .lr-wager-row > .lr-button { min-width: 79px; }
  .lr-wager-help { margin: -2px 0 0; min-height: 15px; font-size: 10px; text-align: left; }
  .lr-wager-range { padding-left: 0; }
  .lr-wager-range > span { font-size: 10px; }
  .lr-wager-range .lr-text-button { min-height: 36px; min-width: 44px; }
  .lr-lobby-controls { flex-direction: column; align-items: stretch; gap: 12px; min-height: 144px; padding-bottom: 2px; }
  .lr-lobby-controls > p { font-size: 12px; }
  .lr-lobby-controls > div { flex-wrap: wrap; }
  .lr-lobby-controls button { flex: 1; }
  .lr-confirm { padding: 18px; flex-wrap: wrap; align-content: center; }
  .lr-confirm > div { flex-basis: 100%; }
  .lr-confirm strong { font-size: 24px; }
  .lr-confirm > button { flex: 1; }
  .lr-table-footer { font-size: 9px; padding-top: 15px; }
  .lr-toast { bottom: auto; top: 9px; }
}
@media (max-width: 680px) {
  /* On a phone the board spans the width, and the viewer's full card faces
     sit beside the controls below the table instead of competing with eight seats. */
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: 94px 90px minmax(192px,auto) 100px; padding: 0 7px; column-gap: 14px; row-gap: 5px; min-height: 0; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) .lr-board-area { grid-row: 3; grid-column: 1/-1; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="0"] { grid-row: 4; grid-column: 2; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="1"] { grid-row: 4; grid-column: 1; padding-top: 0; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="2"] { align-self: start; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="6"] { align-self: start; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) [data-slot="7"] { grid-row: 4; grid-column: 3; padding-top: 0; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) .lr-seat--you { margin-top: 16px; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) .lr-seat-cards--own { display: none; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) .lr-table-surface { inset: 39px 0 28px; }
  .lr-dock:is([data-capacity="7"],[data-capacity="8"]) .lr-dock-context { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .lr-dock:is([data-capacity="7"],[data-capacity="8"]) .lr-turn-line { flex: 1; min-width: 0; margin-bottom: 0; }
  .lr-dock:is([data-capacity="7"],[data-capacity="8"]) .lr-pocket-hand:not(:empty) { display: flex; flex-shrink: 0; gap: 4px; }
  .lr-pocket-hand > .lr-card { width: 46px; height: 66px; }
  .lr-pocket-hand .lr-card-corner { top: 4px; left: 4px; gap: 1px; }
  .lr-pocket-hand .lr-card-corner b { font-size: 18px; }
  .lr-pocket-hand .lr-card-corner i { font-size: 11px; }
  .lr-pocket-hand .lr-card-corner--bottom { top: auto; left: auto; right: 4px; bottom: 4px; }
  .lr-pocket-hand .lr-card-suit { font-size: 24px; }
}
@media (max-width: 420px) {
  .lr { padding: 0 10px 14px; }
  .lr-play-money { padding: 6px 8px; font-size: 9px; letter-spacing: .6px; gap: 6px; }
  .lr-play-money .lr-chip { width: 21px; height: 21px; }
  .lr-play-money small { font-size: 9px; }
  .lr-room-title h1 { font-size: 23px; }
  .lr-room-title > .lr-lantern { width: 26px; }
  .lr-room-tools > .lr-text-button { font-size: 10px; padding: 8px 6px; }
  .lr-button--invite { font-size: 10px; gap: 5px; padding: 10px 8px; }
  .lr-button--invite svg { width: 14px; }
  .lr-table-stage { padding: 0 2px; column-gap: 9px; grid-template-rows: 94px minmax(192px,auto) 157px; }
  .lr-seat-body { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 4px; padding: 10px 5px 6px; }
  .lr-avatar { width: 22px; height: 30px; border: 0; background: transparent; }
  .lr-avatar-art { width: 24px; height: 27px; }
  .lr-name-line strong { font-size: 11px; }
  .lr-stack { font-size: 11px; gap: 3px; }
  .lr-stack .lr-chip { display: none; }
  .lr-seat-status { padding: 4px 5px; font-size: 10px; gap: 3px; }
  .lr-bet { font-size: 10px; }
  .lr-seat-cards--own .lr-card { width: 46px; height: 66px; }
  .lr-seat-cards--own { gap: 3px; margin-top: -68px; }
  .lr-seat-cards--own .lr-card-corner b { font-size: 19px; }
  .lr-seat-cards--own .lr-card-suit { font-size: 24px; }
  .lr-board { gap: 5px; }
  .lr-card { width: 53px; height: 77px; }
  .lr-card-corner { left: 5px; top: 4px; gap: 1px; }
  .lr-card-corner b { font-size: 21px; }
  .lr-card-corner i { font-size: 12px; }
  .lr-card-corner--bottom { left: auto; top: auto; right: 5px; bottom: 4px; }
  .lr-card-suit { font-size: 26px; }
  .lr-hand-result strong { font-size: 13px; }
  .lr-hand-result { font-size: 10px; }
  .lr-table-motto { font-size: 11px; }
  .lr-dock { padding: 13px 10px 10px; }
  .lr-entry-content { padding: 0 7px; }
  .lr-entry-content h1 { font-size: 56px; }
  .lr-entry-tabs button { font-size: 11px; padding-inline: 3px; }
  .lr-entry-tabs button small { font-size: 9px; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) { padding-inline: 2px; column-gap: 9px; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) .lr-board > .lr-card { width: 53px; height: 77px; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) .lr-board { gap: 5px; }
}
@media (max-width: 359px) {
  .lr { padding-inline: 8px; }
  .lr-brand { font-size: 15px; gap: 7px; }
  .lr-room-title h1 { font-size: 21px; }
  .lr-room-title > .lr-lantern { display: none; }
  .lr-connected > span { display: none; }
  .lr-table-stage { column-gap: 6px; }
  .lr-card { width: 49px; height: 72px; }
  .lr-seat-body { display: block; padding: 10px 6px 5px; }
  .lr-seat-body > .lr-avatar { display: none; }
  .lr-seat-cards--own .lr-card { width: 41px; height: 61px; }
  .lr-seat-cards--own .lr-card-corner--bottom { display: none; }
  .lr-seat-status { font-size: 10px; }
  .lr-seat-cards--own .lr-card-suit { transform: translate(3px,7px); }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) { column-gap: 6px; }
  .lr-table-stage:is([data-capacity="7"],[data-capacity="8"]) .lr-board > .lr-card { width: 49px; height: 72px; }
  .lr-pocket-hand > .lr-card { width: 41px; height: 61px; }
  .lr-pocket-hand .lr-card-corner--bottom { display: none; }
  .lr-pocket-hand .lr-card-suit { transform: translate(3px,7px); }
  .lr-dock:is([data-capacity="7"],[data-capacity="8"]) .lr-dock-context { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .lr *, .lr *::before, .lr *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .lr { background: Canvas; color: CanvasText; }
  .lr-table-surface, .lr-entry-illustration, .lr-felt-mark { display: none; }
  .lr-seat, .lr-dock, .lr-card, .lr-wager, .lr-button, .lr-confirm, .lr-outcome, .lr-settings, .lr-winner-choice, .lr-pending-settings { border: 1px solid CanvasText; background: Canvas; color: CanvasText; box-shadow: none; }
  .lr-card--winning, .lr-winner-choice[aria-pressed=true] { outline: 2px solid Highlight; }
  .lr-seat--acting { outline: 3px solid Highlight; }
  .lr-card--red { color: LinkText; }
  .lr-card--empty { border-style: dashed; }
  .lr button:disabled { opacity: 1; color: GrayText; border-color: GrayText; }
  .lr :is(button,a,input,select,summary,[tabindex]):focus-visible { outline-color: Highlight; }
}

.lr-participation { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:10px; margin-bottom:10px; border-bottom:1px solid var(--lr-line); }
.lr-participation p { margin:0; color:var(--lr-muted); font-size:12px; line-height:1.5; }
.lr-participation > div { display:flex; gap:8px; flex-shrink:0; }
.lr-pre-actions { margin-top:12px; padding:12px; border:1px solid var(--lr-brass); border-radius:10px; background:var(--lr-surface); }
.lr-pre-actions p,.lr-pre-notice { margin:0 0 8px; font-size:12px; color:var(--lr-ivory); line-height:1.5; }
.lr-pre-actions > div { display:flex; flex-wrap:wrap; gap:8px; }
.lr-pre-actions small { display:block; margin-top:8px; color:var(--lr-muted); line-height:1.5; }
.lr-pre-actions [aria-pressed=true] { border-color:var(--lr-orange); outline:1px solid var(--lr-orange); background:#51412a; }
.lr-pre-notice { margin:10px 0 0; }
.lr-chat { margin-top:14px; border:1px solid var(--lr-line); border-radius:12px; background:var(--lr-surface); color:var(--lr-ivory); }
.lr-chat summary { cursor:pointer; padding:14px 16px; font-size:14px; font-weight:600; }
.lr-chat-summary { margin-left:12px; font-size:12px; font-weight:400; color:var(--lr-muted); }
.lr-chat-body { padding:0 16px 16px; min-width:0; }
.lr-chat-note,.lr-chat-help,.lr-chat-body > p { font-size:12px; line-height:1.6; color:var(--lr-muted); }
.lr-chat-log { max-height:230px; overflow:auto; padding:0 8px 0 0; list-style:none; scrollbar-width:thin; }
.lr-chat-log li { padding:8px 0; border-bottom:1px solid var(--lr-line); font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
.lr-chat-log strong { display:block; color:var(--lr-brass); font-size:12px; }
.lr-chat-log span { white-space:pre-wrap; }
.lr-chat-form { display:flex; align-items:end; gap:10px; }
.lr-chat-form .lr-field { flex:1; min-width:0; }
.lr-chat-form button { min-height:44px; }
.lr-chat-mute { display:flex; align-items:end; flex-wrap:wrap; gap:10px; padding-top:8px; }
.lr-chat-mute label { display:grid; gap:5px; font-size:12px; color:var(--lr-muted); min-width:0; }
.lr-chat-mute select { max-width:220px; padding:10px; background:var(--lr-bg); color:var(--lr-ivory); border:1px solid var(--lr-line); border-radius:6px; }
@media (max-width:600px) {
  .lr-participation { align-items:flex-start; flex-direction:column; gap:6px; }
  .lr-pre-actions > div .lr-button { flex:1; }
  .lr-chat-body { padding-inline:12px; }
  .lr-chat-form { align-items:stretch; flex-direction:column; }
  .lr-chat-mute select { max-width:180px; }
  .lr-seat-status > span:first-child { overflow-wrap:anywhere; }
}
@media (forced-colors: active) {
  .lr-chat,.lr-pre-actions { border-color:CanvasText; background:Canvas; color:CanvasText; }
  .lr-pre-actions [aria-pressed=true] { outline-color:Highlight; }
}
