@import url('/assets/fonts/fonts.css');
:root{--bg:#131725;--panel:#1d2234;--panel2:#272e43;--ink:#f6f1de;--muted:#9299af;--yellow:#ffe160;--green:#9adb9d;--line:#353b4e;--red:#ef7679;--heading:'Barlow Condensed','Arial Narrow',Impact,sans-serif;--body:'Barlow',Segoe UI,sans-serif;--type:#e7c456}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);color:var(--ink);font-family:var(--body)}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:focus-visible,input:focus-visible,select:focus-visible,.pad-focus{outline:3px solid var(--yellow)!important;outline-offset:4px}button{transition:background .16s,transform .16s,border-color .16s}button:disabled{opacity:.36;cursor:not-allowed}input,select{color:var(--ink);background:#141827;border:1px solid var(--line);padding:13px 16px;border-radius:7px;outline:none}input:focus,select:focus{border-color:var(--yellow)}input::placeholder{color:#798198}a{color:var(--yellow)}.hidden{display:none!important}#app{height:100%;display:flex;flex-direction:column;background:radial-gradient(ellipse at 72% 48%,#242a46 0,transparent 47%),var(--bg)}.topbar{height:98px;flex-shrink:0;display:flex;align-items:center;padding:0 4.2%;border-bottom:1px solid #ffffff0e;gap:70px}.brand{display:flex;align-items:center;gap:13px;text-align:left;font-family:var(--heading);font-size:17px;line-height:1;letter-spacing:2.5px;font-weight:800}.brand-sub{display:block;font-size:26px;letter-spacing:.5px;margin-top:3px}.brand-sub b{color:var(--yellow)}.brand-ball{width:37px;height:37px;border:3px solid var(--yellow);border-radius:50%;display:inline-block;position:relative;transform:rotate(-25deg);overflow:hidden}.brand-ball:before{content:'';position:absolute;height:4px;background:var(--yellow);left:0;right:0;top:13px}.brand-ball:after{content:'';position:absolute;width:10px;height:10px;border:3px solid var(--yellow);background:var(--bg);border-radius:50%;left:8px;top:8px}.top-links{display:flex;gap:28px;height:100%;align-items:stretch}.top-link{position:relative;font-size:11px;font-weight:800;letter-spacing:1.4px;color:var(--muted);padding:0}.top-link.active{color:var(--ink)}.top-link.active:after{content:'';position:absolute;bottom:0;height:3px;background:var(--yellow);left:0;right:0}.profile{margin-left:auto;display:flex;align-items:center;gap:13px}.profile button{text-align:left;padding:0}.profile-label{display:block;color:var(--muted);font-size:9px;letter-spacing:2px;margin-bottom:3px}.profile strong{font-size:14px}.avatar{border-radius:50%;background:#454c65;border:2px solid #626b89;width:37px;height:37px;display:grid;place-items:center;font-size:17px;font-weight:800;color:var(--yellow)}.controller-status{font-size:9px;letter-spacing:1px;color:var(--muted);margin-right:17px;white-space:nowrap}#main{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#424b67 transparent}.footer{height:53px;flex-shrink:0;border-top:1px solid #ffffff0e;display:flex;align-items:center;justify-content:space-between;padding:0 4.2%;font-size:9px;font-weight:700;letter-spacing:1.7px;color:#808aa3}.footer .connection{display:flex;align-items:center;gap:9px}.connection i{width:6px;height:6px;border-radius:50%;background:#c2a450;box-shadow:0 0 12px #c2a45055}.connection i.online{background:var(--green);box-shadow:0 0 10px #9adb9d66}.footer-settings{font-size:10px;letter-spacing:1.4px}.home{height:100%;min-height:570px;display:grid;grid-template-columns:46% 54%;position:relative;padding:3.7% 4.2% 2.7%;isolation:isolate}.home-copy{max-width:560px;position:relative;z-index:3}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:2.4px;font-weight:800;color:var(--yellow);margin-bottom:17px}.eyebrow:before{content:'';width:25px;height:2px;background:var(--yellow)}h1,h2,h3,p{margin:0}.hero-title{font-family:var(--heading);font-size:clamp(62px,6.8vw,110px);line-height:.87;letter-spacing:-1px;font-weight:800}.hero-title span{display:block;color:var(--yellow)}.hero-description{font-size:14px;color:#b3b9cb;line-height:1.6;max-width:365px;margin-top:20px}.menu-list{margin-top:27px;display:grid;gap:9px;max-width:421px}.menu-entry{position:relative;display:flex;align-items:center;text-align:left;border:1px solid #4a50654f;border-radius:8px;padding:16px 18px;gap:15px;background:linear-gradient(110deg,#272d43aa,#1d223477)}.menu-entry:hover{background:#323952;transform:translateX(4px)}.menu-entry.primary{background:var(--yellow);border-color:var(--yellow);color:#1b2030;padding-top:19px;padding-bottom:19px;box-shadow:0 9px 30px #ffd85a10}.menu-entry.primary:hover{background:#ffeb93}.menu-icon{width:26px;text-align:center;font-size:23px}.menu-title{font-family:var(--heading);font-weight:700;font-size:24px;letter-spacing:1px;line-height:1.1}.menu-description{display:block;font-size:10px;color:#949db8;margin-top:4px;letter-spacing:.3px}.primary .menu-description{color:#626040}.menu-arrow{margin-left:auto;font-size:25px}.menu-small{display:grid;grid-template-columns:1fr 1fr;gap:9px}.menu-small .menu-entry{padding:13px 14px;gap:10px}.menu-small .menu-title{font-size:19px}.menu-small .menu-icon{font-size:19px;width:19px}.home-controls{margin-top:22px;display:flex;gap:20px;color:#747e99;font-size:9px;letter-spacing:.6px}.home-controls b{color:#b8c0d5;font-weight:600}.home-art{position:relative;min-height:470px;align-self:stretch;overflow:visible}.orb-glow{position:absolute;width:84%;aspect-ratio:1;left:8%;top:0;border-radius:50%;background:radial-gradient(circle,#fff3b612 2%,#f4d25208 32%,transparent 68%);filter:blur(6px)}.orb{position:absolute;width:68%;aspect-ratio:1;left:16%;top:4%;border-radius:50%;border:1px solid #8790b431;box-shadow:inset 0 0 60px #171a2a,0 0 100px #d9be6020;background:radial-gradient(circle at 50% 16%,#59617a66,#30374e33 48%,#1e233acc 51%);transform:rotate(-27deg)}.orb:before{content:'';position:absolute;left:-7%;right:-7%;top:50%;height:2px;background:linear-gradient(90deg,transparent,#e8d38f88,transparent)}.orb:after{content:'';position:absolute;left:34%;top:34%;width:32%;height:32%;border-radius:50%;border:2px solid #dcc58844;box-shadow:0 0 40px #eed07a16;background:#30374c}.orb-rings{position:absolute;inset:-9%;border:1px dashed #67719040;border-radius:50%}.art-word{position:absolute;left:1%;top:10%;font-family:var(--heading);font-size:clamp(100px,14.5vw,230px);font-weight:900;color:transparent;-webkit-text-stroke:1px #ffffff07;writing-mode:vertical-rl;letter-spacing:1px;line-height:.8;pointer-events:none}.hero-sprite{position:absolute;image-rendering:pixelated;object-fit:contain;filter:drop-shadow(0 22px 7px #0005);z-index:2;animation:hero-bob 4s ease-in-out infinite;user-select:none;pointer-events:none}.hero-sprite.center{width:48%;height:48%;left:28%;top:12%;animation-delay:-1s}.hero-sprite.left{width:29%;height:35%;left:5%;top:30%;animation-delay:-2s}.hero-sprite.right{width:32%;height:35%;right:0;top:34%;animation-delay:-.5s}.art-spark{position:absolute;width:5px;height:5px;background:var(--yellow);box-shadow:0 0 20px #ffe16099;transform:rotate(45deg);opacity:.6}.art-spark.s1{left:13%;top:23%}.art-spark.s2{right:8%;top:17%;width:3px;height:3px}.art-spark.s3{right:15%;top:57%;width:4px;height:4px}.hero-platform{position:absolute;width:85%;height:12%;left:10%;top:61%;border-radius:50%;background:radial-gradient(ellipse,#535d7277,transparent 70%);transform:rotate(-2deg)}.hero-platform:after{content:'';position:absolute;inset:8% 12%;border:1px solid #8790b52c;border-radius:50%}.team-preview{position:absolute;bottom:3%;left:12%;right:1%;z-index:3}.section-eyebrow{font-size:10px;color:var(--muted);letter-spacing:2px;font-weight:700;display:flex;justify-content:space-between;margin-bottom:13px}.section-eyebrow button{color:var(--yellow);font-size:9px;letter-spacing:1px}.preview-team{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.preview-mon{padding:8px 11px 12px;border-top:2px solid var(--type);border-radius:7px;background:linear-gradient(#343b5155,#292f4555);display:grid;grid-template-columns:45px 1fr;align-items:center;gap:8px}.preview-mon img{width:43px;height:49px;object-fit:contain;image-rendering:pixelated}.preview-mon strong{font-family:var(--heading);font-size:18px;letter-spacing:.4px}.preview-mon small{font-size:8px;color:var(--muted);display:block;margin-top:4px;text-transform:uppercase;letter-spacing:1px}.art-label{position:absolute;top:4%;right:5%;font-size:9px;letter-spacing:3px;color:#767f9b;writing-mode:vertical-rl}.page{padding:35px 4.2% 45px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.page-heading h1{font-family:var(--heading);font-size:54px;line-height:1;letter-spacing:.5px}.page-heading p{margin-top:9px;color:var(--muted);font-size:13px}.back-button{font-size:10px;font-weight:800;color:var(--muted);letter-spacing:1.5px;margin-bottom:20px;padding:0}.pill{padding:7px 12px;border:1px solid #66708744;border-radius:20px;font-size:9px;letter-spacing:1px;color:var(--muted)}.primary-button,.secondary-button{border-radius:7px;font-size:12px;letter-spacing:1px;font-weight:800;padding:15px 24px;display:inline-flex;align-items:center;justify-content:center;gap:10px}.primary-button{background:var(--yellow);color:#1a2030}.primary-button:hover{background:#ffec97;transform:translateY(-1px)}.secondary-button{background:#30384e;border:1px solid #57617a66}.secondary-button:hover{background:#414b65}.type-chip{display:inline-block;padding:4px 7px;font-size:8px;font-weight:800;border-radius:3px;text-transform:uppercase;letter-spacing:.7px;color:#151a28;background:var(--type)}.team-layout{display:grid;grid-template-columns:305px 1fr;gap:28px;align-items:start}.team-roster{display:flex;flex-direction:column;gap:10px}.roster-card{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:15px;display:grid;grid-template-columns:62px 1fr;gap:14px;text-align:left;align-items:center;position:relative}.roster-card.selected{border-color:var(--yellow);box-shadow:inset 3px 0 var(--yellow)}.roster-card img{width:62px;height:64px;object-fit:contain;image-rendering:pixelated}.roster-card h3{font-size:21px;font-family:var(--heading);margin-bottom:6px}.slot-label{position:absolute;right:12px;top:10px;color:#7c87a3;font-family:var(--heading);font-size:12px}.roster-card .type-chip{margin-right:3px}.team-note{font-size:12px;color:var(--muted);line-height:1.6;padding:10px 0}.selected-detail{margin-top:10px;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:9px}.detail-title{display:flex;justify-content:space-between;font-size:12px;font-weight:700}.stats{margin-top:13px;display:grid;gap:8px}.stat-row{display:grid;grid-template-columns:34px 1fr 26px;gap:7px;align-items:center;font-size:9px;color:var(--muted)}.stat-row i{height:4px;background:#3b455f;border-radius:4px;overflow:hidden}.stat-row b{display:block;height:100%;background:var(--yellow);border-radius:4px}.preset-moves{margin-top:20px;display:grid;gap:8px}.preset-move{display:flex;align-items:center;gap:8px;font-size:11px}.preset-move>span:first-child{width:59px;text-align:center}.preset-move small{margin-left:auto;color:var(--muted);font-size:9px}.searchbar{display:flex;gap:10px;margin-bottom:17px}.searchbar input{flex:1;min-width:50px}.searchbar select{width:150px}.catalog-count{font-size:10px;letter-spacing:.8px;color:var(--muted);margin-bottom:14px}.pokemon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px}.pokemon-card{background:linear-gradient(150deg,#2b3349,#202638);border:1px solid #3b455a77;border-radius:8px;position:relative;padding:14px 9px;text-align:center;min-height:145px}.pokemon-card:hover{border-color:var(--yellow);background:#364059;transform:translateY(-2px)}.pokemon-card.chosen{border-color:#ffe16088;background:#3a3b39}.pokemon-card .dex{position:absolute;top:9px;left:9px;font-size:9px;color:#707c97}.pokemon-card img{display:block;height:72px;max-width:87px;object-fit:contain;image-rendering:pixelated;margin:0 auto 8px}.pokemon-card strong{display:block;font-family:var(--heading);font-size:18px;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pokemon-card small{display:block;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.5px;margin-top:5px}.load-more{display:block;margin:24px auto 0}.arena-options{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.arena-card{min-height:157px;border:1px solid var(--line);border-radius:10px;overflow:hidden;position:relative;text-align:left;padding:20px;display:flex;flex-direction:column;justify-content:flex-end;background:#2a3444;background-size:cover;background-position:center}.arena-card:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#101621ee)}.arena-card>*{position:relative}.arena-card.active{border:2px solid var(--yellow);padding:19px}.arena-card strong{font-family:var(--heading);font-size:25px;letter-spacing:1px}.arena-card span{font-size:10px;color:#c2c9dc;margin-top:3px}.quick-layout{display:grid;grid-template-columns:1fr 295px;gap:27px}.battle-summary{padding:25px;background:var(--panel);border:1px solid var(--line);border-radius:10px;align-self:start}.battle-summary h2{font-family:var(--heading);font-size:25px;letter-spacing:1px}.summary-mon{display:flex;align-items:center;gap:15px;padding:13px 0;border-bottom:1px solid var(--line)}.summary-mon img{height:51px;width:56px;object-fit:contain;image-rendering:pixelated}.summary-mon strong{font-family:var(--heading);font-size:20px}.summary-mon small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.battle-summary .primary-button{width:100%;margin-top:22px}.field{display:flex;flex-direction:column;gap:9px;margin-top:20px}.field label{font-size:10px;letter-spacing:1px;font-weight:700;color:var(--muted)}.intro-panel{padding:24px 27px;background:#252d42;border-left:3px solid var(--yellow);margin-bottom:27px;border-radius:0 8px 8px 0;display:flex;align-items:center;gap:28px}.intro-panel h2{font-family:var(--heading);font-size:24px;letter-spacing:.6px}.intro-panel p{font-size:12px;color:var(--muted);line-height:1.6;margin-top:5px}.badge-progress{margin-left:auto;font-family:var(--heading);font-size:43px;white-space:nowrap;color:var(--yellow)}.badge-progress small{font-size:18px;color:var(--muted)}.circuit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.stage-card{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:21px;min-height:195px;display:flex;flex-direction:column;text-align:left;overflow:hidden;position:relative}.stage-card:hover:enabled{border-color:var(--yellow);background:#2b334c}.stage-card.locked{opacity:.47}.stage-number{color:#7f8aa4;font-size:9px;letter-spacing:1.4px}.badge-shape{height:41px;width:41px;margin:19px 0 14px;background:var(--type);clip-path:polygon(50% 0,88% 18%,100% 60%,69% 100%,31% 100%,0 60%,12% 18%);display:grid;place-items:center;color:#111728;font-weight:900;font-size:19px;box-shadow:inset 0 0 0 5px #ffffff44}.stage-card.completed .badge-shape{background:var(--yellow)}.stage-card h3{font-size:24px;font-family:var(--heading);letter-spacing:.7px}.stage-card p{color:var(--muted);font-size:10px;margin-top:6px}.stage-card .stage-status{position:absolute;right:16px;top:20px;color:var(--yellow);font-size:9px;letter-spacing:1px}.stage-card.finale{grid-column:span 2;background:linear-gradient(110deg,#2c2d4b,#463c35)}.stage-card .stage-watermark{position:absolute;right:17px;bottom:15px;font-family:var(--heading);font-size:85px;color:#ffffff05}.private-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{padding:29px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.panel h2{font-family:var(--heading);font-size:31px;letter-spacing:.8px}.panel p{font-size:13px;color:var(--muted);line-height:1.6;margin-top:11px}.panel .primary-button,.panel .secondary-button{margin-top:22px}.panel-icon{font-size:28px;color:var(--yellow);margin-bottom:17px}.lobby-code{font-family:var(--heading);font-size:64px;color:var(--yellow);letter-spacing:8px;margin-top:20px}.lobby-players{display:flex;gap:15px;margin:25px 0}.lobby-player{flex:1;border:1px solid var(--line);border-radius:7px;padding:18px;background:#141a2a}.lobby-player strong{font-size:14px;display:block}.lobby-player span{display:block;color:var(--muted);font-size:11px;margin-top:8px}.waiting-pulse{width:8px;height:8px;display:inline-block;border-radius:50%;background:var(--yellow);margin-right:8px;animation:pulse 1.5s infinite}.invite-row{display:flex;gap:10px;margin-top:16px}.invite-row input{flex:1;min-width:0;font-size:12px}.invite-row button{margin:0!important}.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line);font-size:13px}.setting-row small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.setting-row input[type=range]{accent-color:var(--yellow);padding:0;width:130px;border:0}.switch-button{background:#3f4962;border-radius:20px;width:42px;height:24px;position:relative;padding:0}.switch-button:after{content:'';position:absolute;top:4px;left:4px;width:16px;height:16px;background:var(--ink);border-radius:50%;transition:left .15s}.switch-button.on{background:#918545}.switch-button.on:after{left:22px;background:var(--yellow)}.control-row{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #333c504d;font-size:11px;color:#adb6cd}.control-row kbd{font-family:inherit;color:var(--yellow);font-size:10px}.controller-diagram{display:flex;justify-content:center;gap:9px;margin:16px 0}.pad-key{display:grid;place-items:center;width:30px;height:30px;border:1px solid #687591;border-radius:50%;font-weight:800;font-size:12px}.pad-key.a{color:#82da9b}.pad-key.x{color:#89bfee}.pad-key.y{color:var(--yellow)}.pad-key.b{color:#ee9291}.modal-backdrop{position:fixed;z-index:100;inset:0;display:flex;align-items:center;justify-content:center;padding:25px;background:#090d1bbd;backdrop-filter:blur(9px)}.modal{width:500px;max-width:100%;background:linear-gradient(150deg,#2b334b,#1d2438);border:1px solid #65718b77;border-radius:14px;padding:33px;box-shadow:0 25px 100px #0006}.modal.wide{width:650px}.modal h2{font-family:var(--heading);font-size:43px;letter-spacing:.5px}.modal p{margin-top:12px;font-size:13px;line-height:1.7;color:#a8b3ce}.modal-actions{display:flex;gap:10px;margin-top:27px}.modal-actions button{flex:1}.result-emblem{font-size:65px;color:var(--yellow);margin-bottom:17px}.result-sub{font-size:10px;letter-spacing:2px;color:var(--yellow);margin-bottom:11px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:23px}.result-stat{padding:14px 8px;background:#10162655;border-radius:6px;text-align:center}.result-stat strong{display:block;font-family:var(--heading);font-size:31px;color:var(--yellow)}.result-stat span{font-size:9px;color:var(--muted);letter-spacing:.7px}.toast{position:fixed;z-index:200;bottom:26px;left:50%;transform:translate(-50%,20px);padding:13px 21px;background:#f5edca;color:#22283b;box-shadow:0 5px 40px #0005;border-radius:7px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;max-width:80vw}.toast.visible{opacity:1;transform:translate(-50%,0)}.empty-state{padding:70px;text-align:center;color:var(--muted);font-size:14px}.loading-ball{width:38px;height:38px;border-radius:50%;border:3px solid var(--yellow);border-right-color:transparent;animation:spin .8s linear infinite;margin:10px auto 24px}.loading-screen{height:100%;display:grid;place-content:center;text-align:center}.loading-screen h2{font-family:var(--heading);font-size:32px;letter-spacing:2px}.loading-screen p{font-size:12px;color:var(--muted);margin-top:10px}
.battle{position:fixed;inset:0;background:#0c1220;overflow:hidden}.battle-top{height:59px;position:absolute;z-index:20;left:0;right:0;top:0;background:linear-gradient(#101729fa,#101729d9);display:flex;align-items:center;padding:0 27px;gap:16px;border-bottom:1px solid #ffffff14}.icon-button{width:30px;height:30px;border:1px solid #5f6a8477;border-radius:6px;font-size:17px}.battle-title b{display:block;font-family:var(--heading);font-size:17px;letter-spacing:1.8px}.battle-title span{display:block;font-size:8px;color:var(--muted);letter-spacing:1.7px;margin-top:1px}.battle-clock{position:absolute;left:50%;transform:translateX(-50%);font-family:var(--heading);font-size:25px;letter-spacing:3px;color:var(--ink)}.battle-connection{margin-left:auto;font-size:9px;letter-spacing:1.6px;color:var(--green)}.battle-connection:before{content:'';display:inline-block;width:5px;height:5px;background:var(--green);border-radius:50%;margin-right:7px}.arena-wrap{position:absolute;width:min(100vw,calc((100vh - 96px)*1.57895));height:min(calc(100vw / 1.57895),calc(100vh - 96px));left:50%;top:52%;transform:translate(-50%,-50%);overflow:hidden;box-shadow:0 0 100px #000}#arena,.sprite-layer,.arena-vignette{position:absolute;inset:0;width:100%;height:100%}#arena{image-rendering:auto}.sprite-layer{pointer-events:none}.arena-vignette{pointer-events:none;background:radial-gradient(ellipse,transparent 55%,#07112044 100%);z-index:5}.fighter{position:absolute;width:10%;height:15.789%;transform:translate(-50%,-78%);z-index:10;display:flex;align-items:center;justify-content:center;pointer-events:none;transition:filter .08s}.fighter img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 3px 1px #102a3766);transform-origin:50% 90%}.fighter.moving img{animation:walk .24s infinite alternate}.fighter.hit img{filter:brightness(2) drop-shadow(0 0 6px #fff)}.fighter.dodging{opacity:.55;filter:blur(1px)}.fighter.fainted{filter:grayscale(1);opacity:.3}.fighter-label{position:absolute;bottom:4px;left:50%;transform:translate(-50%,100%);white-space:nowrap;min-width:72px;max-width:130px;text-align:center}.fighter-label strong{font-size:8px;background:#0b1323c9;border-radius:3px;padding:3px 6px;display:inline-block;max-width:130px;overflow:hidden;text-overflow:ellipsis;color:white}.tiny-hp{height:4px;background:#0a1629;border-radius:3px;margin-top:3px;border:1px solid #ffffff44;overflow:hidden}.tiny-hp i{display:block;height:100%;background:#96e5b0;transition:width .15s}.fighter.enemy .tiny-hp i{background:#f48d93}.fighter-hud,.enemy-hud{position:absolute;top:79px;z-index:25;background:linear-gradient(110deg,#151d2df4,#182539b3);border:1px solid #7e95b455;border-radius:8px;width:285px;padding:13px 16px;pointer-events:none}.fighter-hud{left:27px;border-left:3px solid var(--yellow)}.enemy-hud{right:27px;border-right:3px solid #ee8a90}.hud-name{display:flex;align-items:center;gap:8px;font-family:var(--heading);font-size:24px;letter-spacing:.5px}.hud-trainer{font-size:9px;color:#a2adc4;font-family:var(--body);letter-spacing:1px;display:flex;justify-content:space-between;margin-bottom:3px}.hud-type{font-family:var(--body);font-size:7px}.hud-hp{height:7px;border-radius:5px;background:#080f1e;margin-top:10px;overflow:hidden}.hud-hp i{height:100%;background:linear-gradient(90deg,#86c99b,#b3efbb);display:block;transition:width .18s}.enemy-hud .hud-hp i{background:linear-gradient(90deg,#d8667c,#f6a397)}.hud-values{display:flex;justify-content:space-between;font-size:9px;color:#a1acc5;margin-top:6px}.status-tags{display:flex;gap:5px}.status-tag{color:var(--yellow);font-size:8px;font-weight:700;text-transform:uppercase}.battle-bottom{position:absolute;left:27px;right:27px;bottom:36px;z-index:30;display:flex;justify-content:center;align-items:center;gap:20px}.moves-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;flex:1;max-width:660px}.move-card{position:relative;overflow:hidden;height:83px;background:#182236f2;border:1px solid #66779280;border-top:3px solid var(--type);border-radius:7px;text-align:left;padding:9px 11px;box-shadow:0 5px 18px #0005}.move-card.cooling{filter:saturate(.55)}.move-card.depleted{opacity:.4}.move-card .key{font-size:10px;font-weight:800;display:inline-grid;place-items:center;min-width:18px;height:18px;border:1px solid #7886a677;border-radius:4px;position:relative;z-index:2;color:var(--type)}.move-card .move-type{font-size:7px;letter-spacing:1px;color:var(--type);float:right;padding-top:5px}.move-card .move-name{display:block;font-family:var(--heading);font-weight:700;font-size:20px;white-space:nowrap;margin-top:4px;position:relative;z-index:2}.move-card .move-pp{display:block;font-size:8px;color:#91a0bb;margin-top:3px;position:relative;z-index:2}.cooldown-fill{position:absolute;inset:0;background:#090f20ba;transform-origin:bottom;z-index:1}.cooldown-number{position:absolute;right:10px;bottom:9px;font-size:15px;font-family:var(--heading);font-weight:700;color:white;z-index:3}.team-hud{display:flex;gap:6px;align-items:end}.team-chip{position:relative;width:59px;height:69px;background:#172236e8;border:1px solid #59698577;border-radius:6px;padding:3px 4px 8px;overflow:hidden}.team-chip.active{border-color:var(--yellow);background:#38403af0}.team-chip.fainted{filter:grayscale(1);opacity:.45}.team-chip img{height:47px;width:49px;object-fit:contain;image-rendering:pixelated}.team-chip>span{display:block;height:3px;border-radius:2px;background:#11192b;overflow:hidden}.team-chip i{display:block;background:#a3d5a8;height:3px}.team-chip small{position:absolute;left:5px;top:3px;color:#c4cfe4;font-size:7px}.dodge-hud{width:64px;text-align:center}.dodge-hud kbd{font-family:var(--body);font-size:9px;border:1px solid #8b9db8;border-radius:4px;padding:6px 9px;background:#1c2a40e6;white-space:nowrap}.dodge-hud span{display:block;font-size:8px;letter-spacing:1px;margin-top:11px;color:#b4c0d4}.dodge-track{height:3px;margin-top:8px;background:#2b3b52;border-radius:3px;overflow:hidden}.dodge-track i{display:block;height:3px;background:var(--yellow)}.battle-hints{position:absolute;z-index:30;bottom:13px;left:50%;transform:translateX(-50%);color:#a5b3c8;font-size:8px;letter-spacing:1px;white-space:nowrap;text-shadow:0 1px 4px #000}.battle-hints span{padding:0 10px;color:#5f7292}.combat-notice{position:absolute;top:23%;left:50%;transform:translate(-50%,-10px);color:var(--yellow);font-family:var(--heading);font-size:28px;font-weight:800;letter-spacing:1px;text-shadow:0 3px 8px #000;opacity:0;transition:.15s;z-index:30;text-align:center}.combat-notice.show{opacity:1;transform:translate(-50%,0)}.countdown{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);font-family:var(--heading);font-size:110px;line-height:1;color:var(--yellow);font-weight:900;z-index:30;text-shadow:0 0 40px #ffe16066,0 4px 10px #081122}.empty-moves{color:var(--muted);font-size:12px}.legal-note{font-size:10px;line-height:1.6;color:#8794b0;margin-top:21px;max-width:720px}.page-narrow{max-width:1130px}
@keyframes hero-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes walk{from{transform:translateY(-2px) rotate(-2deg)}to{transform:translateY(1px) rotate(2deg)}}@keyframes pulse{50%{opacity:.3}}@keyframes spin{to{transform:rotate(360deg)}}@media(min-height:900px){.home{padding-top:5%}.menu-list{margin-top:36px;gap:11px}.menu-entry{padding:20px}.home-controls{margin-top:30px}.team-preview{bottom:7%}}@media(max-width:1100px){.topbar{gap:35px}.top-links{gap:21px}.controller-status{display:none}.hero-title{font-size:75px}.home{grid-template-columns:46% 54%;padding-top:35px}.hero-description{font-size:12px;max-width:290px}.menu-entry{padding:13px 15px}.menu-title{font-size:21px}.menu-entry.primary{padding:15px}.menu-description{font-size:9px}.preview-mon{display:flex;flex-direction:column;gap:0;text-align:center;padding:5px 7px 10px}.preview-mon strong{font-size:17px}.team-layout{grid-template-columns:260px 1fr;gap:20px}.circuit-grid{grid-template-columns:repeat(3,1fr)}.stage-card.finale{grid-column:span 1}.battle-bottom{gap:12px;left:17px;right:17px}.team-chip{width:43px;height:59px}.team-chip img{width:36px;height:39px}.move-card{padding:7px 8px;height:78px}.move-card .move-name{font-size:17px}.dodge-hud{width:53px}.fighter-hud,.enemy-hud{width:248px}.home-controls{gap:10px;font-size:8px}}@media(max-height:760px){.topbar{height:76px}.footer{height:40px}.home{padding-top:27px;min-height:530px}.hero-title{font-size:76px}.hero-description{margin-top:15px}.menu-list{margin-top:20px;gap:7px}.menu-entry{padding:12px 15px}.menu-entry.primary{padding:15px}.menu-small .menu-entry{padding:11px 12px}.home-controls{margin-top:17px}.home-art{min-height:450px}.team-preview{bottom:0}.page{padding-top:25px}.page-heading h1{font-size:46px}.arena-wrap{top:50%;height:min(calc(100vw / 1.57895),calc(100vh - 68px));width:min(100vw,calc((100vh - 68px)*1.57895))}.fighter-hud,.enemy-hud{top:70px;padding:10px 13px}.hud-name{font-size:21px}.battle-bottom{bottom:30px}.battle-hints{bottom:9px}.move-card{height:72px}.move-card .move-name{font-size:18px;margin-top:2px}}@media(max-width:800px){.top-links{display:none}.home{grid-template-columns:1fr;min-height:780px}.home-copy{max-width:none}.home-art{min-height:400px}.hero-title{font-size:70px}.home-description{max-width:100%}.home-art .orb{width:45%;left:40%}.hero-sprite.center{width:30%;left:46%;top:0}.hero-sprite.left{width:23%;left:23%;top:8%}.hero-sprite.right{width:23%;right:0;top:12%}.home-art{position:absolute;right:0;top:40px;width:55%;height:300px;min-height:0;pointer-events:none}.orb{display:none}.team-preview{top:430px;left:0;right:8%;bottom:auto;pointer-events:auto}.home-copy{z-index:4}.hero-description{max-width:230px}.home-art .hero-sprite{top:40px!important;width:55%!important;left:20%!important}.home-art .hero-sprite.left,.home-art .hero-sprite.right{display:none}.menu-list{max-width:100%;margin-top:36px}.team-layout,.quick-layout,.private-layout,.settings-layout{grid-template-columns:1fr}.team-roster{display:grid;grid-template-columns:repeat(3,1fr)}.roster-card{display:flex;flex-direction:column;padding:10px;text-align:center}.roster-card img{width:48px;height:48px}.roster-card h3{font-size:17px}.selected-detail{display:none}.team-note{grid-column:span 3}.circuit-grid{grid-template-columns:repeat(2,1fr)}.arena-options{grid-template-columns:repeat(2,1fr)}.fighter-hud,.enemy-hud{width:205px}.team-hud{display:none}.battle-bottom{left:12px;right:12px}.moves-hud{gap:4px}.move-card .move-name{font-size:14px}.move-card .move-type{display:none}.dodge-hud{width:45px}.footer>span:nth-child(2){display:none}.intro-panel{gap:10px}.page-heading{gap:15px}.page-heading h1{font-size:39px}}

.fighter img{transform:scaleX(var(--facing,1))}.fighter-label{scale:1 1}@keyframes walk{from{transform:scaleX(var(--facing,1)) translateY(-2px) rotate(-2deg)}to{transform:scaleX(var(--facing,1)) translateY(1px) rotate(2deg)}}

.rules-link{padding:0;text-align:left;color:var(--yellow);font-size:10px;letter-spacing:1px;margin-top:15px}.ability-line{font-size:10px;color:#aeb9d0;line-height:1.7;margin-top:15px}.ability-line b{color:var(--ink)}.hud-ability{font-size:8px;color:#92a3bd;margin-top:5px}.roster-card{min-height:91px}

.fighter.static:not(.moving):not(.fainted) img{animation:sprite-breathe 2.2s ease-in-out infinite}@keyframes sprite-breathe{0%,100%{transform:scaleX(var(--facing,1)) translateY(0)}50%{transform:scaleX(var(--facing,1)) translateY(-3px) scaleY(1.02)}}

.combat-fallback{position:absolute;pointer-events:none;transform:translate(-50%,-88%);display:flex;align-items:flex-end;justify-content:center}.combat-fallback img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;transform-origin:50% 85%;filter:drop-shadow(0 2px 1px #06132655)}.sprite-layer{overflow:hidden}.arena-vignette{background:radial-gradient(ellipse,transparent 68%,#07112038 100%)}


#app{position:relative;isolation:isolate}.topbar,#main,.footer{position:relative;z-index:2}.menu-atmosphere{position:absolute;inset:0;overflow:hidden;z-index:0;background:#152034}.menu-atmosphere canvas,.menu-atmosphere .sprite-layer{position:absolute;inset:0;width:100%;height:100%;filter:saturate(.76) brightness(.78)}.menu-shade{position:absolute;inset:0;background:linear-gradient(90deg,#111726fa 0%,#111726ef 30%,#1117268c 58%,#11172612 82%),linear-gradient(0deg,#111726e6,transparent 28%,transparent 70%,#11172691)}.empress-brand{font-family:Georgia,serif;font-size:29px;font-weight:400;letter-spacing:0}.empress-brand .brand-sub{font-family:var(--body);font-size:8px;font-weight:700;letter-spacing:3.4px;margin-top:7px}.empress-brand .brand-ball{width:29px;height:29px;border-width:2px}.empress-brand .brand-ball:before{height:2px;top:11px}.empress-brand .brand-ball:after{width:8px;height:8px;border-width:2px;left:7px;top:7px}.empress-home{position:relative;min-height:540px;height:100%;padding:4% 5.4% 3%;display:grid;grid-template-columns:minmax(350px,43%) 1fr;gap:7%;overflow:hidden}.empress-copy{align-self:center;max-width:465px}.empress-home .eyebrow{color:#d9cba4;font-size:9px;letter-spacing:3px;margin-bottom:24px}.empress-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(65px,7.8vw,119px);font-weight:400;letter-spacing:-5px;line-height:.95;color:#f1e8d1}.empress-subtitle{font-size:12px;letter-spacing:7px;font-weight:500;color:#c5b591;margin:15px 0 23px 5px}.empress-description{font-size:13px;line-height:1.8;color:#aab1c2;max-width:330px}.empress-home .menu-list{margin-top:27px;max-width:425px;gap:8px}.empress-home .menu-entry{border-radius:3px;background:#1e2838bc;border-color:#bca77a20;padding:16px 18px}.empress-home .menu-entry.primary{background:#e5d7ac;color:#172031;border-color:#e5d7ac;box-shadow:0 6px 40px #0003}.empress-home .menu-title{font-family:var(--body);font-size:12px;letter-spacing:2px;font-weight:700}.empress-home .menu-description{font-family:var(--body);font-size:10px;font-weight:400;letter-spacing:.25px;margin-top:6px}.empress-home .menu-arrow{font-size:21px}.empress-home .menu-icon{font-size:22px}.empress-home .menu-small .menu-entry{padding:14px 15px}.empress-home .menu-small .menu-title{font-size:10px;letter-spacing:1px}.empress-home .menu-small .menu-description{font-size:9px}.menu-observer{display:flex;flex-direction:column;justify-content:end;padding-bottom:15px;pointer-events:none}.exhibition-label{align-self:flex-end;text-align:right;margin-bottom:26px;text-shadow:0 2px 10px #091726}.exhibition-label small{display:block;font-size:8px;color:#cabd9f;letter-spacing:3px;margin-bottom:9px}.exhibition-label strong{font-family:var(--heading);font-size:25px;letter-spacing:2px;color:#f3eacb;font-weight:600}.exhibition-label span{display:block;font-size:9px;color:#a8b5c4;letter-spacing:1px;margin-top:7px}.live-pip{display:inline-block;width:5px;height:5px;background:#b5d0a3;border-radius:50%;margin-right:6px;box-shadow:0 0 8px #a0c793}.menu-observer .team-preview{position:static;pointer-events:auto}.menu-observer .preview-mon{background:#172336b8;border:1px solid #cdb98629;border-top:2px solid var(--type);backdrop-filter:blur(9px);border-radius:4px}.menu-observer .preview-mon strong{font-size:17px}.empress-home .home-controls{margin-top:21px}.topbar{background:#11182735}.intro-screen{position:fixed;inset:0;z-index:500;background:radial-gradient(ellipse at 50% 35%,#27313e,#111723 58%,#0c121d);display:flex;align-items:center;justify-content:center;flex-direction:column;isolation:isolate;transition:opacity .4s,visibility .4s}.intro-screen.dismissed{opacity:0;visibility:hidden;pointer-events:none}.intro-halo{position:absolute;width:min(66vw,600px);aspect-ratio:1;border:1px solid #c4b18018;border-radius:50%;z-index:-1;box-shadow:0 0 110px #d8bc5710,inset 0 0 110px #d8bc5707}.intro-halo:before{content:'';position:absolute;inset:30px;border:1px solid #c4b18016;border-radius:50%}.intro-crown{font-size:38px;color:#ceb98c;margin-bottom:18px;opacity:.8}.intro-screen h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(75px,12vw,155px);letter-spacing:-6px;line-height:1;color:#eee5d0;animation:intro-enter 1.2s ease-out}.intro-subtitle{font-size:12px;letter-spacing:9px;color:#cbbb94;margin-top:22px;margin-left:9px}.intro-screen p{font-size:9px;letter-spacing:3px;color:#77859b;margin-top:37px}.intro-screen button{display:flex;align-items:center;gap:13px;margin-top:74px;font-size:10px;letter-spacing:3px;color:#e8dcb9;border:1px solid #ae9c6f40;padding:15px 22px;border-radius:3px}.intro-screen button .pad-key{width:20px;height:20px;font-size:10px;color:#dcd8b9;border-color:#a397734f}.intro-screen small{font-size:8px;letter-spacing:2px;color:#65748c;margin-top:16px}.story{position:fixed;inset:0;background:#1d3440;overflow:hidden}.story>canvas{width:100%;height:100%;position:absolute;inset:0;image-rendering:pixelated}.story-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse,transparent 60%,#12203255)}.story-header{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;gap:14px;height:69px;padding:0 25px;background:linear-gradient(#142132eb,#14213200);z-index:10}.story-wordmark{font-family:Georgia,serif;font-size:24px;color:#f0e6ce}.story-mode-label{font-size:7px;letter-spacing:2.5px;color:#b5c0c6;display:block;margin-top:3px}.story-badge-count{margin-left:auto;border:1px solid #d7c39144;background:#192b3ca6;color:#e0d2a8;font-size:9px;letter-spacing:2px;padding:11px 16px;border-radius:3px}.story-objective{position:absolute;left:25px;top:89px;width:265px;padding:17px 19px;background:#152638d9;border:1px solid #b4ac8250;border-left:2px solid #d6bd7f;border-radius:3px;pointer-events:none;backdrop-filter:blur(7px)}.story-objective>span{font-size:8px;letter-spacing:1.8px;color:#cbb888;display:block;margin-bottom:8px}.story-objective h2{font-family:var(--heading);font-size:23px;letter-spacing:.7px;line-height:1.1}.story-objective p{font-size:11px;line-height:1.6;color:#adbcc5;margin-top:9px}.story-controls{position:absolute;bottom:17px;left:25px;font-size:9px;color:#d0d7d5;letter-spacing:1.5px;text-shadow:0 1px 5px #0e2130}.story-interaction{position:absolute;bottom:20%;left:50%;transform:translateX(-50%);background:#152638eb;border:1px solid #d1bd86a1;border-radius:4px;padding:11px 18px;display:flex;gap:12px;align-items:center;box-shadow:0 5px 25px #101d3644}.story-interaction kbd{font-size:10px;border:1px solid #c7bb91;padding:4px 7px;border-radius:3px;font-family:var(--body);color:#e4d6a9}.story-interaction span{font-size:10px;letter-spacing:1px;font-weight:600}.story-dialogue{position:absolute;bottom:7%;left:50%;transform:translateX(-50%);width:min(870px,calc(100% - 60px));padding:26px 30px;background:linear-gradient(120deg,#19293beb,#1c2a3eea);border:1px solid #c5b07e9e;border-radius:5px;z-index:30;box-shadow:0 13px 70px #071a2b88;backdrop-filter:blur(12px)}.dialogue-eyebrow{color:#b4a481;letter-spacing:2px;font-size:8px;margin-bottom:6px}.dialogue-speaker{font-family:var(--heading);font-size:27px;letter-spacing:1px;color:#ece0bd}.dialogue-text{font-size:15px;line-height:1.75;color:#d1d8dc;margin-top:11px;max-width:690px;min-height:62px}.dialogue-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px}.dialogue-progress{margin-right:auto;color:#7f92a5;font-size:9px;letter-spacing:2px}.dialogue-actions button{padding:12px 20px;font-size:10px;letter-spacing:1px}.dialogue-portrait{position:absolute;right:20px;bottom:100%;height:135px;max-width:120px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 8px 10px #17203c55);pointer-events:none}.dialogue-portrait.empress{height:360px;max-width:250px;image-rendering:auto;right:8px;bottom:97%;filter:drop-shadow(0 10px 30px #09142355)}.story-transition{position:absolute;inset:0;z-index:20;pointer-events:none;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(0deg,transparent,#16253c33,transparent);animation:chapter-reveal 2.8s both;text-shadow:0 3px 14px #102439}.story-transition span{font-size:10px;letter-spacing:5px;color:#d6c390}.story-transition h2{font-family:Georgia,serif;font-size:43px;font-weight:400;color:#f5ead0;margin-top:16px}.world-map{position:relative;margin-top:20px;border:1px solid #a79a7944;max-height:50vh;overflow:hidden;border-radius:4px}.world-map img{display:block;width:100%;max-height:50vh;object-fit:contain}.world-map-marker{position:absolute;width:9px;height:9px;border-radius:50%;background:#fff1a4;border:2px solid #253546;box-shadow:0 0 0 3px #fff1a455;transform:translate(-50%,-50%)}.empress-result-portrait{position:absolute;right:15px;bottom:0;height:92%;opacity:.17;pointer-events:none}.story-return-line{font-size:11px;color:#cfbd93!important}.modal{position:relative}.modal p b{color:#ded3b1}.result-team{display:flex;justify-content:center;gap:25px;margin:25px 0}.result-team img{height:85px;width:95px;object-fit:contain;image-rendering:pixelated}@keyframes intro-enter{from{opacity:0;transform:translateY(18px);filter:blur(7px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes chapter-reveal{0%{opacity:0;transform:translateY(8px)}18%,65%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-7px)}}@media(max-height:760px){.empress-home{padding-top:25px;padding-bottom:20px;min-height:510px}.empress-title{font-size:85px}.empress-home .eyebrow{margin-bottom:15px}.empress-subtitle{margin:12px 0 18px}.empress-home .menu-list{margin-top:20px}.empress-home .menu-entry{padding:13px 16px}.story-dialogue{bottom:6%;padding:20px 25px}.dialogue-portrait.empress{height:285px}.story-objective{top:77px;width:245px;padding:13px 16px}.story-transition h2{font-size:36px}.intro-screen button{margin-top:48px}}@media(max-width:1000px){.empress-home{grid-template-columns:48% 1fr;gap:5%;padding-left:4%;padding-right:4%}.empress-title{font-size:80px}.empress-subtitle{font-size:10px;letter-spacing:6px}.menu-observer .preview-team{gap:5px}.menu-observer .preview-mon strong{font-size:15px}.menu-observer .preview-mon small{font-size:7px}.empress-home .menu-small .menu-title{font-size:9px}.story-objective{width:225px}.dialogue-text{font-size:14px}}@media(max-width:780px){.empress-home{grid-template-columns:1fr;height:auto;min-height:100%}.menu-observer{display:none}.empress-copy{max-width:460px}.menu-shade{background:#101827bc}.story-objective{width:205px;top:76px;left:17px}.story-objective h2{font-size:20px}.story-dialogue{width:calc(100% - 30px);padding:19px}.dialogue-portrait.empress{height:230px}.dialogue-text{font-size:13px}.story-transition h2{font-size:29px}.story-controls{font-size:8px;left:17px}.intro-screen h1{letter-spacing:-3px}}

.dialogue-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.dialogue-footer .dialogue-actions{margin-top:0}.dialogue-eyebrow{display:block}.world-map>span,.world-map>b{position:absolute;transform:translate(-50%,-50%);color:#ffe1a3;text-shadow:0 1px 4px #14243c;font-size:15px}.world-map>b{font-size:8px;padding:4px;background:#172838;border:1px solid #dfc489}.result-team>div{text-align:center;display:flex;flex-direction:column;align-items:center}.result-team span{font-size:11px;color:#c1cbd4;margin-top:8px}.story-dialogue .dialogue-actions button span{font-size:8px;opacity:.6;margin-left:14px}.menu-atmosphere .sprite-layer{pointer-events:none}
.world-map{width:min(100%,66.6667vh);aspect-ratio:4/3;margin:20px auto 0}.world-map img{width:100%;height:100%;max-height:none;object-fit:fill}

.path-map .story-objective{left:auto;right:2%;top:13%;width:23%;padding:15px 17px;background:#142231bd;border-left:2px solid #d6bd7f}.path-map .story-objective h2{font-size:21px}.path-map .story-objective p{font-size:10px}.story-stop-card{position:absolute;right:2%;top:38%;width:23%;padding:22px 19px;background:#1d2f3be6;border:1px solid #c8b27c66;border-radius:4px;box-shadow:0 10px 40px #101a2955}.stop-kicker{font-size:8px;letter-spacing:1.4px;color:#ccb784;margin-bottom:12px}.stop-portrait{display:block;image-rendering:pixelated;height:85px;width:100%;object-fit:contain;object-position:center;margin-bottom:13px}.stop-portrait.empress{height:145px;image-rendering:auto}.story-stop-card h2{font-family:var(--heading);font-size:27px;letter-spacing:.5px}.story-stop-card p{font-size:11px;line-height:1.6;color:#b0bdc6;margin:9px 0 16px}.story-stop-card .primary-button{width:100%;padding:13px 10px;font-size:10px}.stop-navigation{display:flex;gap:7px;margin-top:12px}.stop-navigation button{flex:1;padding:10px 5px;font-size:8px}.story-stop-card small{display:block;font-size:9px;line-height:1.6;color:#91a6b5;margin-top:13px}.path-map .story-controls{left:3%;bottom:2.5%;font-size:8px}.path-map .story-transition{display:none}.path-map .story-badge-count{background:#172938d9}.path-map .story-dialogue{bottom:8%;width:min(860px,calc(100% - 60px))}@media(max-height:780px){.story-stop-card{padding:15px;top:37%}.stop-portrait{height:65px}.stop-portrait.empress{height:100px}.story-stop-card h2{font-size:24px}.story-stop-card p{margin:6px 0 10px}.path-map .story-objective{top:12%;padding:12px}.story-stop-card small{font-size:8px}.path-map .story-objective h2{font-size:19px}.path-map .story-controls{font-size:7px}}

@media(max-height:780px){.story-stop-card{top:33%;max-height:64%;overflow-y:auto}.stop-portrait.empress{height:85px}.story-stop-card small{margin-top:9px}}
.team-page{height:100%;display:flex;flex-direction:column;padding-bottom:20px;min-height:0}.team-page>.back-button{align-self:flex-start;flex-shrink:0}.team-page>.page-heading{flex-shrink:0}.team-page .team-layout{flex:1;min-height:0;overflow:hidden;align-items:stretch}.team-page .team-roster{overflow-y:auto;min-height:0;padding:4px 8px 8px 4px;scrollbar-width:thin;scrollbar-color:#424b67 transparent}.team-catalog{display:flex;flex-direction:column;min-width:0;min-height:0}.team-catalog>.searchbar{flex-shrink:0}.team-catalog>#catalog-results{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:4px 8px 12px 4px;scrollbar-width:thin;scrollbar-color:#424b67 transparent}.move-card.struggle{opacity:1;border-top-color:#ccb790}.move-card.struggle .move-pp{color:#c5b993}.keybindings{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;margin-top:20px}.binding-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px}.binding-row>div{display:flex;gap:5px}.binding-key{min-width:65px;padding:9px 10px;border:1px solid #66708766;border-radius:5px;background:#30384e;font-size:10px;text-align:center}.binding-key.listening{border-color:var(--yellow);color:var(--yellow);background:#4a4535}.binding-status{min-height:38px;font-size:12px;line-height:1.5;margin-top:15px;color:var(--yellow)}
@media(max-width:800px){.team-page .team-layout{grid-template-columns:225px 1fr;gap:16px}.team-page .team-roster{display:flex;flex-direction:column}.team-page .roster-card{display:grid;grid-template-columns:48px 1fr;text-align:left}.team-page .selected-detail{display:block}.team-page .team-note{font-size:10px}.keybindings{grid-template-columns:1fr}}
@media(max-width:600px){.team-page .team-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.team-page .team-roster{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible;padding:0;gap:6px}.team-page .roster-card{display:flex;flex-direction:column;padding:8px;text-align:center}.team-page .selected-detail,.team-page .team-note{display:none}.team-page .page-heading{margin-bottom:14px}.team-page .page-heading h1{font-size:34px}.team-page .page-heading .pill{display:none}.team-page>.back-button{margin-bottom:12px}}
