/* One illustrated Wellyssar language for reading pages, tools and the cabinet.
   Pricedown remains fixed artwork on the homepage; dynamic text uses OFL Russo. */
@font-face{font-family:'Wellyssar Display';src:url('../fonts/RussoOne-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
html.loading-site{color-scheme:dark;scrollbar-color:#627c79 #14282d}
html.loading-site body.loading-site{--font-title:'Wellyssar Display','Arial Black',sans-serif;--world-display:'Wellyssar Display','Arial Black',sans-serif;--bg:#14282d;--bg-raised:#203a3e;--surface:#203a3e;--text:#efe9d7;--muted:#b5c5bc;--gold:#f4c879;--gold-bright:#ffe3ae;--line:#fff0d13d;--line-soft:#fff0d11c;--world-ink:#0d2026;--world-border:#0d2026;--world-paper:#e9dab8;--world-panel:#203a3e;--world-shadow:4px 4px 0 #0d2026;background:var(--bg);color:var(--text);font-family:var(--font-body);text-shadow:none}
html.loading-site[data-site-theme="light"] body.loading-site:not(.poster-home){color-scheme:light;--bg:#e8dcc1;--bg-raised:#f5ead5;--surface:#f5ead5;--text:#20363b;--muted:#56665f;--gold:#775021;--gold-bright:#203a3e;--line:#142a3547;--line-soft:#142a3524;--world-panel:#f5ead5;--world-border:#19343b;--world-shadow:3px 3px 0 #19343b;background:var(--bg);color:var(--text)}
html.loading-site body.loading-site:not(.poster-home) #header{position:relative;background:#12292ff5;border-bottom:2px solid #0d2026}
html.loading-site body.loading-site #main-footer{background:#10252c;color:#d4ded0;border-top:3px solid #0d2026;margin-top:0}
html.loading-site body.loading-site #main-footer .footer-caption{font:500 12px/1.8 var(--font-body);color:#c9d3c8;max-width:390px;text-align:left;letter-spacing:0}
html.loading-site body.loading-site #main-footer .footer-caption p{margin:0 0 11px}
html.loading-site body.loading-site #main-footer .footer-caption .footer-site-description{color:#f4c879;font-size:12px;font-weight:700}
html.loading-site body.loading-site #main-footer :is(.footer-menu-title,.footer-document-grid>a:hover,.footer-shortcut-links>a:hover){color:#f4c879}
html.loading-site body.loading-site #main-footer :is(.footer-document-grid>a,.footer-document-grid>button,.footer-shortcut-links>a){font-size:12px;font-weight:650;color:#e2e2ce}
html.loading-site body.loading-site :is(h1,h2,h3,h4,h5,h6){font-family:var(--world-display);font-weight:400;letter-spacing:-.025em;color:var(--text)}
html.loading-site body.poster-home :is(.poster-title,.radio-track h2){font-family:var(--font-body);font-weight:900}
html.loading-site body.loading-site :is(button,input,select,textarea){font-family:var(--font-body)}
html.loading-site body.loading-site :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--gold);outline-offset:4px}
html.loading-site body.loading-site ::selection{background:#f4c879;color:#14282d}
html.loading-site body.loading-site :is(.eyebrow,.section-kicker,.guide-section-label){color:var(--gold);font-size:10px;font-weight:800;letter-spacing:.13em}
html.loading-site body.loading-site :is(.btn,.database-more,.guide-sidebar-start,.guide-theme-controls button){border-radius:0;font-weight:800}
html.loading-site body.loading-site :is(.btn-primary,.cookie-save){background:#f4c879;color:#14282d;border:2px solid #0d2026;box-shadow:4px 4px 0 #0d2026;text-shadow:none}
html.loading-site body.loading-site .btn-primary:hover{background:#ffe0a3;transform:translate(1px,1px);box-shadow:3px 3px 0 #0d2026}
html.loading-site body.loading-site .btn-outline-yellow{border:2px solid var(--gold);color:var(--gold-bright);background:transparent;box-shadow:2px 2px 0 var(--world-ink)}
html.loading-site body.loading-site .btn-outline-yellow:hover{background:var(--gold);color:var(--bg)}
html.loading-site body.loading-site .guide-breadcrumbs{color:var(--muted);padding-top:23px;padding-bottom:17px;font-size:11px}
html.loading-site body.loading-site .guide-breadcrumbs a{color:var(--text)}
html.loading-site body.loading-site .guide-breadcrumbs>span:last-child{color:var(--gold)}
html.loading-site body.loading-site .guide-categories{border:2px solid var(--world-border);background:var(--surface);box-shadow:3px 3px 0 var(--world-border);margin-bottom:24px}
html.loading-site body.loading-site .guide-categories>a{color:var(--text);font-size:11px;font-weight:750;min-height:47px;border-color:transparent}
html.loading-site body.loading-site .guide-categories>a[aria-current="page"]{background:#f4c879;color:#14282d;border-bottom-color:#0d2026}
html.loading-site body.loading-site .guide-categories>a:hover{background:#f4c87922;color:var(--gold-bright)}
html.loading-site body.loading-site .guide-categories>a[aria-current="page"]:hover{color:#14282d}
html.loading-site body.loading-site .world-hero{position:relative;isolation:isolate;overflow:hidden;background:#294d56;border:2px solid #0d2026;box-shadow:5px 5px 0 #0d2026;min-height:430px;padding:43px 35px 0;margin-bottom:30px;color:#fff0d1}
html.loading-site body.loading-site .world-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--world-scene) center/cover no-repeat;transform:scaleX(var(--world-flip,1));opacity:1}
html.loading-site body.loading-site .world-hero .guide-hero-copy{max-width:67%;padding-bottom:30px;position:relative;z-index:2}
html.loading-site body.loading-site .world-hero :is(h1,.hero-title){position:relative;z-index:2;margin:20px 0 23px;font-family:var(--world-display);font-size:clamp(35px,4.6vw,66px);font-weight:400;line-height:1.12;letter-spacing:-.035em;color:#fff0d1;-webkit-text-stroke:2px #10262d;paint-order:stroke fill;text-shadow:3px 4px 0 #10262d;overflow-wrap:anywhere;max-width:950px}
html.loading-site body.loading-site .world-hero :is(h1,.hero-title)>span{color:#f4c879}
html.loading-site body.loading-site .world-hero :is(p,.hero-copy){position:relative;z-index:2;color:#e1e5d6;font-size:14px;line-height:1.85;text-shadow:none;max-width:600px}
html.loading-site body.loading-site .world-hero .eyebrow{color:#f4c879}
html.loading-site body.loading-site .world-hero-character{position:absolute;z-index:0;right:-1%;bottom:0;width:43%;height:100%;object-fit:contain;object-position:center bottom;pointer-events:none;transform-origin:center 93%;animation:world-breathe 7.5s ease-in-out infinite;animation-play-state:paused}
html.loading-site body.loading-site .world-hero .class-hero-art{top:auto;max-height:none;max-width:none;opacity:1;filter:none}
html.loading-site body.loading-site .world-hero .class-evolution{position:relative;z-index:2;max-width:65%;padding-bottom:26px;color:#fff0d1}
html.loading-site body.loading-site .world-hero .class-evolution :is(a,b,small){color:#fff0d1}
html.loading-site body.loading-site .world-hero.world-in-view .world-hero-character{animation-play-state:running}
html.loading-site body.loading-site[data-world-motion-off] .world-hero .world-hero-character{animation-play-state:paused}
html.loading-site body.loading-site .world-hero .guide-hero-art{display:none}
html.loading-site body.loading-site .world-hero :is(.guide-facts,.profession-levels){position:relative;z-index:3;background:#142c32ea;border-top:2px solid #0d2026;margin:20px -35px 0;padding:22px 35px;max-width:none;color:#fff0d1}
html.loading-site body.loading-site .world-hero .guide-facts dd{font:400 25px/1.25 var(--world-display);color:#f4c879}
html.loading-site body.loading-site .world-hero .guide-facts :is(dt,small){color:#c0d2c8}
html.loading-site body.loading-site .world-hero .guide-facts>div+div{border-color:#fff0d12a}
html.loading-site body.loading-site .guide-layout{padding-top:30px;gap:45px;grid-template-columns:220px minmax(0,1fr)}
html.loading-site body.loading-site .guide-sidebar{top:22px}
html.loading-site body.loading-site .guide-toc{background:var(--surface);border:2px solid var(--world-border);box-shadow:3px 3px 0 var(--world-border);padding:18px;border-radius:0}
html.loading-site body.loading-site .guide-toc>summary{font:400 18px/1.3 var(--world-display);color:var(--text);padding-bottom:14px;border-color:var(--line)}
html.loading-site body.loading-site .guide-toc>summary>span{font:700 9px/1.4 var(--font-body);color:var(--muted)}
html.loading-site body.loading-site :is(.guide-toc nav>a,.guide-sidebar-links a){color:var(--muted);font-size:11px;line-height:1.55;padding-block:7px}
html.loading-site body.loading-site :is(.guide-toc nav>a:hover,.guide-toc nav>a[aria-current],.guide-sidebar-links a:hover){color:var(--gold-bright)}
html.loading-site body.loading-site .guide-sidebar-start{border:2px solid var(--world-border);padding:12px 16px;background:#f4c879;color:#14282d;box-shadow:3px 3px 0 var(--world-border);font-size:11px}
html.loading-site body.loading-site :is(.guide-section,.guide-end){border-color:var(--line);padding-bottom:30px;margin-bottom:30px}
html.loading-site body.loading-site :is(.guide-section h2,.guide-end h2){font:400 clamp(25px,2.7vw,35px)/1.24 var(--world-display);color:var(--text);margin:0 0 22px;letter-spacing:-.025em}
html.loading-site body.loading-site :is(.guide-section h3,.guide-steps h3){font:400 21px/1.35 var(--world-display);color:var(--gold-bright)}
html.loading-site body.loading-site :is(.guide-section p,.guide-end p,.guide-section li){font-size:14px;line-height:1.9;color:var(--muted)}
html.loading-site body.loading-site .guide-section strong{color:var(--text);font-weight:750}
html.loading-site body.loading-site .guide-section .guide-lead{color:var(--text);font-size:15px;line-height:1.85}
html.loading-site body.loading-site :is(.guide-note,.guide-callout){border:0;border-left:4px solid var(--gold);background:var(--surface);box-shadow:3px 3px 0 var(--world-border);padding:20px 24px;color:var(--text)}
html.loading-site body.loading-site :is(.guide-note>b,.guide-callout strong){color:var(--gold-bright);font-weight:800}
html.loading-site body.loading-site :is(.guide-table,.database-table,.item-source-table){border:2px solid var(--world-border);box-shadow:3px 3px 0 var(--world-border);background:var(--surface)}
html.loading-site body.loading-site :is(.guide-table,.database-table,.item-source-table) :is(td,th){border-color:var(--line-soft);color:var(--text)}
html.loading-site body.loading-site :is(.guide-table,.database-table,.item-source-table) thead th{background:#142c33;color:#f4c879;font:800 10px/1.6 var(--font-body);text-transform:uppercase;letter-spacing:.04em}
html.loading-site body.loading-site :is(.guide-facts dd,.guide-number-cards strong,.guide-spec-list h3){font-family:var(--world-display);color:var(--gold-bright)}
html.loading-site body.loading-site :is(.guide-command-list>div,.guide-number-cards>div,.guide-rule,.guide-faq details,.fishing-skill,.quest-finder,.item-attributes>div){background:var(--surface);border:1px solid var(--line);border-radius:0;color:var(--text)}
html.loading-site body.loading-site :is(.guide-faq summary,.fishing-skill summary,.fishing-skill h3){color:var(--text);font-family:var(--world-display)}
/* Full-row summary keeps the whole question clickable, with real space at
   both frame edges. Answers share that inset without doubling the gap. */
html.loading-site body.loading-site .guide-faq{display:grid;gap:10px}
html.loading-site body.loading-site .guide-faq details{padding:0;border:1px solid var(--line)}
html.loading-site body.loading-site .guide-faq summary{padding:18px 54px 18px 22px;margin:0;line-height:1.6}
html.loading-site body.loading-site .guide-faq summary::after{right:22px;top:16px}
html.loading-site body.loading-site .guide-faq details>p{margin:0;padding:0 22px 20px}
html.loading-site body.loading-site .guide-faq details>p+p{padding-top:0}
html.loading-site body.loading-site .guide-table :is(td,th){padding:14px 18px}
html.loading-site body.loading-site .guide-number-cards>div{padding:20px 22px}
html.loading-site body.loading-site .guide-command-list>div{padding:18px 22px}
html.loading-site body.loading-site .guide-rule{padding:20px 22px}
html.loading-site body.loading-site :is(.quest-overview>div,.profession-quest,.class-skill,.database-range-filters){background:var(--surface);border:1px solid var(--line);border-radius:0}
html.loading-site body.loading-site .quest-overview>div{padding:16px 18px}
html.loading-site body.loading-site .profession-quest>summary{padding:21px 24px;background:transparent}
html.loading-site body.loading-site .quest-heading strong{font:400 23px/1.35 var(--world-display);color:var(--text)}
html.loading-site body.loading-site .quest-heading small{color:var(--muted)}
html.loading-site body.loading-site .quest-body{padding:22px 24px}
html.loading-site body.loading-site .database-filter-field :is(input,select){border:2px solid var(--world-border);border-radius:0;background:var(--bg);color:var(--text)}
html.loading-site body.loading-site .database-filter-reset{border-radius:0;border:1px solid var(--line);color:var(--gold-bright)}
html.loading-site body.loading-site :is(.project-doc-sidebar nav,.project-doc-contact,.project-doc-related,.project-doc-table){border:1px solid var(--line);border-radius:0;background:var(--surface)}
html.loading-site body.loading-site .project-doc-sidebar nav{padding:18px 12px}
html.loading-site body.loading-site .project-doc-sidebar nav>a{border-radius:0}
html.loading-site body.loading-site .project-doc-sidebar nav>a[aria-current]{background:#f4c879;color:#14282d;box-shadow:none}
html.loading-site body.loading-site .project-doc-sidebar nav>a[aria-current] .project-doc-number{color:inherit}
html.loading-site body.loading-site .enchant-window{background:#203a3e;border:2px solid #0d2026;border-radius:0;box-shadow:5px 5px 0 #0d2026;color:#fff0d1}
html.loading-site body.loading-site .enchant-window-title{background:#142d33;border-bottom:2px solid #0d2026;color:#f4c879;font-family:var(--world-display)}
html.loading-site body.loading-site .enchant-selected{border:1px solid #fff0d155;border-radius:0;background:#142d33}
html.loading-site body.loading-site .enchant-selected strong{color:#fff0d1}
html.loading-site body.loading-site .enchant-slot strong{font-family:var(--world-display)}
html.loading-site body.loading-site .epic-schedule strong{font-family:var(--world-display);font-weight:400}
html.loading-site body.loading-site .epic-gallery{border:2px solid var(--world-border);box-shadow:4px 4px 0 var(--world-border);border-radius:0}
html.loading-site body.loading-site .epic-picker{background:#142d33}
html.loading-site body.loading-site .epic-picker button{border-radius:0;color:#fff0d1}
html.loading-site body.loading-site .epic-picker button[aria-pressed="true"]{background:#f4c879;color:#14282d}
html.loading-site body.loading-site :is(.knowledge-section-card,.quest-card,.profession-card){border:2px solid var(--world-border);border-radius:0;box-shadow:4px 4px 0 var(--world-border);background:var(--surface)}
html.loading-site body.loading-site .knowledge-section-card{min-height:280px;padding:26px}
html.loading-site body.loading-site .knowledge-section-card::before{background:linear-gradient(90deg,#132d34ed 5%,#132d3470 63%,#132d3420),var(--world-card-character) right 6px bottom -25px/auto 118% no-repeat,var(--world-card-scene) center/cover no-repeat;opacity:1}
html.loading-site body.loading-site .knowledge-section-card :is(h2,p,small){position:relative;z-index:1;max-width:70%}
html.loading-site body.loading-site .knowledge-section-card h2{font:400 27px/1.2 var(--world-display);color:#fff0d1;text-shadow:2px 3px 0 #0d2026;max-width:78%}
html.loading-site body.loading-site .knowledge-section-card p{font-size:12px;line-height:1.7;color:#dce4d5}
html.loading-site body.loading-site .knowledge-section-card small{color:#f4c879;font-weight:800}
html.loading-site body.loading-site .knowledge-section-card>span{color:#f4c879}
html.loading-site body.loading-site :is(.quest-card h2,.quest-card h3,.profession-card h2,.profession-card h3){font-family:var(--world-display);font-size:22px;line-height:1.3;color:var(--text)}
html.loading-site body.loading-site :is(.database-search,.database-select select,.database-filters button,.quest-finder input,.quest-finder select){border:2px solid var(--world-border);border-radius:0;background:var(--surface);color:var(--text)}
html.loading-site body.loading-site .database-search{min-height:50px;box-shadow:3px 3px 0 var(--world-border)}
html.loading-site body.loading-site .database-search input{color:var(--text)}
html.loading-site body.loading-site .database-select{font-weight:700;color:var(--muted)}
html.loading-site body.loading-site .database-filters button{font-weight:800;padding-inline:17px}
html.loading-site body.loading-site .database-filters button[aria-pressed="true"]{background:#f4c879;border-color:#0d2026;color:#14282d;box-shadow:2px 2px 0 #0d2026}
html.loading-site body.loading-site :is(.database-status,.item-attributes-note){color:var(--muted)}
html.loading-site body.loading-site .item-database-card{background:var(--surface);border:1px solid var(--line);border-radius:0;padding:17px}
html.loading-site body.loading-site .item-database-card:hover{border-color:var(--gold);box-shadow:2px 2px 0 var(--world-border)}
html.loading-site body.loading-site .item-database-card strong{font-weight:750;color:var(--text)}
html.loading-site body.loading-site :is(.item-page-header,.recipe-page-header){padding-block:30px 28px;border-bottom:2px solid var(--world-border)}
html.loading-site body.loading-site :is(.item-page-header h1,.recipe-page-header h1){font:400 clamp(30px,4vw,51px)/1.18 var(--world-display);color:var(--text);letter-spacing:-.035em;overflow-wrap:anywhere}
html.loading-site body.loading-site :is(.item-page-title>img,.recipe-page-title>img){border:2px solid var(--world-border);box-shadow:3px 3px 0 var(--world-border);border-radius:0}
html.loading-site body.loading-site .item-details{padding-top:24px}
html.loading-site body.loading-site .item-attributes>div{padding:15px;border:1px solid var(--line);background:var(--surface)}
html.loading-site body.loading-site .item-attributes :is(dt,dd){color:var(--text)}
html.loading-site body.loading-site .item-attributes dt{color:var(--muted);font-size:10px;font-weight:800}
html.loading-site body.loading-site .item-attributes dd{font-size:14px;font-weight:800}
html.loading-site body.loading-site :is(.quest-item,.recipe-material,.recipe-part,.craft-tree){border-radius:0;border-color:var(--line);background:var(--surface)}
html.loading-site body.loading-site .quest-inline-map{color:var(--gold-bright);font-weight:750;border-bottom:1px dashed var(--gold);text-shadow:none}
html.loading-site body.loading-site .quest-inline-map:hover{background:#f4c87922}
html.loading-site body.loading-site :is(.quest-map-dialog,.fish-loot-dialog){border:2px solid #0d2026;border-radius:0;box-shadow:6px 6px 0 #0d2026;background:#1d383e;color:#fff0d1}
html.loading-site body.loading-site :is(.quest-map-header,.fish-loot-header){background:#142c33;border-bottom:2px solid #0d2026}
html.loading-site body.loading-site :is(.quest-map-header h2,.fish-loot-header h2){font-family:var(--world-display);color:#fff0d1}
html.loading-site body.loading-site :is(.quest-map-dialog button,.fish-loot-dialog button){border-radius:0}
html.loading-site body.loading-site :is(.enchant-panel,.enchant-results,.enchant-settings){border:2px solid var(--world-border);border-radius:0;background:var(--surface);box-shadow:3px 3px 0 var(--world-border)}
html.loading-site body.loading-site :is(.enchant-panel h2,.enchant-results h2,.enchant-settings h2){font-family:var(--world-display);color:var(--text)}
html.loading-site body.loading-site .start-hero{width:min(1280px,calc(100% - 96px));padding-block:35px 35px;margin-top:35px;margin-inline:auto}
html.loading-site body.loading-site .start-hero :is(.hero-title,.hero-copy){max-width:65%}
html.loading-site body.loading-site .start-hero .back-link{position:relative;z-index:2;color:#f4c879}
html.loading-site body.loading-site .start-layout{padding-top:20px;gap:40px}
html.loading-site body.loading-site .howto-step{border-bottom:2px solid var(--line);background:transparent}
html.loading-site body.loading-site .howto-step-title{font:400 29px/1.25 var(--world-display);color:var(--text)}
html.loading-site body.loading-site .howto-step-pos{color:var(--gold);font-weight:800}
html.loading-site body.loading-site .howto-step-description{color:var(--muted);line-height:1.85}
html.loading-site body.loading-site .howto-step .image img{object-fit:contain;filter:none;max-height:290px}
html.loading-site body.loading-site :is(.downloads-column,.help-panel){border-radius:0}
html.loading-site body.loading-site .downloads-column .download-panel{border:2px solid var(--world-border);background:var(--surface);box-shadow:4px 4px 0 var(--world-border);padding:25px}
html.loading-site body.loading-site .download-panel h2{font-family:var(--world-display);font-size:26px;line-height:1.25;color:var(--text)}
html.loading-site body.loading-site .download-panel :is(.download-name strong,.download-meta){color:var(--text)}
html.loading-site body.loading-site .download-panel .download-action{color:var(--gold-bright)}
html.loading-site body.loading-site .help-panel{border:1px solid var(--line);background:var(--surface);color:var(--text)}
html.loading-site body.loading-site .project-doc-layout{padding-top:40px;gap:45px}
html.loading-site body.loading-site .project-doc-content{padding:30px;background:var(--surface);border:2px solid var(--world-border);box-shadow:4px 4px 0 var(--world-border)}
html.loading-site body.loading-site .project-doc-content h1{font:400 clamp(30px,4vw,48px)/1.2 var(--world-display);color:var(--text)}
html.loading-site body.loading-site .project-doc-content :is(h2,h3){font-family:var(--world-display);color:var(--text)}
html.loading-site body.loading-site .project-doc-content :is(p,li){color:var(--muted);font-size:14px;line-height:1.9}
html.loading-site body.loading-site .project-doc-content strong{color:var(--text);font-weight:750}
html.loading-site body.loading-site .project-document-nav{background:var(--surface);border:2px solid var(--world-border);padding:18px;box-shadow:3px 3px 0 var(--world-border)}
html.loading-site body.loading-site .project-document-nav a{color:var(--text)}
/* Player-facing native SPA: the existing extension's palette API is preserved. */
html.loading-site[data-wellyssar-loading="illustrated"]{--bg-primary:#14282d!important;--bg-secondary:#19343a!important;--bg-card:#203a3e!important;--bg-sidebar:#11272e!important;--input-bg:#142d33!important;--bg-hover:#2c4e54!important;--text-primary:#fff0d1!important;--text-secondary:#c1d0c5!important;--text-muted:#9bb1a8!important;--accent:#f4c879!important;--accent-hover:#ffe3a8!important;--accent-rgb:244,200,121;--border:#fff0d139!important;--border-hover:#f4c879a6!important;--radius-sm:0px!important;--radius-md:0px!important;--radius-lg:0px!important;--font-heading:'Wellyssar Display','Arial Black',sans-serif!important;--shadow-soft:4px 4px 0 #0d2026!important;--cabinet-sidebar-bg:#11272ef5;--cabinet-sidebar-border:#0d2026;--cabinet-sidebar-link-color:#c1d0c5;--cabinet-sidebar-active-bg:#f4c879;--cabinet-sidebar-active-color:#14282d;--cabinet-sidebar-active-border:#0d2026;--cabinet-sidebar-hover-bg:#f4c87912;--cabinet-header-bg:#11272ef5;--cabinet-header-border:#0d2026}
html.loading-site[data-wellyssar-loading="illustrated"] body{background:#14282d;color:#fff0d1}
html.loading-site[data-wellyssar-loading="illustrated"] body::before{background:var(--world-scene) center/cover fixed;opacity:.07;mix-blend-mode:normal}
html.loading-site[data-wellyssar-loading="illustrated"] body::after{background:#14282de8}
html.loading-site[data-wellyssar-loading="illustrated"] .cabinet-layout{background:transparent}
html.loading-site[data-wellyssar-loading="illustrated"] :is(.cabinet-header,:is(.cabinet-sidebar,.cabinet-sidebar-editable)){background:#11272ef5;border-color:#0d2026;box-shadow:none}
html.loading-site[data-wellyssar-loading="illustrated"] :is(h1,h2,h3,h4,h5,h6){font-family:var(--font-heading);font-weight:400;color:#fff0d1;letter-spacing:-.025em;text-shadow:none}
html.loading-site[data-wellyssar-loading="illustrated"] .gothic-card{background:#203a3ef7;border:2px solid #0d2026;border-radius:0;box-shadow:4px 4px 0 #0d2026}
html.loading-site[data-wellyssar-loading="illustrated"] .gothic-card>header{border-bottom:1px solid #fff0d133}
html.loading-site[data-wellyssar-loading="illustrated"] .gothic-modal{border:2px solid #fff0d175;border-radius:0;background:#1d383e;box-shadow:7px 7px 0 #0d2026}
html.loading-site[data-wellyssar-loading="illustrated"] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border:2px solid #0d2026;border-radius:0;background:#142d33;color:#fff0d1;box-shadow:none}
html.loading-site[data-wellyssar-loading="illustrated"] :is(button.btn-gothic-primary,.mmorpg-inventory-primary){border:2px solid #0d2026;border-radius:0;background:#f4c879;color:#14282d;box-shadow:3px 3px 0 #0d2026;text-shadow:none}
html.loading-site[data-wellyssar-loading="illustrated"] button.btn-gothic-secondary{border:2px solid #f4c87990;border-radius:0;color:#f4c879;background:transparent;box-shadow:none}
html.loading-site[data-wellyssar-loading="illustrated"] table th{background:#142d33;color:#f4c879;font-family:var(--font-body);font-weight:800}
html.loading-site[data-wellyssar-loading="illustrated"] :is(table td,table th){border-color:#fff0d129}
html.loading-site[data-wellyssar-loading="illustrated"] .cabinet-sidebar-logo{position:relative;background:url('../images/home-loading/logo.webp') center/contain no-repeat;min-height:64px}
html.loading-site[data-wellyssar-loading="illustrated"] .cabinet-sidebar-logo>*{opacity:0}
/* The native cabinet uses data-theme; public reading pages use site-theme. */
html.loading-site[data-wellyssar-loading="illustrated"][data-theme="light"]{color-scheme:light;--bg-primary:#e8dcc1!important;--bg-secondary:#eddfc3!important;--bg-card:#f5ead5!important;--bg-sidebar:#f5ead5!important;--input-bg:#fff7e7!important;--bg-hover:#dfceb0!important;--text-primary:#20363b!important;--text-secondary:#435a59!important;--text-muted:#56665f!important;--accent:#775021!important;--accent-hover:#503715!important;--accent-rgb:119,80,33;--border:#19343b55!important;--border-hover:#775021!important;--cabinet-sidebar-bg:#f5ead5;--cabinet-sidebar-link-color:#435a59;--cabinet-sidebar-hover-bg:#dfceb0;--cabinet-header-bg:#f5ead5}
html.loading-site[data-wellyssar-loading="illustrated"][data-theme="light"] body.loading-site{--bg:#e8dcc1;--surface:#f5ead5;--bg-raised:#f5ead5;--text:#20363b;--muted:#56665f;--gold:#775021;--gold-bright:#20363b;background:#e8dcc1;color:#20363b}
html.loading-site[data-wellyssar-loading="illustrated"][data-theme="light"] body::after{background:#e8dcc1e8}
html.loading-site[data-wellyssar-loading="illustrated"][data-theme="light"] :is(.cabinet-header,:is(.cabinet-sidebar,.cabinet-sidebar-editable),.gothic-card,.gothic-modal){background:#f5ead5;color:#20363b;border-color:#19343b}
html.loading-site[data-wellyssar-loading="illustrated"][data-theme="light"] :is(h1,h2,h3,h4,h5,h6){color:#20363b}
html.loading-site[data-wellyssar-loading="illustrated"][data-theme="light"] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:#fff7e7;color:#20363b}
html.loading-site[data-wellyssar-loading="illustrated"][data-theme="light"] table th{background:#dfceb0;color:#20363b}
html.loading-site[data-wellyssar-loading="illustrated"][data-theme="light"] :is(table td,table th){border-color:#19343b33}
html.loading-site[data-wellyssar-loading="illustrated"][data-theme="light"] button.btn-gothic-secondary{color:#775021;border-color:#775021}
@keyframes world-breathe{0%,100%{transform:scaleY(1) rotate(-.08deg)}50%{transform:scaleY(1.007) rotate(.12deg)}}
@media(max-width:1100px){html.loading-site body.loading-site .guide-layout{grid-template-columns:190px minmax(0,1fr);gap:30px}html.loading-site body.loading-site .world-hero{padding-inline:28px}html.loading-site body.loading-site .world-hero .guide-hero-copy{max-width:73%}html.loading-site body.loading-site .world-hero :is(.guide-facts,.profession-levels){margin-inline:-28px;padding-inline:28px}}
@media(max-width:760px){html.loading-site body.loading-site .guide-layout{display:block;padding-top:24px}html.loading-site body.loading-site .guide-sidebar{position:static;margin-bottom:28px}html.loading-site body.loading-site .guide-categories{grid-template-columns:repeat(2,minmax(0,1fr))}html.loading-site body.loading-site .guide-categories>a{min-height:44px;font-size:10px;padding:10px 9px}html.loading-site body.loading-site .world-hero{min-height:370px;padding:28px 22px 0;box-shadow:3px 3px 0 #0d2026}html.loading-site body.loading-site .world-hero .guide-hero-copy{max-width:100%}html.loading-site body.loading-site .world-hero :is(h1,.hero-title){font-size:clamp(31px,7.5vw,47px);max-width:90%;-webkit-text-stroke:1.5px #10262d;text-shadow:2px 3px 0 #10262d}html.loading-site body.loading-site .world-hero-character{width:58%;right:-10%;opacity:.4}html.loading-site body.loading-site .world-hero::before{background:var(--world-scene) center/cover no-repeat}html.loading-site body.loading-site .world-hero :is(p,.hero-copy){font-size:13px;line-height:1.8;max-width:95%}html.loading-site body.loading-site .world-hero :is(.guide-facts,.profession-levels){margin-inline:-22px;padding-inline:22px}html.loading-site body.loading-site .world-hero .guide-facts dd{font-size:22px}html.loading-site body.loading-site .knowledge-section-card{min-height:245px;padding:22px}html.loading-site body.loading-site .knowledge-section-card h2{font-size:25px}html.loading-site body.loading-site :is(.guide-section h2,.guide-end h2){font-size:27px}html.loading-site body.loading-site .guide-section h3{font-size:21px}html.loading-site body.loading-site .start-hero{width:calc(100% - 40px);margin-top:25px}html.loading-site body.loading-site .start-hero :is(.hero-title,.hero-copy){max-width:92%}html.loading-site body.loading-site .start-layout{gap:25px}html.loading-site body.loading-site .project-doc-layout{padding-top:25px;gap:25px}html.loading-site body.loading-site .project-doc-content{padding:23px}html.loading-site body.loading-site .item-attributes>div{padding:12px}html.loading-site body.loading-site .guide-table{box-shadow:2px 2px 0 var(--world-border)}}
@media(prefers-reduced-motion:reduce){html.loading-site body.loading-site .world-hero-character{animation:none;will-change:auto}}
@media print{html.loading-site body.loading-site{background:#fff!important;color:#111!important}html.loading-site body.loading-site .world-hero-character{display:none}html.loading-site body.loading-site :is(p,li,h1,h2,h3,strong){color:#111!important;text-shadow:none!important;-webkit-text-stroke:0!important}html.loading-site body.loading-site :is(.guide-toc,.project-doc-content){box-shadow:none!important;background:#fff!important}}

@media(max-width:760px){html.loading-site body.loading-site .world-hero .class-evolution{max-width:100%;padding-bottom:22px}html.loading-site body.loading-site .profession-quest>summary{padding:18px 17px}html.loading-site body.loading-site .quest-body{padding:20px 17px}html.loading-site body.loading-site .guide-table :is(td,th){padding:11px 12px}}

html.loading-site body.loading-site .world-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#19363ef7 0%,#19363ed4 33%,#19363e24 76%)}
@media(max-width:760px){html.loading-site body.loading-site .world-hero::after{background:linear-gradient(90deg,#19363efb,#19363e9c)}}
