:root{color-scheme:dark;--bg:#191520;--panel:#211b2b;--line:#ffffff0d;--muted:#9a8ab1;--text:#e5dbf1;--accent:#ae89d9;--gold:#dfbd7d;--green:#7ccfae;--plum:#c9a7f5}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:18px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--text)}button,input,select{font:inherit}button,a,input,select{outline-offset:5px}button{cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}a{color:inherit;text-decoration:none}button{border:1px solid #ffffff14;border-radius:6px;background:#ffffff06;color:var(--text);padding:8px 12px;transition:background .15s,border-color .15s}button:hover:not(:disabled){background:#ffffff10;border-color:#ae89d970}button:focus-visible,a:focus-visible{outline:2px solid var(--gold)}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.sidebar{width:232px;position:fixed;inset:0 auto 0 0;padding:34px 23px;background:#1d1825;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:2}.brand{display:flex;gap:11px;align-items:center;font:24px Georgia,serif;letter-spacing:-.6px}.brand>svg{color:#a49ac2;width:31px;height:37px;stroke-width:1}.brand small{display:block;font:14px system-ui;letter-spacing:1.8px;color:#786b8e;margin-top:7px}.nav-label{font-size:14px;letter-spacing:1.6px;color:#7a6d90;margin:48px 13px 15px}nav{display:flex;flex-direction:column;gap:7px}nav button{display:flex;gap:13px;align-items:center;background:none;border:1px solid transparent;color:#a091b6;padding:12px 13px;border-radius:7px;text-align:left;font-size:17px}nav button span{flex:1}nav button svg{width:18px;height:18px}nav button.active{background:#ae89d90e;border-color:#ae89d919;color:#c090f6}nav b{font-size:15px;background:#ffffff09;padding:0 6px;border-radius:4px;font-weight:500}.sidebar-note{padding:24px 14px 20px;margin-top:auto;border-top:1px solid var(--line)}.sidebar-note>svg{color:#a57cd4;width:25px;height:25px}.sidebar-note h3{font:22px/1.35 Georgia,serif;margin:11px 0;color:#cdc5d9}.sidebar-note p{font-size:15px;color:#837698;line-height:1.8;margin:0}.console-link{padding:14px;font-size:15px;border-top:1px solid var(--line);color:#ac9fbf}.local-note{font-size:14px;letter-spacing:1px;color:#7d7093;margin:13px 14px 0}.local-note span{display:block;font-size:14px;letter-spacing:0;color:#706484;margin-top:3px}.page{margin-left:232px}header{height:83px;padding:0 40px;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.breadcrumb{color:#9388a6;font-size:15px;margin-right:auto}.breadcrumb i{font-style:normal;padding:0 13px;color:#534a62}.breadcrumb b{font-weight:400;color:#d4c0eb}.selector{display:flex;align-items:center;gap:8px}.selector label{font-size:14px;letter-spacing:1px;color:#807396}.selector select{font-size:15px;padding:7px 10px;max-width:160px}input,select{background:#251e30;border:1px solid #ffffff14;border-radius:6px;color:var(--text);padding:10px 12px}select{cursor:pointer}.connection{font-size:14px;color:#9186a4;display:flex;align-items:center;gap:6px}.connection:before{content:'';width:5px;height:5px;background:#9084b5;border-radius:100%}.twitch-login{font-size:15px;padding:8px 12px;background:#a697b516;border:1px solid #b9a7ce33;border-radius:6px;color:#d9c9e5}#account{display:flex;gap:10px;align-items:center;font-size:16px}#account img{width:29px;height:29px;border-radius:50%;object-fit:cover}#account .quiet{border:0;background:none;font-size:15px;color:var(--muted)}main{max-width:1590px;padding:30px 40px 0;margin:auto}.hero{min-height:228px;display:flex;position:relative;isolation:isolate;border:1px solid #af8ad918;border-radius:12px;overflow:hidden;background:linear-gradient(110deg,#272033,#322941 68%,#3f3451);margin-bottom:22px}.hero-copy{padding:30px 34px;position:relative;z-index:1;flex:1}.eyebrow{font-size:14px;letter-spacing:1.8px;color:#a982d6;font-weight:600}.hero .eyebrow{color:#b694dc;display:flex;align-items:center;gap:8px}.hero .eyebrow span{width:4px;height:4px;background:#ab84d7;border-radius:50%}h1{font:43px/1.12 Georgia,'Times New Roman',serif;letter-spacing:-1.2px;margin:17px 0 12px;color:#e7ddf2}h2{font:24px/1.3 Georgia,serif;margin:0;color:#ded0ed}h3{margin:0}.hero-copy>p{font-size:16px;color:#aea1c0;max-width:350px;line-height:1.8;margin:0}.hero-meta{display:flex;gap:10px;font-size:14px;margin-top:21px;color:#afa2c1}.hero-dot{color:#726687}.landscape{position:absolute;right:0;bottom:0;width:50%;height:100%;opacity:.9;overflow:hidden;z-index:-1}.sun{width:90px;height:90px;border-radius:50%;background:#9c66da;position:absolute;top:25px;right:90px;opacity:.65}.hill{position:absolute;width:100%;height:230px;bottom:-100px;right:-20px;border-radius:55% 50% 0 0;transform:rotate(-12deg)}.hill.far{background:#4f475e;bottom:-75px;right:130px}.hill.near{background:#3a304c;transform:rotate(15deg)}.landscape>svg{position:absolute;width:100%;height:auto;bottom:-1px;right:0;fill:none;stroke:none}.statusline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;min-height:32px}#notice{font-size:15px;color:#9c8cb3;max-width:850px}#notice.error{color:#e1a69e}.gold-pill{display:flex;align-items:center;gap:9px;padding:7px 13px;border:1px solid #944fe224;background:#944fe208;border-radius:7px;color:var(--gold);white-space:nowrap}.gold-pill strong{font-weight:600;font-size:16px}.gold-pill svg{width:16px;height:16px}.dashboard{display:grid;grid-template-columns:270px minmax(0,1fr);align-items:start;gap:26px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:23px}.loadout{padding:23px 18px}.section-heading{display:flex;align-items:center;gap:9px;justify-content:space-between}.section-heading h2{font-size:21px}.section-heading>span{font-size:14px;color:#9e8fb4;letter-spacing:.5px}.loadout .section-heading{display:block}.loadout .section-heading>span{display:inline-block;margin:6px 0 0}.section-description{font-size:15px;color:var(--muted);margin:7px 0 20px}.equipped-slot{padding:15px 0;border-top:1px solid var(--line)}.slot-heading{display:flex;gap:11px;align-items:center}.slot-symbol{display:grid;place-items:center;width:40px;height:43px;background:#a981d609;border:1px solid #a981d619;border-radius:7px;color:#ab85d7}.slot-symbol svg{width:24px;height:24px;stroke-width:1.2}.slot-text{min-width:0}.slot-text small{display:block;font-size:14px;letter-spacing:1px;color:#847799}.slot-text strong{font-size:15px;line-height:1.5;font-weight:500;display:block;margin-top:4px}.slot-detail{font-size:14px;color:#9786af;margin:7px 0 0 51px}.slot-actions{display:flex;gap:7px;margin:7px 0 0 51px}.slot-actions button{border:0;background:none;padding:0;color:#8a7e9e;font-size:14px;text-decoration:underline;text-underline-offset:3px}.power-summary{display:flex;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 2px;gap:27px;font-size:15px;color:#9388a6}.power-summary b{display:block;font:22px Georgia;color:#cfb9e8;margin-top:4px}.footnote{font-size:15px;line-height:1.8;color:#8c81a0;margin:15px 0 0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.toolbar h2{font-size:29px;margin-top:6px}.toolbar h2>span{font:15px system-ui;color:#a99bbd;vertical-align:middle;margin-left:7px;padding:3px 7px;background:#ffffff06;border:1px solid var(--line);border-radius:4px}.filters{display:flex;gap:8px;align-items:center}.filters input{width:205px;font-size:15px}.filters select{font-size:15px;padding:10px 8px}.inventory-filters{display:flex;align-items:center;gap:10px;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:19px}.slot-tabs{display:flex;gap:4px;flex-wrap:wrap}.slot-tabs button{font-size:15px;border-color:transparent;background:none;padding:6px 9px;color:#9685ae}.slot-tabs button.active{background:#ad88d810;border-color:#ad88d826;color:#ccb4e7}.compatible{font-size:14px;color:#9388a5;display:flex;align-items:center;gap:6px;white-space:nowrap}.compatible input{accent-color:#9b90bd}.item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.item-card{background:linear-gradient(155deg,color-mix(in srgb,var(--rarity) 5%,#231d2e),#211b2b 75%);border:1px solid #ffffff0d;border-radius:8px;padding:18px 16px;position:relative;overflow:hidden}.item-card:after{content:'';position:absolute;left:17px;right:17px;top:0;height:1px;background:var(--rarity);opacity:.5}.item-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.item-icon{width:49px;height:50px;border-radius:9px;display:grid;place-items:center;background:color-mix(in srgb,var(--rarity) 7%,transparent);border:1px solid color-mix(in srgb,var(--rarity) 17%,transparent);color:var(--rarity)}.item-icon svg{width:30px;height:30px;stroke-width:1.15}.rarity{font-size:14px;letter-spacing:.5px;color:var(--rarity)}.item-card h3{font:18px/1.4 Georgia,serif;margin:16px 0 7px;min-height:50px;color:#dcceed}.item-meta{font-size:14px;color:#8e83a2;margin:0}.item-power{display:flex;align-items:baseline;gap:7px;font-size:14px;color:#a394b7;margin:16px 0 0}.item-power b{font:27px Georgia;color:#cab1e6}.comparison{font-size:14px;color:#8b809f;margin:5px 0 15px;min-height:15px}.comparison.better{color:#a79dc6}.item-id{font:14px ui-monospace,monospace;color:#7c6f93;margin:13px 0 0}.item-actions{display:flex;gap:6px;flex-wrap:wrap;padding-top:13px;border-top:1px solid var(--line)}.item-actions button{font-size:14px;padding:6px 9px;flex:1;white-space:nowrap}.item-actions button:first-child{background:#b4accd0a;color:#bdb6d3;border-color:#b4accd26}.item-actions .sell{flex-basis:100%;border:0;color:#9b6dd0;background:none;padding:7px 0 0;text-align:left;font-size:14px}.reserved-label{font-size:14px;color:#b287e4;margin:10px 0 0}.inventory-bottom{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#807496;margin:20px 0}.empty-state{grid-column:1/-1;min-height:255px;border:1px dashed #988cba28;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;background:#988cba03}.empty-state svg{width:45px;height:45px;stroke-width:.9;color:#8d82a0;margin-bottom:18px}.empty-state strong{font:23px Georgia;color:#beb7d3}.empty-state p{font-size:15px;color:#8f84a2;max-width:340px}.secondary-view{min-width:0}.small-tag{font-size:14px;letter-spacing:1px;padding:6px 9px;border:1px solid #9e72d129;color:#ad84db;border-radius:4px}.forge-warning{padding:12px 15px;border:1px solid #9e65df22;background:#9e65df07;font-size:15px;color:#a379d4;border-radius:7px;margin-bottom:15px}.forge-items{display:grid;gap:12px}.forge-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:17px;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:8px}.forge-card h3{font:20px Georgia;margin-bottom:6px}.forge-card p{font-size:15px;color:#9685ad;margin:0}.forge-card .forge-button{display:block;background:#a070d614;border-color:#a070d636;color:#e3cda6;font-size:15px;margin-top:7px;width:100%}.forge-chance{text-align:right;font-size:15px;color:#a298c1}.forge-rule{display:flex;gap:16px;padding:23px 0;margin-top:10px;border-top:1px solid var(--line)}.forge-rule svg{color:#a176d2}.forge-rule strong{font:20px Georgia;color:#c1a5e2}.forge-rule p{font-size:15px;color:#8e83a1;line-height:1.8;margin:9px 0;max-width:510px}.trade-explainer{display:flex;gap:20px;padding:16px 0 22px;border-bottom:1px solid var(--line);margin-bottom:20px;font:17px Georgia;color:#9a6ccf}.trade-explainer b{font:15px system-ui;margin-left:7px;color:#aea1c1}.trade-row{padding:19px;background:var(--panel);border:1px solid var(--line);border-radius:8px;margin-bottom:12px}.trade-row strong{font:21px Georgia}.trade-row p{font-size:15px;color:#a89ec5}.trade-row small{font-size:14px;display:block;color:#837698;margin-bottom:13px}.trade-row button{font-size:15px;margin-right:8px}.primary{color:#211b2b;background:#a879de;border:1px solid #a879de;font-weight:600;font-size:15px}.primary:hover:not(:disabled){background:#bd8ff1;color:#211b2b}.muted{font-size:15px;color:var(--muted);line-height:1.8}.profile-summary{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:16px;margin-bottom:24px}.stat-card{padding:23px;background:var(--panel);border:1px solid var(--line);border-radius:8px}.stat-card>small{font-size:14px;letter-spacing:1px;color:#9f90b5}.stat-card>strong{display:block;font:29px Georgia;margin:9px 0;color:#dacceb}.stat-card>p{font-size:15px;color:#9489a6;margin:0}.meter{height:5px;border-radius:8px;background:#ffffff09;overflow:hidden;margin:15px 0 7px}.meter span{display:block;height:100%;border-radius:8px;background:#9c91bd}.meter.hp span{background:#c29193}.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.overview-grid .section-heading{margin-bottom:20px}.overview-grid .section-heading>span{font-size:14px}.next-card{padding:18px;background:#a87fd606;border:1px solid #a87fd61c;border-radius:8px}.next-card strong{font:24px Georgia;color:#c8afe5}.next-card p{font-size:15px;line-height:1.8;color:#9c8cb2}.next-card code{font-size:17px}.event-row{display:flex;gap:12px;font-size:15px;line-height:1.8;padding:12px 0;border-bottom:1px solid var(--line);color:#a89abb}.event-row:before{content:'';width:5px;height:5px;flex-shrink:0;margin-top:8px;border-radius:50%;background:#9084b5}.guide-start{background:#aa83d708;border:1px solid #aa83d71f;border-radius:8px;padding:24px;margin-bottom:22px}.guide-start>span{font-size:14px;letter-spacing:1px;color:#ac86d8}.guide-start ol{padding-left:22px;display:grid;gap:14px;margin-bottom:0}.guide-start li::marker{color:#8779af}.guide-start b{font:20px Georgia}.guide-start p{font-size:15px;margin:5px 0;color:#9b8bb1}.guide-details{background:var(--panel);border:1px solid var(--line);border-radius:8px;margin-bottom:10px;padding:0 20px}.guide-details summary{font:21px Georgia;cursor:pointer;padding:19px 0}.guide-details p{font-size:15px;line-height:1.9;color:#a091b6}.command-list{padding-bottom:15px}.command-list p{display:flex;gap:12px;align-items:baseline;border-top:1px solid var(--line);padding:12px 0;margin:0}.command-list code{min-width:170px}.command-list span{font-size:15px;color:#948aa6}code{font:15px ui-monospace,monospace;color:#bc9ae3;background:#a77ed609;padding:3px 5px;border-radius:3px}footer{display:flex;align-items:center;gap:20px;justify-content:space-between;font-size:14px;color:#776b8d;margin-top:35px;padding:23px 0;border-top:1px solid var(--line)}footer>span:first-child{display:flex;align-items:center;gap:7px;letter-spacing:1.5px;font-size:14px}footer svg{width:14px;height:14px}dialog{max-width:430px;width:calc(100% - 30px);background:#241e2f;border:1px solid #a982d742;border-radius:12px;padding:30px;color:var(--text);box-shadow:0 25px 100px #0007}dialog::backdrop{background:#0d1216b8;backdrop-filter:blur(5px)}dialog h2{font-size:30px;margin:14px 0}dialog>p{font-size:16px;color:#bc9edf}dialog label{display:block;font-size:15px;color:#a495b8;margin:20px 0 8px}dialog select{width:100%}.close{float:right;padding:0 8px;margin-top:-17px;margin-right:-18px;border:0;background:none;font-size:23px;color:#a394b7}dialog .primary{width:100%;margin-top:15px}[hidden]{display:none!important}@media(min-width:1700px){.item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1250px){.sidebar{width:205px;padding:30px 17px}.page{margin-left:205px}main{padding:26px 27px 0}header{padding:0 27px;gap:12px}.dashboard{grid-template-columns:240px minmax(0,1fr);gap:21px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{align-items:flex-start;flex-direction:column}.filters{width:100%}.filters input{flex:1;width:150px}.connection{display:none}.compatible{font-size:14px}.slot-tabs button{padding:6px}.inventory-filters{align-items:flex-start;flex-direction:column;gap:12px}.profile-summary{grid-template-columns:repeat(2,1fr)}.hero-copy{padding:28px}.hero-copy>p{max-width:310px}.hero-meta{font-size:14px}.landscape{width:48%;opacity:.65}}@media(max-width:850px){.sidebar{width:75px;padding:27px 12px;align-items:center}.brand>span,.nav-label,.sidebar-note,.local-note,.console-link,nav button>span,nav b{display:none}.brand>svg{width:30px}.page{margin-left:75px}nav{margin-top:45px;gap:13px}nav button{padding:12px}.dashboard{grid-template-columns:220px minmax(0,1fr);gap:17px}.item-grid{grid-template-columns:1fr}.overview-grid{grid-template-columns:1fr}.selector label{display:none}.hero .eyebrow{font-size:14px}h1{font-size:37px}.hero-copy>p{max-width:260px}.hero-meta{flex-wrap:wrap;gap:6px}.hero-dot{display:none}.hero-meta span:last-child{flex-basis:100%}.landscape{width:45%;opacity:.4}.trade-explainer{flex-wrap:wrap;gap:10px}.forge-card{grid-template-columns:auto 1fr}.forge-chance{grid-column:2;text-align:left}.command-list p{flex-direction:column;gap:6px}}@media(max-width:600px){.sidebar{position:static;width:auto;padding:17px 18px;display:block;border-right:0;border-bottom:1px solid var(--line)}.brand>span{display:block}.brand{font-size:23px}.brand small{font-size:14px}.brand>svg{height:30px}nav{margin-top:18px;flex-direction:row;justify-content:space-between;gap:3px}nav button{padding:8px 9px;display:flex;flex-direction:column;gap:5px;font-size:14px}nav button>span{display:block}nav button svg{width:17px;height:17px}.page{margin-left:0}header{height:65px;padding:0 18px;flex-wrap:wrap;gap:8px}.breadcrumb{font-size:14px}.breadcrumb i{padding:0 5px}.twitch-login{font-size:14px;padding:7px 8px}.selector select{max-width:115px;font-size:14px}main{padding:18px 17px 0}.hero{min-height:230px}.hero-copy{padding:24px}.hero .eyebrow{font-size:14px;letter-spacing:1.3px}.hero-copy>p{font-size:15px;max-width:235px}h1{font-size:37px}.landscape{width:70%;right:-45px;opacity:.45}.sun{width:65px;height:65px;right:20px}.dashboard{display:flex;flex-direction:column}.loadout{order:2;width:100%;margin-top:20px}.inventory-area,.secondary-view{width:100%;order:1}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.item-card{padding:14px 12px}.item-card h3{font-size:18px;min-height:62px}.rarity{font-size:14px}.item-icon{width:37px;height:40px}.item-icon svg{width:24px}.item-actions button{font-size:14px;padding:6px}.item-meta{font-size:14px}.comparison{font-size:14px}.inventory-filters{flex-direction:row;flex-wrap:wrap}.inventory-bottom{font-size:14px}.statusline{margin:0 0 21px;gap:10px}#notice{font-size:14px}.gold-pill{padding:6px 8px}.gold-pill strong{font-size:15px}.profile-summary{gap:10px}.stat-card{padding:17px}.stat-card>strong{font-size:24px}.stat-card>small{font-size:14px}.panel{padding:20px}.loadout .section-heading{display:flex}.guide-start{padding:20px}.guide-start b{font-size:18px}.guide-details{padding:0 15px}.guide-details summary{font-size:19px}.forge-card{padding:16px;gap:12px}.forge-card h3{font-size:18px}footer{font-size:14px;gap:10px;flex-wrap:wrap}footer>span:nth-child(2){display:none}.overview-grid .section-heading>span{display:none}#account-name{font-size:15px}#account img{width:24px;height:24px}#account .quiet{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Clear, softly rounded typography without external font downloads. */
:root{--font-ui:'Segoe UI Variable Text','Segoe UI',system-ui,sans-serif;--font-heading:'Trebuchet MS','Segoe UI Variable Display','Segoe UI',sans-serif}
body{font-family:var(--font-ui)}
.brand,h1,h2,h3,.sidebar-note h3,.item-card h3,.forge-card h3,.forge-rule strong,.stat-card>strong,.next-card strong,.guide-start b,.guide-details summary,.trade-row strong,.power-summary b,.item-power b{font-family:var(--font-heading);font-weight:600}
.brand{font-size:23px;letter-spacing:-.7px}
h1{font-size:41px;line-height:1.18;letter-spacing:-1.4px}
h2,.toolbar h2{letter-spacing:-.65px}
.item-card h3{font-size:17px;line-height:1.45;letter-spacing:-.3px}
.sidebar-note h3{font-size:21px;letter-spacing:-.5px}
.guide-details summary,.guide-start b{font-size:19px}
.stat-card>strong{font-size:27px;letter-spacing:-.8px}
@media(max-width:600px){h1{font-size:34px}.brand{font-size:22px}.item-card h3{font-size:17px}.stat-card>strong{font-size:23px}}
#account{padding:5px 10px;border:1px solid #ab85d724;border-radius:7px;background:#ab85d706;flex-shrink:0}#account .account-identity{display:flex;flex-direction:column;gap:2px}#account .account-identity small{font-size:14px;letter-spacing:1px;color:#9685ae}#account-name{font-weight:600;color:#dfd1ee}#account img{width:32px;height:32px}@media(max-width:600px){#account{padding:4px 7px;gap:7px}#account .account-identity small{font-size:14px}#account-name{font-size:15px}#account img{width:26px;height:26px}}
.empty-state strong{font-family:var(--font-heading);font-weight:600}

.admin-shortcut{display:block;font-size:16px;padding:10px 12px;margin-top:8px;border:1px solid var(--line);border-radius:6px;color:#beb7d4}@media(max-width:600px){.admin-shortcut{display:inline-block;margin-right:8px}}

/* Suvoria look: arcane violet glow */
body{background:radial-gradient(1000px 560px at 88% -8%,#8b5cf630,transparent 62%),radial-gradient(800px 480px at -8% 108%,#c026d31f,transparent 58%),var(--bg);background-attachment:fixed}
.brand{background:linear-gradient(90deg,#e0c8ff,#f0abfc 70%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
::selection{background:#8b5cf6aa;color:#fff}
:focus-visible{outline:2px solid #c4a1ff;outline-offset:2px}
button:not(:disabled):hover,.btn:hover,a.button:hover{box-shadow:0 0 0 1px #a78bfa66,0 6px 24px #8b5cf62e}

/* Suvoria typography + arcane hero */
@font-face{font-family:'Cinzel';font-style:normal;font-weight:500 700;font-display:swap;src:url(/fonts/cinzel.woff2) format('woff2')}
@font-face{font-family:'Outfit';font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/outfit.woff2) format('woff2')}
:root{--font-ui:'Outfit','Segoe UI Variable Text','Segoe UI',system-ui,sans-serif;--font-heading:'Cinzel','Trebuchet MS','Segoe UI',serif}
h1,h2,h3{letter-spacing:.03em}
.brand{letter-spacing:.12em}
.hero h1{font-size:clamp(30px,3.4vw,42px);line-height:1.15}
.landscape>svg.sigil{position:absolute;right:-30px;top:50%;bottom:auto;width:auto;height:125%;transform:translateY(-50%);fill:none;stroke:none}
.sigil .ring{transform-box:view-box;transform-origin:230px 150px;animation:spin 90s linear infinite}
.sigil .r2{animation-duration:60s;animation-direction:reverse}
@keyframes spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.sigil .ring{animation:none}}

/* Burger menu (tablet and phone) */
.burger,.scrim{display:none}
@media(max-width:850px){
.burger{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:0 11px;flex-shrink:0;background:#ae89d90f;border:1px solid #ae89d933;border-radius:9px;cursor:pointer}
.burger span{display:block;height:2px;border-radius:2px;background:#e5dbf1;transition:transform .2s,opacity .2s}
body.menu-open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.menu-open .burger span:nth-child(2){opacity:0}
body.menu-open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
body .sidebar{position:fixed;inset:0 auto 0 0;width:min(86vw,320px);height:100dvh;overflow-y:auto;padding:26px 20px;display:flex;flex-direction:column;align-items:stretch;border-right:1px solid var(--line);border-bottom:0;transform:translateX(-105%);transition:transform .25s ease;z-index:40;visibility:hidden}
body.menu-open .sidebar{transform:none;visibility:visible;box-shadow:14px 0 50px #000a}
body.menu-open{overflow:hidden}
body.menu-open .scrim{display:block;position:fixed;inset:0;background:#08050fb3;z-index:35}
body .page{margin-left:0}
body .sidebar .brand>span,body .sidebar .nav-label,body .sidebar .sidebar-note,body .sidebar .local-note{display:block}
body .sidebar .console-link{display:block}
body .sidebar nav{margin-top:28px;display:flex;flex-direction:column;gap:7px;width:auto;grid-template-columns:none}
body .sidebar nav button,body .sidebar nav a{display:flex;flex-direction:row;align-items:center;gap:13px;padding:13px;font-size:17px;text-align:left}
body .sidebar nav button>span,body .sidebar nav b{display:inline}
body .sidebar .brand>svg{width:30px;height:30px}
body .page>header,header{height:auto;min-height:65px;padding:10px 18px;flex-wrap:wrap;gap:10px 12px}
}
@media(prefers-reduced-motion:reduce){body .sidebar,.burger span{transition:none}}

/* Discord link page */
.link-page{min-height:100vh;display:grid;place-items:center;padding:24px}
.link-card{width:min(100%,520px);padding:34px 30px;border:1px solid #ae89d93a;border-radius:16px;background:linear-gradient(155deg,#2b1e47f2,#150e26f5 62%);box-shadow:0 12px 44px #4c1d9566}
.link-card h1{margin:8px 0 14px;font-size:32px}.link-card p{font-size:17px;line-height:1.7}
.link-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.link-actions button,.link-actions .twitch-login{padding:12px 20px;font-size:16px;border-radius:9px;border:1px solid #ae89d966;background:#8b5cf633;color:#fff;cursor:pointer;text-decoration:none}
.link-actions button.quiet{background:transparent;color:#cdbfe3}
.link-actions button:disabled{opacity:.5;cursor:default}

/* Welcome dialog */
body.welcome-open{overflow:hidden}
.welcome-overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#08050fcc;backdrop-filter:blur(5px)}
.welcome-card{width:min(100%,560px);padding:38px 34px;border-radius:20px;border:1px solid #b18cff66;background:linear-gradient(155deg,#2b1e47,#150e26 65%);box-shadow:0 0 0 1px #0007,0 24px 80px #6d28d980,inset 0 1px 0 #ffffff22;text-align:center}
.welcome-eyebrow{font-size:14px;letter-spacing:.2em;color:#d8b9ff;font-weight:600}
.welcome-card h2{margin:10px 0 12px;font-size:32px;line-height:1.2;color:#fff}
.welcome-lead{font-size:18px;line-height:1.6;color:#d8cbea;margin:0 0 22px}
.welcome-list{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:12px;text-align:left}
.welcome-list li{display:grid;gap:3px;padding:13px 16px;border:1px solid #ffffff14;border-radius:12px;background:#ffffff08}
.welcome-list b{font-size:17px;color:#f0abfc}.welcome-list span{font-size:16px;color:#cdbfe3;line-height:1.5}
.welcome-primary{display:inline-block;padding:14px 34px;font-size:18px;font-weight:600;color:#fff;text-decoration:none;border:0;border-radius:11px;cursor:pointer;background:linear-gradient(90deg,#7c3aed,#c026d3);box-shadow:0 8px 28px #8b5cf666}
.welcome-primary:hover{filter:brightness(1.12)}
.welcome-quiet{display:block;margin:16px auto 0;background:none;border:0;color:#a899c0;font-size:15px;cursor:pointer;text-decoration:underline}
@media(max-width:600px){.welcome-card{padding:28px 20px}.welcome-card h2{font-size:26px}}

/* Rarity tiers: every tier has its own, clearly distinct color */
.tier-legend{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.tier-chip{display:inline-flex;align-items:center;gap:7px;padding:5px 13px;border-radius:999px;font-size:14px;font-weight:600;color:var(--rarity);border:1px solid color-mix(in srgb,var(--rarity) 55%,transparent);background:color-mix(in srgb,var(--rarity) 14%,transparent)}
.tier-chip::before{content:'';width:9px;height:9px;border-radius:50%;background:var(--rarity);box-shadow:0 0 8px var(--rarity)}
.item-card{border-color:color-mix(in srgb,var(--rarity) 45%,transparent);box-shadow:inset 0 0 28px color-mix(in srgb,var(--rarity) 10%,transparent)}
.item-card:after{height:3px;opacity:1}
.item-card h3{color:var(--rarity)}
.item-card .rarity,.tier-badge{display:inline-block;padding:3px 11px;border-radius:999px;font-size:14px;font-weight:600;color:var(--rarity);border:1px solid color-mix(in srgb,var(--rarity) 55%,transparent);background:color-mix(in srgb,var(--rarity) 14%,transparent)}
.equipped-slot .slot-text strong{color:var(--rarity)}
.equipped-slot .tier-badge{margin:6px 0 2px}
.forge-card{border-color:color-mix(in srgb,var(--rarity,#ffffff) 50%,transparent)}
.forge-card h3{color:var(--rarity,inherit)}

/* Battle history */
.last-battle{display:flex;align-items:center;gap:22px;padding:24px;margin-bottom:22px;border-radius:14px;border:1px solid #ffffff14;background:linear-gradient(155deg,#2b1e47cc,#150e26e6)}
.last-battle.won{border-color:#4ade8055}.last-battle.lost{border-color:#f8718555}
.last-boss{flex:0 0 120px;height:120px}.last-boss svg{width:100%;height:100%;filter:drop-shadow(0 4px 10px #0008)}
.last-body{min-width:0;flex:1}.last-result{font-size:30px;margin:4px 0}.last-battle.won .last-result{color:#4ade80}.last-battle.lost .last-result{color:#f87185}
.last-title{font-size:18px;margin:0 0 12px;color:#e5dbf1}
.battle-loot{display:flex;flex-wrap:wrap;gap:8px}
.loot-chip{display:inline-flex;align-items:baseline;gap:4px;padding:5px 12px;border-radius:999px;font-size:15px;font-weight:600;background:#ffffff0d;border:1px solid #ffffff1a;color:#cdbfe3}
.loot-chip.gold{color:#dfbd7d;border-color:#dfbd7d55}.loot-chip.muted{color:#9a8ab1;font-weight:400}
.loot-chip.item{color:var(--rarity);border-color:color-mix(in srgb,var(--rarity) 55%,transparent);background:color-mix(in srgb,var(--rarity) 14%,transparent)}.loot-chip.item small{font-weight:400;color:#cdbfe3}
.history-row{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:14px;padding:14px 16px;margin-bottom:10px;border-radius:11px;background:var(--panel);border:1px solid var(--line);border-left:4px solid #8f95a3}
.history-row.won{border-left-color:#4ade80}.history-row.lost{border-left-color:#f87185}
.kind-tag{font-size:14px;font-weight:600;padding:3px 10px;border-radius:7px;background:#ffffff0d;color:#cdbfe3}
.history-info{min-width:0;display:grid;gap:8px}.history-info strong{font-size:17px;font-weight:600;color:#e5dbf1}
.result-tag{font-weight:700;font-size:15px}.history-row.won .result-tag{color:#4ade80}.history-row.lost .result-tag{color:#f87185}
.history-time{color:#9a8ab1;font-size:14px;white-space:nowrap}
#history-filter{padding:10px 14px;border-radius:9px;background:var(--panel);color:var(--text);border:1px solid var(--line);font-size:16px}
@media(max-width:700px){.last-battle{flex-direction:column;align-items:flex-start}.history-row{grid-template-columns:1fr auto}.history-time{grid-column:1/-1}}

/* Worn gear shown in the inventory */
.item-card.is-worn{border-width:2px;border-color:var(--rarity);background:linear-gradient(160deg,color-mix(in srgb,var(--rarity) 16%,#231d2e),#211b2b 80%);box-shadow:0 0 0 1px color-mix(in srgb,var(--rarity) 40%,transparent),0 8px 28px color-mix(in srgb,var(--rarity) 22%,transparent)}
.worn-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 11px;border-radius:999px;font-size:13px;font-weight:700;letter-spacing:.1em;color:#0f0a18;background:var(--rarity)}
.worn-badge::before{content:'✓';font-size:14px}
.is-worn .item-top{flex-wrap:wrap;row-gap:8px}
.worn-note{color:var(--rarity)}

/* Themed scrollbars (page, burger drawer, dialogs) */
html{scrollbar-width:thin;scrollbar-color:#7b55d6 #140e22}
.sidebar,dialog,.welcome-card{scrollbar-width:thin;scrollbar-color:#7b55d6 transparent}
::-webkit-scrollbar{width:12px;height:12px}
::-webkit-scrollbar-track{background:#140e22}
::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#8f67ec,#5b3aa8);border-radius:8px;border:3px solid #140e22}
::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#a883ff,#7b55d6)}
.sidebar::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{border-width:2px;border-color:transparent;background-clip:padding-box}
/* Back-to-top button */
.to-top{position:fixed;right:22px;bottom:22px;z-index:30;width:50px;height:50px;display:grid;place-items:center;border-radius:50%;border:1px solid #b18cff66;background:linear-gradient(145deg,#7c3aed,#c026d3);color:#fff;cursor:pointer;box-shadow:0 8px 26px #6d28d980;opacity:0;transform:translateY(14px) scale(.9);pointer-events:none;transition:opacity .25s,transform .25s}
.to-top.visible{opacity:1;transform:none;pointer-events:auto}
.to-top:hover{filter:brightness(1.15)}
.to-top svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
body.menu-open .to-top,body.welcome-open .to-top{display:none}
@media(max-width:600px){.to-top{right:14px;bottom:14px;width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.to-top{transition:none}}

/* Notification center */
.notify-wrap{position:relative;flex-shrink:0}
.notify-bell{position:relative;width:46px;height:46px;display:grid;place-items:center;border-radius:12px;border:1px solid #ae89d93a;background:#ae89d90f;color:#e5dbf1;cursor:pointer}
.notify-bell:hover{background:#ae89d91f}.notify-bell svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notify-badge{position:absolute;top:-6px;right:-6px;min-width:22px;height:22px;padding:0 5px;border-radius:11px;background:linear-gradient(90deg,#f43f8e,#c026d3);color:#fff;font-size:13px;font-weight:700;line-height:22px;text-align:center;box-shadow:0 2px 10px #c026d388}
.notify-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(420px,calc(100vw - 28px));max-height:min(70vh,520px);display:flex;flex-direction:column;border-radius:14px;border:1px solid #b18cff55;background:linear-gradient(160deg,#2a1d45,#150e26);box-shadow:0 18px 60px #000c,0 0 0 1px #0008;z-index:60}
.notify-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #ffffff14}.notify-head strong{font-size:17px;color:#fff}
.notify-clear{background:none;border:0;color:#a899c0;font-size:14px;cursor:pointer;text-decoration:underline}
.notify-list{overflow-y:auto;padding:8px}.notify-empty{margin:14px 10px;color:#a899c0;font-size:15px;line-height:1.6}
.notify-item{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;padding:11px 12px;margin-bottom:6px;border-radius:10px;background:#ffffff08;border-left:4px solid #8f95a3}
.notify-tag{grid-column:1;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#cdbfe3}.notify-time{grid-column:2;text-align:right;color:#8e7fa6;font-size:13px}
.notify-text{grid-column:1/-1;order:3;font-size:15px;line-height:1.5;color:#efe6fb}
.type-sell{border-left-color:#dfbd7d}.type-win,.type-chest{border-left-color:#4ade80}.type-loss,.type-error{border-left-color:#f87185}.type-equip{border-left-color:#4aa3ff}.type-trade{border-left-color:#b66bff}.type-forge{border-left-color:#ffa63a}
.toast-stack{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:90;display:grid;gap:10px;width:min(520px,calc(100vw - 24px));pointer-events:none}
.toast{pointer-events:auto;cursor:pointer;display:grid;gap:3px;padding:13px 18px;border-radius:12px;border:1px solid #b18cff55;border-left-width:5px;background:linear-gradient(160deg,#2a1d45f5,#150e26f5);box-shadow:0 14px 44px #000b;animation:toast-in .35s cubic-bezier(.2,1.2,.4,1)}
.toast b{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#d8b9ff}.toast span{font-size:16px;line-height:1.45;color:#fff}
.toast.type-sell{border-left-color:#dfbd7d}.toast.leaving{animation:toast-out .3s ease forwards}
@keyframes toast-in{from{opacity:0;transform:translateY(-20px) scale(.96)}}@keyframes toast-out{to{opacity:0;transform:translateY(-16px) scale(.96)}}
@media(prefers-reduced-motion:reduce){.toast,.toast.leaving{animation:none}}
/* Sell animation */
.sell-ghost{animation:sell-ghost .65s cubic-bezier(.5,0,.8,.4) forwards}
@keyframes sell-ghost{0%{transform:none;filter:none;opacity:1}30%{transform:scale(1.04) rotate(-2deg);filter:brightness(1.4)}100%{transform:scale(.2) rotate(8deg) translateY(-40px);opacity:0;filter:brightness(2) blur(2px)}}
.sell-coin{position:fixed;width:22px;height:22px;border-radius:50%;z-index:85;pointer-events:none;background:radial-gradient(circle at 35% 30%,#fff4c2,#e8b84a 55%,#9a6a14);box-shadow:0 0 10px #ffd86b99;border:1px solid #fff3;opacity:0}
.sell-float{position:fixed;z-index:86;pointer-events:none;transform:translate(-50%,-50%);font-size:28px;font-weight:700;color:#ffd86b;text-shadow:0 2px 12px #000,0 0 18px #ffb82e;animation:sell-float 1.3s ease-out forwards}
@keyframes sell-float{0%{opacity:0;transform:translate(-50%,-30%) scale(.6)}20%{opacity:1;transform:translate(-50%,-80%) scale(1.2)}100%{opacity:0;transform:translate(-50%,-260%) scale(1)}}
.gold-bump{animation:gold-bump .5s ease-out}@keyframes gold-bump{40%{transform:scale(1.25);filter:brightness(1.5)}}


/* Guest sidebar call to action + leaderboard */
.side-cta{display:grid;gap:8px;margin:22px 0 0;padding:16px;border-radius:12px;border:1px solid #b18cff44;background:linear-gradient(160deg,#2b1e47,#150e26)}
.side-cta b{font-size:17px;color:#fff}.side-cta span{font-size:15px;line-height:1.5;color:#cdbfe3}
.side-cta-button{display:block;text-align:center;padding:11px 14px;border-radius:10px;font-weight:600;font-size:16px;color:#fff;text-decoration:none;background:linear-gradient(90deg,#7c3aed,#c026d3);box-shadow:0 6px 20px #8b5cf655}
.board-row{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:14px;padding:14px 16px;margin-bottom:10px;border-radius:12px;background:var(--panel);border:1px solid var(--line)}
.board-row.me{border-color:#b18cff88;box-shadow:0 0 0 1px #b18cff44,0 6px 24px #6d28d933}
.board-place{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#ffffff0d;font:600 18px 'Cinzel',serif;color:#cdbfe3}
.board-row.top-1 .board-place{background:linear-gradient(145deg,#ffe08a,#c89a2c);color:#2a1d05}.board-row.top-2 .board-place{background:linear-gradient(145deg,#eef1f6,#9aa3b2);color:#1b2029}.board-row.top-3 .board-place{background:linear-gradient(145deg,#e6a877,#9a5a2c);color:#2a1407}
.board-who{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}.board-who i{width:12px;height:12px;border-radius:50%;flex-shrink:0}.board-who strong{font-size:18px;color:#efe6fb}.board-who small{font-size:15px;color:#a899c0}
.board-stats{display:flex;gap:14px;align-items:baseline;flex-wrap:wrap;justify-content:flex-end}.board-level{font-weight:700;font-size:17px;color:#f0abfc}.board-stat{font-size:15px;color:#cdbfe3}
@media(max-width:700px){.board-row{grid-template-columns:44px 1fr}.board-stats{grid-column:1/-1;justify-content:flex-start}}

/* Clickable notifications */
.notify-item.clickable{cursor:pointer;transition:background .15s,transform .15s}
.notify-item.clickable:hover,.notify-item.clickable:focus-visible{background:#ffffff14;transform:translateX(2px)}
.notify-go{grid-column:1/-1;order:4;font-size:14px;font-weight:600;color:#d8b9ff}
.toast-go{font-size:14px;font-weight:600;color:#d8b9ff}

/* Handbook */
.hb-bar{display:grid;gap:14px;margin-bottom:14px}
.hb-search{width:100%;padding:13px 16px;font-size:17px;border-radius:11px;border:1px solid #ae89d93a;background:var(--panel);color:var(--text)}
.hb-search:focus{outline:2px solid #b18cff;outline-offset:1px}
.hb-tools{display:flex;gap:10px;flex-wrap:wrap}.hb-tools button{padding:8px 14px;border-radius:9px;border:1px solid var(--line);background:#ffffff08;color:#cdbfe3;font-size:15px;cursor:pointer}
.hb-toc{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.hb-toc a{padding:6px 14px;border-radius:999px;border:1px solid #b18cff44;background:#b18cff12;color:#d8b9ff;font-size:15px;text-decoration:none}.hb-toc a:hover{background:#b18cff26}
.hb-section{margin-bottom:14px;border-radius:14px;border:1px solid var(--line);background:var(--panel);scroll-margin-top:84px}
.hb-section[open]{border-color:#b18cff44}
.hb-section>summary{display:flex;flex-direction:column;gap:3px;padding:16px 20px;cursor:pointer;list-style:none}
.hb-section>summary::-webkit-details-marker{display:none}
.hb-section>summary h3{margin:0;font-size:22px;color:#fff;display:flex;align-items:center;gap:10px}
.hb-section>summary h3::after{content:'+';margin-left:auto;font:400 26px/1 system-ui;color:#b18cff}
.hb-section[open]>summary h3::after{content:'–'}
.hb-sum{font-size:15px;color:#a899c0}
.hb-body{padding:4px 20px 22px;display:grid;gap:16px;font-size:16px;line-height:1.7;color:#d8cbea}
.hb-body p{margin:0}
.hb-steps{list-style:none;counter-reset:s;display:grid;gap:10px;margin:0;padding:0}
.hb-steps li{counter-increment:s;display:grid;grid-template-columns:auto 1fr;gap:2px 14px;align-items:start;padding:14px 16px;border-radius:12px;background:#ffffff08;border:1px solid #ffffff10}
.hb-steps li::before{content:counter(s);grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#c026d3);color:#fff;font-weight:700}
.hb-steps b{color:#f0abfc;font-size:17px}.hb-steps span{color:#cdbfe3}
.hb-list{margin:0;padding-left:22px;display:grid;gap:6px}
.hb-note{padding:14px 18px;border-radius:12px;border-left:4px solid #b18cff;background:#b18cff14}
.hb-chips{display:flex;flex-wrap:wrap;gap:8px}
.hb-chip{display:inline-block;padding:4px 14px;border-radius:999px;font-size:15px;font-weight:600;color:var(--c,#cdbfe3);border:1px solid color-mix(in srgb,var(--c,#cdbfe3) 55%,transparent);background:color-mix(in srgb,var(--c,#cdbfe3) 14%,transparent)}
.hb-cmds{display:grid;gap:6px}.hb-cmd{display:grid;grid-template-columns:minmax(150px,auto) 1fr;gap:6px 16px;align-items:baseline;padding:8px 12px;border-radius:9px;background:#ffffff06}
.hb-cmd code,.hb-cmd+code{cursor:copy}
.hb-body code{padding:3px 9px;border-radius:7px;background:#0d0814;border:1px solid #ffffff14;color:#f0abfc;font:15px ui-monospace,Consolas,monospace;cursor:copy}.hb-body code.copied{background:#14532d;color:#bbf7d0}
.hb-scroll{overflow-x:auto}.hb-table{width:100%;border-collapse:collapse;font-size:15px}.hb-table th,.hb-table td{padding:9px 12px;text-align:left;border-bottom:1px solid #ffffff12;white-space:nowrap}.hb-table th{color:#d8b9ff;font-size:13px;letter-spacing:.08em;text-transform:uppercase}.hb-table td:last-child,.hb-table td:first-child{white-space:normal}
.hb-dungeons{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}
.hb-dungeon{padding:14px;border-radius:12px;border:1px solid #ffffff14;background:#0d0814}
.hb-dhead{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px}.hb-dhead b{color:#fff;font-size:18px}.hb-dhead small{color:#d8b9ff;font-size:14px}
.hb-bosses{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.hb-boss{display:grid;gap:4px;justify-items:center;text-align:center;font-size:12px;line-height:1.25;color:#b9aacf}
.hb-boss-art{width:100%;aspect-ratio:1}.hb-boss-art .boss-svg{width:100%;height:100%;animation:none!important;filter:drop-shadow(0 4px 4px #000a)}
.hb-boss-art .boss-svg *{animation:none!important}
.hb-faq{display:grid;gap:8px}.hb-q{border-radius:10px;border:1px solid #ffffff12;background:#ffffff06}.hb-q summary{padding:12px 16px;cursor:pointer;font-weight:600;color:#efe6fb}.hb-q p{padding:0 16px 14px}
.hb-empty{padding:24px;text-align:center;color:#a899c0}
@media(max-width:700px){.hb-cmd{grid-template-columns:1fr}.hb-bosses{grid-template-columns:repeat(3,1fr)}.hb-dungeons{grid-template-columns:1fr}}
nav.hb-toc{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:8px!important;margin:0 0 18px!important;width:auto!important}
.hb-dungeons{grid-template-columns:repeat(auto-fit,minmax(380px,1fr))!important}
.hb-bosses{grid-template-columns:repeat(5,minmax(0,1fr))}.hb-boss span{overflow-wrap:anywhere}
.hb-boss-art .boss-svg{overflow:hidden}
@media(max-width:700px){.hb-dungeons{grid-template-columns:1fr!important}}

/* Footer legal links */
.legal-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:6px}.legal-links a{color:#a899c0;font-size:15px;text-decoration:underline}.legal-links a:hover,.legal-links a[aria-current]{color:#e5dbf1}
footer .legal-links{margin-left:auto}
/* Legal pages */
.legal-body{background:var(--bg)}
.legal-page{max-width:860px;margin:0 auto;padding:28px 20px 60px}
.legal-back{display:inline-block;margin-bottom:18px;color:#d8b9ff;text-decoration:none;font-size:16px}
.legal-card{padding:34px 36px;border-radius:16px;border:1px solid #b18cff33;background:linear-gradient(160deg,#241a3a,#150e26);box-shadow:0 14px 50px #0008}
.legal-card h1{margin:6px 0 10px;font-size:34px}.legal-card h2{margin:30px 0 8px;font-size:21px;color:#f0abfc}
.legal-card p,.legal-card li{font-size:17px;line-height:1.75;color:#d8cbea}.legal-card ul{padding-left:22px;display:grid;gap:6px}
.legal-card a{color:#d8b9ff}
.legal-address{display:grid;gap:2px;font-style:normal;font-size:19px;color:#fff;margin:14px 0}
.legal-missing{margin:16px 0;padding:16px 18px;border-radius:12px;border-left:4px solid #ffa63a;background:#ffa63a14;color:#ffe2b8}
.legal-page .legal-links{margin-top:22px;justify-content:center}
@media(max-width:600px){.legal-card{padding:24px 18px}.legal-card h1{font-size:28px}}
/* Support, tickets */
.sp-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
@media(max-width:1100px){.sp-cols{grid-template-columns:1fr}}
.sp-card{padding:22px;margin-bottom:18px;border-radius:14px;border:1px solid var(--line);background:var(--panel)}
.sp-card h3{margin:0 0 12px;font-size:21px}.sp-card p{font-size:16px;line-height:1.65;color:#d8cbea}
.sp-card label{display:grid;gap:6px;margin-bottom:14px}.sp-label{font-size:13px;letter-spacing:.1em;color:#d8b9ff;font-weight:600}
.sp-card input,.sp-card select,.sp-card textarea,.tk-card textarea{width:100%;padding:12px 14px;font:inherit;font-size:16px;border-radius:10px;border:1px solid #ae89d93a;background:#120c1f;color:var(--text);resize:vertical}
.sp-card input:focus,.sp-card select:focus,.sp-card textarea:focus,.tk-card textarea:focus{outline:2px solid #b18cff;outline-offset:1px}
.sp-count{display:block;text-align:right;color:#8e7fa6;margin:-8px 0 12px}
.sp-primary{display:inline-block;padding:13px 26px;font-size:17px;font-weight:600;color:#fff;text-decoration:none;border:0;border-radius:11px;cursor:pointer;background:linear-gradient(90deg,#7c3aed,#c026d3);box-shadow:0 8px 24px #8b5cf655}
.sp-primary:disabled{opacity:.5}.sp-reply{margin:12px 0 0;color:#d8cbea}
.sp-mail{font-size:20px;font-weight:600;color:#f0abfc}
.tk-list{display:grid;gap:12px}
.tk-card{border-radius:12px;border:1px solid #ffffff14;border-left:5px solid #8f95a3;background:#0d0814}
.tk-card.tk-open{border-left-color:#ffa63a}.tk-card.tk-answered{border-left-color:#4ade80}.tk-card.tk-closed{border-left-color:#8f95a3;opacity:.85}
.tk-card>summary{display:grid;gap:4px;padding:14px 16px;cursor:pointer;list-style:none}.tk-card>summary::-webkit-details-marker{display:none}
.tk-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.tk-head b{font-size:17px;color:#fff}.tk-card small{color:#a899c0;font-size:14px}
.tk-status{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 10px;border-radius:999px;background:#ffffff10;white-space:nowrap}
.tk-open .tk-status{color:#ffa63a}.tk-answered .tk-status{color:#4ade80}.tk-closed .tk-status{color:#a899c0}
.tk-thread{display:grid;gap:10px;padding:0 16px 14px}
.tk-msg{padding:11px 14px;border-radius:10px;background:#ffffff08;max-width:92%}.tk-msg.admin{justify-self:end;background:#8b5cf622}
.tk-msg p{margin:4px 0 0;font-size:16px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#efe6fb}
.tk-card textarea{margin:0 16px;width:calc(100% - 32px)}.tk-actions{display:flex;gap:10px;flex-wrap:wrap;padding:12px 16px 16px}
.tk-actions button{padding:10px 18px;border-radius:9px;border:1px solid #ae89d966;background:#8b5cf633;color:#fff;font-size:15px;cursor:pointer}.tk-actions button.quiet{background:transparent;color:#cdbfe3}
.tk-filters{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.tk-filter{padding:8px 16px;border-radius:999px;border:1px solid #b18cff44;background:transparent;color:#d8b9ff;font-size:15px;cursor:pointer}.tk-filter.active{background:#b18cff33;color:#fff}
.ticket-badge{display:inline-block;min-width:22px;padding:0 6px;margin-left:6px;border-radius:11px;background:linear-gradient(90deg,#f43f8e,#c026d3);color:#fff;font-size:13px;text-align:center}
.type-ticket,.type-ticketadmin{border-left-color:#f0abfc}
nav a.current{color:#fff;border-color:#ae89d93a;background:#ae89d90f}
/* SQL console */
.sql-warn{padding:14px 18px;border-radius:12px;border-left:4px solid #f87185;background:#f8718512;color:#ffd7dc;font-size:16px;line-height:1.6;margin:14px 0 20px}.sql-warn code,.sql-hist{font-family:ui-monospace,Consolas,monospace}
.sql-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}@media(max-width:900px){.sql-layout{grid-template-columns:1fr}}
.sql-side h2{font-size:15px;letter-spacing:.1em;color:#d8b9ff;margin:0 0 8px}.sql-tables{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}
.sql-chip{padding:6px 12px;border-radius:8px;border:1px solid #ffffff1a;background:#ffffff08;color:#e5dbf1;font:14px ui-monospace,Consolas,monospace;cursor:pointer;text-align:left}.sql-chip:hover{background:#b18cff22}
.sql-label{display:block;font-size:13px;letter-spacing:.08em;color:#d8b9ff;margin-bottom:6px}
#sql{width:100%;padding:14px;border-radius:10px;border:1px solid #ae89d93a;background:#0b0713;color:#f0e6ff;font:15px/1.55 ui-monospace,Consolas,monospace;resize:vertical}
.sql-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:12px 0}.sql-switch{display:flex;gap:8px;align-items:center;font-size:16px;color:#ffd7dc}.sql-confirm{padding:9px 12px;border-radius:9px;border:1px solid #f8718566;background:#120c1f;color:#fff;font-size:15px}
.sql-bar button{padding:11px 20px;border-radius:10px;border:1px solid #ae89d966;background:#8b5cf633;color:#fff;font-size:16px;cursor:pointer}.sql-bar button.danger{background:#f8718533;border-color:#f87185aa}.sql-bar button.quiet{background:transparent;color:#cdbfe3}.sql-bar button:disabled{opacity:.5}
.sql-ok{color:#4ade80;font-size:15px;margin:6px 0}.sql-error{color:#ffb3bd;font-size:16px;padding:12px 14px;border-radius:10px;background:#f8718514;white-space:pre-wrap}
.sql-scroll{overflow:auto;max-height:520px;border-radius:10px;border:1px solid #ffffff14}
.sql-table{width:100%;border-collapse:collapse;font:14px ui-monospace,Consolas,monospace}.sql-table th{position:sticky;top:0;background:#1d1430;color:#d8b9ff;text-align:left;padding:8px 12px;white-space:nowrap}
.sql-table td{padding:7px 12px;border-top:1px solid #ffffff0d;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:copy}.sql-table td:hover{white-space:normal;overflow-wrap:anywhere}.sql-null{color:#7d6f93;font-style:italic}.sql-num{color:#f0abfc;text-align:right}
.sql-backups{display:grid;gap:8px}.sql-backup{display:grid;grid-template-columns:auto auto 1fr auto auto;gap:14px;align-items:center;padding:10px 14px;border-radius:10px;background:#ffffff06;font-size:15px}.sql-backup button{padding:7px 14px;border-radius:8px;border:1px solid #f8718566;background:transparent;color:#ffd7dc;cursor:pointer}
.sql-history{display:grid;gap:6px}.sql-hist{text-align:left;padding:8px 12px;border-radius:8px;border:1px solid #ffffff12;background:#ffffff06;color:#cdbfe3;font-size:14px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sql-hist.is-write{border-color:#f8718566}
.sp-hint{font-size:14px!important;line-height:1.5!important;color:#a899c0!important;margin:0 0 14px!important}
.sp-notify{margin:0 0 14px}.sp-check{display:flex!important;grid-template-columns:none!important;flex-direction:row;align-items:flex-start;gap:10px;margin-bottom:6px!important;cursor:pointer}.sp-check input{width:20px!important;height:20px;margin-top:3px;flex-shrink:0;accent-color:#a78bfa}.sp-check span{font-size:16px;line-height:1.5;color:#e5dbf1}
.sp-grant{display:inline-block;padding:9px 16px;border-radius:9px;border:1px solid #ae89d966;background:#8b5cf633;color:#fff;text-decoration:none;font-size:15px}
/* Database page: readable tables */
.sql-help{padding:16px 20px;border-radius:12px;border-left:4px solid #8b5cf6;background:#8b5cf614;color:#e5dbf1;font-size:16px;line-height:1.7;margin:14px 0 20px}.sql-help code{padding:2px 7px;border-radius:6px;background:#0d0814;font:14px ui-monospace,Consolas,monospace;color:#f0abfc}
.sql-views{display:grid;gap:8px;margin-bottom:16px}
.sql-view{display:grid;gap:3px;padding:11px 14px;border-radius:10px;border:1px solid #ffffff14;background:#ffffff06;color:#e5dbf1;text-align:left;cursor:pointer}.sql-view:hover{background:#b18cff1a}.sql-view.active{border-color:#b18cffaa;background:#b18cff26}
.sql-view b{font:600 15px ui-monospace,Consolas,monospace;color:#f0abfc}.sql-view small{font-size:13px;line-height:1.4;color:#b9aacf}.sql-count{font-size:12px;color:#8e7fa6}
.sql-raw summary{cursor:pointer;color:#a899c0;font-size:14px;margin-bottom:8px}
.sql-schema{padding:16px 18px;margin-bottom:20px;border-radius:12px;border:1px solid #b18cff44;background:#120c1f}.sql-schema-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.sql-schema-head h2{margin:0;font:600 20px ui-monospace,Consolas,monospace;color:#f0abfc}
.sql-cols{width:100%;border-collapse:collapse;font-size:15px}.sql-cols th{text-align:left;color:#d8b9ff;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:6px 10px}.sql-cols td{padding:6px 10px;border-top:1px solid #ffffff0d;color:#d8cbea}
.sql-col{padding:3px 9px;border-radius:7px;border:1px solid #ffffff1a;background:#ffffff08;color:#e5dbf1;font:14px ui-monospace,Consolas,monospace;cursor:pointer}.sql-col:hover{background:#b18cff26}
.sql-h{font-size:15px;letter-spacing:.1em;color:#d8b9ff;margin:6px 0 8px}.sql-examples{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.sql-quick{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.sql-quick label{display:grid;gap:5px;font-size:13px;letter-spacing:.06em;color:#d8b9ff}.sql-quick select,.sql-quick input{padding:10px 12px;border-radius:9px;border:1px solid #ae89d93a;background:#120c1f;color:var(--text);font-size:16px;min-width:150px}.sql-quick button{padding:11px 20px;border-radius:10px;border:1px solid #ae89d966;background:#8b5cf633;color:#fff;font-size:16px;cursor:pointer}
.ac-box{position:absolute;z-index:200;width:min(380px,calc(100vw - 16px));max-height:300px;overflow-y:auto;border-radius:10px;border:1px solid #b18cff66;background:#1a1228;box-shadow:0 14px 40px #000c;font-family:ui-monospace,Consolas,monospace}
.ac-item{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;padding:7px 12px;cursor:pointer;border-bottom:1px solid #ffffff08}.ac-item b{font-size:15px;color:#f0e6ff;font-weight:500}.ac-item small{grid-column:1/-1;font:12px system-ui,sans-serif;color:#9a8ab1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-item.active,.ac-item:hover{background:#7c3aed55}.ac-item.active b{color:#fff}
.sp-ok{color:#86efac!important}

/* Admin settings */
.set-list{display:grid;gap:12px;margin-top:16px}
.set-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;border-radius:12px;border:1px solid #ffffff14;background:#ffffff06}
.set-info{display:grid;gap:4px;min-width:0}.set-info b{font-size:19px;color:#fff}.set-info p{margin:0;font-size:16px;line-height:1.6;color:#cdbfe3}.set-state{font-size:15px;color:#a899c0}.set-state.on{color:#86efac}
.set-switch{position:relative;flex:0 0 64px;width:64px;height:34px;border-radius:999px;border:1px solid #ffffff2a;background:#2a2238;cursor:pointer;transition:background .2s}
.set-switch span{position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#cdbfe3;transition:transform .2s,background .2s}
.set-switch.on{background:linear-gradient(90deg,#7c3aed,#c026d3);border-color:#b18cffaa}.set-switch.on span{transform:translateX(30px);background:#fff}.set-switch:disabled{opacity:.6;cursor:wait}
.set-servers{display:grid;gap:8px;margin-top:12px}.set-server{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:12px 16px;border-radius:10px;background:#ffffff06;border:1px solid #ffffff10}.set-server b{font-size:17px;color:#fff}.set-server.active{border-color:#4ade8055}
.set-badge{font-size:13px;font-weight:700;letter-spacing:.06em;padding:3px 12px;border-radius:999px;background:#ffffff10;color:#a899c0}.set-badge.on{background:#4ade8022;color:#86efac}
@media(max-width:600px){.set-row{flex-direction:column;align-items:flex-start}.set-server{grid-template-columns:1fr}}
.set-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0}.set-tools input{flex:1;min-width:200px;padding:11px 14px;border-radius:10px;border:1px solid #ae89d93a;background:#120c1f;color:var(--text);font-size:16px}
.set-tools button,.set-actions button,.set-dialog button{padding:10px 18px;border-radius:9px;border:1px solid #ae89d966;background:#8b5cf633;color:#fff;font-size:15px;cursor:pointer}.set-tools button.quiet,.set-actions button.quiet,.set-dialog button.quiet{background:transparent;color:#cdbfe3}
button.danger{background:#f8718533!important;border-color:#f87185aa!important}button:disabled{opacity:.45;cursor:not-allowed}
.set-players{display:grid;gap:8px;max-height:560px;overflow-y:auto}.set-player{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:12px 16px;border-radius:10px;background:#ffffff06;border:1px solid #ffffff10}
.set-who{display:grid;gap:2px;min-width:0}.set-who b{font-size:17px;color:#fff}.set-who small{font-size:14px;color:#a899c0}.set-tags{display:flex;gap:6px}.set-actions{display:flex;gap:8px}
.set-dialog{max-width:480px;width:calc(100vw - 32px);padding:26px;border-radius:16px;border:1px solid #f8718566;background:linear-gradient(160deg,#2a1d45,#150e26);color:#fff}.set-dialog::backdrop{background:#08050fcc}
.set-dialog h2{margin:0 0 10px;font-size:22px}.set-dialog p{font-size:16px;line-height:1.6;color:#e5dbf1}.set-dialog label{display:block;margin:16px 0 6px;font-size:14px;color:#ffd7dc}.set-dialog input{width:100%;padding:11px 14px;border-radius:9px;border:1px solid #f8718566;background:#120c1f;color:#fff;font-size:16px}
.set-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
@media(max-width:700px){.set-player{grid-template-columns:1fr}}
.tk-event{justify-self:center;text-align:center;font-size:13px;color:#a899c0;padding:4px 12px;border-radius:999px;background:#ffffff08}
.set-sub{margin:18px 0 8px;font-size:15px;letter-spacing:.08em;color:#d8b9ff;text-transform:uppercase}.set-mails{flex-wrap:wrap;margin-bottom:10px}.set-mail{display:inline-flex;align-items:center;gap:4px;font-size:15px!important;letter-spacing:0!important}.set-x{border:0;background:transparent;color:#fff;font-size:18px;cursor:pointer;padding:0 4px}

.hb-table-wrap{overflow-x:auto;margin:12px 0}
.hb-table{border-collapse:collapse;width:100%;font-size:1rem}
.hb-table th,.hb-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line,rgba(255,255,255,.12));vertical-align:top}
.hb-table th{font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;opacity:.75}

/* Portrait card in the loadout */
#portrait-slot{margin:14px 0 6px}
.portrait-art{display:block;width:100%;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:#00000033}
.portrait-art img,.portrait-art svg{display:block;width:100%;height:100%;object-fit:cover}
.portrait-card{border:1px solid var(--line);border-radius:16px;padding:6px;background:var(--panel);box-shadow:0 0 0 1px #ffffff0d,0 10px 30px #0006}
.portrait-choose p{margin:0 0 10px;font-size:15px;color:var(--muted)}
.portrait-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.portrait-option{display:flex;flex-direction:column;gap:6px;padding:5px;border:2px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);cursor:pointer;font:inherit;transition:transform .12s,border-color .12s}
.portrait-option:hover,.portrait-option:focus-visible{transform:translateY(-2px);border-color:var(--accent)}
.portrait-option span:last-child{font-size:15px;padding-bottom:3px}

.ask-dialog h2{margin:10px 0 6px}
.ask-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}

.portrait-art{display:flex;align-items:center;justify-content:center}

.role-badge{display:inline-block;margin-left:6px;padding:1px 9px;border-radius:999px;background:#ae89d922;border:1px solid #ae89d94d;color:#d9cdea;font-size:13px;letter-spacing:.02em;white-space:nowrap}

/* Start page */
#home-view{display:grid;gap:34px}
.home-hero{display:grid;grid-template-columns:1.3fr .8fr;gap:24px;align-items:center;padding:34px;border:1px solid var(--line);border-radius:20px;background:radial-gradient(120% 140% at 85% 20%,#3a2a5a 0,#241e2f 55%,#1a1522 100%)}
.home-hero h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(30px,5vw,46px);line-height:1.15;margin:8px 0 12px;color:#f4edfb}
.home-hero p{color:#d9cdea;max-width:56ch}
.home-hero-art{min-height:200px;display:flex;align-items:center;justify-content:center}
.home-hero-art svg{width:min(260px,100%);height:auto}
.home-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;align-items:center}
.primary-link{display:inline-block;padding:12px 24px;border-radius:12px;background:#ae89d9;color:#191520;font-weight:700;text-decoration:none}
.primary-link:hover{background:#c4a4ec}
.quiet-link{display:inline-block;padding:12px 18px;border-radius:12px;border:1px solid #ae89d94d;color:#d9cdea;text-decoration:none}
.quiet-link:hover{border-color:#ae89d9}
.home-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.home-stat{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--panel);text-align:center}
.home-stat b{display:block;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:34px;color:#e6d4ff}
.home-stat span{color:var(--muted);font-size:15px}
.home-section h3,.home-end h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:26px;margin:0 0 6px;color:#f4edfb}
.home-section>p.muted{margin:0 0 16px}
.home-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}
.home-step{position:relative;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.home-step-no{position:absolute;right:16px;top:10px;font-family:Georgia,serif;font-size:38px;color:#ae89d933}
.home-step-icon{display:block;font-size:28px;margin-bottom:8px}
.home-step b{display:block;margin-bottom:6px;font-size:18px}
.home-step p{margin:0;color:#bcaed0;font-size:15.5px}
.home-classes{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.home-class{position:relative;padding:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel);color:var(--text);cursor:pointer;text-align:left;font:inherit;transition:transform .15s,border-color .15s}
.home-class:hover,.home-class:focus-visible{transform:translateY(-3px);border-color:#ae89d9}
.home-class-art .portrait-art{border-radius:0;aspect-ratio:4/5}
.home-class-info{display:flex;flex-direction:column;gap:4px;padding:12px 14px}
.home-class-info b{font-size:17px}
.home-class-info .role-badge{margin:0;align-self:flex-start}
.home-class-skill{position:absolute;inset:auto 0 0 0;display:flex;flex-direction:column;gap:3px;padding:14px;background:linear-gradient(0deg,#120e1af2 70%,#120e1a00);opacity:0;transform:translateY(8px);transition:opacity .18s,transform .18s}
.home-class:hover .home-class-skill,.home-class:focus-visible .home-class-skill{opacity:1;transform:none}
.home-class-skill b{color:#e6d4ff}.home-class-skill span{font-size:14px;color:#d9cdea}.home-class-skill small{color:#9a8ab1}
.home-bosses{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.home-boss{padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--panel);text-align:center;display:flex;flex-direction:column;gap:4px}
.home-boss .boss-art{width:100%;aspect-ratio:1/1;max-width:140px;margin:0 auto}
.home-boss b{font-size:14px}.home-boss span{font-size:12.5px}
.home-end{padding:34px;border:1px solid var(--line);border-radius:20px;text-align:center;background:var(--panel)}
.home-end p{color:#bcaed0;margin:6px 0 18px}
@media (max-width:1000px){.home-classes{grid-template-columns:repeat(3,1fr)}.home-bosses{grid-template-columns:repeat(3,1fr)}}
@media (max-width:700px){.home-hero{grid-template-columns:1fr;padding:22px}.home-hero-art{display:none}.home-stats{grid-template-columns:repeat(2,1fr)}.home-steps{grid-template-columns:1fr}.home-classes{grid-template-columns:repeat(2,1fr)}.home-bosses{grid-template-columns:repeat(2,1fr)}.home-class-skill{position:static;opacity:1;transform:none;background:none;padding:0 14px 12px}}
