:root{color-scheme:light;--paper:#f5f4ec;--ink:#253b30;--muted:#718070;--line:#d8dfcd;--green:#41624d;--gold:#d5b16b;font-family:Georgia,'Times New Roman',serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}[hidden]{display:none!important}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #caa15b;outline-offset:4px}button{border:1px solid var(--line);color:var(--ink);background:#fffdf6}kbd,.eyebrow,.topbar,.connection,.match-strip,.room-code,.lobby-heading>span,.lobby-actions label,.lobby-note,.invite-panel,.objective-bar,footer,.combat-hud,.storm-hud,.tactical-map,.loot-prompt,.spectator-hud,.phase-announcement,.kill-feed,.combat-feedback,.storm-warning{font-family:Arial,sans-serif}.royale-app{max-width:1280px;margin:auto;padding:0 30px}.topbar{min-height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:18px;text-decoration:none}.brand svg{width:111px;height:29px;image-rendering:pixelated}.brand>span{font-size:22px}.brand small{font-size:9px;letter-spacing:1.6px;color:var(--muted-foreground, var(--muted))}.top-actions{display:flex;align-items:center;gap:10px}.connection{display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.6px}.connection i{width:5px;height:5px;background:#a59b7a;border-radius:50%}.connection i.online{background:#5e8a57}.connection small{color:var(--muted-foreground, var(--muted));margin-left:4px}.icon-button{height:34px;min-width:34px;border-radius:4px;font:18px Arial}.keyboard-layout-label{font-size:9px!important}.keyboard-layout-select{max-width:126px}.room-heading{padding:32px 0 25px;display:flex;align-items:center;justify-content:space-between;gap:16px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:600;color:var(--muted-foreground, var(--muted))}h1{font-weight:400;font-size:43px;line-height:1.1;letter-spacing:-1.3px;margin:10px 0 9px}h1>span{vertical-align:top;font:10px Arial;letter-spacing:0;border:1px solid var(--line);padding:4px;margin:5px 0 0 12px;color:var(--muted-foreground, var(--muted))}.room-heading p{font-size:13px;margin:0;color:var(--muted-foreground, var(--muted))}.room-code{padding:12px 16px;display:grid;grid-template-columns:auto auto;gap:5px 17px;border-radius:5px;text-align:left}.room-code small{font-size:8px;letter-spacing:1.3px;grid-column:1}.room-code strong{grid-column:1;font-size:20px;letter-spacing:3px}.room-code>span{grid-column:2;grid-row:1/3;align-self:center;color:var(--muted-foreground, var(--muted))}.error-banner{background:#f5e7d7;border:1px solid #d7ad82;padding:14px;font:13px Arial;line-height:1.5;margin-bottom:15px}.game-shell{border:1px solid #263d31;border-radius:6px;overflow:hidden;background:#17271f;position:relative;box-shadow:0 12px 38px #263b3011}.match-strip{height:44px;background:#17271f;color:#b7c7b4;display:flex;align-items:center;gap:16px;padding:0 19px;font-size:9px;letter-spacing:1.3px}.match-strip>span:first-child{color:#ebdfbb}.match-strip>span:nth-child(2){flex:1;font-size:8px}.match-strip strong{font-weight:400}.match-strip b{font-size:19px;color:#fff4d7;letter-spacing:0}.match-strip small{font-size:8px}.viewport{position:relative;aspect-ratio:16/9;background:#809688;overflow:hidden}#arena{display:block;width:100%;height:100%;outline:none;touch-action:none}.objective-bar{display:flex;gap:8px;align-items:center;min-height:31px;padding:6px 13px;color:#b7c4b2;font-size:9px;line-height:1.5;background:#17271f}.objective-bar i{width:4px;height:4px;background:#c9ab69;border-radius:50%;flex-shrink:0}.objective-bar span{flex:1}.objective-bar small{font-size:7px;letter-spacing:1px;color:#7d927f;white-space:nowrap}.storm-hud{position:absolute;top:12px;left:50%;transform:translateX(-50%);min-width:158px;padding:7px 12px;background:#14231fd9;border:1px solid #ffffff22;border-radius:3px;text-align:center;color:#edeed6;pointer-events:none}.storm-hud span{font-size:7px;letter-spacing:1px;display:block;color:#adbbb1}.storm-hud strong{font-size:19px;font-weight:500;line-height:1.2}.storm-hud small{font-size:7px;display:block;color:#c0cbbb}.storm-hud.shrinking{border-color:#d6af70a0}.storm-hud.outside{border-color:#f0b188;color:#ffc6a0}.tactical-map{position:absolute;top:12px;left:12px;width:88px;pointer-events:none;background:#12231ddd;border:1px solid #d3dec433;border-radius:3px;padding:4px;color:#c8d9b7}.tactical-map>span{font-size:6px;display:block;margin-bottom:1px}.tactical-map svg{width:100%;display:block;aspect-ratio:1}.tactical-map>small{font-size:5px;letter-spacing:.3px;display:flex;align-items:center;justify-content:center;gap:3px;margin-top:4px}.tactical-map>small i{width:4px;height:4px;border:1px solid #c7d9a9;border-radius:50%}.map-floor{fill:#344835}.map-cover{fill:#8b978257;stroke:#bccab133;stroke-width:.12}.map-storm{fill:none;stroke:#cdd7a5;stroke-width:.7}.map-next{fill:none;stroke:#e1b976;stroke-width:.5;stroke-dasharray:1.1 1}.map-self{fill:#fff4c4;stroke:#15261f;stroke-width:.5}.storm-warning{position:absolute;top:78px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#723e30d9;color:#ffdfb0;border:1px solid #f2b38377;font-size:8px;padding:6px 10px;border-radius:3px;pointer-events:none}.combat-hud{position:absolute;bottom:12px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:flex-end;color:#eeeeda;pointer-events:none}.health-readout,.weapon-readout{width:140px;border:1px solid #fff4d624;border-radius:3px;background:#12231cda;padding:8px 10px}.health-readout>span,.weapon-readout>span{display:block;font-size:7px;letter-spacing:.9px;color:#bdcdb7;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.health-numbers,.ammo-row{display:flex;align-items:baseline;gap:5px;min-height:29px;margin:2px 0}.health-numbers strong,.ammo-row strong{font-size:25px;font-weight:400;line-height:1}.health-numbers small,.ammo-row small{font-size:9px;color:#a1b69a}.health-numbers b{font-size:9px;color:#d1e8ac;margin-left:auto}.health-meter{position:relative;height:5px;border-radius:1px;background:#ffffff1c;overflow:hidden;margin:4px 0}.health-meter>i{position:absolute;inset:0 auto 0 0;background:#b9d495;width:100%;max-width:100%}.health-meter>.health-trail{background:#d6a367}.health-readout>small{font-size:6px;color:#a6ba9a;letter-spacing:.6px}.health-readout.low-health #health-fill{background:#efb16f}.health-readout.low-health>small{color:#ffc696}.utilities{display:flex;gap:10px;margin-top:6px;border-top:1px solid #ffffff14;padding-top:5px;font-size:6px;white-space:nowrap;color:#a7ba9f}.utilities kbd{font-size:6px;background:none;border:0;padding:0;color:#d8dfba}.utilities b{color:#ecdfb5;font-size:8px}.weapon-readout{text-align:right}.weapon-readout>.ammo-row{justify-content:flex-end}.weapon-readout #ammo{font-size:23px}.weapon-readout[data-slot=sword] #ammo,.weapon-readout[data-slot=potion] #ammo{font-size:17px}.weapon-readout p{font-size:6px;color:#b2c4a9;margin:5px 0 4px;min-height:8px;letter-spacing:.2px}.weapon-readout>small{font-size:6px;color:#a0b095;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.reload-track{height:3px;background:#ffffff22;margin:5px 0;overflow:hidden}.reload-track>i{display:block;height:100%;background:#d8bb7a}.loot-prompt{position:absolute;left:50%;bottom:25px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;max-width:250px;padding:9px 12px;background:#162c23eb;border:1px solid #eed99c6b;border-radius:4px;color:#f3e6bf;pointer-events:none}.loot-prompt>kbd{font-size:12px;background:#d9e2bf;color:#1a3528;border:0;padding:7px 9px;border-radius:2px}.loot-prompt strong{display:block;font-size:10px;line-height:1.4}.loot-prompt small{display:block;font-size:7px;color:#b9c7a6;line-height:1.6}.kill-feed{position:absolute;top:12px;right:12px;padding:0;margin:0;list-style:none;max-width:33%;pointer-events:none}.kill-feed li{margin-bottom:4px;background:#15291ee0;border:1px solid #fff3c91a;padding:5px 7px;font-size:7px;color:#cad9c0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kill-feed li.own-kill{border-color:#ccb56d99;color:#fff2c6}.crosshair{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:20px;height:20px;pointer-events:none;filter:drop-shadow(0 1px 1px #000)}.crosshair>*{position:absolute;background:#fff4cf;display:block}.crosshair i{width:1px;height:5px;left:50%;top:0}.crosshair b{width:1px;height:5px;left:50%;bottom:0}.crosshair em{height:1px;width:5px;top:50%;left:0}.crosshair span{height:1px;width:5px;top:50%;right:0}.crosshair[data-stance=sword]{width:15px!important;height:15px!important;opacity:.7}.hit-marker{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#ffd78e;font:30px Arial;pointer-events:none;text-shadow:0 1px 3px #222}.hit-marker[data-kind=headshot]{color:#f3ab76}.scope-reticle{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle,transparent 0 32%,#13211930 39%,#0b171abd 71%)}.scope-reticle svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:82%;max-width:90%;fill:none;stroke:#e5e4bdaa;stroke-width:.15}.scope-reticle circle{fill:#e3c685;stroke:none}.scope-reticle>span{position:absolute;bottom:18%;left:50%;transform:translateX(-50%);font:7px Arial;letter-spacing:1.2px;color:#d8deb9}.damage-cue{position:absolute;inset:0;box-shadow:inset 0 0 45px #b24f43aa;pointer-events:none}.combat-feedback{position:absolute;left:50%;top:57%;transform:translateX(-50%);font-size:9px;color:#ffe4a3;text-shadow:0 1px 3px #14271f;white-space:nowrap;pointer-events:none}.phase-announcement{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);text-align:center;color:#fff3c4;background:#192d24c9;padding:15px 25px;border:1px solid #eed69444;border-radius:4px;pointer-events:none}.phase-announcement span{font-size:8px;letter-spacing:1.2px}.phase-announcement strong{font-size:40px;display:block;margin:4px 0}.phase-announcement p{font-size:9px;margin:0;color:#c1d1b2}.spectator-hud{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);border:1px solid #eedaaa44;border-radius:4px;background:#172a21ed;padding:8px 12px;display:flex;align-items:center;gap:15px;color:#e7e8cd;max-width:88%}.spectator-hud div{min-width:0}.spectator-hud strong{font-size:9px;display:block;line-height:1.5}.spectator-hud span{font-size:7px;display:block;color:#adc09f;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.spectator-hud button{min-height:44px;white-space:nowrap;padding:5px 12px;background:#2b4937;border-color:#76976a;color:#e9e6c9;font-size:10px;border-radius:3px}.game-overlay{position:absolute;inset:0;background:#182a21c7;backdrop-filter:blur(3px);display:flex;justify-content:center;align-items:center;padding:20px}.overlay-card{width:min(440px,100%);text-align:center;color:#f1edcf}.overlay-card .eyebrow{color:#a9bda0}.overlay-card h2{font-weight:400;font-size:36px;line-height:1.15;letter-spacing:-.6px;margin:10px 0 14px}.overlay-card p{font:12px/1.7 Arial;color:#c2d0b6;max-width:355px;margin:0 auto 21px}.overlay-card button{min-height:44px;min-width:175px;margin:2px}.overlay-card>small{font:9px/1.6 Arial;display:block;color:#aabc9d;margin-top:11px}.primary-button,.secondary-button{border-radius:4px;padding:12px 19px;font:12px Arial;display:inline-flex;align-items:center;justify-content:center;gap:22px}.primary-button{background:var(--green);border-color:var(--green);color:#f7f2d8}.primary-button span,.secondary-button span{margin-left:auto}.primary-button:hover:enabled{background:#31553d}.secondary-button:hover:enabled{background:#f1f1e5}.overlay-card .primary-button{background:#c9d6a7;border-color:#c9d6a7;color:#253c2c}.pause-button{position:absolute;top:12px;right:12px;min-width:30px;height:30px;font:14px Arial;background:#15291dc9;color:#d9e5c9;border-color:#d9e5c944;border-radius:3px}.kill-feed:not(:empty)~.pause-button{top:135px}.lobby-panel{padding:25px 26px;background:#fffef8;border:1px solid var(--line);border-radius:5px;margin-top:23px}.lobby-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.lobby-heading h2{font-weight:400;font-size:25px;margin:7px 0 18px}.lobby-heading>span{font-size:9px;letter-spacing:1px;color:var(--muted-foreground, var(--muted))}.player-roster{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.roster-slot{padding:11px 9px;background:#f1f4ea;border:1px solid #dde3d3;border-radius:3px;display:flex;align-items:center;gap:7px;font:10px Arial;min-width:0}.roster-slot i{font-size:8px;font-style:normal;color:#8fa080}.roster-slot strong{font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.roster-slot small{display:block;font-size:7px;margin-top:4px;color:#7d8e71}.roster-slot div{min-width:0;flex:1}.roster-slot>span{font-size:6px;color:#6c825e}.roster-slot.empty{background:#fbfcf7;color:#a2ab99;border-style:dashed}.roster-slot.eliminated{opacity:.62}.lobby-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:20px;display:flex;align-items:center;gap:18px}.name-field{font-size:8px;letter-spacing:1px;color:var(--muted-foreground, var(--muted));width:185px;flex-shrink:0}.name-field input{width:100%;border:1px solid var(--line);background:#fffefa;border-radius:3px;color:var(--ink);padding:11px;font:12px Arial;display:block;margin-top:6px}.lobby-note{flex:1}.lobby-note strong{font-weight:500;font-size:10px}.lobby-note p{font-size:9px;line-height:1.6;margin:5px 0 0;color:var(--muted-foreground, var(--muted))}.invite-panel{margin:20px 0 32px;display:flex;align-items:center;gap:18px;padding:16px 20px;background:#edf1e5;border:1px solid var(--line);border-radius:4px}.invite-panel>.eyebrow{font-size:7px;max-width:115px;line-height:1.7}.invite-panel code{flex:1;font-size:10px;overflow-wrap:anywhere}.invite-panel button{font-size:10px;padding:10px 14px;white-space:nowrap}footer{display:flex;gap:15px;justify-content:space-between;margin:0 0 26px;padding-top:15px;border-top:1px solid var(--line);font-size:8px;letter-spacing:.5px;color:var(--muted-foreground, var(--muted))}footer a{text-decoration:none}.guide-dialog{position:fixed;inset:0;z-index:20;background:#12291dcc;padding:25px;overflow:auto;display:flex;justify-content:center;align-items:flex-start}.guide-card{max-width:800px;position:relative;background:#fffdf5;border:1px solid var(--line);border-radius:6px;padding:35px;margin:auto}.guide-card>.icon-button{position:absolute;top:16px;right:16px}.guide-card h2{font-size:32px;font-weight:400;margin:12px 0 15px}.guide-card>p{font-size:13px;line-height:1.8;color:var(--muted-foreground, var(--muted))}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 27px;margin:23px 0}.guide-grid h3{font:9px Arial;letter-spacing:1px;color:var(--green)}.guide-grid p{font-size:12px;line-height:1.8;color:var(--muted-foreground, var(--muted))}kbd{display:inline-block;font-size:9px;line-height:1.2;border:1px solid #d8dfcd;border-bottom-width:2px;border-radius:2px;padding:3px 5px;background:#f3f5ed;color:#42603c}.toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);max-width:calc(100% - 30px);padding:12px 20px;background:#253d2e;color:#f6f1d6;z-index:30;border:1px solid #718662;border-radius:4px;font:11px/1.6 Arial;text-align:center}.touch-controls{display:flex;align-items:center;gap:12px;padding:12px;background:#172b20}.touch-pad{position:relative;width:86px;height:86px;flex-shrink:0;border:1px solid #b5c4a94d;border-radius:50%;background:#294732;color:#bac9ae;touch-action:none;user-select:none}.touch-pad span{position:absolute;top:10px;text-align:center;width:100%;font:7px Arial}.touch-pad i{position:absolute;width:25px;height:25px;border:1px solid #bccf9a88;border-radius:50%;left:calc(50% - 12.5px);top:calc(50% - 12.5px);background:#74985a66;pointer-events:none}.touch-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;flex:1}.touch-actions button{background:#294632;border-color:#66845c;color:#dfe3bc;font:8px Arial;min-height:34px;border-radius:3px;touch-action:none;user-select:none}.touch-actions button.pressed{background:#809661;color:#162b1f}.game-shell:fullscreen{display:flex;flex-direction:column;justify-content:center;background:#14241b;border:0;border-radius:0}.game-shell:fullscreen .viewport{flex:1;aspect-ratio:auto;min-height:0}.game-shell:fullscreen .match-strip,.game-shell:fullscreen .objective-bar{flex-shrink:0}@media(max-width:900px){.royale-app{padding:0 20px}.brand small{display:none}.connection>span{display:none}.topbar{min-height:65px}.player-roster{grid-template-columns:repeat(5,minmax(0,1fr))}.roster-slot{padding:9px 6px;gap:4px}.roster-slot>span{display:none}.invite-panel>.eyebrow{display:none}.loot-prompt{bottom:105px}}@media(max-width:600px){.royale-app{padding:0 12px}.topbar{gap:8px;min-height:56px}.brand{gap:8px}.brand svg{width:75px;height:22px}.brand>span{font-size:17px}.top-actions{gap:5px}.connection{display:none}.keyboard-layout-picker{gap:0!important}.keyboard-layout-label{display:none!important}.keyboard-layout-select{font-size:9px!important;max-width:90px!important;height:29px!important;padding:4px!important}.icon-button{height:29px;min-width:29px;font-size:15px}.room-heading{padding:22px 0 18px}.eyebrow{font-size:7px;letter-spacing:1px}h1{font-size:30px;margin:8px 0}h1>span{font-size:7px;padding:3px;margin-left:7px}.room-heading p{font-size:10px;max-width:210px;line-height:1.5}.room-code{padding:9px;gap:4px 5px}.room-code strong{font-size:14px;letter-spacing:2px}.room-code small{font-size:6px}.room-code>span{display:none}.match-strip{height:34px;padding:0 10px;font-size:7px;gap:9px}.match-strip>span:nth-child(2){font-size:6px}.match-strip b{font-size:15px}.match-strip small{font-size:6px}.viewport{aspect-ratio:4/3}.storm-hud{top:8px;padding:5px 8px;min-width:110px}.storm-hud span{font-size:6px}.storm-hud strong{font-size:16px}.storm-hud small{font-size:5px}.tactical-map{top:8px;left:8px;width:61px;padding:3px}.tactical-map>span{font-size:5px}.tactical-map>small{font-size:4px;gap:1px;margin-top:2px}.storm-warning{top:65px;font-size:6px;padding:5px 7px}.combat-hud{bottom:8px;left:8px;right:8px}.health-readout,.weapon-readout{width:118px;padding:6px 8px}.health-readout>span,.weapon-readout>span{font-size:6px}.health-numbers,.ammo-row{min-height:24px}.health-numbers strong,.weapon-readout #ammo{font-size:21px}.weapon-readout[data-slot=sword] #ammo,.weapon-readout[data-slot=potion] #ammo{font-size:14px}.health-numbers small,.ammo-row small{font-size:7px}.health-meter{height:4px;margin:3px 0}.health-readout>small,.weapon-readout p,.weapon-readout>small{font-size:5px}.utilities{font-size:5px;gap:8px;margin-top:5px;padding-top:4px}.utilities kbd{font-size:5px}.utilities b{font-size:7px}.loot-prompt{bottom:106px;padding:6px 9px;max-width:210px;gap:7px}.loot-prompt>kbd{font-size:10px;padding:5px 7px}.loot-prompt strong{font-size:8px}.loot-prompt small{font-size:6px}.kill-feed{right:8px;top:8px;max-width:25%}.kill-feed li{font-size:5px;padding:4px 5px}.pause-button{top:8px;right:8px;height:25px;min-width:25px;font-size:11px}.kill-feed:not(:empty)~.pause-button{top:105px}.objective-bar{font-size:7px;padding:6px 8px}.objective-bar>small{display:none}.overlay-card h2{font-size:27px;margin:8px 0 12px}.overlay-card p{font-size:10px;margin-bottom:13px}.overlay-card .eyebrow{font-size:6px}.overlay-card>small{font-size:7px;margin-top:8px}.overlay-card button{padding:10px 15px;font-size:11px}.game-overlay{padding:15px}.phase-announcement{padding:10px 14px;min-width:210px}.phase-announcement span{font-size:6px}.phase-announcement strong{font-size:27px}.phase-announcement p{font-size:7px}.combat-feedback{font-size:7px}.spectator-hud{padding:7px 9px;gap:8px;bottom:105px;max-width:94%}.spectator-hud strong{font-size:8px}.spectator-hud span{font-size:6px;max-width:130px}.spectator-hud button{font-size:8px;min-height:44px;padding:5px 7px}.lobby-panel{margin-top:16px;padding:18px 14px}.lobby-heading h2{font-size:23px}.lobby-heading>span{font-size:7px}.player-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.roster-slot{padding:10px 8px;font-size:10px;gap:7px}.roster-slot>span{display:block;font-size:6px}.lobby-actions{gap:12px;flex-wrap:wrap;padding-top:16px;margin-top:16px}.name-field{width:145px;flex:1}.lobby-note{flex-basis:100%;order:3}.lobby-actions>button{font-size:10px;padding:12px;min-height:44px;gap:13px}.invite-panel{padding:12px;margin:15px 0 24px;gap:9px;flex-wrap:wrap}.invite-panel code{font-size:9px;min-width:160px}.invite-panel button{padding:10px;font-size:9px}footer{font-size:6px;gap:8px}footer>span:nth-child(2){display:none}.guide-dialog{padding:12px}.guide-card{padding:27px 20px}.guide-card h2{font-size:27px;max-width:220px}.guide-grid{grid-template-columns:1fr;gap:8px}.guide-card>.icon-button{top:12px;right:12px}.touch-controls{gap:8px;padding:9px 7px;flex-wrap:wrap;justify-content:space-between}.touch-pad{width:65px;height:65px}.touch-actions{order:3;flex-basis:100%;grid-template-columns:repeat(5,1fr)}.touch-actions button{font-size:7px;min-height:36px}.touch-pad[data-royale-pad=look]{margin-left:auto}}@media(max-width:350px){.royale-app{padding:0 8px}.brand svg{width:65px}.top-actions{gap:4px}.icon-button{height:27px;min-width:27px}.keyboard-layout-select{max-width:78px!important;font-size:8px!important}.room-heading p{font-size:9px;max-width:175px}.room-code{padding:8px 6px}.room-code strong{font-size:12px}.storm-hud{min-width:102px}.match-strip{gap:6px}.health-readout,.weapon-readout{width:108px;padding:6px}.utilities{gap:7px}.loot-prompt{max-width:205px}.lobby-panel{padding:16px 10px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Keep the in-play HUD close to Breach's compact proportions. */
.combat-hud .health-readout,.combat-hud .weapon-readout{padding:6px 8px}
.health-readout>span,.weapon-readout>span{line-height:7px}
.health-numbers,.ammo-row{min-height:25px;margin:0;line-height:1}
.health-numbers small,.ammo-row small,.health-numbers b{line-height:1}
.health-meter{height:4px;margin:3px 0}
.health-readout>small{display:block;line-height:7px}
.utilities{margin-top:3px;padding-top:3px;line-height:8px}
.utilities kbd,.utilities b{line-height:1}
.weapon-readout p{min-height:7px;line-height:7px;margin:4px 0 0}
.weapon-readout>small{display:none}
.weapon-readout .reload-track{margin:4px 0 0}
@media(max-width:600px){
 .combat-hud .health-readout,.combat-hud .weapon-readout{padding:5px 7px}
 .health-readout>span,.weapon-readout>span{line-height:6px}
 .health-numbers,.ammo-row{min-height:22px}
 .health-readout>small{line-height:6px}
 .utilities{margin-top:3px;padding-top:3px;line-height:7px}
 .weapon-readout p{line-height:6px;min-height:6px;margin-top:4px}
}
@media(max-width:350px){.combat-hud .health-readout,.combat-hud .weapon-readout{padding:5px 6px}}

/* Brief, confirmed damage stays at the edges and leaves the sight picture clear. */
.damage-cue{box-shadow:inset 0 0 48px #b34b40;opacity:var(--damage-opacity,0);color:#e98b76;contain:layout paint}
.damage-cue[data-kind=hazard]{box-shadow:inset 0 0 40px #c9945e;color:#edc28e}
.blood-pixels{position:absolute;inset:0;display:none}
.damage-cue[data-kind=blood] .blood-pixels{display:block}
.blood-pixels>i{position:absolute;width:18px;height:12px;background:#a73531;box-shadow:8px 10px 0 -3px #b84236,-8px -7px 0 -4px #9b302d;image-rendering:pixelated}
.blood-pixels>i:nth-child(1){top:3%;left:8%;width:26px;height:18px;box-shadow:19px 12px 0 -4px #ad3a32,-10px 22px 0 -5px #a3322d}
.blood-pixels>i:nth-child(2){top:1%;left:72%;width:22px;height:10px}
.blood-pixels>i:nth-child(3){top:24%;left:1%;width:11px;height:25px}
.blood-pixels>i:nth-child(4){top:59%;left:2%;width:19px;height:16px;box-shadow:12px -10px 0 -5px #af3f34,6px 18px 0 -5px #a3322d}
.blood-pixels>i:nth-child(5){top:13%;right:1%;width:16px;height:21px}
.blood-pixels>i:nth-child(6){top:64%;right:2%;width:20px;height:14px}
.blood-pixels>i:nth-child(7){bottom:1%;left:28%;width:23px;height:16px}
.blood-pixels>i:nth-child(8){bottom:3%;right:17%;width:16px;height:13px}
.damage-bearing{position:absolute;left:calc(50% - 90px);top:calc(50% - 90px);width:180px;height:180px;transform:rotate(var(--damage-angle,0rad));transform-origin:center}
.damage-bearing::before{content:"";position:absolute;top:0;left:calc(50% - 10px);width:20px;height:8px;background:currentColor;clip-path:polygon(0 0,100% 0,100% 50%,50% 100%,0 50%)}
.damage-cue[data-direction=""] .damage-bearing{display:none}
@media(max-width:600px){.blood-pixels>i{transform:scale(.72)}.damage-bearing{left:calc(50% - 55px);top:calc(50% - 55px);width:110px;height:110px}.damage-bearing::before{width:16px;height:6px;left:calc(50% - 8px)}}

/* The arena fills the play page; room setup opens only when it is needed. */
.royale-app{width:100%;max-width:1920px;margin:auto;padding:0 16px}
.topbar{height:48px;min-height:48px;padding:0;gap:12px;flex-wrap:nowrap}
.brand{gap:10px;font-size:17px;flex-shrink:0}
.brand svg{width:94px;height:24px}
.brand .back-copy,.brand small{font-size:8px;letter-spacing:1px}
.voxel-topbar .top-actions,.topbar .top-actions{gap:8px;min-width:0;width:auto;flex-wrap:nowrap;justify-content:flex-end}
.voxel-topbar .top-actions>[data-keyboard-layout-picker],.topbar .top-actions>[data-keyboard-layout-picker]{width:auto}
.top-actions .keyboard-layout-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.top-actions .keyboard-layout-select{height:32px!important;min-height:32px!important;font-size:10px!important;max-width:125px!important}
.icon-button{height:32px;min-width:32px}
.room-heading{height:44px;min-height:44px;padding:0;gap:12px}
.room-heading .eyebrow,.room-heading p{display:none}
.room-heading h1{font-size:24px;line-height:1.1;letter-spacing:-.5px;margin:0}
.room-heading h1>span{font-size:8px;margin-left:8px;padding:3px}
.room-code{padding:6px 10px;min-height:30px;gap:5px 9px}
.room-code>span:first-child,.room-code>small{font-size:7px}
.room-code strong{font-size:14px;letter-spacing:2px}
.game-shell{position:relative;min-width:0;max-width:none}
.match-strip{height:42px;min-height:42px;flex-shrink:0}
.viewport{width:100%;height:calc(100dvh - 180px);min-height:280px;aspect-ratio:auto}
.viewport:has(.arena-loadouts:not([hidden])){min-height:385px}
.objective-bar{min-height:40px;gap:8px;padding:0 8px 0 12px;flex-wrap:nowrap;font:9px/1.4 Arial,sans-serif}
.objective-bar #objective{flex:1;min-width:0}
.objective-bar #objective-mode,.objective-bar>small{display:none}
.play-actions{display:flex;align-items:center;gap:5px;flex-shrink:0;margin-left:auto}
.play-actions button{height:30px;min-width:30px;padding:0 9px;border:1px solid #72857055;background:#1a2d22;color:#c3d8b9;font:10px Arial,sans-serif;white-space:nowrap;border-radius:3px}
.play-actions button:hover{border-color:#c3d8b9}
#arena-fullscreen-button{font-size:17px;padding:0 6px}
#arena-guide-button{font-size:14px;padding:0 8px}
.royale-app>footer{display:none}
.game-overlay{padding:18px}
.overlay-card h2{font-size:31px;line-height:1.15;margin:9px 0 12px}
.overlay-card>p{font-size:12px;line-height:1.65;margin-bottom:17px}
.overlay-card button{min-height:44px}
.overlay-card .secondary-button{color:#d8e5ca;background:#1d3429;border-color:#a0b99c66}
#game-shell:fullscreen{padding:0;display:flex;flex-direction:column;justify-content:flex-start}
#game-shell:fullscreen .viewport{height:auto;flex:1;min-height:0;aspect-ratio:auto}
#game-shell:fullscreen .objective-bar{min-height:40px;flex-shrink:0}
.room-dialog{position:fixed;inset:0;z-index:24;display:flex;align-items:flex-start;justify-content:center;padding:24px;background:#102019df;overflow:auto;overscroll-behavior:contain;backdrop-filter:blur(4px)}
.room-panel-card{width:min(880px,100%);margin:auto;min-width:0;padding:22px;background:#fffdf5;color:#253b30;border:1px solid #d8dfcd;border-radius:7px;box-shadow:0 18px 70px #07181055}
.room-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid #d8dfcd}
.room-panel-heading h2{margin:5px 0 0;font-size:25px;font-weight:400;letter-spacing:-.4px}
.room-panel-heading .icon-button{height:44px;min-width:44px;font-size:24px;flex-shrink:0}
.room-panel-card .lobby-panel{margin:0;padding:20px 0;border:0;background:none}
.room-panel-card .lobby-heading h2{font-size:19px;margin:5px 0 13px}
.room-panel-card .rosters{gap:14px;margin-bottom:16px}
.room-panel-card .team-choices{margin-bottom:15px}
.room-panel-card .lobby-actions{gap:12px;margin-top:12px;padding-top:13px}
.room-panel-card .weapon-comparison{margin-top:16px;padding:14px;gap:15px}
.room-panel-card .invite-panel{margin:0 0 16px;padding:15px 0;border-radius:0;background:none;border:0;border-top:1px solid #d8dfcd;border-bottom:1px solid #d8dfcd}
.room-panel-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.room-panel-controls .secondary-button{min-height:44px}
.room-panel-note{font:11px/1.6 Arial,sans-serif;color:#718070;margin:15px 0}
#close-room-bottom{min-height:44px}
.guide-dialog{z-index:25;overscroll-behavior:contain}
.guide-card{width:min(800px,100%);min-width:0}
.guide-card>.icon-button{width:44px;height:44px}
@media(max-width:900px){
 .royale-app{padding:0 12px}
 .brand .back-copy,.brand small,.connection>span{display:none}
 .connection{gap:5px}
 .room-panel-card .player-roster{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 .royale-app{padding:0 8px}
 .topbar{height:50px;min-height:50px;gap:8px}
 .brand{gap:6px;font-size:16px}
 .brand svg{width:78px;height:20px}
 .voxel-topbar .top-actions,.topbar .top-actions{gap:4px}
 .connection{display:none}
 .icon-button{height:38px;min-width:34px}
 .keyboard-layout-label{display:none!important}
 .top-actions .keyboard-layout-select{height:34px!important;min-height:34px!important;max-width:82px!important;font-size:9px!important;padding:4px!important}
 .room-heading{height:42px;min-height:42px}
 .room-heading h1{font-size:22px}
 .room-code{padding:5px 7px;gap:3px 5px}
 .room-code>span:first-child,.room-code>small{display:none}
 .room-code strong{font-size:13px;letter-spacing:1.5px}
 .match-strip{height:40px;min-height:40px}
 .viewport{height:clamp(300px,58svh,580px);min-height:300px;aspect-ratio:auto}
 .viewport:has(.arena-loadouts:not([hidden])){min-height:430px}
 .objective-bar{min-height:46px;gap:5px;padding:3px 6px 3px 8px;font-size:8px}
 .objective-bar>i{display:none}
 .play-actions{gap:4px}
 .play-actions button{height:40px;min-width:35px;padding:0 8px;font-size:9px}
 #arena-fullscreen-button{font-size:17px}
 .overlay-card h2{font-size:27px}
 .overlay-card>p{font-size:11px}
 .room-dialog{padding:10px}
 .room-panel-card{padding:17px 14px}
 .room-panel-heading{padding-bottom:13px}
 .room-panel-heading h2{font-size:23px}
 .room-panel-card .lobby-panel{padding:17px 0}
 .room-panel-card .player-roster{grid-template-columns:repeat(2,minmax(0,1fr))}
 .room-panel-card .invite-panel code{min-width:0;flex-basis:100%;font-size:10px}
 .room-panel-controls{gap:10px}
 .room-panel-controls .keyboard-layout-select{height:44px!important;font-size:11px!important;max-width:none!important}
 .room-panel-controls .keyboard-layout-label{display:block!important}
 .room-panel-note{font-size:10px}
 #game-shell:fullscreen .objective-bar{min-height:46px}
}
@media(max-width:350px){
 .brand svg{width:60px;height:18px}
 .brand{gap:4px}
 .voxel-topbar .top-actions,.topbar .top-actions{gap:3px}
 .icon-button{min-width:33px}
 .top-actions .keyboard-layout-select{max-width:75px!important}
 .room-heading h1{font-size:20px}
 .room-heading h1>span{display:none}
 .play-actions button{padding:0 6px;min-width:32px}
 #room-panel-button{max-width:91px;white-space:normal;line-height:1.2}
}
@media(pointer:coarse){
 .royale-app:has(.touch-controls:not([hidden])) .viewport{height:calc(100svh - 340px);min-height:280px}
 .royale-app:has(.touch-controls:not([hidden])) .viewport:has(.arena-loadouts:not([hidden])){min-height:430px}
}
@media(pointer:coarse) and (orientation:landscape){
 .topbar{height:36px;min-height:36px}
 .room-heading{height:28px;min-height:28px}
 .room-heading h1{font-size:20px}
 .match-strip{height:32px;min-height:32px}
 .royale-app:has(.touch-controls:not([hidden])) .viewport{height:calc(100svh - 219px);min-height:170px}
 .touch-controls{gap:9px;flex-wrap:nowrap;padding:7px 10px;align-items:center}
 .touch-pad{width:62px;height:62px}
 .touch-actions{order:0;flex-basis:auto;grid-template-columns:repeat(5,minmax(0,1fr))}
 .touch-actions button{min-height:30px;font-size:7px}
 .touch-pad[data-royale-pad=look]{margin-left:0}
 .room-code-button,.room-code{min-height:24px;padding:3px 8px}
 .room-code-button>span:first-child,.room-code>small{display:none}
 .room-code-button i{font-size:16px}
 .tactical-map{top:8px;left:8px;width:62px;padding:3px}
 .tactical-map svg{height:45px;aspect-ratio:auto}
 .tactical-map>span,.map-north{font-size:5px}
 .tactical-map>small,.map-caption{font-size:4px;line-height:1.1;margin-top:2px}
 .stage-info{top:8px;left:82px;right:8px}
}

.practice-link{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;min-height:40px}
