/* Prontera First Light: shared by the local and friends' tables. */
:root {
  color-scheme: light;
  --bg: #fffdf7;
  --bg-2: #fffdf7;
  --panel: #fffdf7;
  --panel-2: #f1f7fa;
  --panel-solid: #fffdf7;
  --border: #deecf4;
  --text: #314b59;
  --text-dim: #557f99;
  --text-faint: #6d9bb9;
  --gold: #557f99;
  --gold-2: #c5dce9;
  --red: #6d9bb9;
  --green: #367768;
  --blue: #286786;
  --jade: #367768;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 20px 64px #557f9920, 0 3px 12px #557f9910;
  --shadow-sm: 0 5px 16px #557f9917;
}
body {
  background: #fffdf7;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
::selection { color: #fff; background: #6d9bb9; }
h1, h2, h3 { text-wrap: balance; }
p, .local-help, .online-room-copy { text-wrap: pretty; }
button, select, input, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #557f99;
  outline-offset: 3px;
}
body.ro-theme .btn, .local-option, .online-secondary, .online-seat-take, .online-share, .local-start {
  transition: transform 120ms, background-color 160ms, border-color 160ms, box-shadow 160ms, opacity 160ms;
}
body.ro-theme .btn:active:not(:disabled), .local-option:active:not(:disabled), .local-start:active:not(:disabled),
.online-secondary:active:not(:disabled), .online-seat-take:active:not(:disabled), .online-share:active:not(:disabled) {
  transform: scale(.96);
}
body.ro-theme .btn {
  color: #425f71;
  background: linear-gradient(#fffdf9, #fffdf7);
  border-color: #deecf4;
  border-radius: 10px;
  box-shadow: inset 0 1px #fff, 0 3px 7px #6d9bb920;
}
body.ro-theme .btn.btn-primary, .local-start {
  color: #fff;
  background: linear-gradient(160deg, #6d9bb9, #6d9bb9);
  border-color: #8bb0c6;
  box-shadow: inset 0 1px #deecf4, 0 5px 12px #6d9bb92b;
}
body.ro-theme .btn.btn-danger {
  color: #fff;
  background: linear-gradient(160deg, #6d9bb9, #557f99);
  border-color: #6d9bb9;
}
body.ro-theme .btn.btn-ghost { background: transparent; box-shadow: none; }
body.ro-theme .btn-sm, body.ro-theme .chip { min-height: 40px; }
body.ro-theme .chip { border-radius: 10px; }
body.ro-theme .chip.active { color: #557f99; background: #f1f7fa; border-color: #8bb0c6; }
body.ro-theme .btn:disabled, .local-option:disabled { opacity: .48; }
body.ro-theme .btn-primary:disabled, .local-start:disabled { color: #fff; }
@media (hover:hover) {
  body.ro-theme .btn:hover:not(:disabled), .online-secondary:hover:not(:disabled) { color: #425f71; background: #f1f7fa; border-color: #8bb0c6; }
  body.ro-theme .btn.btn-primary:hover:not(:disabled), .local-start:hover:not(:disabled) { color: #fff; background: linear-gradient(160deg, #6d9bb9, #557f99); border-color: #6d9bb9; }
  body.ro-theme .btn.btn-ghost:hover:not(:disabled) { background: #f1f7fa; }
}
.local-lobby {
  background: radial-gradient(ellipse at 5% 38%, #f1f7fab3, transparent 53%), radial-gradient(ellipse at 95% 85%, #deecf473, transparent 48%), #fffdf7;
  color: var(--text);
}
.local-brand { color: #425f71; letter-spacing: 1.6px; min-height: 54px; }
.local-brand-mark {
  width: 60px;
  height: 54px;
  flex: none;
  font-size: 0;
  background: url('/guandan/assets/ro-poring.svg') center / contain no-repeat;
}
.local-badge { color: #557f99; background: #fffdf9; border-color: #deecf4; box-shadow: 0 2px 6px #8bb0c610; }
.local-eyebrow { color: #6d9bb9; letter-spacing: 1.8px; }
.local-intro h1 { color: #425f71; letter-spacing: 5px; }
.local-lead { color: #557f99; }
.local-keyboard, .local-help, .local-entry-footer { color: #6d9bb9; }
.local-keyboard { max-width: 370px; line-height: 1.8; }
.local-cards { width: 350px; isolation: isolate; }
.local-cards::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -25px;
  bottom: 0;
  width: 125px;
  height: 150px;
  background: url('/guandan/assets/ro-angeling.svg') center / contain no-repeat;
  pointer-events: none;
  transform: rotate(8deg);
}
.local-card { background: #fffdf8; border-color: #deecf4; box-shadow: 0 5px 12px #8bb0c624, 0 20px 34px #6d9bb916; }
.local-card.card-middle { color: #6d9bb9; }
.local-card small { color: #6d9bb9; background: #fffdf7; border-color: #c5dce9; }
.local-settings { color: #425f71; background: #fffdf8ed; border: 1px solid #deecf4; border-radius: 12px; box-shadow: 0 12px 40px #6d9bb920, inset 0 1px #fff; }
.local-section-heading { color: #425f71; }
.local-section-heading small, .local-settings legend { color: #6d9bb9; }
.local-option { color: #557f99; background: #fffdf7; border-color: #deecf4; border-radius: 8px; }
.local-option.active { color: #557f99; background: #f1f7fa; border-color: #c5dce9; box-shadow: inset 0 1px #fff; }
.local-option:hover { color: #557f99; border-color: #c5dce9; }
.local-start { border-radius: 10px; min-height: 56px; }
.local-text-button { color: #557f99; min-height: 40px; display: inline-flex; align-items: center; }
.local-footer { color: #6d9bb9; border-color: #deecf4; }
.local-boot { color: #557f99; background: #fffdf7; }
/* The cream top strip stays distinct from the translucent morning table. */
body.ro-theme .shell > .bar {
  color: #425f71;
  background: linear-gradient(110deg, #fffdf7, #fffdf7);
  border-bottom: 1px solid #deecf4;
  box-shadow: 0 3px 10px #557f9914;
}
body.ro-theme .shell > .bar .title strong { color: #314b59; }
body.ro-theme .shell > .bar .sub, body.ro-theme .rules-btn { color: #557f99; }
body.ro-theme .shell > .bar .btn-icon { color: #557f99; }
body.ro-theme .shell > .bar .title { padding-left: 34px; background: url('/guandan/assets/ro-poring.svg') left center / 29px 34px no-repeat; }
body.ro-theme .watch-tag, body.ro-theme .replay-tag { color: #276b8c; background: #e1f2fb; border-color: #aed8ed; }
body.ro-theme .guandan { --table-bg: radial-gradient(ellipse at 50% 35%, #deecf4, #deecf4 72%, #c5dce9); }
body.ro-theme .table-felt { box-shadow: inset 0 0 45px #8bb0c62b; }
body.ro-theme .table-felt::before {
  inset: 9px;
  border: 2px dashed #c5dce9;
  border-radius: 12px;
  box-shadow: 0 0 0 5px #fffdf7bf, inset 0 0 0 3px #f1f7fa;
}
body.ro-theme .table-felt::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  bottom: auto;
  width: 76px;
  height: 76px;
  background: url('/guandan/assets/ro-poring.svg') center / contain no-repeat;
  pointer-events: none;
}
body.ro-theme .card-actions .act {
  border-radius: 10px;
  box-shadow: 0 4px #6d9bb935, 0 6px 12px #6d9bb920, inset 0 1px #fff8;
  border-width: 1px;
}
body.ro-theme .card-actions .act.primary { color: #fff; background: linear-gradient(#6d9bb9, #6d9bb9); border-color: #8bb0c6; }
body.ro-theme .card-actions .act.secondary { color: #314b59; background: linear-gradient(#fffefa, #f1f7fa); border-color: #deecf4; }
body.ro-theme .card-actions .act.blue { color: #275e85; background: linear-gradient(#dbf3ff, #a9d8f5); border-color: #91c7e6; }
body.ro-theme .card-actions .act.danger { color: #fff; background: linear-gradient(#6d9bb9, #557f99); border-color: #6d9bb9; }
body.ro-theme .card-actions .act:active:not(:disabled), body.ro-theme .card-actions .act.pressed { transform: scale(.96); box-shadow: 0 1px #6d9bb935, inset 0 1px #fff8; }
body.ro-theme .card-actions .act:focus-visible { outline: 3px solid #557f99; outline-offset: 3px; box-shadow: 0 0 0 5px #fffdf7, 0 4px #6d9bb935; }
body.ro-theme .card-actions kbd { background: #425f7116; }
body.ro-theme .selected-play-type { color: #425f71 !important; text-shadow: 0 1px 3px #fffdf7 !important; }
body.ro-theme .accessible-hand button:focus-visible { background: #fffdf7aa; outline-color: #557f99; }
body.ro-theme .accessible-hand button span, body.ro-theme .keyboard-help { color: #425f71; background: #fffdf7f5; box-shadow: 0 2px 8px #6d9bb920; }
/* These panels have inline colors in the shared renderer. Keep their layout intact. */
body.ro-theme .tribute-records { color: #425f71 !important; background: #fffdf7f5 !important; border-color: #deecf4 !important; }
body.ro-theme .tribute-records > div:first-child { color: #6d9bb9 !important; }
body.ro-theme .tribute-record { color: #557f99 !important; border-color: #deecf4 !important; }
body.ro-theme .round-review { color: #425f71 !important; background: #fffdf7fa !important; border-color: #c5dce9 !important; }
body.ro-theme .round-review strong { color: #557f99 !important; }
body.ro-theme .round-review span { color: #557f99 !important; }
body.ro-theme .partner-hand-panel { color: #425f71 !important; background: #fffdf7fa !important; border-color: #deecf4 !important; box-shadow: 0 5px 16px #557f991a; }
body.ro-theme .partner-hand-panel strong { color: #425f71; }
body.ro-theme .partner-hand-panel [aria-expanded] { color: #557f99 !important; min-width: 40px; min-height: 40px; }
body.ro-theme .partner-hand-panel strong + span { color: #6d9bb9 !important; }
body.ro-theme .partner-hand-panel [role='listitem'] { background: #fffdf8 !important; border-color: #deecf4 !important; }
/* Dialogs, end-of-round controls, and connection notices. */
.local-modal-backdrop, body.ro-theme .backdrop { background: #557f9966; }
.local-modal, body.ro-theme .modal { color: #425f71; background: #fffdf7; border: 1px solid #deecf4; box-shadow: 0 24px 90px #425f7135; }
.local-modal { border-radius: 12px; }
.local-modal h2 { color: #557f99; }
.local-modal p, .local-modal li { color: #557f99; }
body.ro-theme .toc-bar { background: #fffdf7; box-shadow: 0 5px 10px -8px #6d9bb9; }
body.ro-theme .result-emblem { color: #557f99; background: #f1f7fa; border-color: #c5dce9; box-shadow: 0 8px 18px #6d9bb920; }
body.ro-theme .result-emblem.win { color: #6d9bb9; background: #f1f7fa; border-color: #c5dce9; }
body.ro-theme .result-emblem.lose { color: #447c99; background: #e6f3fb; border-color: #b5d9e9; }
body.ro-theme .result-title.lose, body.ro-theme .score.neg, body.ro-theme .elo.down { color: #54788e; }
body.ro-theme .result-actions .result-primary { box-shadow: 0 6px 18px #8bb0c62b; }
body.ro-theme .rows li.me { background: #fffdf7; outline-color: #c5dce9; }
body.ro-theme .tag { color: #557f99; background: #f1f7fa; }
body.ro-theme .ended-actions, body.ro-theme .trustee-bar { color: #425f71; background: #fffdf7f5; border-color: #c5dce9; }
body.ro-theme .conn-banner { color: #557f99; background: #fffdf7f5; border-color: #c5dce9; }
body.ro-theme .chat-drawer { color: #425f71; background: #fffdf7fa; border: 1px solid #deecf4; border-radius: 12px; }
body.ro-theme .input-row input { background: #fffdf7; }
body.ro-theme .mine .bubble { background: #f1f7fa; }
.local-toast, body.ro-theme .toast { color: #425f71; background: #fffdf7f5; border-color: #deecf4; box-shadow: 0 8px 25px #557f9924; }
.local-toast.error, body.ro-theme .toast.error { color: #557f99; border-color: #c5dce9; }
body.ro-theme .toast.success { color: #367567; border-color: #a5d1bc; }
body.ro-theme .toast-enter-active, body.ro-theme .toast-leave-active { transition: opacity 180ms, transform 180ms; }
/* Friends' lobby and waiting seats. */
.online-field-label, .online-room-heading p, .online-room-copy, .online-invite-expanded label { color: #557f99; }
.online-input, .online-invite-link, .online-perspective-control select {
  color: #425f71;
  background: #fffdf7;
  border-color: #deecf4;
  border-radius: 8px;
}
.online-input:focus, .online-invite-link:focus { border-color: #8bb0c6; box-shadow: 0 0 0 3px #deecf44d; }
.online-input::placeholder { color: #8bb0c6; }
.online-input option, .online-seat-choice option, .online-perspective-control option { color: #425f71; background: #fffdf7; }
.online-secondary { color: #557f99; background: #fffdf7; border-color: #deecf4; border-radius: 10px; min-height: 40px; }
.online-seat { color: #425f71; background: #fffdf8d9; border-color: #deecf4; border-radius: 12px; box-shadow: 0 4px 14px #6d9bb910; }
.online-seat.mine { background: #fffdf7; border-color: #c5dce9; box-shadow: inset 0 0 0 2px #f1f7fa, 0 4px 14px #6d9bb910; }
.online-seat.empty { background: #fffdf7b3; border-color: #deecf4; }
.online-avatar, .online-seat.empty .online-avatar { width: 56px; height: 56px; color: #6d9bb9; background: #fffdf7; border-color: #deecf4; border-radius: 50%; overflow: hidden; }
.online-avatar img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.online-seat-details > span, .online-seat.empty .online-seat-state { color: #6d9bb9; }
.online-seat-details > .online-seat-label { color: #6d9bb9; }
.online-seat-state { color: #4b8a74; }
.online-seat-state.away { color: #557f99; }
.online-seat-take { color: #557f99; background: #fffdf7; border-color: #c5dce9; border-radius: 10px; }
.online-seat-take:hover:not(:disabled) { color: #557f99; background: #f1f7fa; border-color: #8bb0c6; }
.online-share { color: #557f99; background: #fffdf7; border-color: #c5dce9; border-radius: 10px; }
.online-share:hover { background: #f1f7fa; }
.online-invite-expanded small, .online-room-summary { color: #6d9bb9; }
.online-room-summary, .online-room-actions .online-perspective-control { border-color: #deecf4; }
.online-wait-owner { color: #6d9bb9; background: #fffdf7; border-color: #deecf4; }
.online-error { color: #557f99; background: #fffdf7; border-color: #deecf4; }
.online-table-info { color: #6d9bb9; background: #fffdf7; border-bottom-color: #deecf4; }
.online-table-room { color: #557f99; }
.online-table-warning { color: #6d9bb9; }
.online-perspective-control label { color: #557f99; }
.online-perspective-control select { min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.online-perspective-status { color: #6d9bb9; }
.online-status-dot { background: #69a790; }
.online-status-dot.reconnecting { background: #8bb0c6; }
.online-reconnecting { color: #557f99; background: #f1f7fa; border-color: #c5dce9; }
@media (max-width: 900px) {
  .local-cards { width: 315px; }
  .local-cards::after { right: -12px; width: 108px; height: 130px; }
}
@media (max-width: 700px) {
  .local-brand { font-size: 11px; letter-spacing: .8px; gap: 7px; }
  .local-brand-mark { width: 44px; height: 44px; }
  .local-badge { font-size: 10px; padding: 6px 10px; }
  .local-keyboard { margin-left: auto; margin-right: auto; }
  .local-cards { width: 310px; }
  .local-cards::after { right: -6px; }
  .online-avatar, .online-seat.empty .online-avatar { width: 43px; height: 43px; }
  .online-seat { border-radius: 10px; }
  .online-seat-details strong { max-width: 90px; }
  .online-table-info > .local-text-button { min-height: 40px; }
  body.ro-theme .table-felt::before { inset: 5px; border-radius: 19px; box-shadow: 0 0 0 3px #fffdf7bf, inset 0 0 0 2px #f1f7fa; }
  body.ro-theme .table-felt::after { display: none; }
  body.ro-theme .shell > .bar .title { background: none; padding-left: 0; }
  .local-modal { padding: 25px 21px; }
}
@media (max-width: 360px) {
  .local-lobby { padding-left: 15px; padding-right: 15px; }
  .local-brand { gap: 5px; font-size: 10px; letter-spacing: 0; }
  .local-badge { padding: 6px 8px; }
  .local-entry { padding-top: 30px; }
  .local-settings { padding: 22px 18px; }
  .online-entry .local-intro h1 { font-size: 36px; letter-spacing: 2px; }
  .online-seats { gap: 8px; }
  .online-seat { padding-left: 10px; padding-right: 10px; gap: 7px; }
  .online-avatar, .online-seat.empty .online-avatar { width: 35px; height: 35px; }
  .online-seat-details strong { max-width: 74px; }
  body.ro-theme .partner-hand-panel { padding-left: 8px !important; padding-right: 8px !important; }
}
@media (orientation:landscape) and (max-height:500px) {
  body.ro-theme .table-felt::after { display: none; }
  .online-table-info { padding-top: 2px; padding-bottom: 2px; }
  .online-table-info .online-perspective-control select { min-height: 40px; }
  body.ro-theme .shell > .bar .title { background: none; padding-left: 0; }
}
@media (prefers-reduced-motion:reduce) {
  body.ro-theme .btn, .local-option, .online-secondary, .online-seat-take, .online-share, .local-start { transition: none; }
  body.ro-theme .card-actions .act:active:not(:disabled), body.ro-theme .card-actions .act.pressed,
  body.ro-theme .btn:active:not(:disabled), .local-option:active:not(:disabled), .local-start:active:not(:disabled),
  .online-secondary:active:not(:disabled), .online-seat-take:active:not(:disabled), .online-share:active:not(:disabled) { transform: none; }
}

/* Results are teleported beside #app; the real seat travels with each avatar. */
body.ro-theme .kitty-result-avatar .avatar {
  background-color: #fffdf7;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-color: #deecf4;
  box-shadow: 0 2px 6px #6d9bb91c;
}
body.ro-theme .kitty-result-avatar .face { visibility: hidden; }
body.ro-theme .kitty-result-avatar.kitty-seat-0 .avatar { background-image: url('/guandan/assets/ro-poring.svg'); }
body.ro-theme .kitty-result-avatar.kitty-seat-1 .avatar { background-image: url('/guandan/assets/ro-poporing.svg'); }
body.ro-theme .kitty-result-avatar.kitty-seat-2 .avatar { background-image: url('/guandan/assets/ro-angeling.svg'); }
body.ro-theme .kitty-result-avatar.kitty-seat-3 .avatar { background-image: url('/guandan/assets/ro-deviling.svg'); }

/* Sound wardrobe: the existing mute switch keeps authority over previews too. */
body.ro-theme .kitty-sound-trigger { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 6px 10px; font-size: 12px; white-space: nowrap; }
body.ro-theme .kitty-sound-intro { margin: 0 0 18px; color: #557f99; line-height: 1.7; font-size: 13px; }
body.ro-theme .kitty-sound-options { display: grid; gap: 10px; }
body.ro-theme .kitty-sound-option { display: flex; align-items: center; gap: 5px; padding: 5px 9px 5px 5px; border: 1px solid #deecf4; border-radius: 10px; background: #fffdf9; transition: border-color 140ms, background-color 140ms; }
body.ro-theme .kitty-sound-option.selected { border-color: #8bb0c6; background: #fffdf7; }
body.ro-theme .kitty-sound-choice { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; min-height: 64px; padding: 8px; color: #425f71; text-align: left; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
body.ro-theme .kitty-sound-symbol { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; color: #6d9bb9; background: #f1f7fa; font-size: 24px; }
body.ro-theme .kitty-sound-copy { display: grid; gap: 5px; }
body.ro-theme .kitty-sound-copy strong { font-size: 14px; font-weight: 650; }
body.ro-theme .kitty-sound-copy small { color: #6d9bb9; font-size: 11px; line-height: 1.4; }
body.ro-theme .kitty-sound-check { margin-left: auto; color: #6d9bb9; font-size: 17px; }
body.ro-theme .kitty-sound-preview { flex: 0 0 auto; min-width: 46px; min-height: 40px; padding: 5px 8px; color: #557f99; background: #fffdf7; border: 1px solid #deecf4; border-radius: 10px; }
body.ro-theme .kitty-sound-preview:disabled { opacity: .45; cursor: default; }
body.ro-theme .kitty-sound-choice:focus-visible, body.ro-theme .kitty-sound-preview:focus-visible { outline: 3px solid #6d9bb9; outline-offset: 3px; }
body.ro-theme .kitty-sound-note { margin: 15px 0 18px; color: #6d9bb9; font-size: 11px; line-height: 1.6; }
body.ro-theme .kitty-sound-done { width: 100%; min-height: 44px; }
@media (max-width: 700px) {
  body.ro-theme .kitty-sound-trigger { width: 40px; min-width: 40px; padding: 7px; justify-content: center; }
  body.ro-theme .kitty-sound-trigger > span { display: none; }
}
@media (max-width: 380px) {
  body.ro-theme .kitty-sound-choice { gap: 7px; padding: 7px 5px; }
  body.ro-theme .kitty-sound-symbol { flex-basis: 29px; height: 29px; font-size: 21px; }
  body.ro-theme .kitty-sound-copy small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ro-theme .kitty-sound-option { transition: none; }
}


/* Selected RO edition. Only appearance changes: canvas sizing and action coordinates stay with the renderer. */
:root {
  --font-ui: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Baskerville, "Iowan Old Style", Georgia, serif;
  --font-card: Georgia, "Times New Roman", serif;
  --bg: #fffdf7; --bg-2: #f1f7fa; --panel: #fffdf7; --panel-2: #eaf2f7;
  --panel-solid: #fffdf7; --border: #b3cbd6; --text: #314b59;
  --text-dim: #627887; --text-faint: #728792; --gold: #557f99;
  --gold-2: #6d9bb9; --red: #b0444d; --green: #4c7e6e; --blue: #557f99; --jade: #4c7e6e;
  --radius: 12px; --radius-sm: 8px;
  --shadow: 0 2px 5px #314b5908, 0 15px 45px #314b5912;
  --shadow-sm: 0 3px 12px #314b5912;
  font-family: var(--font-ui); color-scheme: light;
}
body.ro-theme { color: var(--text); background: var(--bg); font-family: var(--font-ui); font-variant-numeric: lining-nums tabular-nums; }
body.ro-theme :is(button,input,select,textarea) { font-family: var(--font-ui); }
body.ro-theme :is(h1,h2,h3) { font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; }
body.ro-theme :is(button,a,input,select,textarea):focus-visible { outline-color: #6d9bb9; }
body.ro-theme .btn, .local-option, .online-secondary, .online-seat-take, .online-share, .local-start { border-radius: 8px; }
body.ro-theme .btn.btn-primary, .local-start, .ro-primary { color: #fff; background: #6d9bb9; border: 1px solid #6d9bb9; box-shadow: 0 2px 5px #314b5912; }
body.ro-theme .btn.btn-danger { color: #fff; background: #b0444d; border-color: #b0444d; }
.local-start { min-height: 48px; }
.local-option { color: #627887; background: #fffdf7; border-color: #c5d5df; line-height: 1.4; padding: 9px 8px; }
.local-option.active { color: #426c88; background: #eaf2f7; border-color: #6d9bb9; }
.local-lobby { background: #f7faf9; }
.local-brand { color: #314b59; letter-spacing: -.015em; font-size: 18px; }
.local-brand-mark { background-image: url('/guandan/assets/ro-poring.svg'); }
.local-eyebrow { color: #627887; font-size: 11px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; }
.local-intro h1 { color: #314b59; font-size: clamp(34px,4vw,48px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.local-lead { color: #627887; font-size: 15px; line-height: 1.7; }
.local-settings, .ro-character-side, .ro-avatar-card { position: relative; isolation: isolate; color: #314b59; background: #fffdf7f5; border: 1px solid #b3cbd6; border-radius: 10px; box-shadow: var(--shadow); }
.local-settings::after, .ro-character-side::after, .ro-avatar-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: url('/guandan/assets/ro-prontera.png') right bottom / auto 115% no-repeat; opacity: .055;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 100% 100%,#000,transparent 90%);
  mask-image: radial-gradient(ellipse 85% 80% at 100% 100%,#000,transparent 90%);
}
.local-section-heading { color: #314b59; gap: 12px; font-size: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.local-section-heading small { color: #627887; font-size: 12px; }
.local-help, .local-keyboard, .local-entry-footer, .local-settings legend { color: #627887; font-size: 12px; letter-spacing: 0; line-height: 1.6; }
.local-text-button { color: #557f99; font-size: 13px; line-height: 1.4; min-height: 40px; }
.local-lobby .local-entry { gap: clamp(28px,5vw,70px); grid-template-columns: minmax(0,1fr) minmax(0,440px); }
.local-entry > *, .online-room-layout > * { min-width: 0; }
.local-entry-footer { flex-wrap: wrap; }
.local-modal, body.ro-theme .modal { border-radius: 12px; }
.local-modal-backdrop, body.ro-theme .backdrop { background: #314b5966; }
.local-rules { max-height: 85dvh; overflow-y: auto; }
.local-modal h2 { color: #314b59; }
.local-toast.error, body.ro-theme .toast.error, .online-error { color: #b0444d; border-color: #d9afb3; background: #fff5f4; }
/* The scenic layer is behind Pixi and all input overlays. It never intercepts a selected card. */
body.ro-theme .guandan { --table-bg: #eef5f5; isolation: isolate; }
body.ro-theme .table-felt { box-shadow: inset 0 0 40px #6d9bb914; }
body.ro-theme .table-felt::before {
  content: ''; position: absolute; inset: 0; z-index: 0; border: 0; border-radius: 0; box-shadow: none;
  background: url('/guandan/assets/ro-prontera.png') center 46% / cover no-repeat; opacity: .24; pointer-events: none;
}
body.ro-theme .table-felt::after {
  content: ''; display: block; position: absolute; inset: 9px; z-index: 0; width: auto; height: auto;
  border: 1px solid #9ab8c56b; border-radius: 12px; background: none; opacity: 1; pointer-events: none;
}
body.ro-theme .guandan > .stage { z-index: 1; }
body.ro-theme .shell > .bar { color: #314b59; background: #fffdf7; border-bottom-color: #c6d7de; box-shadow: 0 2px 7px #314b5908; }
body.ro-theme .shell > .bar .title strong { color: #314b59; }
body.ro-theme .shell > .bar .title { background-image: url('/guandan/assets/ro-poring.svg'); }
body.ro-theme .card-actions .act { border-radius: 8px; box-shadow: 0 2px 5px #314b5915; }
body.ro-theme .card-actions .act.primary { color: #fff; background: #6d9bb9; border-color: #6d9bb9; }
body.ro-theme .card-actions .act.secondary { color: #314b59; background: #fffdf7; border-color: #b3cbd6; }
body.ro-theme .card-actions .act.blue { color: #426c88; background: #eaf2f7; border-color: #adc8d8; }
body.ro-theme .card-actions .act.danger { color: #fff; background: #b0444d; border-color: #b0444d; }
body.ro-theme .selected-play-type { color: #314b59 !important; text-shadow: 0 1px 3px #fffdf7 !important; }
body.ro-theme :is(.card-rank,.card-corner-bottom,.card-center,.local-card b,.local-card > span) { font-family: var(--font-card); }
body.ro-theme .ro-theme-joker { object-fit: contain; }
/* The lobby opens immediately; the profile and companions remain available from its header. */
.ro-app { font-family: var(--font-ui); }
.ro-app img { display: block; max-width: 100%; object-fit: contain; }
.ro-field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; font-size: 13px; font-weight: 600; }
.ro-field input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 11px 13px; color: #314b59; background: #ffffffb3; border: 1px solid #b3cbd6; border-radius: 6px; font-size: 15px; font-weight: 400; }
.ro-primary { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 11px 16px; border: 1px solid #b3cbd6; border-radius: 7px; font: 600 14px/1.4 var(--font-ui); cursor: pointer; transition: background-color 160ms,transform 120ms,box-shadow 160ms; }
.ro-primary > span:last-child { margin-left: auto; }
.ro-character-screen { min-height: 100svh; box-sizing: border-box; padding: 25px max(24px,calc((100vw - 1200px)/2)) 40px; background: #f7faf9; }
.ro-world-header { display: flex; align-items: center; gap: 25px; min-height: 63px; padding: 0 0 19px; border-bottom: 1px solid #c6d7de; }
.ro-brand-button { display: inline-flex; align-items: center; gap: 10px; min-width: 0; padding: 0; color: #314b59; background: transparent; border: 0; font: 600 18px/1.25 var(--font-ui); letter-spacing: -.025em; cursor: pointer; text-align: left; }
.ro-brand-button img { width: 44px; height: 44px; flex: none; }
.ro-world-nav { display: flex; align-items: center; gap: 21px; margin-left: auto; }
.ro-world-nav .local-text-button { text-decoration: none; }
.ro-world-nav [aria-current=page] { color: #314b59; box-shadow: 0 2px #6d9bb9; }
.ro-profile { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; padding: 3px 7px; color: #627887; background: transparent; border: 1px solid transparent; border-radius: 8px; font: 500 12px/1.4 var(--font-ui); cursor: pointer; transition: background-color 160ms,border-color 160ms; }
.ro-profile img { width: 38px; height: 38px; flex: none; }
.ro-profile span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ro-page-intro { max-width: 1200px; margin: 39px auto 28px; }
.ro-page-intro h1 { margin: 7px 0 0; color: #314b59; font-size: 38px; }
.ro-character-layout { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 165px minmax(0,1fr) 220px; gap: 23px; align-items: start; }
.ro-character-intro { padding-top: 13px; }
.ro-character-intro h2 { color: #314b59; font-size: 28px; margin: 10px 0 0; }
.ro-character-pet { width: 165px; height: 180px; }
.ro-avatar-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.ro-avatar-card { display: flex; align-items: center; flex-direction: column; padding: 20px 10px 18px; min-width: 0; min-height: 255px; text-align: center; cursor: pointer; transition: border-color 160ms,box-shadow 160ms,transform 120ms,background-color 160ms; }
.ro-avatar-card.is-selected { border-color: #6d9bb9; box-shadow: 0 0 0 1px #6d9bb9,var(--shadow); background: #fffdf7; }
.ro-avatar-card-art { position: relative; width: 125px; height: 136px; margin: 0 auto 14px; }
.ro-avatar-card-name { font-size: 15px; font-weight: 600; line-height: 1.4; }
.ro-avatar-card-caption { color: #627887; font-size: 12px; line-height: 1.5; margin-top: 7px; }
.ro-avatar-selected { display: inline-block; margin-top: auto; padding-top: 13px; color: #557f99; font-size: 11px; }
.ro-character-side { padding: 23px; text-align: center; }
.ro-character-side .local-eyebrow { text-align: left; }
.ro-profile-name { text-align: left; margin: 0 0 20px; }
.ro-selected-portrait { width: 118px; height: 120px; margin: 0 auto 14px; }
.ro-character-side h2 { font-size: 29px; margin: 4px 0 8px; }
.ro-character-side > p:not(.local-eyebrow) { color: #627887; font-size: 12px; margin-bottom: 20px; }
.ro-lobby-mascot { width: 280px; height: 240px; margin: 3px 0 0; }
.ro-companions { min-width: 0; padding: 0; border: 0; margin: 0 0 25px; }
.ro-companion-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.ro-companion { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 6px 4px 9px; min-height: 78px; border: 1px solid #c5d5df; border-radius: 8px; color: #627887; background: #fffdf7; cursor: pointer; transition: border-color 160ms,box-shadow 160ms,background-color 160ms,transform 120ms; }
.ro-companion img { width: 55px; height: 50px; object-fit: contain; }
.ro-companion span { font-size: 11px; line-height: 1.4; }
.ro-companion.active { color: #426c88; border-color: #6d9bb9; background: #eaf2f7; box-shadow: inset 0 0 0 1px #6d9bb922; }
.ro-entry-intro .local-lead { font-family: var(--font-display); font-size: clamp(26px,3vw,38px); line-height: 1.25; color: #314b59; }
.ro-online-mascot { width: 280px; height: 245px; margin-top: 10px; }
.ro-online-mascot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.online-entry .local-intro h1 { white-space: normal; letter-spacing: -.02em; }
.online-entry-tabs .local-option { font-size: 12px; padding-inline: 5px; white-space: normal; }
.online-input, .online-invite-link, .online-perspective-control select { color: #314b59; background: #fffdf7; border-color: #b3cbd6; border-radius: 7px; }
.online-seat { border-radius: 10px; }
.online-seat-details strong { color: #314b59; }
.online-seat-details > span { font-size: 12px; }
.online-room-heading h1 { font-family: var(--font-display); letter-spacing: -.02em; font-weight: 500; }
.online-table-info { color: #627887; background: #fffdf7; }
.online-table-room { color: #557f99; }
@media (hover:hover) {
  body.ro-theme .btn.btn-primary:hover:not(:disabled), .local-start:hover:not(:disabled), .ro-primary:hover:not(:disabled) { color: #fff; background: #5d8da9; border-color: #5d8da9; }
  .ro-profile:hover { background: #eaf2f7; border-color: #c5d5df; }
  .ro-avatar-card:hover:not(:disabled) { background: #f5fafc; border-color: #8bb0c6; box-shadow: 0 4px 14px #314b5918; }
  .ro-companion:hover:not(:disabled) { background: #f1f7fa; border-color: #8bb0c6; }
}
.ro-primary:active:not(:disabled), .ro-avatar-card:active:not(:disabled), .ro-companion:active:not(:disabled), .ro-brand-button:active { transform: scale(.96); }
@media (max-width:1100px) {
  .ro-character-layout { grid-template-columns: minmax(0,1fr) 220px; }
  .ro-character-intro { display: none; }
  .ro-avatar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ro-avatar-card { min-height: 230px; }
  .ro-world-header { gap: 18px; }
}
@media (max-width:700px) {
  .ro-character-screen { padding: 19px 18px 30px; }
  .ro-world-header { flex-wrap: wrap; gap: 11px 16px; padding-bottom: 13px; }
  .ro-brand-button { font-size: 16px; max-width: calc(100% - 46px); }
  .ro-brand-button img { width: 36px; height: 36px; }
  .ro-world-nav { order: 2; margin: 0; gap: 22px; flex-basis: 100%; }
  .ro-world-nav .local-text-button { font-size: 13px; }
  .ro-profile { margin-left: auto; }
  .ro-profile img { width: 31px; height: 31px; }
  .ro-profile span { display: none; }
  .ro-page-intro { margin: 27px 0 21px; }
  .ro-page-intro h1 { font-size: 31px; }
  .ro-character-layout { grid-template-columns: minmax(0,1fr); gap: 21px; }
  .ro-avatar-grid { gap: 10px; }
  .ro-avatar-card { min-height: 209px; padding: 13px 8px; }
  .ro-avatar-card-art { width: 106px; height: 112px; margin-bottom: 10px; }
  .ro-avatar-card-name { font-size: 15px; }
  .ro-avatar-card-caption { font-size: 12px; }
  .ro-character-side { padding: 21px; }
  .ro-selected-portrait { width: 105px; height: 100px; }
  .ro-character-side .local-eyebrow { text-align: center; }
  .ro-character-side h2 { font-size: 27px; }
  .local-lobby .local-entry { grid-template-columns: minmax(0,1fr); gap: 20px; padding-top: 27px; }
  .local-intro h1 { font-size: 36px; margin: 12px 0; }
  .local-lobby .local-settings { padding: 23px 20px; }
  .local-lead { font-size: 14px; }
  .ro-lobby-mascot { width: 170px; height: 130px; margin: 0 auto; }
  .ro-entry-intro .local-lead { font-size: 28px; }
  .ro-online-mascot { width: 170px; height: 135px; margin: 0 auto; }
  .local-brand { font-size: 15px; letter-spacing: -.02em; flex-wrap: wrap; }
  .local-brand-mark { width: 35px; height: 35px; }
  .local-badge { font-size: 11px; }
  .online-room-heading { flex-wrap: wrap; }
  .online-room-heading h1 { font-size: 29px; }
  .online-secondary { font-size: 12px; padding: 9px 12px; }
  .online-seats { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .online-seat { min-height: 108px; padding: 25px 16px 14px; }
  .online-seat-details strong { max-width: min(180px,48vw); font-size: 14px; }
  .online-seat-details > span { font-size: 12px; max-width: none; }
  .online-seat-details > .online-seat-label { font-size: 11px; }
  .online-avatar, .online-seat.empty .online-avatar { width: 43px; height: 43px; }
  .online-room-actions { padding: 23px 20px; }
  .online-room-copy, .online-room-summary { font-size: 12px; }
  .online-perspective-control label, .online-perspective-status { font-size: 12px; }
  .online-perspective-control select { max-width: 100%; }
  .online-table-info { font-size: 11px; }
  body.ro-theme .table-felt::before { inset: 0; border: 0; border-radius: 0; box-shadow: none; background-position: 44% center; }
  body.ro-theme .table-felt::after { display: block; inset: 5px; border-radius: 8px; }
}
@media (max-width:430px) {
  .local-options.difficulties { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .difficulties .local-option { font-size: 13px; min-height: 40px; }
  .ro-companion-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ro-companion { flex-direction: row; min-height: 62px; padding: 5px 7px; justify-content: flex-start; }
  .ro-companion img { width: 40px; height: 45px; flex: none; }
  .ro-companion span { font-size: 12px; }
  .local-section-heading { font-size: 18px; }
  .local-section-heading small { font-size: 12px; }
  .online-entry-tabs { gap: 6px; }
  .online-entry-tabs .local-option { font-size: 12px; min-height: 44px; line-height: 1.3; padding: 7px 4px; }
}
@media (prefers-reduced-motion:reduce) {
  .ro-primary, .ro-avatar-card, .ro-companion, .ro-profile { transition: none; }
  .ro-primary:active:not(:disabled), .ro-avatar-card:active:not(:disabled), .ro-companion:active:not(:disabled), .ro-brand-button:active { transform: none; }
}

/* A selected companion travels with its real player through the results. */
body.ro-theme .kitty-result-avatar.ro-avatar-ro-poring .avatar{background-image:url("/guandan/assets/ro-poring.svg")}
body.ro-theme .kitty-result-avatar.ro-avatar-ro-poporing .avatar{background-image:url("/guandan/assets/ro-poporing.svg")}
body.ro-theme .kitty-result-avatar.ro-avatar-ro-angeling .avatar{background-image:url("/guandan/assets/ro-angeling.svg")}
body.ro-theme .kitty-result-avatar.ro-avatar-ro-deviling .avatar{background-image:url("/guandan/assets/ro-deviling.svg")}

/* One shared music control, with a native modal above the table and cards. */
.ro-music-control { display: inline-flex; flex: 0 0 auto; align-items: center; letter-spacing: normal; }
.ro-music-control.is-floating { position: absolute; z-index: 3; top: max(20px,env(safe-area-inset-top)); right: max(24px,env(safe-area-inset-right)); }
.ro-music-trigger { display: inline-flex; justify-content: center; align-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #b3cbd6; border-radius: 50%; background: #fffdf7e8; color: #557f99; font: 23px/1 Georgia,serif; cursor: pointer; }
.ro-music-trigger:hover, .ro-music-trigger.is-playing { background: #e8f3f9; border-color: #6d9bb9; color: #314b59; }
.local-brand > .ro-music-control { margin-left: auto; }
body.ro-theme .shell > .bar .ro-music-trigger { width: 32px; height: 32px; border-color: transparent; background: transparent; }
body.ro-theme .shell > .bar .ro-music-trigger:hover, body.ro-theme .shell > .bar .ro-music-trigger.is-playing { background: #e8f3f9; }
.ro-music-dialog { box-sizing: border-box; width: min(360px,calc(100vw - 32px)); max-height: calc(100svh - 40px); overflow: auto; margin: auto; padding: 24px; color: #314b59; border: 1px solid #b3cbd6; border-radius: 15px; background: #fffdf7; box-shadow: 0 18px 60px #314b592b; font: 14px/1.5 'Avenir Next',Avenir,system-ui,sans-serif; letter-spacing: normal; }
.ro-music-dialog::backdrop { background: #263d4c66; }
.ro-music-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ro-music-heading h2 { margin: 0; font: 400 25px/1.2 Baskerville,Georgia,serif; color: #314b59; }
.ro-music-close { flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #557f99; font: 25px/1 system-ui,sans-serif; cursor: pointer; }
.ro-music-close:hover { background: #e8f3f9; }
.ro-music-track { margin: 12px 0 23px; color: #627887; font-size: 13px; }
.ro-music-enable { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 23px; }
.ro-music-switch { display: inline-flex; align-items: center; width: 44px; height: 26px; padding: 3px; border: 1px solid #b3cbd6; border-radius: 20px; background: #dce7ec; cursor: pointer; }
.ro-music-switch > span { width: 18px; height: 18px; border-radius: 50%; background: #fffdf7; box-shadow: 0 1px 3px #314b5933; }
.ro-music-switch.is-on { justify-content: flex-end; background: #6d9bb9; border-color: #6d9bb9; }
.ro-music-volume { display: grid; grid-template-columns: auto minmax(50px,1fr) 38px; align-items: center; gap: 13px; }
.ro-music-volume input { width: 100%; min-width: 0; margin: 0; accent-color: #6d9bb9; cursor: pointer; }
.ro-music-volume output { color: #557f99; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.ro-music-status { margin: 21px 0 0; color: #627887; font-size: 12px; line-height: 1.6; }
.ro-music-error { margin: 12px 0 0; color: #a03b44; font-size: 12px; }
.ro-music-trigger:focus-visible, .ro-music-close:focus-visible, .ro-music-switch:focus-visible, .ro-music-volume input:focus-visible { outline: 3px solid #6d9bb9; outline-offset: 3px; }
@media(max-width:600px) {
  .ro-music-control.is-floating { top: 16px; right: 17px; }
  .ro-world-header { column-gap: 11px; }
  .ro-music-dialog { padding: 22px; }
}

.ro-music-unmute { margin: 8px 0 0; min-height: 36px; padding: 5px 10px; border: 1px solid #b3cbd6; border-radius: 6px; background: #e8f3f9; color: #314b59; font: 600 12px/1.4 'Avenir Next',Avenir,system-ui,sans-serif; cursor: pointer; }
.ro-music-unmute:focus-visible { outline: 3px solid #6d9bb9; outline-offset: 3px; }


/* Complete production edition. These surfaces wrap the real table and rules. */
body.ro-theme .shell > .bar { min-height:53px;box-sizing:border-box; }
body.ro-theme .shell > .bar .title strong { font-size:15px;letter-spacing:-.02em; }
body.ro-theme .shell > .bar .ro-table-settings { font-size:21px;min-width:40px;min-height:40px;padding:0; }
body.ro-theme .ro-table-heading { position:absolute;top:10px;left:16px;z-index:7;display:flex;gap:13px;color:#4f7082;font-size:12px;font-weight:600;line-height:24px;pointer-events:none; }
body.ro-theme .ro-table-heading span+span { padding-left:13px;border-left:1px solid #b3cbd6; }
body.ro-theme .ro-exchange-panel { position:absolute;left:50%;top:26%;transform:translateX(-50%);display:flex;gap:16px;align-items:center;width:min(430px,calc(100% - 130px));box-sizing:border-box;padding:20px 24px;border:1px solid #c5d5df;border-radius:12px;background:#fffdf7f2;box-shadow:0 12px 35px #314b5912;pointer-events:none; }
body.ro-theme .ro-exchange-panel img { width:80px;height:86px;object-fit:contain;flex:none; }
body.ro-theme .ro-exchange-panel h2 { margin:3px 0 8px;font-size:27px; }
body.ro-theme .ro-exchange-panel p { font-size:12px;line-height:1.6;color:#627887;margin:0; }
body.ro-theme .ro-exchange-panel .ro-phase-label { font-size:10px;font-weight:600;letter-spacing:.14em;color:#557f99; }
body.ro-theme .ro-exchange-panel .ro-received-card { margin-top:8px;color:#314b59;font-weight:600; }
body.ro-theme .tribute-records { height:50px;box-shadow:0 1px 0 #b3cbd630; }
body.ro-theme .tribute-records > div:first-child { font-weight:600;letter-spacing:.02em; }
body.ro-theme .round-review { box-shadow:0 -3px 16px #314b5908; }
body.ro-theme .modal:has(.result) { width:min(640px,calc(100vw - 32px))!important;max-height:calc(100svh - 40px);overflow:auto; }
body.ro-theme .result { position:relative;padding:17px 22px 10px;isolation:isolate; }
body.ro-theme .result::before { content:'';position:absolute;inset:0;z-index:-1;background:url('/guandan/assets/ro-prontera.png') right bottom / auto 130% no-repeat;opacity:.055;pointer-events:none;mask-image:linear-gradient(140deg,transparent,#000); }
body.ro-theme .result-emblem { width:72px;height:72px;margin-inline:auto;background:#eaf2f7;border:1px solid #b3cbd6;box-shadow:0 6px 20px #557f9910; }
body.ro-theme .result-title { margin-top:12px;font:500 38px/1.15 var(--font-display);color:#314b59; }
body.ro-theme .result-caption { font-size:10px;letter-spacing:.13em;color:#627887; }
body.ro-theme .result .reason { font-size:13px;color:#627887;line-height:1.6; }
body.ro-theme .result .rows { padding:8px 15px;margin:20px 0 8px;border:1px solid #c5d5df;border-radius:10px;background:#fffdf7d9; }
body.ro-theme .result .rows li { min-height:64px;padding:12px 4px;border-bottom:1px solid #dce7ec; }
body.ro-theme .result .rows li:last-child { border-bottom:0; }
body.ro-theme .result .rows li.me { outline:0;background:#eaf2f766; }
body.ro-theme .result .rows .who { font-size:14px; }
body.ro-theme .result-actions { gap:9px;justify-content:center;flex-wrap:wrap;margin-top:20px; }
body.ro-theme .result-actions .btn { min-height:44px; }
body.ro-theme .partner-hand-panel { backdrop-filter:blur(10px); }
html[data-ro-reduced-motion=true] *,html[data-ro-reduced-motion=true] *::before,html[data-ro-reduced-motion=true] *::after { transition:none!important;animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important; }
html[data-ro-large-text=true] body.ro-theme :is(.ro-field,.local-option,.ro-production-lobby button,.online-input,.ro-settings-row) { font-size:16px; }
html[data-ro-large-text=true] body.ro-theme .card-actions .act { font-size:17px; }
@media(max-width:650px) {
 body.ro-theme .ro-table-heading { top:7px;left:10px;font-size:11px;gap:9px; }
 body.ro-theme .ro-exchange-panel { top:27%;padding:14px 16px;gap:10px;width:min(330px,calc(100% - 95px)); }
 body.ro-theme .ro-exchange-panel img { width:46px;height:56px; }
 body.ro-theme .ro-exchange-panel h2 { font-size:22px; }
 body.ro-theme .ro-exchange-panel p { font-size:11px; }
 body.ro-theme .result { padding:10px 2px; }
 body.ro-theme .result-title { font-size:31px; }
 body.ro-theme .result .rows { padding:6px 9px; }
 body.ro-theme .shell > .bar .title { padding-left:0;background:none; }
 body.ro-theme .shell > .bar .title strong { font-size:12px; }
 body.ro-theme .shell > .bar .ro-table-settings { min-width:36px;padding:0; }
}
