html { scroll-behavior: smooth; scroll-padding-top: 24px; }
.liber-hero { display: grid; grid-template-columns: 1fr 280px; align-items: center; gap: 50px; padding: 70px 36px 52px; }
.liber-hero h1 { font-family: Georgia, serif; font-size: clamp(52px,8vw,92px); line-height: .98; font-weight: 400; letter-spacing: .03em; margin: 24px 0; }
.liber-hero > img { width: 100%; height: 390px; object-fit: contain; }
.liber-reading { font-size: 12px; letter-spacing: .12em; color: #eebbc9; }
.liber-lead { font-size: 14px; line-height: 2; color: #bdb5bf; margin-top: 28px; }
.liber-index { border-top: 1px solid #38313b; border-bottom: 1px solid #38313b; padding: 22px 0; gap: 24px; font-size: 12px; }
.liber-section { padding: 64px 0; border-bottom: 1px solid #302d33; }
.liber-section h2 { font-size: clamp(24px,4vw,34px); font-weight: 500; margin: 18px 0 26px; }
.liber-section h3 { font-size: 19px; font-weight: 500; }
.liber-section p, .lore-glossary dd { font-size: 13px; line-height: 2; color: #bdb5bf; }
.section-lead { max-width: 680px; }
.group-heading { margin: 44px 0 24px; border-left: 2px solid #eebbc9; padding-left: 20px; }
.group-heading h3 { margin: 0 0 10px; }
.group-heading p { margin: 0; max-width: 700px; }
.character-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.character { background: #19181c; border: 1px solid #302d33; }
.character-portrait { position: relative; display: grid; place-items: center; background: #e9e6e4; height: 230px; overflow: hidden; }
.character-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.character-pitch { position: absolute; left: 0; bottom: 0; background: #101113; color: #eebbc9; padding: 8px 14px; font-family: Georgia, serif; font-size: 16px; }
.character-body { padding: 24px; }
.character-body h4 { font-size: 23px; font-weight: 500; margin: 0 0 16px; }
.character-body p { margin: 14px 0 0; font-size: 13px; }
.character-body .character-world { color: #f1eee9; }
.character-world small { display: block; font-size: 10px; color: #a99ba8; }
.character-body .character-keys { color: #eebbc9; font-size: 10px; padding: 10px 0; border-top: 1px solid #38313b; border-bottom: 1px solid #38313b; }
.portrait-placeholder { color: #777079; font-size: 100px; }
.portrait-note { font-size: 11px; color: #5b525b; }
.lore-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.lore-columns h3 { color: #eebbc9; }
.subsection-title { margin: 44px 0 24px; }
.land-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.land-grid article { padding: 24px; background: #19181c; border-top: 1px solid #655362; }
.land-grid h4 { font-size: 17px; margin: 14px 0; font-weight: 500; }
.lore-glossary { display: grid; grid-template-columns: 220px 1fr; margin: 0; }
.lore-glossary dt, .lore-glossary dd { border-top: 1px solid #302d33; padding: 20px 0; margin: 0; }
.lore-glossary dt { font-size: 13px; color: #eebbc9; line-height: 2; }
.region-list article { display: grid; grid-template-columns: 100px 1fr 100px; gap: 20px; padding: 24px 0; border-top: 1px solid #302d33; align-items: start; }
.region-pitch { font-family: Georgia, serif; font-size: 22px; color: #eebbc9; }
.region-list h3 { font-size: 17px; margin: 0 0 8px; }
.region-list small { font-size: 11px; color: #a99ba8; }
.region-list p { margin: 8px 0 0; }
.region-list a { font-size: 12px; color: #eebbc9; }
.magic-figure { margin: 32px 0 0; }
.magic-figure img { display: block; width: 100%; height: auto; }
.magic-figure figcaption, .liber-section .source-note { font-size: 11px; color: #948894; margin-top: 18px; line-height: 1.9; }
.title-section > p:not(.eyebrow) { max-width: 720px; }
@media (max-width: 900px) { .character-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .liber-hero { padding-left: 0; padding-right: 0; } }
@media (max-width: 600px) {
 .liber-hero { grid-template-columns: 1fr 120px; gap: 12px; padding-top: 48px; }
 .liber-hero h1 { font-size: 43px; }
 .liber-hero > img { height: 280px; }
 .liber-lead { font-size: 12px; }
 .liber-index { gap: 16px; }
 .character-grid, .land-grid, .lore-columns { grid-template-columns: 1fr; }
 .character-portrait { height: 280px; }
 .liber-section { padding: 44px 0; }
 .lore-glossary { grid-template-columns: 1fr; }
 .lore-glossary dt { padding-bottom: 0; }
 .lore-glossary dd { border-top: 0; padding-top: 8px; }
 .region-list article { grid-template-columns: 65px 1fr; gap: 14px; }
 .region-list a { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.page-liber ruby { ruby-align: center; }
.page-liber rt { font-size: .55em; letter-spacing: .02em; }
.page-liber p, .page-liber dd { line-height: 2.3; }

.character-portrait img { object-fit: cover; object-position: center 24%; }
#ratia .character-portrait img { object-position: center 12%; }
#sasare .character-portrait img { object-position: center 18%; }
#ralnei .character-portrait img { object-position: center 35%; }
.fourths-map { position: relative; width: 100%; aspect-ratio: 1; margin: 32px auto 16px; }
.fourths-map > img { position: absolute; width: 66%; height: 66%; object-fit: contain; left: 17%; top: 17%; }
.map-label { position: absolute; transform: translate(-50%, -50%); text-align: center; width: 22%; }
.map-label strong { display: block; font: 20px Georgia, serif; color: #eebbc9; }
.map-label span { display: block; font-size: 11px; margin-top: 8px; }
.map-caption { text-align: center; }
@media (max-width: 600px) { .map-label strong { font-size: 15px; } .map-label span { font-size: 9px; margin-top: 4px; } }

.map-label { border: 0; background: transparent; color: inherit; padding: 5px 0; cursor: pointer; border-radius: 0; }
.map-label rt { font-size: 7px; letter-spacing: 0; }
.fourths-map > img { cursor: pointer; }
.region-dialog { width: min(440px, calc(100vw - 40px)); padding: 36px; background: #19181c; color: #f1eee9; border: 1px solid #655362; }
.region-dialog::backdrop { background: #000a; }
.region-dialog h3 { line-height: 2; margin: 26px 0 16px; }
.region-dialog .region-character { color: #eebbc9; font-size: 13px; }
.dialog-close { position: absolute; top: 10px; right: 12px; background: transparent; border: 0; color: #eebbc9; font-size: 26px; padding: 0 8px; }
#rogan .character-portrait { background: #fff; }
#rogan .character-portrait img { object-fit: contain; object-position: center; }
#ratia .character-portrait img { width: 160%; height: auto; max-width: none; left: -30%; top: 0; object-fit: unset; }

/* Small character-specific accents, with the squared silhouette retained. */
#characters { --character-accent: #eebbc9; }
#characters > .eyebrow { letter-spacing: .28em; color: #eebbc9; }
#characters > h2 { font-weight: 400; letter-spacing: .12em; }
#characters > h2::after { content: '✧'; display: inline-block; margin-left: 18px; color: #cba5b8; font-size: 22px; }
#characters .section-lead { color: #c3b8c4; }
#characters .group-heading { border-left: 0; padding-left: 0; margin: 48px 0 26px; }
#characters .group-heading h3 { display: flex; align-items: center; gap: 14px; color: #ebc3d1; font-size: 18px; letter-spacing: .12em; }
#characters .group-heading h3::after { content: ''; height: 1px; flex: 1; background: linear-gradient(to right, #8b667a, transparent); }
#characters .group-heading p { font-size: 12px; max-width: 650px; }
#characters .character-grid { gap: 28px 24px; }
#characters .character { border: 0; background: #1b191f; box-shadow: 0 1px 0 #433540; }
#characters .character-portrait { border-bottom: 3px solid var(--character-accent); }
#characters .character-pitch { left: 12px; bottom: 12px; min-width: 38px; text-align: center; padding: 7px 10px; background: #17151e; color: var(--character-accent); border: 1px solid var(--character-accent); font-size: 14px; }
#characters .character-body { padding: 26px 24px 28px; }
#characters .character-body h4 { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 22px; letter-spacing: .09em; }
#characters .character-body h4::before { content: '✧'; color: var(--character-accent); font-size: 15px; }
#characters .character-body .character-world { color: var(--character-accent); font-size: 12px; }
#characters .character-world small { color: #a99eae; font-size: 10px; margin-top: 4px; }
#characters .character-body .character-keys { border: 0; padding: 7px 9px; color: var(--character-accent); background: #ffffff05; letter-spacing: .02em; }
#characters .character-body > p:last-child { color: #bfb6c4; line-height: 2.1; }
#sasare { --character-accent: #a6d7c4; }
#kowi { --character-accent: #b8d2f2; }
#yershena { --character-accent: #a6dfe9; }
#ratia { --character-accent: #edcc79; }
#nono { --character-accent: #aacf95; }
#misai { --character-accent: #c0d7a2; }
#malto { --character-accent: #d6b7d5; }
#anii { --character-accent: #e5a9b5; }
#rista { --character-accent: #9bbfd8; }
#arisia { --character-accent: #e6a3ba; }
#ralnei { --character-accent: #dc9ea8; }
#rogan { --character-accent: #babff1; }

#characters .character-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
#characters .character-heading h4 { margin: 0; font-size: 18px; letter-spacing: .03em; gap: 5px; white-space: nowrap; }
#characters .character-heading .character-world { margin: 0 0 0 auto; text-align: right; white-space: nowrap; font-size: 10px; }
#characters .character-heading rt { font-size: 6px; letter-spacing: 0; }
#characters .character-body { padding-left: 18px; padding-right: 18px; }
@media (min-width: 901px) and (max-width: 1050px) { #characters .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Settings read as a compact illustrated reference, with shared delicate accents. */
#world > h2, #magic > h2 { font-weight: 400; letter-spacing: .06em; margin-bottom: 36px; }
#world > .eyebrow, #magic > .eyebrow { color: #eebbc9; letter-spacing: .25em; }
#world .lore-columns, #magic .lore-columns { gap: 24px; }
#world .lore-columns article, #magic .lore-columns article { padding: 28px; background: #19171e; border-top: 2px solid #b792a7; }
#world .lore-columns h3, #magic .lore-columns h3 { margin: 0 0 22px; font-size: 19px; letter-spacing: .04em; }
#world .lore-columns h3::before, #magic .lore-columns h3::before { content: '✧'; margin-right: 10px; font-size: 14px; color: #c9afc4; }
#world p, #magic p { font-size: 14px; color: #c2bac7; }
#world .land-grid { gap: 18px; }
#world .land-grid article { background: #17171c; border-top: 1px solid #5d485a; }
#world .land-grid h4 { color: #e2c6d5; letter-spacing: .03em; }
#world .subsection-title { display: flex; gap: 20px; align-items: center; color: #e2c6d5; }
#world .subsection-title::after { content: ''; height: 1px; flex: 1; background: linear-gradient(to right,#655362,transparent); }
#world .lore-glossary { background: #17171c; padding: 0 24px; }
.magic-page-link { display: inline-block; margin: 28px 0 0; padding: 12px 0; color: #eebbc9; border-bottom: 1px solid #806479; font-size: 14px; }
.theory-page h1 { font-size: 36px; font-weight: 400; }
#characters #kowi .character-portrait img { object-fit: contain; background: #fff; }
#characters #ralnei .character-portrait img { object-fit: contain; background: #c4b1b4; }
#characters #misai .character-portrait img { width: 155%; height: auto; max-width: none; left: -35%; top: -5%; object-fit: unset; }
.map-label span { font-size: 16px; margin-top: 16px; }
.map-label rt { font-size: 9px; }
.map-label strong { font-size: 24px; }
@media (max-width: 700px) {
 .map-label span { font-size: 12px; margin-top: 12px; }
 .map-label rt { font-size: 7px; }
 .map-label strong { font-size: 18px; }
 #world .lore-columns, #magic .lore-columns { grid-template-columns: 1fr; }
 #world .lore-columns article, #magic .lore-columns article { padding: 22px; }
}
@media (max-width: 400px) {
 .map-label span { font-size: 10px; }
 .map-label rt { font-size: 6px; }
 .map-label strong { font-size: 15px; }
}

/* Compact overview; full biographies expand within each card. */
#characters { padding-top: 44px; padding-bottom: 44px; }
#characters .character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
#characters .character-portrait { height: 165px; }
#characters .character-body { padding: 18px 14px; }
#characters .character-heading h4 { font-size: 16px; }
#characters .character-heading .character-world { font-size: 9px; }
#characters .character-heading rt { font-size: 5px; }
#characters .character-body .character-keys { margin-top: 14px; padding: 5px 7px; font-size: 9px; }
#characters .group-heading { margin: 30px 0 18px; }
.character-description { margin-top: 12px; }
.character-description summary { cursor: pointer; color: #baadbf; font-size: 11px; }
#characters .character-description p { font-size: 12px; line-height: 2; margin-top: 12px; }
@media (max-width: 760px) {
 #characters .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
 #characters .character-portrait { height: 155px; }
}
@media (max-width: 480px) {
 #characters .character-grid { grid-template-columns: 1fr; }
 #characters .character { display: grid; grid-template-columns: 100px minmax(0, 1fr); }
 #characters .character-portrait { height: 135px; border-bottom: 0; }
 #characters .character-pitch { left: 4px; bottom: 4px; padding: 4px; font-size: 11px; }
 #characters .character-body { padding: 16px 12px; }
 #characters .character-heading h4 { font-size: 14px; }
 #characters .character-heading .character-world { font-size: 9px; }
}

/* Readable world names and a looser setting notebook. */
#characters .character-heading { flex-wrap: wrap; row-gap: 12px; }
#characters .character-heading .character-world { font-size: 12px; }
#characters .character-heading rt { font-size: 7px; }
#characters #ralnei .character-portrait img { object-fit: cover; object-position: center 15%; }
#world .lore-columns { gap: 36px; }
#world .lore-columns article { background: none; border: 0; padding: 0; }
#world .lore-columns article:nth-child(2) { padding-top: 28px; }
#world .lore-columns h3 { font-weight: 400; }
#world .land-grid { column-gap: 36px; row-gap: 12px; }
#world .land-grid article { background: none; border: 0; padding: 16px 0; }
#world .land-grid article:nth-child(even) { padding-top: 32px; }
#world .land-grid h4 { margin: 8px 0; font-weight: 400; font-size: 20px; }
#world .land-grid .eyebrow { color: #a991a2; }
#world .lore-glossary { background: none; padding: 0; }
@media (max-width: 700px) {
 #world .lore-columns article:nth-child(2) { padding-top: 0; }
 #world .land-grid article:nth-child(even) { padding-top: 16px; }
}

.character-open { background: transparent; border: 0; padding: 8px 0 0; color: var(--character-accent); cursor: pointer; font: inherit; font-size: 12px; }
.character-facts { display: grid; grid-template-columns: 100px 1fr; gap: 10px; font-size: 13px; }
.character-facts dd { margin: 0; }
.character-dialog { max-height: 80vh; overflow-y: auto; }

#characters #ralnei .character-portrait img { object-fit: contain; object-position: center top; background: #c4b1b4; }

#characters #ralnei .character-portrait img { height: 118%; top: -18%; }

.land-help { text-align: center; color: #a99ba8; font-size: 12px !important; }
.land-universe { height: clamp(320px,48vw,520px); position: relative; perspective: 1000px; overflow: hidden; touch-action: pan-y; cursor: grab; background: radial-gradient(ellipse at center,#37304544,transparent 65%); }
.land-universe:active { cursor: grabbing; }
.land-orbit { --rotation: 0deg; --radius: clamp(105px,20vw,225px); position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; transform: rotateX(-18deg) rotateY(var(--rotation)); width: 0; height: 0; }
.land-sphere { --ink: #65d9f2; position: absolute; width: clamp(68px,10vw,115px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: white; transform: translate(-50%,-50%) rotateY(var(--angle)) translateZ(var(--radius)) rotateY(calc(-1 * var(--angle) - var(--rotation))) rotateX(18deg); background: radial-gradient(circle at 27% 23%,#ffffffbd,transparent 24%),radial-gradient(ellipse at 65% 38%,var(--ink),transparent 65%),radial-gradient(ellipse at 30% 65%,var(--ink),#ffffff30 60%,#080914 100%); box-shadow: inset -12px -15px 22px #0007,inset 4px 5px 12px #ffffff60,0 12px 30px #0007; }
.land-sphere::before { content: ''; position: absolute; inset: 9%; border-radius: 48% 52% 35% 65%; background: conic-gradient(from 30deg,transparent,var(--ink),#ffffff55,transparent,var(--ink),transparent); filter: blur(7px); opacity: .7; }
.land-sphere span { position: relative; z-index: 1; font: 20px Georgia,serif; text-shadow: 0 1px 5px #000; }
.land-sphere:focus-visible { outline: 2px solid #f3d7ed; outline-offset: 5px; }
.land-2 { --ink: #d4b5ed; background: radial-gradient(circle at 25% 22%,#fff9,transparent 27%),conic-gradient(#e9a5b4,#e8d88e,#93d9bb,#87c8e4,#aaa2de,#e9a5b4); }
.land-3 { --ink: #71be91; }.land-4 { --ink: #e76376; }.land-5 { --ink: #484eaa; }.land-6 { --ink: #171c27; }
.land-seven { --ink: #ffffff; transform: translate(-50%,-50%) rotateY(calc(-1 * var(--rotation))) rotateX(18deg); width: clamp(78px,11vw,125px); }
.land-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 12px 0 36px; color: #aa9cae; font-size: 12px; }
.land-controls button { border: 1px solid #655362; background: transparent; color: #eebbc9; padding: 8px 18px; cursor: pointer; }

.land-universe { perspective: none; background: radial-gradient(ellipse at center,#30263d22,transparent 65%); }
.land-canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.land-canvas:active { cursor: grabbing; }
.land-accessible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.land-accessible:focus-within, .land-fallback .land-accessible { position: relative; width: auto; height: auto; overflow: visible; clip-path: none; display: flex; flex-wrap: wrap; gap: 12px; }
.land-accessible button { background: #211b29; color: #efdae9; border: 1px solid #655362; padding: 10px; }

.land-universe { height: clamp(440px,66vw,720px); background: radial-gradient(ellipse at 50% 60%,#35305738,transparent 65%),radial-gradient(circle at 14% 28%,#d5dbef80 0 1px,transparent 1.5px),radial-gradient(circle at 81% 18%,#e6d9ed60 0 1px,transparent 1.5px),radial-gradient(circle at 88% 75%,#b8d7ee55 0 1px,transparent 1.5px),radial-gradient(circle at 22% 81%,#d5dbef55 0 1px,transparent 1.5px),radial-gradient(circle at 68% 88%,#e6d9ed44 0 1px,transparent 1.5px); }

/* Each land opens as a small atmospheric landscape. */
.land-dialog { --land-accent: #bce8f4; --land-glow: #3c758655; width: min(560px,calc(100vw - 32px)); box-sizing: border-box; padding: 126px 38px 38px; max-height: 85vh; overflow-y: auto; border: 1px solid color-mix(in srgb,var(--land-accent) 35%,transparent); background: radial-gradient(ellipse at 80% 0%,var(--land-glow),transparent 65%),#14171d; box-shadow: 0 24px 100px #0008; }
.land-dialog::before { content: ''; position: absolute; top: 28px; left: 38px; width: 66px; height: 66px; border-radius: 50%; background: radial-gradient(circle at center,#fff9 0%,transparent 28%),radial-gradient(circle at 38% 36%,var(--land-accent),var(--land-glow)); box-shadow: 0 0 38px var(--land-glow); pointer-events: none; }
#world .land-dialog h3 { color: var(--land-accent); font-size: clamp(21px,4vw,28px); font-weight: 400; line-height: 1.65; margin: 16px 0 24px; text-wrap: balance; }
#world .land-dialog p { color: #d0ccd3; font-size: 14px; line-height: 2.2; }
#world .land-dialog .eyebrow { font-size: 11px; letter-spacing: .2em; color: var(--land-accent); border-bottom: 1px solid color-mix(in srgb,var(--land-accent) 25%,transparent); padding-bottom: 16px; }
.land-dialog .dialog-close { color: var(--land-accent); top: 18px; right: 20px; }
.land-dialog > form[method="dialog"] > .dialog-close {
    display: grid;
    place-items: center;
    position: relative;
    top: -6px;
    right: -6px;
    width: 36px;
    height: 36px;
    color: var(--land-accent);
    background: #14171d;
    border-color: color-mix(in srgb, var(--land-accent) 25%, transparent);
    font-size: 0;
    line-height: 1;
}
.land-dialog > form[method="dialog"] > .dialog-close::before,
.land-dialog > form[method="dialog"] > .dialog-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
    pointer-events: none;
}
.land-dialog > form[method="dialog"] > .dialog-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.land-dialog::backdrop { background: #060811c9; }
#land-1 { background: radial-gradient(ellipse at 90% 0%,#80c6df33,transparent 60%),linear-gradient(160deg,#192b34,#11171e); }
#land-2 { --land-accent: #e3cce8; --land-glow: #bca6cf55; background: radial-gradient(ellipse at 100% 0%,#91bacf33,transparent 60%),radial-gradient(ellipse at 0% 0%,#dfb48e22,transparent 55%),linear-gradient(130deg,#292132,#162727); }
#land-2::before { background: radial-gradient(circle,#fff8,transparent 30%),conic-gradient(#e8b9c6,#e5d795,#a3d3bd,#a7cee3,#c7b4dc,#e8b9c6); }
#land-3 { --land-accent: #b7d8b4; --land-glow: #42695166; background: radial-gradient(ellipse at 0% 0%,#527b4b44,transparent 65%),linear-gradient(155deg,#1b2c22,#131c1b); }
#land-4 { --land-accent: #efb1a3; --land-glow: #a9554566; background: linear-gradient(145deg,#44292c,#251e2b 50%,#171824); }
#land-5 { --land-accent: #b8bde9; --land-glow: #51559a66; background: radial-gradient(ellipse at 90% 0%,#7275b333,transparent 70%),linear-gradient(165deg,#202639,#141a24); }
#land-6 { --land-accent: #bac5cd; --land-glow: #53667855; background: radial-gradient(ellipse at 0% 0%,#718b9622,transparent 55%),linear-gradient(150deg,#171d23,#0b0e13); }
#land-6::before { background: radial-gradient(circle,#c9e1dc88,transparent 16%),radial-gradient(circle,#313d47,#090d12); border: 1px solid #7d929644; }
#land-7 { --land-accent: #eeece5; --land-glow: #d8d6cf44; background: linear-gradient(150deg,#34343b,#1c1d25); }
#land-7::before { width: 38px; height: 38px; top: 42px; background: radial-gradient(circle,#fff,#e1e0e7); box-shadow: 0 0 32px #eeedf52a; }
@media(max-width:480px) { .land-dialog { padding: 116px 24px 28px; } .land-dialog::before { left: 24px; } }

.lore-glossary dt { font-size: 17px; }
.lore-glossary dd { font-size: 15px; }
.lore-glossary rt { font-size: 10px; }
.hashtag-link { display: inline-flex; align-items: center; gap: 8px; color: #eebbc9; }
.hashtag-link img { width: 14px; height: 14px; filter: invert(1); }
.land-halo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.land-canvas { position: relative; }
#land-6::before { background: radial-gradient(circle,#bfd5d033,transparent 45%),radial-gradient(circle,#313d47,#090d12); box-shadow: 0 0 25px #b4cbd022; }

.lore-glossary dt ruby { ruby-align: start; }
.lore-glossary dt rt { font-size: 8px; letter-spacing: 0; }

.character { position: relative; }
.character-open::after { content: ""; position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.character-open:focus-visible { outline: none; }
.character-open:focus-visible::after { outline: 2px solid var(--character-accent); outline-offset: 3px; }
.character:has(.character-open:hover) { border-color: var(--character-accent); }
#world > .lore-columns:first-of-type { grid-template-columns: 1fr; gap: 36px; }
#world > .lore-columns:first-of-type article:nth-child(2) { padding-top: 0; }

.lore-glossary dt ruby { ruby-align: center; }
.lore-glossary dt rt { text-align: center; }

.page-liber ruby, .lore-glossary dt ruby { ruby-align: space-between; }
.lore-glossary dt { text-align: center; }
.character-facts { grid-template-columns: minmax(110px, auto) minmax(0, 1fr); align-items: baseline; }
.character-facts dt, .character-facts dd { margin: 0; padding: 0; line-height: 1.8; }
.world-intro { padding: 48px 0 40px; }
.world-intro h1 { margin-top: 0; }
.world-origin { max-width: 760px; padding-top: 24px; }
.world-origin p { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 16px; line-height: 2; margin: 0 0 1.5em; }
.world-origin p:last-child { margin-bottom: 0; }

.world-water { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #101113 url('/src/img/liber-usualis/world-water.svg') center / cover; }
.world-water.jquery-ripples { position: fixed; z-index: -1; }
body:has(.world-water) { isolation: isolate; }
body:has(.world-water) main { animation: none; }
.world-origin h2 { margin-top: 0; margin-bottom: 20px; }

.world-description { padding: 28px 0; }
.world-description h2 { margin: 0; }
.world-description-open { padding: 0; background: none; border: 0; color: #d8afc0; font: inherit; text-decoration: underline; text-underline-offset: 6px; cursor: pointer; }
.world-description-open span { font-size: 18px; }
.world-description-dialog { box-sizing: border-box; width: min(820px, calc(100% - 32px)); max-height: 85vh; padding: 40px; background: #19171d; color: #d4ccd7; border: 1px solid #655464; }
.world-description-dialog::backdrop { background: rgba(0, 0, 0, .72); }
.world-description-dialog h2 { margin: 0 0 32px; font-size: 28px; }
.world-description-dialog h3 { font-size: 18px; font-weight: 500; line-height: 1.8; overflow-wrap: anywhere; border-bottom: 1px solid #4b3b45; padding-bottom: 12px; margin: 36px 0 20px; }
.world-description-dialog dl { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; font-size: 14px; line-height: 2; }
.world-description-dialog dt { color: #d8afc0; text-align: center; }
.world-description-dialog dd { margin: 0; overflow-wrap: anywhere; }
.world-description-close { float: right; border: 0; background: none; color: #d8afc0; font-size: 28px; cursor: pointer; }
@media (max-width: 540px) { .world-description-dialog { padding: 24px; } }
