
*{box-sizing:border-box}body{margin:0;background:#141613;color:#f4e9d2;font:16px/1.6 system-ui,sans-serif}a{color:inherit}header,nav,.wrap{max-width:1220px;margin:auto;padding-inline:clamp(20px,5vw,70px)}header{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:12px;flex-wrap:wrap}header a{text-decoration:none}header strong{font:700 24px Georgia;letter-spacing:.16em;color:#ecc485}nav{margin:0;padding:0;display:flex;gap:clamp(12px,3vw,32px);flex-wrap:wrap;font-size:14px}nav a:hover,nav a:focus-visible{color:#ffcc84}.hero{background:linear-gradient(90deg,#141613 4%,rgba(20,22,19,.94) 27%,rgba(20,22,19,.18) 100%),linear-gradient(0deg,#141613,transparent 24%),url(monstruos-sombras.webp) center 45%/cover;min-height:580px;display:grid;align-items:center}.hero .wrap{width:100%;padding-block:80px}.eyebrow{color:#ecc485;text-transform:uppercase;letter-spacing:.24em;font-size:12px;font-weight:700}h1,h2,h3{font-family:Georgia,serif;margin:0;line-height:1.06}h1{font-size:clamp(70px,12vw,148px);letter-spacing:-.06em}h2{font-size:clamp(33px,5vw,58px)}h3{font-size:29px}p{color:#d2c7b5;max-width:47ch}.button{display:inline-block;padding:11px 19px;background:#e7bc7b;color:#201810;text-decoration:none;font-weight:700;margin:12px 12px 0 0}.button.secondary{background:#171913;color:#f4e9d2;border:1px solid #8c7656}.button:hover{filter:brightness(1.15)}section.wrap{padding-block:52px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:16px;margin-top:23px}article{background:#20221c;border-top:2px solid #ad8552;padding:24px}article p{margin-bottom:0}.play{background:#1c1f19;border-block:1px solid #373729}details{border-bottom:1px solid #514836;padding:13px 0}summary{cursor:pointer;color:#f0cd95}footer{border-top:1px solid #373729;padding-block:24px;color:#ccc2b1}a:focus-visible,summary:focus-visible{outline:2px solid #ecc485;outline-offset:4px}@media(max-width:550px){header{padding-block:15px}.hero{min-height:490px;background-position:center,center,60% center}}

body{display:grid;grid-template-columns:234px minmax(0,1fr)}.sidebar{position:sticky;top:0;align-self:start;max-height:100dvh;overflow:auto;background:#1c1e18;border-right:1px solid #51432d;padding:20px 15px 16px}.brand{display:block;text-decoration:none;color:#ecc485;font:bold 27px Georgia;letter-spacing:.15em;padding:3px 9px 12px}.brand small{display:block;font:700 10px system-ui;letter-spacing:.22em;margin-top:4px}.sidebar nav{display:block}.navgroup{margin-top:10px}.navgroup span{display:block;color:#d6ad75;font-size:11px;letter-spacing:.13em;text-transform:uppercase;border-bottom:1px solid #544630;padding:3px 9px}.navgroup a{display:block;text-decoration:none;padding:3px 9px;border-left:2px solid transparent}.navgroup a:hover,.navgroup a[aria-current]{background:#353023;border-color:#e7bc7b;color:#f5cf95}.toggle{display:none}.panel{min-height:65vh}.page [hidden]{display:none!important}
@media(max-width:720px){body{display:block}.sidebar{z-index:2;max-height:90dvh;border-right:0;border-bottom:1px solid #51432d;padding:7px 15px}.brand{display:inline-block;padding:4px 0}.brand small{display:none}.toggle{display:block;float:right;background:#29271e;border:1px solid #8c7656;color:#f4e9d2;padding:6px 12px}.sidebar nav{display:none}.sidebar nav.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.page section{scroll-margin-top:64px}}
.languages{display:flex;gap:6px;margin:3px 9px 12px}.languages button{cursor:pointer;background:#24251d;border:1px solid #665338;color:#f4e9d2;padding:4px 9px;font:700 12px system-ui}.languages button[aria-pressed="true"]{background:#e7bc7b;color:#201810}.languages button:focus-visible{outline:2px solid #ecc485;outline-offset:2px}.hero{background-image:linear-gradient(90deg,#100e10 4%,#100e10e8 28%,#100e101a 78%),linear-gradient(0deg,#141613,transparent 48%),url(monstruos-sombras.webp);background-position:center,center,center 42%}.chapter{font:italic 21px Georgia;color:#e3c1a0;margin-top:12px}.night .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.night article{padding:0;overflow:hidden;background:#221b1d;border-top-color:#956a58}.night article>div{padding:20px 24px}.night img{display:block;width:100%;height:clamp(170px,24vw,280px);object-fit:cover;filter:brightness(.78) saturate(.78)}.support a{color:#f1ce9c}.notice{margin-top:24px;border-left:2px solid #ad8552;padding:12px 18px;background:#242119;color:#d2c7b5}.hero{background-color:#100e10;background-size:cover,cover,min(100%,1180px) auto;background-repeat:no-repeat;background-position:center,center,right center;min-height:clamp(380px,40vw,530px)}@media(max-width:720px){.hero{align-items:end;min-height:460px;background-size:cover,cover,auto min(84vw,405px);background-position:center,center,right top;background-image:linear-gradient(0deg,#100e10 32%,transparent 69%),linear-gradient(90deg,#100e1066,transparent 50%),url(monstruos-sombras.webp)}.hero .wrap{padding-block:0 40px}}.hero .wrap{padding-block:48px}.hero h1{font-size:clamp(68px,10vw,124px)}section.wrap{padding-block:34px}.night .grid{margin-top:17px}.night article>div{padding:16px 20px}@media(max-width:720px){.hero .wrap{padding-block:0 28px}}.page .wrap{margin-inline:0;padding-inline:clamp(20px,2.5vw,42px);max-width:none}.page .hero{background-position:center,center,right 28%;background-size:cover,cover,min(100%,max(1180px,82%)) auto}.page .hero .wrap{max-width:100%}@media(max-width:720px){.page .hero{background-position:center,center,right top;background-size:cover,cover,auto min(84vw,405px)}}.page .hero{background-size:cover,cover,auto 100%;background-position:center,center,right center;background-image:linear-gradient(90deg,#100e10 10%,transparent 58%),linear-gradient(0deg,#14161399,transparent 12%),url(monstruos-sombras.webp);background-color:#100e10}@media(max-width:720px){.page .hero{background-size:cover,cover,100% auto;background-position:center,center,right top;background-image:linear-gradient(0deg,#100e10 27%,transparent 52%),linear-gradient(90deg,#100e1022,transparent 45%),url(monstruos-sombras.webp)}}.page .hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(90deg,#100e10 0%,#100e1066 48%,#100e1033),linear-gradient(0deg,#141613,transparent 32%),url(niebla.webp) center/cover}.hero-art{position:absolute;z-index:-1;inset:0 0 0 clamp(340px,28%,480px);width:min(calc(100% - clamp(340px,28%,480px)),clamp(444px,37.125vw,712px));height:100%;object-fit:contain;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 87%,transparent)}.page .hero{min-height:clamp(430px,36vw,690px)}@media(max-width:900px){.hero-art{inset:0 0 0 32%;width:68%;object-position:right center}.page .hero h1{font-size:clamp(62px,11vw,102px)}}@media(max-width:720px){.page .hero{min-height:0;display:flex;flex-direction:column}.hero-art{position:static;z-index:auto;width:100%;height:auto;max-height:440px;object-position:center;mask-image:linear-gradient(#000 94%,transparent)}.page .hero .wrap{padding-block:18px 28px}}.page .hero{background:#100e10;min-height:0;aspect-ratio:3/1}.page .hero .hero-art{inset:0;width:100%;height:100%;object-fit:cover;mask-image:none}.page .hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#100e10dc,transparent 48%),linear-gradient(0deg,#141613aa,transparent 24%)}@media(max-width:1000px){.page .hero{aspect-ratio:auto;min-height:330px}.page .hero .hero-art{object-position:right center}}@media(max-width:720px){.page .hero{min-height:0}.page .hero .hero-art{height:auto}.page .hero::after{content:none}}#quests .quest-card{max-width:1060px;padding:0;margin-top:14px;border:1px solid #594933;background:#211e19}.quest-card summary{padding:15px 18px;font-size:1.1rem;font-weight:700}.quest-card summary small{font:600 .78rem system-ui;color:#d2c7b5;margin-left:10px}.quest-card .spoiler{float:right}.quest-body{padding:16px 18px 20px;border-top:1px solid #594933;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 24px}.quest-body h3{font-size:1.32rem}.quest-body ol{padding-left:22px}.quest-body li+li{margin-top:6px}.quest-body figure{margin:0}.quest-reward{text-align:center;min-width:152px;padding:12px;background:#181814}.quest-reward img{display:block;margin:0 auto 8px}.quest-map{grid-column:1/-1}.quest-map img{display:block;max-width:100%;max-height:520px;object-fit:contain}.quest-map figcaption,.quest-reward small{font-size:.8rem;color:#c6b8a2}@media(max-width:580px){.quest-body{grid-template-columns:1fr}.quest-card .spoiler{float:none}}.quest-reward img{image-rendering:pixelated}.quest-new{border-top:1px solid #594933;padding:8px 18px 14px}.quest-new p{max-width:72ch}.quest-new h3{font-size:1.3rem}.quest-items{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 20px}.quest-items figure{margin:0}.quest-new li{margin-block:4px}.quest-lore{padding:12px 18px;color:#e3c1a0;font-style:italic}.quest-new .quest-lore{padding-inline:0}.quest-new .quest-map{margin:12px 0}.quest-new .quest-map img{max-height:650px}.quest-reward img+img{margin-top:8px}
.asset-missing{display:inline-block;padding:8px;border:1px dashed #66543b;color:#d6c39d;font-size:.82rem}.approved-reward,.recovery-note{padding:10px 14px;border-left:2px solid #cba66a;background:#24251d;margin:10px 0}.live-box{margin-top:20px}.live-box input,.live-box select,.live-box button{font:inherit;padding:8px;background:#292a21;border:1px solid #96774e;color:#f4e9d2;margin:4px}.live-box table{width:100%;border-collapse:collapse}.live-box td,.live-box th{padding:8px;border-bottom:1px solid #504336;text-align:left}.live-box{overflow-x:auto}[hidden]{display:none!important}


/* Ajuste v2.1: quests solo con recompensas */
#quests .quest-map{display:none !important}
#quests .quest-reward .asset-missing{display:none !important}
#quests .quest-reward{min-width:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
#quests .quest-reward figcaption{font-size:.95rem;font-weight:700;color:#f1e6cf}
#quests .quest-reward img{max-width:64px;max-height:64px}

.catalog-table{overflow-x:auto;margin:18px 0 28px}.catalog-table table{border-collapse:collapse;width:100%;font-size:.92rem}.catalog-table th,.catalog-table td{padding:10px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid #4f4233}.catalog-table th{color:#ebbd7a;background:#29251c}.catalog-table td{background:#1d1e18}.catalog-table tbody tr:hover td{background:#29251c}.catalog-sprite{width:48px;height:48px;object-fit:contain;image-rendering:pixelated;vertical-align:middle;margin-right:8px}.catalog-heading{margin-top:30px}.catalog-tools input{font:inherit;padding:10px 14px;color:#f4e9d2;background:#25251d;border:1px solid #92754f;width:min(100%,440px);margin-top:18px}.catalog-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:16px 0}.catalog-cards article{padding:14px;background:#25251d;border-top:2px solid #99774b}#quests .quest-reward img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}#quests .quest-reward{min-width:125px}#quests .quest-items{gap:12px}
/* v2.3 – library navigation */
.v23-tools{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:24px 0;padding:14px 16px;background:#201f19;border:1px solid #594933}.v23-tools label{display:grid;gap:6px;color:#decaa8;font-size:.86rem;flex:1;min-width:170px}.v23-tools input,.v23-tools select{font:inherit;padding:10px 12px;background:#141613;color:#f4e9d2;border:1px solid #806747;border-radius:3px;max-width:100%;min-width:0}.v23-tools output{color:#d0b98f;padding:9px 0}.v23-section{margin:28px 0 34px}.v23-section>h3{font-size:1.55rem;padding:0 0 10px;border-bottom:1px solid #8d7044;margin:0 0 14px}.v23-section>h3 small{font:400 .85rem system-ui;color:#b6a88e}.v23-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px;align-items:start}.v23-card{padding:16px;background:#211f19;border:1px solid #51452f;border-top:2px solid #a88652;min-width:0;overflow-wrap:anywhere}.v23-card h3,.v23-card h4{margin:0 0 8px;font-family:Georgia,serif;color:#f3e7d0}.v23-card h4{font-size:1.15rem}.v23-card p{margin:8px 0;color:#cfc3af}.v23-card details{padding:0;border:0;background:transparent;margin:12px 0 0;max-width:none}.v23-card summary{padding:8px 0;cursor:pointer;color:#e7bc7b;font-size:.91rem}.v23-card details p{font-size:.85rem;line-height:1.5}.v23-item-head,.v23-loot,.v23-quest-link{font:inherit;color:#f3e7d0;border:0;cursor:pointer;text-align:left;background:transparent}.v23-item-head{display:flex;align-items:center;gap:13px;width:100%;padding:0 0 10px;min-height:56px}.v23-item-head strong{font-size:1.03rem;line-height:1.3}.v23-item-head:hover,.v23-loot:hover,.v23-quest-link:hover{color:#f3c77d}.v23-icon{width:40px;height:40px;object-fit:contain;image-rendering:pixelated;flex:none;display:block}.v23-monster{width:84px;height:84px;object-fit:contain;image-rendering:pixelated;flex:none;background:#151611;border:1px solid #544a34;padding:6px}.v23-noimage{display:inline-grid;place-items:center;flex:none;background:#151611;color:#bbac91;width:40px;height:40px;border:1px dashed #7c694b}.v23-creature-head{display:flex;gap:16px;align-items:center;min-height:92px}.v23-creature-head h4{font-size:1.32rem}.v23-stats{display:flex;gap:6px;flex-wrap:wrap}.v23-stat{font:500 .77rem system-ui;background:#161711;border:1px solid #4b4535;padding:5px 7px;display:inline-flex;gap:5px;align-items:center;color:#d9c9ae}.v23-stat b{color:#f0dfbc}.v23-loot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,132px),1fr));gap:7px;margin-top:8px}.v23-loot{display:flex;align-items:center;gap:8px;min-width:0;background:#181914;border:1px solid #514630;padding:7px;font-size:.79rem;line-height:1.3;overflow-wrap:anywhere}.v23-loot img{width:30px;height:30px}.v23-loot:hover{border-color:#c49a60;background:#29251b}.v23-unavailable{cursor:default;color:#c3b69b}.v23-boss-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:18px;margin:22px 0;align-items:start}.v23-boss h3{font-size:1.65rem;margin:0 0 12px}.v23-boss-level{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#f2d4a1;font-size:.88rem;border-top:1px solid #705a3c;padding:10px 0}.v23-boss-level b{font-size:1.45rem}.v23-solo{font-size:.84rem;color:#cbb68e;background:#2c251b;padding:10px;margin-bottom:12px}.v23-boss h4{margin-top:16px;font-size:1.02rem}.v23-role{font-size:.92rem;color:#e7bc7b;margin-bottom:6px}.v23-card .v23-muted{font:400 .82rem system-ui;color:#b3a58b}.v23-offer small{display:block;color:#c6b79a;font-size:.72rem;padding:4px}.v23-quest-link{display:grid;justify-items:center;width:100%;gap:4px;padding:5px}.v23-quest-link figcaption{text-align:center}.v23-card button:focus-visible,.v23-quest-link:focus-visible,.v23-tools input:focus-visible,.v23-tools select:focus-visible{outline:2px solid #e7bc7b;outline-offset:2px}#v23-item-dialog{background:#201e18;border:1px solid #a88652;color:#f4e9d2;max-width:min(600px,calc(100vw - 32px));width:520px;padding:20px;max-height:85vh;overflow:auto}#v23-item-dialog::backdrop{background:#000b}.v23-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.v23-dialog-top h2{font-size:1.45rem;margin:0}.v23-dialog-top button{font:inherit;font-size:1.7rem;line-height:1;background:#2c281d;color:#f4e9d2;border:1px solid #8a6b45;padding:3px 10px;cursor:pointer}#v23-dialog-content .v23-card{border:0;padding:0;background:transparent}#v23-dialog-content .v23-item-head{cursor:default}#v23-dialog-content .v23-origin p{font-size:.94rem}#v23-dialog-content .v23-icon{width:64px;height:64px}
@media(max-width:580px){.v23-grid,.v23-boss-grid{grid-template-columns:1fr}.v23-tools label{min-width:100%}.v23-tools{padding:12px}.v23-creature-head{gap:11px}.v23-card{padding:14px}}
/* Isolate library headers from the original global header styles. */
.v23-card>header{position:static;margin:0;padding:0;width:100%;max-width:none;min-width:0;background:none;border:0;box-shadow:none;text-align:left;justify-content:flex-start;align-items:center;flex-wrap:nowrap}.v23-card>header.v23-creature-head{display:flex}.v23-creature-head>div{flex:1;min-width:0}.v23-boss>header{display:block}.v23-boss-level{width:100%;align-items:center;justify-content:space-between}.v23-boss-level b{white-space:nowrap;flex:none;word-break:normal;overflow-wrap:normal}.v23-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr))}.v23-boss-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}.v23-creature-head .v23-stats{flex-wrap:wrap}.v23-card>header h4{overflow-wrap:normal;word-break:normal}.v23-section .v23-card .v23-stats{margin-top:6px}#criaturas>.notice,#items>.notice,#bosses>.notice,#npcs>.notice{max-width:85ch;width:auto}.v23-boss-grid:empty{display:none}

/* v2.4 Combat profiles */
.v24-source{margin:.65rem 0 0;font-size:.83rem;line-height:1.5;color:#d2c5b1}.v24-combat{margin:12px 0 8px;border:1px solid #594933;background:#1b1b16;min-width:0}.v24-combat>summary,.v24-wiki>summary{cursor:pointer;padding:12px;color:#e7bc7b;font-weight:700;font-size:.95rem}.v24-body{padding:0 12px 14px;display:flex;flex-direction:column;gap:9px;min-width:0}.v24-body h5{font:700 1.03rem Georgia,serif;color:#e7bc7b;margin:12px 0 0;padding-top:9px;border-top:1px solid #51452f}.v24-legend{font-size:.76rem;color:#bfb39e;line-height:1.45;margin:0}.v24-facts,.v24-resist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.v24-facts .v24-kv{flex-direction:column;gap:4px;padding:8px;background:#24251d;border:1px solid #443b2c}.v24-kv{display:flex;align-items:baseline;justify-content:space-between;gap:8px;line-height:1.35;font-size:.8rem}.v24-kv b{color:#f1e6cf;text-align:right;flex-shrink:0}.v24-element{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;padding:7px 8px;border:1px solid #4e4432;font-size:.78rem;background:#24251d}.v24-element strong{font-variant-numeric:tabular-nums}.v24-element.immune strong{color:#8bc9d7}.v24-element.resistant strong{color:#a6d3a0}.v24-element.weak strong{color:#f0a18e}.v24-element.normal strong{color:#d3c9b9}.v24-element small{color:#a49984}.v24-chips{display:flex;flex-wrap:wrap;gap:5px}.v24-chip{padding:5px 8px;background:#29271e;border:1px solid #5c4d36;color:#e2d1b1;font-size:.78rem}.v24-abilities{display:grid;gap:7px}.v24-ability{padding:10px;background:#24251d;border:1px solid #50432e;display:flex;flex-direction:column;gap:6px;min-width:0}.v24-ability-title{color:#e7bc7b;margin-bottom:3px}.v24-summon-img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated;align-self:center}.v24-wiki{border:1px dashed #51452f;margin:5px 0 0}.v24-wiki>p,.v24-wiki>ul{margin:0 12px 10px}.v24-wiki li{font-size:.8rem}.v23-creature{align-self:start;min-width:0}.v23-creature:has(.v24-combat[open]){grid-column:1/-1}.v23-creature:has(.v24-combat[open]) .v24-abilities{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.v23-creature:has(.v24-combat[open]) .v24-resist{grid-template-columns:repeat(auto-fit,minmax(108px,1fr))}.v24-body [data-copy]{overflow-wrap:anywhere}

#criaturas .v24-body p{max-width:none}.v24-element strong{margin-left:auto}

/* v2.5: fuentes graficas por nombre */
.wiki-sprite-unavailable{display:inline-block;min-width:24px;text-align:center;color:#a99b83}.v23-monster,.v24-summon-img,.v23-icon,#quests img[data-wiki-key]{object-fit:contain;image-rendering:pixelated}
