: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, .hero::after { position: absolute; pointer-events: none; content: ''; }
.hero::before { inset: 18px; border: 1px solid rgba(224, 184, 121, .29); }
.hero::after { right: -13%; bottom: -54%; width: 68%; aspect-ratio: 1; border: 1px solid rgba(224, 184, 121, .14); border-radius: 50%; box-shadow: 0 0 0 110px rgba(224, 184, 121, .025), 0 0 0 220px rgba(224, 184, 121, .02); }
.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::after { right: -8%; bottom: -67%; border-color: #f0a6531f; box-shadow: 0 0 0 100px #f0a65305, 0 0 0 220px #3faabd05; }
.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 at center, #000 52%, #000b 65%, transparent 80%); mask-image: radial-gradient(ellipse at center, #000 52%, #000b 65%, transparent 80%); }
.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::after { right: 15%; bottom: 25%; width: 70%; box-shadow: 0 0 0 90px #e1933905, 0 0 0 170px #54a5bc05; }
.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: 390px; background: linear-gradient(90deg, #11111bed 0%, #11111b98 37%, #11111b05 73%), 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: 0 0 63px; }
.spec-hero h1 { margin: 10px 0 14px; color: #fff0db; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.2; }
.spec-hero-copy > p:last-child { max-width: 520px; margin: 0; color: #e1d0c3; font-size: .98rem; line-height: 1.8; }
.spec-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); width: min(100% - 48px, 1200px); margin: 0 auto; padding: 55px 0 110px; }
.spec-sidebar { align-self: start; position: sticky; top: 28px; }
.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: 11px; min-height: 61px; border-bottom: 1px solid #594650; color: #ddcfca; font-size: .84rem; font-weight: 600; }
.spec-sidebar a:hover { color: #ffd49e; background: #b7793d18; }
.spec-sidebar img { flex: none; }
.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-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: 330px; background-position: 57% center; }
	.spec-shell { display: block; padding-top: 34px; }
	.spec-sidebar { position: static; margin-bottom: 42px; }
	.spec-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
	.spec-sidebar a { min-height: 54px; }
	.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: 285px; background-position: 61% center; }
	.spec-hero-copy { width: min(100% - 36px, 1200px); padding-bottom: 48px; }
	.spec-hero h1 { font-size: 2.4rem; }
	.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; }
}
