/* Dawn field guide. Artwork is confined to the home cover; reading surfaces stay opaque. */
:root{--ink:#233e3b;--muted:#596d66;--teal:#28654e;--paper:#f5f5ed;--line:#d8e1d6;--gold:#e7c483}
body{background:radial-gradient(ellipse at 88% 0,#dceff0 0,transparent 48%),linear-gradient(135deg,#faf7ed,#edf3ed 70%);background-attachment:fixed;color:var(--ink)}
main{max-width:1440px;padding-top:34px}
.sidebar{background:linear-gradient(165deg,#194448,#102f35 75%);border-right:1px solid #c9b47d;box-shadow:6px 0 25px #173f3b08}
.brand{margin-bottom:38px}.brand strong{font-family:"Noto Serif TC","PMingLiU",serif;font-size:23px;letter-spacing:2px}.brand small{color:#d3dcca;letter-spacing:1.6px}.brand-symbol{background:#254b48;border-color:#e0c38a;box-shadow:0 0 0 4px #e4c88c0c;color:#ffe6aa;border-radius:12px 3px 12px 3px}
.nav-caption{color:#b5cfc5}.nav-number,.nav-count{color:#bad1c2}.nav-link{padding-block:12px;border-radius:7px}.nav-link:hover{background:#ffffff0d}.nav-link.active{background:#ffffff15;box-shadow:inset 3px 0 #f1cf8b;color:#fff4da}.sidebar-bottom,.sidebar-bottom p{color:#bfd0c5}.status-dot{background:#e6d197}
.topbar{background:#fffdf6;border-bottom:1px solid #dddcca;color:#536558;min-height:70px}.topbar>span{font-size:12px;letter-spacing:.6px}
.site-footer{color:#596d66;border-color:#d2ddd0}.site-footer a:hover{color:#28654e}
.eyebrow{color:#376a59;letter-spacing:2px;font-size:10px;font-weight:700}
.dawn-intro{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.86fr);gap:30px;align-items:center;overflow:hidden;border:1px solid #d4decf;border-radius:18px 5px 18px 5px;background:#fffdf6;padding:34px 34px 30px;margin-bottom:24px;box-shadow:0 12px 32px #1e493c08}
.dawn-intro:before{content:"";position:absolute;left:0;top:25px;bottom:25px;width:4px;background:linear-gradient(#ceaa63,#f0daa4,#6e9981)}
.dawn-intro>div{min-width:0;position:relative;z-index:1}
.dawn-intro .eyebrow{display:inline-block;border-bottom:1px solid #d7bf87;padding-bottom:10px;letter-spacing:1.6px}
.dawn-intro h1{font-family:"Noto Serif TC","PMingLiU",serif;font-weight:700;font-size:clamp(31px,3.1vw,47px);line-height:1.45;letter-spacing:1.8px;color:#224b40;margin:19px 0 14px;text-wrap:balance}
.dawn-intro p{font-size:15px;color:#586d61;line-height:1.9;max-width:29em}
.dawn-intro .promotion-reopen{margin-top:19px;background:#fff8e6;border:1px solid #b6924b;border-radius:6px;color:#705522;box-shadow:none;padding:9px 14px;font-size:12px}
.dawn-intro .promotion-reopen:hover{background:#f8edcc;color:#4e3b19}
.dawn-key-art{position:relative;margin:0;min-width:0;width:100%;max-width:370px;justify-self:end;padding:8px 8px 0;border:1px solid #cbd9c8;border-radius:12px 3px 12px 3px;background:#f1f8ed;box-shadow:0 7px 20px #294f3510;transform:rotate(1deg)}
.dawn-key-art img{display:block;width:100%;height:auto;aspect-ratio:649/600;object-fit:contain;border-radius:6px 2px 5px 2px}
.dawn-key-art figcaption{padding:9px 1px 10px;font-size:10px;line-height:1.5;letter-spacing:.3px;color:#50674f;text-align:center}
.search-panel{border-color:#becfbe;border-radius:11px;background:#fff;box-shadow:0 6px 18px #254c3607;margin-bottom:32px}
.search-panel form{border-bottom-color:#e2e9df}.search-panel input{font-size:16px;color:#233e3b}.search-panel input::placeholder{color:#697a72}
.search-panel button,.primary-link{background:#2a654e;border:1px solid #24543f;border-radius:6px;font-weight:600;box-shadow:inset 0 1px #ffffff24}.search-panel button:hover,.primary-link:hover{background:#1d503c}
.search-hint{color:#596d66}.search-total{color:#596d66}.search-hint>a{border-color:#b5c6b5;color:#3e6651}
.section-head h2,.quick-section h2{font-family:"Noto Serif TC","PMingLiU",serif;font-weight:700;color:#294b3f}.section-head{margin-bottom:17px}
.pet-grid{gap:16px}.pet-card{border-color:#cbdac4;background:#eaf2e4;border-radius:12px 4px 12px 4px;padding:21px;box-shadow:0 5px 16px #263e2e05}.pet-card:nth-child(2){background:#e7f0f2;border-color:#c9dce0}.pet-card:nth-child(3){background:#f5eddc;border-color:#e1d4b6}.pet-card:hover{transform:translateY(-3px);box-shadow:0 9px 22px #253e2d12}.pet-card p,.small-label{color:#4f6958}.pet-art{height:110px;margin:6px 0 14px}.pet-card h3{font-size:21px}.pet-art img{image-rendering:pixelated}
.category-grid,.catalog-list,.result,.race-group,.jobs .catalog-link,.about-content{background:#fffdf8;border-color:#d2decc;border-radius:10px}.category-tile{padding:20px 22px;border-color:#d9e2d3}.category-tile:hover,.catalog-link:hover,.jobs .catalog-link:hover{background:#eef5e8}.tile-number{color:#859c7b;font-size:23px}.category-tile p,.tile-count,.result-meta,.result p{color:#596d66}
.category-tile h3{font-size:16px}.quick-section{border-color:#cbd9c7;gap:30px}.quick-links a{border-color:#d2decf}.preservation-note{background:#e6efdf;border:1px solid #ccdabc;border-radius:10px}.preservation-note p{color:#52664b}
.article-title h1{font-family:"Noto Serif TC","PMingLiU",serif;font-size:34px;line-height:1.55;letter-spacing:1px;color:#254b3f}.article-title{padding-left:19px;border-left:3px solid #bd9a56;margin-block:26px}.article-meta{color:#596d66}.article-top{color:#536b5b}.article-top form{background:#fffdf8;border-color:#bdcdb8}
.wiki-content{background:#fff;border-color:#cddac7;border-radius:10px;padding:30px;color:#253c38;box-shadow:0 7px 25px #29473104;line-height:1.9}
.wiki-content h2,.wiki-content h3,.wiki-content h4{color:#2c5140}.wiki-content h2{font-size:22px;border-color:#d1ddca}.wiki-content a{color:#27634f;text-decoration-thickness:1px;text-underline-offset:4px}.wiki-content a:hover{color:#825b22}.wiki-content .contents{background:#eff4ea;border:1px solid #d9e3d0;color:#354d3b;border-radius:7px}
.wiki-content th{background:#e6efdc!important;color:#264734}.wiki-content td{background:#fff}.wiki-content tr:nth-child(even)>td{background:#f6f8f1}.wiki-content td,.wiki-content th{border-color:#d1dccb!important;line-height:1.8}.table-scroll{background:#fff;border-color:#c8d5c1;border-radius:6px}
.article-toc{background:#fffdf6;border:1px solid #d7dfcc;padding:17px 15px;border-radius:8px}.article-toc h2{color:#395a44;border-color:#d6dfca}.article-toc a{color:#516b52}.article-toc a:hover{color:#234f38}.mobile-toc{border-color:#c6d5bf;background:#fffef9}
.reader-tools{background:#edf3e6;border-color:#c7d6bb;border-radius:8px;box-shadow:0 3px 12px #21402c05}.reader-tools input{border-color:#adbf9e;color:#253c38;background:#fff}.reader-tools button,.table-caption button{border-color:#b4c7a7;color:#2f533b}.table-status,.table-caption{color:#4f6746}.source-notice{background:#fbf3df;color:#715c30;border-color:#e4d7b6;border-radius:7px}.source-footer{color:#536c5b}
.catalog-jumps a{background:#fffdf7;border-color:#c6d5bd;color:#3b6146}.evolution-card{border-radius:12px 4px 12px 4px}.race-title{background:#e7efdf;color:#33573b}.race-job{border-color:#d3dfc9;color:#3c6043}.search-results .result{background:#fffdf8}.result:hover{background:#f2f7ec}
.gg-credit{border-color:#d2b572;background:#fbefd3;box-shadow:none}.una-credit{background:#f8edf0;border-color:#dcb8c1;color:#7c4352}.promotion-dialog{background:#12382dc9}.promotion-panel{border-color:#bca368}
.browsing .dawn-intro{display:none}
@media(min-width:1650px){.dawn-intro{grid-template-columns:1fr 370px;padding-inline:42px}.dawn-intro h1{font-size:47px}}
@media(max-width:1100px){.dawn-intro{gap:23px;padding:27px 25px}.dawn-intro h1{font-size:33px;letter-spacing:1px}.dawn-intro p{font-size:14px}.dawn-key-art figcaption{font-size:9px}.wiki-content{padding:24px}.article-title h1{font-size:30px}}
@media(max-width:800px){main{padding-top:26px}.dawn-intro{grid-template-columns:minmax(0,1fr) 220px;padding:25px;gap:18px}.dawn-intro h1{font-size:31px}.dawn-intro .eyebrow{font-size:9px;letter-spacing:1px}.topbar{background:#fffdf6}.article-title{padding-left:14px}.reader-tools{position:static}.brand{margin-bottom:28px}}
@media(max-width:600px){body{background:#f4f6ed}.mobile-head{background:#173e3f;color:#fff1ce;border-bottom:1px solid #bba36e}.mobile-head a{font-family:"Noto Serif TC","PMingLiU",serif;letter-spacing:1px}.mobile-head button{border-color:#708e76;color:#f6ecd2;background:#254d49}.topbar{padding:12px 18px}.topbar>span{font-size:11px;letter-spacing:0}.site-credits{gap:7px}.gg-credit{padding:4px 8px 4px 5px;gap:5px}.gg-credit strong{font-size:14px;min-width:26px;height:25px}.gg-credit>span{font-size:11px}.una-credit{min-height:35px;font-size:11px;padding:6px 9px}.dawn-intro{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:25px 22px 18px;border-radius:12px 3px 12px 3px;margin-bottom:20px}.dawn-intro h1{font-size:31px;margin:16px 0 10px;text-wrap:initial}.dawn-intro p{font-size:14px;max-width:none}.dawn-intro .promotion-reopen{margin-top:14px}.dawn-key-art{max-width:310px;align-self:center;width:100%;transform:none;padding:5px 5px 0}.dawn-key-art img{max-height:245px;object-fit:contain;background:#d3f0fc}.dawn-key-art figcaption{font-size:9px;padding:7px 0}.search-panel{padding:9px 10px 11px}.search-panel input{font-size:15px}.search-panel button{padding:10px 12px;font-size:13px}.search-symbol{padding:0 4px}.search-hint{gap:10px;font-size:11px}.section-head h2{font-size:22px}.pet-card{padding:18px}.pet-card h3{font-size:20px}.article-title h1{font-size:27px}.wiki-content{padding:19px 16px;font-size:15px}.wiki-content h2{font-size:21px}.article-title{margin-block:23px}.site-footer{color:#52664f}.category-tile p{font-size:11px}.preservation-note{padding:20px}}
@media(prefers-reduced-motion:reduce){.pet-card,.evolution-card{transition:none}.pet-card:hover,.evolution-card:hover{transform:none}}
@media print{body{background:#fff}.dawn-key-art{display:none}.dawn-intro{box-shadow:none;border:0;padding:0}.wiki-content{box-shadow:none}}
/* Keep the cover compact so the search remains near the top, including on phones. */
@media screen and (min-width:801px){.dawn-intro{grid-template-columns:minmax(0,1fr) minmax(220px,300px)}.dawn-key-art{max-width:300px}}
@media screen and (min-width:1650px){.dawn-intro{grid-template-columns:minmax(0,1fr) 330px}.dawn-key-art{max-width:330px}}
@media screen and (max-width:600px){.dawn-intro{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:12px;padding:23px 18px;align-items:center}.dawn-intro h1{font-size:27px;line-height:1.5;letter-spacing:.5px}.dawn-intro p{font-size:13px;line-height:1.85}.dawn-intro .eyebrow{font-size:8px;line-height:1.8;letter-spacing:.6px}.dawn-intro .promotion-reopen{font-size:11px;padding:8px 9px}.dawn-key-art{width:104px;max-width:104px;align-self:center;padding:3px 3px 0;transform:rotate(1deg)}.dawn-key-art img{max-height:none;border-radius:3px}.dawn-key-art figcaption{font-size:8px;line-height:1.4;padding:6px 0}.dawn-intro:before{top:23px;bottom:23px}}
@media screen and (min-width:801px){html{scroll-padding-top:110px}.article-toc{top:100px;max-height:calc(100dvh - 125px)}}
@media screen and (max-width:800px){html{scroll-padding-top:24px}}
.wiki-content table:has(tr:first-child > :nth-child(7)){min-width:880px}
.wiki-content table:has(tr:first-child > :nth-child(7)) tr:first-child>:is(th,td){white-space:nowrap}
@media screen and (max-width:600px){.dawn-intro h1{text-wrap:balance}}

/* Legacy wiki table containers must keep wide data inside the article. */
.wiki-content .ie5{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}

/* Eight chapters of the Dawn field guide. */
[data-realm=pets]{--realm:#236451;--realm-dark:#123f36;--realm-soft:#e9f3dc;--realm-gold:#dfcf89;--realm-pattern:radial-gradient(circle at 95% 0,#8faf5b38,transparent 46%)}
[data-realm=classes]{--realm:#a44437;--realm-dark:#63342e;--realm-soft:#f7eee4;--realm-gold:#f0c784;--realm-pattern:linear-gradient(115deg,transparent 50%,#f4ba6530 50%)}
[data-realm=skills]{--realm:#62518e;--realm-dark:#272540;--realm-soft:#efedf8;--realm-gold:#c9c3ff;--realm-pattern:radial-gradient(circle at 70% 20%,#b2a3ff30,transparent 55%)}
[data-realm=equipment]{--realm:#95623b;--realm-dark:#343a3b;--realm-soft:#f3eee4;--realm-gold:#e5b978;--realm-pattern:repeating-linear-gradient(135deg,transparent 0 27px,#e8c28c0a 28px 29px)}
[data-realm=items]{--realm:#947333;--realm-dark:#4b4930;--realm-soft:#fbf3d9;--realm-gold:#f3db8b;--realm-pattern:radial-gradient(ellipse at 95% 80%,#d9bd5733,transparent 55%)}
[data-realm=world]{--realm:#2e6982;--realm-dark:#193c50;--realm-soft:#e8f3f5;--realm-gold:#d5d5ab;--realm-pattern:repeating-radial-gradient(ellipse at 80% 150%,transparent 0 25px,#b4dce312 26px 27px)}
[data-realm=quests]{--realm:#946032;--realm-dark:#6c4a30;--realm-soft:#fbf1db;--realm-gold:#efd7a0;--realm-pattern:repeating-linear-gradient(0deg,transparent 0 24px,#ab793b12 25px 26px)}
[data-realm=archive]{--realm:#64737d;--realm-dark:#263b49;--realm-soft:#edf0f1;--realm-gold:#d9c799;--realm-pattern:linear-gradient(90deg,transparent 65%,#ffffff06 65% 67%,transparent 67% 70%,#ffffff06 70% 72%,transparent 72%)}
body[data-realm]:not([data-realm=home]){background:radial-gradient(ellipse at 100% 0,var(--realm-soft),transparent 65%),#f6f4ee}
body[data-realm]:not([data-realm=home]) .nav-link.active{background:var(--realm);box-shadow:inset 3px 0 var(--realm-gold)}
.realm-category,.realm-article{position:relative;isolation:isolate;overflow:hidden;background:var(--realm-pattern),var(--realm-dark);color:#fff7e9;border:1px solid color-mix(in srgb,var(--realm) 60%,#e8d9af);box-shadow:0 14px 35px #142b2b12}
.realm-category{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:24px;min-height:250px;padding:32px 38px;margin:6px 0 30px;border-radius:4px 28px 4px 4px}
.realm-category[hidden]{display:none}.realm-category-copy{align-self:center;position:relative;z-index:2}.realm-chapter{display:block;letter-spacing:2px;font-size:10px;font-weight:700;color:var(--realm-gold);margin-bottom:17px}.realm-category-name{font-size:14px;letter-spacing:4px;display:inline-block;padding:5px 0;border-bottom:1px solid #ffffff40;color:var(--realm-gold)}.realm-tagline{font-family:"PMingLiU",serif;font-size:clamp(25px,2.4vw,36px);line-height:1.55;margin:14px 0 10px;letter-spacing:1px;color:inherit}.realm-description{font-size:14px;line-height:1.9;color:#e4e9df;margin:0;max-width:35em}
.realm-illustration{position:relative;min-height:190px;align-self:center;display:grid;place-items:center;pointer-events:none}.realm-emblem{width:190px;height:190px;object-fit:contain;opacity:.6}.realm-specimens{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px}.specimen{display:grid;place-items:center;width:68px;height:82px;background:#fffaf0;box-shadow:0 8px 18px #0003;border:1px solid #c9ac72;border-radius:8px;transform:translateY(17px) rotate(-8deg)}.specimen:nth-child(2){transform:translateY(-13px) rotate(4deg)}.specimen:nth-child(3){transform:translateY(24px) rotate(12deg)}.specimen img{max-width:52px;max-height:62px;object-fit:contain;image-rendering:pixelated}.specimen.large-art{width:115px;height:140px;padding:4px;background:#fff;transform:rotate(-8deg)}.specimen.large-art img{width:100%;max-width:100%;height:100%;max-height:100%;object-fit:contain;image-rendering:auto}.folio-mark{position:absolute;bottom:-4px;right:8px;color:var(--realm-gold);opacity:.6;font-size:9px;letter-spacing:3px}
.realm-article{display:block;min-height:210px;padding:28px 245px 25px 30px;border-left:5px solid var(--realm-gold);border-radius:3px 20px 3px 3px;margin-top:22px;margin-bottom:24px}.realm-article .realm-chapter{margin-bottom:9px;font-size:9px}.realm-article .eyebrow{color:var(--realm-gold);font-size:10px;letter-spacing:1.8px}.realm-article h1{font-family:"PMingLiU",serif;color:#fffaf0;font-size:34px;line-height:1.4;margin:13px 0 15px;overflow-wrap:anywhere}.realm-article h1 span{color:inherit}.realm-article .article-meta{color:#e1e7dd;font-size:12px;gap:8px 15px}.realm-article .article-meta span{color:inherit}.realm-article .reader-translation{color:#e0dfca}.realm-article .realm-illustration{position:absolute;right:20px;top:15px;width:200px;height:calc(100% - 30px);min-height:0;z-index:-1}.realm-article .realm-emblem{width:180px;height:180px;transform:rotate(var(--orbit-angle,0deg));opacity:.35}.realm-article .specimen{width:52px;height:63px}.realm-article .specimen img{max-width:40px;max-height:48px}.realm-article .specimen.large-art{width:100px;height:125px}.realm-article .specimen.large-art img{max-width:100%;max-height:100%}.realm-reading-note{font-size:11px;color:var(--realm-gold);letter-spacing:2px;margin-top:17px}
/* Each chapter has its own composition, not a repeated full-width illustration. */
[data-realm=pets] .realm-category{border-radius:38px 4px 38px 4px;border-bottom:5px solid #96b674}.realm-category .realm-emblem{opacity:.75}
[data-realm=classes] .realm-category{border-top:5px solid #e6b978;border-radius:4px 4px 36px 4px}.realm-category .large-art:nth-child(2){transform:translateY(20px) rotate(9deg)}
[data-realm=skills] .realm-category{border-radius:24px;background-image:radial-gradient(circle at 25% 25%,#e6dfff40 1px,transparent 2px),var(--realm-pattern);background-size:27px 31px,auto}.realm-category .realm-emblem{transform:rotate(-12deg)}
[data-realm=equipment] .realm-category{border-radius:0;box-shadow:inset 0 0 0 6px #ffffff06,0 12px 28px #1c252214;border-top:4px solid #e5b978}.realm-category .specimen{border-radius:0;transform:translateY(10px)}
[data-realm=items] .realm-category{border-radius:9px 40px 9px 40px;border:2px dashed #b8a570}.realm-category .specimen:nth-child(1){transform:translateY(20px) rotate(-15deg)}
[data-realm=world] .realm-category{border-radius:2px;border:6px double #b6c8c7;grid-template-columns:minmax(0,1fr) 300px}.realm-category .realm-illustration:has(.large-art:only-child){min-height:200px}.realm-category .specimen.large-art:only-child{width:270px;height:190px;padding:6px;transform:rotate(3deg);border-radius:0;background:#e8e0be}.realm-category .specimen.large-art:only-child img{object-fit:cover}
[data-realm=quests] .realm-category{background-color:#f6e7c7;border:1px solid #c5ac7e;border-left:8px solid #98703e;color:#5f4229;border-radius:3px}.realm-category .realm-description{color:#e4e9df}[data-realm=quests] .realm-category :is(.realm-chapter,.realm-category-name){color:#80592e}[data-realm=quests] .realm-category .realm-description{color:#705a40}[data-realm=quests] .realm-category .realm-emblem{filter:sepia(1) saturate(2) brightness(.58)}
[data-realm=archive] .realm-category{border-radius:0 0 40px 0;border-left:12px double #b5a27d}.realm-category .realm-chapter:before{content:"✦ ";font-size:13px}
/* Reading surfaces use chapter colors sparingly. */
body[data-realm]:not([data-realm=home]) .wiki-content{border-top:4px solid var(--realm);border-radius:3px 3px 12px 3px}.wiki-content h2{border-bottom:1px solid var(--line);padding-bottom:13px}body[data-realm]:not([data-realm=home]) .wiki-content h2{color:var(--realm)}body[data-realm]:not([data-realm=home]) .article-toc{border-top:4px solid var(--realm);border-radius:3px 3px 16px 3px}body[data-realm]:not([data-realm=home]) .reader-tools{background:var(--realm-soft);border-color:color-mix(in srgb,var(--realm) 30%,white)}
body[data-realm] .catalog-group{margin-bottom:35px}body[data-realm] .group-header{border-bottom:2px solid var(--realm,#37765c);padding:0 0 12px;margin-bottom:14px}body[data-realm] .group-header h3{color:var(--realm,#37765c);font-size:21px}.catalog-jumps{position:relative}.catalog-jumps a{border-radius:20px;padding:8px 15px}.catalog-jumps a:hover{background:var(--realm-soft,#edf3df);border-color:var(--realm,#37765c)}
[data-realm=classes] .jobs .catalog-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:none;border:0}[data-realm=classes] .jobs .catalog-link{min-height:100px;border-top:4px solid #ad6c4b;background:linear-gradient(140deg,#fffdf6,#f8eee4);font-family:"PMingLiU",serif;font-size:20px}[data-realm=classes] .race-group{border-top:3px solid #a85b4e;border-radius:3px 18px 3px 3px}
[data-realm=skills] .catalog-group:nth-child(even) .catalog-list{background:#f6f3fb}[data-realm=skills] .catalog-link{border-left:3px solid #a99ac6}[data-realm=equipment] .catalog-list{border-radius:0;border:1px solid #cfb892}[data-realm=equipment] .catalog-link{background:linear-gradient(90deg,#fbf6e9,white)}[data-realm=items] .catalog-list{background:#fff9e8;border-style:dashed}[data-realm=quests] .catalog-link{padding-left:32px;background:linear-gradient(90deg,#e4c58e 0 4px,transparent 4px);min-height:64px}[data-realm=world] .catalog-link{border-left:3px solid #71a2b1}[data-realm=archive] .catalog-list{background:#f3f3ef}
.category-tile{position:relative;overflow:hidden;padding-right:95px;min-height:110px}.category-tile .realm-emblem{position:absolute;width:100px;height:100px;right:-6px;top:5px;opacity:.7;filter:sepia(.3) brightness(.7)}.category-tile[data-realm]{background:linear-gradient(110deg,#fffdf8 20%,var(--realm-soft));border-left:3px solid var(--realm)}.category-tile:hover .realm-emblem{transform:rotate(8deg);transition:transform .2s}.category-tile h3{color:var(--realm)}
@media(min-width:1600px){.realm-category{min-height:270px;padding:38px 44px}.realm-article{min-height:220px}.realm-category .realm-illustration{margin-right:25px}}
@media(max-width:1100px){.realm-category{padding:26px;grid-template-columns:minmax(0,1fr) 210px;gap:14px}.realm-article{padding-right:195px}.realm-article .realm-illustration{right:4px;width:175px}.realm-article .specimen:nth-child(3){display:none}[data-realm=world] .realm-category{grid-template-columns:minmax(0,1fr) 210px}.realm-category .specimen.large-art:only-child{width:205px;height:155px}}
@media(max-width:600px){.realm-category{grid-template-columns:minmax(0,1fr) 90px!important;min-height:210px;padding:23px 18px!important;gap:6px;margin-bottom:25px}.realm-category-name{font-size:12px;letter-spacing:2px}.realm-tagline{font-size:25px;margin:12px 0;letter-spacing:0}.realm-description{font-size:12px}.realm-chapter{font-size:8px;letter-spacing:1px;line-height:1.8;margin-bottom:12px}.realm-category .realm-illustration{min-height:130px;width:90px}.realm-category .realm-emblem{width:110px;height:110px;max-width:none}.realm-category .specimen{width:38px;height:49px;padding:3px}.realm-category .specimen img{max-width:30px;max-height:36px}.realm-category .specimen:nth-child(n+3){display:none}.realm-category .specimen.large-art{width:65px;height:88px;padding:2px}.realm-category .specimen.large-art img{max-width:100%;max-height:100%}.realm-category .specimen.large-art:only-child{width:95px;height:110px!important;transform:rotate(3deg)}.realm-article{min-height:200px;padding:23px 105px 23px 18px!important;margin-top:18px;border-left-width:3px}.realm-article h1{font-size:26px;line-height:1.5}.realm-article .eyebrow{font-size:8px;letter-spacing:1px}.realm-article .realm-illustration{width:85px;right:9px;top:20px;height:calc(100% - 40px)}.realm-article .realm-emblem{width:100px;height:100px;max-width:none}.realm-article .specimen{width:45px;height:57px}.realm-article .specimen img{max-width:34px;max-height:44px}.realm-article .specimen:nth-child(n+2){display:none}.realm-article .specimen.large-art{width:75px;height:95px}.realm-article .article-meta{font-size:11px;line-height:1.8;display:flex;flex-wrap:wrap}.realm-reading-note{font-size:10px;line-height:1.8;letter-spacing:1px}.folio-mark{font-size:7px;right:0;letter-spacing:1px}.category-tile{padding-right:75px;min-height:100px}.category-tile .realm-emblem{width:80px;height:80px;top:10px}[data-realm=classes] .jobs .catalog-list{grid-template-columns:repeat(2,minmax(0,1fr))}[data-realm=classes] .jobs .catalog-link{font-size:18px;min-height:78px}}
@media(prefers-reduced-motion:reduce){.category-tile:hover .realm-emblem{transition:none;transform:none}}
@media print{.realm-category,.realm-article{background:white!important;color:#222!important;box-shadow:none;border:1px solid #999}.realm-illustration{display:none}.realm-article{padding:20px}.realm-article h1,.realm-article .article-meta,.realm-chapter,.realm-article .eyebrow{color:#222!important}}
/* Specimen mounts belong to their chapter: talismans, spell nodes, weapon racks. */
[data-realm=pets] .specimen{border-radius:50%;width:76px;height:76px;background:#f3f8df;border:3px double #a7b96c;box-shadow:0 6px 0 #0a302a55,0 12px 20px #0003}
[data-realm=pets] .realm-article .specimen{width:60px;height:60px}
[data-realm=skills] .specimen{border-radius:50%;width:65px;height:65px;background:#393450;border:1px solid #b2a4db;box-shadow:0 0 0 5px #d3c5ff0e,0 0 24px #bfb2ff24}
[data-realm=skills] .specimen:nth-child(1){transform:translateY(32px)}[data-realm=skills] .specimen:nth-child(2){transform:translateY(-35px)}[data-realm=skills] .specimen:nth-child(3){transform:translateY(32px)}
[data-realm=equipment] .specimen{border-radius:0;width:63px;height:105px;transform:none!important;background:linear-gradient(90deg,#495051,#2b3234);border:1px solid #b39363;box-shadow:inset 0 0 0 5px #1118,0 7px 12px #0003}
[data-realm=equipment] .specimen:before{content:"";position:absolute;top:9px;width:22px;border-top:2px solid #bba06e}
[data-realm=items] .specimen{border-radius:40% 40% 10px 10px;background:#fff2c3;border:2px solid #be9b50;border-top:5px double #98722c}
[data-realm=world] .realm-article .specimen.large-art{border-radius:0;transform:rotate(5deg);width:170px;height:125px;background:#e5dcbf;padding:5px}.realm-article .specimen.large-art:only-child img{object-fit:cover}
@media(max-width:600px){[data-realm=pets] .realm-category .specimen{width:45px;height:45px}[data-realm=skills] .realm-category .specimen{width:39px;height:39px}[data-realm=equipment] .realm-category .specimen{width:38px;height:68px}[data-realm=world] .realm-article .specimen.large-art{width:82px;height:105px}[data-realm=pets] .realm-article .specimen{width:55px;height:55px}}

.realm-tagline{text-wrap:balance}

/* A quiet illustrated horizon closes every chapter, below the reading surface. */
.site-footer{position:relative;isolation:isolate;overflow:hidden;min-height:230px;padding-top:27px;padding-bottom:160px;background:linear-gradient(150deg,var(--realm-dark,#153f40),#102e35);border-top:3px double #b59c66;color:#d3dfd5;align-items:flex-start;margin-top:45px}
.site-footer::before{content:"";position:absolute;z-index:-1;inset:35px 0 0;background:url('theme/footer-home.svg') center bottom/cover no-repeat;pointer-events:none}
.site-footer::after{content:"每一段冒險，都值得收藏。";position:absolute;left:32px;top:87px;color:#e7d5a8;font-family:"PMingLiU",serif;font-size:18px;letter-spacing:3px;pointer-events:none}
.site-footer a{color:#e3d9bd}.site-footer a:hover{color:#fff1c4}.site-footer>span{color:#d1dfd5}
[data-realm=pets] .site-footer::before{background-image:url('theme/footer-pets.svg')}[data-realm=classes] .site-footer::before{background-image:url('theme/footer-classes.svg')}[data-realm=skills] .site-footer::before{background-image:url('theme/footer-skills.svg')}[data-realm=equipment] .site-footer::before{background-image:url('theme/footer-equipment.svg')}[data-realm=items] .site-footer::before{background-image:url('theme/footer-items.svg')}[data-realm=world] .site-footer::before{background-image:url('theme/footer-world.svg')}[data-realm=quests] .site-footer::before{background-image:url('theme/footer-quests.svg')}[data-realm=archive] .site-footer::before{background-image:url('theme/footer-archive.svg')}
@media(max-width:600px){.site-footer{min-height:255px;padding:23px 20px 175px;gap:12px 20px}.site-footer::before{inset:65px -450px 0 -650px;background-size:cover}.site-footer::after{left:20px;top:105px;font-size:15px;letter-spacing:2px}}
@media print{.site-footer{min-height:0;padding-bottom:20px;background:white;color:#333}.site-footer::before,.site-footer::after{display:none}.site-footer a,.site-footer>span{color:#333}}
.client-hp-correction{font-weight:700;color:#805327;border-bottom:1px dotted #a7793d}.client-hp-correction::after{content:"†";font-size:10px;vertical-align:super;margin-left:2px}.pet-client-review{background:#f8f4e8;border:1px solid #cebd92;border-left:4px solid #9c803f;border-radius:5px;padding:14px 18px;margin:0 0 24px;font-size:13px;color:#564b35}.pet-client-review summary{cursor:pointer;font-weight:600;line-height:1.7}.pet-client-review p,.pet-client-review ul{line-height:1.9;margin:13px 0 0}.pet-client-review li{padding-block:3px}
@media(max-width:600px){.site-footer::before{inset:65px -220px 0 -530px;background-position:right bottom}}
.client-name-correction{border-bottom:1px dotted #4f7b5c}.client-name-correction::after{content:"‡";font-size:10px;vertical-align:super;margin-left:2px;color:#4d7250}

/* Dawn world: illustrated sky, rich chapter colors and opaque reading paper. */
body,body[data-realm],body[data-realm=home]{background:#b7d6d3 url('../images/d68a131cac38f3f10b0f0b73/worldmap.jpg') center top / cover fixed no-repeat}
.workspace{position:relative;isolation:isolate;min-height:100vh;background:linear-gradient(180deg,#d1edf0cf 0,#ebf1d9ed 680px,#dce9c9ed 1250px,#7eaaa5e8 100%)}
.workspace:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background: url('theme/footer-home.svg') center bottom/100% auto no-repeat;opacity:.75}
.topbar{background:#fffdf3ef;border-bottom:2px solid #c7ad70}
main{max-width:1440px}
.dawn-intro{display:block!important;position:relative;isolation:isolate;overflow:hidden;min-height:440px;padding:55px 42px!important;border:2px solid #d9bd79;border-radius:22px 5px 22px 5px;background:#193f54;box-shadow:0 18px 38px #173e4438;}
.browsing .dawn-intro{display:none!important}
.dawn-intro:before{display:none}
.dawn-intro>div{position:relative;z-index:2;max-width:47%;padding:24px 0}
.dawn-intro .eyebrow{color:#ffe8a9;letter-spacing:2px}
.dawn-intro h1{color:#fff7dc;font-size:clamp(32px,3vw,48px);text-shadow:0 3px 9px #0c263f;line-height:1.4;margin-block:22px}
.dawn-intro p{color:#eef7ff;font-size:16px;line-height:2}
.dawn-intro .promotion-reopen{background:#f8d77d;color:#3d321a;border:1px solid #fff0b8;font-weight:700}
.dawn-key-art{position:absolute;inset:0;width:100%!important;max-width:none!important;padding:0;transform:none;border:0;border-radius:0;z-index:0;background:none;}
.dawn-key-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#123248fa 0,#123248ed 27%,#12324896 45%,#12324800 67%),linear-gradient(0deg,#173c4b85,transparent 40%)}
.dawn-key-art img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:65% 48%;border-radius:0}
.dawn-key-art figcaption{position:absolute;right:18px;bottom:10px;z-index:1;color:#fff4ca;font-size:9px;text-shadow:0 1px 4px #000;background:#173b4bba;padding:5px 10px;border-radius:3px}
.search-panel{border:1px solid #849f8d;box-shadow:0 7px 18px #143b4320}
#home-sections>.section-head,.section-head{padding:10px 0}.section-head h2,.quick-section h2{color:#183d3e}.section-head .eyebrow{color:#315e59}.section-head>a,.section-head>.muted{color:#254f4d}
.pet-grid{gap:18px}.pet-card{position:relative;overflow:hidden;min-height:220px;border:2px solid #718d3c;border-radius:18px 4px 18px 4px;background:linear-gradient(145deg,#fff9d9,#d8e7a5)!important;padding:23px;box-shadow:0 8px 16px #24493218}
.pet-card:nth-child(2){border-color:#427ea1;background:linear-gradient(145deg,#effaff,#a9d9ed)!important}.pet-card:nth-child(3){border-color:#a0692d;background:linear-gradient(145deg,#fff3d2,#edc078)!important}
.pet-card:before{content:"";position:absolute;inset:0;background:url('theme/pets-emblem.svg') right -25px bottom -45px/180px no-repeat;opacity:.22;pointer-events:none}
.pet-art{width:76px;height:76px;margin:14px 0 12px;border:4px double #a1924d;border-radius:50%;background:#fffce9;box-shadow:0 4px 0 #63815c35}.pet-art img{width:40px;height:40px;object-fit:contain}.pet-card h3{position:relative;font-size:24px;color:#233d32}.pet-card p,.pet-card .small-label{color:#324d45}.pet-top .arrow{color:#2d574c}
.category-grid{gap:16px;border:0;background:transparent;overflow:visible;border-radius:0}
.category-tile[data-realm]{--tile:#256137;--tile-end:#184728;display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px 13px;min-height:150px;padding:23px 105px 22px 23px;border:1px solid #ffffff70!important;border-top:4px solid #e9cc7b!important;border-radius:12px 3px 12px 3px;background:linear-gradient(120deg,var(--tile),var(--tile-end));box-shadow:0 7px 14px #15363b23;color:white}
.category-tile[data-realm=classes]{--tile:#a74730;--tile-end:#743322}.category-tile[data-realm=skills]{--tile:#67499e;--tile-end:#41316e}.category-tile[data-realm=equipment]{--tile:#2d5f83;--tile-end:#203c59}.category-tile[data-realm=items]{--tile:#86601a;--tile-end:#60400e}.category-tile[data-realm=world]{--tile:#137b83;--tile-end:#11505e}.category-tile[data-realm=quests]{--tile:#a13e68;--tile-end:#6e2948}.category-tile[data-realm=archive]{--tile:#545a69;--tile-end:#303c4b}
.category-tile[data-realm] h3{color:#fff9e9;font-size:21px;letter-spacing:1px}.category-tile[data-realm] p{color:#fff3df;font-size:12px;margin-top:5px}.category-tile .tile-number{color:#ffe3a0;font-size:25px;align-self:start;line-height:1.5}.category-tile .tile-count{grid-column:2;color:#fff1c6;font-size:11px;margin:0}.category-tile .realm-emblem{right:12px;top:28px;width:75px;height:75px;padding:8px;border:1px solid #ffe7aa70;border-radius:50%;background:#ffffff12;filter:none;opacity:.95}.category-tile:hover{transform:translateY(-3px);filter:brightness(1.12)}
.quick-section{margin-top:40px;padding:32px;border:2px solid #b59a60;border-radius:4px 28px 4px 28px;background:linear-gradient(90deg,#fff9e9f5,#fff9e9e8),url('../images/d68a131cac38f3f10b0f0b73/worldmap.jpg') center/cover;box-shadow:0 8px 20px #193f421c}.quick-links a{color:#244e4e;border-color:#acbc9f;padding-block:13px;font-weight:600}.preservation-note{background:#fff9e9eF}
.site-footer{margin-top:25px;min-height:300px;background:linear-gradient(100deg,#143d49f5,#123d4ad1 45%,#1c495e80),url('theme/classic-party.jpg') center 65%/cover;color:#fff0cd}.site-footer:before{opacity:.65}.site-footer:after{font-size:23px;color:#fff1c4;text-shadow:0 2px 4px #163b41}
body[data-realm]:not([data-realm=home]) .workspace{background:linear-gradient(180deg,color-mix(in srgb,var(--realm-dark) 35%,transparent),#eef0dceF 620px,#c4d8c9ed)}
body[data-realm]:not([data-realm=home]) .article-top,body[data-realm]:not([data-realm=home]) .catalog-jumps{background:#fffdf3ed;border-radius:8px;padding:12px 16px}
@media(max-width:800px){.dawn-intro{min-height:390px;padding:30px!important}.dawn-intro>div{max-width:55%}.dawn-intro h1{font-size:32px}.dawn-key-art img{object-position:64% center}.category-tile[data-realm]{padding-right:80px}.category-tile .realm-emblem{right:10px;width:60px;height:60px}.category-tile[data-realm] h3{font-size:18px}}
@media(max-width:600px){body,body[data-realm]{background-attachment:scroll}.dawn-intro{min-height:420px;padding:24px!important;display:flex!important;align-items:flex-end;margin-bottom:20px}.browsing .dawn-intro{display:none!important}.dawn-intro>div{max-width:100%;padding:130px 0 0}.dawn-intro h1{font-size:30px;margin:10px 0}.dawn-intro p{font-size:13px;line-height:1.7}.dawn-intro .eyebrow{font-size:9px}.dawn-key-art:after{background:linear-gradient(0deg,#123248 0,#123248ed 32%,#12324855 70%,transparent)}.dawn-key-art img{object-position:65% top}.dawn-key-art figcaption{display:none}.dawn-intro .promotion-reopen{margin-top:12px}.pet-grid{gap:10px}.pet-card{min-height:185px;padding:13px;border-radius:12px 3px}.pet-card h3{font-size:18px}.pet-art{width:60px;height:60px}.pet-card .small-label{font-size:8px;letter-spacing:0}.category-grid{grid-template-columns:1fr;gap:12px}.category-tile[data-realm]{min-height:125px;padding:18px 95px 18px 18px;grid-template-columns:35px minmax(0,1fr)}.category-tile[data-realm] h3{font-size:21px}.category-tile .realm-emblem{top:25px;right:17px;width:70px;height:70px}.quick-section{padding:23px;gap:15px}.site-footer{min-height:310px}.site-footer:after{font-size:17px}}
@media print{body,body[data-realm],.workspace{background:white!important}.dawn-intro{min-height:0;background:white}.dawn-intro h1,.dawn-intro p{color:#222}.category-tile[data-realm]{background:white;color:#222}.category-tile[data-realm] h3,.category-tile[data-realm] p{color:#222}}

.dawn-intro .dawn-key-art{height:100%;aspect-ratio:auto;align-self:stretch}

/* Extend the approved collection palette to every chapter and reading page. */
body[data-realm=pets]{--realm:#256137;--realm-dark:#184728;--realm-soft:#eaf2d7;--realm-gold:#ffe3a0;--chapter-scene:url('theme/footer-pets.svg');--chapter-art:url('theme/hbo2-promo.jpg')}
body[data-realm=classes]{--realm:#a74730;--realm-dark:#743322;--realm-soft:#f8e6dc;--realm-gold:#ffe3a0;--chapter-scene:url('theme/footer-classes.svg');--chapter-art:url('theme/classic-party.jpg')}
body[data-realm=skills]{--realm:#67499e;--realm-dark:#41316e;--realm-soft:#eeE7f9;--realm-gold:#f5dcff;--chapter-scene:url('theme/footer-skills.svg');--chapter-art:none}
body[data-realm=equipment]{--realm:#2d5f83;--realm-dark:#203c59;--realm-soft:#e3edf5;--realm-gold:#ffe3a0;--chapter-scene:url('theme/footer-equipment.svg');--chapter-art:none}
body[data-realm=items]{--realm:#86601a;--realm-dark:#60400e;--realm-soft:#f9edce;--realm-gold:#ffebb5;--chapter-scene:url('theme/footer-items.svg');--chapter-art:none}
body[data-realm=world]{--realm:#137b83;--realm-dark:#11505e;--realm-soft:#dcf1ef;--realm-gold:#fff0ba;--chapter-scene:url('theme/footer-world.svg');--chapter-art:url('../images/d68a131cac38f3f10b0f0b73/worldmap.jpg')}
body[data-realm=quests]{--realm:#a13e68;--realm-dark:#6e2948;--realm-soft:#f9e6ed;--realm-gold:#ffe2b5;--chapter-scene:url('theme/footer-quests.svg');--chapter-art:none}
body[data-realm=archive]{--realm:#545a69;--realm-dark:#303c4b;--realm-soft:#e7eaf0;--realm-gold:#ffe3a0;--chapter-scene:url('theme/footer-archive.svg');--chapter-art:none}
body[data-realm]:not([data-realm=home]) .workspace{background:linear-gradient(180deg,color-mix(in srgb,var(--realm-soft) 86%,transparent),color-mix(in srgb,var(--realm-soft) 94%,transparent) 900px,color-mix(in srgb,var(--realm) 34%,#e6eddaee))}
body[data-realm]:not([data-realm=home]) .workspace:before{background-image:var(--chapter-scene);background-size:auto 430px;opacity:.8}
body[data-realm]:not([data-realm=home]) .sidebar{background:linear-gradient(180deg,var(--realm-dark),#142e36 85%)}
body[data-realm]:not([data-realm=home]) .sidebar:after{content:"";position:absolute;inset:auto 0 0;height:130px;background:var(--chapter-scene) right bottom/auto 180px no-repeat;opacity:.3;pointer-events:none}
body[data-realm]:not([data-realm=home]) .nav-link.active{background:var(--realm);box-shadow:inset 3px 0 #ffdc8a,0 3px 12px #0002;color:#fffdf0}
body[data-realm]:not([data-realm=home]) .realm-category,body[data-realm]:not([data-realm=home]) .realm-article{background:linear-gradient(100deg,var(--realm-dark),var(--realm));border:1px solid #e3c67b;border-top:4px solid #eed18a;color:#fff9e9;box-shadow:0 13px 26px #163b3c28}
.realm-category:before,.realm-article:before{content:"";position:absolute;inset:0;z-index:-1;background:var(--chapter-scene) right bottom/auto 100% no-repeat;opacity:.7;pointer-events:none}
.realm-category:after,.realm-article:after{content:"";position:absolute;inset:0 0 0 43%;z-index:-2;background-image:linear-gradient(90deg,var(--realm),transparent 85%),var(--chapter-art);background-position:center,right center;background-size:cover;opacity:.75;pointer-events:none}
.realm-category{min-height:320px;padding:38px 40px;grid-template-columns:minmax(0,1fr) 300px;border-radius:22px 4px 22px 4px}
.realm-category .realm-category-name{font-size:17px;font-weight:700;letter-spacing:3px;color:var(--realm-gold)!important}
.realm-category .realm-tagline{font-size:clamp(28px,2.8vw,40px);max-width:13em;text-shadow:0 2px 7px #0005;color:#fff9e9}
.realm-category .realm-description{color:#fff3e1!important;max-width:29em}
.realm-category .realm-chapter{color:var(--realm-gold)!important;letter-spacing:2px}
.realm-category .realm-illustration{min-height:220px;align-self:center}
.realm-category .realm-emblem{width:235px;height:235px;opacity:.8;filter:none!important}
.realm-category .specimen{box-shadow:0 8px 20px #0005;border-color:#f4d188}
[data-realm=pets] .realm-category{border-bottom:5px solid #8fac51}
[data-realm=pets] .realm-category:after{inset:0 0 0 48%;opacity:.48;background-position:center,right 40%;background-size:cover}
[data-realm=pets] .realm-category .realm-emblem{opacity:.3}
[data-realm=classes] .realm-category:after{inset:0 0 0 32%;opacity:.8;background-position:center,65% 52%}
[data-realm=classes] .realm-category .realm-specimens{justify-content:flex-end}
[data-realm=classes] .realm-category .specimen.large-art{height:185px;width:125px;transform:rotate(4deg);background:#fff7de;border:3px solid #f0c784}
[data-realm=classes] .realm-category .realm-emblem{opacity:.18}
[data-realm=skills] .realm-category{border-radius:28px 4px;background-image:radial-gradient(circle at 80% 50%,#bf9dfb45,transparent 45%),linear-gradient(105deg,#302449,#67499e)}
[data-realm=skills] .realm-category .realm-illustration{border:1px solid #d6c0fb70;border-radius:50%;box-shadow:0 0 0 12px #d6c0fb10,0 0 0 26px #d6c0fb0a,inset 0 0 35px #e4b8ff38;min-height:240px}
[data-realm=skills] .realm-category .specimen{width:66px;height:66px;background:#2d234b;border:2px solid #d7bcff}
[data-realm=equipment] .realm-category{border-radius:3px;border-width:4px;border-style:double}
[data-realm=equipment] .realm-category .realm-illustration{background:repeating-linear-gradient(90deg,#fff1ce08 0 2px,transparent 2px 50px);border-bottom:8px solid #c59d65;box-shadow:0 12px 12px #0003}
[data-realm=equipment] .realm-category .specimen{height:145px;width:74px;border:2px solid #cba977;background:linear-gradient(90deg,#172b42,#3b5970)}
[data-realm=equipment] .realm-category .realm-emblem{opacity:.18}
[data-realm=items] .realm-category{border:2px dashed #e9c87b;border-radius:4px 30px 4px 30px}
[data-realm=items] .realm-category .specimen{width:80px;height:95px;background:#fff0b8;border:3px solid #dab153;border-top:8px double #997128;transform:rotate(-9deg)}
[data-realm=items] .realm-category .specimen:nth-child(2){transform:translateY(-30px) rotate(6deg)}
[data-realm=world] .realm-category{border:5px double #e4d396;grid-template-columns:minmax(0,1fr) 300px}
[data-realm=world] .realm-category .specimen.large-art:only-child{width:290px;height:210px;transform:rotate(-3deg);padding:8px;background:#f7e6bb;box-shadow:0 12px 20px #0006}
[data-realm=quests] .realm-category{border-left:8px solid #ebbd80;border-radius:3px 28px 3px 3px}
[data-realm=quests] .realm-category .realm-emblem{background:#ffe6b210;border:1px solid #ffdf9a60;border-radius:10px;padding:25px;transform:rotate(8deg)}
[data-realm=archive] .realm-category{border-left:8px double #e3c480;border-radius:3px 3px 30px 3px}
[data-realm=archive] .realm-category .realm-emblem{border-bottom:3px solid #d5bb83;padding:20px;transform:rotate(-5deg)}
/* Category directories become separate, clearly grouped shelves. */
body[data-realm]:not([data-realm=home]) .catalog-jumps{display:flex;flex-wrap:wrap;gap:10px;background:#fffdf5;border:1px solid color-mix(in srgb,var(--realm) 35%,white);border-left:5px solid var(--realm);padding:16px;border-radius:5px 16px 5px 5px;box-shadow:0 6px 16px #153b3e12}
body[data-realm] .catalog-jumps a{background:var(--realm-soft);color:var(--realm-dark);border:1px solid color-mix(in srgb,var(--realm) 45%,white);font-weight:600;border-radius:6px}
body[data-realm] .catalog-jumps a:hover{background:var(--realm);color:white}
body[data-realm] .group-header{background:linear-gradient(110deg,var(--realm-dark),var(--realm));color:white;padding:17px 22px;border:0;border-top:3px solid #e3c480;border-radius:8px 8px 0 0;margin-bottom:0;min-height:80px}
body[data-realm] .group-header h3{color:#fff7df;font-size:22px;margin:0 0 3px}
body[data-realm] .group-header p{color:#fff0dd;margin:0;font-size:13px;line-height:1.7}
body[data-realm] .group-count{background:#ffffff16;border:1px solid #ffe0a66b;border-radius:5px;padding:5px 10px;color:#fff1c9;white-space:nowrap}
body[data-realm] .catalog-group .catalog-list{border-radius:0 0 10px 10px;border-color:color-mix(in srgb,var(--realm) 35%,white);background:#fffef8;box-shadow:0 7px 16px #183a3c12}
body[data-realm] .catalog-link{color:var(--realm-dark);min-height:65px;border-color:color-mix(in srgb,var(--realm) 22%,white);background:linear-gradient(110deg,#fffef8 65%,var(--realm-soft));font-weight:600}
body[data-realm] .catalog-link:hover{background:var(--realm-soft);color:var(--realm-dark);box-shadow:inset 4px 0 var(--realm)}
body[data-realm] .link-chevron{color:var(--realm);font-size:23px}
body[data-realm=pets] .stages .catalog-list{padding:17px;gap:16px;background:#edf2dc}
body[data-realm=pets] .evolution-card{background:linear-gradient(140deg,#fffce8,#dcebb6);border:2px solid #79974b;border-radius:15px 3px;box-shadow:0 6px 15px #24402b1c}
body[data-realm=pets] .evolution-card:nth-child(2){background:linear-gradient(140deg,#effaff,#b5dfed);border-color:#4b8ca5}
body[data-realm=pets] .evolution-card:nth-child(3){background:linear-gradient(140deg,#fff4da,#edc384);border-color:#a37538}
body[data-realm=pets] .evolution-card .stage-title{color:#233d32}
body[data-realm=classes] .jobs .catalog-list{padding:17px;background:#f8e9df}
body[data-realm=classes] .jobs .catalog-link{border:1px solid #d7ad94;border-top:4px solid #b06443;border-radius:5px;color:#713a2d;box-shadow:0 4px 8px #63342e0c}
body[data-realm=classes] .race-title{background:var(--realm-dark);color:#fff2cc;padding:16px 20px}
body[data-realm=classes] .race-children{background:#fff7eb}
body[data-realm=skills] .catalog-list{background:#f4efff}
body[data-realm=equipment] .catalog-link{border-left:4px solid #7395ae;background:linear-gradient(90deg,#eaf1f7,#fffef8)}
body[data-realm=items] .catalog-link{border-left:4px solid #c6a552;background:linear-gradient(90deg,#fff5d4,#fffef8)}
body[data-realm=quests] .catalog-link{border-left:4px solid #bd7394;background:linear-gradient(90deg,#fceaf1,#fffef8)}
body[data-realm=archive] details.catalog-group{border:1px solid #b9c1cc;border-radius:8px;background:#fffdf6;padding:0;overflow:hidden}
body[data-realm=archive] details.catalog-group[open] .group-header{border-bottom:2px solid #c2a56c}
/* Article covers, contents and data tables carry the same chapter identity. */
.realm-article{min-height:240px;padding:30px 270px 28px 32px;border-radius:18px 4px 18px 4px}
.realm-article h1{font-size:38px;letter-spacing:1px;text-shadow:0 2px 7px #0003}
.realm-article .realm-illustration{width:225px;right:22px;top:24px;height:calc(100% - 48px);z-index:0}
.realm-article>:not(.realm-illustration){position:relative;z-index:1}
.realm-article .realm-emblem{width:200px;height:200px;opacity:.45}
.realm-article .specimen{box-shadow:0 8px 15px #0005}
.realm-article .article-meta,.realm-article .article-meta span{color:#fff2df}
.chapter-return{display:inline-block;margin-top:17px;padding:6px 12px;background:#ffffff14;border:1px solid #ffe0a575;border-radius:5px;font-size:12px;color:#fff0bc;font-weight:600}
.chapter-return:hover{background:#f8df9f;color:#233b3e}
body[data-realm] .article-toc{padding:0 0 15px;border:1px solid color-mix(in srgb,var(--realm) 35%,white);border-top:0;overflow:hidden;box-shadow:0 7px 18px #153b3b1b}
body[data-realm] .article-toc h2{background:var(--realm-dark);color:#fff0c7;padding:15px 18px;margin:0 0 12px;border-bottom:3px solid #ddbd73}
body[data-realm] .article-toc a{color:var(--realm-dark);padding:5px 18px}
body[data-realm] .article-toc a:hover{background:var(--realm-soft);color:var(--realm-dark)}
body[data-realm] .wiki-content{border:1px solid color-mix(in srgb,var(--realm) 30%,white);border-top:5px solid var(--realm);box-shadow:0 10px 25px #193d3a16}
body[data-realm] .wiki-content .contents{background:linear-gradient(120deg,#fffef7,var(--realm-soft));border:1px solid color-mix(in srgb,var(--realm) 32%,white);border-left:4px solid var(--realm)}
body[data-realm] .wiki-content th{background:var(--realm-dark)!important;color:#fff6dc!important;border-color:color-mix(in srgb,var(--realm) 65%,white)!important}
body[data-realm] .wiki-content td{border-color:color-mix(in srgb,var(--realm) 24%,white)!important}
body[data-realm] .wiki-content tr:nth-child(even)>td{background:color-mix(in srgb,var(--realm-soft) 35%,white)}
body[data-realm] .reader-tools{background:#fffdf5;border:1px solid color-mix(in srgb,var(--realm) 38%,white);border-left:5px solid var(--realm);box-shadow:0 5px 12px #153b3c14}
body[data-realm] .reader-tools button{background:var(--realm-dark);color:#fff6dc;border-color:var(--realm-dark)}
body[data-realm] .reader-tools button:disabled{background:#e9e9e1;color:#60685f;border-color:#c7cbbf;opacity:1}
body[data-realm] .site-footer{background:linear-gradient(120deg,var(--realm-dark),color-mix(in srgb,var(--realm) 70%,#102f39));border-top:3px double #dabd77}
body[data-realm=home] .site-footer{background:linear-gradient(100deg,#143d49f5,#123d4ad1 45%,#1c495e80),url('theme/classic-party.jpg') center 65%/cover}
@media(max-width:1100px){.realm-category{grid-template-columns:minmax(0,1fr) 220px;padding:30px}.realm-category .realm-emblem{width:200px;height:200px}.realm-category .realm-illustration{min-height:190px}.realm-article{padding-right:220px}.realm-article .realm-illustration{width:180px}.realm-article .realm-emblem{width:175px;height:175px}}
@media(max-width:600px){.realm-category{grid-template-columns:minmax(0,1fr) 85px!important;padding:24px 18px!important;min-height:260px}.realm-category .realm-illustration{width:85px;min-height:140px}.realm-category .realm-emblem{width:120px;height:120px;max-width:none}.realm-category .realm-tagline{font-size:27px;line-height:1.5}.realm-category .realm-description{font-size:12px;max-width:20em}.realm-category .realm-category-name{font-size:14px;letter-spacing:2px}.realm-category .realm-chapter{font-size:8px;letter-spacing:1px}.realm-category:after{inset:0 0 0 32%;opacity:.4}.realm-category .specimen{width:37px!important;height:50px!important}.realm-category .specimen img{max-width:28px;max-height:36px}[data-realm=classes] .realm-category .specimen.large-art{width:62px!important;height:100px!important}[data-realm=classes] .realm-category .specimen.large-art img{max-width:100%;max-height:100%}[data-realm=skills] .realm-category .realm-illustration{min-height:120px;border-radius:50%;box-shadow:0 0 0 8px #d6c0fb10}[data-realm=skills] .realm-category .specimen{width:36px!important;height:36px!important}[data-realm=world] .realm-category .specimen.large-art:only-child{width:100px!important;height:125px!important;padding:4px}[data-realm=world] .realm-category .specimen.large-art:only-child img{max-width:100%;max-height:100%}
.realm-article{padding:23px 105px 23px 18px!important;min-height:240px}.realm-article h1{font-size:28px}.realm-article .realm-illustration{width:80px;right:12px;top:24px;height:calc(100% - 48px)}.realm-article .realm-emblem{width:105px;height:105px}.realm-article .specimen:nth-child(n+2){display:none}.realm-article .specimen.large-art{width:75px;height:100px}.realm-article .specimen.large-art img{max-width:100%;max-height:100%}.chapter-return{font-size:11px;padding:6px 9px;margin-top:13px}.realm-article .article-meta{font-size:11px}.realm-article .realm-reading-note{font-size:10px}
body[data-realm] .group-header{padding:15px 17px;gap:12px}body[data-realm] .group-header h3{font-size:20px}body[data-realm] .group-header p{font-size:12px}body[data-realm] .group-count{padding:4px 7px;font-size:11px}body[data-realm] .catalog-jumps{padding:12px;gap:8px}body[data-realm] .catalog-jumps a{padding:7px 11px;font-size:12px}body[data-realm] .catalog-link{min-height:60px}body[data-realm=pets] .stages .catalog-list{padding:12px}body[data-realm=classes] .jobs .catalog-list{padding:12px;gap:10px}body[data-realm] .wiki-content{padding:19px 14px}body[data-realm] .reader-tools{padding:12px}}
@media(prefers-reduced-motion:reduce){.category-tile:hover{transform:none}}
@media print{.realm-category:before,.realm-category:after,.realm-article:before,.realm-article:after,.chapter-return{display:none}body[data-realm] .wiki-content th{background:#eee!important;color:#222!important}body[data-realm] .workspace{background:white}body[data-realm] .group-header{background:white;color:#222}body[data-realm] .group-header h3,body[data-realm] .group-header p{color:#222}}

body[data-realm=archive] .about-content{background:#fffef8;border:1px solid #aab6be;border-top:5px solid #545a69;box-shadow:0 10px 25px #193d3a16}
body[data-realm=archive] .about-content h2{color:#303c4b;border-bottom:1px solid #d1d6da;padding-bottom:12px}
body[data-realm=archive] .about-content .stats{gap:14px}
body[data-realm=archive] .about-content .stats>div{background:linear-gradient(140deg,#303c4b,#545a69);border-top:3px solid #e3c480;padding:20px;border-radius:8px;color:#fff4d3}
body[data-realm=archive] .about-content .stats strong,body[data-realm=archive] .about-content .stats span{color:#fff4d3}
body[data-realm=archive] .page-intro.realm-article p{color:#f9ead2}
@media(max-width:600px){body[data-realm=archive] .about-content .stats{gap:8px}body[data-realm=archive] .about-content .stats>div{padding:14px 8px}}
