/* Local visual theme inspired by the official Dx2 site. No article changes. */
:root{--dx2-ink:#202c34;--dx2-teal:#246b70;--dx2-gold:#b88738;--dx2-border:#cad4d8}
body{color:var(--dx2-ink);background-color:#10171c;background-image:linear-gradient(130deg,transparent 70%,#28404455 70%,transparent 72%),radial-gradient(#8ca6ac22 1px,transparent 1px),linear-gradient(160deg,#10171c,#26393d 50%,#11171d);background-size:460px 460px,5px 5px,100% 100%;background-attachment:fixed;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
#mw-page-base{background:linear-gradient(90deg,#0b1118,#263a40);height:6em;border-bottom:1px solid #65818c44}
#content{background:#f9fafb;border:1px solid #9aaeb5;border-top:3px solid #7d969d;border-radius:0;padding:28px 32px;box-shadow:0 12px 40px #0003;min-height:70vh}
#firstHeading{color:#233941;font-size:32px;letter-spacing:.015em;font-weight:650;border-bottom:1px solid #bccbd1;padding-bottom:14px}
.mw-body-content{font-size:16px;line-height:1.75}
a{color:#176775}a:visited{color:#625a80}a:hover{color:#aa762d;text-decoration:underline}a.new{color:#a23543}
#mw-panel .portal h3,#mw-panel .vector-menu-heading{color:#d6e1e5;font-size:12px;font-weight:700;letter-spacing:.075em;text-transform:uppercase;border-bottom:1px solid #58717a;padding-bottom:8px;margin-top:18px}
#mw-panel .portal .body li a,#mw-panel .vector-menu-content a{color:#c9dde1;font-size:14px;line-height:1.65}#mw-panel .portal .body li a:visited{color:#beb8d0}
#p-personal a{color:#d9e6e9!important}#p-personal{padding:7px 10px;background:#111a21cc;border-radius:0 0 5px 5px}
.vectorTabs,.vectorTabs ul,.vectorTabs li,.vectorTabs li a,.vectorMenu{background-image:none!important}.vectorTabs li{background:#25343e;border:1px solid #50636e;border-bottom:0;margin-right:3px}.vectorTabs li.selected{background:#f9fafb;border-color:#9aaeb5}.vectorTabs li a{color:#d5e3e8}.vectorTabs li.selected a{color:#263b44}.vectorMenu h3 a{color:#dae4e8}
#p-search input{border-radius:5px;background:#f4f7f8}#footer{color:#c1d2d7}#footer a{color:#b7d5dc}
.mw-parser-output h2{color:#2b424b;border-bottom:1px solid #bccbd1;border-left:4px solid #a6844b;padding-left:12px;letter-spacing:.02em}.mw-parser-output h3{color:#354c56}
.wikitable{background:#fff;border-color:var(--dx2-border);color:var(--dx2-ink)}.wikitable>tbody>tr>th,.wikitable>tr>th{background:#e7eef1;color:#2e4853}.wikitable td,.wikitable th{border-color:var(--dx2-border)}
.toc,.mw-parser-output>.toc{background:#eaf0f3;border-color:#beced4;border-radius:4px;box-shadow:0 4px 14px #1b354510}.mw-parser-output>.toc a{color:#315866}.mw-parser-output>.toc .toctitle h2{border:0}
.dx2-home-welcome>strong{color:#253e49;font-weight:750;letter-spacing:.04em}.dx2-home-destination,.dx2-home-card,.dx2-home-group,.dx2-home-intro{background:linear-gradient(135deg,#fff,#edf2f5);border-color:#beced5;border-radius:4px;box-shadow:0 3px 10px #1c37420a}.dx2-home-destination{border-top:3px solid #77959e}.dx2-home-destination:hover{border-top-color:#b68a42}.dx2-home-newcomer{border-radius:4px!important;background:#f7efd9!important;border-color:#cfb67b!important}.dx2-newest-demons{border-radius:4px!important;background:#eaf0f3!important}
.dx2-highlights{background:linear-gradient(135deg,#283b44,#17222d);color:#edf4f6;border-color:#627c86;border-radius:3px;box-shadow:0 6px 20px #0004;border-top:3px solid #b18a48}.dx2-highlights-label{color:#d6bd86;letter-spacing:.12em}.dx2-highlights h3{color:#f5f8fa}.dx2-highlights p{color:#d4e0e4}.dx2-highlights a{color:#b6d9df}.dx2-highlights a:visited{color:#d1c8e1}.dx2-highlights-image{background:linear-gradient(135deg,#10232d,#36545b);border-radius:2px}.dx2-highlights button{background:#314955;color:#eff5f7;border-color:#758d98;border-radius:3px}.dx2-highlights-count{color:#c5d7dd}.dx2-current-events article{background:#edf2f5;border-color:#c4d1d7;border-radius:4px;border-top:3px solid #ad894f}
.dx2-skill-controls,.dx2-skill-card,.dx2-pvp-demon{border-radius:4px!important;border-color:#c6d3da!important}.dx2-pvp-demon{background:#f0f4f6}.dx2-note{border-radius:0 4px 4px 0}
button,input,select,textarea{font-family:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b78b41;outline-offset:3px}
@media(max-width:700px){#content{margin-left:0!important;padding:18px;margin-right:0!important}#mw-panel{position:static;width:auto;padding:16px;background:#14232c;display:flex;flex-wrap:wrap;gap:14px}#mw-panel .portal,#mw-panel .vector-menu{min-width:150px;flex:1}#mw-panel #p-logo{display:none}#firstHeading{font-size:26px}#p-personal{font-size:11px}.dx2-highlights-stack{max-width:100%}#footer{margin-left:0}#left-navigation{margin-left:0}#mw-head{position:relative}#content{clear:both}}
@media print{body{background:white}#content{box-shadow:none;border:0;background:white;color:black}.dx2-highlights-stack{display:none}}
/* Higher specificity than the pre-existing shared wiki stylesheet. */
html body.skin-vector{background-color:#10171c;background-image:linear-gradient(130deg,transparent 70%,#28404455 70%,transparent 72%),radial-gradient(#8ca6ac22 1px,transparent 1px),linear-gradient(160deg,#10171c,#26393d 50%,#11171d);background-size:460px 460px,5px 5px,100% 100%}
html body.skin-vector #content{background:#f9fafb;border-radius:0;border-top:3px solid #7d969d}
html body.skin-vector #firstHeading{color:#233941;letter-spacing:.015em}
html body.skin-vector #mw-panel{background:linear-gradient(180deg,#14212b,#1c3039);border-right:1px solid #5f7a85;box-sizing:border-box;padding-bottom:20px}
html body.skin-vector #mw-panel h3{color:#d6e1e5}html body.skin-vector #mw-panel a{color:#c9dde1}
html body.skin-vector .dx2-highlights{background:linear-gradient(135deg,#283b44,#17222d);border-radius:3px;color:#edf4f6;border-top:3px solid #b18a48}
html body.skin-vector .dx2-highlights h3{color:#f5f8fa}html body.skin-vector .dx2-highlights p{color:#d4e0e4}
html body.skin-vector .mw-parser-output h2{color:#2b424b;border-left:4px solid #a6844b;padding-left:12px}
html body.skin-vector .dx2-home-destination,html body.skin-vector .dx2-home-card,html body.skin-vector .dx2-home-group{border-radius:4px;background:linear-gradient(135deg,#fff,#edf2f5)}
/* Richer game-like surfaces and geometric framing. */
html body.skin-vector #content{background:linear-gradient(135deg,#192a35ee,#101d27f5);color:#deeaee;border-color:#4b6878;box-shadow:0 12px 40px #0007}
html body.skin-vector #firstHeading{color:#f0f6f8;border-color:#5e7e8d;text-transform:uppercase;letter-spacing:.08em}
html body.skin-vector .mw-parser-output h2,html body.skin-vector .mw-parser-output h3{color:#d7e9ee}html body.skin-vector #content a{color:#8ed4df}html body.skin-vector #content a:visited{color:#c2b5df}
html body.skin-vector .dx2-home-welcome>strong{color:#f4f8fa}html body.skin-vector .dx2-home-welcome p{color:#b3cad4}
html body.skin-vector .dx2-home-destination,html body.skin-vector .dx2-home-card,html body.skin-vector .dx2-home-group{background:linear-gradient(140deg,#284552,#1b2e3b);border:1px solid #527785;border-top:3px solid #a99158;box-shadow:0 8px 18px #0003;color:#dcebf0}
html body.skin-vector .dx2-home-destination p,html body.skin-vector .dx2-home-card p{color:#c1d6df}
html body.skin-vector .dx2-home-newcomer{color:#342b1a!important}html body.skin-vector .dx2-home-newcomer a{color:#685423!important}
html body.skin-vector .dx2-newest-demons{background:#233f4e!important;color:#e1edf2!important;border-color:#628694!important}
html body.skin-vector .wikitable{background:#e8eff2;color:#21333d}html body.skin-vector .wikitable a{color:#176775!important}html body.skin-vector .wikitable a:visited{color:#625780!important}
html body.skin-vector .toc,html body.skin-vector .mw-parser-output>.toc{background:#284350;border-color:#64818d;color:#dbeaf0}html body.skin-vector .toc a{color:#b4e3eb}html body.skin-vector .toc .toctitle h2{color:#d7e9ee}
.dx2-game-hero{position:relative;overflow:hidden;min-height:260px;padding:30px;margin:0 0 24px;border:1px solid #7497a4;border-left:5px solid #bd9a5c;background:linear-gradient(100deg,#0c1a27 15%,#173b4ae0 55%,#26344b80);box-sizing:border-box;isolation:isolate}.dx2-game-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(120deg,transparent 0 70px,#91d9ea12 71px 73px,transparent 74px 140px)}.dx2-game-hero:after{content:'';position:absolute;right:22%;top:-55px;width:260px;height:260px;border:1px solid #91d9ea55;transform:rotate(45deg);z-index:-1}.dx2-game-hero .hero-art{position:absolute;right:15px;bottom:-20px;height:300px;max-width:40%;object-fit:contain;filter:drop-shadow(0 0 20px #70cee766);z-index:-1}.dx2-game-hero .hero-eyebrow{color:#ddc186;letter-spacing:.18em;font-size:12px}.dx2-game-hero .hero-title{font-size:36px;font-weight:750;line-height:1.2;color:#f5f8fa;margin:18px 0 12px;max-width:65%}.dx2-game-hero p{color:#bfd7e0;max-width:60%;font-size:16px}.dx2-game-hero a{display:inline-block;border:1px solid #79abbc;padding:7px 15px;background:#204858}
html body.skin-vector .dx2-home-destination:nth-child(4){background:linear-gradient(90deg,#102a3de8,#28404dcc),url('/index.php/Special:FilePath/Hells_Park_screenshot.jpg') center 45%/cover}
html body.skin-vector .dx2-home-destination:nth-child(3){border-top-color:#a48ace;background:linear-gradient(135deg,#3b3554,#202d3d)}
@media(max-width:700px){.dx2-game-hero{padding:20px;min-height:240px}.dx2-game-hero .hero-title{font-size:27px;max-width:75%}.dx2-game-hero p{max-width:75%}.dx2-game-hero .hero-art{opacity:.45}}
/* Explicit foregrounds for the mixed light/dark homepage strips. */
html body.skin-vector #content .dx2-home-start{background:#fff3d8!important;color:#302617!important;border-color:#d7bd82!important}
html body.skin-vector #content .dx2-home-start strong{color:#302617!important}
html body.skin-vector #content .dx2-home-start a,html body.skin-vector #content .dx2-home-start a:visited{color:#075365!important;font-weight:600}
html body.skin-vector #content .dx2-newest-demons,html body.skin-vector #content .dx2-newest-demons strong{color:#f1f6f8!important}
html body.skin-vector #content .dx2-newest-demons a,html body.skin-vector #content .dx2-newest-demons a:visited{color:#a9e8f0!important}
/* Contrast across pale legacy article panels, forms and template cells. */
html body.skin-vector #content .dx2-on-light{color:#21323c!important}
html body.skin-vector #content a.dx2-on-light{color:#075365!important}
html body.skin-vector #content a.dx2-on-light:visited{color:#51416c!important}
html body.skin-vector #content a.new.dx2-on-light{color:#982c3c!important}
html body.skin-vector #content input,html body.skin-vector #content select,html body.skin-vector #content textarea{background:#f6f8fa;color:#21323c;border-color:#738a96}
/* Existing MediaWiki page controls relocated below the footer. */
.dx2-bottom-tools{clear:both;display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:20px 24px 28px 176px;padding:18px;background:#162832;border:1px solid #536f7d;border-top:3px solid #a78a54;color:#e0ecf1}
.dx2-bottom-tools-title{width:100%;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#d8c294}
.dx2-bottom-tools #p-namespaces,.dx2-bottom-tools #p-views,.dx2-bottom-tools #p-cactions,.dx2-bottom-tools #p-search{position:static;float:none;margin:0;display:block;height:auto}
.dx2-bottom-tools .vectorTabs{height:auto}.dx2-bottom-tools .vectorTabs ul{display:flex;flex-wrap:wrap;height:auto}.dx2-bottom-tools .vectorTabs li{height:auto;border:1px solid #526b79;border-radius:3px}.dx2-bottom-tools .vectorTabs li a{height:auto;padding:10px 12px;color:#d5e3e8}.dx2-bottom-tools .vectorTabs li.selected a{color:#263b44}
.dx2-bottom-tools #p-search form{margin:0}.dx2-bottom-tools #p-search{min-width:220px;flex:1}.dx2-bottom-tools #simpleSearch{width:100%;box-sizing:border-box}
@media(max-width:700px){.dx2-bottom-tools{margin:16px;padding:14px}.dx2-bottom-tools #p-search{min-width:0;width:100%;flex-basis:100%}}
@media print{.dx2-bottom-tools{display:none}}
/* Softer warm surfaces instead of stark white. */
html body.skin-vector .wikitable{background:#dfd9c9;color:#26343b}
html body.skin-vector .wikitable>tbody>tr>th,html body.skin-vector .wikitable>tr>th{background:#cfc6b2;color:#253640;border-color:#b4ae9f}
html body.skin-vector .wikitable>tbody>tr>td,html body.skin-vector .wikitable>tr>td{border-color:#b9b3a6}
html body.skin-vector #content input,html body.skin-vector #content select,html body.skin-vector #content textarea,html body.skin-vector #p-search input{background:#e7dfcd;color:#23343c}
html body.skin-vector .dx2-current-events article,html body.skin-vector .dx2-pvp-demon,html body.skin-vector .dx2-skill-card{background:#e4dcc8!important;color:#253640!important;border-color:#bcb29b!important}
html body.skin-vector .dx2-current-events h3,html body.skin-vector .dx2-skill-card h3{color:#263840!important}
html body.skin-vector .dx2-bottom-tools .vectorTabs li.selected{background:#e5dcc7}.dx2-bottom-tools .vectorTabs li.selected a{color:#263b44}
/* Left navigation: clear groups and larger click targets. */
html body.skin-vector #mw-panel{width:160px;padding:12px 12px 24px;border-right:1px solid #527481;background:linear-gradient(180deg,#182c36,#12202a);box-shadow:4px 0 14px #0002}
html body.skin-vector #mw-panel .portal,html body.skin-vector #mw-panel .vector-menu{margin:12px 0 18px;background:none}
html body.skin-vector #mw-panel .portal .body,html body.skin-vector #mw-panel .vector-menu-content{margin:0;padding:0}
html body.skin-vector #mw-panel ul{margin:0;padding:0;list-style:none}
html body.skin-vector #mw-panel li{margin:3px 0;line-height:1.4}
html body.skin-vector #mw-panel li a{display:block;padding:7px 9px;border-left:2px solid transparent;border-radius:3px;color:#d0e0e5;font-size:13px;text-decoration:none;transition:background .15s}
html body.skin-vector #mw-panel li a:hover{background:#2b4653;border-left-color:#c5a366;color:#fff}
html body.skin-vector #mw-panel li a.dx2-nav-active{background:#34525e;border-left-color:#e0bd75;color:#fff;font-weight:650}
html body.skin-vector #mw-panel h3{font-size:11px;letter-spacing:.1em;color:#cfb987;border-bottom:1px solid #45606b;margin:0 0 8px;padding:6px 8px}
html body.skin-vector #mw-panel .dx2-nav-heading{color:#cfb987;font-size:11px;font-weight:bold;text-transform:uppercase;letter-spacing:.1em;padding:6px 8px;margin-bottom:8px;border-bottom:1px solid #45606b}
@media(max-width:700px){html body.skin-vector #mw-panel{width:auto;padding:16px;box-shadow:none}}
html body.skin-vector #content .dx2-soft-surface{background-color:#e4dcc8!important;color:#253640}
/* Keep the dropdown hit area inside its own button after relocation. */
html body.skin-vector .dx2-bottom-tools #p-cactions{position:relative;flex:0 0 auto;width:auto;min-height:38px}
html body.skin-vector .dx2-bottom-tools #p-cactions.emptyPortlet{display:none!important}
html body.skin-vector .dx2-bottom-tools #p-cactions .vector-menu-checkbox{position:absolute;inset:0;width:100%;height:100%;margin:0}
html body.skin-vector .dx2-bottom-tools #p-cactions .vector-menu-heading{position:relative;pointer-events:none;padding:10px 14px;margin:0}
html body.skin-vector .dx2-bottom-tools #p-cactions .vector-menu-content{top:auto;bottom:100%;right:0}
/* Official Dx2 logo, kept at its original aspect ratio. */
html body.skin-vector .mw-wiki-logo{background-size:auto 130px;background-position:center;background-repeat:no-repeat}
html body.skin-vector #p-logo{background:linear-gradient(145deg,#152a35,#233e48);border-bottom:1px solid #5d7f8b}
/* Three-demon collage: overlapping artwork over geometric light. */
.dx2-game-hero{min-height:340px}.dx2-game-hero .hero-title,.dx2-game-hero>p{max-width:47%}
.dx2-hero-collage{position:absolute;right:0;bottom:0;width:51%;height:100%;background:radial-gradient(ellipse at 50% 80%,#63c5ce44,transparent 65%)}
.dx2-game-hero .dx2-collage-demon{position:absolute;bottom:-18px;width:44%;height:100%;padding:0;background:none;border:0;display:block;transition:filter .2s,transform .2s}
.dx2-collage-demon img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 14px #56bcd755)}
.dx2-game-hero .dx2-collage-lucifer{left:-3%;height:93%;transform:rotate(-8deg);z-index:1}
.dx2-game-hero .dx2-collage-aleph{left:27%;height:108%;z-index:3}
.dx2-game-hero .dx2-collage-barong{right:-4%;height:88%;transform:rotate(8deg);z-index:2}
.dx2-game-hero .dx2-collage-demon:hover{filter:brightness(1.18)}
@media(max-width:900px){.dx2-game-hero{padding-bottom:0}.dx2-game-hero .hero-title,.dx2-game-hero>p{max-width:100%}.dx2-hero-collage{position:relative;width:100%;height:250px;margin-top:20px}.dx2-game-hero .dx2-collage-demon{bottom:-10px}}
/* Framed portraits make the source artwork's crop intentional. */
.dx2-game-hero .dx2-collage-demon{bottom:12px;height:85%;box-sizing:border-box;border:2px solid #88b3c2;border-bottom:4px solid #c3a363;border-radius:8px;background:linear-gradient(145deg,#234651ee,#102331f5);padding:8px;box-shadow:0 8px 24px #0006;overflow:hidden}
.dx2-game-hero .dx2-collage-lucifer{left:0;height:82%;transform:rotate(-6deg)}
.dx2-game-hero .dx2-collage-aleph{left:28%;height:92%;border-color:#bddce4;border-bottom-color:#d6bb7c}
.dx2-game-hero .dx2-collage-barong{right:0;height:78%;transform:rotate(6deg)}
.dx2-collage-demon img{object-fit:contain;filter:drop-shadow(0 0 10px #56bcd744)}
@media(max-width:900px){.dx2-game-hero .dx2-collage-demon{bottom:16px;width:37%}.dx2-game-hero .dx2-collage-lucifer{left:1%}.dx2-game-hero .dx2-collage-aleph{left:31.5%}.dx2-game-hero .dx2-collage-barong{right:1%}}
/* Compact frames with no overlap or clipping of the available source art. */
.dx2-hero-collage{display:flex;align-items:flex-end;justify-content:center;gap:8px;padding:16px 12px;box-sizing:border-box}
.dx2-game-hero .dx2-collage-demon{position:relative;left:auto;right:auto;bottom:auto;transform:none;width:31%;height:auto;aspect-ratio:1 / 2;flex:0 1 31%;padding:2px;border:1px solid #88b3c2;border-bottom:2px solid #c3a363;border-radius:3px;overflow:visible;z-index:auto}
.dx2-game-hero .dx2-collage-demon img{display:block;width:100%;height:auto;object-fit:contain}
@media(max-width:900px){.dx2-hero-collage{height:auto;min-height:0;margin-top:16px}.dx2-game-hero .dx2-collage-demon{width:31%;height:auto;max-width:150px}}
.dx2-character-sprite{display:block;width:100%;background-size:600% 100%;background-position:0 0;background-repeat:no-repeat;animation:dx2-character-loop 4.8s steps(1,end) infinite}
.dx2-has-animation>img{display:none!important}.dx2-animations-paused .dx2-character-sprite{animation-play-state:paused}
.dx2-game-hero .dx2-collage-demon.dx2-has-animation{aspect-ratio:auto}
.dx2-collage-motion{display:block;position:relative;z-index:4;border:1px solid #7193a1;background:#203c49;color:#e4eff3;font-size:12px;padding:6px 10px;margin-top:12px;cursor:pointer;border-radius:3px}
@keyframes dx2-character-loop{0%,15%{background-position:0% 0}25%{background-position:20% 0}35%{background-position:40% 0}60%{background-position:60% 0}75%{background-position:80% 0}90%,100%{background-position:100% 0}}
@media(prefers-reduced-motion:reduce){.dx2-character-sprite{display:none!important;animation:none}.dx2-has-animation>img{display:block!important}.dx2-collage-motion{display:none}}
.dx2-collage-caption{display:block;background:#142c38;color:#e1eef3!important;text-align:center;font-size:12px;line-height:1.4;padding:5px 3px;overflow-wrap:anywhere}
/* Fit each full portrait into the hero height at desktop widths. */
.dx2-game-hero .dx2-collage-demon{display:flex;flex-direction:column;aspect-ratio:auto;min-width:0;min-height:0;overflow:hidden}
.dx2-game-hero .dx2-collage-demon img{width:100%;height:100%;min-height:0;flex:1 1 0;object-fit:contain;object-position:center}
.dx2-game-hero .dx2-collage-caption{flex:0 0 auto;width:100%;box-sizing:border-box}
@media(min-width:901px){.dx2-game-hero .dx2-collage-demon{height:100%;max-height:100%;width:31%}.dx2-hero-collage{align-items:stretch}}
@media(max-width:900px){.dx2-game-hero .dx2-collage-demon{height:270px;max-width:150px}.dx2-hero-collage{align-items:stretch}}
/* Distinct account button without the oversized dark header box. */
html body.skin-vector #p-personal{background:transparent;padding:10px 18px;border-radius:0}
html body.skin-vector #p-personal #pt-login,html body.skin-vector #p-personal #pt-anonlogin{padding:0;margin:0}
html body.skin-vector #p-personal #pt-login a,html body.skin-vector #p-personal #pt-anonlogin a{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#2e5361,#1d3745);color:#f0f6f8!important;border:1px solid #86a9b5;border-bottom:2px solid #c8a364;border-radius:6px;padding:9px 18px;font-size:13px;font-weight:650;text-decoration:none;box-shadow:0 3px 10px #0003}
html body.skin-vector #p-personal #pt-login a:before,html body.skin-vector #p-personal #pt-anonlogin a:before{content:'↪';font-size:18px;color:#e1c58e;line-height:1}
html body.skin-vector #p-personal #pt-login a:hover,html body.skin-vector #p-personal #pt-anonlogin a:hover{background:#365e6e;border-color:#c9dfe6}
.dx2-toc-toggle{padding:4px 9px;margin:6px 0;background:#365766;color:#eef6f8;border:1px solid #8aaab7;border-radius:4px;font-size:12px;cursor:pointer}
html body.skin-vector #toc.dx2-toc-collapsed>ul{display:none!important}
html body.skin-vector #toc.dx2-toc-collapsed{height:auto;min-height:0}
/* Clear shared expand/collapse controls on article sections and tables. */
html body.skin-vector #content .mw-collapsible-toggle{display:inline-flex;align-items:center;gap:6px;min-height:32px;box-sizing:border-box;padding:6px 13px;margin:0 0 8px 12px;background:linear-gradient(135deg,#365968,#233d4c);border:1px solid #93b3bf;border-bottom:2px solid #d3b477;border-radius:5px;color:#eef7fa!important;font-size:13px;font-weight:650;text-decoration:none;cursor:pointer;box-shadow:0 2px 6px #0002}
html body.skin-vector #content .mw-collapsible-toggle a,html body.skin-vector #content .mw-collapsible-toggle .dx2-on-light{color:#eef7fa!important;text-decoration:none}
html body.skin-vector #content .mw-collapsible-toggle:hover{background:#426d7d;border-color:#d0e4eb}
html body.skin-vector #content .mw-collapsible-toggle:focus-visible{outline:3px solid #e5bd75;outline-offset:3px}
html body.skin-vector #content div.mw-collapsible:not(.toc){border:1px solid #668392;border-radius:6px;padding:16px;margin-top:18px;background:#203743}
html body.skin-vector #content div.mw-collapsible>.mw-collapsible-content{clear:both;padding-top:12px}
/* Unified dark article surfaces; semantic affinity colors remain untouched. */
html body.skin-vector .wikitable{background:#233945!important;color:#e2edf1!important;border-color:#607e8b}
html body.skin-vector .wikitable>tbody>tr>th,html body.skin-vector .wikitable>tr>th{background:#314d5b!important;color:#f0f6f8!important;border-color:#607e8b}
html body.skin-vector .wikitable>tbody>tr>td,html body.skin-vector .wikitable>tr>td{border-color:#536f7c}
html body.skin-vector #content .wikitable a,html body.skin-vector #content .wikitable a:visited{color:#a5dde6!important}
html body.skin-vector #content .dx2-soft-surface,html body.skin-vector .dx2-current-events article,html body.skin-vector .dx2-pvp-demon,html body.skin-vector .dx2-skill-card{background:#243e4b!important;color:#e0edf1!important;border-color:#638190!important}
html body.skin-vector #content .dx2-soft-surface h3,html body.skin-vector .dx2-current-events h3,html body.skin-vector .dx2-skill-card h3{color:#eef5f7!important}
html body.skin-vector #content .dx2-soft-surface a{color:#a5dde6!important}
html body.skin-vector #content input,html body.skin-vector #content select,html body.skin-vector #content textarea{background:#203845;color:#edf5f8;border-color:#7395a5}
html body.skin-vector #content .dx2-home-start{background:#304954!important;border-color:#8a9b84!important;color:#edf3ed!important}
html body.skin-vector #content .dx2-home-start strong{color:#f3f6e9!important}
html body.skin-vector #content .dx2-home-start a,html body.skin-vector #content .dx2-home-start a:visited{color:#bfe0d7!important}
.dx2-archive-links{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.dx2-archive-links a{padding:12px 20px;background:#2a4654;border:1px solid #7d9aa6;border-bottom:3px solid #b69b65;border-radius:5px;font-weight:650;text-decoration:none}
.dx2-event-archive-table{width:100%}.dx2-event-archive-table td{line-height:1.6}.dx2-event-archive-table td:first-child{white-space:nowrap;font-size:14px}
/* Dark affinity panels with muted elemental accents. */
html body.skin-vector #content .dx2-affinities{background:#223b48!important;border-color:#648291;color:#e3eef2}
html body.skin-vector #content .dx2-affinity-card{background:#2a4451!important;border-color:#5a7886;color:#e3eef2}
html body.skin-vector #content .dx2-affinity-value{background:#1c3441!important;color:#e3eef2!important;border-color:#54717e}
html body.skin-vector #content .dx2-affinity-label strong{color:#f0f6f8!important}
html body.skin-vector .dx2-affinity-fire .dx2-affinity-label{background:#633e3a}html body.skin-vector .dx2-affinity-ice .dx2-affinity-label{background:#34566e}html body.skin-vector .dx2-affinity-elec .dx2-affinity-label{background:#605c36}html body.skin-vector .dx2-affinity-force .dx2-affinity-label{background:#3d5a43}html body.skin-vector .dx2-affinity-light .dx2-affinity-label{background:#675a3b}html body.skin-vector .dx2-affinity-dark .dx2-affinity-label{background:#534262}
.dx2-demon-art-frame{margin:16px 0 0;padding:8px;border:1px solid #8cb0be;border-bottom:3px solid #c1a16a;border-radius:5px;background:linear-gradient(145deg,#2e505e,#162e3d)}.dx2-demon-art-frame img{display:block;width:100%;max-height:310px;object-fit:contain}.dx2-demon-art-frame figcaption{text-align:center;color:#daeaf0;font-size:13px;padding-top:8px}.dx2-contents-with-art.dx2-toc-collapsed .dx2-demon-art-frame{display:none}
@media(max-width:1199px){.dx2-demon-art-frame{display:none}}
html body.skin-vector .dx2-affinity-value span[style*="color:blue"]{color:#a7cbff!important}
html body.skin-vector .dx2-affinity-value span[style*="color:red"]{color:#ffb7b5!important}
html body.skin-vector .dx2-affinity-value span[style*="color:green"]{color:#a8e3bd!important}

/* Legacy table surfaces and article headings share the dark theme. */
html body.skin-vector #content .mw-parser-output h1,html body.skin-vector #content .mw-parser-output h1 span{color:#edf5f8!important;border-color:#607e8b}
html body.skin-vector #content table.wikitable{font-size:14px;line-height:1.65}
html body.skin-vector #content table.wikitable tr{font-size:14px!important}
html body.skin-vector #content table.wikitable td{padding:9px 12px!important}
html body.skin-vector #content table.wikitable th{background:#314d5b!important;color:#f0f6f8!important}
html body.skin-vector #content .dx2-soft-surface .dx2-on-light{color:#e0edf1!important}
html body.skin-vector #content .dx2-soft-surface a,html body.skin-vector #content .dx2-soft-surface a.dx2-on-light{color:#a5dde6!important}
html body.skin-vector #mw-panel .portal{padding:10px 0 12px;border-bottom:1px solid #45616f;margin:8px 0;background:linear-gradient(90deg,#2b465333,transparent)}
html body.skin-vector #mw-panel h3{font-size:12px;font-weight:700;letter-spacing:.055em;color:#e2c48d;border:0;padding:5px 9px;margin-bottom:6px}
html body.skin-vector #mw-panel li a{font-size:13px;padding:8px 9px}
html body.skin-vector #p-dx2-maintenance{margin-top:24px!important;border-top:2px solid #607680}
html body.skin-vector #mw-panel h3.vector-menu-heading{display:block!important}
html body.skin-vector #content .wikitable li{color:#e0edf1!important}
html body.skin-vector #content .mw-parser-output .mw-headline{color:#edf5f8!important}

/* Shared dark surfaces for guide images, search and encounter cards. */
html body.skin-vector #content .catlinks,html body.skin-vector #content .thumbinner,html body.skin-vector #content figure,html body.skin-vector #content figcaption,html body.skin-vector #content pre,html body.skin-vector #content .dx2-skill-controls,html body.skin-vector #content .dx2-aura-nav,html body.skin-vector #content .dx2-aura-boss,html body.skin-vector #content .dx2-ag2-enemy,html body.skin-vector #content .dx2-ag2-speed,html body.skin-vector #content .dx2-ag2-affinities>div{background:#243e4b!important;color:#e0edf1!important;border-color:#638190!important}
html body.skin-vector #content .dx2-dark-ink{color:#e0edf1!important}
html body.skin-vector #content a.dx2-dark-ink{color:#a5dde6!important}
html body.skin-vector #content button{background:#314f5f;color:#edf5f8;border:1px solid #7395a5;border-radius:4px}
html body.skin-vector #content .dx2-ag2-pending,html body.skin-vector #content .dx2-ag2-enemy>small{color:#b8cbd4!important}
/* Screenshot transcriptions use one shared encounter-card layout. */
html body.skin-vector #content .dx2-guide-mechanic{box-sizing:border-box;min-width:0;padding:18px;margin:12px 0;background:#213b49;border:1px solid #638190;border-top:3px solid #b99a62;border-radius:7px;color:#e0edf1;font-size:15px;line-height:1.75}
.dx2-guide-mechanic-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}.dx2-guide-mechanic-heading strong{font-size:18px;color:#edf5f8}.dx2-guide-mechanic-heading span{padding:2px 8px;border:1px solid #638190;border-radius:4px;background:#314f5f;font-size:12px;color:#bfe0e8}
.dx2-guide-mechanic-text p{margin:0 0 12px}.dx2-guide-mechanic-text p:last-child{margin-bottom:0}
html body.skin-vector #content .dx2-guide-source.mw-collapsible{padding:10px 0 0;margin-top:14px;border:0;border-top:1px solid #567582;background:transparent;border-radius:0;font-size:12px;color:#b5ccd6}
html body.skin-vector #content .dx2-guide-source .mw-collapsible-toggle{min-height:28px;padding:3px 10px;margin-bottom:0;font-size:12px}.dx2-guide-source .mw-collapsible-content{clear:both}.dx2-guide-source figure{float:none!important;margin:12px 0!important}.dx2-guide-source img{max-width:100%;height:auto}
html body.skin-vector #content ::marker{color:#b8cbd4}
html body.skin-vector #content .dx2-ag2-affinities span[style*="color:blue"],html body.skin-vector #content .dx2-ag2-affinities span[style*="color: blue"]{color:#a7cbff!important}
html body.skin-vector #content .dx2-ag2-affinities span[style*="color:red"],html body.skin-vector #content .dx2-ag2-affinities span[style*="color: red"]{color:#ffb7b5!important}
html body.skin-vector #content .dx2-ag2-affinities span[style*="color:green"],html body.skin-vector #content .dx2-ag2-affinities span[style*="color: green"]{color:#a8e3bd!important}
.dx2-guide-mechanic-owner{padding:8px 11px;margin:0 0 14px;border-left:3px solid #b99a62;background:#192f3d;border-radius:3px;color:#d9e8ee;font-size:14px;line-height:1.6}.dx2-guide-mechanic-owner strong{color:#e5c58d;margin-right:5px}.dx2-guide-mechanic-owner a{font-weight:600}
/* Shared encounter HP and difficulty indicator. */
.dx2-encounter-hp{margin:6px 0;color:#bfe3de;font-size:15px;font-weight:400}.dx2-encounter-hp strong{color:#edf7f6}.dx2-ag2-stats>strong{display:inline-block;padding:5px 10px;border:1px solid #638190;border-radius:4px;background:#19313f;color:#bfe3de;font-size:17px}
.dx2-difficulty{box-sizing:border-box;max-width:520px;margin:12px 0 18px;padding:13px 15px;border:1px solid #638190;border-left:3px solid #b99a62;border-radius:6px;background:#1b3341;color:#e0edf1;line-height:1.5}
.dx2-difficulty-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:9px}.dx2-difficulty-title strong{color:#f1d298;font-size:16px}.dx2-difficulty-title span{font-size:14px;color:#d9e8ee}.dx2-difficulty-title small{margin-left:auto;font-size:11px;color:#adbfca}
.dx2-difficulty-track{display:flex;gap:5px;max-width:320px}.dx2-difficulty-step{flex:1;min-width:0;text-align:center;background:#284351;border:1px solid #516d7c;border-radius:3px;color:#acc1cd;font-size:12px;padding:3px 0}.dx2-difficulty-step.is-current{font-weight:750;color:#fff;background:#725b38;border-color:#e3c384;box-shadow:0 0 0 1px #e3c384}
.dx2-difficulty-F .is-current,.dx2-difficulty-E .is-current{background:#335e52;border-color:#9ed4b9;box-shadow:0 0 0 1px #9ed4b9}.dx2-difficulty-S{border-left-color:#c697db}.dx2-difficulty-S .is-current{background:#654279;border-color:#d6b0ee;box-shadow:0 0 0 1px #d6b0ee}.dx2-difficulty-reason{font-size:13px;color:#bbd0da;margin-top:9px}
@media(max-width:600px){.dx2-difficulty{padding:11px}.dx2-difficulty-title small{margin-left:0}}

/* Shared guide directories: lightweight overview navigation. */
html body #content .dx2-guide-directory{background:#223d4a;border:1px solid #5a7a88;border-left:3px solid #c6a45c;border-radius:6px;padding:14px 18px;margin:12px 0 22px;font-size:15px;line-height:2.3;color:#9bb5c0}
html body #content .dx2-guide-directory a{display:inline-block;color:#afe5ed!important;padding:2px 6px;text-decoration:none}
html body #content .dx2-guide-directory a:hover{text-decoration:underline;background:#365563;border-radius:4px}
/* Responsive encounter cards share dark surfaces and readable numeric groups. */
html body.skin-vector #content .dx2-encounter-party{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px;margin:14px 0}
html body.skin-vector #content .dx2-encounter-card{padding:18px;border-radius:10px;border-top:3px solid #bea16b;box-shadow:0 3px 12px #07151b40}
html body.skin-vector #content .dx2-encounter-card h4{font-size:21px;line-height:1.35;margin:0 0 4px!important}
html body.skin-vector #content .dx2-encounter-card .dx2-encounter-hp{font-size:15px;padding:9px 12px;margin:12px 0;background:#172d37;border:1px solid #527380;border-radius:5px}
html body.skin-vector #content .dx2-encounter-calculated{margin:14px 0;background:#1b323e;border:1px solid #506f7d;border-radius:7px;padding:12px}
html body.skin-vector #content .dx2-encounter-stat-title{font-size:14px;font-weight:700;color:#e5eff3}
html body.skin-vector #content .dx2-encounter-stat-title span{display:block;font-size:12px;font-weight:400;color:#b6cdd5;margin:3px 0 9px}
html body.skin-vector #content .dx2-encounter-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
html body.skin-vector #content .dx2-encounter-stat-grid>div{background:#2c4a58;border:1px solid #587785;border-radius:5px;padding:9px 11px}
html body.skin-vector #content .dx2-encounter-stat-grid dt{font-size:12px;font-weight:700;letter-spacing:.04em;color:#b5d8e2}
html body.skin-vector #content .dx2-encounter-stat-grid dd{font-size:22px;line-height:1.3;font-weight:700;margin:3px 0 0;color:#f1f6f8;font-variant-numeric:tabular-nums}
html body.skin-vector #content .dx2-encounter-base{font-size:12px;color:#bccfd7;margin-top:10px}
html body.skin-vector #content .dx2-encounter-affinity-title{font-size:13px;font-weight:700;color:#cfdfE5;margin-top:12px}
html body.skin-vector #content .dx2-encounter-formula-note{font-size:12px;line-height:1.55;color:#b7cbd4;max-width:900px}
@media(max-width:600px){html body.skin-vector #content .dx2-encounter-card{padding:14px}html body.skin-vector #content .dx2-encounter-party{grid-template-columns:1fr}}
html body.skin-vector #content .dx2-encounter-input-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 0;padding-top:10px;border-top:1px solid #52717e}
html body.skin-vector #content .dx2-encounter-input-grid>div{padding:3px 0}
html body.skin-vector #content .dx2-encounter-input-grid dt{font-size:11px;color:#b4d1db;font-weight:700}
html body.skin-vector #content .dx2-encounter-input-grid dd{font-size:15px;color:#e4f0f4;margin:3px 0 0;font-variant-numeric:tabular-nums}
html body.skin-vector #content .dx2-encounter-card{border-top-color:#bea16b!important}
/* Compact source references; retain keyboard focus and the original images. */
html body.skin-vector #content .dx2-guide-source.mw-collapsible,html body.skin-vector #content .dx2-ag2-reference.mw-collapsible{padding:0!important;margin:4px 0 8px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:11px;line-height:1.4;min-height:18px}
html body.skin-vector #content .dx2-guide-source>strong,html body.skin-vector #content .dx2-ag2-reference>strong{font-size:11px;font-weight:400;color:#93aeb9!important}
html body.skin-vector #content .dx2-guide-source .mw-collapsible-toggle,html body.skin-vector #content .dx2-ag2-reference .mw-collapsible-toggle{float:none;min-height:18px;padding:0 3px;margin:0 0 0 5px;background:none!important;border:0!important;box-shadow:none!important;font-size:11px;font-weight:400;color:#93aeb9!important}
html body.skin-vector #content .dx2-guide-source .mw-collapsible-toggle a,html body.skin-vector #content .dx2-ag2-reference .mw-collapsible-toggle a{color:#93aeb9!important}
html body.skin-vector #content .dx2-guide-source:hover .mw-collapsible-toggle,html body.skin-vector #content .dx2-ag2-reference:hover .mw-collapsible-toggle{color:#e1edf1!important;text-decoration:underline}
html body.skin-vector #mw-head .dx2-top-search{position:absolute;top:19px;right:150px;width:min(420px,calc(100% - 340px));min-width:200px;margin:0;float:none}
html body.skin-vector #mw-head .dx2-top-search form{margin:0}
html body.skin-vector #mw-head .dx2-top-search #simpleSearch{width:100%;height:36px;box-sizing:border-box;border:1px solid #63818d;border-radius:6px;background:#203743}
html body.skin-vector #mw-head .dx2-top-search #searchInput{height:34px;background:transparent;color:#eef5f7;font-size:14px;padding:6px 10px;box-sizing:border-box}
html body.skin-vector #mw-head .dx2-top-search #searchInput::placeholder{color:#c2d6df;opacity:1}
@media(max-width:700px){html body.skin-vector #mw-head .dx2-top-search{left:16px;right:120px;top:16px;width:auto;min-width:0}}
html body.skin-vector #content .dx2-guide-source>p{display:inline;margin:0;padding:0;font-size:11px;line-height:18px}
html body.skin-vector #mw-head .dx2-top-search #searchButton{background:none!important;text-indent:0!important;color:#d9e8ee!important;font-size:12px!important;width:32px;height:34px;border:0;border-left:1px solid #63818d;right:0;top:0;border-radius:0 5px 5px 0}
html body.skin-vector #mw-head .dx2-top-search #mw-searchButton{display:none}
html body.skin-vector #mw-head .dx2-top-search #searchButton{opacity:1}
