:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#f5ead6;background:#151a19;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#343d34 0,#1c2421 35%,#131816 80%);min-height:100vh;overflow-x:hidden}#app{max-width:1344px;margin:auto;padding:30px 30px 60px}.masthead{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}h1,h2,h3,h4,p{margin:0}h1{font:700 clamp(2rem,4vw,3.4rem)/1 Georgia,serif;letter-spacing:-.03em;margin:7px 0}.masthead p{color:#aeb6a7}.eyebrow{font-size:.7rem;letter-spacing:.18em;font-weight:800;color:#dda85f;display:block}.build-tag{font-size:.7rem;letter-spacing:.12em;color:#d3bf9e;border:1px solid #6d705d;padding:8px 10px;white-space:nowrap}.arena-shell{border:2px solid #8a734c;background:#101512;box-shadow:0 18px 50px #0008;transition:border-color .25s}.arena-shell[data-border=braided-knot]{border-color:#d4a14a}.arena-shell[data-border=crenellation-weave]{border-color:#a58152}.arena-shell[data-border=carpet-interlace]{border-color:#4f84bd}.arena-shell[data-border=basket-coil]{border-color:#c85a3a}.arena-shell[data-border=wave-resin]{border-color:#d98a3c}.arena-shell[data-border=salt-lattice]{border-color:#e6dec8}.arena-shell[data-border=ash-spiral]{border-color:#d8d2c5}.arena-shell[data-border=papyrus-weave]{border-color:#3d9970}.arena-shell[data-border=frayed-margin]{border-color:#78736a;border-style:dashed}.scoreboard{display:grid;grid-template-columns:1fr 118px 1fr;gap:20px;padding:12px 18px 11px;background:linear-gradient(180deg,#1a221d 0,#121814);border-bottom:2px solid #594b31}.fighter-score{min-width:0}.hud-fighter-row{display:flex;align-items:center;gap:12px}.hud-fighter-row.right-row{flex-direction:row-reverse}.hud-portrait{width:50px;height:50px;object-fit:contain;background:#0d120f;border:2px solid #c99a49;border-radius:4px;box-shadow:0 2px 10px #000a;flex-shrink:0}.hud-bars-col{flex:1;min-width:0}.score-title{display:flex;align-items:center;justify-content:space-between;gap:10px;letter-spacing:.1em;font-size:.84rem;text-shadow:0 1px 2px #000}.score-title span{font-size:.67rem;color:#b8c3b0;letter-spacing:.03em}.fighter-score.right .score-title{flex-direction:row-reverse}.meter{background:#181e19;height:14px;margin-top:6px;overflow:hidden;border:1px solid #6b5a3b;border-radius:2px;box-shadow:inset 0 2px 4px #000a}.meter i{display:block;height:100%;width:100%;transition:width .12s;background:linear-gradient(90deg,#b83b2b,#df8b38 45%,#f7d774)}.right .meter i{margin-left:auto;background:linear-gradient(270deg,#b83b2b,#df8b38 45%,#f7d774)}.meter.power{height:6px;margin-top:4px;border-color:#3b5a5e}.meter.power i{width:50%;background:linear-gradient(90deg,#3b8ea5,#8be8ef)}.hud-sub-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:5px}.hud-sub-row.right-sub{flex-direction:row-reverse}.fighter-score small{display:block;font-size:.62rem;letter-spacing:.11em;color:#c9d4c2}.hud-ink-tag{font-size:.6rem;letter-spacing:.08em;padding:1px 6px;border-radius:2px;background:#263128;border:1px solid #61735d;color:#f3dfb9;font-weight:700}.round{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#d8c499;font-size:.6rem;letter-spacing:.16em;background:#141a16;border:1px solid #6c5937;border-radius:4px;padding:4px 6px;box-shadow:inset 0 0 12px #0009}.round strong{font:700 2.05rem/.95 Georgia,serif;color:#fff0cf;margin:2px 0;text-shadow:0 2px 6px #000}#game{width:100%;aspect-ratio:16/9;position:relative;overflow:hidden;background:#252c25;outline:none}#game:focus-visible{outline:3px solid #f2c46f;outline-offset:-3px}#game canvas{display:block}.loading{height:100%;display:grid;place-items:center;color:#d4c39f}.arena-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 16px;color:#b8c4b2;font-size:.68rem;letter-spacing:.06em;background:#141b17;border-top:1px solid #3c473b;flex-wrap:wrap}.arcade-bezel-keys{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.arcade-bezel-keys strong{color:#e5b96f;letter-spacing:.1em;font-size:.65rem;margin-right:3px}.arcade-bezel-center{font-size:.62rem;letter-spacing:.16em;color:#95a391;text-transform:uppercase}.notice{color:#b6c4b0;font-size:.82rem;min-height:1.5em;margin:10px 0}.error{color:#ff9b8b}.control-panel{margin-top:16px;background:#202923;border:1px solid #444f43;padding:22px;max-width:100%}.panel-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:18px;flex-wrap:wrap}.panel-heading h2{font:700 1.5rem Georgia,serif;margin-top:4px}.panel-caption{color:#9fab9d;font-size:.76rem}.controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.controls>label{display:flex;flex-direction:column;gap:5px;color:#b8c3b2;font-size:.73rem;letter-spacing:.05em;min-width:0}.controls select{min-width:135px;max-width:100%}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}button,select{font:inherit;color:#f4ead8;background:#303c32;border:1px solid #647260;border-radius:3px;padding:9px 12px;min-height:41px}button{cursor:pointer}button:hover:not(:disabled),select:hover{background:#405044}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #f4ca7a;outline-offset:2px}.debug{display:flex;gap:20px;flex-wrap:wrap;align-items:center;border-top:1px solid #414b40;border-bottom:1px solid #414b40;padding:14px 0;margin-top:20px;color:#cdd6c6;font-size:.8rem}.debug label{display:flex;align-items:center;gap:6px}.debug input{accent-color:#dfa95d}.debug span{color:#99a998}.legends{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:20px}.legends>div{display:flex;flex-direction:column;gap:7px;font-size:.77rem;color:#c0cbbd;min-width:0}.legends b{font-size:.67rem;letter-spacing:.14em;color:#e2b56e}kbd{font:600 .68rem ui-monospace,monospace;background:#2f3a31;border:1px solid #667267;border-bottom-width:2px;border-radius:3px;padding:1px 5px;color:#f9eddb;white-space:nowrap}.fine-print{font-size:.75rem;color:#95a391;margin-top:16px}.result{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:linear-gradient(90deg,#52381c,#6d4b26,#52381c);border-top:1px solid #d4a14a;color:#fff2d6;font-weight:800;font-size:.82rem;letter-spacing:.1em}.result[hidden]{display:none!important}.result-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.result-actions button{min-height:32px;padding:5px 11px;font-size:.73rem}#app{max-width:1280px;margin:auto;padding:16px 22px 24px}.masthead{margin-bottom:12px}.arena-stage-viewport{position:relative;width:100%}.arena-shell[data-screen]:not([data-screen=arena]) .arena-stage-viewport{display:none}.arena-shell[data-screen]:not([data-screen=arena]) .touch-controls-layer{display:none!important}.cabinet-folio-slot{width:100%}.arena-footer{display:flex;flex-direction:column;gap:8px;padding:10px 16px;background:#121814;border-top:1px solid #3c473b}.bezel-controls-row,.bezel-meta-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;width:100%}.bezel-quick-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}.bezel-field{display:inline-flex;align-items:center;gap:4px;font-size:.66rem;color:#b8c3b2;background:#1a221d;border:1px solid #414e40;border-radius:3px;padding:2px 6px;min-width:0}.bezel-field select{min-height:26px;padding:2px 6px;font-size:.68rem;background:#263128;border-color:#536252;min-width:0;max-width:130px}.bezel-quick-controls button,.arena-music button{min-height:28px;padding:4px 9px;font-size:.68rem}.bezel-check{display:inline-flex;align-items:center;gap:4px;font-size:.66rem;color:#c2cdbf;cursor:pointer;padding:2px 5px;background:#1a221d;border:1px solid #3b473a;border-radius:3px}.bezel-check input{accent-color:#dda85f;margin:0}.arena-music{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.arena-music label{display:inline-flex;align-items:center;gap:5px;font-size:.66rem}.arena-music input[type=range]{width:84px}.arena-footer .notice{min-height:0;font-size:.72rem;color:#a8b8a4;margin:0 0 0 auto}.arcade-marquee{align-items:center;padding-bottom:10px;border-bottom:1px solid #3f4a3e}.marquee-badges{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.arcade-menu-trigger{background:#5c4526;border-color:#dda85f;color:#fff4dc;font-weight:700;font-size:.75rem;letter-spacing:.08em;min-height:36px;padding:7px 13px}.arcade-menu-trigger:hover:not(:disabled){background:#735630}.dev-console-trigger{background:#182226;border-color:#496a78;color:#b8e1f2;font-size:.74rem;letter-spacing:.06em;min-height:36px;padding:7px 12px}.dev-console-trigger:hover:not(:disabled){background:#223138}.dev-console-panel{margin-top:20px;background:#101619;border:1px solid #354a54;box-shadow:inset 0 1px #ffffff0d}.dev-console-panel.dev-collapsed{display:none}.dev-eyebrow{color:#6ec6ea}.dev-rollback-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;background:#151d21;border:1px solid #2e4049;margin-bottom:12px}.dev-studio-section .studio-card{background:#151d21;border-color:#2f424b}.dev-inspectors-grid{display:flex;flex-direction:column;gap:10px;margin-top:14px}.manuscript-deck{margin-top:0;border:none;border-top:1px solid #594b31;background:linear-gradient(180deg,#1e2620 0,#161d18);padding:14px 18px}.manuscript-deck[data-screen=arena]{padding:10px 16px}.manuscript-nav-head.compact-nav-head{margin-bottom:8px;align-items:center}.folio-tabs{display:flex;flex-wrap:wrap;gap:5px}.folio-tab{font-size:.72rem;padding:5px 10px;min-height:30px;background:#263128;border-color:#566353}.folio-tab.active{background:#5c4526;border-color:#dda85f;color:#fff4dc;font-weight:700}.audio-btn{font-size:.72rem;padding:5px 10px;min-height:30px;border-color:#77928b}.primary-seal-btn{background:#6d3b26;border-color:#df9b6d;font-weight:700}.primary-seal-btn:hover:not(:disabled){background:#84482f}.folio-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 16px;background:#18201b;border:1px solid #4c5749;margin-bottom:16px}.folio-banner h3{font:700 1.25rem Georgia,serif;margin:4px 0}.bond-line{font-size:.82rem;color:#d6c7a9}.book-hud-strip{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:10px}.ink-card{background:#18201b;border:1px solid #465345;padding:8px 11px;display:flex;flex-direction:column;gap:4px;min-width:0}.ink-card.center-page-card{border-color:#806a43;text-align:center;align-items:center}.ink-card.right{text-align:right}.ink-pages-row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:.76rem}.ink-card.right .ink-pages-row{flex-direction:row-reverse}.seal-pill{font-size:.62rem;padding:2px 6px;border-radius:10px;letter-spacing:.06em;text-transform:uppercase}.seal-pill.ready{background:#2d4a38;color:#b8f2cd;border:1px solid #598f6d}.seal-pill.used{background:#3d2f2b;color:#d1a399;border:1px solid #6e4e47}.page-actions-row{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:2px}.page-actions-row button{font-size:.7rem;padding:4px 9px;min-height:28px}.manuscript-hero h3{font:700 1.7rem Georgia,serif;margin:6px 0 10px}.manuscript-hero>p{color:#c9d2c3;line-height:1.5;max-width:920px}.mode-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:16px}.mode-card{background:#18201b;border:1px solid #4d5a4b;padding:14px;display:flex;flex-direction:column;gap:8px}.mode-card h4{font:700 1.1rem Georgia,serif;color:#f5e6c8}.mode-card p{font-size:.8rem;color:#b6c2b0;line-height:1.4;flex:1}.manuscript-select-bar{margin-bottom:16px}.roster-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.roster-card{background:#18201b;border:1px solid #485446;padding:13px;display:flex;flex-direction:column;gap:7px;min-width:0}.roster-card.selected-p1{border-color:#5b9bd5;box-shadow:inset 0 0 0 1px #5b9bd5}.roster-card.selected-p2{border-color:#e0a94d;box-shadow:inset 0 0 0 1px #e0a94d}.roster-card-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.roster-thumb{width:52px;height:52px;object-fit:contain;background:#131915;border:1px solid #596857;border-radius:4px;flex-shrink:0}.roster-head-text{flex:1;min-width:0}.studio-grid{display:grid;grid-template-columns:1.1fr 1fr 1.1fr;gap:12px;margin-top:12px}.studio-card{background:#18201b;border:1px solid #485647;padding:11px;display:flex;flex-direction:column;gap:8px;min-width:0}.studio-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.studio-controls,.studio-btn-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.studio-controls select{flex:1 1 130px;min-width:0;min-height:34px;padding:5px 8px;font-size:.74rem}.studio-controls button,.studio-btn-row button{font-size:.72rem;padding:5px 9px;min-height:32px;flex:1 1 auto}.studio-status{font-size:.71rem;color:#b8c4b2;display:block;overflow-wrap:anywhere}.roster-home{font-size:.65rem;letter-spacing:.12em;color:#dda85f;text-transform:uppercase}.roster-card h3{font:700 1.12rem Georgia,serif}.roster-epithet{font-size:.78rem;color:#c9b997;font-style:italic}.roster-badge{font-size:.62rem;padding:3px 6px;background:#2c382f;border:1px solid #5c6d5e;letter-spacing:.08em;white-space:nowrap}.roster-craft,.roster-archetype{font-size:.76rem;color:#b8c3b2;line-height:1.35}.charter-note{font-size:.7rem;color:#e6c487;background:#2b251b;padding:5px 7px;border-left:2px solid #dda85f}.derived-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px 0;border-top:1px solid #333e34;border-bottom:1px solid #333e34;font-size:.68rem;color:#aebaa8}.pip-row{display:flex;gap:3px;margin-top:2px}.stat-pip{color:#3c483d;font-size:.75rem}.stat-pip.filled{color:#e2b56e}.roster-card-actions{display:flex;gap:8px;margin-top:auto}.roster-card-actions button{flex:1;padding:6px 8px;min-height:34px;font-size:.75rem}.arcade-ladder{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin-bottom:18px}.arcade-step{background:#18201b;border:1px solid #465244;padding:11px;display:flex;flex-direction:column;gap:4px}.arcade-step.current{border-color:#e2b56e;background:#262319}.arcade-step.done{border-color:#598f6d;opacity:.88}.step-status{font-size:.65rem;letter-spacing:.1em;color:#d6b87c;margin-top:4px}.ending-folio{background:#18201b;border:1px solid #5c4e36;padding:14px}.ending-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:10px}.ending-page-card{background:#222820;border:1px solid #4d5444;padding:11px;font-size:.8rem;color:#ddd2bc;line-height:1.45}.system-mechanics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:16px}.mech-card{background:#18201b;border:1px solid #465345;padding:12px;font-size:.78rem;color:#c2cdbf;line-height:1.4}.mech-card>strong{display:block;color:#f0dec0;margin-bottom:5px}.table-scroll{width:100%;overflow-x:auto}.grimoire-table{width:100%;border-collapse:collapse;font-size:.77rem;background:#18201b}.grimoire-table th,.grimoire-table td{padding:8px 10px;border:1px solid #384439;text-align:left;vertical-align:top}.grimoire-table th{background:#253027;color:#e3c388;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase}.native-script{color:#dda85f;font-size:.82rem}.review-pill{display:inline-block;padding:1px 5px;border-radius:3px;font-size:.64rem;text-transform:uppercase;margin-left:4px}.review-pill.approved{background:#284533;color:#a8e8be}.review-pill.pending{background:#4a3b22;color:#f2ce85}.regions-grid,.bonds-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-top:10px}.region-card,.bond-card{background:#18201b;border:1px solid #445042;padding:11px;display:flex;flex-direction:column;gap:4px;font-size:.78rem;color:#c2cdbf}.region-thumb{width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid #4d5a4b;border-radius:3px;margin-bottom:4px;background:#101512}.bond-tone{font-size:.68rem;color:#dda85f;letter-spacing:.08em;text-transform:uppercase}.charter-status-badge{padding:8px 12px;font-size:.73rem;font-weight:800;letter-spacing:.08em;border-radius:3px}.charter-status-badge.pass{background:#243f2e;border:1px solid #598f6d;color:#c2f5d4}.charter-status-badge.fail{background:#4a2622;border:1px solid #b55b52;color:#ffd2cc}.netplay-deck-grid,.settings-deck-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-top:14px}.netplay-card,.settings-card{background:#18201b;border:1px solid #485647;padding:14px;display:flex;flex-direction:column;gap:10px;min-width:0}.netplay-card.full-width,.settings-card.full-width{grid-column:1 / -1}.netplay-card h4,.settings-card h4{font:700 1.05rem Georgia,serif;color:#f2dec0;margin-bottom:2px}.netplay-card p,.settings-card p{font-size:.78rem;color:#bac5b5;line-height:1.4}.netplay-status-pill{display:flex;align-items:center;gap:8px;padding:6px 12px;border-radius:20px;font-size:.74rem;letter-spacing:.06em;background:#232c25;border:1px solid #556654}.netplay-status-pill .status-indicator{width:8px;height:8px;border-radius:50%;background:#738072}.netplay-status-pill.connected{background:#1c3624;border-color:#48a86c;color:#c2f5d4}.netplay-status-pill.connected .status-indicator{background:#48c774;box-shadow:0 0 8px #48c774}.netplay-status-pill.connecting{background:#3d341d;border-color:#c9a647;color:#fce8a6}.netplay-status-pill.connecting .status-indicator{background:#f0c45a}.ping-tag{margin-left:auto;font-size:.68rem;color:#d1b88e;background:#111713;padding:2px 7px;border-radius:10px}.room-code-display{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0}.room-code-tag{font:800 1.4rem/1 ui-monospace,monospace;letter-spacing:.15em;color:#ffd88a;background:#111613;border:2px solid #a68449;padding:6px 14px;border-radius:4px}.direct-join-bar{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.direct-join-bar input[type=text]{flex:1 1 140px;min-width:0;background:#111713;border:1px solid #5a6b58;color:#f5ead6;padding:6px 10px;font-family:inherit;font-size:.8rem}.connection-stats{display:flex;flex-direction:column;gap:5px;font-size:.74rem;color:#b0beb0;margin-top:8px;border-top:1px solid #364237;padding-top:8px}.connection-stats div{display:flex;justify-content:space-between}.connection-stats strong{color:#f0deb8}.signaling-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.signaling-columns textarea{width:100%;background:#111713;border:1px solid #4f5f4e;color:#ded1b8;font-family:ui-monospace,monospace;font-size:.68rem;padding:6px;resize:vertical;margin:4px 0 6px}.settings-control-group{display:flex;flex-direction:column;gap:8px;min-width:0}.settings-control-group label{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;font-size:.76rem;color:#cbd7c7;min-width:0}.settings-control-group select,.settings-control-group input[type=range]{flex:1 1 150px;max-width:100%;min-width:0}.settings-checkbox-group{display:flex;flex-direction:column;gap:10px}.toggle-label{display:flex;align-items:center;gap:8px;font-size:.78rem;color:#d1ded0;cursor:pointer}.toggle-label input[type=checkbox]{accent-color:#dda85f;width:16px;height:16px}.keybinds-table-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.key-column h5{margin:0 0 6px;font-size:.76rem;letter-spacing:.08em;color:#e5b96f;text-transform:uppercase}.key-column ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px;font-size:.74rem;color:#bac6b8}.touch-controls-layer{position:relative;width:100%;background:linear-gradient(180deg,#161d18,#101512);border-top:1px solid #4d594b;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;user-select:none;-webkit-user-select:none;touch-action:none}.touch-controls-layer.hidden{display:none!important}@media(max-width:840px){.touch-controls-layer[data-mode=auto].hidden{display:flex!important}}.touch-cluster{pointer-events:auto;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}.touch-left{align-items:flex-start}.touch-right{align-items:flex-end}.virtual-dpad{position:relative;width:124px;height:124px;background:radial-gradient(circle,#252e26,#171d18 70%);border:2px solid #7d6b49;border-radius:50%;box-shadow:0 6px 16px #000a,inset 0 0 10px #0008;touch-action:none}.dpad-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:32px;height:32px;background:#111612;border:1px solid #5a4f3b;border-radius:50%}.dpad-btn{position:absolute;background:transparent;border:none;color:#e5c388;font-size:1rem;padding:0;min-height:0;width:38px;height:38px;display:grid;place-items:center;pointer-events:none;border-radius:50%;transition:background .08s,color .08s}.dpad-btn.pressed{background:#684f29;color:#fff5df}.dpad-up{top:2px;left:50%;transform:translate(-50%)}.dpad-down{bottom:2px;left:50%;transform:translate(-50%)}.dpad-left{left:2px;top:50%;transform:translateY(-50%)}.dpad-right{right:2px;top:50%;transform:translateY(-50%)}.touch-aux-left{display:flex;flex-wrap:wrap;gap:5px}.touch-pill-btn{background:#2a352c;border:1px solid #78694a;border-radius:12px;color:#f7e6c4;font-size:.62rem;letter-spacing:.06em;font-weight:700;padding:5px 10px;min-height:28px;box-shadow:0 2px 6px #0008}.touch-pill-btn.pressed,.touch-pill-btn:active{background:#684f29;transform:scale(.94)}.touch-macro-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.touch-macro-btn{background:#28332a;border:1px solid #665b42;border-radius:10px;color:#deb66c;font-size:.58rem;font-weight:800;letter-spacing:.06em;padding:4px 8px;min-height:26px;box-shadow:0 2px 6px #0008}.touch-macro-btn.pressed,.touch-macro-btn:active{background:#6e4125;color:#fff0d4;transform:scale(.93)}.arcade-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.arc-btn{width:54px;height:54px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#465548,#212922 80%);border:2px solid #8e7a53;box-shadow:0 5px 12px #0009,inset 0 2px 4px #fff2;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;min-height:0;cursor:pointer;touch-action:none;transition:transform .06s,box-shadow .06s}.arc-btn .fidel-glyph{font-size:1.05rem;color:#ffd88a;text-shadow:0 1px 2px #000;line-height:1}.arc-btn .btn-label{font-size:.58rem;color:#cad8c7;letter-spacing:.08em;line-height:1;margin-top:2px}.arc-btn.arc-light{border-color:#68a4d4}.arc-btn.arc-medium{border-color:#6cc488}.arc-btn.arc-heavy{border-color:#e59350}.arc-btn.arc-unique{border-color:#dfbf57}.arc-btn.pressed,.arc-btn:active{transform:scale(.91);box-shadow:0 2px 4px #000c,inset 0 0 10px #000a;background:#574627}@media(max-width:760px){.netplay-deck-grid,.settings-deck-grid,.signaling-columns,.keybinds-table-grid{grid-template-columns:1fr}.touch-controls-layer{padding:10px;gap:8px}.virtual-dpad{width:108px;height:108px}.arc-btn{width:46px;height:46px}.touch-pill-btn,.touch-macro-btn{padding:4px 7px;font-size:.55rem;min-height:24px}}body.reduced-motion *,body.reduced-motion *:before,body.reduced-motion *:after{animation-duration:.001ms!important;transition-duration:.001ms!important}body.high-contrast-parchment .arena-shell{border-width:4px!important;background:#000!important}body.high-contrast-parchment .scoreboard{background:#000!important;border-bottom:3px solid #ffcc00!important}body.high-contrast-parchment .meter{border:2px solid #ffffff!important}body.high-contrast-parchment .control-panel{background:#0c100e!important;border:2px solid #d4a14a!important}dialog:modal{overscroll-behavior:contain}dialog::backdrop{overflow:hidden;overscroll-behavior:contain;background:#0a0e0cc7;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.arcade-pause-dialog{background:linear-gradient(180deg,#1f2721,#141a16);color:#f5ead6;border:2px solid #d4a14a;border-radius:6px;padding:0;width:min(520px,92vw);box-shadow:0 24px 64px #000d}.pause-dialog-inner{padding:20px 22px;display:flex;flex-direction:column;gap:14px}.pause-dialog-head{border-bottom:1px solid #4d5a4b;padding-bottom:10px}.pause-dialog-head h2{font:700 1.45rem Georgia,serif;color:#fff2d6;margin:4px 0}.pause-dialog-head p{font-size:.8rem;color:#c9d2c3}.pause-menu-list{display:flex;flex-direction:column;gap:7px}.pause-menu-item{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 14px;min-height:40px;font-size:.82rem;font-weight:700;letter-spacing:.04em;background:#1c241e;border:1px solid #556453}.pause-menu-item small{font-weight:500;font-size:.7rem;color:#b8c4b2}.pause-esc-btn,.back-esc-btn{font-size:.72rem;font-weight:800;letter-spacing:.06em;padding:5px 10px;min-height:30px;background:#3d2f1d;border-color:#d4a14a;color:#ffe8b8}.vs-gold{display:inline-block;padding:1px 8px;margin:0 6px;background:#6d3b26;border:1px solid #f0c45a;color:#fff2d6;font:800 .9rem Georgia,serif;border-radius:3px}.flip-x{transform:scaleX(-1)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sf-select-arena{display:grid;grid-template-columns:250px 1fr 250px;gap:14px;align-items:start}.sf-fighter-showcase{background:linear-gradient(180deg,#171f1a,#111713);border:2px solid #4d5c4c;border-radius:4px;padding:12px;display:flex;flex-direction:column;gap:8px;min-width:0}.sf-fighter-showcase.p1-side{border-color:#5b9bd5;box-shadow:inset 0 0 18px #5b9bd524}.sf-fighter-showcase.p2-side{border-color:#e0a94d;box-shadow:inset 0 0 18px #e0a94d24}.sf-fighter-showcase.is-locked{border-color:#62c384}.sf-player-header{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:.66rem;font-weight:800;letter-spacing:.08em}.sf-player-pill{padding:2px 7px;border-radius:3px}.sf-player-pill.p1{background:#1e3b58;color:#bfe0ff;border:1px solid #5b9bd5}.sf-player-pill.p2{background:#4d3616;color:#ffe2a8;border:1px solid #e0a94d}.sf-lock-state{color:#c2d4be}.sf-fullbody-stage{width:100%;height:220px;background:radial-gradient(circle at 50% 65%,#2c382e,#121814 78%);border:1px solid #3c493b;border-radius:4px;display:grid;place-items:center;overflow:hidden;position:relative}.sf-fullbody-art{max-width:94%;max-height:210px;object-fit:contain;filter:drop-shadow(0 6px 12px #000b)}.sf-fighter-identity h4{font:700 1.25rem Georgia,serif;color:#fff2d6;margin:2px 0}.sf-craft-tag{font-size:.74rem;color:#e5c687;margin-top:3px}.sf-showcase-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px 0;border-top:1px solid #313d32;border-bottom:1px solid #313d32;font-size:.66rem;color:#b5c2b2}.sf-pigment-picker{display:flex;flex-direction:column;gap:4px;font-size:.68rem;color:#c2cdbf;min-width:0}.sf-pigment-picker select{width:100%;min-width:0;min-height:32px;padding:4px 8px;font-size:.72rem}.sf-center-matrix{display:flex;flex-direction:column;gap:12px;min-width:0}.sf-stage-preview-bar{display:flex;align-items:center;gap:12px;background:#161e19;border:1px solid #4b5949;padding:10px 12px;border-radius:4px}.sf-stage-thumb{width:128px;aspect-ratio:16 / 9;object-fit:cover;border:1px solid #7c6843;border-radius:3px;flex-shrink:0}.sf-stage-select-col{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.sf-stage-select-col select{width:100%;min-width:0;min-height:34px;padding:5px 8px;font-size:.76rem}.sf-stage-select-col small{font-size:.7rem;color:#b5c2b2}.sf-portrait-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sf-portrait-tile{padding:8px;gap:5px;position:relative}.sf-portrait-tile h3{font-size:.95rem;line-height:1.15}.sf-portrait-tile .roster-epithet{font-size:.68rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sf-portrait-tile .roster-card-actions{gap:4px}.sf-portrait-tile .roster-card-actions button{padding:3px 5px;min-height:24px;font-size:.65rem}.sf-tile-portrait-wrap{display:flex;align-items:center;gap:8px;position:relative}.sf-tile-portrait{width:54px;height:54px;border:2px solid #6b5c3e}.sf-cursor-tag{font-size:.6rem;font-weight:900;padding:2px 5px;border-radius:3px;letter-spacing:.06em}.sf-cursor-tag.p1-tag{background:#1f4d78;color:#d6edff;border:1px solid #6cb4f5}.sf-cursor-tag.p2-tag{background:#634214;color:#ffebb8;border:1px solid #f0b85a}.home-split-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:16px;align-items:stretch}.home-attract-stage{background-size:cover;background-position:center;border:1px solid #6b5a3b;border-radius:4px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-width:0}.home-brand-block h3{font:700 2rem Georgia,serif;color:#fff3d9;margin:4px 0 8px}.home-brand-block p{font-size:.82rem;color:#d7dfd2;line-height:1.45}.home-versus-standoff{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;background:#0e1310c7;border:1px solid #594b31;border-radius:4px;padding:10px 12px}.home-standoff-fighter{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}.home-standoff-fighter img{height:150px;max-width:100%;object-fit:contain;filter:drop-shadow(0 5px 10px #000c)}.home-standoff-fighter span{display:flex;flex-direction:column;font-size:.78rem}.home-standoff-fighter small{font-size:.65rem;color:#cbb894}.home-vs-emblem{font:900 1.35rem Georgia,serif;color:#ffd984;background:#5c3620;border:2px solid #e0a94d;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;box-shadow:0 4px 12px #000a}.home-mode-list{display:flex;flex-direction:column;gap:8px;margin-top:0}.home-mode-row{flex-direction:row;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px}.home-mode-row button{flex-shrink:0;min-width:148px}.character-codex-strip{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px;padding:8px;background:#141b17;border:1px solid #455244;border-radius:4px}.codex-char-btn{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;min-height:36px;font-size:.72rem;background:#1e2720;border:1px solid #4e5d4d;border-radius:3px}.codex-char-btn img{width:28px;height:28px;object-fit:contain;border-radius:2px;background:#101512}.codex-char-btn.active{background:#5c4526;border-color:#dda85f;color:#fff4dc;font-weight:700}.character-codex-showcase{display:grid;grid-template-columns:300px 1fr;gap:14px;align-items:start}.codex-bio-card{background:#161e19;border:1px solid #5b6b59;padding:12px;border-radius:4px;display:flex;flex-direction:column;gap:8px;min-width:0}.codex-bio-text h4{font:700 1.3rem Georgia,serif;color:#fff2d6;margin:2px 0}.codex-unique-box{background:#1f261e;border-left:3px solid #dda85f;padding:7px 9px;margin:6px 0;font-size:.74rem;color:#d6dfd2}.codex-couplets{display:flex;flex-direction:column;gap:6px;margin-top:6px}.couplet-item{background:#121814;border:1px solid #3c473b;padding:6px 8px;font-size:.72rem;display:flex;flex-direction:column;gap:2px}.codex-moves-col{min-width:0;display:flex;flex-direction:column;gap:8px}.codex-move-table{width:100%;border-collapse:collapse;font-size:.76rem;background:#18201b}.codex-move-table th,.codex-move-table td{padding:7px 9px;border:1px solid #384439;text-align:left;vertical-align:top}.codex-move-table th{background:#253027;color:#e3c388;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase}@media(max-width:980px){.sf-select-arena,.home-split-layout,.character-codex-showcase{grid-template-columns:1fr}.home-mode-row{flex-direction:column;align-items:stretch}.home-mode-row button{width:100%}.sf-stage-preview-bar{flex-direction:column;align-items:stretch}.sf-stage-thumb{width:100%}}@media(max-width:760px){#app{padding:18px 12px 35px}.masthead{align-items:start}.masthead p{font-size:.83rem}.build-tag{display:none}.scoreboard{grid-template-columns:1fr 55px 1fr;gap:8px;padding:8px}.score-title{font-size:.67rem;letter-spacing:.05em}.score-title span{font-size:.57rem}.round strong{font-size:1.35rem}.round{font-size:.5rem}.fighter-score small{font-size:.52rem}.arena-footer{font-size:.5rem;padding:6px}.control-panel{padding:14px}.panel-heading{align-items:start;flex-direction:column;gap:6px}.controls{display:grid;grid-template-columns:1fr 1fr}.controls select{width:100%;min-width:0}.controls .actions{grid-column:1/-1;margin:4px 0 0}.actions button{flex:1}.legends{grid-template-columns:1fr;gap:18px}.debug{gap:12px}.book-hud-strip,.studio-grid,.roster-grid,.mode-cards,.arcade-ladder,.ending-grid,.system-mechanics-grid,.regions-grid,.bonds-grid{grid-template-columns:1fr}.folio-tabs{width:100%}.folio-tab,.audio-btn{flex:1 1 auto;text-align:center}}body.player-edition{--gold: #f4c56b;--cream: #fff0cf;--ink: #0c171b;background:var(--ink);color:var(--cream)}.player-edition #app{width:100%;max-width:1800px;padding:0;margin:0 auto}.player-edition .masthead,.player-edition #cabinet-nav-slot,.player-edition #cabinet-folio-slot,.player-edition #dev-console-shell,.player-edition #result,.player-edition .bezel-quick-controls,.player-edition #border-label,.player-edition #notice{display:none!important}.player-edition .arena-shell{border:0;box-shadow:none;background:var(--ink)}.player-edition .arena-stage-viewport{position:relative}.player-toolbar{height:48px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#091317;color:#d3c4a3;font:700 12px/1.2 system-ui;text-transform:uppercase;letter-spacing:1px}.player-toolbar>div{display:flex;gap:12px;align-items:center}.player-toolbar button{border:0;background:none;font:700 11px system-ui;text-transform:uppercase;letter-spacing:1px;padding:10px 8px;min-height:44px}.player-toolbar a{display:none}.player-edition .scoreboard{background:#101c20;border-bottom:2px solid #c99a49;padding:12px 24px}.player-edition .score-title{font:900 18px/1.2 Arial Narrow,sans-serif}.player-edition .meter.health{height:18px;border-radius:0;transform:skew(-8deg)}.player-edition .meter.health i{background:linear-gradient(0deg,#d19031,#ffe48f)}.player-edition .round strong{font:900 40px/.95 Impact,Arial Narrow,sans-serif}.player-edition .arena-footer{background:#0c171b;padding:10px 18px}.player-edition:is([data-play-screen=fight],[data-play-screen=pause],[data-play-screen=controls],[data-play-screen=result]) #app{max-width:min(1800px,calc((100dvh - 190px)*1.7778))}.player-panel{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;overflow:auto;color:var(--cream);background:#09171aee}.player-panel[hidden],.player-countdown[hidden],.player-lesson[hidden]{display:none}.player-edition:is([data-play-screen=home],[data-play-screen=setup],[data-play-screen=story],[data-play-screen=ending],[data-play-screen=loading]) :is(.scoreboard,.arena-footer,.player-lesson,#player-context,.player-toolbar [data-action=pause]){display:none}.player-edition:is([data-play-screen=home],[data-play-screen=setup],[data-play-screen=story],[data-play-screen=ending],[data-play-screen=loading]) .player-toolbar{justify-content:flex-end}.player-edition:is([data-play-screen=home],[data-play-screen=setup],[data-play-screen=story],[data-play-screen=ending],[data-play-screen=loading]) #game{visibility:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.player-edition:is([data-play-screen=home],[data-play-screen=setup],[data-play-screen=story],[data-play-screen=ending],[data-play-screen=loading]) .arena-stage-viewport{height:calc(100dvh - 48px);min-height:580px;overflow:hidden}.player-edition:not([data-play-screen=fight]) .touch-controls-layer{display:none!important}.player-kicker{display:block;font:800 13px/1.4 system-ui;letter-spacing:3px;color:var(--gold);text-transform:uppercase}.player-panel h2{font:900 clamp(38px,5vw,76px)/1 Impact,"Arial Narrow",sans-serif;text-transform:uppercase;letter-spacing:1px;color:var(--cream);margin:10px 0 22px;text-shadow:0 4px 0 #572b20}.player-panel p{font:16px/1.5 system-ui;color:#e5dcc7;margin:12px 0 20px}.player-panel button{min-height:58px;padding:13px 24px;font:900 22px/1.15 Arial Narrow,system-ui,sans-serif;text-transform:uppercase;letter-spacing:1px;text-align:left;color:var(--cream);background:#172b32;border:2px solid #718b89;border-radius:0;box-shadow:0 4px #030b0e;transition:background .12s,border-color .12s,transform .12s}.player-panel button:hover:not(:disabled),.player-panel button:focus-visible{background:#33474c;border-color:var(--cream);transform:translate(4px)}.player-panel button.player-primary{color:#291c13;background:var(--gold);border-color:#ffe3a8;box-shadow:0 5px #9a5427}.player-panel button.player-primary:hover{background:#ffe2a4}.player-edition button:focus-visible,.player-edition a:focus-visible{outline:3px solid white;outline-offset:4px}.player-menu-actions{display:grid;gap:12px;width:min(100%,410px)}.player-menu-actions.horizontal{display:flex;width:100%}.player-menu-actions.horizontal .player-primary{flex:1;text-align:center}.player-home-art{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:linear-gradient(90deg,#0c171bf5,#0c171b50 55%,#0c171b10),var(--title-art) center/cover}.player-home-art:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg,#081419,transparent 48%)}.title-fighter{position:absolute;height:110%;width:75%;object-fit:contain;max-width:none;bottom:-18%;filter:drop-shadow(0 12px 20px #0008)}.title-hero{right:-5%}.title-rival{right:-25%;bottom:-12%;height:95%;filter:brightness(.65) drop-shadow(0 15px 15px #0008);transform:scaleX(-1)}.player-menu-copy{position:relative;width:58%;padding:clamp(28px,5vh,64px) 6vw}.player-panel .game-logo{font:900 clamp(64px,8.4vw,132px)/.95 Impact,"Arial Narrow",sans-serif;color:#ffe5a2;margin:18px 0 32px;letter-spacing:2px;text-shadow:0 5px 0 #804126,0 10px 25px #000b}.game-logo small{display:block;font:900 .25em/1.5 system-ui;letter-spacing:.3em;color:#fff0d4}.player-menu-copy .menu-hint{display:block;font:700 11px/1.5 system-ui;color:#e1d3b7;margin-top:24px;letter-spacing:2px}.player-setup{min-height:100%;padding:26px 5vw 32px;background:linear-gradient(120deg,#263e43e8,#0c171bf5),var(--title-art) center/cover}.player-setup header{text-align:center}.player-setup header p:empty{display:none}.player-setup h2{font-size:clamp(36px,4vw,60px);margin:8px 0 18px}.select-showcase{display:grid;grid-template-columns:.85fr 1.15fr;gap:28px;max-width:1360px;margin:auto}.selected-portrait{position:relative;min-height:510px;border-bottom:4px solid var(--gold);background:radial-gradient(ellipse,#b5894340,transparent 65%);overflow:hidden}.selected-portrait>img{position:absolute;width:145%;max-width:none;height:110%;left:-22%;bottom:-5%;object-fit:contain;filter:drop-shadow(8px 12px 12px #0009)}.selected-portrait>div{position:absolute;bottom:0;left:0;right:0;padding:55px 20px 12px;background:linear-gradient(transparent,#0b171bf2 50%)}.selected-portrait h3{font:900 clamp(32px,4vw,60px)/1 Impact,sans-serif;text-transform:uppercase;margin:8px 0;color:#ffe2a0}.selected-portrait p{font-size:14px;margin:8px 0}.player-roster{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.player-panel .player-fighter{position:relative;display:flex;flex-direction:column;padding:0;height:106px;min-width:0;text-align:center;overflow:hidden;border-color:#577178}.player-fighter img{height:78px;width:100%;object-fit:contain;background:linear-gradient(135deg,#29444b,#0c191e)}.player-fighter span{width:100%;padding:4px 2px;font:800 10px/1.1 system-ui;white-space:nowrap;letter-spacing:.2px}.player-panel .player-fighter.selected{border:3px solid #ffdb7f;box-shadow:0 0 0 2px #9a5427;color:#291c13;background:var(--gold)}.player-options{margin:20px 0}.player-options fieldset{border:0;padding:0;margin:0 0 14px}.player-options legend{font:800 11px system-ui;letter-spacing:2px;text-transform:uppercase;color:var(--gold);margin-bottom:8px}.difficulty-choices{display:flex;gap:8px}.player-panel .difficulty-choices button{flex:1;min-height:48px;font-size:16px;padding:10px;text-align:center}.player-panel .difficulty-choices [aria-pressed=true]{border-color:var(--gold);color:var(--gold);background:#374a49}.match-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.player-panel .match-options button{font-size:14px;min-height:66px;padding:10px}.match-options small{display:block;font-size:9px;letter-spacing:1px;color:var(--gold);margin-bottom:6px}.player-panel .select-rule{font:700 11px system-ui;color:#b5c9c8;letter-spacing:1px}.player-edition:is([data-play-screen=pause],[data-play-screen=controls],[data-play-screen=result]) .player-panel{position:fixed;top:48px;right:0;bottom:0;left:0;background:#07161aeb}.player-centered{width:min(900px,88%);position:relative;margin:6vh auto;padding:20px 0}.player-centered>:not(.result-portrait){position:relative}.player-centered h2{max-width:700px;font-size:clamp(42px,6vw,90px)}.player-centered .player-menu-actions{margin-top:28px}.result-portrait{position:absolute;right:-10%;top:-10vh;height:78vh;width:80%;object-fit:contain;opacity:.6;pointer-events:none}.result-card h2{color:var(--gold)}.result-card .story-note{max-width:470px}.player-countdown{position:absolute;inset:30% 0 auto;text-align:center;font:italic 900 clamp(36px,8vw,120px) Impact,sans-serif;color:#ffe1a1;text-shadow:5px 7px 0 #862c1d,0 12px 20px #000;pointer-events:none;z-index:20}.player-command-table{width:100%;border-collapse:collapse;font:15px/1.5 system-ui;margin-bottom:20px}.player-command-table th,.player-command-table td{text-align:left;padding:12px 8px;border-bottom:1px solid #60777b}.player-command-table th{color:var(--gold)}.player-lesson{display:flex;gap:20px;padding:14px 22px;background:#233c40;font:14px/1.5 system-ui}.player-story{min-height:100%;height:100%;position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:32px 5vw 18px;overflow:hidden;background:#162a30}.story-landscape{position:absolute;top:0;right:0;bottom:0;left:0;background-position:center;background-size:cover;opacity:.68}.player-story:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg,#061419f5,transparent 70%),linear-gradient(90deg,#0c171b90,transparent);pointer-events:none}.story-heading{position:relative;z-index:1;max-width:70%}.player-panel .story-heading h2{font-size:clamp(32px,4.2vw,64px)}#story-title:focus{outline:none}.story-portrait{position:absolute;right:-2%;top:-12%;width:65%;height:110%;max-width:none;object-fit:contain;filter:drop-shadow(0 10px 20px #0009)}.story-dialogue-box{position:relative;z-index:1;margin-top:auto;padding:24px 30px;background:#08181fee;border:3px solid #d6ae61;box-shadow:0 6px #673c26}.story-line>strong{display:block;font:900 20px/1.2 system-ui;text-transform:uppercase;letter-spacing:2px;color:var(--gold)}.player-panel .story-line p{font:500 clamp(18px,2vw,26px)/1.45 system-ui;color:#fff2db;min-height:76px;max-width:1020px;margin:12px 0 20px}.story-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end}.story-counter{margin-right:auto;font:800 12px system-ui;color:#9cbbbd}.player-panel .story-actions button{min-width:150px;text-align:center;font-size:18px}.story-map{position:relative;z-index:1;padding-top:20px;color:#b7c5c2}.story-map>span{font:700 10px system-ui;text-transform:uppercase;letter-spacing:2px}.story-map ol{list-style:none;display:grid;grid-template-columns:repeat(6,1fr);padding:0;margin:10px 0 0;gap:6px}.story-map li{border-top:3px solid #586b6b;padding-top:5px;font:700 10px system-ui;color:#a2afac}.story-map li.restored{border-color:var(--gold);color:var(--gold)}.story-map li>span{margin-right:6px}.story-map strong{font:inherit}.player-edition .arena-shell:fullscreen{width:100%;height:100%;overflow:auto}@media(max-height:800px)and (min-width:841px){.player-menu-copy{padding-top:22px}.player-panel .game-logo{font-size:80px;margin:8px 0 22px}.player-menu-actions{gap:9px}.player-menu-copy .menu-hint{margin-top:16px}.player-setup{padding-top:16px}.selected-portrait{min-height:460px}.player-panel .player-fighter{height:92px}.player-fighter img{height:64px}.player-options{margin:14px 0}}@media(max-width:840px){.player-edition #app{max-width:100%!important}.player-toolbar{padding:0 10px;gap:6px}#player-context{font-size:9px;max-width:45%}.player-toolbar>div{gap:2px}.player-toolbar button{font-size:10px}.player-panel button{min-height:56px;font-size:19px;padding:12px 16px}.player-menu-copy{width:100%;padding:32px 24px}.player-panel .game-logo{font-size:clamp(62px,15vw,100px);margin-bottom:26px}.player-menu-actions{width:min(100%,340px);gap:12px}.title-hero{right:-65%;height:100%;width:145%;opacity:.6}.title-rival{display:none}.player-home-art{background-position:65% center}.player-menu-copy .player-kicker{font-size:11px}.player-setup{padding:22px 16px}.player-setup h2{font-size:32px}.select-showcase{grid-template-columns:1fr;gap:14px}.selected-portrait{min-height:180px}.selected-portrait>img{width:70%;height:330px;left:40%;bottom:-90px}.selected-portrait>div{padding:15px 0;width:70%;background:linear-gradient(90deg,#0b171bef,transparent)}.selected-portrait h3{font-size:34px}.selected-portrait .player-kicker{font-size:10px;letter-spacing:1px}.selected-portrait p{max-width:200px;font-size:12px}.player-roster{gap:7px}.player-panel .player-fighter{height:86px}.player-fighter img{height:60px}.player-fighter span{font-size:8px}.player-centered{margin:3vh auto}.player-centered h2{font-size:48px}.player-command-table{font-size:11px}.player-command-table th,.player-command-table td{padding:9px 3px}.result-portrait{width:110%;right:-20%;opacity:.4}.player-edition .scoreboard{padding:8px}.player-edition .score-title{font-size:11px}.player-edition .round strong{font-size:28px}.player-edition .arena-footer{padding:8px}.player-lesson{flex-direction:column;gap:5px}.player-story{padding:22px 16px 16px;min-height:740px}.story-heading{max-width:100%}.player-panel .story-heading h2{font-size:34px}.story-portrait{width:130%;height:90%;right:-25%;top:-8%}.story-dialogue-box{padding:16px}.player-panel .story-line p{min-height:110px;font-size:18px}.story-line>strong{font-size:14px}.story-actions{flex-wrap:wrap;gap:9px}.story-counter{width:100%}.player-panel .story-actions button{min-width:0;flex:1;font-size:14px;padding:10px}.story-map ol{grid-template-columns:repeat(3,1fr);row-gap:10px}}@media(prefers-reduced-motion:reduce){.player-edition *{scroll-behavior:auto!important;transition:none!important}}.player-edition .fighter-score small,.player-edition .arcade-bezel-keys{display:none}.player-edition[data-play-screen=result] .player-panel{background:radial-gradient(ellipse at 70% 40%,#24393af5,#07161afa 70%)}@media(max-height:500px)and (min-width:600px){.player-edition[data-play-screen=story] .arena-stage-viewport{min-height:0}.player-story{min-height:0;padding:18px 24px;display:block}.story-heading{max-width:34%}.player-panel .story-heading h2{font-size:28px}.story-heading .player-kicker{font-size:10px}.story-portrait{width:60%;height:140%;top:-12%;right:45%}.story-dialogue-box{position:absolute;top:16px;right:24px;bottom:16px;left:39%;display:flex;flex-direction:column;justify-content:space-between;padding:16px}.player-panel .story-line p{min-height:0;margin:10px 0;font-size:16px;line-height:1.4}.story-line>strong{font-size:14px}.story-actions{flex-wrap:nowrap;gap:8px}.story-counter{width:auto}.player-panel .story-actions button{min-width:0;min-height:48px;padding:8px 12px;font-size:13px}.story-map{display:none}}.player-loading progress{width:min(480px,100%);height:24px;accent-color:var(--gold)}.player-loading .loading-percent{color:var(--gold);font:900 24px system-ui}
