/* Magic & Lore — companion to existing World Hub and Locations styles */
.world-site .lore-root {background:#0d131d;color:#e7e9ed}
.world-site .lore-root .subhero {
  min-height: 300px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(100deg, rgba(8,11,19,.90) 0%, rgba(8,11,19,.66) 50%, rgba(8,11,19,.26) 100%), url('/world/assets/img/magic.webp') center center / cover no-repeat, #0c141e;
}
.world-site .lore-root .subhero::before,
.world-site .lore-root .subhero::before,
.world-site .lore-root .subhero::before,
.world-site .lore-root .subhero::before,
.world-site .lore-root .subhero::after {content:none;display:none}
.world-site .lore-root .subhero .container {position:relative;z-index:1}
.world-site .lore-root .subhero h1{max-width:900px}
.world-site .lore-root .subhero p{max-width:735px;line-height:1.7}
.world-site .lore-kicker{font-weight:700;letter-spacing:.15em;text-transform:uppercase;font-size:11px;color:#dfb77d}
.world-site .lore-heading{font:600 clamp(23px,3.6vw,32px) Cinzel,Georgia,serif;margin:7px 0 15px;color:#f1e6d2}
.world-site .lore-intro-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:30px;align-items:center;margin-bottom:30px}
.world-site .lore-intro-grid p{line-height:1.85;color:#c6cdd5;max-width:730px}
.world-site .lore-note{background:#1c2027;border:1px solid #62513a;border-radius:13px;padding:20px;color:#cfb994;font-size:13px}
.world-site .lore-note strong{color:#f1d6a5;display:block;font:600 15px Cinzel,serif;margin-bottom:8px}
.world-site .lore-note p{margin:0;color:#bfc4cd;line-height:1.7;font-size:12px}
.world-site .lore-search-label{display:block;font-size:13px;font-weight:700;color:#e6d0a6;margin-bottom:8px}
.world-site #lore-search{max-width:500px;width:100%;color:#fff;background:#131e28;border:1px solid #465260;border-radius:11px;padding:12px 16px;font:inherit;margin-bottom:18px}
.world-site #lore-search:focus-visible{outline:2px solid #d9b47c}
.world-site .lore-filter-help{font-size:12px;color:#9ca9b4;margin:0 0 22px}
.world-site .lore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.world-site .lore-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;min-width:0;border:1px solid #3e4854;background:linear-gradient(165deg,#1e2833,#131a24);border-radius:15px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
.world-site .lore-card:hover,.world-site .lore-card:focus-visible{transform:translateY(-3px);border-color:#d3aa74;box-shadow:0 12px 29px #05070d99}
.world-site .lore-card-top{height:145px;position:relative;overflow:hidden;background:radial-gradient(circle at 70% 42%,rgba(227,161,83,.2),transparent 45%),#161f2c}
.world-site .lore-card-top img{width:100%;height:100%;object-fit:cover;display:block;opacity:.79;transition:transform .25s}
.world-site .lore-card:hover .lore-card-top img{transform:scale(1.04)}
.world-site .lore-card-top:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(10,14,23,.65))}
.world-site .lore-card-symbol{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:82px;color:rgba(232,186,119,.7);font-family:Georgia,serif;text-shadow:0 0 40px #e5a25642}
.world-site .lore-card-body{flex:1;display:flex;flex-direction:column;padding:22px}
.world-site .lore-card-body small{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#dfb981;font-weight:700}
.world-site .lore-card-body h2{color:#f5e7d2;font:600 21px Cinzel,Georgia,serif;margin:8px 0 10px}
.world-site .lore-card-body p{color:#c0cbd5;font-size:13px;line-height:1.72;margin:0;flex:1}
.world-site .lore-card-body .lore-link{display:block;color:#e6c28a;font-size:12px;font-weight:700;margin-top:17px}
.world-site .lore-empty{padding:16px;border:1px dashed #535a65;border-radius:12px;display:none;color:#bec9d4}
.world-site .lore-section-separator{border-top:1px solid #333c47;background:linear-gradient(165deg,#111923,#0c111a)}
.world-site .lore-promise{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.world-site .lore-promise>div{padding:20px;border:1px solid #3b4650;border-radius:13px;background:#151e29}
.world-site .lore-promise strong{color:#efd9b5;font:600 16px Cinzel,serif}
.world-site .lore-promise p{color:#bdc8d2;font-size:13px;line-height:1.7;margin:8px 0 0}
.world-site .lore-detail-main{background:radial-gradient(ellipse at 80% 0,#1e29351a,transparent 40%),#0d141e}
.world-site .lore-detail-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:42px;align-items:start}
.world-site .lore-aside{position:sticky;top:24px;border:1px solid #3c4651;border-radius:13px;padding:20px;background:#141d28}
.world-site .lore-aside h2{font:600 16px Cinzel,serif;margin:0 0 10px;color:#eedab9}
.world-site .lore-aside a{color:#c4cdd8;display:block;border-top:1px solid #303a45;text-decoration:none;padding:11px 0;font-size:13px;line-height:1.45}
.world-site .lore-aside a:hover{color:#edc88d}
.world-site .lore-article{min-width:0;max-width:900px}
.world-site .lore-article p{color:#c2ccd6;line-height:1.84;font-size:14px}
.world-site .lore-article h2{font:600 clamp(22px,2.8vw,28px) Cinzel,serif;color:#f4e3c7;margin:32px 0 11px}
.world-site .lore-article h3{font:600 17px Cinzel,serif;color:#f3d5a9;margin:0 0 9px}
.world-site .lore-lead{color:#d9dfe7!important;font-size:15px!important;line-height:1.85!important;margin:0 0 20px}
.world-site .lore-feature{position:relative;overflow:hidden;border:1px solid #40505b;border-radius:14px;min-height:170px;background:linear-gradient(120deg,#202c3a,#111923);margin-bottom:25px}
.world-site .lore-feature img{width:100%;height:auto;max-height:310px;object-fit:cover;display:block;opacity:.9}
.world-site .lore-feature figcaption{font-size:11px;padding:9px 13px;color:#aeb9c3;background:#121921}
.world-site .lore-feature-art{height:155px;display:grid;place-items:center;background:radial-gradient(circle at 53% 50%,#b5855b27,transparent 47%),linear-gradient(125deg,#1a2c39,#131823)}
.world-site .lore-feature-art span{color:#dfb87c;font:normal 100px Georgia,serif;text-shadow:0 0 38px #b77d5480}
.world-site .lore-fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:19px 0 22px}
.world-site .lore-fact{padding:17px;border-radius:10px;background:#1b2632;border:1px solid #3a4854}
.world-site .lore-fact strong{color:#e3bf85;font-size:11px;letter-spacing:.1em;text-transform:uppercase;display:block}
.world-site .lore-fact span{display:block;color:#d8dfe5;font-size:13px;line-height:1.6;margin-top:6px}
.world-site .lore-fact a{color:#efca92}
.world-site .lore-box-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 25px}
.world-site .lore-box{background:#18232e;border:1px solid #3a4650;border-radius:12px;padding:20px;scroll-margin-top:25px}
.world-site .lore-box img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin-bottom:14px}
.world-site .lore-box h3{margin:0 0 9px}
.world-site .lore-box p{margin:0;font-size:13px}
.world-site .lore-box .lore-fine{color:#e4c18b;margin-bottom:8px;display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.world-site .lore-box a{color:#ebc58c}
.world-site .lore-section-note{border-left:3px solid #c9a06e;background:#211e20;padding:14px 18px;margin:24px 0;border-radius:0 10px 10px 0}
.world-site .lore-section-note strong{display:block;color:#ebc28d;margin-bottom:5px}
.world-site .lore-section-note p{margin:0;font-size:13px}
.world-site .lore-spoiler{border:1px solid #66503f;border-radius:11px;margin:18px 0;background:#241e20;overflow:hidden;scroll-margin-top:24px}
.world-site .lore-spoiler summary{cursor:pointer;list-style:none;padding:17px 21px;font-weight:700;color:#edd0a2;display:flex;align-items:center;gap:12px;font-size:14px}
.world-site .lore-spoiler summary::-webkit-details-marker{display:none}
.world-site .lore-spoiler summary:before{content:none;display:none}
.world-site .lore-spoiler summary:after{content:'＋';margin-left:auto;font-size:21px;line-height:1}
.world-site .lore-spoiler[open] summary:after{content:'−'}
.world-site .lore-spoiler summary:focus-visible{outline:2px solid #f4c286;outline-offset:-3px}
.world-site .lore-spoiler .lore-spoiler-inner{padding:5px 21px 19px;border-top:1px solid #503f37}
.world-site .lore-spoiler .lore-spoiler-inner p{font-size:13px}
.world-site .lore-spoiler .lore-spoiler-inner h3{margin:16px 0 6px}
.world-site .lore-spoiler ul{color:#cbd2d9;font-size:13px;line-height:1.85;padding-left:21px}
.world-site .lore-spoiler li+li{margin-top:8px}
.world-site .lore-related{border-top:1px solid #323d48;background:#0d151f}
.world-site .lore-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.world-site .lore-related-grid a{padding:18px;background:#17212c;border:1px solid #3a4651;border-radius:12px;text-decoration:none}
.world-site .lore-related-grid a:hover{border-color:#ceae7e}
.world-site .lore-related-grid small{display:block;color:#d0ad7a;letter-spacing:.07em;text-transform:uppercase;font-size:10px;margin-bottom:6px}
.world-site .lore-related-grid strong{font:600 17px Cinzel,serif;color:#f2e3cb}
.world-site .lore-related-grid span{display:block;color:#bfc9d3;font-size:12px;line-height:1.6;margin-top:6px}
.world-site .lore-back{color:#e7bf82;font-size:13px;font-weight:700;text-decoration:none;display:inline-block;margin-top:23px}
.world-site .lore-root [hidden]{display:none!important}
@media(max-width:980px){.world-site .lore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.world-site .lore-detail-layout{grid-template-columns:200px minmax(0,1fr);gap:24px}}
@media(max-width:720px){.world-site .lore-intro-grid,.world-site .lore-detail-layout{grid-template-columns:1fr}.world-site .lore-aside{position:static}.world-site .lore-promise,.world-site .lore-related-grid{grid-template-columns:1fr}.world-site .lore-feature img{max-height:240px}.world-site .lore-root .subhero{min-height:260px}}
@media(max-width:520px){.world-site .lore-grid,.world-site .lore-fact-grid,.world-site .lore-box-grid{grid-template-columns:1fr}.world-site .lore-card-top{height:128px}.world-site .lore-card-body{padding:18px}.world-site .lore-spoiler summary{padding:15px 16px}.world-site .lore-spoiler .lore-spoiler-inner{padding:4px 16px 17px}}
@media(prefers-reduced-motion:reduce){.world-site .lore-card,.world-site .lore-card img{transition:none}}


/* Cleaner image placeholders; no diamonds or ornamental character glyphs. */
.world-site .lore-art-quiet{background:radial-gradient(circle at 40% 30%,rgba(195,155,100,.10),transparent 55%),linear-gradient(135deg,#1c2430,#0b131b)}
.world-site .lore-art-shadow{background:radial-gradient(ellipse at 70% 40%,rgba(91,69,100,.25),transparent 65%),linear-gradient(145deg,#1b1722,#0e141d)}
.world-site .lore-art-silver{background:radial-gradient(ellipse at 54% 35%,rgba(144,171,186,.19),transparent 65%),linear-gradient(145deg,#1a252e,#111923)}
.world-site .lore-art-witch{background:radial-gradient(ellipse at 50% 40%,rgba(119,99,147,.21),transparent 68%),linear-gradient(145deg,#211d2b,#0e141d)}
.world-site .lore-art-void{background:radial-gradient(ellipse at 65% 38%,rgba(79,79,96,.12),transparent 65%),linear-gradient(145deg,#171a21,#090e14)}
.world-site .lore-feature-quiet{min-height:110px;margin-bottom:25px}
.world-site .lore-card-top.lore-art-quiet:after{display:none}
.world-site .lore-spoiler summary:before{content:none;display:none}
