.heroes-page{background:#142b2b;height:auto;min-height:100dvh;overflow:auto}.heroes-page:before{content:"";opacity:.65;pointer-events:none;background:linear-gradient(90deg,#102728ed,#142b2b80 50%,#102728c9),linear-gradient(#0000 30%,#142b2b 95%),url(/assets/village-DnoYl4zh.png) 50%/cover;position:fixed;inset:0}.heroes-shell{flex-direction:column;max-width:1240px;min-height:100dvh;margin:auto;padding:28px 44px 22px;display:flex;position:relative}.heroes-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.heroes-backup{align-items:center;min-height:44px;font-size:12px;display:flex}.heroes-heading{z-index:1;max-width:360px;position:absolute;top:140px;left:44px}.heroes-heading .eyebrow{color:#e5bf92;letter-spacing:3px;font-size:10px}.heroes-heading h1{margin:16px 0;font:500 54px/1.05 Cormorant,Georgia,serif}.heroes-heading p{color:#cad5c6;font-size:13px;line-height:1.8}.hero-stage{flex:1;min-height:420px;position:relative}.hero-kanji{color:#d8c6a40a;font:260px Georgia;position:absolute;top:12%;right:20%}.hero-stage canvas{width:64%;height:440px;margin-left:auto;display:block;position:relative}.hero-info{z-index:1;max-width:360px;position:absolute;bottom:38px;left:0}.hero-info h2{overflow-wrap:anywhere;margin:10px 0;font:500 38px/1.08 Cormorant,Georgia,serif}.hero-info p{color:#d5dbcd;font-size:12px;line-height:1.8}.hero-info .eyebrow{color:var(--hero-color,#efbb8b)}.hero-rotation{gap:12px;display:flex;position:absolute;bottom:36px;right:calc(32% - 55px)}.hero-rotation button{background:#18302bc9;border:1px solid #c5c4a94d;border-radius:50%;width:44px;height:44px;font:24px Georgia}.roster-caption{justify-content:space-between;align-items:center;margin:0 0 14px;display:flex}.roster-caption h2{text-transform:uppercase;letter-spacing:2px;margin:0;font-size:11px;font-weight:500}.roster-caption span{color:#c8c9b2;font-size:12px}#hero-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.hero-slot{text-align:left;background:linear-gradient(145deg,#29463de6,#11292ce6);border:1px solid #aec4ad4a;border-radius:6px;flex-direction:column;justify-content:center;gap:8px;min-height:122px;padding:18px;display:flex;position:relative;box-shadow:0 9px 30px #04171955}.hero-slot[aria-pressed=true]{background:linear-gradient(145deg,#46604a,#253e38);border-color:#efd1a0;box-shadow:inset 0 0 0 1px #efd1a0,0 9px 30px #04171955}.hero-slot .slot-number{color:#bec8b2;font-size:9px;position:absolute;top:10px;right:12px}.hero-slot .slot-symbol{color:var(--slot-color,#b1c2b2);font:28px Georgia}.hero-slot strong{overflow-wrap:anywhere;font-size:13px}.hero-slot small{color:#c4d2c4;font-size:10px}.hero-slot.empty{background:#142d299c;border-style:dashed}.hero-actions{grid-template-columns:1fr auto;align-items:center;gap:8px 28px;padding-top:16px;display:grid}.hero-actions>div{gap:12px;display:flex}.hero-actions button{min-width:144px;min-height:52px}.hero-actions .primary{min-width:220px;font-size:17px}.hero-actions p{color:#efd1a0;margin:0;font-size:12px;line-height:1.7}.hero-actions>small{color:#afc3b5;grid-column:1/-1;font-size:10px;line-height:1.6}.heroes-page button:focus-visible{outline-offset:4px;outline:3px solid #f5deb4}.heroes-page .hero-stage.preview-unavailable canvas{visibility:hidden}.heroes-page .preview-unavailable .hero-kanji{color:#c2cbae55}.heroes-page .creator-footer>div>small{font-size:10px}.heroes-page [hidden]{display:none!important}@media (max-width:760px){.heroes-shell{padding:20px 18px max(20px,env(safe-area-inset-bottom))}.heroes-header .brand{font-size:22px}.heroes-backup{text-align:right;max-width:105px;font-size:10px}.heroes-heading{max-width:none;margin-top:25px;position:static}.heroes-heading h1{margin:10px 0;font-size:40px}.heroes-heading p{margin:0;font-size:12px}.hero-stage{min-height:270px}.hero-stage canvas{width:100%;height:295px;margin:auto}.hero-kanji{font-size:170px;top:8%;right:8%}.hero-info{pointer-events:none;background:linear-gradient(90deg,#142b2bd9,#0000);max-width:70%;padding-right:20px;bottom:8px}.hero-info h2{margin:5px 0;font-size:28px}.hero-info p{margin:0;font-size:10px}.hero-info .eyebrow{font-size:8px}.hero-rotation{gap:8px;bottom:12px;right:0}.hero-roster{margin-top:14px}#hero-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.hero-slot{text-align:center;align-items:center;gap:6px;min-height:110px;padding:25px 7px 10px}.hero-slot .slot-number{top:8px;right:calc(50% - 3px)}.hero-slot .slot-symbol{font-size:23px}.hero-slot strong{font-size:10px;line-height:1.3}.hero-slot small{display:none}.hero-actions{grid-template-columns:1fr;gap:12px}.hero-actions>div{grid-template-columns:1fr 1.4fr;display:grid}.hero-actions button,.hero-actions .primary{min-width:0;min-height:52px;font-size:14px}.hero-actions p{font-size:11px}.hero-actions>small{font-size:9px}.heroes-page #creator-dialog{max-width:100%}}@media (max-height:540px) and (min-width:650px){.heroes-shell{padding:16px 26px}.heroes-heading{top:86px;left:26px}.heroes-heading h1{margin:8px 0;font-size:32px}.heroes-heading p{max-width:260px;font-size:11px}.hero-stage{min-height:260px}.hero-stage canvas{width:55%;height:280px}.hero-info{bottom:8px}.hero-info h2{font-size:28px}.hero-slot{min-height:92px;padding:10px}.hero-rotation{bottom:4px;right:18%}.hero-actions button{min-height:44px}.heroes-header .brand{font-size:20px}}.heroes-page:before{opacity:.8;background:linear-gradient(90deg,#0a1b2aec,#172e4066 65%,#132437a6),linear-gradient(#0000 30%,#142b2b 95%),url(/assets/village-DnoYl4zh.png) 50%/cover}.heroes-heading{max-width:310px;top:120px}.heroes-heading h1{font-size:42px}.hero-stage canvas{width:69%;height:480px;margin-left:31%}.hero-info{text-align:center;background:#0e222dcc;border:1px solid #d1ad703b;border-radius:3px;max-width:40%;padding:10px 16px;top:62px;bottom:auto;left:53%}.hero-info p{margin:0;font-size:10px}.hero-main-menu{flex-direction:column;align-items:flex-start;gap:12px;display:flex;position:absolute;bottom:34px;left:0}.hero-main-menu>.eyebrow{letter-spacing:2px;color:#bfd5cc;margin-bottom:8px;font-size:9px}.hero-main-menu button{color:#f5edd9;text-align:left;background:0 0;border:0;min-height:48px;padding:8px 0;font:500 31px/1.2 Cormorant,Georgia,serif}.hero-main-menu button.hero-play{font-size:49px;font-weight:600}.hero-main-menu button>span{color:#d4bc92;margin-left:16px;font:11px Manrope,sans-serif}.hero-main-menu button.hero-play>span{color:#f5d4a1;font:28px Georgia}.hero-main-menu button:hover{color:#f3c387}.hero-rotation{bottom:24px;right:20%}.hero-actions>div{display:block}.hero-actions button{min-height:48px}.hero-actions>small{margin-bottom:5px}@media (max-width:760px){.heroes-heading{max-width:none;margin-top:20px;position:static}.heroes-heading h1{font-size:32px}.hero-stage{min-height:360px}.hero-stage canvas{width:100%;height:300px;margin:0;padding-top:36px}.hero-info{pointer-events:none;max-width:72%;padding:7px 10px;top:12px;left:24%}.hero-info h2{font-size:24px}.hero-info p{font-size:9px}.hero-main-menu{grid-template-columns:1fr 1fr;gap:0 15px;display:grid;bottom:0;left:0;right:0}.hero-main-menu>.eyebrow{grid-column:1/-1;margin:0;font-size:8px}.hero-main-menu button.hero-play{font-size:39px}.hero-main-menu button{min-height:54px;font-size:27px}.hero-main-menu button>span{margin:3px 0;font-size:9px;display:block}.hero-main-menu button.hero-play>span{margin-left:16px;font-size:24px;display:inline}.hero-rotation{bottom:82px;right:0}.hero-roster{margin-top:20px}.hero-actions{flex-wrap:wrap;display:flex}.hero-actions p{flex:160px}.hero-actions>div{flex:0 140px}.hero-actions button{width:100%}.hero-actions>small{flex:100%}}@media (max-height:540px) and (min-width:650px){.heroes-heading{max-width:260px;top:85px;left:26px}.heroes-heading h1{font-size:30px}.hero-stage{min-height:330px}.hero-stage canvas{height:330px}.hero-info{top:25px;left:54%}.hero-main-menu{gap:0;display:flex;bottom:6px}.hero-main-menu>.eyebrow{margin-bottom:4px}.hero-main-menu button.hero-play{font-size:35px}.hero-main-menu button{padding:4px 0;font-size:27px}.hero-rotation{bottom:6px}}@media (min-width:761px) and (min-height:541px){.hero-info{padding:8px 14px;top:0;left:51%}.hero-info h2{font-size:26px}}.hero-info{padding:6px 12px}.hero-info h2{margin:3px 0;font-size:25px}.hero-info p{line-height:1.4}.hero-info .eyebrow{font-size:8px}.hero-kanji{display:none}@media (max-width:760px){.hero-info{top:0}.hero-info h2{font-size:23px}}@media (max-height:540px) and (min-width:650px){.hero-info{top:-8px;left:54%}.hero-info h2{font-size:22px}}.account-controls{flex-wrap:wrap;align-items:center;gap:12px;font:12px system-ui;display:flex}.account-controls span{overflow-wrap:anywhere}.account-controls button{min-height:44px}.legacy-import{border:1px solid #a6ba9866;margin:25px 0;padding:20px;font:14px/1.65 system-ui}.legacy-import summary{cursor:pointer;min-height:44px}.legacy-import label{margin:15px 0;display:block}.legacy-import select,.legacy-import button{max-width:100%;min-height:44px}.legacy-import input{vertical-align:middle;width:24px;height:24px}.legacy-import p{max-width:70ch}.account-expired{color:#172d2d;z-index:1000;background:#f0e2bf;padding:30px;font:18px/1.5 system-ui;position:fixed;inset:40% 8% auto}
