body.aux-page { background:radial-gradient(ellipse at 10% 0%,var(--ui-glow),transparent 70%),var(--ui-page); color:var(--ui-text); font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif; font-size:14px; }
.aux-page .page { max-width:1200px; padding:24px 20px 60px; }
.aux-nav { display:flex; gap:10px; flex-wrap:wrap; max-width:1200px; margin:0 auto; padding:18px 20px 0; }
.aux-nav a { color:var(--ui-text); text-decoration:none; border:1px solid #ffffff26; border-radius:10px; padding:9px 13px; font-size:13px; }
.aux-nav a:hover { border-color:var(--ui-gold); }
.aux-page h1 { font-size:26px; font-weight:650; color:var(--ui-gold-light); margin-bottom:20px; }
.aux-page h1 .sub { display:block; font-size:13px; margin:7px 0 0; color:var(--ui-dim); line-height:1.65; }
.aux-page .bar,.aux-page #card,.aux-page .room,.aux-page .deal,.aux-page .gate-box { color:var(--ui-ink); background:var(--ui-panel); border:1px solid var(--ui-border); border-top:2px solid var(--ui-gold); border-radius:16px; box-shadow:var(--sh-2); }
.aux-page .bar { padding:14px; gap:10px; }
.aux-page .bar input,.aux-page .bar select,.aux-page .bar button,.aux-page .deal input,.aux-page .deal button,.aux-page .gate input { color:var(--ui-ink); background:var(--ui-raised); border:1px solid var(--ui-border); border-radius:9px; min-height:40px; }
.aux-page button { cursor:pointer; }
.aux-page button.primary,.aux-page .gate button { background:var(--accent-grad); border:0; color:#291d0a; min-height:42px; border-radius:10px; }
.aux-page .bar label,.aux-page .meta,.aux-page .foot,.aux-page .rhead,.aux-page .mini,.aux-page .deal-sub,.aux-page .deal-tip,.aux-page .deal-once { color:var(--ui-muted); }
.aux-page .meta b,.aux-page .rhead b,.aux-page .who,.aux-page .deal-head b { color:var(--ui-ink); }
.aux-page .msg,.aux-page .sub { color:var(--ui-dim); }
.aux-page .msg.err,.aux-page .forbid { color:#ffcfb4; }
.aux-page table { color:var(--ui-ink); background:var(--ui-raised); }
.aux-page th,.aux-page td { padding:10px 12px; border-color:var(--ui-border); }
.aux-page thead th,.aux-page tfoot td { color:var(--ui-ink); background:var(--ui-panel); }
.aux-page td.time,.aux-page td.note,.aux-page td.k,.aux-page td.mono,.aux-page .ua { color:var(--ui-muted); }
.aux-page td.num.plus { color:var(--ui-win); } .aux-page td.num.minus { color:var(--ui-loss); } .aux-page td.num.zero { color:var(--ui-muted); }
.aux-page td.ld { background:var(--accent-soft); }
.aux-page td.roomhdr { color:var(--ui-gold-ink); background:var(--ui-panel); }
.aux-page a.rp-btn,.aux-page .room-chips .rchip { color:var(--ui-ink); background:var(--ui-raised); border-color:var(--ui-border); }
.aux-page .wrap { max-height:65dvh; border-radius:12px; border-color:var(--ui-border); }
.aux-visit { max-width:1280px; margin:auto; }
.aux-visit .aux-nav { padding-left:0; margin-bottom:22px; }
.aux-visit .auto,.aux-visit .count { color:var(--ui-muted); }
.aux-visit .ev { color:var(--ui-ink); background:var(--ui-soft); }
.aux-page .gate { background:var(--ui-page); }
.aux-page .gate-box { width:360px; padding:28px; }
.aux-page .gate-t { color:var(--ui-ink); font-size:18px; }
.aux-page .gate-msg { color:var(--ui-loss); }
.aux-page .warn { color:var(--ui-gold-light); background:var(--accent-soft); border-color:var(--accent-line); }
.aux-page .cd,.aux-page pre { color:var(--ui-ink); background:var(--ui-raised); border-color:var(--ui-border); }
.aux-page .cd.red { color:var(--ui-loss); }
.aux-page .deal-tip code { color:var(--ui-gold-ink); }
.aux-page .pl { border-color:var(--ui-border); }
.aux-replay #game { color:var(--ui-text); }
.aux-replay .felt { background:radial-gradient(ellipse at center,var(--ui-felt),var(--ui-felt-edge)); }
.aux-replay .rp-top { min-height:54px; gap:9px; }
.aux-replay .rp-home,.aux-replay .rp-top .rp-back { color:var(--ui-text); text-decoration:none; font-size:12px; padding:8px; border:1px solid #ffffff26; border-radius:9px; }
.aux-replay .rp-tabs button,.aux-replay .rp-controls button { min-height:42px; }
.aux-replay .rp-top .t,.aux-replay .rp-pos { color:var(--ui-dim); }
.aux-replay .rp-bottom { background:var(--ui-dark); }
.aux-replay #rpHand { --hand-card-w:52px; --hand-card-h:74px; --hand-step:30px; padding:12px 0 4px; gap:0; }
.aux-replay .front-play { --ov:-14px; }
.aux-replay .rp-result-box { background:var(--ui-panel); color:var(--ui-ink); border-top:3px solid var(--ui-gold); }
.aux-replay .rp-result-box h2 { color:var(--ui-ink); }
.aux-replay .rp-result-box .note { color:var(--ui-muted); }
.aux-replay .rp-result-box .row { background:var(--ui-raised); }
.aux-replay .rp-result-box .row .d.plus { color:var(--ui-win); }
.aux-replay .rp-result-box .row .d.minus { color:var(--ui-loss); }
.aux-replay .rp-result-box .row .rl { color:var(--ui-gold-ink); }
.aux-replay .rp-result-actions a { color:var(--ui-ink); border-color:var(--ui-border); }
.replay-search { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:14px; padding:14px; background:var(--ui-panel); color:var(--ui-ink); border-radius:14px; }
.replay-search[hidden] { display:none; }
.replay-search input { min-width:0; width:130px; height:44px; padding:10px; border:1px solid var(--ui-border); border-radius:9px; background:var(--ui-raised); color:var(--ui-ink); }
.replay-search button { background:var(--accent-grad); min-height:44px; padding:8px 14px; border:0; border-radius:9px; }
.replay-search a { color:var(--ui-gold-ink); }
@media(max-width:640px) { .aux-page .page { padding:20px 14px 40px; } .aux-nav { padding:14px 14px 0; gap:7px; } .aux-nav a { font-size:12px; } .aux-page .pl { grid-template-columns:1fr; } .aux-page .deal-row { grid-template-columns:minmax(65px,1fr) minmax(120px,2fr) 32px; } .aux-replay .rp-controls { gap:5px; } .aux-replay .rp-controls button { padding:0 8px; } }
@media(orientation:landscape) and (max-height:540px) { .aux-replay .rp-top { min-height:40px; padding:5px 10px; } .aux-replay .rp-tabs button { min-height:30px; padding:0 10px; } .aux-replay .rp-bottom { padding:4px 10px; gap:4px; } .aux-replay #rpHand { min-height:54px; --hand-card-w:38px; --hand-card-h:54px; padding:4px 0; } .aux-replay .rp-controls button { min-height:32px; } .aux-replay .rp-hand-row { flex-direction:row; align-items:center; gap:14px; } .aux-replay .rp-tabs { max-width:38%; } .aux-replay .seats { grid-template-columns:repeat(6,minmax(0,1fr)); grid-template-rows:1fr; grid-template-areas:'west north-west north north-east east south'; } }
.aux-replay #game .seat .dl-cards { grid-row:3; }
.aux-replay #game .seat .nm { grid-row:1; }
.aux-replay #game .seat .sc { grid-row:2; }
.aux-replay #game .seat .av { overflow:visible; }
.aux-replay #game .seat-pocket[data-slot=south] { justify-content:center; }
.aux-replay #game .center { top:30%; bottom:45%; }
.aux-replay .rp-top { flex-wrap:wrap; }
.aux-replay .rp-top .synthetic-notice { margin:0 0 0 auto; }
.aux-replay .rp-top button.rp-back { background:var(--ui-dark-panel); }
.aux-page *, .aux-page *::before, .aux-page *::after { box-sizing:border-box; }
.aux-page [hidden] { display:none !important; }
.aux-page { margin:0; min-width:0; line-height:1.6; overflow-wrap:anywhere; }
.aux-page:not(.aux-replay) { min-height:100vh; min-height:100dvh; }
.aux-page .aux-nav { align-items:center; }
.aux-page .aux-nav a { min-height:44px; display:inline-flex; align-items:center; background:var(--ui-dark-panel); }
.aux-page .aux-nav a[aria-current=page] { border-color:var(--ui-gold); color:var(--ui-gold-light); background:var(--accent-soft); }
.aux-page .aux-heading { margin:4px 0 24px; }
.aux-page .aux-eyebrow { color:var(--ui-gold-light); font-size:11px; font-weight:700; letter-spacing:.14em; margin:0 0 8px; }
.aux-page h1 { margin:0; line-height:1.35; letter-spacing:.02em; }
.aux-page h1 .sub { font-weight:400; letter-spacing:0; max-width:68ch; }
.aux-page .aux-field { display:flex; flex-direction:column; gap:5px; min-width:0; }
.aux-page .aux-field > label, .aux-page .aux-label { color:var(--ui-muted); font-size:12px; font-weight:600; }
.aux-page .aux-field-wide { flex:1 1 220px; }
.aux-page .aux-query { align-items:flex-end; margin:0 0 12px; }
.aux-page .bar input:not([type=checkbox]), .aux-page .bar select, .aux-page .bar button { min-height:44px; font-size:14px; padding:9px 12px; }
.aux-page .aux-field select { width:100%; max-width:100%; }
.aux-page .bar #code { width:144px; letter-spacing:1px; }
.aux-page .bar #kw { width:100%; }
.aux-page .bar input[type=checkbox], .aux-page .deal input[type=checkbox], .aux-page input[type=checkbox] { width:18px; height:18px; min-height:0; flex:0 0 18px; padding:0; margin:0; accent-color:var(--ui-gold-ink); }
.aux-page .chk, .aux-page .auto, .aux-page .bar label:has(input[type=checkbox]), .aux-page .deal-once { min-height:44px; gap:8px; align-items:center; display:inline-flex; cursor:pointer; }
.aux-page button, .aux-page input, .aux-page select { font:inherit; }
.aux-page button { touch-action:manipulation; }
.aux-page button:disabled { opacity:.5; cursor:not-allowed; }
.aux-page input::placeholder { color:var(--ui-muted); opacity:.9; }
.aux-page .bar button:not(.primary):hover, .aux-page .deal button:not(.primary):hover { background:var(--ui-soft); border-color:var(--ui-gold-ink); }
.aux-page .aux-help { color:var(--ui-dim); font-size:12px; margin:6px 0 14px; line-height:1.7; }
.aux-page .aux-options { color:var(--ui-ink); background:var(--ui-panel); border:1px solid var(--ui-border); border-radius:12px; padding:12px 16px; margin:18px 0; }
.aux-page summary { cursor:pointer; font-weight:600; min-height:32px; }
.aux-page .aux-options .chk { color:var(--ui-muted); }
.aux-page .aux-option-row > button { white-space:nowrap; min-width:112px; }
.aux-page .aux-option-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; padding-top:8px; }
.aux-page .aux-options .aux-help, .aux-page .gate-box .aux-help { color:var(--ui-muted); margin-bottom:0; }
.aux-page .aux-options button, .aux-page .aux-options input:not([type=checkbox]) { color:var(--ui-ink); background:var(--ui-raised); border:1px solid var(--ui-border); border-radius:9px; min-height:44px; padding:8px 12px; }
.aux-page #unifiedMult { width:94px; text-align:center; }
.aux-page .aux-status { padding:16px 18px; border:1px dashed var(--accent-line); border-radius:12px; background:var(--ui-dark-panel); color:var(--ui-dim); margin:14px 0; line-height:1.8; }
.aux-page .aux-status:empty { display:none; }
.aux-page .aux-status.err { color:var(--ui-gold-light); border-style:solid; }
.aux-page [aria-busy=true] { cursor:progress; }
.aux-page .aux-scroll-hint { color:var(--ui-dim); font-size:12px; margin:10px 0; }
.aux-page #card .aux-scroll-hint { color:var(--ui-muted); padding:0 16px; }
.aux-page .wrap { overscroll-behavior-x:contain; scrollbar-color:var(--ui-gold) var(--ui-dark-panel); }
.aux-page .wrap:focus-visible { outline-offset:3px; }
.aux-page table { font-variant-numeric:tabular-nums; }
.aux-page th { font-size:12px; }
.aux-page tfoot td { position:sticky; bottom:0; z-index:1; border-top:2px solid var(--ui-gold); }
.aux-page .badge.ok { color:var(--ui-win); border-color:currentColor; background:var(--ui-soft); }
.aux-page .badge.bad { color:var(--ui-loss); border-color:currentColor; background:var(--ui-soft); }
.aux-page .badge.info, .aux-page .badge.recalc { color:var(--ui-gold-ink); border-color:var(--accent-line); background:var(--accent-soft); }
.aux-page td.result.r-ld, .aux-page .room-chips .rchip b, .aux-page .sp { color:var(--ui-gold-ink); }
.aux-page td.result.r-poor { color:var(--ui-win); }
.aux-page td.result.r-draw, .aux-page td.num.na { color:var(--ui-muted); }
.aux-page td.num .unfin { color:var(--ui-loss); border-color:var(--ui-border); background:var(--ui-soft); }
.aux-page td.num .sp, .aux-page .swatch { color:var(--ui-gold-ink); border-color:var(--accent-line); background:var(--accent-soft); }
.aux-page .row-off td.num, .aux-page .row-off td.result, .aux-page .row-off td.k, .aux-page .row-off td.time, .aux-page .row-off td.note { opacity:.65; }
.aux-page a.rp-btn, .aux-page button.rp-share, .aux-page .room-chips .rchip .x { min-width:36px; min-height:36px; line-height:34px; padding:0 8px; vertical-align:middle; }
.aux-page button.rp-share { color:var(--ui-ink); background:var(--ui-raised); border-color:var(--ui-border); }
.aux-page .selcol { min-width:44px; height:44px; }
.aux-page .selcol input { vertical-align:middle; }
.aux-page .aux-table-meta { display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; align-items:center; margin:14px 0; }
.aux-page .aux-table-meta .aux-help { margin:0; }
.aux-page .aux-admin-nav { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.aux-page .aux-admin-nav a, .aux-page .aux-admin-nav button { color:var(--ui-dim); text-decoration:none; min-height:44px; padding:9px 12px; border:1px solid var(--accent-line); background:var(--ui-dark-panel); border-radius:9px; }
.aux-page .aux-admin-nav [aria-current=page] { color:var(--ui-gold-light); border-color:var(--ui-gold); }
.aux-visit { padding:0; max-width:none; }
.aux-visit .aux-nav { padding:18px 20px 0; margin:0 auto; }
.aux-visit .wrap { background:var(--ui-panel); }
.aux-visit .empty { color:var(--ui-muted); padding:36px 18px; }
.aux-visit .forbid { color:var(--ui-loss); padding:24px 18px; }
.aux-visit .ev { color:var(--ui-ink); background:var(--ui-soft); border:1px solid var(--ui-border); }
.aux-visit th { z-index:2; }
.aux-debug .deal-head h2 { color:var(--ui-ink); font-size:17px; margin:0; }
.aux-debug .deal-row { grid-template-columns:minmax(100px,160px) minmax(0,1fr) 44px; }
.aux-debug .deal-row input { min-width:0; width:100%; }
.aux-debug .deal button { min-height:44px; }
.aux-debug .aux-deal-help { border-top:1px solid var(--ui-border); margin-top:16px; padding-top:12px; }
.aux-debug .aux-deal-help summary { color:var(--ui-muted); font-size:12px; }
.aux-debug .pl .who small, .aux-debug .log, .aux-debug .mini b { color:var(--ui-muted); }
.aux-debug .pl .who .ld { color:var(--ui-gold-ink); }
.aux-debug .pl .who .off { color:var(--ui-loss); }
.aux-debug .pl .who .bot { color:var(--ui-gold-ink); }
.aux-debug .rhead .tag { color:var(--ui-ink); border-color:var(--ui-border); }
.aux-debug .warn { padding:14px 16px; margin:0 0 18px; }
.aux-debug .gate { padding:20px; overflow-y:auto; }
.aux-debug .gate-box { width:400px; max-width:100%; margin:auto; }
.aux-debug .gate-t { margin:0 0 8px; }
.aux-debug .aux-label { display:block; text-align:left; margin:20px 0 6px; }
.aux-debug .gate-box input { min-height:48px; letter-spacing:0; font-size:16px; }
.aux-debug .aux-gate-back { display:inline-flex; min-height:44px; align-items:center; color:var(--ui-gold-ink); margin-top:8px; }
.aux-replay #game.rp { overflow-y:auto; }
.aux-replay #game[data-ready=false] .table-area, .aux-replay #game[data-ready=false] .rp-bottom { display:none; }
.aux-replay #game[data-ready=false] .turn-strip { height:auto; min-height:32px; }
.aux-replay #game[data-ready=false] .center-hint { white-space:normal; }
.aux-replay .rp-top { padding-top:max(8px,env(safe-area-inset-top)); }
.aux-replay .rp-title { color:var(--ui-gold-light); font-size:15px; margin:0; }
.aux-replay .rp-top .rp-back { margin-left:0; }
.aux-replay #rpBack { margin-left:auto; }
.aux-replay #rpShare:disabled { opacity:.45; }
.aux-replay .rp-state { flex:none; padding:18px; margin:10px 14px; border:1px solid var(--accent-line); border-radius:14px; background:var(--ui-panel); color:var(--ui-ink); }
.aux-replay .rp-state p { margin:0 0 10px; font-size:14px; line-height:1.7; }
.aux-replay .rp-state a { display:inline-flex; align-items:center; min-height:44px; margin-left:12px; color:var(--ui-gold-ink); }
.aux-replay .rp-state button { background:var(--accent-grad); color:#291d0a; min-height:44px; padding:8px 14px; border:0; border-radius:9px; }
.aux-replay .replay-search { flex:none; margin:10px 14px; border:1px solid var(--ui-border); }
.aux-replay .replay-search .aux-help { color:var(--ui-muted); flex-basis:100%; margin:0; }
.aux-replay .replay-search { align-items:flex-end; }
.aux-replay .replay-search a { min-height:44px; display:inline-flex; align-items:center; }
.aux-replay .rp-tabs { flex-wrap:nowrap; overflow-x:auto; padding:2px; }
.aux-replay .rp-tabs button { flex-shrink:0; color:var(--ui-text); }
.aux-replay .rp-tabs button.on { color:var(--ui-gold-light); border-color:var(--ui-gold); }
.aux-replay .rp-tabs .rk-chip { color:var(--ui-gold-light); }
.aux-replay .rp-controls button, .aux-replay .rp-controls select { color:var(--ui-text); background:var(--ui-dark-panel); border-color:#ffffff30; }
.aux-replay .rp-controls button.primary { color:#291d0a; background:var(--accent-grad); border:0; }
.aux-replay #rpSlider { min-height:36px; accent-color:var(--ui-gold); }
.aux-replay #rpHand { justify-content:flex-start; max-width:100%; min-width:0; }
.aux-replay .rp-hand-empty { color:var(--ui-dim); font-size:13px; margin:auto; }
.aux-replay .rp-result-box { position:relative; max-height:calc(100dvh - 40px); overflow:auto; padding-top:50px; }
.aux-replay .rp-result-close { position:absolute; right:12px; top:8px; min-height:36px; padding:4px 10px; border:1px solid var(--ui-border); border-radius:8px; background:var(--ui-raised); color:var(--ui-ink); }
.aux-replay .rp-result-actions { flex-wrap:wrap; }
.aux-replay .rp-result-actions a { color:var(--ui-ink); background:var(--ui-raised); min-height:44px; }
.aux-replay .rp-result-actions button { color:#291d0a; background:var(--accent-grad); min-height:44px; }
.aux-page :is(button,a,input,select,summary,[tabindex]):focus-visible { outline:3px solid var(--ui-gold); outline-offset:3px; box-shadow:none; }
.aux-skip { position:fixed; top:8px; left:16px; z-index:110; transform:translateY(-150%); background:var(--ui-panel); color:var(--ui-ink); padding:10px 16px; border-radius:9px; }
.aux-skip:focus { transform:translateY(0); }
.aux-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@media(max-width:640px) {
  .aux-page .page { padding:20px 14px 36px; }
  .aux-page .aux-nav, .aux-visit .aux-nav { padding:12px 14px 0; gap:6px; }
  .aux-page .aux-nav a { padding:8px 10px; font-size:12px; }
  .aux-page h1 { font-size:24px; }
  .aux-page .aux-heading { margin-bottom:20px; }
  .aux-page .aux-query { gap:10px; }
  .aux-page .aux-field { flex:1 1 130px; }
  .aux-page .aux-field input:not([type=checkbox]), .aux-page .aux-field #code, .aux-page .aux-field select { width:100%; font-size:16px; }
  .aux-page .aux-query > button { flex:1 1 auto; }
  .aux-page .aux-field-wide { flex-basis:100%; }
  .aux-page .aux-options { padding:12px; }
  .aux-page .aux-option-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 12px; }
  .aux-page .aux-option-row .chk:has(#unifiedMult) { grid-column:1 / -1; }
  .aux-page .aux-option-row .spacer { display:none; }
  .aux-page .aux-option-row > button { width:100%; min-width:0; }
  .aux-page .aux-option-row #copy { grid-column:1; }
  .aux-page .aux-option-row #csv { grid-column:2; }
  .aux-page .aux-scroll-hint { margin:8px 0; }
  .aux-page .wrap { max-height:62dvh; }
  .aux-page .meta { gap:8px 16px; }
  .aux-debug .deal-row { grid-template-columns:minmax(0,1fr) 44px; gap:8px; padding:12px 0; border-bottom:1px solid var(--ui-border); }
  .aux-debug .dr-acct { grid-column:1; }
  .aux-debug .dr-cards { grid-column:1; grid-row:2; }
  .aux-debug .dr-del { grid-column:2; grid-row:1 / 3; }
  .aux-debug .deal-row input { font-size:16px; }
  .aux-debug .deal-btns button { flex:1 1 130px; }
  .aux-replay .rp-title { font-size:13px; }
  .aux-replay .rp-top { gap:6px; padding:6px 10px; }
  .aux-replay #rpMeta { flex:1 1 100%; order:3; font-size:11px; overflow:hidden; text-overflow:ellipsis; }
  .aux-replay .rp-top .rp-home, .aux-replay .rp-top .rp-back { padding:7px; font-size:11px; min-height:36px; }
  .aux-replay .rp-controls { display:grid; grid-template-columns:36px 1fr 1.2fr 1fr 36px; gap:5px; }
  .aux-replay .rp-controls button { padding:0 5px; font-size:12px; min-width:0; min-height:44px; }
  .aux-replay .rp-controls button.primary { min-width:0; }
  .aux-replay #rpSlider { grid-column:1 / 4; width:100%; min-width:0; }
  .aux-replay #rpSpeed { min-height:36px; width:100%; }
  .aux-replay .rp-tabs { max-width:100%; }
  .aux-replay #rpHand { --hand-card-w:44px; --hand-card-h:62px; --hand-step:26px; min-height:72px; }
  .aux-replay .rp-result { padding:14px; }
}
@media(orientation:landscape) and (max-height:540px) {
  .aux-page:not(.aux-replay) .wrap { max-height:72dvh; }
  .aux-debug .gate { align-items:flex-start; }
  .aux-replay .rp-title, .aux-replay .rp-top .synthetic-notice { display:none; }
  .aux-replay #rpMeta { flex:1 1 auto; order:0; }
  .aux-replay .rp-top { flex-wrap:nowrap; padding:4px 10px; min-height:36px; }
  .aux-replay .rp-top .rp-home, .aux-replay .rp-top .rp-back { min-height:32px; padding:4px 7px; }
  .aux-replay .rp-hand-row { flex-direction:row; min-width:0; align-items:center; gap:10px; }
  .aux-replay .rp-tabs { flex:0 1 34%; max-width:34%; }
  .aux-replay .rp-tabs button { min-height:36px; padding:0 8px; font-size:11px; }
  .aux-replay #rpHand { flex:1; min-height:52px; --hand-card-w:34px; --hand-card-h:48px; --hand-step:22px; padding:2px 0; }
  .aux-replay .rp-controls { display:flex; flex-wrap:nowrap; }
  .aux-replay .rp-controls button { min-height:36px; }
  .aux-replay .rp-controls input[type=range] { flex:1; min-width:70px; }
  .aux-replay .rp-bottom { padding:4px max(10px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)); gap:2px; }
  .aux-replay .replay-search { margin:5px 10px; padding:8px 12px; gap:8px; }
  .aux-replay .replay-search .aux-help { display:none; }
  .aux-replay .rp-state { margin:5px 10px; padding:8px 12px; }
  .aux-replay .rp-state p { margin:0; }
}
@media(prefers-reduced-motion:reduce) {
  .aux-page *, .aux-page *::before, .aux-page *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
