/* INDIGINUS landscape cockpit: explicit safe lanes, no controls covering the board. */
body.tactical20{--left20:160px;--right20:190px;--market20:150px;--bench20:78px;--top20:88px;--panel20:#15263bee;--edge20:#70879375;--text20:#f5efd9;background:#0c1726;color:var(--text20)}
body.tactical20 #game.adventure9{background:radial-gradient(ellipse at 50% 40%,#26413e,#111b2b 80%)!important;isolation:isolate}
body.tactical20 #game.adventure9 .play-layout{inset:var(--top20) var(--right20) calc(var(--market20) + var(--bench20) + 28px) var(--left20)!important;width:auto!important;height:auto!important}
body.tactical20 #game.adventure9 .world-wrap{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;background:transparent!important;overflow:hidden;border-radius:18px}
body.tactical20 #game.adventure9 #world{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;background:transparent!important;border-radius:18px}
body.tactical20 #phase-label,body.tactical20 #world-tip,body.tactical20 #arena-nav3{display:none!important}
body.tactical20 #hud9{position:absolute;inset:0;pointer-events:none;z-index:10}
body.tactical20 #hud9 button,body.tactical20 #hud9 nav,body.tactical20 #hud9 section{pointer-events:auto}
body.tactical20 button{font-family:system-ui,sans-serif}
body.tactical20 button:focus-visible{outline:2px solid #ffd087!important;outline-offset:3px}
body.tactical20 button:disabled{cursor:default;opacity:.48}
body.tactical20 #game.adventure9 .glyph9{width:18px;height:18px;flex:none}
body.tactical20 #game.adventure9 .player-status20{position:absolute;top:16px;left:16px;display:flex;gap:6px;align-items:center;pointer-events:auto}
.player-status20>span,.player-status20>button{display:flex;align-items:center;justify-content:center;gap:6px;height:42px;min-height:42px;padding:7px 11px;background:var(--panel20);border:1px solid var(--edge20);border-radius:10px;font:700 15px system-ui;color:#f3d997;box-shadow:0 3px 0 #0004;white-space:nowrap}
.player-status20 .health20{color:#ff8d8d}
body.tactical20 #game.adventure9 .round-hud9{position:absolute!important;top:12px!important;left:50%!important;transform:translateX(-50%)!important;width:min(430px,38vw)!important;z-index:2}
body.tactical20 #game.adventure9 .round-track9{height:35px;gap:8px;font:700 10px system-ui;letter-spacing:.03em}
body.tactical20 #game.adventure9 .round-track9>span{padding:6px 8px;border-radius:8px;background:var(--panel20);border:1px solid var(--edge20);white-space:nowrap}
body.tactical20 #game.adventure9 .round-track9>b{font:800 23px system-ui;min-width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#253d43;color:#ffcf88!important}
body.tactical20 #game.adventure9 .round-track9>i{height:5px;border-radius:6px;background:#8bb5ab25!important}
body.tactical20 #game.adventure9 .round-track9>i:before{background:#89c3b2!important}
body.tactical20 #game.adventure9 .round-caption9{gap:4px;margin-top:5px;display:flex;align-items:center;flex-direction:column}
body.tactical20 #game.adventure9 .round-caption9>span{font:700 8px system-ui;letter-spacing:.16em;color:#c4d3ce}
body.tactical20 #game.adventure9 .round-caption9>button{min-height:22px;font:600 10px system-ui;padding:3px 10px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
body.tactical20 #game.adventure9 .hud-tools9{position:absolute;top:16px!important;right:16px!important;display:flex;gap:6px}
body.tactical20 #game.adventure9 .hud-tools9 .icon9,body.tactical20 #game.adventure9 .quick-rail9 .icon9{width:36px!important;height:36px!important;min-height:36px!important;padding:8px!important;border:1px solid var(--edge20)!important;border-radius:10px;background:var(--panel20)!important;box-shadow:0 3px 0 #0003!important}
body.tactical20 #game.adventure9 .quick-rail9{position:absolute;left:16px!important;top:96px!important;display:flex!important;flex-direction:row!important;gap:7px!important;width:132px}
body.tactical20 #game.adventure9 .synergy-tray9{position:absolute;left:16px!important;top:148px!important;width:128px!important;bottom:auto;max-height:calc(100dvh - var(--market20) - var(--bench20) - 192px);overflow:auto;scrollbar-width:thin;padding:0!important;background:none!important;opacity:1!important}
body.tactical20 #game.adventure9 .synergy-grid9{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
body.tactical20 #game.adventure9 .synergy-grid9>button{display:flex;align-items:center;gap:4px;padding:7px 5px!important;background:var(--panel20)!important;border:1px solid var(--edge20)!important;border-radius:9px!important;min-height:38px!important}
body.tactical20 #game.adventure9 .synergy-grid9 img{width:25px!important;height:25px!important;object-fit:contain}
body.tactical20 #game.adventure9 .synergy-grid9 b{font:700 10px system-ui}
body.tactical20 #game.adventure9 .active-team9{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:12px}
body.tactical20 #game.adventure9 .active-team9>button{position:relative;padding:1px!important;height:40px!important;min-height:40px!important;background:#122b3a99;border:1px solid var(--edge20);border-radius:7px}
body.tactical20 #game.adventure9 .active-team9 canvas{width:38px!important;height:29px!important;max-width:100%}
body.tactical20 #game.adventure9 .active-team9 small{font-size:8px;line-height:9px;position:absolute;bottom:0;left:0;right:0}
body.tactical20 #game.adventure9 #sidebar{position:absolute!important;top:94px!important;right:16px!important;bottom:auto!important;width:158px!important;height:auto!important;max-height:calc(100dvh - var(--market20) - var(--bench20) - 130px)!important;overflow:auto!important;padding:8px!important;border:1px solid var(--edge20)!important;border-radius:12px!important;background:var(--panel20)!important;box-shadow:0 8px 30px #0003}
body.tactical20 #game.adventure9 .leader-handle9{width:100%;height:30px!important;min-height:30px!important;padding:3px 0!important;font:700 10px system-ui!important;border:0;border-radius:0;background:none}
body.tactical20 #game.adventure9 .leader-list9{display:grid!important;height:auto!important;grid-template-rows:none!important;gap:5px!important}
body.tactical20 #game.adventure9 .leader9{min-height:45px!important;height:45px!important;padding:4px 2px!important;gap:8px;background:transparent;border:0;border-bottom:1px solid #8cbaa01c}
body.tactical20 #game.adventure9 .leader9.mine{background:#71cbb618;border-radius:8px}
body.tactical20 #game.adventure9 .leader9 b{font:650 12px system-ui!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:96px}
body.tactical20 #game.adventure9 .leader9 small{font:600 9px system-ui!important}
body.tactical20 #game.adventure9 .leader9>span,body.tactical20 #game.adventure9 .leader9 svg{width:32px!important;height:32px!important}
body.tactical20 #game.adventure9 .leader9 i{height:4px!important;margin:4px 0!important;background:#030c18!important}
body.tactical20 #game.adventure9 #sidebar.leaders-folded9{height:45px!important;overflow:hidden!important}
body.tactical20 #game.adventure9 #dock{position:absolute!important;left:var(--left20)!important;right:calc(var(--right20) + 166px)!important;bottom:calc(var(--market20) + 18px)!important;height:var(--bench20)!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:5px!important;background:transparent!important;border:0!important;box-shadow:none!important;z-index:15}
body.tactical20 #game.adventure9 .bench-title9{font:600 9px system-ui!important;letter-spacing:.08em;display:flex;justify-content:space-between;color:#c1d4ce}
body.tactical20 #game.adventure9 .bench-title9 small{font-size:8px!important;letter-spacing:0}
body.tactical20 #game.adventure9 .bench-grid9{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;height:calc(var(--bench20) - 18px);min-height:0}
body.tactical20 #game.adventure9 .bench-grid9 .roster-cell8{position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;padding:2px!important;border:1px solid #718c9180!important;border-radius:8px!important;background:linear-gradient(145deg,#21394b,#142332)!important;box-shadow:0 3px 0 #07131e99;overflow:hidden;font-size:18px;color:#a2c1bd45}
body.tactical20 #game.adventure9 .bench-grid9 .occupied8{border-color:#b8ba8a!important}
body.tactical20 #game.adventure9 .bench-grid9 canvas{width:100%!important;height:calc(100% - 8px)!important;object-fit:contain}
body.tactical20 #game.adventure9 .bench-grid9 small{position:absolute;left:0;right:0;bottom:1px;font:700 10px system-ui!important;color:#f2cf8f;line-height:10px}
body.tactical20 #game.adventure9 .field-commands20{position:absolute;left:var(--left20);bottom:calc(var(--market20) + var(--bench20) + 28px);display:flex;gap:6px;pointer-events:auto}
.field-commands20>button{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;min-height:34px;font:650 11px system-ui;background:var(--panel20);border:1px solid var(--edge20);border-radius:9px;color:#dce9df}
body.tactical20 #game.adventure9 .fight-controls20{position:absolute;right:var(--right20);bottom:calc(var(--market20) + 18px);height:calc(var(--bench20) - 5px);width:152px;pointer-events:auto}
body.tactical20 #game.adventure9 .fight20{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;padding:8px;min-height:40px;border-radius:12px;border:1px solid #ffd39b;background:linear-gradient(150deg,#ff9e49,#ee6e20)!important;color:#132c33!important;box-shadow:0 4px 0 #713a22;font:800 15px system-ui;white-space:normal}
#market20{display:none}
body.tactical20 #market20:not(.hidden){position:absolute;display:flex;flex-direction:column;left:var(--left20);right:var(--right20);bottom:12px;height:var(--market20);padding:8px;box-sizing:border-box;background:linear-gradient(150deg,#24394c,#142237);border:1px solid #739095;border-radius:12px;z-index:16;box-shadow:0 6px 20px #0005,inset 0 1px #d4e7cc17}
.market-head20{display:flex;align-items:center;gap:8px;height:27px;min-height:27px;margin-bottom:6px;min-width:0}
.market-head20>button{display:flex;align-items:center;gap:5px;border:0;background:transparent;padding:3px 5px;min-height:26px;font:650 10px system-ui;color:#c9dcd4;white-space:nowrap}
.market-head20 .market-title20{flex:1;justify-content:flex-start;min-width:0}
.market-title20 b{font-size:9px;letter-spacing:.07em;color:#e6e9d9}
.market-title20>span{display:flex;align-items:center;gap:4px;margin-left:8px;color:#ffdb8a;font-size:15px;font-weight:800}
.market-title20 small{font-size:9px;font-weight:400;color:#a6bcb9;margin-left:auto}
.market-body20{display:flex;gap:8px;min-height:0;flex:1}
.market-level20{display:flex;flex-direction:column;gap:4px;flex:0 0 122px;min-width:0}
.market-level20>div:first-child{display:flex;justify-content:space-between;font:700 9px system-ui;gap:5px;color:#e4e7d8}
.market-level20 small{font-size:8px;color:#adccc6}
.market-level20 .xp-track20{height:3px;border-radius:4px;background:#081626;overflow:hidden;flex:none}
.xp-track20 i{height:100%;display:block;background:#80c9bc}
.market-level20 button{min-height:26px;flex:1;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #8a9cb077;border-radius:7px;background:linear-gradient(150deg,#365676,#28415e);font:700 11px system-ui;color:#f4ead5;padding:2px 5px}
.market-level20 .glyph9{width:14px;height:14px}
.market-offers20{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;flex:1;min-width:0;overflow:visible}
.offer20{position:relative;min-width:0;min-height:0;isolation:isolate;border-radius:8px;border:1px solid #d4e4d24a;background:linear-gradient(140deg,color-mix(in srgb,var(--type20) 45%,#233d4a),#142332);overflow:hidden}
.offer20.sold20{opacity:.4}
.offer-buy20{position:relative;width:100%;height:100%;padding:0!important;min-height:0!important;background:transparent!important;border:0!important;border-radius:7px;display:block;overflow:hidden;box-shadow:none!important;text-align:left}
.offer-buy20:disabled{opacity:.6!important}
.offer-buy20 canvas{position:absolute;inset:0 0 12px;width:100%!important;height:calc(100% - 12px)!important;object-fit:contain;filter:drop-shadow(0 3px 3px #0005);pointer-events:none}
.offer-types20{position:absolute;top:6px;left:5px;display:flex;flex-direction:column;gap:4px;pointer-events:none}
.offer-types20 img{width:17px!important;height:17px!important;object-fit:contain}
.offer-caption20{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:2px;background:#0a1429e8;padding:4px 5px;color:#f2efdf;min-width:0}
.offer-caption20 b{font:750 11px system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.offer-caption20 span{display:flex;align-items:center;gap:2px;font:800 11px system-ui;color:#f9d08c;flex:none}
.offer-caption20 .glyph9{width:12px;height:12px}
.offer-copies20{position:absolute;bottom:25px;left:5px;font:700 8px system-ui;color:#fce1a6;text-shadow:0 1px 3px #000}
.offer-info20{position:absolute;top:4px;right:4px;min-height:24px!important;width:24px;height:24px;border-radius:50%;padding:4px;background:#0c1b36c9!important;color:#dce8dd;border:1px solid #a2bdac55;z-index:2}
.offer-info20 .glyph9{width:14px;height:14px}
body.tactical20 #shop9{display:none!important}
body.tactical20 #game.market-compact20{--market20:48px}
body.tactical20 #game.adventure9 .market-compact20 .market-body20{display:none}
body.tactical20 #game.adventure9 .market-compact20 .market-head20{margin-bottom:0}
body.tactical20 .inspect-drawer20{pointer-events:none!important;background:transparent!important;backdrop-filter:none!important;align-items:flex-start!important;justify-content:flex-end!important;padding:0!important}
body.tactical20 #modal.inspect-drawer20 .modal-card.visual-dialog19{pointer-events:auto!important;position:absolute!important;top:86px!important;right:16px!important;left:auto!important;width:min(350px,35vw)!important;max-height:calc(100dvh - var(--market20) - 110px)!important;margin:0!important;box-shadow:0 12px 40px #0008!important}
body.tactical20 .inspect-drawer20 .pokemon-hero13{padding:8px!important;gap:7px!important}
body.tactical20 .inspect-drawer20 .pokemon-hero13>canvas{width:85px!important;height:75px!important}
body.tactical20 .inspect-drawer20 .pokemon-hero13 h3{font-size:18px!important}
body.tactical20 .inspect-drawer20 .stat-tiles13{gap:4px!important}
body.tactical20 .inspect-drawer20 .stat-tiles13>div{padding:5px!important;min-height:48px!important;grid-template-columns:16px minmax(0,1fr)!important;column-gap:4px!important}
body.tactical20 .inspect-drawer20 .stat-tiles13 svg{width:16px!important;height:16px!important}
.report20 article{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #89b3a125}
.report20 article>canvas{width:55px!important;height:42px!important;flex:none}
.report20 article>div{flex:1;min-width:0}.report20 b{font-size:12px}.report20 small{font-size:10px;color:#a9c9b7}.report20 strong{font-size:14px;color:#f4d395;min-width:48px;text-align:right}
.report-bar20{height:7px;background:#061b20;border-radius:4px;margin:5px 0;overflow:hidden}.report-bar20 i{display:block;height:100%;background:linear-gradient(90deg,#6ba995,#bddd98);border-radius:4px}
/* Home, galleries, forms and deployment can grow without escaping the viewport. */
body.release20.home14 #menu:not(.hidden){grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr)!important;column-gap:clamp(24px,5vw,90px)!important;padding:clamp(18px,4vh,48px) clamp(20px,6vw,100px) 12px!important}
body.release20 .menu-actions{width:100%!important;max-width:560px!important;min-width:0!important;justify-self:center}
body.release20 .home-account14{flex-wrap:wrap;gap:8px!important}
body.release20 .home-account14>span{min-width:0;flex:1;overflow-wrap:anywhere}
body.release20 .menu-brand{min-width:0}
body.release20 .menu-brand .subtitle{font-size:clamp(9px,1vw,13px)!important;white-space:normal!important;line-height:1.5}
body.release20 .home-mode-grid14>button,body.release20 .home-mode-grid14{min-width:0!important}
body.release20 #modal-body button,body.release20 #modal-body input,body.release20 #modal-body select{max-width:100%;box-sizing:border-box}
body.release20 #deploy16 .deploy-body16{min-height:0;min-width:0;overflow:auto}
@media(min-width:1700px){body.tactical20{--left20:190px;--right20:224px;--market20:174px;--bench20:88px}body.tactical20 #game.adventure9 .synergy-tray9{width:154px!important}body.tactical20 #game.adventure9 .synergy-grid9 img{width:31px!important;height:31px!important}body.tactical20 #game.adventure9 #sidebar{width:184px!important}body.tactical20 #game.adventure9 .leader9{height:53px!important;min-height:53px!important}body.tactical20 #game.adventure9 .leader9 b{font-size:14px!important;max-width:118px}.offer-caption20 b,.offer-caption20 span{font-size:13px}.market-level20{flex-basis:145px}}
@media(max-width:1100px) and (orientation:landscape){body.tactical20{--left20:112px;--right20:128px;--market20:130px;--bench20:64px;--top20:80px}body.tactical20 #game.adventure9 .synergy-tray9{width:88px!important;left:10px!important}body.tactical20 #game.adventure9 .synergy-grid9{gap:4px!important}body.tactical20 #game.adventure9 .synergy-grid9>button{flex-direction:column;gap:1px;padding:3px!important;min-height:39px!important}body.tactical20 #game.adventure9 .synergy-grid9 img{width:22px!important;height:22px!important}body.tactical20 #game.adventure9 .quick-rail9{left:10px!important;width:95px;gap:4px!important}body.tactical20 #game.adventure9 .quick-rail9 .icon9{width:29px!important;height:29px!important;min-height:29px!important;padding:6px!important}body.tactical20 #game.adventure9 #sidebar{width:108px!important;right:10px!important;padding:5px!important}body.tactical20 #game.adventure9 .leader9 b{font-size:10px!important;max-width:70px}body.tactical20 #game.adventure9 .leader9{gap:4px;height:36px!important;min-height:36px!important}body.tactical20 #game.adventure9 .leader9 svg,body.tactical20 #game.adventure9 .leader9>span{width:24px!important;height:24px!important}body.tactical20 #game.adventure9 .player-status20{left:10px;top:10px;gap:4px}.player-status20>span,.player-status20>button{padding:4px 7px;font-size:12px;min-height:33px;height:33px}body.tactical20 #game.adventure9 .hud-tools9{top:10px!important;right:10px!important;gap:4px}body.tactical20 #game.adventure9 .hud-tools9 .icon9{width:29px!important;height:29px!important;min-height:29px!important;padding:6px!important}body.tactical20 #game.adventure9 .round-hud9{width:34vw!important;top:8px!important}.market-level20{flex-basis:96px}.market-head20{gap:4px}.market-title20 b{font-size:8px}.market-title20 small{display:none}.offer-caption20 b{font-size:9px}.offer-caption20 span{font-size:10px}.offer-types20 img{width:14px!important;height:14px!important}.market-offers20{gap:4px}.offer-copies20{font-size:7px}.market-level20 button{font-size:10px}.market-level20 .glyph9{width:13px;height:13px}body.tactical20 #game.adventure9 .fight-controls20{width:118px}body.tactical20 #game.adventure9 #dock{right:calc(var(--right20) + 128px)!important}body.tactical20 #game.adventure9 .fight20{font-size:13px}body.tactical20 #game.adventure9 .field-commands20>button{padding:5px 8px;font-size:10px;min-height:29px}body.tactical20 #game.adventure9 .bench-title9 small{display:none}}
@media(orientation:landscape) and (max-height:600px){body.tactical20{--market20:112px;--bench20:54px;--top20:66px;--left20:102px;--right20:116px}body.tactical20 #game.adventure9 .round-caption9>span{display:none}body.tactical20 #game.adventure9 .round-track9{height:28px;font-size:8px}body.tactical20 #game.adventure9 .round-track9>b{height:28px;min-width:28px;font-size:18px}body.tactical20 #game.adventure9 .round-caption9>button{font-size:8px;min-height:18px}body.tactical20 #game.adventure9 .quick-rail9{top:64px!important}body.tactical20 #game.adventure9 .synergy-tray9{top:102px!important;max-height:calc(100dvh - 126px);width:80px!important}body.tactical20 #game.adventure9 .synergy-grid9>button{flex-direction:row;min-height:28px!important;padding:2px!important;gap:2px}body.tactical20 #game.adventure9 .synergy-grid9 img{width:17px!important;height:17px!important}body.tactical20 #game.adventure9 .synergy-grid9 b{font-size:8px}body.tactical20 #game.adventure9 .active-team9{margin-top:7px;grid-template-columns:repeat(2,minmax(0,1fr))}body.tactical20 #game.adventure9 .active-team9>button{height:29px!important;min-height:29px!important}body.tactical20 #game.adventure9 .active-team9 canvas{height:24px!important}body.tactical20 #game.adventure9 #sidebar{top:64px!important;max-height:calc(100dvh - 80px)!important;width:96px!important}body.tactical20 #game.adventure9 .leader9{height:31px!important;min-height:31px!important}body.tactical20 #game.adventure9 .leader9 b{font-size:9px!important;max-width:60px}body.tactical20 #game.adventure9 .leader9 small{font-size:8px!important}body.tactical20 #game.adventure9 .leader9>span,body.tactical20 #game.adventure9 .leader9 svg{width:22px!important;height:22px!important}body.tactical20 #game.adventure9 .leader-handle9{font-size:9px!important;height:24px!important;min-height:24px!important}body.tactical20 #market20:not(.hidden){bottom:7px;padding:5px}.market-head20{height:21px;min-height:21px;margin-bottom:4px}.market-head20>button{font-size:9px;min-height:21px;padding:1px 4px}.market-head20 .glyph9{width:13px;height:13px}.market-level20{gap:3px}.market-level20 button{min-height:21px!important;font-size:9px}.market-level20>div:first-child{font-size:8px}.market-level20 small{font-size:7px}.market-title20>span{font-size:12px}.offer-info20{width:20px;height:20px;min-height:20px!important;padding:3px}.offer-info20 .glyph9{width:12px;height:12px}.offer-types20{gap:2px;top:4px;left:3px}.offer-types20 img{width:12px!important;height:12px!important}.offer-copies20{bottom:21px;font-size:7px}.offer-caption20{padding:3px}.offer-caption20 b{font-size:8px}.offer-caption20 span{font-size:9px}body.tactical20 #game.adventure9 .bench-grid9{gap:3px}body.tactical20 #game.adventure9 .bench-title9{font-size:8px!important}body.tactical20 #game.adventure9 .fight-controls20{width:104px}body.tactical20 #game.adventure9 #dock{right:calc(var(--right20) + 112px)!important}body.tactical20 #game.adventure9 .fight20{font-size:11px;min-height:30px}body.tactical20 #game.adventure9 .field-commands20{bottom:calc(var(--market20) + var(--bench20) + 23px)}body.tactical20 #game.adventure9 .field-commands20>button{padding:4px 6px;font-size:9px;min-height:25px}.field-commands20 .glyph9{width:14px;height:14px}body.tactical20 #game.adventure9 .market-compact20{--market20:36px}}
@media(orientation:portrait){body.release20.home14 #menu:not(.hidden){grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;gap:16px!important;padding:18px 16px 10px!important;overflow-y:auto!important;align-content:center!important}body.release20 .home14 .game-logo16{max-height:21dvh}body.release20 .menu-brand p{display:none!important}body.release20 .menu-actions{padding:12px!important}body.release20 .home-account14{font-size:10px}body.release20 .menu-footer{position:relative!important;inset:auto!important;flex-wrap:wrap;gap:7px}body.tactical20{--left20:8px;--right20:8px;--market20:174px;--bench20:60px;--top20:156px}body.tactical20 #game.adventure9 .play-layout{inset:var(--top20) 8px calc(var(--market20) + var(--bench20) + 70px) 8px!important}body.tactical20 #game.adventure9 .player-status20{top:10px;left:10px;gap:4px}.player-status20>span,.player-status20>button{padding:4px 7px;height:32px;min-height:32px;font-size:12px}body.tactical20 #game.adventure9 .hud-tools9{top:10px!important;right:8px!important;gap:4px}body.tactical20 #game.adventure9 .hud-tools9 .icon9{width:29px!important;height:29px!important;min-height:29px!important;padding:6px!important}body.tactical20 #game.adventure9 .hud-tools9 .icon9:first-child{display:none}body.tactical20 #game.adventure9 .round-hud9{top:52px!important;width:calc(100vw - 120px)!important;left:calc(50% + 30px)!important}body.tactical20 #game.adventure9 .round-track9{font-size:8px;height:29px;gap:4px}body.tactical20 #game.adventure9 .round-track9>b{height:29px;min-width:29px;font-size:18px}body.tactical20 #game.adventure9 .round-caption9>span{display:none}body.tactical20 #game.adventure9 .round-caption9>button{font-size:8px}body.tactical20 #game.adventure9 .quick-rail9{top:52px!important;left:8px!important;display:flex!important;flex-direction:column!important;width:30px;gap:4px!important}body.tactical20 #game.adventure9 .quick-rail9 .icon9{width:28px!important;height:28px!important;min-height:28px!important;padding:6px!important}body.tactical20 #game.adventure9 .quick-rail9 .icon9:nth-child(2){display:none}body.tactical20 #game.adventure9 .synergy-tray9{top:111px!important;left:46px!important;width:calc(100vw - 56px)!important;max-height:42px!important;overflow-x:auto!important;overflow-y:hidden!important;display:flex!important;align-items:center;gap:4px}.synergy-tray9 .active-team9{display:none!important}body.tactical20 #game.adventure9 .synergy-grid9{display:flex!important;gap:4px!important}body.tactical20 #game.adventure9 .synergy-grid9>button{padding:4px 5px!important;min-height:30px!important;flex:none}body.tactical20 #game.adventure9 .synergy-grid9 img{width:21px!important;height:21px!important}body.tactical20 #game.adventure9 .synergy-grid9 b{font-size:9px}body.tactical20 #game.adventure9 #sidebar{top:155px!important;right:8px!important;width:108px!important;padding:4px!important;z-index:12;max-height:200px!important}body.tactical20 #game.adventure9 .leader-list9{gap:2px!important}body.tactical20 #game.adventure9 .leader9{height:24px!important;min-height:24px!important;padding:2px!important;gap:4px}body.tactical20 #game.adventure9 .leader9 svg,body.tactical20 #game.adventure9 .leader9>span{width:20px!important;height:20px!important}body.tactical20 #game.adventure9 .leader9 b{font-size:9px!important;max-width:64px}body.tactical20 #game.adventure9 .leader9 i{display:none}body.tactical20 #game.adventure9 .leader9 small{font-size:8px!important}body.tactical20 #game.adventure9 .leader-handle9{height:24px!important;min-height:24px!important;font-size:9px!important}body.tactical20 #game.adventure9 #sidebar.leaders-folded9{height:32px!important}body.tactical20 #game.adventure9 .field-commands20{left:8px;bottom:calc(var(--market20) + var(--bench20) + 30px);gap:4px}body.tactical20 #game.adventure9 .field-commands20>button{padding:5px 8px;font-size:10px;min-height:30px}body.tactical20 #game.adventure9 .fight-controls20{right:8px;bottom:calc(var(--market20) + var(--bench20) + 28px);width:120px;height:34px}body.tactical20 #game.adventure9 .fight20{font-size:12px;min-height:34px;border-radius:9px}body.tactical20 #game.adventure9 #dock{right:8px!important;left:8px!important;bottom:calc(var(--market20) + 18px)!important;height:var(--bench20)!important}body.tactical20 #game.adventure9 .bench-title9{font-size:8px!important}body.tactical20 #game.adventure9 .bench-title9 small{display:none}.market-level20{flex-basis:86px}.market-offers20{grid-auto-flow:column;grid-auto-columns:minmax(87px,1fr);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x proximity;gap:5px;padding-bottom:3px}.offer20{scroll-snap-align:start;min-height:0}.offer-caption20 b{font-size:9px}.offer-caption20 span{font-size:9px}.market-title20 b{font-size:8px}.market-title20 small{display:none}.market-title20>span{font-size:13px;margin-left:4px}.market-head20{gap:2px}.market-head20>button{padding:3px;font-size:9px}.market-head20>button>span{font-size:9px}.market-head20 .glyph9{width:14px;height:14px}.market-level20 button{font-size:10px}.market-level20>div:first-child{flex-direction:column;gap:2px}.market-level20 small{font-size:8px}.offer-types20 img{width:15px!important;height:15px!important}body.tactical20 #market20:not(.hidden){bottom:8px}.offer-info20{width:22px;height:22px;min-height:22px!important}body.tactical20 #game.market-compact20{--market20:44px}}
@media(orientation:portrait) and (max-height:700px){body.tactical20{--market20:140px;--bench20:50px;--top20:145px}body.tactical20 #game.adventure9 .play-layout{top:145px!important;bottom:calc(var(--market20) + var(--bench20) + 60px)!important}body.tactical20 #game.adventure9 .synergy-tray9{top:102px!important}.market-level20{flex-basis:80px}.market-level20>div:first-child{flex-direction:row;font-size:7px}.market-level20 small{font-size:7px}.market-level20 button{font-size:9px;min-height:24px}.market-title20 b{font-size:7px}body.tactical20 #game.adventure9 .round-caption9{margin-top:3px}body.tactical20 #game.adventure9 .round-caption9>button{min-height:17px}body.release20.home14 #menu:not(.hidden){align-content:start!important;gap:8px!important}.home14 .home-party14{display:none!important}body.release20 .home-action14{min-height:57px!important}body.release20 .home-action14 b{font-size:17px!important}body.release20 .home-action14 small{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){body.tactical20 *{scroll-behavior:auto!important}}
/* Four quick actions, including the existing pet support button, share the reserved lane. */
@media(min-width:1101px) and (orientation:landscape){body.tactical20 #game.adventure9 .quick-rail9{width:140px;gap:5px!important}body.tactical20 #game.adventure9 .quick-rail9 .icon9{width:31px!important;height:31px!important;min-height:31px!important;padding:7px!important}}
@media(max-width:1100px) and (orientation:landscape){body.tactical20 #game.adventure9 .quick-rail9{display:grid!important;grid-template-columns:repeat(2,29px);width:64px!important}body.tactical20 #game.adventure9 .synergy-tray9{top:170px!important}}
@media(orientation:landscape) and (max-height:600px){body.tactical20 #game.adventure9 .quick-rail9{display:flex!important;width:88px!important;gap:3px!important;flex-wrap:wrap}body.tactical20 #game.adventure9 .quick-rail9 .icon9{width:25px!important;height:25px!important;min-height:25px!important;padding:5px!important}body.tactical20 #game.adventure9 .synergy-tray9{top:130px!important}}
@media(orientation:portrait){body.tactical20 #game.adventure9 .quick-rail9 .icon9:nth-child(4){display:none!important}}
body.tactical20 #game.adventure9 .bench-grid9{grid-template-rows:minmax(0,1fr)!important;grid-auto-flow:column!important}
body.tactical20 #game.adventure9 .bench-grid9 .roster-cell8.empty8{font-size:0!important}
body.tactical20 #game.adventure9 .bench-grid9 .roster-cell8.empty8:after{content:'+';font:300 20px system-ui;color:#b7cbc440}
body.tactical20 #toast.hidden{display:none!important}
@media(orientation:landscape) and (max-height:500px){body.tactical20{--market20:100px;--bench20:42px;--top20:61px}body.tactical20 #game.adventure9 .market-title20 b{font-size:7px}body.tactical20 #game.adventure9 .market-level20{flex-basis:80px}body.tactical20 #game.adventure9 .market-level20 button{min-height:18px!important;padding:1px 3px;font-size:8px}body.tactical20 #game.adventure9 .market-level20 .xp-track20{display:none}body.tactical20 #game.adventure9 .market-level20>div:first-child{font-size:7px}body.tactical20 #game.adventure9 .bench-title9{font-size:7px!important}body.tactical20 #game.adventure9 .field-commands20>button{min-height:22px;padding:3px 5px;font-size:8px}body.tactical20 #game.adventure9 .fight20{font-size:11px;min-height:28px}}
@media(orientation:portrait){body.tactical20 #game.adventure9 .round-hud9{top:54px!important;left:calc(50% + 18px)!important;width:calc(100vw - 90px)!important}body.tactical20 #game.adventure9 .hud-tools9{display:flex!important;flex-wrap:nowrap!important}body.tactical20 #game.adventure9 .hud-tools9 .icon9{display:flex!important;flex:none}body.tactical20 #game.adventure9 .hud-tools9 .icon9:first-child{display:none!important}body.tactical20 #game.adventure9 .quick-rail9{top:54px!important;left:8px!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;width:28px!important}body.tactical20 #game.adventure9 .synergy-tray9{top:109px!important;left:46px!important;width:calc(100vw - 56px)!important;max-height:36px!important}body.tactical20 #game.adventure9 .market-offers20{grid-template-columns:none!important;grid-auto-columns:92px!important;grid-auto-flow:column!important;overflow-x:auto!important}body.tactical20 #game.adventure9 .bench-grid9{height:calc(var(--bench20) - 17px)!important}}
body.tactical20 #game.adventure9 #dock .bench-grid9{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;grid-auto-flow:column!important;height:calc(var(--bench20) - 18px)!important}
body.release20 #toast{top:78px!important;bottom:auto!important;left:50%!important;transform:translateX(-50%)!important;max-width:calc(100vw - 32px)!important;min-height:0!important;padding:10px 16px!important;border:1px solid #91b3ae!important;border-radius:12px!important;background:#192f43f5!important;color:#fff0cd!important;font:650 12px/1.4 system-ui!important;text-shadow:none!important;box-shadow:0 5px 16px #0004!important;pointer-events:none!important}
body.release20 #toast:empty,body.release20 #toast.hidden{display:none!important}
