/* BotLobbies · Sistema visual de producto, una pantalla cada vez. */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url('/assets/fonts/montserrat-latin-variable.woff2') format('woff2')}
:root{color-scheme:dark;--bg:#080d17;--surface:#111c2c;--raised:#18263a;--line:#29394f;--line-soft:rgba(157,184,221,.12);--accent:#8de5ff;--blue:#3778ee;--text-white:#f3f7ff;--text-light:#becce0;--text-muted:#95aac5;--fn-bg-deep:var(--bg);--fn-bg-mid:var(--surface);--fn-bg-bright:var(--blue);--fn-yellow:var(--accent);--fn-yellow-hover:#b5efff;--fn-cyan:var(--accent);--fn-cyan-bright:#b1eeff;--fn-green:#79e0b7;--fn-red:#ffa5b2;--font-ui:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--font-display:var(--font-ui);--font-mono:var(--font-ui)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;min-width:280px;background:radial-gradient(ellipse at 75% 0%,rgba(34,81,137,.17),transparent 55%),var(--bg);color:var(--text-white);font-family:var(--font-ui);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p{margin:0} h1,h2,h3,h4{color:var(--text-white);font-family:var(--font-display);font-weight:700;line-height:1.25;letter-spacing:-.035em}
h1:focus,h2:focus,#mainContent:focus{outline:none}
a{color:var(--accent);text-underline-offset:4px}
button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}button,input,select,textarea,img,svg,canvas{max-width:100%}img{display:block;height:auto}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[role="button"]:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
button:disabled{cursor:not-allowed}::selection{background:#385b7c;color:white}
[hidden],.hidden{display:none!important}.mono{font-family:var(--font-mono);font-size:.85em}.text-gold,.text-cyan{color:var(--accent)}
.container{position:relative;width:100%;max-width:1440px;margin:auto;padding:0 32px}
#bgRisingDotsCanvas,.ambient-gold-sparks-layer,.tilt-glare,.holo-glare{display:none}
.skip-link{position:fixed;top:16px;left:16px;z-index:20000;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
.skip-link:focus-visible{width:auto;height:auto;max-width:calc(100vw - 32px);margin:0;padding:12px 18px;clip:auto;clip-path:none;white-space:normal;background:var(--accent);color:#10243c;border-radius:10px;opacity:1;pointer-events:auto}
.connectivity-notice{position:relative;z-index:100;max-width:1100px;margin:12px auto;padding:14px 18px;border:1px solid #71603e;background:#2b261c;color:#f5d79c;border-radius:12px}
/* Acciones y formularios. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;max-width:100%;padding:12px 18px;border:1px solid transparent;border-radius:10px;font-size:.82rem;font-weight:650;line-height:1.45;letter-spacing:-.01em;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:break-word;transition:background .18s,border-color .18s,box-shadow .18s}
.btn-gold{background:var(--accent);color:#10243c;border-color:var(--accent);box-shadow:0 3px 0 rgba(0,0,0,.12)}.btn-gold:hover:not(:disabled){background:#b3efff;border-color:#b3efff;box-shadow:0 0 0 4px rgba(141,229,255,.08)}
.btn-primary{background:#2866d6;color:white;border-color:#4b85ea}.btn-primary:hover:not(:disabled){background:#3477ec;border-color:#76a5ff}
.btn-glass{color:#d1deef;background:#182438;border-color:#32415b}.btn-glass:hover:not(:disabled){background:#21314a;border-color:#526580}
.btn-danger{color:#ffc0c8;background:#3a202d;border-color:#704052}.btn-danger:hover:not(:disabled){background:#502737;border-color:#ac6179}
.btn:disabled{opacity:.5;box-shadow:none}.btn-sm{min-height:44px;padding:10px 14px;font-size:.75rem}.btn-xs{min-height:44px;padding:8px 11px;font-size:.75rem}.btn-lg,.btn-xl{min-height:52px;padding:15px 24px;font-size:.89rem}.btn-block{width:100%}.btn-locked-gate{background:#1a2638;border-color:#354258;color:#a0afc3}
.btn[data-loading="true"]::before{content:'';flex:0 0 15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite}
.home-text-action,.btn-link-reset{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:5px 0;background:transparent;border:0;color:#c3d3e9;font-size:.79rem;font-weight:500;text-decoration:underline;text-decoration-color:#465c78;text-underline-offset:5px}
.home-text-action:hover,.btn-link-reset:hover{color:var(--accent);text-decoration-color:var(--accent)}
.form-input,.form-select{display:block;min-width:0;width:100%;min-height:48px;padding:12px 14px;border:1px solid #37465e;border-radius:9px;background:#0b1320;color:var(--text-white);font-size:.9rem;line-height:1.4;transition:border-color .18s,box-shadow .18s}
.form-input::placeholder{color:#8c9fb9;opacity:1}.form-input:focus,.form-select:focus{outline:none;border-color:#5bcbed;box-shadow:0 0 0 3px rgba(91,203,237,.12)}.form-input[readonly]{color:var(--text-muted);background:#101927}.form-input:disabled{opacity:.55}
.form-input-sm,.form-select-sm{min-height:44px;padding:10px 12px;font-size:.82rem}
.form-group{min-width:0;display:flex;flex-direction:column;gap:8px;margin-bottom:16px;text-align:left}.form-group label,.nick-box-label{color:#c6d4e8;font-size:.75rem;font-weight:600;letter-spacing:.01em}
.form-row-grid,.config-params-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.form-row-grid.three-cols{grid-template-columns:repeat(3,minmax(0,1fr))}
.input-with-btn{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;min-width:0}.input-with-btn>.form-input,.input-with-btn>.form-select{flex:1 1 140px;width:auto}.input-with-btn>.btn{flex:0 0 auto}
.toggles-bar{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.toggle-pill{display:flex;align-items:flex-start;gap:10px;min-height:48px;max-width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#141f30;color:#c6d4e7;font-size:.77rem;cursor:pointer;text-align:left}.toggle-pill input{flex:0 0 auto;width:18px;height:18px;margin:1px 0 0;accent-color:#7cdbf8}.toggle-pill:has(input:checked){border-color:#3c647c;background:#142a38}
.box-help{margin:0 0 16px;color:var(--text-muted);font-size:.77rem;line-height:1.7}.divider{margin:24px 0;border:0;border-top:1px solid var(--line)}
/* Pantallas de preparación. */
.app-view,.step-screen{display:none}.app-view.active{display:block}.step-screen.active{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;min-height:100svh;padding:36px 0}
.step-stage-box{width:100%;max-width:1100px;padding:34px 42px;background:linear-gradient(135deg,#111c2c,#0e1726);border:1px solid var(--line);border-radius:24px;text-align:center;box-shadow:0 26px 80px rgba(0,0,0,.16)}
.stage-inner-hud{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-bottom:18px;margin-bottom:30px;border-bottom:1px solid var(--line-soft);text-align:left}
.step-hud-brand{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:var(--text-muted);font-size:.75rem;font-weight:600;letter-spacing:.02em}.step-hud-brand span{color:var(--accent)}.hud-lock-tag{color:#b4c6df;font-size:.75rem}
.step-badge-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;padding:6px 11px;border:1px solid #2b4a61;border-radius:7px;background:#142c3c;color:#a2e6fc;font-size:.75rem;font-weight:650;letter-spacing:.06em;line-height:1.5}
.step-giant-title{margin:16px 0;font-size:clamp(2.1rem,4.5vw,3.5rem);line-height:1.15;font-weight:750;letter-spacing:-.055em;text-wrap:balance}.step-giant-title span{color:var(--accent)}
.step-short-sub{max-width:660px;margin:0 auto 30px;color:var(--text-light);font-size:.93rem;line-height:1.8;text-wrap:pretty}
.step-nav-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:30px;padding-top:24px;border-top:1px solid var(--line-soft)}.step-nav-footer .btn-gold{margin-left:auto}
.cards-3d-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%;margin:24px 0 12px;text-align:left}
.holo-3d-card{position:relative;min-width:0;padding:22px;overflow:hidden;border:1px solid #30405a;border-radius:16px;background:linear-gradient(150deg,#172337,#121d2d);text-align:left;transition:border-color .18s,background .18s}
.holo-3d-card[data-goal],.platform-card-3d{cursor:pointer}.holo-3d-card[data-goal]:hover,.platform-card-3d:hover{border-color:#5a89a7;background:#1a2b40}.holo-3d-card.selected{border-color:#69c5e2;background:linear-gradient(145deg,#193447,#142637)}
.holo-3d-card[data-goal].selected::after,.platform-card-3d.selected::after{content:'✓';position:absolute;right:13px;top:13px;display:grid;place-items:center;width:22px;height:22px;background:var(--accent);border-radius:50%;color:#10243c;font-size:12px;font-weight:800}
.holo-card-kicker{color:#9ab3ce;font-size:.75rem;font-weight:600;letter-spacing:.08em}.holo-pop-render{position:relative;display:flex;align-items:flex-end;justify-content:center;height:172px;margin:12px 0 18px;border-radius:10px;background:radial-gradient(ellipse at 50% 100%,rgba(83,161,204,.15),transparent 68%)}.holo-pop-render img{max-width:90%;height:100%;object-fit:contain;object-position:bottom}.holo-pop-glow{display:none}
.holo-3d-title{margin-bottom:8px;color:#f2f7ff;font-family:var(--font-display);font-size:1.15rem;font-weight:700;letter-spacing:-.03em;line-height:1.35}.holo-3d-sub{color:#aabdd5;font-size:.8rem;line-height:1.75}
.cards-3d-grid.five-cols{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.platform-card-3d{padding:20px 10px 16px;text-align:center}.platform-svg-orb{display:grid;place-items:center;width:58px;height:58px;margin:6px auto 16px;border:1px solid #3b4e68;border-radius:14px;background:#111e2f;color:#c4d6ef}.platform-svg-orb svg{width:30px;height:30px;fill:currentColor}.platform-card-3d.selected .platform-svg-orb{border-color:#4a89a4;color:var(--accent);background:#152f41}.platform-card-3d .holo-3d-title{font-size:.91rem}.platform-card-tag{color:var(--text-muted);font-size:.75rem;font-weight:600;letter-spacing:.07em}
.nick-input-box-3d{max-width:650px;margin:28px auto 0;padding:24px;background:#101b2b;border:1px solid #31445d;border-radius:14px;text-align:left}.nick-box-label{display:block;margin-bottom:10px}#ownerSearchFeedback{margin-top:12px;font-size:.79rem;line-height:1.65}
/* Portada: acción principal antes de la vista previa en móvil. */
.hero-stage{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:stretch;gap:42px;max-width:1232px;padding:40px;text-align:left;background:radial-gradient(ellipse at 0% 0%,rgba(34,81,137,.14),transparent 65%),#0e1725}
.hero-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:8px 0}.brand-wordmark{padding:0;margin-bottom:38px;border:0;background:transparent;color:#ecf4ff;font-size:.81rem;font-weight:750;letter-spacing:-.015em}.brand-domain{color:var(--accent)}.brand-wordmark img{border-radius:9px}
.hero-eyebrow{color:#a5bbd6;font-size:.75rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase}
.hero-stage .step-giant-title{margin:16px 0 20px;max-width:590px;font-size:clamp(2.6rem,4.1vw,4rem);line-height:1.08;letter-spacing:-.06em}.hero-stage .step-giant-title span{display:block}.hero-stage .step-short-sub{max-width:430px;margin:0 0 26px;font-size:.94rem;line-height:1.8}
.hero-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:100%}.hero-actions>.btn{min-width:240px;gap:30px}.hero-offer{display:flex;align-items:center;gap:8px;color:#c6d7e9;font-size:.75rem}.hero-offer>span:not(.offer-dot){color:#73859c}.offer-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--fn-green);flex:0 0 auto}
.trial-availability{max-width:390px;color:var(--text-muted);font-size:.75rem;line-height:1.65}.trial-availability.is-available{color:#9bd9c0}.trial-availability.is-unavailable{color:#e3c38d}
.hero-secondary-actions{display:flex;flex-wrap:wrap;column-gap:24px;row-gap:0;margin-top:15px}.hero-secondary-actions .home-text-action{font-size:.75rem}.hero-facts{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:26px;padding-top:20px;border-top:1px solid var(--line-soft);color:#99afc8;font-size:.75rem}.hero-facts span{display:inline-flex;align-items:center;gap:6px}.hero-facts>span::before{content:'';width:16px;height:16px;flex:none;background:currentColor;mask:url('/assets/icons/check.svg') center/contain no-repeat;color:#7dbed4}
.hero-display{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-width:0;overflow:hidden;border:1px solid #2d425b;border-radius:18px;background:radial-gradient(ellipse at 50% 60%,rgba(46,133,168,.22),transparent 62%),linear-gradient(155deg,#172d43,#0b1828)}
.hero-display::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(145,203,231,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(145,203,231,.035) 1px,transparent 1px);background-size:34px 34px;pointer-events:none;mask-image:linear-gradient(black,transparent)}
.hero-display-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:20px;color:#c5d5e5;font-size:.75rem;font-weight:600;letter-spacing:.06em}.hero-display-top>span:first-child{display:flex;align-items:center;gap:7px}.hero-display-chip{padding:4px 6px;color:#a4bed4;border:1px solid #35516c;border-radius:4px;font-size:.75rem}
.hero-3d-squad{position:relative;width:100%;height:320px;margin:auto 0}.squad-member-3d{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:43%;height:80%;bottom:20px}.squad-member-3d img{position:relative;z-index:2;width:100%;height:calc(100% - 30px);object-fit:contain;object-position:bottom;filter:drop-shadow(0 15px 18px rgba(0,0,0,.3))}.squad-member-3d.side-left{left:0;opacity:.65}.squad-member-3d.side-right{right:0;opacity:.65}.squad-member-3d.center-main{z-index:3;left:26%;width:48%;height:100%;bottom:8px}
.squad-tag-pill{position:relative;z-index:3;display:inline-flex;justify-content:center;align-items:center;max-width:100%;padding:5px 8px;border:1px solid #36516e;border-radius:5px;background:#14283e;color:#b9cfe4;font-size:.75rem;font-weight:600;letter-spacing:.025em;line-height:1.4;text-align:center}.squad-tag-pill.gold,.squad-overhead-badge{background:#a8eaff;color:#172440;border-color:#a8eaff}
.squad-overhead-badge{position:absolute;z-index:5;top:-2px;left:50%;width:max-content;max-width:190px;transform:translateX(-50%);padding:5px 9px;border:1px solid #a8eaff;border-radius:5px;font-size:.75rem;font-weight:750;line-height:1.5}
.squad-pedestal-disc,.hero-3d-ring{position:absolute;bottom:21px;width:80%;height:25px;border:1px solid #3e859f;border-radius:50%;background:rgba(34,100,131,.3)}.hero-3d-ring{width:110%;height:35px;border-color:#72cbe3}
.hero-display-bottom{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px;border-top:1px solid #263e55;background:rgba(9,23,38,.5)}.hero-display-label{display:block;margin-bottom:5px;color:#9fc5df;font-size:.75rem;font-weight:500;letter-spacing:.09em}.hero-display-bottom strong{font-family:var(--font-display);font-size:.92rem;font-weight:600;letter-spacing:-.02em}.hero-display-symbol{display:grid;place-items:center;width:36px;height:36px;border:1px solid #3c6078;border-radius:50%;color:var(--accent);font-size:1.2rem}
/* Vinculación con Epic. */
.data-retention-note{max-width:740px;margin:0 auto 22px;padding:12px 15px;border-left:2px solid #42556e;color:#9fb2cb;background:#0d1725;font-size:.75rem;line-height:1.75;text-align:left}.data-retention-note a{color:#acdcf4}
.new-account-alert-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px 20px;margin:24px 0;background:#1d2630;border:1px solid #4a4a42;border-radius:12px;text-align:left}.alert-banner-text{flex:1 1 250px}.alert-banner-title{margin-bottom:4px;color:#ead5ac;font-size:.75rem;font-weight:650}.alert-banner-sub{color:#bec9d6;font-size:.77rem}
.segmented-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:5px;margin-bottom:22px;border:1px solid #2b3c54;border-radius:11px;background:#0b1422}
.seg-tab,.fn-menu-tab,.subtab-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 14px;border:1px solid transparent;border-radius:7px;background:transparent;color:#a8bed7;font-size:.75rem;font-weight:550;line-height:1.45;transition:background .18s,color .18s}.seg-tab{flex:1}.seg-tab.active,.fn-menu-tab.active,.subtab-btn.active{background:#203751;color:#b8ecff;border-color:#395b77}.seg-tab:hover,.fn-menu-tab:hover,.subtab-btn:hover{color:#e2f3ff;background:#192a3f}
.link-mode-pane,.fn-custom-pane,.subtab-pane{display:none}.link-mode-pane.active,.fn-custom-pane.active,.subtab-pane.active{display:block}
.oauth-center-hero,.oauth-polling-box{padding:28px;border:1px solid #304864;border-radius:14px;background:linear-gradient(130deg,#18293e,#101c2c);text-align:left}.oauth-hero-row{display:flex;align-items:center;flex-wrap:wrap;gap:20px}.oauth-shield-badge{display:grid;place-items:center;width:60px;height:60px;flex:0 0 auto;padding:12px;border:1px solid #34516b;border-radius:14px;background:#14263a}.oauth-shield-badge img{max-height:36px}.oauth-hero-copy{flex:1 1 240px}.oauth-hero-heading{margin-bottom:7px;font-size:.83rem;font-weight:650}.oauth-hero-copy p{color:var(--text-light);font-size:.79rem;line-height:1.75}
.oauth-polling-box{text-align:center}.device-code-header{display:flex;align-items:center;justify-content:center;gap:9px;color:#bfd9ec;font-size:.78rem}.device-code-value{margin:22px 0;font-family:var(--font-mono);font-size:clamp(1.8rem,6vw,2.7rem);letter-spacing:.16em;color:#e5f8ff;overflow-wrap:anywhere}.device-code-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.oauth-polling-box p{margin-top:15px;color:var(--text-muted);font-size:.76rem}
.linked-account-card{margin-top:22px;padding:22px;border:1px solid #326853;border-radius:14px;background:#102b29;text-align:left}.linked-account-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:15px}.badge-verified{color:#93dfbd;font-size:.75rem;font-weight:600}.btn-link-reset{min-height:36px;font-size:.75rem}
.linked-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kv-box{display:flex;flex-direction:column;gap:8px;min-width:0;padding:14px;border:1px solid #2a3d53;border-radius:9px;background:rgba(9,19,32,.6)}.kv-label{color:#9bb6cf;font-size:.75rem;font-weight:600;letter-spacing:.04em}.kv-val{color:#e1edfa;font-size:.8rem;font-weight:500;overflow-wrap:anywhere}
/* Estudio de apariencia. */
#stepScreen-6.active{align-items:stretch}.fn-ingame-menu-shell{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:24px;width:100%}
.stage-3d-card{position:sticky;top:24px;overflow:hidden;min-width:0;border:1px solid #30445c;border-radius:20px;background:#0e1b2c}.stage-hud-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:17px 18px;border-bottom:1px solid var(--line);background:#122237}.hud-live-badge{display:flex;align-items:center;gap:7px;color:#d0e1f1;font-size:.75rem;font-weight:550}.hud-telemetry{display:flex;flex-wrap:wrap;gap:6px}.hud-pill{padding:4px 7px;border:1px solid #375068;border-radius:5px;color:#b9d9ee;font-size:.75rem}.hud-pill-gold{color:var(--accent)}
.stage-3d-viewport{position:relative;height:520px;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#224059,#0d192a 72%)}#LobbyWebGLCanvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.stage-3d-character-layer{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;pointer-events:none}.fn-overhead-plate{position:relative;z-index:3;width:calc(100% - 32px);padding-top:22px;text-align:center}.fn-plate-top{display:flex;justify-content:center;gap:18px;margin-bottom:8px;font-size:.75rem;color:var(--accent)}.fn-crowns-badge{color:#e5ce94}.fn-plate-name{color:#f4f9ff;font-family:var(--font-display);font-size:1.4rem;font-weight:750;letter-spacing:-.04em;overflow-wrap:anywhere}.fn-plate-status{margin-top:5px;color:#a8c4dd;font-size:.75rem;overflow-wrap:anywhere}
.character-render-container{position:relative;flex:1;min-height:0;width:100%;display:flex;align-items:flex-end;justify-content:center;padding:0 60px 115px}.character-aura-glow{position:absolute;inset:18% 10% 12%;opacity:.5}.character-full-img{position:relative;z-index:2;width:100%;height:100%;max-height:335px;object-fit:contain;object-position:center bottom}
.stage-loadout-slots{position:absolute;right:14px;bottom:14px;left:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;pointer-events:auto}.floating-slot{display:flex;align-items:center;gap:9px;min-width:0;min-height:50px;padding:8px;border:1px solid #3b536d;border-radius:8px;background:rgba(13,28,44,.94);cursor:pointer}.floating-slot:hover{border-color:#5bcbed}.floating-slot img{width:32px;height:32px;object-fit:contain;border-radius:5px}.slot-meta{display:flex;flex-direction:column;min-width:0;gap:3px}.slot-lbl{color:#9cbddd;font-size:.75rem;font-weight:600;letter-spacing:.06em}.slot-val{overflow:hidden;color:#d4e3f3;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}
.stage-hud-bottom{padding:14px 18px;border-top:1px solid var(--line)}.stage-theme-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.theme-lbl{margin-right:3px;color:#a1bad2;font-size:.75rem}.theme-dot{width:28px;height:28px;border:4px solid #132437;border-radius:50%;outline:1px solid #3a506c}.theme-dot.active{outline-color:#d2f2ff}.theme-dot[data-stage-theme="cyan"]{background:#38bdf8}.theme-dot[data-stage-theme="gold"]{background:#f59e0b}.theme-dot[data-stage-theme="purple"]{background:#a855f7}.theme-dot[data-stage-theme="crimson"]{background:#ef4444}#btnTrigger3DEmote{margin-left:auto}.preview-auth-status{margin-top:12px;color:#acbdd3;font-size:.75rem}.preview-auth-status.verified{color:#8bd5b8}
.fn-customizer-right{min-width:0;padding:26px;border:1px solid var(--line);border-radius:20px;background:var(--surface);text-align:left}.fn-customizer-right .stage-inner-hud{margin-bottom:22px}.fn-customizer-right .step-giant-title{margin:12px 0;font-size:2rem}.fn-customizer-right .step-short-sub{margin:0 0 22px;font-size:.8rem}
.fn-custom-tabs-bar{display:flex;flex-wrap:wrap;gap:6px;padding:7px 0 15px;margin-bottom:18px;border-bottom:1px solid var(--line)}.fn-menu-tab{padding:9px 11px;min-height:44px;font-size:.75rem}.locker-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px}.locker-search-wrap{flex:1 1 220px}.locker-quick-filters,.quiz-pills-row{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}
.filter-chip,.quiz-pill{min-height:44px;padding:8px 11px;border:1px solid #344761;border-radius:7px;background:#142238;color:#b4c8df;font-size:.75rem;font-weight:550}.filter-chip.active,.quiz-pill.active{color:#b5ebff;background:#1d3a50;border-color:#4985a0}.filter-chip:hover,.quiz-pill:hover{background:#23394f;color:#e0f5ff}
.cosmetic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));align-content:start;gap:10px;min-height:160px;max-height:420px;overflow-y:auto;padding:3px 4px 10px 1px;scrollbar-width:thin;scrollbar-color:#3d536f transparent}.cosmetic-grid.large-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));max-height:600px}
.cosmetic-item{position:relative;min-width:0;padding:8px;overflow:hidden;border:1px solid #394c67;border-radius:11px;background:radial-gradient(circle at 50% 15%,var(--rarity-color,#254867),#142133 80%);cursor:pointer;transition:border-color .18s}.cosmetic-item:hover,.cosmetic-item.selected{border-color:#9de6fb}.cosmetic-item.selected{box-shadow:inset 0 0 0 1px #9de6fb}.cosmetic-item.selected::after{content:'✓';position:absolute;top:7px;right:7px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--accent);color:#10243c;font-size:11px;font-weight:750}.cosmetic-item img{width:100%;height:102px;object-fit:contain}.cosmetic-item-name{padding:8px 2px 2px;color:#e0eafa;font-size:.75rem;font-weight:550;line-height:1.5;overflow-wrap:break-word}
.rarity-legendary{--rarity-color:#57412c}.rarity-epic{--rarity-color:#433557}.rarity-rare{--rarity-color:#254763}.rarity-uncommon{--rarity-color:#2c493e}.rarity-icon{--rarity-color:#23505a}.rarity-marvel{--rarity-color:#572f3b}.rarity-mythic{--rarity-color:#524c2c}
.editor-save-status{margin-top:14px;color:#9bb5d0;font-size:.75rem;line-height:1.75}.editor-save-status.is-error{color:#ffb7c4}
/* Prueba y pago. */
.deploy-steps-pills-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:6px 0 24px}.deploy-steps-pills-row .squad-tag-pill{padding:6px 10px;font-size:.75rem}
.trial-live-wrap{display:flex;flex-direction:column;align-items:center;gap:22px;width:100%;max-width:620px;margin:0 auto 24px}.trial-timer-box,.pro-unlock-card{width:100%;max-width:570px;padding:28px;border:1px solid #35516a;border-radius:18px;background:linear-gradient(145deg,#172a3c,#101f31);text-align:center}.trial-timer-box.expired{border-color:#49566b;background:#121d2d}
.trial-status-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:7px 11px;border:1px solid #3c5e70;border-radius:7px;color:#bce9f8;font-size:.75rem;font-weight:650;letter-spacing:.025em;line-height:1.6}.pulse-dot{display:inline-block;flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:var(--fn-green)}
.trial-countdown-digits{margin:16px 0;color:#effaff;font-family:var(--font-display);font-size:clamp(3.8rem,9vw,5rem);font-weight:650;letter-spacing:-.065em;line-height:1.2;font-variant-numeric:tabular-nums}#trialTimerHelpText{max-width:440px;margin:0 auto 20px;color:#b2c9dd;font-size:.81rem;line-height:1.8}
.device-host-setup{display:block;width:100%;margin-bottom:18px;padding:14px;border:1px solid #314a61;border-radius:10px;background:#0c1b2b;text-align:left}#deviceHostSetup>span{display:block;width:100%;min-width:0;color:#bdd1e5;font-size:.76rem;line-height:1.75;overflow-wrap:break-word}#btnStartFreeTrialNow{min-height:52px;font-size:.8rem}#btnStopCloudTrialNow{margin-top:10px}
.deploy-progress-box{width:100%;margin-top:18px;padding:16px;border:1px solid #304b61;border-radius:10px;background:#112235;text-align:left}.deploy-progress-box h4{margin-bottom:10px;color:#b0def2;font-size:.75rem;letter-spacing:.025em}.deploy-steps-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;color:#acc3da;font-size:.75rem}
.pro-unlock-card{padding:26px;border-color:#427990;background:linear-gradient(145deg,#173343,#122136)}.price-box-top{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-bottom:20px;text-align:left}.price-plan-name{margin-bottom:5px;color:#c3eaf8;font-size:.75rem;font-weight:650;letter-spacing:.065em}.price-plan-detail{color:#9fc2db;font-size:.75rem}.price-tag{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}.price-currency{color:var(--accent);font-size:1.3rem}.price-amount{color:#f2faff;font-family:var(--font-display);font-size:3rem;font-weight:750;letter-spacing:-.06em;line-height:1}.price-period{color:#adc5da;font-size:.75rem}
.stripe-payment-badge{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;border:1px solid #405178;border-radius:8px;background:#202b47;color:#bdc9f3;font-size:.75rem;font-weight:550}
.pro-features-list{display:flex;flex-direction:column;gap:13px;margin:24px 0;padding:0;list-style:none;color:#b5cbe0;font-size:.77rem;line-height:1.7;text-align:left}.pro-features-list strong{color:#e1f0fc;font-weight:550}.pro-unlock-card .linked-account-grid{margin:22px 0;text-align:left}.payment-security-note{margin-top:12px;color:#a0bbd4;font-size:.75rem}
.checkout-feedback{margin-top:14px;padding:12px 14px;border:1px solid #3d5f7c;border-radius:9px;background:#142a3d;color:#b9e5f7;font-size:.78rem;line-height:1.75;text-align:left;overflow-wrap:anywhere}.checkout-feedback[data-state="error"]{border-color:#864b60;background:#35212d;color:#ffc2cd}.checkout-feedback[data-state="loading"],.checkout-feedback[data-state="redirecting"]{display:flex;align-items:center;gap:10px}.checkout-feedback[data-state="loading"]::before,.checkout-feedback[data-state="redirecting"]::before{content:'';width:15px;height:15px;flex:0 0 15px;border:2px solid #466b83;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}
/* Cuenta web. */
#view-auth.active{min-height:100svh;padding:42px 0;display:flex;align-items:center;justify-content:center}.account-auth-card{width:100%;max-width:480px;padding:34px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,#142133,#101a29);box-shadow:0 24px 80px rgba(0,0,0,.2)}.account-auth-brand{display:inline-flex;align-items:center;gap:10px;color:#e4effd;margin-bottom:30px;text-decoration:none;font-size:.77rem;font-weight:700;letter-spacing:-.01em}.account-auth-brand img{width:34px;height:34px}.account-auth-card h1{margin:16px 0 12px;font-size:clamp(1.8rem,5vw,2.3rem);letter-spacing:-.05em}#accountAuthDescription{color:#a9bed7;font-size:.82rem;line-height:1.8}
.account-auth-modes{display:flex;gap:8px;margin:24px 0}.account-auth-modes .btn{flex:1}.account-auth-card .form-group{margin-bottom:18px}.account-auth-card .box-help{margin:0;color:#95acc7;font-size:.75rem}
.password-field{position:relative;display:flex;width:100%}.password-field .form-input{padding-right:84px}#btnToggleAuthPassword{position:absolute;top:3px;right:4px;bottom:3px;min-width:70px;padding:8px;border:0;border-radius:6px;background:transparent;color:#b0d5ec;font-size:.75rem;font-weight:600}#btnToggleAuthPassword:hover{background:#22364f;color:#d5f3ff}
.account-auth-feedback{min-height:0;margin:12px 0;color:#ffb3c2;font-size:.78rem;line-height:1.75;overflow-wrap:anywhere}.account-auth-feedback:empty{display:none}.account-auth-note{margin-top:18px;color:#a2b7d0;font-size:.75rem;line-height:1.8}#btnAuthBackHome{margin-top:20px;font-size:.75rem}#authPaidBadge{margin:0 0 8px;color:#9fe1c3;background:#14382f;border-color:#316a53;font-size:.75rem}
/* Espacio de trabajo. El estado y la apariencia se controlan aquí. */
#view-control.active,#view-runner.active{padding:30px 0 50px}.pro-topbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-bottom:28px;padding:24px 28px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(120deg,#152438,#111b2b)}
.workspace-eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:9px;color:#9db5d0;font-size:.75rem;font-weight:550;letter-spacing:.08em}.workspace-heading h1{font-size:1.9rem;letter-spacing:-.055em}.workspace-heading>p:last-child{margin-top:8px;color:#9bb3ce;font-size:.78rem}#accountUserLabel{padding-left:12px;border-left:1px solid #3c4e65;color:#b0c9e1;font-size:.75rem;letter-spacing:0}
.workspace-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.workspace-actions .btn{min-height:44px;padding:9px 13px;font-size:.75rem}
.pro-topbar>.step-hud-brand{color:#e5f2ff;font-size:.95rem}
.pro-paywall-gate{max-width:720px;margin:28px auto;padding:28px;border:1px solid #3a657d;border-radius:18px;background:linear-gradient(130deg,#193143,#122135);text-align:center}.gate-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 16px;border:1px solid #45657c;border-radius:12px;background:#1b3549;color:#b5e7fa;font-size:1.3rem}.pro-paywall-gate h2{margin:16px 0 12px;font-size:1.75rem}.pro-paywall-gate h2 span{color:var(--accent)}.pro-paywall-gate>p{max-width:560px;margin:0 auto 22px;color:#afc7dd;font-size:.8rem;line-height:1.8}.gate-payment-notes{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 16px;margin-top:15px;color:#aac3d9;font-size:.75rem}
.control-layout{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;gap:24px}.control-sidebar{position:sticky;top:24px;min-width:0;padding:20px;border:1px solid var(--line);border-radius:16px;background:#111c2c}.sidebar-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.sidebar-header h3{font-size:.85rem;font-weight:650;letter-spacing:-.01em}.sidebar-header .box-help{margin:10px 0 0;font-size:.75rem}.sidebar-search{margin:18px 0 14px}
.bots-list-container{display:flex;flex-direction:column;gap:8px;max-height:400px;margin-bottom:20px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3a506e transparent}.bot-list-item{display:flex;align-items:center;gap:10px;min-height:66px;width:100%;padding:11px;border:1px solid #2d3d55;border-radius:10px;background:#142237;color:#d1e0f1;text-align:left}.bot-list-item:hover{border-color:#47748f;background:#1b2d43}.bot-list-item.active{border-color:#69bad4;background:#19364a}
.bot-list-thumb{flex:0 0 38px;width:38px;height:38px;border:1px solid #3c5772;border-radius:8px;object-fit:contain;background:#102035}.bot-list-meta{display:block;flex:1;min-width:0}.bot-list-meta>span{display:block}.bot-list-name{color:#e5f1fe;font-size:.76rem;font-weight:600;overflow-wrap:anywhere}.bot-list-id{margin-top:3px;color:#a0bed4;font-size:.75rem;line-height:1.55;overflow-wrap:anywhere}
.sidebar-footer{padding-top:18px;border-top:1px solid var(--line)}.sidebar-footer .box-help{margin:12px 0;font-size:.75rem}#btnOpenDirectRegister{margin-bottom:0}.control-main{min-width:0}
.bot-save-bar{display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px;min-height:44px;margin-bottom:16px;padding:10px 14px;border:1px solid #294253;border-radius:10px;background:#10232f;color:#a8d3e7;font-size:.75rem;line-height:1.7}.bot-save-bar .is-error{color:#ffb9c6}.bot-save-bar .home-text-action{min-height:28px;font-size:.75rem}
.bot-command-deck{display:flex;align-items:flex-start;flex-wrap:wrap;gap:24px;margin-bottom:18px;padding:28px;border:1px solid #365672;border-radius:18px;background:radial-gradient(ellipse at 0% 0%,rgba(79,159,185,.12),transparent 65%),linear-gradient(145deg,#192b42,#111f32)}
.deck-bot-visual{position:relative;flex:0 0 100px}.deck-bot-visual img{width:100px;height:116px;padding:6px;border:1px solid #50728e;border-radius:16px;background:radial-gradient(ellipse at 50% 80%,#2d5b72,#142e43);object-fit:contain}.deck-level-tag{position:absolute;right:-4px;bottom:-7px;padding:4px 8px;border:1px solid #669ab3;border-radius:6px;background:#203d52;color:#c3edfb;font-size:.75rem}
.deck-bot-info{flex:1 1 220px;min-width:0}.bot-banner-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:22px}.bot-banner-title-row h2{flex-basis:100%;font-size:2rem;overflow-wrap:anywhere}
.code-pill,.badge-sdk{display:inline-flex;align-items:center;padding:4px 7px;border:1px solid #3a5770;border-radius:5px;background:#152b40;color:#b9d8e9;font-size:.75rem;line-height:1.5;overflow-wrap:anywhere}#ctrlBotIdBadge{display:none}#ctrlBotSdkBadge{border-color:#507189;background:#1b3447;color:#c6e7f7;font-size:.75rem}
.deck-telemetry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tele-item{display:flex;flex-direction:column;min-width:0;gap:7px}.tele-lbl{color:#aac1d9;font-size:.75rem;font-weight:500;line-height:1.6}.tele-val{color:#e0edf9;font-size:.9rem;font-weight:600;overflow-wrap:anywhere}.bot-detail-disclosure{margin-top:18px;padding-top:12px;border-top:1px solid #30465e}.bot-detail-disclosure summary{min-height:44px;padding:10px 0;color:#a9c9de;font-size:.76rem;cursor:pointer}.bot-detail-disclosure summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.bot-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:14px}
.deck-quick-actions{display:flex;flex-basis:100%;flex-wrap:wrap;gap:8px;padding-top:22px;border-top:1px solid #2c425a}.deck-quick-actions .btn{font-size:.75rem}#btnCtrlStartSdk{margin-right:4px}
.panel-guidance{display:flex;align-items:flex-start;gap:12px;margin-bottom:22px;padding:15px 18px;border:1px solid #2b465c;border-radius:12px;background:#102336;color:#a9c4dc;font-size:.75rem;line-height:1.8}.panel-guidance strong{color:#cee6f6;font-weight:550}.panel-guidance code{padding:3px 5px;border-radius:4px;background:#203a51;color:#b6eaff}.guidance-icon{display:grid;place-items:center;width:21px;height:21px;flex:0 0 21px;margin-top:2px;border:1px solid #6a9bb4;border-radius:50%;color:#aedbf0;font-size:.75rem;font-family:var(--font-mono)}
.gameplay-card{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:24px;margin-bottom:26px;padding:24px;border:1px solid #31475f;border-radius:16px;background:#121f31}.section-eyebrow{margin-bottom:8px;color:#8fb9d4;font-size:.75rem;letter-spacing:.08em;font-weight:550}.gameplay-card h3{font-size:1.3rem}.gameplay-card .box-help{margin:10px 0 0;font-size:.75rem}.gameplay-switches{display:flex;flex-direction:column;gap:16px}
.setting-switch{position:relative;display:flex;align-items:flex-start;gap:13px;min-height:48px;cursor:pointer}.setting-switch>input{position:absolute;left:0;top:4px;width:40px;height:24px;opacity:0;z-index:2;cursor:pointer}.switch-track{display:block;width:40px;height:24px;flex:0 0 40px;margin-top:3px;border:1px solid #50637b;border-radius:20px;background:#26364c;transition:background .18s}.switch-track::after{content:'';display:block;width:16px;height:16px;margin:3px;background:#c6d8e8;border-radius:50%;transition:transform .18s}.setting-switch>input:checked+.switch-track{border-color:#7fd6f1;background:#71cee9}.setting-switch>input:checked+.switch-track::after{transform:translateX(16px);background:#10263c}.setting-switch>input:focus-visible+.switch-track{outline:3px solid var(--accent);outline-offset:4px}.setting-switch strong{display:block;color:#d6e8f7;font-size:.77rem;font-weight:550}.setting-switch small{display:block;margin-top:5px;color:#9fb6ce;font-size:.75rem;line-height:1.7}
.panel-mode-notice{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px;margin:-12px 0 22px}.panel-mode-item{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:13px 15px;border:1px solid #315469;border-radius:10px;background:#102735;color:#cae9f5}.panel-mode-item p{margin:0;font-size:.78rem;line-height:1.65;overflow-wrap:anywhere}.panel-mode-icon{display:inline-flex;flex:0 0 18px;margin-top:2px;color:#8bd9f0}.panel-mode-icon .bot-icon{width:18px;height:18px}.panel-mode-planned{border-color:#5b4d37;background:#29251e;color:#e6d6b8}.panel-mode-planned .panel-mode-icon{color:#d9bc81}
.panel-subtabs{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:20px;padding:6px 6px 14px;border-bottom:1px solid var(--line)}.subtab-btn{flex:1 1 auto;padding:10px 11px;font-size:.78rem}.panel-box{min-width:0;margin-bottom:20px;padding:24px;border:1px solid var(--line);border-radius:14px;background:#111d2e;box-shadow:0 10px 24px rgba(0,0,0,.1)}.panel-box h3,.panel-box h4{margin-bottom:16px;font-size:1.05rem;letter-spacing:-.025em}.panel-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:16px}.panel-section-heading h3{margin-bottom:0;font-size:1.35rem}.live-context-pill{padding:6px 9px;border:1px solid #3a6178;border-radius:6px;background:#183448;color:#aedff2;font-size:.75rem;letter-spacing:.03em}
.panel-two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px}.panel-three-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px}.quick-cosmetic-actions,.action-buttons-grid{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.chat-history-box{min-height:160px;max-height:300px;overflow-y:auto;margin-bottom:16px;padding:14px;border:1px solid #2b4159;border-radius:10px;background:#0a1524;color:#b3c9df;font-size:.75rem;line-height:1.75}.chat-msg-item{padding:8px 0;border-bottom:1px solid #1d3045;overflow-wrap:anywhere}.chat-msg-item.system{color:#9cb8d4;font-size:.75rem}
.social-list,.search-results-list{display:flex;flex-direction:column;gap:10px;max-height:350px;overflow-y:auto}.social-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px;border:1px solid #2c425b;border-radius:10px;background:#142338}.social-row>div:first-child{min-width:0;flex:1 1 120px}.social-user-name{display:block;color:#d7e8f8;font-size:.76rem;font-weight:600;overflow-wrap:anywhere}.social-user-id{display:block;margin-top:4px;color:#9fb7d1;font-family:var(--font-mono);font-size:.75rem;overflow-wrap:anywhere}.social-actions{display:flex;flex-wrap:wrap;gap:6px}
.direct-cmd-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;gap:10px;margin-bottom:16px}.cmd-response-viewer,.terminal-window{max-width:100%;margin:0;padding:16px;overflow:auto;border:1px solid #2c435d;border-radius:10px;background:#080f1b;color:#a9c7de;font-family:var(--font-mono);font-size:.75rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.cmd-response-viewer{min-height:90px;max-height:300px}.terminal-window{height:380px}
.commands-catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.cmd-card{display:flex;flex-direction:column;gap:13px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:12px;background:#122033}.cmd-card-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.cmd-name-tag{color:var(--accent);font-family:var(--font-mono);font-size:.82rem}.cmd-group-tag{padding:3px 6px;border-radius:4px;background:#20344e;color:#adc5de;font-size:.75rem}.cmd-desc{flex:1;color:#abc0d9;font-size:.75rem;line-height:1.8}.cmd-card .btn{align-self:flex-start}.log-line{display:flex;flex-wrap:wrap;gap:4px 8px;padding:6px 0;border-bottom:1px solid #15263a}.log-ts{color:#94acc7}.log-src{color:#8fd5ed}
/* Estados vacíos, recursos ausentes y avisos. */
.ui-list-state{display:flex;flex-direction:column;align-items:center;justify-content:center;grid-column:1/-1;min-height:150px;width:100%;padding:28px 20px;border:1px dashed #354a64;border-radius:11px;color:#a9bfd8;font-size:.78rem;line-height:1.8;text-align:center}.ui-list-state p{margin-bottom:12px}.ui-list-state.is-error{border-color:#785065;color:#ffc0cd;background:#2a1e2b}.ui-list-state.is-loading::before{content:'';width:22px;height:22px;margin-bottom:12px;border:2px solid #355470;border-top-color:var(--accent);border-radius:50%;animation:spin .9s linear infinite}
.image-fallback{object-fit:contain!important;padding:12px;opacity:.42;filter:none!important}.image-fallback-unavailable{visibility:hidden}.hero-3d-squad .image-fallback{height:100px;margin:auto 0 20px;padding:12px}.holo-pop-render .image-fallback{height:85px;margin:auto}.character-render-container .image-fallback{max-height:145px;margin:auto}.floating-slot .image-fallback,.bot-list-thumb.image-fallback{padding:4px}
.webgl-fallback-note{position:absolute;right:14px;bottom:128px;left:14px;z-index:5;padding:8px 10px;border:1px solid #36516b;border-radius:7px;background:rgba(10,23,38,.95);color:#adc3db;font-size:.75rem;line-height:1.6}
.toast-container{position:fixed;z-index:10000;right:24px;bottom:max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:9px;width:400px;max-width:calc(100vw - 32px);pointer-events:none}.toast{padding:15px 18px;border:1px solid #4a6682;border-radius:12px;background:#1a2b40;color:#e1eefb;box-shadow:0 14px 45px rgba(0,0,0,.35);font-size:.78rem;line-height:1.75;overflow-wrap:anywhere;pointer-events:auto}
.modal-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(4,9,17,.8)}.modal-card{width:100%;max-width:600px;max-height:calc(100dvh - 40px);overflow-y:auto;padding:24px;border:1px solid #3b536f;border-radius:18px;background:#142237}.modal-header,.modal-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.modal-header{margin-bottom:20px}.modal-header h3{font-size:1.5rem}.modal-close{width:44px;height:44px;border:1px solid #3b536f;border-radius:8px;background:#1c2e46;color:#cfe5f5}.modal-footer{justify-content:flex-end;margin-top:20px}
.site-footer-home{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;width:100%;max-width:1232px;padding:0 10px;color:#96adc8}.footer-brand{font-size:.75rem;font-weight:650;letter-spacing:.015em}.footer-brand span{color:#9ecadf}.site-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:22px}.site-footer nav a{display:inline-flex;align-items:center;min-height:44px;color:#a4bad3;font-size:.75rem;text-decoration:none}.site-footer nav a:hover{color:#c6edff;text-decoration:underline}.footer-availability{flex-basis:100%;color:#95acc7;font-size:.75rem;line-height:1.7}
.hud-sound-toggle-btn{position:static;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:7px 10px;border:1px solid #2c435c;border-radius:7px;background:#121f31;color:#a7c7df;font-size:.75rem;font-weight:500}.hud-sound-toggle-btn:hover{color:#ddf4ff;border-color:#53829d}.sound-icon-svg{display:inline-flex;width:16px;height:16px}.sound-icon-svg .bot-icon{width:16px;height:16px}.sound-waves-icon{display:inline-flex;align-items:center;gap:2px;height:16px}.sound-bar{width:2px;height:9px;background:currentColor}.sound-bar:nth-child(2){height:14px}.hud-sound-toggle-btn.muted .sound-waves-icon{display:none}
.holo-3d-card,.cosmetic-item,.trial-timer-box,.pro-unlock-card,.stage-3d-card,.floating-slot{transform:none!important}
@keyframes spin{to{transform:rotate(360deg)}}
/* Tablet y panel compacto. */
@media(max-width:1150px){
.container{padding:0 24px}.hero-stage{gap:28px;padding:32px}.hero-stage .step-giant-title{font-size:3.1rem}.hero-display-chip{display:none}.control-layout{grid-template-columns:230px minmax(0,1fr);gap:18px}.control-sidebar{padding:16px}.panel-two-cols,.panel-three-cols{grid-template-columns:minmax(0,1fr);gap:0}.fn-ingame-menu-shell{gap:18px}.fn-customizer-right{padding:22px}.stage-3d-viewport{height:480px}.theme-lbl{display:none}.deck-telemetry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gameplay-card{grid-template-columns:minmax(0,1fr);gap:18px}
}
@media(max-width:900px){
.hero-stage{gap:22px;padding:28px}.hero-stage .step-giant-title{font-size:2.65rem}.hero-3d-squad{height:285px}.hero-display-bottom strong{font-size:.8rem}.squad-tag-pill{font-size:.75rem}.squad-overhead-badge{font-size:.75rem}.brand-wordmark{margin-bottom:25px}.step-stage-box{padding:28px}
.fn-ingame-menu-shell{grid-template-columns:minmax(0,1fr);max-width:760px;margin:auto}.stage-3d-card{position:relative;top:auto}.stage-3d-viewport{height:430px}.character-render-container{padding-bottom:80px}.stage-loadout-slots{grid-template-columns:repeat(4,minmax(0,1fr))}.floating-slot{flex-direction:column;text-align:center;gap:5px}.slot-meta{align-items:center;width:100%}.slot-val{max-width:100%}.webgl-fallback-note{bottom:100px}
.control-layout{grid-template-columns:minmax(0,1fr)}.control-sidebar{position:static;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 24px}.sidebar-header,.sidebar-search{grid-column:1}.bots-list-container{grid-column:1/-1;max-height:240px}.sidebar-footer{grid-column:2;grid-row:1/3;margin:0;padding:0 0 0 24px;border-top:0;border-left:1px solid var(--line)}.panel-two-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gameplay-card{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:20px}
}
/* Móvil: controles táctiles, columnas sin anchuras mínimas que desborden. */
@media(max-width:680px){
.container{padding:0 16px}.step-screen.active{min-height:100svh;justify-content:flex-start;gap:18px;padding:20px 0}.step-stage-box{padding:24px 20px;border-radius:18px}.stage-inner-hud{margin-bottom:24px;padding-bottom:16px;gap:8px}.step-hud-brand{font-size:.75rem}.hud-lock-tag{font-size:.75rem}.step-giant-title{margin:15px 0;font-size:clamp(1.85rem,7.2vw,2.8rem);letter-spacing:-.045em}.step-short-sub{margin-bottom:24px;font-size:.83rem;line-height:1.8}.step-badge-pill{font-size:.75rem}
.hero-stage{display:flex;flex-direction:column;gap:30px;padding:24px}.hero-copy{padding:0}.brand-wordmark{margin-bottom:28px;font-size:.75rem}.hero-eyebrow{font-size:.75rem;letter-spacing:.08em}.hero-stage .step-giant-title{margin:14px 0 18px;font-size:clamp(2.15rem,8.4vw,3.2rem);line-height:1.1}.hero-stage .step-short-sub{margin-bottom:24px;font-size:.83rem}.hero-actions>.btn{min-width:0;width:100%;justify-content:space-between;font-size:.9rem}.hero-actions{gap:12px}.hero-secondary-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:100%;margin-top:14px}.hero-secondary-actions .home-text-action{justify-content:flex-start;font-size:.75rem}.hero-facts{margin-top:16px;padding-top:18px;gap:10px 18px;font-size:.75rem}
.hero-display{min-height:0;border-radius:14px}.hero-display-top{padding:14px 16px;font-size:.75rem}.hero-display-chip{display:inline;font-size:.75rem}.hero-3d-squad{height:260px}.hero-display-bottom{padding:15px 16px}.hero-display-bottom strong{font-size:.83rem}.squad-tag-pill{font-size:.75rem}.squad-overhead-badge{font-size:.75rem}
.cards-3d-grid{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:22px}.holo-3d-card{padding:20px}#stepScreen-2 .holo-3d-card,#quizGoalOptions .holo-3d-card{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:8px 14px;align-items:center}.holo-card-kicker,.holo-3d-title,.holo-3d-sub{grid-column:1}.holo-card-kicker{font-size:.75rem}.holo-3d-title{margin-bottom:0;font-size:1.05rem}.holo-3d-sub{font-size:.75rem}.holo-pop-render{grid-column:2;grid-row:1/4;width:86px;height:120px;margin:0}.holo-pop-render .image-fallback{height:70px;padding:10px}.holo-3d-card[data-goal].selected::after{width:19px;height:19px;top:9px;right:9px}
.cards-3d-grid.five-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.platform-card-3d{padding:15px 10px}.platform-card-3d:last-child{grid-column:1/-1}.platform-svg-orb{width:42px;height:42px;margin:0 auto 10px;border-radius:10px}.platform-svg-orb svg{width:23px;height:23px}.platform-card-3d .holo-3d-title{font-size:.83rem}.platform-card-tag{margin-top:4px;font-size:.75rem}
.step-nav-footer{align-items:stretch;gap:10px;margin-top:24px;padding-top:20px}.step-nav-footer .btn{flex:1 1 110px;min-width:0;padding:12px 14px;font-size:.75rem}.step-nav-footer>div:empty{display:none}.step-nav-footer .btn-xl{flex-basis:100%}
.data-retention-note{margin-bottom:20px;padding:12px;font-size:.75rem}.new-account-alert-banner{gap:12px;padding:16px}.alert-banner-text{flex-basis:100%}.alert-banner-title{font-size:.75rem}.alert-banner-sub{font-size:.75rem}.alert-banner-btn{width:100%}.segmented-tabs{gap:4px;padding:4px}.seg-tab{min-width:0;padding:10px 8px;font-size:.75rem}
.oauth-center-hero,.oauth-polling-box{padding:20px}.oauth-hero-row{gap:15px}.oauth-shield-badge{width:45px;height:45px;padding:9px}.oauth-hero-copy{flex-basis:calc(100% - 65px)}.oauth-hero-heading{font-size:.75rem}.oauth-hero-copy p{font-size:.75rem}#btnStartEpicDeviceCode{width:100%;font-size:.77rem}.device-code-header{font-size:.75rem}.device-code-actions .btn{width:100%;font-size:.75rem}.linked-account-card{padding:17px}.linked-account-header{gap:4px}.badge-verified{font-size:.75rem}.linked-account-grid{grid-template-columns:minmax(0,1fr)}.kv-box{padding:12px}
.form-row-grid,.form-row-grid.three-cols,.config-params-grid{grid-template-columns:minmax(0,1fr);gap:0}.form-input,.form-select,.form-input-sm,.form-select-sm{font-size:16px}.input-with-btn>.btn{padding:10px 12px;font-size:.75rem}.nick-input-box-3d{padding:18px;margin-top:24px}.nick-box-label{font-size:.75rem}
.fn-customizer-right{padding:20px;border-radius:16px}.fn-customizer-right .step-giant-title{font-size:1.7rem}.fn-customizer-right .step-short-sub{font-size:.76rem}.fn-custom-tabs-bar{gap:5px}.fn-menu-tab{padding:9px 10px;font-size:.75rem}.stage-hud-top{padding:14px}.stage-3d-viewport{height:420px}.character-render-container{padding:0 38px 112px}.stage-loadout-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.floating-slot{flex-direction:row;gap:7px;padding:7px}.slot-meta{align-items:flex-start}.slot-val{font-size:.75rem}.floating-slot img{width:28px;height:28px}.stage-hud-bottom{padding:13px}.theme-dot{width:26px;height:26px}.webgl-fallback-note{bottom:128px;font-size:.75rem}
.cosmetic-grid,.cosmetic-grid.large-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:390px}.cosmetic-item img{height:110px}.cosmetic-item-name{font-size:.75rem}.filter-chip,.quiz-pill{min-height:44px;padding:8px 10px;font-size:.75rem}.toggle-pill{width:100%;font-size:.75rem}
.deploy-steps-pills-row{gap:6px}.deploy-steps-pills-row .squad-tag-pill{padding:6px 8px;font-size:.75rem}.trial-timer-box,.pro-unlock-card{padding:20px 16px;border-radius:14px}.trial-status-pill{padding:7px 9px;font-size:.75rem}#trialTimerHelpText{font-size:.76rem}.device-host-setup{padding:12px}#deviceHostSetup>span{font-size:.75rem}#btnStartFreeTrialNow{padding:13px;font-size:.75rem}.price-plan-name{font-size:.75rem}.price-box-top{gap:16px}.price-amount{font-size:2.7rem}.pro-features-list{font-size:.75rem;gap:12px}#btnProceedCheckout,#btnUnlockProFromGate{font-size:.76rem;padding:15px}.pro-unlock-card .linked-account-grid{grid-template-columns:minmax(0,1fr);margin:20px 0}
.account-auth-card{padding:26px 22px;border-radius:16px}#view-auth.active{min-height:100svh;padding:24px 0}.account-auth-brand{margin-bottom:24px}.account-auth-card h1{font-size:1.9rem}#accountAuthDescription{font-size:.78rem}.account-auth-note{font-size:.75rem}
#view-control.active,#view-runner.active{padding:20px 0 36px}.pro-topbar{padding:22px 20px;margin-bottom:18px;border-radius:14px}.workspace-heading h1{font-size:1.7rem}.workspace-eyebrow{font-size:.75rem}.workspace-heading>p:last-child{font-size:.75rem}.workspace-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.workspace-actions .btn{min-height:44px;font-size:.75rem}
.control-sidebar{display:block;padding:18px}.sidebar-footer{padding:18px 0 0;border-left:0;border-top:1px solid var(--line)}.bots-list-container{max-height:250px}.sidebar-header .box-help,.sidebar-footer .box-help{font-size:.75rem}.bot-list-item{min-height:66px}.pro-paywall-gate{margin:18px auto;padding:24px 18px}.pro-paywall-gate h2{font-size:1.5rem}.pro-paywall-gate>p{font-size:.75rem}.pro-paywall-gate .step-badge-pill{font-size:.75rem}
.bot-command-deck{padding:22px 18px;gap:18px}.deck-bot-visual{flex-basis:74px}.deck-bot-visual img{width:74px;height:92px}.deck-bot-info{flex-basis:150px}.bot-banner-title-row{margin-bottom:18px}.bot-banner-title-row h2{font-size:1.45rem}.code-pill,.badge-sdk{font-size:.75rem}#ctrlBotSdkBadge{font-size:.75rem}.deck-telemetry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tele-lbl{font-size:.75rem}.tele-val{font-size:.75rem}.deck-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:18px}.deck-quick-actions .btn{font-size:.75rem;padding:10px 8px}#btnCtrlStartSdk{margin:0;grid-column:1/-1}
.panel-guidance{padding:14px;font-size:.75rem;gap:10px}.gameplay-card{grid-template-columns:minmax(0,1fr);padding:20px;gap:20px}.gameplay-card h3{font-size:1.2rem}.gameplay-card .box-help{font-size:.75rem}.setting-switch strong{font-size:.75rem}.setting-switch small{font-size:.75rem}
.panel-subtabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 0 16px}.subtab-btn{min-height:46px;padding:9px;font-size:.75rem}.panel-box{padding:20px 16px;margin-bottom:18px}.panel-box h3,.panel-box h4{font-size:.9rem}.panel-two-cols,.panel-three-cols{grid-template-columns:minmax(0,1fr);gap:0}.box-help{font-size:.75rem}.direct-cmd-bar{grid-template-columns:minmax(0,1fr)}.commands-catalog-grid{grid-template-columns:minmax(0,1fr)}.social-row{padding:12px}.social-actions .btn{font-size:.75rem;min-height:44px}.chat-history-box{font-size:.75rem}.terminal-window{height:300px}
.toast-container{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.toast{padding:13px 15px;font-size:.75rem}.site-footer-home{justify-content:center;gap:4px 16px;text-align:center}.footer-brand{display:none}.site-footer nav{justify-content:center;gap:20px}.site-footer nav a{font-size:.75rem}.footer-availability{font-size:.75rem}
}
.runner-live-status{margin:-8px 0 22px;padding:12px 15px;border:1px solid #2c465e;border-radius:9px;background:#102235;color:#adcce2;font-size:.85rem;line-height:1.7}
.sidebar-footnote{font-size:.8rem}
.theme-dot{min-width:44px;min-height:44px;width:44px;height:44px;border-width:10px}
.terminal-window{overflow-x:hidden;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}
.log-line>span{min-width:0;overflow-wrap:anywhere;max-width:100%}
.control-sidebar[data-bot-count="0"] .sidebar-search,.control-sidebar[data-bot-count="1"] .sidebar-search{display:none}
@media(max-width:680px){
  .control-sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px}
  .sidebar-header{grid-column:1;grid-row:1;align-self:center}.sidebar-title-row{margin:0;gap:10px}.sidebar-header h3{font-size:.9rem}.sidebar-header .code-pill{font-size:.7rem}
  .sidebar-search{grid-column:1/-1;grid-row:2;margin:0}.bots-list-container{grid-column:1/-1;grid-row:3;flex-direction:row;max-height:110px;overflow-x:auto;overflow-y:hidden;margin:0;padding:0 0 4px;scrollbar-width:thin}
  .bot-list-item{flex:1 0 210px;padding:11px;min-height:68px}.bot-list-meta{min-width:0}.bot-list-name{font-size:.86rem}.bot-list-id{font-size:.75rem}.control-sidebar[data-bot-count="1"] .bot-list-item{flex-basis:100%}
  .sidebar-footer{grid-column:2;grid-row:1;display:flex;gap:6px;border:0;padding:0}.sidebar-footer .box-help{display:none}
  #btnOpenDirectRegister,#btnRefreshBotsList{width:44px;min-width:44px;min-height:44px;padding:8px;font-size:0}.sidebar-footer #btnOpenDirectRegister::before{content:'+';font-size:24px;font-weight:400}.sidebar-footer #btnRefreshBotsList::before{content:'↻';font-size:22px}
  .bot-save-bar{font-size:.8rem}.bot-banner-title-row h2{font-size:1.5rem}#ctrlBotSdkBadge{font-size:.75rem}.deck-level-tag{font-size:.75rem}
  .deck-bot-visual{flex-basis:76px}.deck-bot-info{flex-basis:145px}.deck-telemetry-grid{grid-template-columns:minmax(0,1fr);gap:14px}.tele-lbl{font-size:.75rem}.tele-val{font-size:.9rem}.bot-detail-disclosure summary{font-size:.8rem}.bot-details-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .deck-quick-actions .btn{font-size:.82rem;line-height:1.6;min-height:46px}.panel-guidance{font-size:.85rem;line-height:1.8}.section-eyebrow{font-size:.75rem}.gameplay-card .box-help{font-size:.85rem}.setting-switch strong{font-size:.9rem}.setting-switch small{font-size:.82rem}
  .subtab-btn{font-size:.8rem;min-height:48px}.panel-box .box-help{font-size:.85rem}.panel-section-heading h3{font-size:1.3rem}.live-context-pill{font-size:.75rem}.form-group label{font-size:.8rem}
  .workspace-eyebrow{font-size:.75rem}#accountUserLabel{font-size:.75rem}.workspace-heading>p:last-child{font-size:.85rem}.workspace-actions .btn{font-size:.8rem}
  .cosmetic-item-name{font-size:.8rem}.quick-cosmetic-actions .btn,.social-actions .btn{font-size:.8rem}.social-user-name{font-size:.9rem}.social-user-id{font-size:.75rem}.chat-history-box{font-size:.85rem}
  .terminal-window{height:60svh;min-height:300px;font-size:13px;line-height:1.85;padding:14px}.log-line{display:block;padding:9px 0}.log-line>span{display:inline;white-space:pre-wrap}.log-line>span:last-child{display:block}.log-ts,.log-src{margin-right:8px}
}
@media(max-width:380px){
.container{padding:0 12px}.hero-stage{padding:22px 19px}.hero-stage .step-giant-title{font-size:2.2rem}.hero-display-top{gap:6px;padding:13px;font-size:.75rem}.hero-display-chip{font-size:.75rem}.hero-3d-squad{height:230px}.step-stage-box{padding:22px 17px}.step-giant-title{font-size:1.9rem}.stage-inner-hud{gap:7px}.hud-lock-tag{font-size:.75rem}.seg-tab{padding:9px 6px;font-size:.75rem}.oauth-center-hero{padding:16px}.oauth-hero-heading{font-size:.75rem}.device-code-value{font-size:1.7rem}.hero-facts{column-gap:13px;font-size:.75rem}.fn-customizer-right{padding:18px 15px}.theme-dot{width:24px;height:24px}#btnTrigger3DEmote{padding:8px;font-size:.75rem}.deck-bot-info{flex-basis:145px}.deck-telemetry-grid{column-gap:10px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Marca BL elegida: se conserva la imagen completa, sin recortes ni efectos. */
.brand-mark{display:block;flex:0 0 auto;object-fit:contain;object-position:center;border-radius:0;filter:none;transform:none}
.brand-wordmark .brand-mark{width:44px;height:44px;border-radius:0}
.account-auth-brand .brand-mark{width:44px;height:44px}
.workspace-eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.workspace-eyebrow .brand-mark,.pro-topbar .step-hud-brand .brand-mark{width:36px;height:36px}
.footer-brand{display:inline-flex;align-items:center;gap:9px}
.footer-brand .brand-mark{width:34px;height:34px}
@media(max-width:760px){.site-footer-home .footer-brand{display:inline-flex}.footer-brand .brand-label{display:none}}

/* Comunidad: enlaces de ayuda discretos y vista previa abierta solo a petición. */
.discord-inline-link,.discord-footer-action,.discord-help-row a,.sidebar-community-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;min-height:44px}
.hero-secondary-actions .discord-inline-link{color:#9be9f6}
.discord-footer-action{padding:0;border:0;background:transparent;color:#a4bad3;font:inherit;font-size:.75rem;cursor:pointer}
.discord-footer-action:hover,.discord-help-row a:hover,.sidebar-community-link:hover{color:#e5f9ff;text-decoration:underline;text-underline-offset:4px}
.discord-footer-action .bot-icon,.discord-inline-link .bot-icon,.discord-help-row .bot-icon,.sidebar-community-link .bot-icon{width:17px;height:17px;flex:0 0 17px}
.discord-help-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 10px;margin-top:15px;padding-top:12px;border-top:1px solid var(--line);color:#a3b9d2;font-size:.75rem;line-height:1.7}
.discord-help-row a{color:#9be9f6;font-weight:650}
.discord-runner-help{justify-content:flex-start;margin:-8px 0 20px;padding-top:0;border-top:0}
.sidebar-community-link{grid-column:1/-1;width:100%;margin-top:14px;padding:10px 11px;border:1px solid #304f69;border-radius:10px;background:#102438;color:#b6e8f5;font-size:.75rem;line-height:1.6;overflow-wrap:anywhere}
.sidebar-community-link>span:nth-child(2){flex:1;min-width:0}
.discord-workspace-action{color:#b6e8f5}
.discord-community-modal[hidden]{display:none!important}
.discord-community-modal{position:fixed;inset:0;z-index:9500;display:grid;place-items:center;padding:20px;background:rgba(3,8,17,.86);overflow-y:auto;overscroll-behavior:contain}
.discord-community-dialog{position:relative;width:min(100%,560px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;padding:32px;border:1px solid #345677;border-radius:22px;background:radial-gradient(ellipse at 0 0,rgba(75,182,233,.14),transparent 60%),linear-gradient(145deg,#142338,#0c1728);box-shadow:0 26px 100px #0009;color:#ecf5ff}
.discord-community-close{position:absolute;top:15px;right:15px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #38516a;border-radius:12px;background:#14283e;color:#b4d4e9;cursor:pointer}
.discord-community-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px;padding-right:40px}
.discord-community-heading img{display:block;object-fit:contain;flex:0 0 56px}
.discord-community-eyebrow{font-size:.7rem;font-weight:750;letter-spacing:.12em;color:#86e3f5;line-height:1.8}
.discord-community-dialog h2{font-size:clamp(1.45rem,4.8vw,2rem);line-height:1.2;letter-spacing:-.04em;max-width:450px;margin:0 0 13px;text-wrap:balance}
.discord-community-dialog>p{font-size:.85rem;line-height:1.8;color:#adc3dc;margin:0 0 20px}
.discord-community-benefits{display:flex;flex-wrap:wrap;gap:10px 18px;margin-bottom:25px;font-size:.75rem;color:#bbd7ed}
.discord-community-benefits>span{display:inline-flex;align-items:center;gap:7px}
.discord-community-benefits .bot-icon{width:17px;height:17px;color:#83dff3}
.discord-community-join{width:100%;min-height:50px;justify-content:center;gap:10px;margin-bottom:20px;border:1px solid #8092ff;border-radius:12px;background:#5865f2;color:#fff;font-size:.85rem;font-weight:750;text-decoration:none}
.discord-community-join:hover{background:#6975ff;color:#fff}
.discord-community-widget{width:100%;min-width:0;padding:0;border-radius:12px;overflow:hidden;background:#0b1524}
.discord-community-widget>p{padding:15px 16px;margin:0;color:#a6bed7;font-size:.75rem;line-height:1.8}
.discord-community-widget-card{display:flex;align-items:center;gap:13px;padding:19px 16px 0;color:#e7f4ff;font-size:.85rem;line-height:1.6}
.discord-community-widget-card img{display:block;width:48px;height:48px;object-fit:contain;flex:0 0 48px}
.discord-community-widget-card strong{min-width:0;overflow-wrap:anywhere}
.discord-community-widget iframe{display:block;width:100%;max-width:100%;height:400px;border:0;border-radius:12px;background:#232428;color-scheme:dark}
.discord-community-dialog>.discord-community-note{margin:15px 0 0;font-size:.7rem;color:#91a9c4;line-height:1.8}
@media(max-width:680px){
  #view-control .workspace-actions:has(.discord-workspace-action){grid-template-columns:repeat(3,minmax(0,1fr))}
  #view-control .workspace-actions:has(.discord-workspace-action) .btn{min-width:0;padding:10px 7px;font-size:.72rem;line-height:1.5;text-align:center}
  #view-control .workspace-actions .discord-workspace-action{gap:5px}
  #view-control .workspace-actions .discord-workspace-action .bot-icon{width:16px;height:16px;flex:0 0 16px}
  #view-control .sidebar-community-link{grid-row:4;margin-top:0;min-height:44px;padding:8px 11px}
  .discord-community-modal{padding:12px}
  .discord-community-dialog{padding:25px 20px;max-height:calc(100dvh - 24px);border-radius:18px}
  .discord-community-heading{margin-bottom:18px;gap:10px}
  .discord-community-heading img{width:48px;height:48px;flex-basis:48px}
  .discord-community-dialog>p{font-size:.8rem}
  .discord-community-benefits{gap:10px 13px;font-size:.7rem;margin-bottom:20px}
  .discord-community-widget iframe{height:360px}
  .discord-runner-help{align-items:flex-start;flex-direction:column;gap:0}
}

.epic-player-results{display:flex;flex-wrap:wrap;gap:8px;margin-block:12px}
.epic-player-results .btn{max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere}

