/* Shared, non-monetary table scores; the same dark/lime arcade system. */
.lg-app {
  --lg-bg:#0b100b; --lg-surface:#152010; --lg-line:#40572b; --lg-lime:#d5ff66;
  --lg-text:#fffde9; --lg-muted:#b3c1a6; --lg-header-height:84px;
  position:fixed; inset:0; z-index:30; overflow-y:auto; overscroll-behavior:contain;
  background:var(--lg-bg); color:var(--lg-text); font-family:inherit; color-scheme:dark;
  scrollbar-width:thin; scrollbar-color:#48612e transparent;
}
.lg-app *, .lg-app *::before, .lg-app *::after,
.lg-dialog *, .lg-dialog *::before, .lg-dialog *::after { box-sizing:border-box; }
.lg-app [hidden], .lg-dialog [hidden] { display:none!important; }
:where(.lg-app,.lg-dialog) :where(button,input,textarea) { font:inherit; }
.lg-app button, .lg-dialog button { cursor:pointer; touch-action:manipulation; }
.lg-app button:disabled, .lg-dialog button:disabled { cursor:default; opacity:.48; }
.lg-app button:focus-visible, .lg-app input:focus-visible, .lg-app textarea:focus-visible,
.lg-dialog button:focus-visible, .lg-dialog input:focus-visible, .lg-dialog textarea:focus-visible {
  outline:2px solid #d5ff66; outline-offset:3px;
}
.lg-app ::selection, .lg-dialog ::selection { color:#142006; background:#d5ff66; }
.lg-shell { width:min(100%,920px); min-height:100dvh; margin:0 auto; }
.lg-header {
  position:sticky; top:0; z-index:10; display:flex; gap:14px; align-items:center;
  min-height:var(--lg-header-height); padding:max(16px,env(safe-area-inset-top)) 28px 16px;
  border-bottom:1px solid #2d3f23; background:#0b100b;
}
.lg-header>div { min-width:0; }
.lg-header h1 { min-width:0; flex:1; margin:0; font:400 30px/1.2 ArcadeDisplay,'PingFang SC',sans-serif; letter-spacing:-.6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lg-header>.lg-room-code, .lg-header>.lg-secondary { margin-left:auto; flex:none; }
.lg-header .lg-secondary { min-height:44px; padding:9px 13px; font-size:12px; }
.lg-header .lg-eyebrow { margin:0 0 4px; font-size:8px; letter-spacing:2px; }
.lg-icon { display:grid; place-items:center; flex:none; width:44px; min-width:44px; height:44px; padding:11px; border:1px solid #526a35; border-radius:50%; background:#182310; color:#fffde9; }
.lg-icon:hover:not(:disabled) { background:#293d19; }
.lg-icon img { width:21px; height:21px; filter:invert(92%); }
.lg-eyebrow { color:#d5ff66; font-size:10px; font-weight:700; letter-spacing:2.5px; line-height:1.5; margin:0 0 10px; }
.lg-body { padding:24px 28px max(30px,env(safe-area-inset-bottom)); min-width:0; }
.lg-title { font:400 42px/1.2 ArcadeDisplay,'PingFang SC',sans-serif; letter-spacing:-.8px; margin:0 0 14px; color:#fffde9; }
.lg-muted { color:#b3c1a6; font-size:13px; line-height:1.8; margin:0; overflow-wrap:anywhere; }
.lg-entry { width:min(100%,660px); margin:0 auto; }
.lg-entry-hero { position:relative; display:flex; flex-direction:column; justify-content:center; padding:12px 205px 23px 0; min-height:200px; isolation:isolate; }
.lg-entry-art { position:absolute; z-index:-1; width:205px; height:205px; top:-5px; right:-10px; pointer-events:none; object-fit:contain; user-select:none; }
.lg-entry-art img { display:block; width:100%; height:100%; object-fit:contain; user-select:none; }
.lg-entry-hero .lg-muted { max-width:350px; }
.lg-tabs { display:grid; grid-template-columns:1fr 1fr; gap:4px; margin:0 0 22px; padding:4px; border:1px solid #485e30; border-radius:26px; background:#17220f; }
.lg-tabs button { min-width:0; min-height:46px; border:0; border-radius:22px; background:transparent; color:#b8c8a8; font-size:14px; font-weight:650; }
.lg-tabs button[aria-selected=true] { color:#142006; background:#d5ff66; box-shadow:inset 0 1px 0 #f3ffc5; }
.lg-form { display:flex; flex-direction:column; gap:17px; min-width:0; }
.lg-field { display:block; min-width:0; }
.lg-field>span:first-child { display:block; color:#c3d0b6; font-size:12px; font-weight:600; line-height:1.5; margin:0 0 8px; }
.lg-field input, .lg-field textarea { display:block; min-width:0; width:100%; padding:12px 14px; border:1px solid #4a6132; border-radius:13px; background:#162110; color:#fffde9; caret-color:#d5ff66; font-size:16px!important; line-height:1.5; }
.lg-field input { min-height:49px; }
.lg-field textarea { min-height:90px; max-height:220px; resize:vertical; overflow-wrap:anywhere; }
.lg-field input::placeholder, .lg-field textarea::placeholder { opacity:1; color:#95a685; font-size:13px; }
.lg-field input[inputmode=numeric] { font-variant-numeric:tabular-nums; }
.lg-field small { display:block; margin-top:6px; font-size:11px; color:#9eaf8c; line-height:1.6; }
.lg-row { display:flex; gap:12px; align-items:center; min-width:0; }
.lg-row>.lg-field { flex:1; min-width:0; }
.lg-check { display:flex; align-items:center; gap:10px; min-height:44px; color:#e0ead4; font-size:13px; line-height:1.6; cursor:pointer; }
.lg-check input { flex:none; width:19px; height:19px; margin:0; accent-color:#d5ff66; }
.lg-check span { min-width:0; overflow-wrap:anywhere; }
.lg-check small { display:block; margin-top:4px; color:#a4b790; font-size:10px; line-height:1.6; }
.lg-fee-fields { display:block; padding:17px; border:1px solid #41582b; border-radius:18px; background:#141f0f; }
.lg-fee-fields>.lg-note { margin-top:12px; }
.lg-fee-fields[aria-disabled=true] { opacity:.5; }
.lg-primary, .lg-secondary { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-width:44px; min-height:48px; padding:12px 20px; border:1px solid #567236; border-radius:25px; background:#1b2a12; color:#e6efd9; font-size:14px; font-weight:650; line-height:1.4; text-decoration:none; }
.lg-primary { color:#142006; border-color:#e0ff8f; background:#d5ff66; box-shadow:inset 0 2px 2px #f0ffc2,inset 0 -3px 0 #9abb40,0 3px 0 #536d24; }
.lg-primary:hover:not(:disabled) { background:#e3ff96; }
.lg-secondary:hover:not(:disabled) { background:#293d1a; border-color:#7b9d46; }
.lg-primary:active:not(:disabled), .lg-secondary:active:not(:disabled) { transform:translateY(2px); }
.lg-primary img, .lg-secondary img { width:19px; height:19px; flex:none; }
.lg-secondary img { filter:invert(90%); }
.lg-actions { display:flex; align-items:center; gap:11px; flex-wrap:wrap; }
.lg-actions>* { flex:1; min-width:0; }
.lg-form>.lg-primary, .lg-form>.lg-secondary { width:100%; }
.lg-entry>.lg-secondary { width:100%; margin:15px 0 13px; }
.lg-note { margin:0; color:#9fac90; font-size:11px; line-height:1.8; overflow-wrap:anywhere; }
.lg-error { margin:0 0 17px; padding:12px 14px; border:1px solid #805d35; border-radius:13px; color:#ffd4a5; background:#2b2114; font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.lg-error:empty { display:none; }
.lg-status { color:#abc297; font-size:11px; line-height:1.6; margin:8px 0 0; overflow-wrap:anywhere; }
.lg-shell>.lg-status { padding:8px 28px 0; margin:0; text-align:right; font-size:10px; }
.lg-shell>.lg-status:empty { display:none; }
.lg-room-code { color:#d5ff66; font:650 16px/1.4 ui-monospace,SFMono-Regular,monospace; letter-spacing:2px; white-space:nowrap; }
button.lg-room-code { display:flex; align-items:center; justify-content:center; gap:8px; min-width:44px; min-height:44px; padding:9px 12px; border:1px solid #536d33; border-radius:23px; background:#192710; }
button.lg-room-code img { width:18px; height:18px; filter:invert(87%); }
.lg-has-room .lg-body { padding-top:0; }
.lg-room { min-width:0; }
.lg-player-strip { position:relative; top:auto; z-index:1; display:flex; align-items:stretch; gap:10px; overflow-x:auto; overflow-y:hidden; padding:19px 0 16px; margin:0 0 12px; background:#0b100b; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#40572b transparent; }
.lg-player { display:flex; flex:none; flex-direction:column; align-items:center; width:94px; min-width:94px; gap:7px; padding:11px 7px; border:1px solid #3f542c; border-radius:21px; background:#15200f; color:#eaf2df; text-align:center; }
.lg-player:hover:not(:disabled) { border-color:#a4ca57; background:#203015; }
.lg-player[aria-pressed=true], .lg-player[aria-selected=true] { border-color:#d5ff66; background:#243616; box-shadow:inset 0 0 0 1px #a7d04b44; }
.lg-player[data-self=true] { border-color:#779744; background:#1b2812; }
.lg-player:disabled { opacity:1; }
.lg-avatar { display:grid; place-items:center; flex:none; width:47px; height:47px; border-radius:15px; border:1px solid #5c7b34; background:#2a3e1a; color:#e4ffaf; font:400 24px/1 ArcadeDisplay,'PingFang SC',sans-serif; }
.lg-player[data-self=true] .lg-avatar { border-color:#d5ff66; color:#1b280a; background:#d5ff66; }
.lg-player-name { display:block; width:100%; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:650; line-height:1.5; }
.lg-player-net { font-size:13px; font-weight:650; line-height:1.4; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.lg-player-net.pos, .lg-record-amount.pos { color:#d5ff66; }
.lg-player-net.neg, .lg-record-amount.neg { color:#ffd2a0; }
.lg-self, .lg-offline { display:inline-flex; align-items:center; justify-content:center; color:#b7d093; border:1px solid #4b632f; border-radius:10px; padding:2px 5px; font-size:9px; line-height:1.3; }
.lg-player-name .lg-self { vertical-align:middle; margin-left:4px; }
.lg-offline { color:#a6b099; border-color:#414b37; }
.lg-player.lg-offline { display:flex; padding:11px 7px; border-radius:21px; }
.lg-player.lg-offline .lg-avatar { opacity:.6; }
.lg-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; margin:0 0 18px; }
.lg-room>.lg-note { margin-bottom:16px; }
.lg-summary-item { min-width:0; padding:15px 16px; border:1px solid #41572d; border-radius:18px; background:#162110; }
.lg-summary-item>span { display:block; font-size:11px; color:#afc09c; line-height:1.5; margin-bottom:8px; }
.lg-summary-item strong { display:block; min-width:0; color:#f2f8e9; font-size:25px; font-weight:700; line-height:1.25; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.lg-summary-item strong small { font-size:10px; font-weight:500; color:#a5b68f; }
.lg-summary-item strong.pos { color:#d5ff66; }
.lg-summary-item strong.neg { color:#ffd2a0; }
.lg-fee-panel { display:block; padding:13px 16px; margin:0 0 19px; border:1px solid #4d6730; border-radius:17px; background:#1a2711; min-width:0; }
.lg-fee-panel>.lg-section-head { padding:0; border:0; }
.lg-fee-panel h2 { font-size:21px; }
.lg-section-head h2 small { color:#9fb58a; font-family:inherit; font-size:11px; font-weight:500; margin-left:4px; white-space:nowrap; }
.lg-fee-panel .lg-fee-total { margin-top:10px; padding-top:10px; border-top:1px solid #3d5529; color:#b1c69c; font-size:11px; }
.lg-fee-total b { color:#e3efcd; font-variant-numeric:tabular-nums; }
.lg-fee-panel>div { min-width:0; }
.lg-fee-panel p { margin:4px 0 0; color:#afc29b; font-size:11px; line-height:1.65; overflow-wrap:anywhere; }
.lg-fee-panel strong { font-size:13px; line-height:1.6; }
.lg-fee-panel .lg-link { flex:none; }
.lg-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; padding:17px 19px; border-bottom:1px solid #3a5028; }
.lg-section-head h2 { min-width:0; margin:0; font:400 23px/1.3 ArcadeDisplay,'PingFang SC',sans-serif; }
.lg-section-head>span { flex:none; color:#acbe99; font-size:11px; }
.lg-ledger-box { min-width:0; border:1px solid #5a7636; border-radius:23px; background:#121c0e; overflow:hidden; }
.lg-empty { padding:28px 18px 34px; text-align:center; }
.lg-empty img { display:block; width:125px; height:110px; object-fit:contain; margin:0 auto 15px; }
.lg-empty img[src*='/icons/'] { width:44px; height:44px; filter:invert(86%) sepia(35%) saturate(650%) hue-rotate(25deg); }
.lg-empty h3 { font:400 24px/1.35 ArcadeDisplay,'PingFang SC',sans-serif; margin:0 0 11px; }
.lg-empty p { max-width:350px; color:#afc09c; font-size:12px; line-height:1.8; margin:0 auto; }
.lg-empty>.lg-secondary { margin-top:21px; }
.lg-entry-list { list-style:none; padding:0; margin:0; }
.lg-record { display:block; padding:17px 19px 13px; border-top:1px solid #314623; min-width:0; }
.lg-record:first-child { border-top:0; }
.lg-record-route { display:flex; align-items:center; gap:7px; min-width:0; color:#e2ecd6; font-size:14px; font-weight:600; line-height:1.6; overflow-wrap:anywhere; }
.lg-record-route>strong { min-width:0; flex:0 1 auto; overflow-wrap:anywhere; }
.lg-record-route img { display:inline-block; flex:none; vertical-align:middle; width:17px; height:17px; margin:0; filter:invert(80%); }
.lg-record-route>.lg-record-amount { margin-left:auto; flex:none; white-space:nowrap; }
.lg-record-amount { min-width:0; color:#d5ff66; text-align:right; font-size:19px; font-weight:700; line-height:1.4; font-variant-numeric:tabular-nums; }
.lg-record-amount small { display:block; color:#b0c09f; font-size:10px; font-weight:400; margin-top:4px; }
.lg-record-meta { display:flex; gap:8px 13px; align-items:center; flex-wrap:wrap; color:#9daf8c; font-size:10px; line-height:1.7; overflow-wrap:anywhere; margin-top:5px; }
.lg-record-meta>.lg-link { margin-left:auto; }
.lg-record-note { grid-column:1/-1; margin:2px 0; color:#b9c8a9; font-size:12px; line-height:1.75; overflow-wrap:anywhere; white-space:pre-wrap; }
.lg-record>.lg-link { grid-column:1/-1; justify-self:start; }
.lg-voided .lg-record-route { color:#95a386; text-decoration:line-through; }
.lg-voided .lg-record-amount { color:#9aa98a; }
.lg-record.lg-voided { background:#10190c; }
.lg-link { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:44px; min-height:44px; padding:9px 5px; border:0; background:transparent; color:#d0e6ad; font-size:12px; line-height:1.5; }
.lg-link:hover:not(:disabled) { color:#f3ffdc; }
.lg-link img { width:17px; height:17px; filter:invert(86%); }
.lg-footer-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:16px 0 0; }
.lg-footer-actions .lg-note { flex:1; min-width:140px; }
.lg-dialog { width:min(460px,calc(100% - 28px)); max-width:460px; max-height:calc(100dvh - 32px); margin:auto; padding:0; overflow:auto; overscroll-behavior:contain; border:1px solid #6d893e; border-radius:25px; background:#10190d; color:#fffde9; scrollbar-width:thin; scrollbar-color:#48612e transparent; box-shadow:0 24px 80px #000b; }
.lg-dialog::backdrop { background:#050805d9; backdrop-filter:blur(6px); }
.lg-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:19px 22px 17px; border-bottom:1px solid #3b5228; }
.lg-dialog-header h2 { min-width:0; font:400 28px/1.3 ArcadeDisplay,'PingFang SC',sans-serif; letter-spacing:-.4px; margin:0; overflow-wrap:anywhere; }
.lg-dialog-header .lg-icon { flex:none; }
.lg-dialog-content { padding:21px 22px 25px; min-width:0; }
.lg-dialog-content>p { color:#b9c8aa; font-size:13px; line-height:1.7; margin:0 0 20px; overflow-wrap:anywhere; }
.lg-estimate { display:flex; flex-direction:column; gap:9px; padding:14px 16px; border:1px solid #3d552a; border-radius:16px; color:#b5c8a1; background:#18240f; font-size:12px; line-height:1.7; font-variant-numeric:tabular-nums; }
.lg-estimate>div, .lg-estimate>p { display:flex; justify-content:space-between; gap:13px; margin:0; }
.lg-estimate>span { display:flex; justify-content:space-between; gap:13px; }
.lg-estimate>span b { color:#e7f0d9; font-variant-numeric:tabular-nums; }
.lg-estimate strong { color:#e7f0d9; text-align:right; overflow-wrap:anywhere; }
.lg-total { display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding-top:11px; margin-top:3px; border-top:1px solid #48622e; color:#e4efcf; }
.lg-total strong { color:#d5ff66; font-size:22px; }
.lg-estimate>strong.lg-total { display:block; text-align:right; color:#d5ff66; font-size:18px; }
@media(min-width:900px) {
  .lg-has-room .lg-summary { gap:14px; }
  .lg-has-room .lg-summary-item { padding:18px 20px; }
  .lg-has-room .lg-summary-item strong { font-size:29px; }
  .lg-player-strip { gap:12px; }
  .lg-player { width:102px; min-width:102px; }
}
@media(max-width:600px) {
  .lg-app { --lg-header-height:75px; }
  .lg-header { padding:15px 20px; gap:11px; }
  .lg-header h1 { font-size:27px; }
  .lg-header .lg-secondary { padding:8px 10px; font-size:11px; }
  .lg-header .lg-room-code { font-size:13px; letter-spacing:1px; }
  .lg-shell>.lg-status { padding-left:20px; padding-right:20px; }
  .lg-body { padding:17px 20px max(25px,env(safe-area-inset-bottom)); }
  .lg-entry-hero { min-height:165px; padding:5px 145px 20px 0; }
  .lg-entry-art { width:152px; height:152px; top:0; right:-10px; }
  .lg-title { font-size:34px; margin-bottom:11px; }
  .lg-entry-hero .lg-title { max-width:4.4em; }
  .lg-muted { font-size:12px; }
  .lg-entry-hero .lg-eyebrow { font-size:8px; letter-spacing:1.6px; }
  .lg-tabs { margin-bottom:20px; }
  .lg-form { gap:16px; }
  .lg-fee-fields { padding:14px; gap:11px; }
  .lg-player-strip { gap:8px; padding:16px 0 14px; margin-bottom:9px; }
  .lg-player { width:83px; min-width:83px; padding:10px 6px; gap:6px; border-radius:19px; }
  .lg-avatar { width:44px; height:44px; border-radius:14px; font-size:23px; }
  .lg-player-name { font-size:11px; }
  .lg-player-net { font-size:12px; }
  .lg-summary { gap:8px; margin-bottom:14px; }
  .lg-summary-item { padding:13px 11px; border-radius:15px; }
  .lg-summary-item>span { font-size:10px; margin-bottom:7px; }
  .lg-summary-item strong { font-size:21px; }
  .lg-fee-panel { padding:11px 13px; margin-bottom:15px; }
  .lg-section-head { padding:15px 15px; }
  .lg-section-head h2 { font-size:22px; }
  .lg-ledger-box { border-radius:21px; }
  .lg-record { padding:15px 15px 10px; column-gap:10px; }
  .lg-record-route { font-size:12px; }
  .lg-record-amount { font-size:17px; }
  .lg-record-meta { gap:6px 10px; }
  .lg-record-note { font-size:11px; }
  .lg-empty { padding:24px 17px 28px; }
  .lg-empty h3 { font-size:22px; }
  .lg-footer-actions { gap:6px 10px; margin-top:12px; }
  .lg-dialog-header { padding:17px 18px 15px; }
  .lg-dialog-header h2 { font-size:26px; }
  .lg-dialog-content { padding:19px 18px 23px; }
}
@media(max-width:360px) {
  .lg-header { gap:9px; padding-left:15px; padding-right:15px; }
  .lg-header h1 { font-size:24px; }
  .lg-header .lg-eyebrow { font-size:7px; letter-spacing:1.4px; }
  .lg-header .lg-secondary { padding:8px; }
  .lg-body { padding-left:15px; padding-right:15px; }
  .lg-shell>.lg-status { padding-left:15px; padding-right:15px; }
  .lg-entry-hero { min-height:140px; padding-right:110px; }
  .lg-entry-art { width:119px; height:133px; top:-1px; right:-7px; }
  .lg-title { font-size:30px; }
  .lg-muted { font-size:11px; }
  .lg-row { gap:9px; }
  .lg-fee-fields { padding:13px 11px; gap:9px; }
  .lg-field>span:first-child { font-size:11px; }
  .lg-field input, .lg-field textarea { padding:11px 12px; }
  .lg-primary, .lg-secondary { padding-left:15px; padding-right:15px; font-size:13px; }
  .lg-summary { gap:7px; }
  .lg-summary-item { padding:12px 9px; }
  .lg-summary-item strong { font-size:19px; }
  .lg-fee-panel { gap:9px; }
  .lg-fee-panel p { font-size:10px; }
  .lg-record-route img { margin:0 3px; }
  .lg-record-amount { font-size:16px; }
  .lg-dialog { width:calc(100% - 20px); border-radius:23px; }
  .lg-dialog-header { padding-left:15px; padding-right:15px; }
  .lg-dialog-content { padding-left:15px; padding-right:15px; }
}
@media(max-height:640px) {
  .lg-app { --lg-header-height:69px; }
  .lg-header { padding-top:12px; padding-bottom:12px; }
  .lg-entry-hero { min-height:124px; padding-top:0; padding-bottom:14px; }
  .lg-entry-art { height:125px; }
  .lg-title { font-size:30px; margin-bottom:8px; }
  .lg-player-strip { padding-top:12px; padding-bottom:12px; }
}
@media(prefers-reduced-motion:reduce) {
  .lg-app *, .lg-dialog * { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
.motion-off .lg-app *, .motion-off .lg-dialog * { animation:none!important; transition:none!important; scroll-behavior:auto!important; }

/* Table settlement keeps the public pool separate from player-to-player totals. */
.lg-avatar { position:relative; }
.lg-player-name { min-height:2.8em; line-height:1.4; white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; }
.lg-avatar>.lg-self { position:absolute; right:-5px; bottom:-4px; z-index:1; min-width:20px; min-height:18px; padding:2px 5px; border-color:#31481b; border-radius:9px; background:#e2ff98; color:#233310; box-shadow:0 1px 3px #0005; font-family:'PingFang SC',sans-serif; font-size:9px; font-weight:700; line-height:1.2; }
button.lg-player:disabled { opacity:.78; }
.lg-player[data-self=true]:disabled { opacity:1; }
.lg-settlement-box { min-width:0; margin:18px 0; border:1px solid #68813f; border-radius:23px; background:#121c0e; overflow:hidden; }
.lg-settlement-box>.lg-note { margin:0; padding:0 19px 15px; }
.lg-settlement-intro { margin:0; padding:15px 19px; color:#bac9a9; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.lg-settlement-intro p { margin:0; }
.lg-settlement-intro p+p { margin-top:7px; }
.lg-settlement-list { min-width:0; list-style:none; margin:0; padding:0; }
.lg-settlement-row { display:grid; grid-template-columns:minmax(0,1fr) max-content; align-items:center; column-gap:15px; row-gap:5px; min-width:0; padding:15px 19px; border-top:1px solid #354a27; }
.lg-settlement-row>strong { min-width:0; color:#e2edd4; font-size:13px; font-weight:600; line-height:1.7; white-space:normal; overflow-wrap:anywhere; }
.lg-settlement-row>span { min-width:0; color:#d5ff66; text-align:right; font-size:17px; font-weight:700; line-height:1.5; white-space:nowrap; font-variant-numeric:tabular-nums; }
.lg-settlement-row>span small { font-size:10px; font-weight:400; color:#adc19a; }
.lg-settlement-row>strong img { display:inline-block; vertical-align:middle; width:17px; height:17px; margin:0 5px; filter:invert(82%); }
.lg-settlement-row:has(>strong:nth-of-type(2)) { grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content; column-gap:10px; }
.lg-pool-note { margin:0; padding:13px 19px; border-top:1px solid #4c6632; color:#c0d4a8; background:#1b2911; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.lg-pool-note strong { color:#e3ffb8; }
.lg-settlement-status { display:flex; align-items:center; flex-wrap:wrap; gap:8px; min-width:0; padding:14px 19px; border-top:1px solid #344a26; color:#b3c69d; font-size:11px; line-height:1.7; overflow-wrap:anywhere; }
.lg-settlement-status>span { max-width:100%; padding:6px 10px; border:1px solid #455f2d; border-radius:16px; background:#1a2811; color:#b8cba3; font-size:11px; font-weight:500; white-space:normal; overflow-wrap:anywhere; }
.lg-settlement-status .lg-confirmed { color:#e0ffb3; border-color:#799a42; background:#263a15; }
.lg-confirmed { color:#d5ff66; }
.lg-settlement-actions { display:flex; align-items:center; flex-wrap:wrap; gap:11px; padding:16px 19px 19px; border-top:1px solid #354d26; }
.lg-settlement-actions>button { min-width:110px; flex:1; }
.lg-settlement-actions>.lg-note, .lg-settlement-actions>p { flex:1 0 100%; margin:0; }
.lg-badge { display:inline-flex; align-items:center; justify-content:center; gap:5px; max-width:100%; padding:4px 9px; border:1px solid #5c7937; border-radius:14px; color:#d0e8ae; background:#203113; font-family:'PingFang SC',sans-serif; font-size:10px; font-weight:600; line-height:1.5; vertical-align:middle; overflow-wrap:anywhere; }
@media(max-width:600px) {
  .lg-settlement-box { margin-top:15px; margin-bottom:15px; border-radius:21px; }
  .lg-settlement-box>.lg-note { padding-left:15px; padding-right:15px; }
  .lg-settlement-intro { padding:14px 15px; font-size:11px; }
  .lg-settlement-row { padding:14px 15px; column-gap:11px; }
  .lg-settlement-row>strong { font-size:12px; }
  .lg-settlement-row>span { font-size:16px; }
  .lg-pool-note { padding:12px 15px; font-size:11px; }
  .lg-settlement-status { padding:13px 15px; gap:7px; }
  .lg-settlement-status>span { padding:6px 9px; font-size:10px; }
  .lg-settlement-actions { padding:15px 15px 17px; gap:9px; }
}
@media(max-width:360px) {
  .lg-settlement-row { column-gap:8px; }
  .lg-settlement-row>strong { font-size:11px; }
  .lg-settlement-row>span { font-size:14px; }
  .lg-settlement-row:has(>strong:nth-of-type(2)) { column-gap:7px; }
  .lg-settlement-actions>button { min-width:105px; padding-left:11px; padding-right:11px; }
}

.lg-settlement-box { scroll-margin-top:calc(var(--lg-header-height) + 16px); }

/* Room-only single-screen table. Entry and history keep their natural page flow. */
.lg-app.lg-room-view { height:100dvh; min-height:0; overflow:hidden; }
.lg-room-view .lg-shell, .lg-shell.lg-room-view { display:flex; flex-direction:column; height:100dvh; min-height:0; overflow:hidden; }
.lg-room-view .lg-header { position:relative; top:auto; flex:none; background:#0b100b; }
.lg-room-view .lg-header h1 { flex:1; min-width:0; }
.lg-room-view [data-lg-header-extra] { flex:none; margin-left:auto; }
.lg-header-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; min-width:0; }
.lg-share-icon { display:inline-flex; align-items:center; justify-content:center; gap:6px; flex:none; min-width:44px; min-height:44px; padding:9px 12px; border:1px solid #536d33; border-radius:23px; background:#192710; color:#e4efd4; font-size:12px; font-weight:600; line-height:1.4; }
.lg-share-icon img { display:block; flex:none; width:18px; height:18px; filter:invert(88%); }
.lg-share-icon:hover:not(:disabled) { border-color:#90b44f; background:#293d19; }
.lg-room-view .lg-room-code { font-size:14px; letter-spacing:1px; }
.lg-room-view .lg-shell>.lg-status { flex:none; min-height:0; padding-top:4px; font-size:10px; line-height:1.5; }
.lg-room-view .lg-body { display:flex; flex:1; flex-direction:column; min-width:0; min-height:0; overflow:hidden; padding-top:0; padding-bottom:max(16px,env(safe-area-inset-bottom)); }
.lg-room-view .lg-room { display:flex; flex:1; flex-direction:column; min-width:0; min-height:0; overflow:hidden; }
.lg-room-view .lg-player-strip { position:relative; top:auto; flex:0 0 auto; width:100%; min-height:0; padding:12px 0 10px; margin:0; background:#0b100b; }
.lg-room-view .lg-player { flex:none; width:90px; min-width:90px; gap:5px; padding:9px 6px; }
.lg-room-view .lg-player-name { min-height:2.6em; font-size:11px; line-height:1.3; }
.lg-room-view .lg-player-net { font-size:12px; line-height:1.3; }
.lg-room-view .lg-avatar { width:44px; height:44px; font-size:23px; }
.lg-room-view .lg-pool-card { position:sticky; left:0; z-index:2; justify-content:flex-start; border-color:#8cae4a; background:#203013; box-shadow:9px 0 10px #0b100b; }
.lg-room-view .lg-pool-card .lg-avatar { border-color:#dfff8b; color:#24350b; background:#d5ff66; }
.lg-room-view .lg-pool-card .lg-player-net { color:#d5ff66; margin-top:auto; }
.lg-room-hint { display:flex; align-items:center; justify-content:space-between; gap:11px; flex:none; min-width:0; min-height:30px; margin:0 0 10px; }
.lg-room-hint .lg-note { flex:1; min-width:0; margin:0; font-size:11px; line-height:1.65; }
.lg-room-hint:has(.lg-room-settings) { min-height:44px; }
.lg-room-settings { display:inline-flex; align-items:center; justify-content:center; flex:none; min-width:44px; min-height:44px; padding:9px 6px; border:0; background:transparent; color:#d1e8af; font-size:12px; font-weight:600; line-height:1.5; }
.lg-room-settings:hover:not(:disabled) { color:#efffd2; }
.lg-room-content { display:flex; flex:1; flex-direction:column; min-width:0; min-height:0; overflow:hidden; }
.lg-room-view .lg-ledger-box { display:flex; flex:1; flex-direction:column; min-width:0; min-height:0; overflow:hidden; }
.lg-room-view .lg-ledger-box>.lg-section-head { flex:none; min-height:54px; padding-top:14px; padding-bottom:14px; }
.lg-room-view .lg-ledger-box>.lg-entry-list, .lg-room-view .lg-ledger-box>.lg-empty { flex:1; min-width:0; min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-width:thin; scrollbar-color:#536c36 transparent; }
.lg-room-view .lg-ledger-box>.lg-empty { padding-top:23px; padding-bottom:23px; }
.lg-room-view .lg-footer-actions { flex:none; min-height:48px; margin:12px 0 0; gap:10px; }
.lg-room-view .lg-footer-actions>.lg-primary { flex:1; }
.lg-room-view .lg-footer-actions>.lg-link { flex:none; min-width:44px; min-height:48px; padding:10px 7px; margin-left:auto; font-size:12px; }
.lg-room.lg-settling .lg-room-content { display:block; overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-width:thin; scrollbar-color:#536c36 transparent; }
.lg-room.lg-settling .lg-settlement-box { flex:none; margin:0 0 13px; overflow:hidden; }
.lg-room.lg-settling .lg-ledger-box { display:block; min-height:180px; overflow:hidden; }
.lg-room.lg-settling .lg-ledger-box>.lg-entry-list, .lg-room.lg-settling .lg-ledger-box>.lg-empty { max-height:none; overflow:visible; }
.lg-share-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.lg-share-actions>button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:0; min-height:48px; padding:12px 14px; border:1px solid #597336; border-radius:24px; color:#e3eed4; background:#1b2a12; font-size:13px; font-weight:600; line-height:1.5; }
.lg-share-actions>button img { flex:none; width:19px; height:19px; filter:invert(89%); }
.lg-share-actions>button:hover:not(:disabled) { background:#2b3f1a; border-color:#8cae4c; }
.lg-share-actions>button:last-child:nth-child(odd) { grid-column:1/-1; }
.lg-friend-list { display:flex; flex-direction:column; gap:10px; max-height:min(52dvh,370px); min-width:0; margin:0; padding:0; list-style:none; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#536c36 transparent; }
.lg-friend-row { display:flex; align-items:center; gap:12px; min-width:0; padding:12px 13px; border:1px solid #465e2e; border-radius:17px; background:#172210; }
.lg-friend-row>div { flex:1; min-width:0; }
.lg-friend-row>.lg-friend-name { flex:1; min-width:0; }
.lg-friend-name { display:block; min-width:0; color:#ecf4e1; font-size:14px; font-weight:600; line-height:1.6; overflow-wrap:anywhere; }
.lg-friend-state { display:block; color:#a7bc94; font-size:11px; line-height:1.6; margin-top:3px; }
.lg-friend-row>button { display:inline-flex; align-items:center; justify-content:center; flex:none; min-width:58px; min-height:44px; padding:9px 13px; border:1px solid #bddc72; border-radius:22px; background:#d5ff66; color:#21300c; font-size:12px; font-weight:650; line-height:1.4; }
@media(max-width:600px) {
  .lg-room-view .lg-header { gap:10px; }
  .lg-room-view .lg-header h1 { font-size:25px; }
  .lg-header-actions { gap:6px; }
  .lg-room-view .lg-room-code { padding:9px 10px; gap:6px; font-size:12px; }
  .lg-share-icon { padding:9px; font-size:12px; }
  .lg-room-view .lg-player { width:83px; min-width:83px; padding:8px 5px; }
  .lg-room-view .lg-body { padding-bottom:max(14px,env(safe-area-inset-bottom)); }
  .lg-room-view .lg-ledger-box>.lg-section-head { min-height:50px; padding-top:12px; padding-bottom:12px; }
  .lg-room-view .lg-footer-actions { margin-top:10px; }
  .lg-room-hint { gap:8px; margin-bottom:9px; }
}
@media(max-width:360px) {
  .lg-room-view .lg-header { gap:7px; }
  .lg-room-view .lg-header h1 { font-size:22px; }
  .lg-room-view .lg-header-actions { gap:5px; }
  .lg-room-view .lg-room-code { padding:9px 8px; gap:0; font-size:11px; letter-spacing:.6px; }
  .lg-room-view .lg-room-code>img { display:none; }
  .lg-room-view .lg-share-icon { padding:9px 8px; gap:4px; font-size:11px; }
  .lg-room-view .lg-share-icon img { width:16px; height:16px; }
  .lg-room-view .lg-player-strip { padding-top:8px; padding-bottom:8px; }
  .lg-room-view .lg-player { width:78px; min-width:78px; gap:4px; padding:7px 5px; }
  .lg-room-view .lg-player-name { font-size:10.5px; }
  .lg-room-view .lg-player-net { font-size:11px; }
  .lg-room-view .lg-avatar { width:36px; height:36px; border-radius:12px; font-size:21px; }
  .lg-room-view .lg-room-hint .lg-note { font-size:10px; }
  .lg-room-view .lg-body { padding-bottom:max(10px,env(safe-area-inset-bottom)); }
  .lg-share-actions { grid-template-columns:1fr; }
  .lg-friend-row { gap:9px; padding:11px; }
  .lg-friend-name { font-size:13px; }
  .lg-friend-row>button { min-width:52px; padding:9px 10px; }
}
@media(max-height:640px) {
  .lg-app.lg-room-view { --lg-header-height:64px; }
  .lg-room-view .lg-header { min-height:64px; padding-top:10px; padding-bottom:10px; }
  .lg-room-view .lg-player-strip { padding-top:8px; padding-bottom:8px; }
  .lg-room-view .lg-avatar { width:36px; height:36px; border-radius:12px; font-size:21px; }
  .lg-room-view .lg-player { gap:4px; padding-top:7px; padding-bottom:7px; }
  .lg-room-view .lg-player-name { min-height:2.6em; font-size:10.5px; line-height:1.3; }
  .lg-room-view .lg-player-net { font-size:11px; }
  .lg-room-view .lg-footer-actions { margin-top:8px; }
  .lg-room-view .lg-room-hint { margin-bottom:8px; }
}

/* A raised playing table: existing controls and assets, with no ambient loops. */
.lg-room-view .lg-header { border-bottom-color:#344627; box-shadow:0 4px 16px #0002; }
.lg-room-view .lg-header .lg-icon { border-color:#627b3c; background:#1a2812; box-shadow:inset 0 1px 0 #e4ffad20; }
.lg-room-view .lg-header .lg-room-code { color:#e4ffab; border-color:#69813f; background:#1c2b11; box-shadow:inset 0 1px 0 #e2ffac22,0 2px 0 #071005; font-weight:750; }
.lg-room-view .lg-share-icon { border-color:#536c35; background:#17230f; box-shadow:inset 0 1px 0 #e2ffac16; }
.lg-room-view .lg-player-strip { padding-bottom:13px; scrollbar-color:#6f8c43 transparent; }
.lg-room-view .lg-player { border-color:#647e3b; background:#1a2712; box-shadow:inset 0 1px 0 #edffc72c,inset 0 -4px 0 #101b0b,0 3px 0 #30471d; transition:transform .16s cubic-bezier(.2,.8,.2,1); }
.lg-room-view .lg-player:hover:not(:disabled) { border-color:#b9df66; background:#243517; }
.lg-room-view .lg-player:active:not(:disabled) { transform:translateY(2px) scale(.98); }
.lg-room-view .lg-player[data-self=true] { border-color:#a6c762; background:#233315; box-shadow:inset 0 1px 0 #efffc73d,inset 0 -4px 0 #18260d,0 3px 0 #4c6926; }
.lg-room-view .lg-avatar { border-color:#fffbe8; background:#f7f1ce; color:#273315; box-shadow:inset 0 2px 0 #fffdf0,0 3px 0 #8f9560,0 5px 9px #0003; }
.lg-room-view .lg-player[data-self=true] .lg-avatar { border-color:#efffbe; color:#26360d; background:#d8ff70; box-shadow:inset 0 2px 0 #f3ffcf,0 3px 0 #7d9b32,0 5px 9px #0003; }
.lg-room-view .lg-avatar>.lg-self { right:-5px; bottom:-5px; border-color:#2e4518; background:#f4ffd6; color:#24380f; box-shadow:0 2px 0 #516c2f; }
.lg-room-view .lg-player-name { padding-top:2px; color:#f4f7e7; font-weight:650; }
.lg-room-view .lg-player-net { display:inline-flex; align-items:center; justify-content:center; min-width:53px; max-width:100%; padding:3px 6px; border:1px solid #3d5429; border-radius:10px; background:#1e2d15; color:#edf5de; font-size:14px; font-weight:750; line-height:1.2; font-variant-numeric:tabular-nums; }
.lg-room-view .lg-player-net.pos { color:#d5ff80; background:#263b16; border-color:#4b6b2c; }
.lg-room-view .lg-player-net.neg { color:#ffd7a4; background:#332818; border-color:#675033; }
.lg-room-view .lg-pool-card { border-color:#c4e56e; background:#293a15; box-shadow:inset 0 1px 0 #f2ffd266,inset 0 -4px 0 #1c2b0e,0 3px 0 #5b7831,9px 0 10px #0b100b; }
.lg-room-view .lg-pool-card .lg-avatar { border-color:#f0ffc4; color:#2d3e11; background:#dfff8b; box-shadow:inset 0 2px 0 #f9ffe1,0 3px 0 #8da847,0 5px 9px #0003; }
.lg-room-view .lg-pool-card .lg-player-net { border-color:#e0f8a2; background:#d9ef9d; color:#293911; font-size:15px; }
.lg-room-view .lg-room-hint .lg-note { color:#adbd9d; }
.lg-room-view .lg-room-settings { color:#d5ecb8; }
.lg-room-view .lg-ledger-box { border-color:#8da951; background:#10190b; box-shadow:inset 0 1px 0 #dcffa234,inset 0 -3px 0 #081005,0 4px 0 #233b14; }
.lg-room-view .lg-ledger-box>.lg-section-head { border-bottom-color:#4d6630; background:#1a2910; box-shadow:inset 0 1px 0 #e4ffaf18; }
.lg-room-view .lg-ledger-box>.lg-section-head h2 { color:#fffde9; letter-spacing:-.2px; }
.lg-room-view .lg-ledger-box>.lg-section-head h2 small { display:inline-flex; vertical-align:middle; align-items:center; justify-content:center; min-height:22px; padding:2px 7px; margin-left:5px; border:1px solid #516b31; border-radius:11px; background:#283b17; color:#d3e8b7; font:550 10px/1.4 'PingFang SC',sans-serif; }
.lg-room-view .lg-ledger-box>.lg-section-head>.lg-note { color:#b1c29b; font-size:10px; }
.lg-room-view .lg-ledger-box>.lg-entry-list { padding:12px; }
.lg-room-view .lg-record { position:relative; padding:13px 14px 11px; margin:0 0 10px; border:1px solid #3c552a; border-radius:17px; background:#192610; box-shadow:inset 0 1px 0 #d5f0b311; }
.lg-room-view .lg-record:first-child { border-top:1px solid #3c552a; }
.lg-room-view .lg-record:last-child { margin-bottom:0; }
.lg-room-view .lg-record-route { gap:7px; color:#eff4e3; font-size:13px; line-height:1.6; }
.lg-room-view .lg-record-route>strong { font-weight:650; }
.lg-room-view .lg-record-route>img { width:16px; height:16px; opacity:.8; }
.lg-room-view .lg-record-amount { display:inline-flex; align-items:center; justify-content:center; min-width:58px; min-height:33px; padding:5px 9px; border:1px solid #e4f6a6; border-radius:11px; background:#d8ed9f; color:#253411; box-shadow:inset 0 1px 0 #f4ffd2,0 2px 0 #72903c; font-size:19px; font-weight:750; line-height:1.2; letter-spacing:-.3px; }
.lg-room-view .lg-record-meta { gap:7px 11px; margin-top:6px; color:#a8bc94; font-size:10px; }
.lg-room-view .lg-record-meta>span:last-of-type { color:#c7d9b2; }
.lg-room-view .lg-record-meta>.lg-link { min-width:44px; min-height:44px; padding:8px 5px; color:#c4d8a8; font-size:11px; }
.lg-room-view .lg-record-note { padding:8px 0 0; margin:2px 0 0; border-top:1px solid #344b25; color:#bdcfa9; font-size:11px; line-height:1.6; }
.lg-room-view .lg-record.lg-voided { border-color:#334328; background:#121c0d; box-shadow:none; }
.lg-room-view .lg-voided .lg-record-amount { border-color:#52603b; background:#354128; color:#b4c39b; box-shadow:none; }
.lg-room-view .lg-ledger-box>.lg-empty { display:flex; flex-direction:column; align-items:center; justify-content:safe center; padding:21px 19px; }
.lg-room-view .lg-empty>img[src*='/cards.webp'] { display:block; width:168px; height:145px; margin:0 auto 12px; object-fit:contain; filter:none; }
.lg-room-view .lg-empty h3 { color:#f7f7e7; font-size:25px; line-height:1.3; margin-bottom:10px; }
.lg-room-view .lg-empty p { max-width:340px; color:#aebf9d; font-size:12px; line-height:1.75; }
.lg-room-view .lg-footer-actions>.lg-primary { min-height:50px; border-color:#e7ff9f; background:#d8ff72; box-shadow:inset 0 2px 0 #f3ffc6,inset 0 -4px 0 #9cbe48,0 3px 0 #536d27; color:#1b2a0a; font-size:14px; font-weight:750; transition:transform .15s cubic-bezier(.2,.8,.2,1); }
.lg-room-view .lg-footer-actions>.lg-primary:hover:not(:disabled) { background:#e3ff95; }
.lg-room-view .lg-footer-actions>.lg-primary:active:not(:disabled) { transform:translateY(2px); }
.lg-room-view .lg-footer-actions>.lg-link { color:#c0d0ab; }
@media(hover:hover) and (pointer:fine) {
  .lg-room-view .lg-player:hover:not(:disabled) { transform:translateY(-2px); }
  .lg-room-view .lg-footer-actions>.lg-primary:hover:not(:disabled) { transform:translateY(-1px); }
}
@media(min-width:900px) {
  .lg-room-view .lg-record { padding-left:18px; padding-right:18px; }
  .lg-room-view .lg-ledger-box>.lg-entry-list { padding:15px; }
  .lg-room-view .lg-record-route { font-size:14px; }
}
@media(max-width:600px) {
  .lg-room-view .lg-player-strip { padding-bottom:12px; }
  .lg-room-view .lg-player-net { min-width:49px; padding:3px 5px; font-size:13px; }
  .lg-room-view .lg-pool-card .lg-player-net { font-size:14px; }
  .lg-room-view .lg-ledger-box>.lg-entry-list { padding:10px; }
  .lg-room-view .lg-record { padding:12px 12px 10px; margin-bottom:9px; border-radius:15px; }
  .lg-room-view .lg-record-route { font-size:12px; gap:6px; }
  .lg-room-view .lg-record-amount { min-width:52px; min-height:31px; padding:5px 8px; font-size:18px; border-radius:10px; }
  .lg-room-view .lg-record-meta { gap:5px 8px; font-size:9px; }
  .lg-room-view .lg-empty>img[src*='/cards.webp'] { width:158px; height:135px; }
  .lg-room-view .lg-empty h3 { font-size:23px; }
}
@media(max-width:360px) {
  .lg-room-view .lg-player-strip { padding-bottom:10px; }
  .lg-room-view .lg-player-name { padding-top:1px; }
  .lg-room-view .lg-player-net { min-width:45px; padding:2px 4px; border-radius:8px; font-size:12px; }
  .lg-room-view .lg-pool-card .lg-player-net { font-size:13px; }
  .lg-room-view .lg-ledger-box>.lg-section-head h2 small { margin-left:3px; padding:2px 5px; font-size:9px; }
  .lg-room-view .lg-ledger-box>.lg-entry-list { padding:8px; }
  .lg-room-view .lg-record { padding:11px 10px 9px; margin-bottom:8px; border-radius:14px; }
  .lg-room-view .lg-record-route { font-size:10.5px; gap:5px; }
  .lg-room-view .lg-record-route>img { width:14px; height:14px; margin:0; }
  .lg-room-view .lg-record-amount { min-width:46px; min-height:29px; padding:4px 6px; font-size:16px; }
  .lg-room-view .lg-record-meta { gap:4px 6px; }
  .lg-room-view .lg-record-note { padding-top:7px; font-size:10px; }
  .lg-room-view .lg-empty>img[src*='/cards.webp'] { width:105px; height:88px; margin-bottom:9px; }
  .lg-room-view .lg-empty h3 { font-size:20px; }
  .lg-room-view .lg-empty p { font-size:10px; }
  .lg-room-view .lg-footer-actions>.lg-primary { font-size:13px; }
}
@media(max-height:640px) {
  .lg-room-view .lg-player-strip { padding-bottom:10px; }
  .lg-room-view .lg-player-net { min-width:45px; padding:2px 4px; font-size:12px; }
  .lg-room-view .lg-pool-card .lg-player-net { font-size:13px; }
  .lg-room-view .lg-ledger-box>.lg-empty { padding-top:15px; padding-bottom:15px; }
  .lg-room-view .lg-empty>img[src*='/cards.webp'] { width:105px; height:88px; margin-bottom:8px; }
  .lg-room-view .lg-empty h3 { font-size:20px; margin-bottom:8px; }
  .lg-room-view .lg-empty p { font-size:10px; }
}
@media(prefers-reduced-motion:reduce) {
  .lg-room-view .lg-player:hover, .lg-room-view .lg-player:active,
  .lg-room-view .lg-footer-actions>.lg-primary:hover, .lg-room-view .lg-footer-actions>.lg-primary:active { transform:none; transition:none; }
}
.motion-off .lg-room-view .lg-player:hover, .motion-off .lg-room-view .lg-player:active,
.motion-off .lg-room-view .lg-footer-actions>.lg-primary:hover, .motion-off .lg-room-view .lg-footer-actions>.lg-primary:active { transform:none; transition:none; }

/* Data feedback is temporary, composited, and never part of hit testing. */
.lg-room-view .lg-player{isolation:isolate}
.lg-room-view .lg-player:not(.lg-pool-card){position:relative}
.lg-score-delta{position:absolute;left:50%;bottom:23px;z-index:4;padding:4px 9px;border-radius:12px;background:#e6ffac;color:#182609;font-size:12px;font-weight:800;line-height:1.2;white-space:nowrap;pointer-events:none;font-variant-numeric:tabular-nums}
.lg-score-delta.neg{background:#ffe3ba;color:#513018}
.lg-room-view .lg-player-strip{overflow-y:hidden}
.lg-room-view .lg-player-net{transform-origin:center}
@media(prefers-reduced-motion:reduce){.lg-score-delta{display:none}}
.motion-off .lg-score-delta{display:none}
@media(min-height:641px) and (max-height:740px){
  .lg-room-view .lg-ledger-box>.lg-empty{padding-top:14px;padding-bottom:14px}
  .lg-room-view .lg-empty>img[src*='/cards.webp']{width:125px;height:105px;margin-bottom:12px}
  .lg-room-view .lg-empty h3{font-size:22px;margin-bottom:9px}
  .lg-room-view .lg-empty p{line-height:1.6}
}
