@font-face {
  font-family: "Global Thai";
  src: url('assets/fonts/noto-sans-thai-thai-400.woff2') format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0E00-0E7F;
}
@font-face {
  font-family: "Global Thai";
  src: url('assets/fonts/noto-sans-thai-latin-400.woff2') format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Global Display";
  src: url('assets/fonts/cinzel-latin-400.woff2') format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #10110f;
  --panel: #181916;
  --ink: #f1ede3;
  --muted: #a4a69c;
  --gold: #d9b777;
  --gold-light: #f1d9a8;
  --line: #cdb98629;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 14px/1.8 "Global Thai", Tahoma, sans-serif;
  overflow-x: clip;
}
body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.35; }
button, input { border-radius: 0; }
::selection { color: #11120f; background: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.wrap { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.section { padding: 96px 0; }
.skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  color: #111;
  background: var(--gold);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.eyebrow {
  color: var(--gold);
  font: 600 10px/1.7 Arial, sans-serif;
  letter-spacing: .2em;
}
.line { display: inline-block; width: 30px; height: 1px; background: currentColor; }
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s, background .2s, border-color .2s;
}
.button > span:last-child { font: 20px/1 Arial, sans-serif; }
.button:not(.is-disabled):hover { transform: translateY(-2px); }
.button-gold { color: #191911; background: linear-gradient(110deg, #edcf95, #cfa566); border-color: #e0bd7b; }
.button-gold:not(.is-disabled):hover { background: #f1d8a6; }
.button-line { background: #11140f99; backdrop-filter: blur(10px); }
.button-line:hover { background: #25271f; border-color: var(--gold); }
.button-small { min-height: 41px; padding: 10px 18px; font-size: 11px; gap: 24px; }
.is-disabled, [aria-disabled="true"] { cursor: not-allowed; }
.is-disabled { opacity: .58; }
.text-button { border: 0; padding: 10px 0; background: none; font-size: 12px; }
.text-button > span { margin-left: 20px; color: var(--gold); }
.text-button:hover { color: var(--gold-light); }

/* Navigation */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 80px;
  background: #10110ff0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; align-items: center; height: 100%; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 11px; }
.brand > img { width: 52px; height: 52px; object-fit: contain; }
.brand > span { font: 14px/1.35 "Global Display", Georgia, serif; letter-spacing: .04em; }
.brand b { font-weight: 400; color: var(--gold); }
.brand small { display: block; color: #999d91; font: 8px/1.8 "Global Thai", Tahoma, sans-serif; letter-spacing: .16em; margin-top: 3px; }
#main-nav { display: flex; align-items: center; justify-content: center; gap: 27px; margin-inline: auto; }
#main-nav a { position: relative; padding: 16px 0; font-size: 11px; color: #c1c2b9; white-space: nowrap; }
#main-nav a:hover, #main-nav a[aria-current] { color: var(--gold-light); }
#main-nav a[aria-current]::after { content: ""; position: absolute; bottom: 6px; left: 0; width: 20px; height: 2px; background: var(--gold); }
.menu-toggle { display: none; }

/* Opening artwork */
.hero { position: relative; isolation: isolate; height: 760px; overflow: hidden; background: #0c100f; }
.hero-visual { position: absolute; z-index: -3; inset: 0 0 0 27%; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 43%; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, #0c100f 8%, #0c100ff5 23%, #0c100fdc 35%, #0c100f77 49%, #0c100f16 70%), linear-gradient(0deg, #10110f, transparent 38%);
}
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 65% 20%, #d6ba7011, transparent 60%); pointer-events: none; }
.hero-grain { position: absolute; inset: 0; border-bottom: 1px solid var(--line); pointer-events: none; }
.hero-inner { position: relative; height: 100%; display: flex; align-items: center; }
.hero-copy { max-width: 625px; padding-bottom: 52px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; font-size: 10px; }
.hero h1 {
  color: var(--ink);
  font: 400 clamp(78px, 8vw, 108px)/1.03 "Global Display", Georgia, serif;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.hero h1 > span:first-child { display: block; color: var(--gold); font: 400 21px/1.4 "Global Display", Georgia, serif; letter-spacing: .5em; margin-left: 5px; margin-bottom: 8px; }
.hero .title-dot { color: var(--gold); }
.hero h2 { margin-top: 23px; font-size: 31px; font-weight: 400; line-height: 1.5; letter-spacing: -.035em; }
.hero-description { margin-top: 16px; color: #afb2a8; font-size: 13px; line-height: 1.95; }
.hero-actions { display: flex; gap: 13px; margin-top: 27px; }
.hero-facts { display: flex; margin-top: 33px; }
.hero-facts > div { display: flex; flex-direction: column; min-width: 126px; padding: 0 28px; border-left: 1px solid #d9b77735; }
.hero-facts > div:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { color: var(--gold-light); font: 30px/1.3 "Global Display", Georgia, serif; }
.hero-facts span { color: #aaa99b; font-size: 10px; margin-top: 4px; }
.hero-side { position: absolute; top: 46%; right: -6px; display: flex; align-items: center; gap: 18px; writing-mode: vertical-rl; color: #dbd4c1; font: 9px/1.5 "Global Thai", sans-serif; letter-spacing: .08em; }
.hero-side > i { width: 1px; height: 60px; background: #d9b77760; }
.hero-bottom { position: absolute; inset: auto 0 25px; display: flex; justify-content: space-between; align-items: center; padding-top: 19px; border-top: 1px solid var(--line); gap: 20px; }
.edition { color: #adad9f; font-size: 10px; }
.edition i { color: var(--gold); font-style: normal; margin-inline: 11px; }
.hero-bottom > a { display: flex; align-items: center; gap: 25px; color: #d4cdbb; font-size: 10px; }
.hero-bottom > a > span { font: 19px/1 Arial, sans-serif; color: var(--gold); }

/* Server information */
.server-section { background: radial-gradient(ellipse at 20% 50%, #b8a0640a, transparent 60%), #141511; border-bottom: 1px solid var(--line); }
.server-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 74px; }
.server-poster { position: relative; display: block; padding: 0; border: 1px solid #d9b77755; background: #181916; text-align: left; }
.server-poster::before { content: ""; position: absolute; inset: -9px 9px 9px -9px; border: 1px solid #d9b77720; z-index: 0; pointer-events: none; }
.server-poster > img { position: relative; width: 100%; height: auto; aspect-ratio: 1200 / 932; object-fit: cover; }
.poster-expand { position: absolute; bottom: 13px; right: 13px; display: flex; gap: 18px; align-items: center; padding: 8px 12px; background: #0c100fe6; border: 1px solid #d9b77766; font-size: 10px; color: var(--gold-light); }
.server-poster:hover .poster-expand { background: var(--gold); color: #10110f; }
.server-copy > h2, .section-heading h2 { font-size: 34px; letter-spacing: -.025em; margin-top: 10px; font-weight: 400; }
.server-copy h2 > span, .section-heading h2 > span { color: var(--gold); }
.section-intro { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.server-stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; }
.server-stats > div { border-top: 1px solid var(--line); padding: 15px 20px 14px 0; }
.server-stats > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.server-stats dt { font-size: 10px; color: #a8aa9f; }
.server-stats dd { margin-top: 5px; font: 31px/1.35 "Global Display", Georgia, serif; color: var(--gold-light); }
.server-stats dd small { font: 13px Arial, sans-serif; padding-left: 4px; }
.server-stats dd.stat-text { font: 20px/1.75 "Global Thai", Tahoma, sans-serif; margin-top: 8px; }
.detail-note { font-size: 10px; color: #8f9386; margin-top: 13px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading > p, .heading-note { color: var(--muted); font-size: 11px; padding-bottom: 4px; }

/* Five-class browser */
.classes-section { background: #0f1212; }
.class-browser { border: 1px solid #cdb9863b; min-width: 0; }
.class-panel { position: relative; isolation: isolate; min-height: 550px; overflow: hidden; background: #0b1b25; }
.class-panel > img { position: absolute; z-index: -3; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 60% center; }
.class-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #071319f5 0%, #071319e8 22%, #071319a3 38%, #07131920 65%), linear-gradient(0deg, #071319ab, transparent 70%); }
.class-copy { position: relative; max-width: 410px; padding: 80px 0 64px 52px; }
.class-copy > .eyebrow { color: #ddc68f; font-size: 10px; }
.class-copy h3 { margin-top: 14px; font-size: 53px; font-weight: 400; letter-spacing: -.03em; }
.class-copy > p:not(.eyebrow) { margin-top: 20px; max-width: 325px; font-size: 13px; color: #bcc9cb; line-height: 1.95; min-height: 76px; }
.class-meta { display: grid; grid-template-columns: .8fr 1.2fr; margin-top: 28px; padding-top: 17px; border-top: 1px solid #a2c0c333; gap: 18px; }
.class-meta dt { font-size: 9px; color: #859ba2; }
.class-meta dd { margin-top: 4px; font-size: 12px; color: #e1e7dd; }
.class-play { display: flex; justify-content: space-between; align-items: center; color: var(--gold-light); margin-top: 29px; font-size: 11px; border-bottom: 1px solid #d9b77755; padding-bottom: 11px; }
.class-play > span { font: 18px Arial, sans-serif; }
.class-play:hover { color: #fff; border-color: var(--gold-light); }
.class-controls { position: absolute; bottom: 30px; right: 32px; display: flex; align-items: center; gap: 8px; }
.class-controls > span { color: var(--ink); font: 23px/1.5 "Global Display", Georgia, serif; margin-right: 18px; }
.class-controls > span i { font: 12px Arial, sans-serif; color: #a5b0b1; font-style: normal; padding-left: 5px; }
.class-controls button { width: 42px; height: 42px; color: var(--gold-light); background: #08161bbf; border: 1px solid #cdb98670; font: 20px Arial, sans-serif; transition: background .2s; }
.class-controls button:hover { color: #111; background: var(--gold); }
.class-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #161b1b; border-top: 1px solid var(--line); }
.class-tabs button { display: flex; align-items: center; justify-content: flex-start; gap: 15px; padding: 24px 23px; background: transparent; border: 0; border-right: 1px solid var(--line); text-align: left; transition: background .2s; }
.class-tabs button:last-child { border-right: 0; }
.class-tabs small { font: 10px Arial, sans-serif; color: #6c7a77; }
.class-tabs button > span { color: #b6bcb4; font-size: 17px; line-height: 1.4; }
.class-tabs em { display: block; margin-top: 5px; color: #788681; font: normal 8px Arial, sans-serif; letter-spacing: .1em; }
.class-tabs b { margin-left: auto; font: 16px Arial, sans-serif; color: #65776c; }
.class-tabs button:hover { background: #d9b77709; }
.class-tabs button[aria-selected="true"] { background: linear-gradient(0deg, #d9b77710, #d9b77705); box-shadow: inset 0 -3px var(--gold); }
.class-tabs button[aria-selected="true"] > span, .class-tabs button[aria-selected="true"] b, .class-tabs button[aria-selected="true"] small { color: var(--gold-light); }
.class-tabs button[aria-selected="true"] em { color: #b1a37f; }
.art-note { color: #7e8c87; font-size: 10px; margin-top: 17px; }

/* News and guides */
.news-section { color-scheme: light; background: #eae4d7; color: #292b25; }
.news-section .eyebrow { color: #84703f; }
.news-section .section-heading h2 > span { color: #8d733e; }
.news-section .heading-note { color: #777969; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.news-card { display: flex; flex-direction: column; min-width: 0; padding: 0; background: #f3eee4; border: 1px solid #7867472e; text-align: left; color: #292b25; transition: transform .25s, border-color .25s; }
.news-card:hover { transform: translateY(-5px); border-color: #9e804c; }
.news-image { position: relative; width: 100%; height: 210px; overflow: hidden; background: #343b38; }
.news-image > img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .4s; }
.news-card:hover .news-image > img { transform: scale(1.035); }
.news-opening .news-image { background: #080a08; }
.news-opening .news-image > img { object-fit: contain; object-position: center; }
.news-opening .news-image > span { top: 13px; bottom: auto; }
.news-install .news-image > img { object-position: center 25%; transform: scale(1.12); }
.news-install:hover .news-image > img { transform: scale(1.15); }
.news-image > span { position: absolute; bottom: 13px; left: 15px; color: #f2ebda; background: #161c19ed; padding: 5px 10px; border: 1px solid #cdb98660; font-size: 9px; }
.news-content { display: flex; flex-direction: column; align-items: stretch; flex: 1; padding: 25px 25px 22px; }
.category { font: 600 9px Arial, sans-serif; letter-spacing: .14em; color: #8f743d; }
.news-content > h3 { margin-top: 11px; font-size: 21px; line-height: 1.55; font-weight: 400; letter-spacing: -.02em; }
.news-content > p:not(.category) { color: #77786c; font-size: 12px; margin-top: 12px; margin-bottom: 24px; line-height: 1.9; }
.card-more { display: flex; align-items: center; justify-content: space-between; margin-top: auto; border-top: 1px solid #8b795233; padding-top: 16px; color: #67542e; font-size: 10px; }
.card-more b { font: 18px Arial, sans-serif; }
.news-section :focus-visible { outline-color: #8b6a2e; }

/* Download */
.download-section { position: relative; background: radial-gradient(ellipse at 5% 45%, #b9994915, transparent 44%), #12140f; border-bottom: 1px solid var(--line); }
.download-layout { display: grid; grid-template-columns: 210px 1fr 315px; align-items: center; gap: 45px; }
.download-brand img { width: 210px; height: 210px; object-fit: contain; filter: drop-shadow(0 0 40px #e7c77712); }
.download-copy > h2 { margin-top: 12px; font-size: 34px; font-weight: 400; line-height: 1.4; }
.download-copy h2 span { color: var(--gold-light); font: 34px/1.5 "Global Display", Georgia, serif; }
.download-copy > p:not(.eyebrow) { color: #a1a793; font-size: 12px; margin-top: 12px; }
.download-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 21px; margin-top: 24px; }
.download-actions .button { padding-inline: 19px; font-size: 11px; gap: 19px; }
.download-actions .button [data-label] { font: inherit; }
.download-steps { list-style: none; margin: 0; padding: 0 0 0 29px; border-left: 1px solid var(--line); }
.download-steps li { display: flex; gap: 18px; align-items: flex-start; padding-block: 16px; border-bottom: 1px solid var(--line); }
.download-steps li:last-child { border-bottom: 0; }
.download-steps li > span { color: #aa986d; font: 13px/1.6 "Global Display", Georgia, serif; padding-top: 1px; }
.download-steps h3 { font-size: 13px; color: #dbdecd; font-weight: 400; }
.download-steps p { color: #808977; font-size: 10px; margin-top: 5px; }

/* Community and footer */
.community-section { background: #171a14; border-bottom: 1px solid var(--line); padding: 48px 0; }
.community-inner { display: grid; grid-template-columns: .8fr 1.6fr; align-items: center; gap: 45px; }
.community-inner h2 { font-size: 23px; font-weight: 400; margin-top: 10px; line-height: 1.7; }
.community-inner h2 > span { display: block; color: #a7ad99; font-size: 15px; }
.community-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.community-links a { position: relative; min-width: 0; padding: 18px 16px; background: #1e221a; border: 1px solid #d9b77732; }
.community-links a > span { display: block; color: #e5dfc8; font-size: 13px; }
.community-links small { display: block; color: #a2aa95; margin-top: 7px; font-size: 9px; }
.community-links b { position: absolute; right: 12px; top: 10px; color: #c6ae75; font: 13px Arial, sans-serif; }
.community-links a:not(.is-disabled):hover { background: #302c1e; border-color: var(--gold); }
.site-footer { padding: 29px 0; background: #0e100d; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.site-footer .brand > img { width: 42px; height: 42px; }
.site-footer .brand > span { font-size: 12px; }
.site-footer .brand small { font-size: 8px; letter-spacing: 0; }
.sources { color: #838b7a; font-size: 10px; max-width: 360px; }
.sources summary { cursor: pointer; }
.sources[open] summary { color: var(--gold-light); margin-bottom: 10px; }
.sources a { display: block; margin-top: 8px; color: #aab29e; }
.sources a:hover { color: var(--gold-light); }
.back-top { display: flex; gap: 24px; align-items: center; font-size: 10px; color: #a7ad99; white-space: nowrap; }
.back-top > span { color: var(--gold); font: 20px Arial, sans-serif; }

/* Modal details */
dialog { width: min(860px, calc(100% - 40px)); max-height: 88svh; padding: 0; color: var(--ink); background: #191c16; border: 1px solid #d9b77780; overflow: auto; box-shadow: 0 24px 120px #0009; }
dialog::backdrop { background: #050806dc; backdrop-filter: blur(9px); }
.dialog-close { position: sticky; float: right; top: 14px; margin: 14px 14px -54px 0; z-index: 1; width: 38px; height: 38px; color: var(--gold-light); background: #0b100deb; border: 1px solid #d9b77770; font: 25px Arial, sans-serif; }
.dialog-close:hover { color: #111; background: var(--gold); }
.dialog-body { padding: 43px; }
.dialog-body > h2 { margin-top: 10px; font-size: 31px; font-weight: 400; }
.dialog-poster { width: 100%; height: auto; margin-block: 27px; }
.dialog-body > p:not(.eyebrow) { margin-top: 15px; font-size: 13px; color: #b0b7a6; line-height: 1.95; }
.install-steps { padding-left: 25px; margin-block: 25px; }
.install-steps li { border-bottom: 1px solid var(--line); padding: 15px 0 19px 10px; color: var(--gold-light); }
.install-steps li:last-child { border-bottom: 0; }
.install-steps h3 { font-size: 18px; font-weight: 400; }
.install-steps p { color: #a3ac98; font-size: 13px; margin-top: 8px; }
.noscript { position: fixed; bottom: 0; z-index: 60; width: 100%; padding: 12px 20px; text-align: center; background: var(--gold); color: #151711; }

@media (min-width: 1600px) {
  .hero { height: 820px; }
  .hero-visual { left: 30%; }
  .hero h1 { font-size: 118px; }
  .hero h2 { font-size: 35px; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  #main-nav { gap: 18px; }
  #main-nav a { font-size: 10px; }
  .brand > span { font-size: 12px; }
  .brand > img { width: 47px; height: 47px; }
  .header-cta { padding-inline: 14px; font-size: 10px; gap: 17px; }
  .hero { height: 740px; }
  .hero-copy { max-width: 560px; }
  .hero h1 { font-size: 91px; }
  .hero h2 { font-size: 29px; }
  .server-layout { gap: 45px; }
  .server-copy > h2, .section-heading h2 { font-size: 29px; }
  .server-stats dd { font-size: 28px; }
  .class-tabs button { padding: 22px 17px; gap: 10px; }
  .class-tabs b { display: none; }
  .news-grid { gap: 18px; }
  .news-content { padding: 22px 20px; }
  .news-image { height: 180px; }
  .news-content h3 { font-size: 19px; }
  .download-layout { grid-template-columns: 160px 1fr 265px; gap: 28px; }
  .download-brand img { width: 160px; height: 160px; }
  .download-copy h2, .download-copy h2 span { font-size: 28px; }
  .download-actions { gap: 12px; }
  .download-steps { padding-left: 20px; }
  .community-inner { grid-template-columns: .7fr 1.5fr; gap: 25px; }
  .community-inner h2 { font-size: 20px; }
  .community-inner h2 > span { font-size: 12px; }
  .community-links { gap: 7px; }
  .community-links a { padding: 20px 12px 14px; }
  .community-links a > span { font-size: 11px; }
  .community-links small { font-size: 8px; }
}
@media (max-width: 900px) {
  .header-inner { gap: 15px; }
  #main-nav { gap: 14px; }
  #main-nav a { font-size: 9px; }
  .header-cta { display: none; }
  .hero h1 { font-size: 85px; }
  .server-layout { gap: 32px; }
  .section { padding-block: 74px; }
  .class-panel { min-height: 520px; }
  .class-copy { padding: 65px 0 60px 35px; max-width: 365px; }
  .class-copy h3 { font-size: 47px; }
  .class-copy > p:not(.eyebrow) { max-width: 290px; }
  .class-shade { background: linear-gradient(90deg, #071319f5, #071319d6 33%, #07131940 72%), linear-gradient(0deg, #071319ab, transparent 70%); }
  .class-tabs button { padding-inline: 15px; gap: 8px; }
  .class-tabs button > span { font-size: 15px; }
  .class-tabs small { font-size: 8px; }
  .class-tabs em { font-size: 6px; }
  .news-content { padding: 20px 16px; }
  .news-content h3 { font-size: 17px; }
  .news-content > p:not(.category) { font-size: 11px; }
  .download-layout { grid-template-columns: 135px 1fr; gap: 32px; }
  .download-brand img { width: 135px; height: 135px; }
  .download-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; border: 0; padding: 25px 0 0; border-top: 1px solid var(--line); }
  .download-steps li { border: 0; padding: 0; }
  .download-copy h2 br { display: none; }
  .download-copy h2 span { display: inline-block; }
  .community-inner { grid-template-columns: 1fr; gap: 25px; }
  .community-inner h2 > span { display: inline; margin-left: 7px; }
  .community-links { gap: 12px; }
  .community-links a { padding: 20px; }
  .community-links a > span { font-size: 13px; }
  .community-links small { font-size: 10px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 55px; }
  .site-header { height: 70px; }
  .header-inner { justify-content: space-between; }
  .brand > img { width: 45px; height: 45px; }
  .brand > span { font-size: 13px; }
  .brand small { font-size: 7px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; border: 1px solid #d9b77750; background: transparent; padding: 10px; }
  .menu-toggle > span { display: block; width: 18px; height: 1px; background: var(--gold-light); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  #main-nav { display: none; position: absolute; top: 69px; left: 0; right: 0; padding: 15px 20px; background: #141810fa; border-bottom: 1px solid var(--gold); margin: 0; box-shadow: 0 24px 40px #0008; }
  #main-nav.is-open { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  #main-nav a { font-size: 13px; padding: 13px 7px; border-bottom: 1px solid var(--line); }
  #main-nav a:last-child { border-bottom: 0; }
  #main-nav a[aria-current]::after { right: 9px; left: auto; bottom: 22px; }
  .hero { height: auto; min-height: 830px; }
  .hero-visual { inset: 0 0 auto; height: 410px; }
  .hero-visual img { object-position: 68% 26%; }
  .hero::before { background: linear-gradient(0deg, #10110f 0%, #10110f 49%, #10110ff2 60%, #10110f60 79%, #10110f15 100%); }
  .hero::after { background: linear-gradient(90deg, #10110f88, transparent 50%); }
  .hero-inner { height: auto; padding-top: 264px; padding-bottom: 94px; display: block; }
  .hero-copy { padding: 0; max-width: 100%; }
  .hero-copy .eyebrow { font-size: 8px; gap: 10px; margin-bottom: 18px; }
  .hero-copy .line { width: 22px; }
  .hero h1 { font-size: clamp(58px, 17vw, 83px); white-space: nowrap; }
  .hero h1 > span:first-child { font-size: 16px; letter-spacing: .45em; margin-bottom: 6px; margin-left: 3px; }
  .hero h2 { font-size: 25px; margin-top: 18px; line-height: 1.5; }
  .hero-description { font-size: 12px; margin-top: 13px; }
  .hero-actions { gap: 10px; margin-top: 23px; }
  .button { min-height: 48px; padding: 12px 18px; font-size: 11px; gap: 22px; }
  .button > span:last-child { font-size: 18px; }
  .hero-facts { margin-top: 27px; }
  .hero-facts > div { min-width: 99px; padding-inline: 22px; }
  .hero-facts strong { font-size: 27px; }
  .hero-facts span { font-size: 9px; }
  .hero-side { display: none; }
  .hero-bottom { bottom: 20px; padding-top: 16px; gap: 14px; }
  .edition { font-size: 8px; }
  .edition i { margin-inline: 6px; }
  .hero-bottom > a { font-size: 8px; gap: 10px; }
  .hero-bottom > a > span { font-size: 16px; }
  .server-layout { grid-template-columns: 1fr; gap: 37px; }
  .server-poster { margin: 7px 0 0 7px; }
  .server-copy > h2, .section-heading h2 { font-size: 27px; }
  .server-copy > .eyebrow { font-size: 9px; }
  .section-intro { font-size: 12px; margin-top: 12px; }
  .server-stats { margin-top: 20px; }
  .server-stats > div { padding-block: 14px; }
  .server-stats > div:nth-child(even) { padding-left: 25px; }
  .server-stats dd { font-size: 29px; }
  .server-stats dd.stat-text { font-size: 19px; }
  .detail-note { font-size: 9px; line-height: 1.9; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading .eyebrow { font-size: 9px; }
  .section-heading > p, .heading-note { display: block; font-size: 10px; margin-top: 12px; padding: 0; }
  .class-panel { min-height: 650px; padding-top: 275px; }
  .class-panel > img { height: 320px; object-position: 61% center; }
  .class-shade { background: linear-gradient(0deg, #08171e 0%, #08171e 50%, #08171ee8 57%, #08171e20 79%, transparent 100%); }
  .class-copy { padding: 0 25px 91px; width: 100%; max-width: none; }
  .class-copy h3 { font-size: 40px; margin-top: 8px; }
  .class-copy > .eyebrow { font-size: 9px; }
  .class-copy > p:not(.eyebrow) { font-size: 12px; min-height: 0; max-width: 100%; margin-top: 14px; }
  .class-meta { margin-top: 20px; padding-top: 14px; grid-template-columns: 1fr 1fr; }
  .class-meta dt { font-size: 9px; }
  .class-meta dd { font-size: 12px; }
  .class-play { margin-top: 20px; padding-bottom: 10px; }
  .class-controls { right: 22px; bottom: 24px; }
  .class-controls > span { font-size: 20px; margin-right: 12px; }
  .class-controls button { width: 36px; height: 36px; font-size: 19px; }
  .class-tabs { overflow-x: auto; grid-template-columns: repeat(5, minmax(105px, 1fr)); scrollbar-color: #937d4d #17221f; scrollbar-width: thin; }
  .class-tabs button { padding: 18px 13px; min-width: 0; flex-direction: column; text-align: center; align-items: center; gap: 5px; }
  .class-tabs button > span { font-size: 14px; }
  .class-tabs small { font-size: 8px; }
  .class-tabs em { font-size: 7px; }
  .art-note { font-size: 9px; line-height: 1.9; margin-top: 13px; }
  .news-grid { grid-template-columns: 1fr; gap: 22px; }
  .news-image { height: 220px; }
  .news-content { padding: 23px; }
  .news-content h3 { font-size: 22px; line-height: 1.5; }
  .news-content > p:not(.category) { font-size: 12px; }
  .news-image > span { font-size: 9px; }
  .category { font-size: 9px; }
  .card-more { font-size: 11px; }
  .download-layout { grid-template-columns: 100px 1fr; gap: 22px; }
  .download-brand img { width: 100px; height: 100px; }
  .download-copy h2, .download-copy h2 span { font-size: 26px; }
  .download-copy h2 br { display: block; }
  .download-copy > .eyebrow { font-size: 8px; }
  .download-copy > p:not(.eyebrow) { font-size: 11px; }
  .download-actions { gap: 8px; margin-top: 17px; }
  .download-actions .button { font-size: 10px; padding-inline: 14px; gap: 14px; }
  .text-button { font-size: 11px; }
  .download-steps { grid-template-columns: 1fr; gap: 0; padding-top: 20px; margin-top: 4px; }
  .download-steps li { padding: 16px 0; border-bottom: 1px solid var(--line); gap: 22px; }
  .download-steps h3 { font-size: 14px; }
  .download-steps p { font-size: 11px; }
  .community-section { padding-block: 40px; }
  .community-inner { gap: 22px; }
  .community-inner h2 { font-size: 22px; }
  .community-inner h2 > span { display: block; font-size: 14px; margin-left: 0; }
  .community-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .community-links a { padding: 19px 17px; }
  .community-links a > span { font-size: 13px; }
  .community-links small { font-size: 9px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 23px; align-items: start; }
  .sources { grid-column: 1 / -1; grid-row: 2; font-size: 10px; }
  .site-footer .brand > span { font-size: 11px; }
  .site-footer .brand small { font-size: 7px; }
  .back-top { padding-top: 11px; gap: 12px; font-size: 9px; }
  dialog { width: calc(100% - 24px); max-height: 90svh; }
  .dialog-body { padding: 32px 23px 28px; }
  .dialog-body > h2 { font-size: 27px; }
  .dialog-close { width: 33px; height: 33px; font-size: 23px; top: 11px; margin: 11px 11px -44px 0; }
  .dialog-body > p:not(.eyebrow) { font-size: 12px; }
  .install-steps h3 { font-size: 17px; }
  .install-steps p { font-size: 12px; }
  .noscript { font-size: 11px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .hero { min-height: 815px; }
  .hero-inner { padding-top: 245px; }
  .hero h1 { font-size: 60px; }
  .hero h2 { font-size: 23px; }
  .hero-description { font-size: 11px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 14px; gap: 13px; font-size: 10px; }
  .hero-facts > div { min-width: 93px; padding-inline: 18px; }
  .hero-facts strong { font-size: 25px; }
  .edition { font-size: 7px; }
  .edition i { margin-inline: 4px; }
  .hero-bottom > a { font-size: 7px; gap: 8px; }
  .class-copy { padding-inline: 21px; }
  .class-copy h3 { font-size: 37px; }
  .class-panel { min-height: 660px; }
  .news-image { height: 190px; }
  .news-content { padding: 21px; }
  .news-content h3 { font-size: 20px; }
  .download-layout { grid-template-columns: 76px 1fr; gap: 18px; }
  .download-brand img { width: 76px; height: 76px; }
  .download-copy h2, .download-copy h2 span { font-size: 23px; }
  .download-actions .button { font-size: 9px; padding-inline: 12px; gap: 12px; }
  .community-links a { padding-inline: 14px; }
  .community-links a > span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
