:root {
	color-scheme: light;
	--ink: #292621;
	--muted: #686158;
	--paper: #f5f0e6;
	--white: #fffdf8;
	--line: #d8cdbb;
	--wine: #381e27;
	--wine-deep: #24171c;
	--gold: #a96d37;
	--gold-light: #e0b879;
	font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 20; top: -5rem; left: 1rem; padding: .8rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1320px; min-height: 88px; margin: auto; padding: 0 5%; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--wine); font-family: Georgia, 'Yu Mincho', serif; font-size: 1.18rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.wordmark-mark { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 1.25rem; }
.wordmark-light { font-weight: 400; }
.header-link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gold); color: var(--wine); font-size: .84rem; font-weight: 700; }
.header-link span { color: var(--gold); }
h1, h2, h3 { font-family: 'Yu Mincho', 'Hiragino Mincho ProN', 'MS PMincho', Georgia, serif; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-family: Georgia, serif; font-size: .73rem; font-weight: 700; letter-spacing: .18em; }
.eyebrow-rule { display: inline-block; width: 30px; height: 1px; margin: 0 10px 4px 0; background: currentColor; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 2%; min-height: 590px; overflow: hidden; background: radial-gradient(circle at 75% 50%, #663a3d 0, transparent 39%), linear-gradient(135deg, #45242c, var(--wine-deep)); color: #f9f2e7; }
.hero::before { position: absolute; pointer-events: none; content: ''; }
.hero::before { inset: 18px; border: 1px solid rgba(224, 184, 121, .29); }
.hero-copy { position: relative; z-index: 2; max-width: 740px; margin-left: max(7%, calc((100vw - 1200px)/2)); padding: 80px 5% 90px 0; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { margin: 0; font-size: clamp(3.1rem, 5.1vw, 5.5rem); font-weight: 400; line-height: 1.16; letter-spacing: .025em; }
.hero h1 span { color: #f2d5a0; }
.intro { margin: 29px 0 36px; color: #e1d5ca; font-size: 1rem; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 55px; padding: 0 24px; font-size: .88rem; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: #efc78c; color: var(--wine-deep); }
.button-gold:hover { background: #ffe1ae; }
.text-link { padding: 10px 0; border-bottom: 1px solid rgba(239, 199, 140, .7); color: #f7e9d4; font-size: .88rem; }
.text-link span { margin-left: 8px; }
.hero-art { position: relative; z-index: 1; display: grid; min-height: 490px; place-items: center; padding: 45px 11% 45px 0; }
.hero-logo { display: block; width: min(100%, 440px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 28px 85px #170d13a8, 0 0 0 1px #e3bd7d82, 0 0 0 12px #a4766030; }
.section-heading { margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 9px; }
h2 { margin: 0; color: var(--wine); font-size: clamp(1.75rem, 2.6vw, 2.4rem); font-weight: 500; line-height: 1.4; }
.resources, .connect, .specifications, .community, .notice, .thanks { max-width: 1200px; margin-right: auto; margin-left: auto; }
.resources, .specifications, .thanks { padding: 78px 24px; }
.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.resource-card { position: relative; display: flex; min-height: 220px; flex-direction: column; align-items: flex-start; padding: 29px 25px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 25px #4c34100a; transition: transform .2s, border-color .2s, box-shadow .2s; }
.resource-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 30px #4c341019; }
.resource-kicker { color: var(--gold); font-family: Georgia, serif; font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.resource-card strong { margin-top: 28px; color: var(--wine); font-family: 'Yu Mincho', serif; font-size: 1.2rem; font-weight: 600; line-height: 1.4; }
.resource-card > span:not(.resource-kicker):not(.resource-arrow) { margin-top: 10px; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.resource-arrow { position: absolute; right: 24px; bottom: 22px; color: var(--gold); font-size: 1.15rem; }
.connect { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 50px; padding: 54px 50px; background: var(--wine); color: #fff7ec; }
.connect h2 { color: #fff7ec; }
.connect .eyebrow { color: var(--gold-light); }
.connection-card { padding: 30px 36px; border: 1px solid #dbad7582; background: #ffffff0b; }
.connection-label { color: var(--gold-light); font-family: Georgia, serif; font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.connection-details { display: flex; flex-wrap: wrap; gap: 20px 70px; margin: 24px 0; }
.connection-details div { display: grid; gap: 10px; }
.connection-details dt { color: #cbbab1; font-size: .78rem; }
.connection-details dd { margin: 0; }
code { font-family: 'Cascadia Code', Consolas, monospace; }
.connection-details code { color: #fff7ec; font-size: 1.05rem; font-weight: 700; }
.portal-link { display: inline-block; color: #f2d5a0; font-size: .86rem; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.portal-link span { margin-left: 8px; }
.specifications { padding-top: 88px; }
.table-wrap { overflow-x: auto; border-top: 2px solid var(--wine); }
.specifications table { width: 100%; border-collapse: collapse; text-align: left; }
.specifications th, .specifications td { padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: .9rem; line-height: 1.8; }
.specifications th { width: 25%; color: var(--wine); font-weight: 700; }
.spec-links { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 20px; }
.inline-link, .article a { color: #7d3c2e; text-decoration: underline; text-underline-offset: 4px; }
.inline-link:hover, .article a:hover { color: #a45532; }
.community { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 55px 24px; border-top: 1px solid var(--line); }
.community p:not(.eyebrow), .notice p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: .9rem; line-height: 1.9; }
.button-outline { flex: 0 0 auto; border: 1px solid var(--wine); color: var(--wine); }
.button-outline:hover { background: #eadccc; }
.notice { padding: 32px 36px; border-left: 4px solid var(--gold); background: #ebe1d1; }
.notice h2 { font-size: 1.45rem; }
.notice .inline-link { display: inline-block; margin-top: 10px; }
.thanks { text-align: center; }
.thanks img { display: block; width: min(100%, 660px); max-height: 340px; margin: auto; object-fit: contain; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 38px max(5%, calc((100vw - 1200px)/2)); background: var(--wine-deep); color: #e4d3bf; font-size: .8rem; }
.footer-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.footer-copy p { margin: 0; }
.footer-brand { color: #fff1d9; font-family: Georgia, serif; font-size: 1rem; }
.footer-contact { color: #e4d3bf; text-decoration: underline; text-underline-offset: 4px; }
.footer-mark { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.8rem; }
.article { width: min(100% - 44px, 850px); margin: 0 auto; padding: 48px 0 100px; }
.article > p:first-child { color: var(--muted); font-size: .8rem; }
.article h1 { margin: 26px 0 20px; color: var(--wine); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 500; line-height: 1.35; }
.article h2 { margin: 58px 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 1.65rem; }
.article h3 { margin: 38px 0 15px; color: var(--wine); font-size: 1.22rem; }
.article h4 { margin: 28px 0 14px; color: var(--wine); font-size: 1rem; }
.article p, .article li { font-size: .94rem; line-height: 2.05; overflow-wrap: anywhere; }
.article p { margin: 0 0 20px; }
.article ul, .article ol { padding-left: 1.55rem; }
.article li { margin: 0 0 9px; padding-left: .15rem; }
.article figure { margin: 34px 0; padding: 20px; background: var(--white); }
.article figure img { display: block; max-width: 100%; height: auto; margin: auto; }
.article figcaption { margin-top: 12px; color: var(--muted); font-size: .78rem; text-align: center; }
.article blockquote { margin: 26px 0; padding: 23px 27px; border-left: 3px solid var(--gold); background: #eee2d0; }
.article blockquote p:last-child { margin-bottom: 0; }
.article code { overflow-wrap: anywhere; }
.article table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.article th, .article td { min-width: 120px; padding: 12px 14px; border: 1px solid var(--line); text-align: left; line-height: 1.8; }
.article hr { margin: 50px 0; border: 0; border-top: 1px solid var(--line); }
@media (max-width: 1000px) {
	.resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.resource-card { min-height: 190px; }
}
@media (max-width: 760px) {
	.site-header { min-height: 70px; padding: 0 5%; }
	.hero { grid-template-columns: 1fr; gap: 0; }
	.hero-copy { margin: 0; padding: 73px 7% 20px; }
	.hero h1 { font-size: clamp(3rem, 11vw, 4.8rem); }
	.hero-art { min-height: 0; padding: 12px 8% 75px; }
	.hero-logo { width: min(64vw, 320px); }
	.resources, .specifications, .thanks { padding: 56px 6%; }
	.connect { grid-template-columns: 1fr; gap: 22px; padding: 45px 6%; }
	.community { align-items: flex-start; flex-direction: column; padding: 45px 6%; }
	.notice { margin: 0 6%; }
	.site-footer { padding: 35px 6%; }
	.article { padding-top: 32px; }
}
@media (max-width: 520px) {
	.wordmark { font-size: .94rem; gap: 8px; }
	.wordmark-mark { width: 31px; height: 31px; font-size: 1rem; }
	.header-link { font-size: .75rem; }
	.hero-copy { padding-top: 60px; }
	.intro { font-size: .89rem; }
	.resource-grid { grid-template-columns: 1fr; }
	.resource-card { min-height: 145px; }
	.resource-card strong { margin-top: 16px; }
	.connection-card { padding: 22px; }
	.connection-details { gap: 15px 25px; }
	.connection-details code { font-size: .84rem; }
	.specifications th, .specifications td { padding: 12px 10px; font-size: .78rem; }
	.specifications th { width: 33%; }
	.site-footer { flex-wrap: wrap; }
	.article { width: min(100% - 32px, 850px); }
	.article h2 { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}

/* The site palette follows the original Mirage artwork: ember, teal, and violet. */
:root {
	color-scheme: dark;
	--ink: #f2ece4;
	--muted: #c4b8b4;
	--paper: #11111b;
	--white: #1b1b28;
	--line: #5b4650;
	--wine: #efc58e;
	--wine-deep: #0c0b14;
	--gold: #f2a944;
	--gold-light: #ffd695;
	font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}
body { background: radial-gradient(ellipse at 70% 14%, #202235 0, transparent 35%), #11111b; color: var(--ink); }
h1, h2, h3, .wordmark, .resource-card strong, .footer-brand { font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif; }
.site-header { max-width: none; min-height: 76px; padding: 0 max(5%, calc((100vw - 1280px)/2)); border-bottom: 1px solid #78534475; background: #100e18; }
.wordmark { color: #f7eee4; font-size: 1rem; font-weight: 800; letter-spacing: .07em; }
.wordmark-mark { border-radius: 4px; background: linear-gradient(145deg, #653223, #171524); color: #f9c77a; }
.wordmark-light { font-weight: 600; }
.header-link { border-color: #b67b46; color: #f9d7aa; }
.eyebrow { color: #ecaa5b; font-family: inherit; font-size: .7rem; letter-spacing: .14em; }
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 640px; background: radial-gradient(ellipse at 72% 45%, #203d4b8c 0, transparent 26%), radial-gradient(ellipse at 70% 38%, #70352d9c 0, transparent 55%), linear-gradient(120deg, #20111d 0%, #171522 54%, #0b101d 100%); }
.hero::before { inset: 14px; border-color: #bc744c45; clip-path: polygon(0 0, 100% 0, 100% 93%, 95% 100%, 0 100%); }
.hero-copy { max-width: 720px; margin-left: max(7%, calc((100vw - 1200px)/2)); padding: 80px 0; }
.hero h1 { color: #fff7eb; font-family: 'Trebuchet MS', 'Yu Gothic', sans-serif; font-size: clamp(2.6rem, 4.1vw, 4.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; white-space: nowrap; text-shadow: 0 4px 24px #0008; }
.intro { max-width: 560px; margin: 30px 0 36px; color: #e3d5ca; font-size: 1rem; }
.button { border-radius: 3px; }
.button-gold { background: linear-gradient(135deg, #ffe0a0, #e59a45 65%, #c06b34); box-shadow: 0 8px 26px #db854328; color: #28151b; }
.button-gold:hover { background: linear-gradient(135deg, #ffedc0, #f7b15f 70%, #d98243); }
.text-link { border-color: #f8b86f; color: #ffe2bc; }
.hero-art { min-height: 575px; padding: 0 3% 0 0; }
.hero-logo { width: min(100%, 590px); max-height: none; aspect-ratio: 1; border-radius: 0; object-fit: contain; box-shadow: none; filter: drop-shadow(0 15px 36px #050710a6); -webkit-mask-image: radial-gradient(ellipse closest-side at center, #000 70%, #000b 84%, transparent 100%); mask-image: radial-gradient(ellipse closest-side at center, #000 70%, #000b 84%, transparent 100%); }
.resources, .specifications, .thanks { max-width: 1240px; }
.resources { padding-top: 80px; }
h2 { color: #f3e5d8; font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 700; letter-spacing: .02em; }
.resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.resource-card { min-height: 154px; padding: 23px 28px; border-color: #6e504b; border-left: 3px solid #df9654; border-radius: 3px; background: linear-gradient(110deg, #3e252b 0, #252232 58%, #1c2631 100%); box-shadow: inset 0 1px #ffffff12, 0 12px 26px #0003; }
.resource-card:hover { border-color: #f5b16a; background: linear-gradient(110deg, #56302d 0, #303047 57%, #1e3b49 100%); box-shadow: 0 15px 32px #0005; }
.resource-kicker { color: #f7b46b; font-family: inherit; font-size: .66rem; }
.resource-card strong { margin-top: 12px; color: #fff3df; font-size: 1.17rem; font-weight: 700; }
.resource-card > span:not(.resource-kicker):not(.resource-arrow) { color: #d4c8c1; }
.resource-arrow { color: #ffd192; }
.connect { max-width: 1240px; border: 1px solid #b4804c6e; border-radius: 4px; background: radial-gradient(circle at 93% 10%, #28748955, transparent 45%), linear-gradient(110deg, #462324, #1b1c2f 70%); }
.connect h2 { color: #fff3e5; }
.connection-card { border-color: #d795579e; background: linear-gradient(145deg, #171823b5, #30304782); }
.connection-details code { color: #fff6e8; }
.portal-link { color: #ffd69c; }
.specifications { padding-top: 90px; }
.table-wrap { border-color: #de9159; }
.specifications th, .specifications td { border-color: #6e5354; }
.specifications th { color: #f5bb80; }
.inline-link, .article a { color: #ffbe79; }
.inline-link:hover, .article a:hover { color: #ffe0af; }
.community { border-color: #644a50; }
.community p:not(.eyebrow), .notice p:not(.eyebrow) { color: #c9bec0; }
.button-outline { border-color: #c88656; color: #ffca8e; }
.button-outline:hover { background: #6c3b2c61; }
.notice { border-color: #f2ad61; background: linear-gradient(120deg, #41272d, #202333); }
.thanks { border-top: 1px solid #5a4350; }
.site-footer { background: #0a0b12; color: #c9bbc0; }
.footer-brand { color: #f5d5b0; }
.footer-contact { color: #e9bd91; }
.article > p:first-child { color: #b9b1b5; }
.article h1 { color: #ffdaa5; font-weight: 800; }
.article h2 { border-color: #705158; color: #f3e4d8; }
.article h3, .article h4 { color: #f2bb86; }
.article p, .article li { color: #e0d8d4; }
.article figure { border: 1px solid #594a52; background: #1c1d2a; }
.article figcaption { color: #c1b5b3; }
.article blockquote { border-color: #eaa458; background: #35262d; }
.article th, .article td { border-color: #674d50; }
.article hr { border-color: #674d50; }
@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; }
	.hero-copy { max-width: none; margin: 0; padding: 75px 7% 0; }
	.hero-art { min-height: 0; padding: 0 6% 35px; }
	.hero-logo { width: min(70vw, 440px); }
}
@media (max-width: 600px) {
	.hero h1 { font-size: clamp(1.95rem, 8vw, 3rem); }
	.hero-copy { padding-top: 65px; }
	.resource-grid { grid-template-columns: 1fr; }
	.resource-card { min-height: 135px; }
	.connect { margin: 0 4%; padding: 32px 5%; }
	.connection-details code { font-size: .8rem; }
}

/* Full-screen game entrance and Noto typography. */
:root { font-family: 'Noto Sans', 'Noto Sans JP', sans-serif; }
body, h1, h2, h3, .wordmark, .resource-card strong, .footer-brand, .eyebrow { font-family: 'Noto Sans', 'Noto Sans JP', sans-serif; }
.wordmark { font-weight: 700; }
.hero { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: center; min-height: 0; padding: 22px 24px 68px; background: radial-gradient(ellipse at 50% 42%, #32627a69 0, transparent 32%), radial-gradient(ellipse at 50% 22%, #824336a6 0, transparent 46%), linear-gradient(180deg, #24141e 0%, #121321 65%, #0b101b 100%); }
.hero::before { display: none; }
.hero-art { grid-row: 1; width: 100%; min-height: 0; padding: 0; }
.hero-logo { width: min(82vw, 720px); max-width: 100%; }
.hero-copy { grid-row: 2; max-width: 900px; margin: -35px 0 0; padding: 0; text-align: center; }
.hero h1 { font-family: 'Noto Sans', 'Noto Sans JP', sans-serif; font-size: clamp(1.4rem, 2.5vw, 2.1rem); font-weight: 700; letter-spacing: .01em; }
.intro { max-width: none; margin: 15px 0 23px; font-size: .94rem; }
.hero-actions { justify-content: center; }
.connection-details { align-items: start; gap: 24px 54px; }
.connection-details div { min-width: 0; }
.copy-value { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 11px; padding: 4px 0; border: 0; background: transparent; color: #fff6e8; cursor: pointer; font: 700 1.02rem 'Noto Sans', 'Noto Sans JP', sans-serif; text-align: left; }
.copy-value:hover .copy-label, .copy-value:focus-visible .copy-label { background: #eca956; color: #221820; }
.copy-label { padding: 4px 7px; border: 1px solid #dd9c5a; border-radius: 2px; color: #ffd9a7; font-size: .67rem; font-weight: 600; line-height: 1.2; }
.copy-status { min-height: 1.4em; margin: 0; color: #f8ce90; font-size: .78rem; }
@media (max-width: 900px) {
	.hero { padding-top: 30px; }
	.hero-copy { padding: 0 4%; }
	.hero-logo { width: min(82vw, 600px); }
}
@media (max-width: 600px) {
	.hero { padding: 20px 6% 55px; }
	.hero-logo { width: min(94vw, 440px); }
	.hero-copy { margin-top: -10px; padding: 0; }
	.hero h1 { font-size: clamp(1.23rem, 5.5vw, 1.8rem); }
	.intro { font-size: .83rem; }
	.copy-value { font-size: .85rem; }
}

/* Navigation uses the artwork's dark field with restrained metallic accents. */
.site-header { position: relative; min-height: 94px; background: #100f19; }
.site-header::after, .site-footer::before { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, #5c393e, #b98046 43%, #3d7e8b 78%, #202839); content: ''; }
.wordmark { display: flex; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1; }
.wordmark-name { color: #f6e9d7; font-size: 1.55rem; font-weight: 800; letter-spacing: .23em; }
.wordmark-sub { margin-top: 7px; color: #c39062; font-size: .57rem; font-weight: 700; letter-spacing: .31em; }
.header-link { gap: 16px; padding: 10px 14px; border: 1px solid #a879537d; border-radius: 2px; color: #f1d5b2; font-size: .78rem; }
.header-link:hover { border-color: #edbb7b; background: #e6ad6630; }
.header-link span { color: #eaae6e; }
.resources { display: grid; grid-template-columns: minmax(210px, .32fr) minmax(0, 1fr); gap: 50px; padding-top: 84px; padding-bottom: 92px; }
.resource-grid { display: block; border-top: 1px solid #6c5254; }
.resource-card { display: grid; grid-template-columns: 125px minmax(145px, 1fr) minmax(170px, 1.2fr) 20px; align-items: center; gap: 14px; min-height: 96px; padding: 16px 4px; border: 0; border-bottom: 1px solid #6c5254; border-radius: 0; background: transparent; box-shadow: none; }
.resource-card:hover { transform: none; border-color: #ac7351; background: radial-gradient(ellipse at 68% 52%, #32495846, transparent 70%), #432b2b48; box-shadow: none; }
.resource-kicker { color: #d99b60; font-size: .61rem; line-height: 1.5; }
.resource-card strong { margin: 0; color: #f9ede2; font-size: 1.05rem; }
.resource-card > span:not(.resource-kicker):not(.resource-arrow) { margin: 0; color: #c9bdba; font-size: .75rem; }
.resource-arrow { position: static; justify-self: end; font-size: 1.1rem; }
.site-footer { position: relative; display: grid; grid-template-columns: 1.1fr 1.1fr 1fr; gap: 55px; padding-top: 62px; padding-bottom: 64px; background: radial-gradient(ellipse at 82% 100%, #263a4655, transparent 45%), #0e0e18; }
.site-footer::before { top: 0; bottom: auto; }
.footer-brand { color: #f1dfc7; font-size: 1.5rem; font-weight: 800; letter-spacing: .2em; }
.site-footer p { margin: 11px 0 0; color: #aa9fa2; font-size: .78rem; }
.footer-nav { display: grid; align-content: start; gap: 12px; }
.footer-nav a { color: #e0d2c6; font-size: .82rem; }
.footer-nav a:hover, .footer-contact:hover { color: #ffca83; }
.footer-contact-wrap { display: grid; align-content: start; gap: 12px; min-width: 0; }
.footer-contact-wrap span { color: #cd955e; font-size: .66rem; font-weight: 700; letter-spacing: .15em; }
.footer-contact { overflow-wrap: anywhere; color: #e0d2c6; font-size: .82rem; }
@media (max-width: 1000px) {
	.resources { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 700px) {
	.site-header { min-height: 78px; }
	.wordmark-name { font-size: 1.22rem; }
	.wordmark-sub { font-size: .5rem; }
	.resource-card { grid-template-columns: 1fr 20px; gap: 4px 12px; padding: 18px 0; }
	.resource-kicker, .resource-card strong, .resource-card > span:not(.resource-kicker):not(.resource-arrow) { grid-column: 1; }
	.resource-card strong { margin-top: 4px; }
	.resource-arrow { grid-column: 2; grid-row: 1 / 4; }
	.site-footer { grid-template-columns: 1fr 1fr; gap: 35px 22px; }
	.footer-contact-wrap { grid-column: 1 / -1; }
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-discord { display: inline-flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid #75829580; border-radius: 2px; color: #e7eaf4; font-size: .8rem; font-weight: 700; line-height: 1; }
.header-discord img { display: block; flex: none; width: 22px; height: auto; }
.header-discord:hover { border-color: #c5d5ee; background: #7489b32b; color: #fff; }
.header-discord:focus-visible, .header-link:focus-visible { outline: 2px solid #ffd596; outline-offset: 3px; }
.shard-status { display: flex; align-items: center; gap: 11px; margin: 16px 0 4px; }
.shard-status strong { color: #f4e7d5; font-size: 1.18rem; font-weight: 700; }
.status-dot { width: 10px; height: 10px; border: 1px solid #d6a668; border-radius: 50%; background: #8e6842; box-shadow: 0 0 0 4px #a46c3a22; }
.shard-status.is-reachable .status-dot { border-color: #78b9ad; background: #6ab9a4; box-shadow: 0 0 0 4px #66b9a42a; }
.shard-status.is-reachable strong { color: #91d7c1; }
.shard-status.is-unavailable .status-dot { border-color: #b3a5a5; background: #77727c; box-shadow: none; }
.community .status-detail { margin: 0; font-size: .79rem; }
.thanks-frame { position: relative; width: min(100%, 880px); margin: 32px auto 0; padding: 9px; border: 1px solid #be8b59; background: linear-gradient(135deg, #866341, #2d2525 24%, #b5895a 50%, #2b2227 76%, #7b5b42); box-shadow: inset 0 0 0 2px #211c22, 0 18px 42px #0008; }
.thanks-frame::after { position: absolute; inset: 8px; border: 1px solid #e4bc83a6; pointer-events: none; content: ''; }
.thanks-frame img { display: block; width: 100%; max-height: none; border: 1px solid #211a1b; object-fit: contain; }
@media (max-width: 520px) {
	.thanks-frame { padding: 6px; }
	.thanks-frame::after { inset: 5px; }
	.site-header { gap: 12px; }
	.header-actions { gap: 7px; }
	.header-discord { gap: 6px; padding: 9px 7px; font-size: .71rem; }
	.header-discord img { width: 19px; }
	.header-link { gap: 5px; padding: 9px 7px; font-size: .71rem; white-space: nowrap; }
	.wordmark-name { font-size: 1rem; letter-spacing: .13em; }
	.wordmark-sub { font-size: .4rem; letter-spacing: .2em; }
}

.header-specs { padding: 10px 4px; border-bottom: 1px solid transparent; color: #eee0d3; font-size: .79rem; font-weight: 700; white-space: nowrap; }
.header-specs:hover, .header-specs[aria-current="page"] { border-color: #eab16f; color: #ffd49e; }
.spec-page { background: #11111b; }
.spec-hero { position: relative; display: flex; align-items: flex-end; min-height: 154px; background: linear-gradient(90deg, #11111bf2 0%, #11111bbb 43%, #11111b4a 100%), url('/assets/specs-hero.png') center 54% / cover; }
.spec-hero::after { position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(transparent, #11111b); content: ''; }
.spec-hero-copy { position: relative; z-index: 1; width: min(100% - 48px, 1200px); margin: 0 auto; padding: 23px 0 27px; }
.spec-hero h1 { margin: 3px 0 5px; color: #fff0db; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; }
.spec-hero-copy > p:last-child { max-width: 620px; margin: 0; color: #e1d0c3; font-size: .8rem; line-height: 1.5; }
.spec-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr) 170px; gap: clamp(20px, 2.5vw, 32px); width: min(100% - 48px, 1280px); margin: 0 auto; padding: 24px 0 110px; }
.spec-body > .spec-hero { min-height: 0; border-bottom: 1px solid #66505a; background: none; }
.spec-body > .spec-hero::after { display: none; }
.spec-body .spec-hero-copy { width: 100%; margin: 0; padding: 0 0 22px; }
.spec-sidebar { align-self: start; position: sticky; top: 28px; }
.spec-sidebar, .guide-sidebar { max-height: calc(100vh - 56px); overflow-y: auto; scrollbar-color: #755b56 #1b1a23; scrollbar-width: thin; }
.spec-sidebar-heading { margin: 0 0 17px; color: #c78d59; font-size: .67rem; font-weight: 800; letter-spacing: .19em; }
.spec-sidebar nav { display: grid; border-top: 1px solid #594650; }
.spec-sidebar a { display: flex; align-items: center; gap: 9px; min-height: 43px; border-bottom: 1px solid #594650; color: #ddcfca; font-size: .78rem; font-weight: 600; }
.spec-sidebar a:hover { color: #ffd49e; background: #b7793d18; }
.spec-sidebar img { flex: none; }
.all-skills-menu { margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid #7b5e5a; }
.skill-menu-tools { position: sticky; z-index: 2; top: 0; padding: 2px 0 9px; background: #11111b; }
.skill-menu-tools .spec-sidebar-heading { margin-bottom: 7px; }
.skill-menu-search { width: 100%; min-height: 33px; padding: 5px 9px; border: 1px solid #69565a; border-radius: 0; outline: none; background: #1b1b27; color: #f8e7d7; font: inherit; font-size: .73rem; }
.skill-menu-search:focus { border-color: #e2a569; }
.skill-menu-search::placeholder { color: #a8999c; }
.skill-menu-empty { color: #cbb9af; font-size: .75rem; }
.all-skills-menu [hidden] { display: none !important; }
.all-skills-menu > .spec-sidebar-heading { line-height: 1.5; }
.all-skills-menu > .spec-sidebar-heading span { display: inline; margin-left: 5px; color: #988b91; font-size: .55rem; letter-spacing: .04em; }
.skill-menu-group { margin: 10px 0 14px; }
.skill-menu-group > p { margin: 0 0 4px; color: #efbc84; font-size: .7rem; font-weight: 700; }
.skill-menu-group nav { display: block; border-top: 1px solid #54434a; }
.skill-menu-group a, .guide-sidebar .skill-menu-group a { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; min-height: 0; padding: 7px 5px; border-bottom: 1px solid #483d45; color: #e8d9cf; text-decoration: none; }
.skill-menu-group a:hover, .skill-menu-group a[aria-current="page"] { background: #5b3e355c; color: #ffe0ad; }
.skill-menu-ja, .skill-menu-en { display: inline; line-height: 1.35; }
.skill-menu-ja { flex: none; font-size: .75rem; font-weight: 700; }
.skill-menu-en { color: #aa9ea3; font-size: .59rem; font-weight: 500; text-align: right; }
.skill-menu-group a:hover .skill-menu-en, .skill-menu-group a[aria-current="page"] .skill-menu-en { color: #d7bda7; }
.spec-body { min-width: 0; }
.spec-intro { padding: 5px 0 58px; }
.spec-intro h2 { margin: 13px 0 15px; color: #f8e6d5; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.spec-intro > p:not(.eyebrow) { max-width: 690px; margin: 0; color: #cfc4c2; font-size: .92rem; line-height: 1.95; }
.spec-legend { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 25px; color: #d5c9c3; font-size: .77rem; }
.spec-legend span { display: inline-flex; align-items: center; gap: 8px; }
.spec-legend-mark { display: inline-block; width: 11px; height: 11px; border: 1px solid #75aaac; background: #75aaac48; transform: rotate(45deg); }
.spec-legend-mirage { border-color: #ecac67; background: #ecac674d; }
.spec-chapter { padding: 53px 0 66px; border-top: 1px solid #66505a; scroll-margin-top: 22px; }
.spec-chapter-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.spec-chapter-heading > img { flex: none; width: 64px; height: 64px; }
.spec-chapter-heading .eyebrow { margin: 0 0 4px; }
.spec-chapter h2 { margin: 0; color: #f8e9da; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.spec-chapter-heading p:last-child { margin: 5px 0 0; color: #bfb3b3; font-size: .82rem; }
.spec-baseline { padding: 22px 27px 23px; border-left: 3px solid #77aaa9; background: #1b222d; }
.spec-label { color: #9bd0c8; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.spec-baseline p, .spec-override p { margin: 12px 0; color: #e1d7d2; font-size: .89rem; line-height: 1.85; }
.spec-baseline strong, .spec-override strong { color: #fff0dc; font-size: 1.1em; }
.spec-baseline a, .spec-override a { color: #f5c38b; font-size: .8rem; text-decoration: underline; text-underline-offset: 4px; }
.spec-baseline a:hover, .spec-override a:hover { color: #ffdfb0; }
.spec-override { margin-top: 13px; padding: 24px 27px 25px; border: 1px solid #946c4c; border-left: 3px solid #e2a569; background: linear-gradient(110deg, #392829, #242331 75%); }
.spec-override .spec-label { color: #f1ba7d; }
.spec-override h3 { margin: 12px 0 0; color: #fff1dd; font-size: 1.12rem; }
.spec-override .spec-note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #7f665c; color: #cabbba; font-size: .77rem; }
.spec-note code { color: #ebd4b8; font-family: 'Noto Sans', 'Noto Sans JP', sans-serif; }
.spec-number-line, .spec-time { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 21px; }
.spec-number-line span, .spec-time span:not([aria-hidden]) { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 13px; border: 1px solid #a16c4a; background: #1c202b; color: #dfc8bc; font-size: .74rem; }
.spec-number-line b, .spec-time b { color: #ffd191; font-size: 1.04rem; }
.spec-time > span[aria-hidden] { color: #e8ad77; }
.spec-compendium { padding-top: 24px; border-top: 0; }
.spec-guide-index { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border: 1px solid #a77a50; background: linear-gradient(112deg, #473128, #222836 74%); color: #f8e5cf; }
.spec-guide-index:hover { border-color: #edbc81; background: linear-gradient(112deg, #593a2c, #283344 74%); }
.spec-guide-index strong { display: block; font-size: 1.12rem; }
.spec-guide-index small { display: block; margin-top: 7px; color: #dcc3b5; font-size: .76rem; }
.spec-guide-index > span:last-child { color: #f9cc93; font-size: 1.7rem; }
.spec-guide-caption { margin: 18px 0 31px; color: #bdafb0; font-size: .82rem; line-height: 1.8; }
.spec-guide-subtitle { margin: 31px 0 15px; color: #f5d8b9; font-size: .91rem; letter-spacing: .04em; }
.spec-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spec-guide-grid a { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 15px; border: 1px solid #594b51; background: #1d1d29; color: #f0ded1; }
.spec-guide-grid a:hover { border-color: #b98a5c; background: #272633; }
.spec-guide-grid img { flex: none; width: 42px; height: 42px; object-fit: contain; image-rendering: pixelated; }
.spec-guide-grid a > span:nth-child(2) { min-width: 0; }
.spec-guide-grid strong { display: block; font-size: .86rem; }
.spec-guide-grid small { display: block; margin-top: 4px; color: #bfaeb0; font-size: .72rem; }
.spec-guide-grid a > span:last-child { margin-left: auto; color: #e6af73; }
.spec-ending { display: flex; align-items: center; gap: 17px; padding: 28px 0; border-top: 1px solid #66505a; }
.spec-ending > img { flex: none; }
.spec-ending strong { color: #f4e1ce; font-size: .95rem; }
.spec-ending p { margin: 5px 0 0; color: #bdb1b2; font-size: .78rem; line-height: 1.7; }
.spec-ending a { flex: none; margin-left: auto; color: #f3bd7d; font-size: .77rem; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
	.spec-hero { min-height: 132px; background-position: 57% center; }
	.spec-shell { display: block; padding-top: 20px; }
	.spec-sidebar { position: static; margin-bottom: 25px; }
	.spec-sidebar, .guide-sidebar { max-height: none; overflow: visible; }
	.spec-sidebar > nav { display: flex; gap: 16px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
	.spec-sidebar > nav a { flex: none; }
	.all-skills-menu { max-height: 210px; overflow-y: auto; padding: 8px 10px 0; border: 1px solid #675056; }
	.skill-menu-group nav, .guide-sidebar .skill-menu-group nav { display: block; }
	.spec-sidebar a:not(.skill-menu-link) { min-height: 46px; }
	.spec-intro { padding-bottom: 42px; }
}
@media (max-width: 520px) {
	.header-specs { padding: 9px 2px; font-size: .68rem; }
	.header-discord span { display: none; }
	.header-discord { min-width: 35px; justify-content: center; }
	.spec-hero { min-height: 120px; background-position: 61% center; }
	.spec-hero-copy { width: min(100% - 36px, 1200px); padding: 14px 0 18px; }
	.spec-hero h1 { font-size: 1.8rem; }
	.spec-hero-copy > p:last-child { font-size: .81rem; }
	.spec-shell { width: min(100% - 36px, 1200px); }
	.spec-chapter { padding: 40px 0 52px; }
	.spec-chapter-heading > img { width: 54px; height: 54px; }
	.spec-baseline, .spec-override { padding: 18px; }
	.spec-ending { align-items: flex-start; flex-wrap: wrap; }
	.spec-ending a { margin-left: 61px; }
	.spec-guide-grid { grid-template-columns: 1fr; }
	.spec-guide-index { padding: 21px; }
}

/* Editorial guide draft: shared layout for skill and spell references. */
.guide-page { min-height: 70vh; background: #11111b; }
.guide-mast { position: relative; min-height: 155px; padding: 24px max(24px, calc((100vw - 1200px) / 2)) 28px; background: linear-gradient(90deg, #151420f2, #171723bd 56%, #10111b73), url('/assets/specs-hero.png') center 51% / cover; }
.guide-mast::after { position: absolute; inset: auto 0 0; height: 45px; background: linear-gradient(transparent, #11111b); content: ''; }
.guide-mast > * { position: relative; z-index: 1; }
.guide-mast h1 { margin: 3px 0; color: #fff0dd; font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.2; }
.guide-mast p:not(.eyebrow) { max-width: 740px; margin: 4px 0; color: #ead9cb; font-size: .79rem; line-height: 1.55; }
.guide-mast .guide-en { margin: 0 0 6px; color: #dfa567 !important; font-size: .65rem !important; font-weight: 700; letter-spacing: .14em; }
.guide-mast-system { padding-right: max(110px, calc((100vw - 1200px) / 2)); }
.guide-system-icon { position: absolute; z-index: 1; right: max(24px, calc((100vw - 1200px) / 2)); top: 39px; width: 64px; height: 64px; }
.guide-system-back { margin: 20px 0 0; font-size: .76rem; }
.guide-system-back a { color: #e8ad77; }
.guide-mast-spell { display: flex; align-items: center; gap: 19px; min-height: 170px; background-position: 50% 62%; }
.guide-mast-spell h1 { font-size: clamp(1.9rem, 4vw, 3.6rem); }
.guide-mast-spell .eyebrow a { color: #f6bd7d; }
.guide-spell-icon { flex: none; width: 72px; height: 72px; padding: 12px; border: 1px solid #e3aa69; background: linear-gradient(145deg, #5d342d, #172733); box-shadow: 0 0 0 4px #11111bc2, 0 15px 40px #0009; image-rendering: pixelated; }
.guide-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr) 170px; gap: clamp(20px, 2.5vw, 32px); width: min(100% - 48px, 1280px); margin: 0 auto; padding: 24px 0 110px; }
.guide-sidebar { position: sticky; top: 28px; align-self: start; }
.guide-toc { position: sticky; top: 28px; align-self: start; max-height: calc(100vh - 56px); overflow-y: auto; padding-left: 15px; border-left: 1px solid #695159; }
.guide-toc .spec-sidebar-heading { margin-bottom: 9px; }
.guide-toc nav { display: grid; }
.guide-toc a { display: block; padding: 9px 0; border-bottom: 1px solid #4d414b; color: #d5c4bd; font-size: .73rem; line-height: 1.45; }
.guide-toc a:hover { color: #ffd199; }
.guide-toc-mobile { display: none; }
.guide-sidebar nav { display: grid; border-top: 1px solid #594650; }
.guide-sidebar a { padding: 14px 6px; border-bottom: 1px solid #594650; color: #dfcfca; font-size: .84rem; }
.guide-sidebar a:hover { color: #ffd49e; background: #b7793d18; }
.guide-content { min-width: 0; }
.guide-breadcrumb { display: flex; flex-wrap: wrap; gap: 5px 8px; margin: 0 0 15px; color: #a79a9f; font-size: .69rem; line-height: 1.6; }
.guide-breadcrumb a { color: #d6b694; }
.guide-breadcrumb a:hover { color: #ffdaa8; }
.guide-title-copy { min-width: 0; }
.guide-section { padding: 42px 0 55px; border-bottom: 1px solid #66505a; scroll-margin-top: 20px; }
.guide-section:first-child { padding-top: 10px; }
.guide-home-section { padding: 24px 0 30px; }
.guide-content .guide-home-section h2 { margin: 0 0 17px; font-size: 1.25rem; }
.guide-home-section .spec-guide-grid a { text-decoration: none; }
.guide-section h2 { margin: 8px 0 22px; color: #f9e7d4; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.guide-section h3 { margin: 0 0 10px; color: #f3c18b; font-size: 1.1rem; }
.guide-section p, .guide-section li { color: #ddd0cb; font-size: .89rem; line-height: 1.9; }
.guide-section ol, .guide-section ul { padding-left: 1.5em; }
.guide-section li + li { margin-top: 9px; }
.guide-section a { color: #ffca8f; text-decoration: underline; text-underline-offset: 4px; }
.guide-section a:hover { color: #ffe4b7; }
.guide-section code { overflow-wrap: anywhere; }
.guide-source { margin-top: 22px; }
.guide-table-wrap { overflow-x: auto; border-top: 1px solid #b78255; }
.guide-section table { width: 100%; border-collapse: collapse; }
.guide-section th, .guide-section td { padding: 13px 12px; border-bottom: 1px solid #594b52; color: #e6d7ce; font-size: .8rem; line-height: 1.6; text-align: left; vertical-align: top; }
.guide-section thead th { color: #f7bf86; font-weight: 700; white-space: nowrap; }
.guide-section tbody th { color: #f4d6ad; font-weight: 700; }
.guide-section td strong { color: #ffe0a4; }
.guide-ability { display: inline-flex; align-items: center; gap: 11px; min-width: 175px; }
.guide-ability img { display: block; flex: none; width: 36px; height: 36px; object-fit: contain; image-rendering: pixelated; }
.guide-section .guide-small { margin-top: 16px; color: #bcaeaf; font-size: .75rem; }
.guide-callout { margin: 14px 0; padding: 22px 26px; border-left: 3px solid #dba162; background: linear-gradient(115deg, #382629, #1d2331); }
.guide-callout p { margin: 0 0 10px; }
.guide-callout strong { color: #ffe0a7; }
.guide-circle-mana { display: inline-block; margin-left: 14px; color: #dba46e; font-size: .75rem; font-weight: 600; vertical-align: middle; }
.guide-spell-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid #614c52; background: #614c52; }
.guide-spell-card { display: flex; align-items: flex-start; gap: 17px; min-width: 0; padding: 22px 19px; background: #191923; }
.guide-spell-card:hover { background: #23232d; }
.guide-spell-card > img { flex: none; width: 50px; height: 50px; image-rendering: pixelated; }
.guide-index-note { margin: 0; padding: 18px 22px; border-left: 3px solid #af7c51; color: #e1cbc2; background: #27212a; font-size: .82rem; line-height: 1.7; }
.guide-skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid #614c52; background: #614c52; }
.guide-skill-card { min-width: 0; padding: 22px 20px; background: #191923; }
.guide-skill-card h3 { margin: 6px 0 8px; font-size: 1.13rem; }
.guide-skill-card h3 a { color: #ffe0aa; text-decoration: none; }
.guide-skill-card h3 a:hover { text-decoration: underline; }
.guide-skill-card p:not(.guide-spell-id) { margin: 0 0 14px; }
.guide-skill-count { margin-left: 9px; color: #ac9294; font-size: .82rem; font-weight: 500; }
.guide-skill-ready, .guide-skill-pending { display: inline-block; font-size: .69rem; letter-spacing: .04em; }
.guide-skill-ready { color: #91d7c1; }
.guide-skill-pending { color: #b9a4a8; }
@media (max-width: 650px) { .guide-skill-grid { grid-template-columns: 1fr; } }
.guide-spell-card > div { min-width: 0; }
.guide-spell-card h3 { margin: 2px 0 8px; color: #f5d2a2; font-size: 1.02rem; }
.guide-spell-card p { margin: 0 0 8px; font-size: .78rem; line-height: 1.65; }
.guide-spell-card .guide-spell-id { color: #af8990; font-size: .64rem; letter-spacing: .06em; }
.guide-spell-card .guide-reagents { color: #baaeb0; font-size: .7rem; }
.guide-spell-card .guide-reagent-change { color: #f1b56c; font-size: .7rem; }
@media (max-width: 900px) {
	.spec-shell { display: block; }
	.spec-sidebar { position: static; max-height: none; margin-bottom: 18px; overflow: visible; }
	.spec-sidebar > .all-skills-menu { max-height: 210px; overflow-y: auto; padding: 8px 10px 0; border: 1px solid #675056; }
	.guide-layout { display: block; padding-top: 24px; }
	.guide-sidebar { position: static; margin-bottom: 18px; }
	.guide-sidebar > .all-skills-menu { max-height: 210px; overflow-y: auto; padding: 8px 10px 0; border: 1px solid #675056; }
	.guide-toc { display: none; }
	.guide-toc-mobile { display: block; margin: 0 0 18px; padding: 10px 0; border-bottom: 1px solid #695159; color: #d6b492; font-size: .78rem; }
	.guide-toc-mobile summary { cursor: pointer; }
	.guide-toc-mobile nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-top: 9px; }
	.guide-toc-mobile a { display: block; padding: 9px 0; color: #e1c6ad; line-height: 1.5; }
	.guide-spell-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.guide-mast { min-height: 132px; padding: 17px 18px 20px; }
	.guide-mast-system { padding-right: 88px; }
	.guide-system-icon { right: 16px; top: 27px; width: 51px; height: 51px; }
	.guide-mast-spell { min-height: 145px; gap: 15px; }
	.guide-mast-spell h1 { font-size: 1.65rem; overflow-wrap: anywhere; }
	.guide-spell-icon { width: 68px; height: 68px; padding: 10px; }
	.guide-layout { width: min(100% - 36px, 1200px); }
	.guide-section { padding: 32px 0 42px; }
	.guide-section th, .guide-section td { padding: 10px 9px; font-size: .73rem; }
	.guide-callout { padding: 17px 19px; }
}

/* Article titles belong to the content column, level with the skill menu. */
.guide-content > .guide-mast { min-height: 0; margin: 0 0 15px; padding: 0 0 22px; border-bottom: 1px solid #66505a; background: none; }
.guide-content > .guide-mast::after { display: none; }
.guide-content > .guide-mast h1 { font-size: clamp(1.75rem, 3vw, 2.55rem); }
.guide-content > .guide-mast-system { padding-right: 84px; }
.guide-content > .guide-mast .guide-system-icon { top: 4px; right: 4px; }
.guide-content > .guide-mast-spell { min-height: 0; }
.guide-content > .guide-mast-spell h1 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
@media (max-width: 760px) {
	.guide-content > .guide-mast { padding: 0 0 17px; }
	.guide-content > .guide-mast-system { padding-right: 60px; }
	.guide-content > .guide-mast .guide-system-icon { width: 46px; height: 46px; }
}
