.game-page {
  --font-heading: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --ink: #eee7d7;
  --muted: #979083;
  --line: #3b321f;
  --surface: #0d0e11;
  --surface-subtle: #08090b;
  --accent: #d4af37;
  --accent-hover: #edcd63;
  --accent-soft: #1a160d;
  --danger: #d24a35;
  --success: #39c97b;
  min-height: 100dvh;
  color: var(--ink);
  background: #07080a;
  font-family: var(--font-body);
}

.game-page ::selection { color: #090a0c; background: #e3c55b; }
.game-page :focus-visible { outline: 2px solid #e1be4d; outline-offset: 3px; }
.game-page button, .game-page input, .game-page select { color-scheme: dark; font-family: inherit; }

.game-header {
  position: sticky;
  z-index: 10;
  top: 0;
  height: 72px;
  padding: 0 30px;
  border-bottom: 1px solid #3e331c;
  background: #090a0d;
}
.game-header .brand { color: #f0d15f; }
.brand-emblem {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .44));
}
.game-header .brand strong {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 2px;
}
.game-header .brand small { margin-top: 3px; color: #827b6e; font-size: 12px; letter-spacing: 2px; }
.game-header .header-actions { gap: 24px; }
.game-header .header-link { color: #a59d8e; font-size: 13px; font-weight: 500; }
.game-header .header-link:hover { color: #f0d15f; }
.game-header .secure-label { color: #72d8a2; font-size: 12px; font-weight: 500; }
.game-header svg { width: 15px; }
.game-header .header-sync-button { flex: 0 0 30px; }

.game-page .login-layout {
  width: 100%;
  min-height: calc(100dvh - 72px);
  margin: 0;
  padding: 44px 20px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, .95), rgba(5, 6, 8, .64), rgba(5, 6, 8, .95)),
    linear-gradient(0deg, #07080a, transparent 55%),
    url("/images/games/hero-banner.png") center / cover no-repeat;
}
.login-panel {
  width: min(100%, 430px);
  padding: 34px;
  border: 1px solid #604d24;
  border-radius: 2px;
  background: rgba(10, 11, 14, .95);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .48);
}
.login-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.login-symbol {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #705b2b;
  border-radius: 2px;
  color: #ebcb5b;
  background: #17140e;
}
.login-symbol svg { width: 21px; }
.login-heading h1 { margin: 0; color: #f0d15f; font-family: var(--font-heading); font-size: 24px; letter-spacing: 2px; }
.login-heading p { margin: 6px 0 0; color: #8c8579; font-size: 13px; }
#login-form label { display: block; margin: 17px 0 8px; color: #c9c0af; font-size: 13px; font-weight: 700; }
.game-page .input-wrap {
  height: 44px;
  border-color: #443a26;
  border-radius: 2px;
  color: #8e8058;
  background: #0c0d10;
}
.game-page .input-wrap:focus-within { border-color: #b68f2c; box-shadow: 0 0 0 3px rgba(212, 175, 55, .1); }
.game-page .input-wrap input { color: #eee7d7; }
#login-form .primary-button { margin-top: 23px; }
.login-error { margin: 12px 0 0; color: #ec705f; font-size: 13px; }
.privacy-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; color: #777168; font-size: 12px; }
.privacy-line svg { width: 13px; }

.game-page .primary-button {
  border-color: #b38a29;
  border-radius: 2px;
  color: #120f08;
  background: #d4af37;
}
.game-page .primary-button:hover { background: #edcd63; }

.game-page .game-layout {
  width: 100%;
  min-height: calc(100dvh - 72px);
  margin: 0;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  background: #07080a;
}
.account-sidebar {
  position: sticky;
  top: 72px;
  height: calc(100dvh - 72px);
  min-width: 0;
  padding: 22px 16px 18px 24px;
  border-right: 1px solid #2f291c;
  background: #0a0b0e;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #5c4a25 #0a0b0e;
}
.account-identity { min-width: 0; }
.account-top {
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 5px 0 5px 14px;
  border-left: 1px solid #4b3b1e;
}
.account-top small, .account-top strong { display: block; }
.account-top small { color: #777168; font-size: 12px; }
.account-top strong { margin-top: 4px; overflow: hidden; color: #f1e9d6; font-family: var(--font-body); font-size: 18px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; }
.online-dot { width: 7px; height: 7px; border: 0; border-radius: 50%; background: #3acb7b; box-shadow: 0 0 9px rgba(58, 203, 123, .48); }
.game-page .icon-button {
  width: 34px;
  height: 34px;
  border-color: #3f3727;
  border-radius: 2px;
  color: #9a8d6a;
  background: #101113;
}
.game-page .icon-button:hover { color: #f1d263; border-color: #765f2c; background: #18150e; }
.game-page .icon-button.compact { width: 30px; height: 30px; }
.characters-block { min-width: 0; display: flex; align-items: center; align-self: stretch; padding: 0 14px 0 0; }
.section-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-label h2 { margin: 0; color: #817a6e; font-size: 12px; font-weight: 500; letter-spacing: 2px; }
.section-label > span { min-width: 20px; padding: 2px 6px; border: 1px solid #4b3d22; border-radius: 999px; color: #c6ae67; background: #15130e; font-size: 12px; text-align: center; }
.character-list { width: 100%; min-width: 0; display: flex; gap: 7px; margin-top: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #5c4a25 #0a0b0e; }
.character-item { min-width: 0; flex: 1 0 250px; padding: 7px 9px; border: 0; border-radius: 2px; background: #0c0d10; }
.character-item.is-active { background: #15130e; }
.character-main, .character-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.character-identity { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 4px; }
.character-main strong { overflow-wrap: anywhere; color: #d8cdb7; font-size: 12px; }
.character-job, .character-meta { color: #8d8679; font-size: 11px; }
.character-presence { flex: 0 0 auto; padding: 2px 5px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.character-presence.is-online { color: #70d69f; background: #10231b; }
.character-presence.is-offline { color: #8a857c; background: #202023; }
.character-meta { margin-top: 4px; }
.character-details { flex: 0 0 auto; display: grid; justify-items: end; gap: 2px; white-space: nowrap; }

.workspace-tabs {
  display: grid;
  gap: 3px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.game-categories { display: flex; gap: 4px; margin-bottom: 17px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.game-categories button { flex: 1; min-width: 0; min-height: 40px; padding: 8px 4px; border: 1px solid transparent; border-radius: 2px; color: #aaa294; background: transparent; font-size: 13px; cursor: pointer; }
.game-categories button:hover { color: var(--ink); background: #17150f; }
.game-categories button.is-active { border-color: #705a28; color: #f0d15f; background: #211b0e; font-weight: 700; }
.workspace-tabs button[hidden] { display: none; }
.strategy-mode .balance-block { display: none; }
.play-shell.is-strategy { height: auto; min-height: 680px; grid-template-columns: minmax(0, 1fr); }
.strategy-mode .play-surface { display: block; min-height: 0; overflow: visible; }
.workspace-tabs button {
  position: relative;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: #938d82;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}
.workspace-tabs button:hover { color: #d9c681; background: #11110f; }
.workspace-tabs button.is-active { color: #f0d15f; border-color: #5d4a23; background: #1a160d; font-weight: 700; }
.workspace-tabs button.is-active::before { content: ""; position: absolute; left: -17px; width: 3px; height: 26px; background: #d4af37; }
.workspace-tabs svg { width: 16px; color: #88723a; }

.workspace {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 21px 28px 26px;
  background:
    linear-gradient(rgba(7, 8, 10, .95), rgba(7, 8, 10, .98)),
    url("/images/games/hero-banner.png") center / cover fixed no-repeat;
}
.workspace-head {
  min-height: 78px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
}
.workspace-title { flex: 0 0 auto; padding-top: 3px; }
.workspace-head h1 { margin: 0; color: #eee4cf; font-family: var(--font-heading); font-size: 25px; letter-spacing: 2px; }
.workspace-head p { margin: 7px 0 0; color: #777168; font-size: 12px; }
#server-status.is-online { color: var(--success); font-weight: 600; }
#server-status.is-offline { color: #e46c5a; font-weight: 600; }
.workspace-identity { width: min(540px, 58%); min-width: 500px; display: grid; grid-template-columns: minmax(280px, 1.45fr) minmax(180px, .8fr); align-items: stretch; }

.play-shell {
  min-height: 680px;
  height: calc(100dvh - 216px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 302px;
  border: 1px solid #51401f;
  background: #0b0c0f;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .32);
}
.play-surface {
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.game-stage {
  position: relative;
  min-height: 0;
  padding: 32px 38px 24px;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, .96) 0%, rgba(7, 8, 10, .69) 61%, rgba(7, 8, 10, .9) 100%),
    linear-gradient(0deg, rgba(7, 8, 10, .94), transparent 55%),
    url("/images/games/hero-banner.png") center / cover no-repeat;
}
.game-stage::after { content: "九龙"; position: absolute; z-index: 0; top: 80px; right: 38px; width: 110px; color: rgba(212, 175, 55, .1); font-family: var(--font-heading); font-size: 70px; line-height: .88; text-align: center; writing-mode: vertical-rl; pointer-events: none; }
.game-stage > header { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.game-stage h2 { margin: 0; color: #f0d15f; font-family: var(--font-heading); font-size: 30px; letter-spacing: 3px; }
.game-stage header > strong { color: #d1c195; font-size: 12px; font-weight: 500; }
.mobile-game-switch { display: none; }

.race-board, .chest-board, .siege-board, .arena-board, .boss-board, .equipment-board { position: relative; z-index: 1; min-height: calc(100% - 50px); }

.race-board { display: grid; align-content: center; gap: 8px; width: min(760px, 100%); margin: 0 auto; padding-top: 20px; }
.race-board button { min-width: 0; display: grid; grid-template-columns: 38px 48px minmax(120px, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #3a3222; border-radius: 2px; color: #a89e89; background: rgba(13, 14, 16, .82); cursor: pointer; text-align: left; transition: border-color 160ms ease, background 160ms ease; }
.race-board button:hover { border-color: #8b6d28; color: #ead06e; background: #18150e; }
.race-board button.is-selected { color: #b9dcff; border-color: #416b99; outline: 2px solid #4b9dff; outline-offset: 2px; background: #111b25; }
.race-board button.is-winner { border-color: #d4af37; background: #211a0e; }
.beast-token { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #5e4a23; border-radius: 2px; color: #cfb75e; background: #15130e; }
.beast-token svg { width: 17px; }.race-board b { font-size: 13px; }
.race-track { position: relative; height: 8px; background: #312d25; overflow: hidden; }
.race-track::after { position: absolute; top: 0; right: 11px; width: 2px; height: 100%; content: ""; background: #d4af37; }
.race-track i { position: absolute; top: 0; left: 2px; width: 8px; height: 8px; background: #a7832c; }
.race-board.is-running button { pointer-events: none; }
.race-board.is-running .race-track i { left: var(--race-progress, 2%); transition: left 420ms cubic-bezier(.22, .75, .25, 1); will-change: left; }
.race-board.is-settled button .race-track i { left: var(--race-progress); transition: left 760ms cubic-bezier(.12, .78, .18, 1); }
.race-board button.is-winner .race-track i { background: #f0d05e; }

.chest-board { display: grid; grid-template-columns: repeat(3, minmax(140px, 185px)); place-content: center; gap: 15px; }
.chest-board button { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 9px; padding: 20px 12px; border: 1px solid #4c3f25; border-radius: 2px; color: #b9ad91; background: rgba(14, 14, 14, .88); cursor: pointer; transition: transform 180ms cubic-bezier(.16, 1, .3, 1), border-color 160ms ease, background 160ms ease; }
.chest-board button:hover { transform: translateY(-5px); border-color: #9a782c; }.chest-board button.is-selected { color: #b9dcff; border-color: #416b99; outline: 2px solid #4b9dff; outline-offset: 2px; background: #111b25; }.chest-board button.is-open { color: #f0d064; border-color: #d4af37; background: #1b170e; }
.chest-icon { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid #765925; border-radius: 2px; color: #e5c45a; background: #1a150d; box-shadow: 0 13px 29px rgba(0, 0, 0, .42); }
.chest-board button[data-chest="silver"] .chest-icon { color: #d2d5d6; background: #262728; }.chest-board button[data-chest="gold"] .chest-icon { color: #1a1306; background: #d2aa3d; }
.chest-icon svg { width: 31px; height: 31px; }.chest-board b { font-family: var(--font-heading); font-size: 16px; }.chest-board small { color: #7c7568; font-size: 12px; }.chest-board button.is-opening { pointer-events: none; }.chest-board button.is-opening .chest-icon { animation: key-turn 420ms ease-in-out infinite alternate; will-change: transform, filter; }

.siege-board, .arena-board, .boss-board { display: grid; place-content: center; justify-items: center; gap: 18px; }
.battle-status { min-width: 190px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #c7b77f; font-size: 13px; }
.battle-status svg { width: 17px; height: 17px; color: #d4af37; }
.gate-choices { display: grid; grid-template-columns: repeat(3, minmax(125px, 170px)); gap: 14px; }
.gate-choices button { min-height: 210px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 16px 10px; border: 1px solid #554522; border-radius: 2px; color: #c4b78f; background: rgba(14, 14, 14, .9); cursor: pointer; transition: transform 180ms cubic-bezier(.16, 1, .3, 1), color 160ms ease, border-color 160ms ease, background 160ms ease; }
.gate-choices button:hover { transform: translateY(-5px); border-color: #9e7b2c; }.gate-choices button.is-selected { color: #b9dcff; border-color: #416b99; outline: 2px solid #4b9dff; outline-offset: 2px; background: #111b25; }
.gate-icon { width: 76px; height: 82px; display: grid; place-items: center; border: 1px solid #665125; color: #d9bc55; background: #17140e; box-shadow: inset 0 -11px 0 #0b0c0e; }
.gate-icon svg { width: 37px; height: 37px; }.gate-choices b { font-family: var(--font-heading); font-size: 17px; }.gate-choices small { color: #817966; font-size: 12px; }
.siege-board.is-attacking .gate-choices button { pointer-events: none; }.siege-board.is-attacking .gate-choices button.is-hit .gate-icon { animation: gate-impact 360ms cubic-bezier(.3, .8, .2, 1); }.gate-choices button.is-breached { color: #ffe686; border-color: #e3bd43; background: #2a1d0d; }.gate-choices button.is-breached .gate-icon { color: #fff0a8; border-color: #e3bd43; box-shadow: inset 0 -11px 0 #130e08, 0 16px 32px rgba(176, 100, 23, .3); }

.arena-board { width: min(650px, 100%); margin: 0 auto; }
.arena-choices { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.arena-choices button { min-width: 0; min-height: 112px; display: grid; grid-template-columns: 48px minmax(90px, 1fr); align-items: center; gap: 10px; padding: 13px; border: 1px solid #403721; border-radius: 2px; color: #b4a98c; background: rgba(13, 14, 15, .9); cursor: pointer; text-align: left; transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease; }
.arena-choices button:hover { transform: translateY(-3px); border-color: #8f702b; }.arena-choices button.is-selected { color: #b9dcff; border-color: #416b99; outline: 2px solid #4b9dff; outline-offset: 2px; background: #111b25; }
.fighter-icon { grid-row: 1 / span 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #594722; color: #d0b657; background: #17140e; }.fighter-icon svg { width: 22px; }
.arena-choices button > span:nth-child(2) { min-width: 0; }.arena-choices b, .arena-choices small { display: block; }.arena-choices b { font-family: var(--font-heading); font-size: 15px; }.arena-choices small { margin-top: 4px; color: #7f7767; font-size: 11px; }
.fighter-health { grid-column: 1 / -1; height: 5px; overflow: hidden; background: #2e2a22; }.fighter-health i { display: block; width: 100%; height: 100%; background: #a9822d; transform: scaleX(var(--battle-health-scale, 1)); transform-origin: left center; transition: transform 320ms cubic-bezier(.22, .75, .25, 1); }
.arena-board.is-fighting .arena-choices button { pointer-events: none; animation: arena-clash 520ms ease-in-out infinite alternate; }.arena-board.is-fighting .arena-choices button:nth-child(2), .arena-board.is-fighting .arena-choices button:nth-child(3) { animation-delay: -260ms; }.arena-choices button.is-winner { color: #ffe686; border-color: #e1ba3f; background: #241b0c; }.arena-choices button.is-defeated { opacity: .55; filter: grayscale(.55); }

.boss-board { width: min(680px, 100%); margin: 0 auto; }
.boss-target { width: min(430px, 100%); display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px; border-block: 1px solid #493a20; background: rgba(12, 12, 13, .8); }
.boss-emblem { width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid #723c2b; color: #df725c; background: #1b100e; box-shadow: inset 0 0 0 6px #0d0d0e; }.boss-emblem svg { width: 35px; height: 35px; }
.boss-target b, .boss-target small { display: block; }.boss-target b { color: #e5cf9a; font-family: var(--font-heading); font-size: 18px; }.boss-target small { margin-top: 7px; color: #8d8370; font-size: 12px; }
.boss-health { height: 8px; display: block; margin-top: 10px; overflow: hidden; background: #322620; }.boss-health i { display: block; width: 100%; height: 100%; background: #a83b2c; transform: scaleX(var(--boss-health-scale, 1)); transform-origin: left center; transition: transform 360ms cubic-bezier(.22, .75, .25, 1); }
.drop-choices { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr)); gap: 8px; }.drop-choices button { min-width: 0; min-height: 100px; display: grid; place-items: center; align-content: center; gap: 5px; padding: 10px 6px; border: 1px solid #443920; border-radius: 2px; color: #aaa086; background: rgba(14, 14, 14, .9); cursor: pointer; }.drop-choices button:hover { color: #f0d15f; border-color: #a9822c; background: #1a160e; }.drop-choices button.is-selected { color: #b9dcff; border-color: #416b99; outline: 2px solid #4b9dff; outline-offset: 2px; background: #111b25; }.drop-choices svg { width: 23px; height: 23px; }.drop-choices b { font-family: var(--font-heading); font-size: 14px; }.drop-choices small { color: #817866; font-size: 11px; }
.boss-board.is-fighting .boss-emblem { animation: boss-fight 430ms ease-in-out infinite alternate; }.boss-board.is-fighting .drop-choices button { pointer-events: none; }.boss-board.is-defeated .boss-emblem { color: #746e63; border-color: #433b31; filter: grayscale(.7); transform: rotate(-5deg); }.drop-choices button.is-drop { color: #ffe686; border-color: #e1ba3f; background: #281d0c; box-shadow: 0 15px 32px rgba(151, 92, 18, .24); }

.equipment-board { width: min(720px, 100%); margin: 0 auto; display: grid; place-content: center; gap: 16px; }
.equipment-machine { position: relative; padding: 18px; border-block: 1px solid #795d25; background: rgba(10, 11, 12, .94); box-shadow: 0 22px 48px rgba(0, 0, 0, .36); }
.equipment-reels { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.equipment-reel { min-width: 0; }
.equipment-reel-label { display: block; padding-bottom: 7px; color: #8f846d; font-size: 11px; text-align: center; }
.equipment-reel-window { --equipment-reel-size: 156px; position: relative; height: var(--equipment-reel-size); overflow: hidden; contain: paint; border: 1px solid #4e4127; background: #0b0c0e; box-shadow: inset 0 0 0 6px #11110f; transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease; }
.equipment-reel-window::before, .equipment-reel-window::after { position: absolute; z-index: 4; right: 0; left: 0; height: 34px; content: ""; pointer-events: none; }
.equipment-reel-window::before { top: 0; background: linear-gradient(#08090b, transparent); }
.equipment-reel-window::after { bottom: 0; background: linear-gradient(transparent, #08090b); }
.equipment-reel-track { position: relative; width: 100%; transform: translate3d(0, 0, 0); backface-visibility: hidden; }
.equipment-tile { width: 100%; height: var(--equipment-reel-size); display: grid; place-items: center; align-content: center; gap: 7px; padding: 18px 8px; color: #cabf9d; text-align: center; }
.equipment-tile > span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #665126; color: #d6b84e; background: #17140e; transform: rotate(45deg); }
.equipment-tile > span svg { width: 22px; height: 22px; transform: rotate(-45deg); }
.equipment-tile b, .equipment-tile small { display: block; }
.equipment-tile b { min-height: 24px; color: #e7d6ac; font-family: var(--font-heading); font-size: 16px; }
.equipment-tile small { color: #807664; font-size: 11px; }
.equipment-tile[data-set="mage"] > span { color: #8ac1dc; border-color: #42677a; background: #10191d; }
.equipment-tile[data-set="taoist"] > span { color: #78c19b; border-color: #39644e; background: #101913; }
.equipment-payline { position: absolute; z-index: 3; top: 110px; right: 12px; left: 12px; height: 1px; background: #d4af37; box-shadow: 0 0 12px rgba(212, 175, 55, .34); pointer-events: none; }
.equipment-status { min-height: 54px; padding-top: 14px; text-align: center; }
.equipment-status b, .equipment-status span { display: block; }
.equipment-status b { color: #e6d7ae; font-size: 15px; }.equipment-status span { margin-top: 4px; color: #817865; font-size: 11px; }
.equipment-set-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #3c3322; background: rgba(13, 14, 15, .82); }
.equipment-set-guide > span { min-width: 0; display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: center; gap: 2px 7px; padding: 9px 12px; color: #a79b7d; }
.equipment-set-guide > span + span { border-left: 1px solid #322c21; }
.equipment-set-guide svg { grid-row: 1 / span 2; width: 18px; height: 18px; color: #c6a844; }.equipment-set-guide b { font-size: 12px; }.equipment-set-guide small { overflow: hidden; color: #756d5f; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.equipment-board.is-spinning .equipment-reel-track { will-change: transform, filter; }.equipment-board.is-spinning .equipment-reel-window { border-color: #846728; background: #0e0e0d; }.equipment-board.is-spinning .equipment-status b { color: #e9c955; }.equipment-board.is-spinning .equipment-reel.is-settled .equipment-reel-window { border-color: #c4a23b; box-shadow: inset 0 0 0 6px #11110f, 0 10px 26px rgba(150, 99, 19, .22); }
.equipment-board.is-win .equipment-reel-window { border-color: #d4af37; background: #181208; box-shadow: inset 0 0 0 6px #11110f, 0 14px 30px rgba(152, 100, 20, .2); }.equipment-board.is-win .equipment-status b { color: #ffe783; }.equipment-board.is-win .equipment-set-guide > span[data-set].is-match { color: #ffe783; background: #251c0d; }
.equipment-board.is-loss .equipment-reel-window { border-color: #453d31; }.equipment-board.is-loss .equipment-tile { filter: saturate(.72); }

.adventure-board { --adventure-accent: #d4af37; position: relative; z-index: 1; min-height: calc(100% - 50px); width: min(760px, 100%); margin: 0 auto; display: grid; place-content: center; justify-items: center; gap: 18px; }
.adventure-scene { width: min(430px, 100%); display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: center; gap: 14px; padding: 13px 15px; border-block: 1px solid color-mix(in srgb, var(--adventure-accent) 43%, #29251d); background: rgba(10, 11, 13, .82); }
.adventure-sigil { width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--adventure-accent) 58%, #27231d); color: var(--adventure-accent); background: #14130f; box-shadow: inset 0 0 0 5px #0b0c0e; }.adventure-sigil svg { width: 28px; height: 28px; }
.adventure-scene b, .adventure-scene small { display: block; }.adventure-scene b { color: #e7d9b7; font-family: var(--font-heading); font-size: 18px; }.adventure-scene small { margin-top: 6px; color: #928873; font-size: 12px; }
.adventure-choices { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.adventure-choices button { min-width: 0; min-height: 128px; flex: 1 1 125px; max-width: 180px; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 9px; padding: 12px; border: 1px solid #443a25; border-radius: 2px; color: #b8ad91; background: rgba(13, 14, 15, .9); cursor: pointer; text-align: left; transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease; }
.adventure-choices button:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--adventure-accent) 70%, #554a31); }.adventure-choices button.is-selected { color: #b9dcff; border-color: #416b99; outline: 2px solid #4b9dff; outline-offset: 2px; background: #111b25; }
.adventure-choice-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #554822; color: var(--adventure-accent); background: #15140f; }.adventure-choice-icon svg { width: 20px; height: 20px; }
.adventure-choice-copy { min-width: 0; }.adventure-choice-copy b, .adventure-choice-copy small { display: block; }.adventure-choice-copy b { font-family: var(--font-heading); font-size: 14px; white-space: normal; }.adventure-choice-copy small { margin-top: 5px; color: #817965; font-size: 11px; }
.adventure-meter { grid-column: 1 / -1; height: 5px; overflow: hidden; background: #2e2a22; }.adventure-meter i { display: block; width: 100%; height: 100%; background: var(--adventure-accent); transform: scaleX(var(--adventure-progress-scale, 1)); transform-origin: left center; transition: transform 300ms cubic-bezier(.22, .75, .25, 1); }
.arena-board.is-fighting .fighter-health i, .boss-board.is-fighting .boss-health i, .adventure-board.is-playing .adventure-meter i { will-change: transform; }
.arena-board.is-fighting .fighter-health i, .boss-board.is-fighting .boss-health i, .adventure-board.is-playing .adventure-meter i { transition: none; }
.arena-board.is-finishing .fighter-health i, .boss-board.is-finishing .boss-health i { transition: transform 950ms ease-out; }
.adventure-board.is-playing .adventure-choices button { pointer-events: none; }.adventure-board.is-playing .adventure-sigil { animation: adventure-surge 520ms ease-in-out infinite alternate; }.adventure-board.is-playing .adventure-choices button.is-current { color: #f6dc7b; border-color: var(--adventure-accent); filter: brightness(1.2); transform: translateY(-3px); }.adventure-choices button.is-winner { color: #ffe88b; border-color: #d4af37; background: #281f0f; }.adventure-choices button.is-loser { opacity: .52; filter: grayscale(.45); }
.theme-crimson, .theme-fire { --adventure-accent: #d86a52; }.theme-arcane, .theme-frost { --adventure-accent: #77b8d0; }.theme-jade { --adventure-accent: #63b88b; }.theme-ember { --adventure-accent: #df8a3f; }.theme-stone { --adventure-accent: #b9aa8a; }.theme-banner { --adventure-accent: #d9bc55; }.theme-dragon { --adventure-accent: #c8944a; }

.ledger-stage { min-height: 0; overflow-y: auto; }
.ledger-table { position: relative; z-index: 1; margin-top: 20px; }
.ledger-list { position: relative; z-index: 1; }
.ledger-columns, .ledger-row { display: grid; grid-template-columns: minmax(110px, 1.1fr) minmax(100px, 1fr) 80px 90px minmax(138px, 1.2fr); gap: 14px; align-items: center; }
.ledger-columns { position: sticky; top: -1px; z-index: 2; padding: 10px 4px; border-block: 1px solid #44381f; color: #9e8e63; background: #0d0e10; font-size: 11px; font-weight: 700; }
.ledger-columns .ledger-column-delta { text-align: right; }
.ledger-row { min-height: 44px; padding: 11px 4px; border-bottom: 1px solid #302b21; font-size: 12px; }
.ledger-row .ledger-consumption { min-width: 0; overflow: hidden; color: #e3d3aa; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ledger-row .ledger-kind, .ledger-row .ledger-after, .ledger-row .ledger-time { color: #817a6f; }
.ledger-row .ledger-delta { color: #c7b98f; text-align: right; font-variant-numeric: tabular-nums; }.ledger-row .ledger-delta.positive { color: #6bd99f; }.ledger-row .ledger-delta.negative { color: #e16b59; }
.ledger-row .ledger-after { font-variant-numeric: tabular-nums; }
.empty-ledger { padding: 70px 0; color: #817a6f; text-align: center; font-size: 13px; }

.bet-bar { width: auto; min-height: 70px; margin: 0; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid #43361e; background: rgba(11, 11, 12, .98); }
.bet-bar > label { color: #817a6e; font-size: 12px; font-weight: 500; }
.stepper { height: 36px; display: grid; grid-template-columns: 36px 70px 36px; border: 1px solid #443922; border-radius: 2px; overflow: hidden; background: #0d0e10; }
.stepper button { display: grid; place-items: center; border: 0; color: #ad9b65; background: #0d0e10; cursor: pointer; touch-action: none; user-select: none; transition: color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms cubic-bezier(.16, 1, .3, 1); }.stepper button:hover { color: #f0d15f; background: #1a160d; }.stepper button:active, .stepper button.is-holding { color: #ffe47a; background: #241b0b; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .72); transform: scale(.9); }.stepper button.is-holding svg { filter: brightness(1.18); }.stepper svg { width: 14px; pointer-events: none; }
.bet-bar, .bet-bar button, .bet-bar label, .wager-window, .wager-ghost {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.stepper input { -webkit-touch-callout: none; -webkit-user-select: text; user-select: text; }
.wager-window { position: relative; min-width: 0; height: 100%; display: block; overflow: hidden; border-inline: 1px solid #302b21; background: #0d0e10; }
.stepper input, .wager-ghost { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; box-sizing: border-box; border: 0; color: #e6d8b7; background: transparent; text-align: center; font: inherit; font-variant-numeric: tabular-nums; }
.stepper input { z-index: 2; appearance: textfield; }.stepper input:focus { outline: 0; box-shadow: inset 0 0 0 1px #80652a; }.stepper input::-webkit-inner-spin-button { appearance: none; }.stepper input.is-adjusting { color: #fff0a8; }
.wager-ghost { z-index: 1; pointer-events: none; color: #9f8a54; }
.quick-bets { display: flex; gap: 5px; }.quick-bets button { height: 30px; padding: 0 9px; border: 1px solid #40351f; border-radius: 2px; color: #a99762; background: #10110f; cursor: pointer; font-size: 12px; }.quick-bets button:hover { color: #f0d15f; border-color: #846728; }
.selection { min-width: 0; flex: 1; color: #817a6e; font-size: 12px; text-align: right; }
.sound-toggle { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid #493c22; border-radius: 2px; color: #c0aa69; background: #11110f; cursor: pointer; }.sound-toggle:hover { color: #f0d15f; border-color: #846728; }.sound-toggle.is-muted { color: #716b60; border-color: #353127; }.sound-toggle svg { width: 16px; height: 16px; }
.play-button { min-width: 116px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #b84331; border-radius: 2px; color: #fff2dd; background: #941c18; cursor: pointer; font-weight: 700; }.play-button:hover { background: #b12820; }.play-button:disabled { color: #8b776f; border-color: #57302a; background: #3e1714; cursor: not-allowed; }.play-button svg { width: 15px; }.play-button.is-playing svg { animation: busy-turn 800ms linear infinite; }
.auto-continue { height: 40px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; color: #b8ad91; cursor: pointer; font-size: 13px; font-weight: 600; user-select: none; }
.auto-continue input { width: 22px; height: 22px; margin: 0; accent-color: #397fca; cursor: pointer; }
.auto-continue:hover { color: #d7e9ff; }.auto-continue:focus-within { outline: 2px solid #4b9dff; outline-offset: 3px; }
.screen-awake-status { margin: 0; padding: 0 18px 10px; color: #c4b58e; background: #0b0b0c; font-size: 12px; line-height: 1.5; text-align: right; }
.screen-awake-status[hidden] { display: none; }
.workspace-tabs button:disabled, .wallet-ledger-button:disabled, .game-stage button:disabled, .quick-bets button:disabled, .stepper button:disabled { cursor: wait; }

.balance-block {
  min-width: 0;
  padding: 27px 23px 20px;
  border-left: 1px solid #43371f;
  background: #0d0e11;
}
.balance-block .section-label h2 { color: #91897c; font-size: 12px; letter-spacing: 1px; }
.balance-block .section-label { justify-content: space-between; gap: 10px; }
.wallet-heading-actions { min-width: 0; display: flex; align-items: center; gap: 6px; margin-left: auto; }
.wallet-ledger-button { min-height: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 9px; border: 1px solid #3f3727; border-radius: 2px; color: #a79a78; background: #101113; cursor: pointer; font-size: 12px; font-weight: 700; white-space: nowrap; }
.wallet-ledger-button svg { width: 14px; height: 14px; color: #9d833f; }
.wallet-ledger-button:hover { color: #f1d263; border-color: #765f2c; background: #18150e; }
.wallet-ledger-button.is-active { color: #f0d15f; border-color: #846728; background: #1a160d; }
.wallet-ledger-button:focus-visible { outline: 2px solid #4b9dff; outline-offset: 2px; }
.wallet-ledger-button:disabled { opacity: .55; }
.wallet-value { display: block; margin-top: 24px; }
.wallet-value strong { display: block; color: #f0d15f; font-family: var(--font-body); font-size: 38px; font-variant-numeric: tabular-nums; }
.wallet-value span { display: block; margin-top: 6px; color: #927e42; font-size: 12px; }
.wallet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 22px; }
.wallet-actions button { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 8px; border: 1px solid #624f26; border-radius: 2px; color: #dac47d; background: #18150f; cursor: pointer; font-size: 12px; font-weight: 700; }
.wallet-actions button:hover { color: #f2d466; border-color: #aa842c; background: #211a0e; }.wallet-actions svg { width: 14px; }
.wallet-divider { height: 1px; margin: 28px 0 24px; background: #302b21; }
.currency-policy { margin: 0; padding: 0 0 0 17px; border: 0; color: #938b7e; background: transparent; font-size: 12px; line-height: 1.8; }
.wallet-history { margin-top: 28px; padding-top: 22px; border-top: 1px solid #29251d; }
.wallet-history h3 { margin: 0; color: #c3b591; font-family: var(--font-heading); font-size: 15px; }
.wallet-history-list { margin-top: 10px; }
.wallet-history-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 10px 0; border-bottom: 1px solid #29251d; font-size: 12px; font-variant-numeric: tabular-nums; }
.wallet-history-row strong { color: #bdb096; font-weight: 600; }.wallet-history-row b { text-align: right; }.wallet-history-row b.positive { color: #6bd99f; }.wallet-history-row b.negative { color: #e16b59; }
.wallet-history-row span { grid-column: 1 / -1; color: #938b7e; }.wallet-history-empty { margin: 14px 0 0; color: #938b7e; font-size: 12px; }
.result-line { min-height: 35px; padding: 10px 2px 0; color: #968e7e; font-size: 12px; }.result-line.is-pending { color: #c8b36e; }.result-line.is-win { color: #69d79d; font-weight: 700; }.result-line.is-loss { color: #e46c5a; }.result-line.is-partial { color: #e0be55; font-weight: 700; }

.game-page dialog { border: 1px solid #695327; border-radius: 2px; color: #eee7d7; background: #0e0f12; box-shadow: 0 30px 80px rgba(0, 0, 0, .65); }
.game-page dialog::backdrop { background: rgba(3, 4, 5, .82); backdrop-filter: blur(2px); }
.game-page .dialog-head { border-bottom-color: #342d20; }.game-page .dialog-head h2 { color: #f0d15f; font-family: var(--font-heading); }.game-page .dialog-head p { color: #817a6f; }
.withdraw-form label { display: block; margin-bottom: 8px; color: #c8beaa; font-size: 13px; font-weight: 700; }
.withdraw-form select, .withdraw-form > input { width: 100%; height: 44px; margin-bottom: 17px; padding: 0 12px; border: 1px solid #453a25; border-radius: 2px; color: #eee7d7; background: #0a0b0d; }
.transfer-guide { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 10px; padding: 10px 11px; border: 1px solid #4c3e22; border-radius: 2px; color: #dbc67c; background: #15130e; font-size: 13px; line-height: 1.55; }
.transfer-guide svg { width: 17px; height: 17px; margin-top: 1px; flex: none; color: #e3be3f; }
.withdraw-form .primary-button { margin-top: 8px; }.form-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }.withdraw-form .form-label-row label { margin: 0; }
.inline-command { color: #c1a449; }.inline-command:hover { color: #f0d15f; }
.game-page .toast { border: 1px solid #6b5425; border-radius: 2px; color: #f3ead8; background: #17140f; box-shadow: 0 14px 36px rgba(0, 0, 0, .48); }

@media (max-width: 1120px) {
  .game-page .game-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .account-sidebar { padding-left: 18px; }
  .workspace { padding-inline: 20px; }
  .play-shell { grid-template-columns: minmax(0, 1fr) 260px; }
  .game-stage { padding-inline: 26px; }
  .wallet-actions { grid-template-columns: 1fr; }
  .workspace-head { flex-direction: column; gap: 12px; }
  .workspace-identity { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr); }
}

@media (max-width: 900px) {
  .game-page .game-layout { display: block; }
  .account-sidebar { position: static; width: 100%; height: auto; padding: 12px 18px; border-right: 0; border-bottom: 1px solid #332b1d; overflow: visible; }
  .game-categories { gap: 8px; width: min(100%, 320px); margin-bottom: 8px; padding-bottom: 0; border-bottom: 0; }
  .game-categories button { min-height: 40px; }
  .workspace-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(95px, max-content); overflow-x: auto; justify-content: start; }
  .strategy-mode .workspace-tabs { grid-auto-columns: minmax(116px, max-content); }
  .workspace-tabs button { justify-content: center; padding-inline: 9px; }
  .workspace-tabs button.is-active::before { left: 18%; right: 18%; bottom: -1px; width: auto; height: 2px; }
  .workspace { padding: 18px; }
  .play-shell { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .play-surface { min-height: 620px; }
  .balance-block { order: -1; display: grid; grid-template-columns: 1fr auto; gap: 0 24px; padding: 18px 22px; border-left: 0; border-bottom: 1px solid #43371f; }
  .wallet-value { margin-top: 10px; }.wallet-value strong { font-size: 29px; }.wallet-actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; grid-template-columns: repeat(2, 1fr); margin: 0; }
  .wallet-divider, .wallet-history, .currency-policy { display: none; }
}

@media (max-width: 640px) {
  .game-header { height: 64px; padding-inline: 15px; }
  .brand-emblem { width: 40px; height: 40px; }.game-header .brand strong { font-size: 17px; }.game-header .brand small, .game-header .secure-label { display: none; }
  .game-header .header-actions { gap: 12px; }.game-header .header-link { font-size: 0; }.game-header .header-link svg { width: 19px; }
  .game-page .login-layout { min-height: calc(100dvh - 64px); padding: 24px 15px; }.login-panel { padding: 27px 21px; }
  .workspace-tabs { grid-auto-columns: 92px; }
  .workspace-tabs button { flex-direction: column; gap: 4px; min-height: 52px; font-size: 12px; }
  .workspace { padding: 15px; }
  .workspace-head { min-height: 0; gap: 12px; }.workspace-head h1 { font-size: 22px; }
  .workspace-identity { grid-template-columns: minmax(0, 1fr) 132px; gap: 8px; }
  .workspace-identity .characters-block { padding: 0; }
  .workspace-identity .character-item { flex-basis: 100%; padding: 7px; }
  .workspace-identity .character-meta { display: none; }
  .workspace-identity .character-presence { padding-inline: 4px; font-size: 10px; white-space: nowrap; }
  .workspace-identity .account-top { gap: 6px; padding-left: 8px; }
  .workspace-identity .account-top strong { font-size: 14px; }
  .workspace-identity .account-top .icon-button { width: 30px; height: 30px; }
  .balance-block { grid-template-columns: 1fr; }.wallet-actions { grid-column: 1; grid-row: auto; margin-top: 14px; }
  .play-surface { min-height: 540px; }
  .game-stage { min-height: 440px; padding: 24px 15px; }.game-stage h2 { font-size: 24px; }.game-stage::after { display: none; }
  .game-stage > .game-navigation-header { display: grid; grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr); align-items: center; gap: 10px 6px; }
  .game-navigation-header > h2 { grid-column: 2; grid-row: 1; font-size: clamp(20px, 5.6vw, 24px); letter-spacing: 1px; text-align: center; }
  .game-navigation-header > strong { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .game-navigation-header > .mobile-game-switch { min-width: 60px; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px; border: 1px solid transparent; border-radius: 2px; color: #e0c879; background: transparent; cursor: pointer; }
  .mobile-game-switch[data-game-direction="previous"] { grid-column: 1; grid-row: 1; justify-self: start; }
  .mobile-game-switch[data-game-direction="next"] { grid-column: 3; grid-row: 1; justify-self: end; }
  .mobile-game-switch svg { width: 22px; height: 22px; }
  .mobile-game-switch small { color: #c6b78f; font-size: 11px; line-height: 1.5; white-space: nowrap; }
  .game-navigation-header > .mobile-game-switch:active { border-color: #80672e; background: #211a0e; }
  .game-navigation-header > .mobile-game-switch:disabled { opacity: .45; cursor: wait; }
  .chest-board { grid-template-columns: repeat(3, minmax(82px, 1fr)); gap: 7px; }.chest-board button { min-height: 164px; padding-inline: 5px; }.chest-icon { width: 52px; height: 52px; }.chest-icon svg { width: 24px; }.chest-board b { font-size: 13px; }
  .gate-choices { grid-template-columns: repeat(3, minmax(82px, 1fr)); gap: 7px; }.gate-choices button { min-height: 168px; padding-inline: 5px; }.gate-icon { width: 54px; height: 62px; }.gate-icon svg { width: 27px; }.arena-choices { gap: 7px; }.arena-choices button { grid-template-columns: 38px minmax(70px, 1fr); min-height: 105px; padding: 9px; }.fighter-icon { width: 36px; height: 36px; }.drop-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }.boss-target { grid-template-columns: 64px minmax(0, 1fr); }.boss-emblem { width: 60px; height: 60px; }
  .equipment-machine { padding: 12px 8px; }.equipment-reels { gap: 5px; }.equipment-reel-window { --equipment-reel-size: 142px; }.equipment-tile { padding-inline: 3px; }.equipment-tile > span { width: 38px; height: 38px; }.equipment-tile > span svg { width: 18px; height: 18px; }.equipment-tile b { font-size: 13px; }.equipment-payline { top: 96px; }.equipment-set-guide > span { grid-template-columns: 1fr; justify-items: center; padding: 8px 3px; text-align: center; }.equipment-set-guide svg { grid-row: auto; }.equipment-set-guide small { display: none; }
  .adventure-board { gap: 14px; }.adventure-scene { grid-template-columns: 55px minmax(0, 1fr); padding: 11px 12px; }.adventure-sigil { width: 50px; height: 50px; }.adventure-choices { gap: 7px; }.adventure-choices button { min-height: 104px; flex-basis: calc(50% - 7px); max-width: calc(50% - 4px); padding: 9px; grid-template-columns: 34px minmax(0, 1fr); }.adventure-choice-icon { width: 32px; height: 32px; }.adventure-choice-copy b { font-size: 13px; }
  .race-board button { grid-template-columns: 32px 40px minmax(80px, 1fr); padding-inline: 7px; }.beast-token { width: 30px; height: 30px; }
  .bet-bar { flex-direction: row; align-items: stretch; flex-wrap: wrap; }.selection { order: 4; width: 100%; max-width: 100%; flex: 0 0 100%; text-align: left; }.play-button { margin-left: auto; }.quick-bets { display: none; }
  .ledger-columns, .ledger-row { grid-template-columns: minmax(96px, 1fr) minmax(82px, .9fr) auto; gap: 9px; }
  .ledger-column-after, .ledger-column-time, .ledger-after, .ledger-time { display: none; }
}

@keyframes key-turn { from { transform: rotate(-4deg) scale(1); } to { transform: rotate(4deg) scale(1.04); } }
@keyframes gate-impact { 0% { transform: translateX(0); filter: brightness(1); } 35% { transform: translateX(-7px) rotate(-2deg); filter: brightness(1.6); } 70% { transform: translateX(5px) rotate(1deg); } 100% { transform: translateX(0); filter: brightness(1); } }
@keyframes arena-clash { from { transform: translate3d(-2px, 1px, 0); filter: brightness(.84); } to { transform: translate3d(3px, -2px, 0); filter: brightness(1.22); } }
@keyframes boss-fight { from { transform: translateX(-3px) rotate(-2deg); filter: brightness(.88); } to { transform: translateX(4px) rotate(2deg); filter: brightness(1.28); } }
@keyframes adventure-surge { from { transform: scale(.95); filter: brightness(.86); } to { transform: scale(1.04); filter: brightness(1.28); } }
@keyframes busy-turn { to { transform: rotate(360deg); } }
@keyframes reduced-pulse { from { opacity: .72; filter: brightness(.9); } to { opacity: 1; filter: brightness(1.16); } }
@media (prefers-reduced-motion: reduce) {
  .race-track i, .chest-board button, .chest-icon, .gate-icon, .arena-choices button, .boss-emblem, .equipment-reel-track, .adventure-sigil, .adventure-choices button, .play-button svg, .stepper button { transition: none; }
  .chest-board button.is-opening .chest-icon, .siege-board.is-attacking .gate-icon, .arena-board.is-fighting .arena-choices button, .boss-board.is-fighting .boss-emblem, .adventure-board.is-playing .adventure-sigil { animation: reduced-pulse 900ms ease-in-out infinite alternate !important; }
  .play-button.is-playing svg { animation: none; }
  .play-button.is-playing { color: #d7c58f; }
  .equipment-board.is-spinning .equipment-reel-track { filter: none !important; }
}
