:root {
  color-scheme: dark;
  --bg: #111019;
  --panel: #191722;
  --panel-hover: #211e2c;
  --border: #332e41;
  --text: #fffaf4;
  --muted: #c2baca;
  --quiet: #a69eb0;
  --amber: #ffbc79;
  --mint: #a5e6cc;
  --violet: #cfb9f9;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, select, input { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
[hidden] { display: none !important; }
p, h1, h2, h3 { margin-top: 0; }
.wrap { width: min(var(--width), calc(100% - 72px)); margin-inline: auto; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 9; padding: 8px 16px;
  background: var(--amber); color: var(--bg); transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 1; border-bottom: 1px solid #fff1; background: #15131d; }
.nav-inner { display: flex; align-items: center; min-height: 72px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff9f2; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: var(--amber); border: 1px solid #a4634a; border-radius: 7px; font: 700 1.42rem/1 var(--display); }
.brand-text { font: 700 1.36rem/1 var(--display); letter-spacing: .045em; text-transform: uppercase; }
.brand-text b { color: var(--amber); font-weight: 700; }
.nav-links { display: flex; gap: clamp(18px, 3vw, 34px); align-items: center; margin-inline: auto; }
.nav-links a { font-size: .91rem; font-weight: 650; text-decoration: none; color: var(--muted); padding-block: 23px; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--amber); }
.independent { color: var(--quiet); font-size: .81rem; white-space: nowrap; }
.hero {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: 514px; overflow: hidden; background: #171426;
}
.hero-photo, .hero-shade { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: 62% 62%; }
.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, #13111d 0%, #141220f5 14%, #141220e8 27%, #141220b5 43%, #14122037 68%, #14122008 100%),
    linear-gradient(0deg, #15111a60, transparent 36%);
}
.hero-content { padding-block: 56px 68px; }
.kicker { color: var(--amber); font-size: .83rem; line-height: 1.4; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 15px; }
.hero h1, .page-head h1, .section-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: -.014em; line-height: .92;
}
.hero h1 { font-size: clamp(5.1rem, 9.25vw, 8.75rem); margin-bottom: 23px; max-width: 720px; }
.hero h1 span { color: var(--amber); display: block; }
.hero-copy { color: #e7dce9; max-width: 415px; font-size: 1.12rem; margin-bottom: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 45px;
  border-radius: 6px; padding: 9px 17px; border: 1px solid var(--border);
  font-size: .92rem; font-weight: 750; text-decoration: none; background: #171421;
  color: var(--text); transition: background .18s, border-color .18s;
}
.button:hover { background: #2c2636; border-color: #786781; }
.button.primary { color: #221523; background: var(--amber); border-color: var(--amber); }
.button.primary:hover { background: #ffd0a5; border-color: #ffd0a5; }
.hero .button:not(.primary) { background: #181421ad; border-color: #edc3c75c; }
.hero .button:not(.primary):hover { background: #302139; }
.status-strip { background: #191621; border-block: 1px solid #3b3046; }
.status-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.status-item {
  text-decoration: none; padding: 16px 24px; min-height: 80px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.status-item:first-child { padding-left: 0; }
.status-item + .status-item { border-left: 1px solid #3b3046; }
.status-item:hover strong { color: var(--amber); }
.status-label { font-size: .72rem; font-weight: 800; color: var(--quiet); text-transform: uppercase; letter-spacing: .095em; }
.status-item strong { font-size: .96rem; font-weight: 700; }
.status-item .dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--mint); vertical-align: .14em; }
.home-guides { padding-block: 58px 50px; }
.section-title { font-size: clamp(2.9rem, 5vw, 4.05rem); margin-bottom: 19px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card {
  display: flex; align-items: flex-start; flex-direction: column; padding: 23px;
  min-height: 206px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 11px; text-decoration: none; transition: background .18s, border-color .18s;
}
.guide-card:hover { background: var(--panel-hover); border-color: var(--accent); }
.guide-card .icon { margin-bottom: 18px; }
.guide-card h3 { font: 700 1.83rem/.98 var(--display); text-transform: uppercase; margin-bottom: 9px; }
.guide-card p { color: var(--muted); margin-bottom: 15px; }
.card-link { color: var(--accent); margin-top: auto; font-size: .88rem; font-weight: 750; }
.icon {
  width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid color-mix(in srgb, var(--accent), transparent 65%);
  color: var(--accent); background: color-mix(in srgb, var(--accent), transparent 91%); position: relative;
  display: grid; place-items: center; border-radius: 8px;
}
.icon::before, .icon::after { content: ""; display: block; }
.icon.cloud::before { width: 19px; height: 10px; border: 2px solid; border-radius: 9px; transform: translateY(3px); }
.icon.cloud::after { position: absolute; top: 10px; left: 13px; width: 11px; height: 10px; border: 2px solid; border-bottom: 0; border-radius: 11px 11px 0 0; background: #252033; }
.icon.screen::before { width: 18px; height: 12px; border: 2px solid; border-radius: 2px; transform: translateY(-2px); }
.icon.screen::after { position: absolute; top: 27px; width: 10px; height: 2px; border-radius: 1px; background: currentColor; }
.icon.code::before { width: 17px; height: 16px; border: 2px solid; border-radius: 3px; }
.icon.code::after { position: absolute; width: 10px; height: 2px; top: 16px; background: currentColor; box-shadow: 0 5px 0 currentColor; }
.official-map { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 21px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.official-map h3 { margin-bottom: 2px; font-size: 1.03rem; }
.official-map p { margin: 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--border); background: #0e0d16; padding-block: 27px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-inner p { color: var(--quiet); font-size: .86rem; margin: 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.footer-links a:hover { color: var(--amber); }
.page-head { background: radial-gradient(ellipse at 90% -10%, #492d50, #1b1827 53%, #171420); border-bottom: 1px solid var(--border); padding-block: 34px 42px; }
.breadcrumb { margin-bottom: 24px; color: var(--quiet); font-size: .88rem; }
.breadcrumb a { color: var(--muted); }
.page-head h1 { margin-bottom: 14px; font-size: clamp(3.6rem, 7.4vw, 6.25rem); max-width: 960px; }
.page-head p:last-child { color: #e4dbe8; font-size: 1.11rem; max-width: 720px; margin-bottom: 0; }
.page-content { padding-block: 32px 60px; }
.tool-shell { border: 1px solid var(--border); background: var(--panel); border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
.tool-head { padding: 25px 26px 0; }
.tool-head h2, .article-body h2 { font: 700 2.2rem/.98 var(--display); text-transform: uppercase; margin-bottom: 12px; }
.tool-head p, .article-body p, .article-body li { color: var(--muted); }
.tool-head p { margin-bottom: 0; }
.tool-form { padding: 21px 26px 25px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, #controller-label { font-size: .88rem; color: #e5dcea; font-weight: 700; }
select, input[type="search"] {
  width: 100%; min-height: 46px; padding: 9px 12px; border-radius: 6px;
  background: #14111d; border: 1px solid #4b4159; color: var(--text);
}
select {
  appearance: none; padding-right: 35px;
  background-image: linear-gradient(45deg, transparent 50%, #c8b7d2 50%), linear-gradient(135deg, #c8b7d2 50%, transparent 50%);
  background-size: 5px 5px; background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-repeat: no-repeat;
}
input[type="search"]::placeholder { color: #b1a6bb; }
.tool-result { border-top: 1px solid var(--border); padding: 22px 26px; background: #201b2c; }
.tool-result h3 { color: var(--amber); font-size: 1.24rem; margin-bottom: 6px; }
.tool-result ol { margin: 0 0 10px; padding-left: 1.35em; color: var(--muted); }
.tool-result li + li { margin-top: 4px; }
.tool-result a, .article-body a, .source-box a { color: var(--amber); text-underline-offset: .16em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.article-body section + section { margin-top: 30px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li + li { margin-top: 7px; }
.source-box { background: #181621; border: 1px solid var(--border); border-radius: 9px; padding: 19px; }
.source-box h2 { font: 700 1.55rem/1 var(--display); text-transform: uppercase; margin-bottom: 9px; }
.source-box p { color: var(--quiet); font-size: .87rem; margin-bottom: 8px; }
.source-box ul { list-style: none; padding: 0; margin: 0; }
.source-box li + li { margin-top: 8px; }
.source-box a { font-size: .91rem; }
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 32px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 16px 19px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); }
.fact dt { color: var(--quiet); font-size: .87rem; }
.fact dd { margin: 0; font-weight: 750; }
.timeline { list-style: none; padding: 0 !important; border-left: 1px solid #655368; margin: 15px 0 25px; }
.timeline li { padding: 0 0 14px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.timeline time { font-weight: 750; display: block; color: var(--text); margin-bottom: 2px; }
details { border-bottom: 1px solid var(--border); }
summary { padding: 12px 0; font-weight: 700; cursor: pointer; }
details p { margin: 0 0 13px; }
.lookup-bar { padding: 20px 26px 10px; }
.lookup-filters { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr 1fr; gap: 14px; align-items: end; }
.toggle { display: inline-flex; gap: 5px; border: 1px solid var(--border); border-radius: 7px; padding: 3px; background: #12101a; width: fit-content; }
.toggle button { border: 0; min-width: 56px; min-height: 36px; padding: 4px 12px; background: transparent; color: var(--muted); border-radius: 4px; font-weight: 700; }
.toggle button[aria-pressed="true"] { background: #f7bd85; color: #251829; }
.lookup-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0 13px; }
.lookup-message { margin: 0 0 12px; color: var(--mint); font-size: .9rem; }
.lookup-meta p { color: var(--muted); margin: 0; font-size: .9rem; }
.check-option { font-size: .88rem; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
input[type="checkbox"] { accent-color: var(--amber); width: 16px; height: 16px; }
.cheat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
.cheat-card { padding: 19px 24px; background: var(--panel); min-width: 0; }
.cheat-top { display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; margin-bottom: 5px; }
.cheat-top h3 { font: 700 1.69rem/1.1 var(--display); text-transform: uppercase; margin: 0; }
.tag { display: inline-flex; width: fit-content; white-space: nowrap; color: var(--violet); font-size: .74rem; font-weight: 750; border: 1px solid #4c3b5e; border-radius: 4px; padding: 2px 6px; }
.tag.disputed { color: var(--amber); border-color: #805741; }
.cheat-card p { margin: 8px 0; color: var(--muted); }
.cheat-unlock strong { color: var(--text); }
.sequence { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
.sequence kbd { display: grid; min-width: 26px; min-height: 28px; place-items: center; background: #100e17; border: 1px solid #463a50; border-radius: 4px; color: var(--amber); font: 700 1.02rem/1 var(--body); }
.cheat-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 12px; }
.cheat-actions .button { min-height: 34px; padding: 4px 9px; font-size: .82rem; }
.empty { padding: 24px 26px; margin: 0; color: var(--muted); }
.note { padding: 13px 17px; margin-bottom: 18px; border-left: 3px solid var(--amber); background: #251c2b; color: #e9d7e5; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .nav-inner { gap: 18px; }
  .independent { display: none; }
  .nav-links { margin-right: 0; gap: 18px; }
  .hero-photo { object-position: 63% 61%; }
  .guide-grid { gap: 10px; }
  .guide-card { padding: 16px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 32px); }
  .nav-inner { min-height: 0; flex-wrap: wrap; gap: 4px; padding-top: 11px; }
  .nav-links { margin: 0; flex-basis: 100%; gap: 22px; }
  .nav-links a { padding-block: 8px 11px; }
  .hero { min-height: 530px; align-items: end; }
  .hero-photo { object-position: 64% 47%; }
  .hero-shade { background: linear-gradient(0deg, #13111dfd 5%, #141220ed 22%, #141220a8 49%, #14122019 83%); }
  .hero-content { padding-block: 152px 36px; }
  .hero h1 { font-size: clamp(4.25rem, 14.5vw, 5.2rem); margin-bottom: 16px; }
  .hero-copy { font-size: 1rem; margin-bottom: 18px; max-width: 350px; }
  .status-grid { grid-template-columns: 1fr; }
  .status-item { padding: 9px 0; min-height: 0; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 8px; }
  .status-item + .status-item { border-left: 0; border-top: 1px solid #3b3046; }
  .status-item strong { font-size: .86rem; text-align: right; }
  .status-label { font-size: .68rem; }
  .home-guides { padding-block: 38px 29px; }
  .guide-grid, .fact-grid, .form-grid, .lookup-filters, .cheat-list { grid-template-columns: minmax(0, 1fr); }
  .guide-card { min-height: 0; padding: 18px; }
  .guide-card .icon { margin-bottom: 12px; }
  .official-map, .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-head { padding-block: 22px 30px; }
  .breadcrumb { margin-bottom: 17px; }
  .page-content { padding-block: 22px 39px; }
  .tool-head { padding: 18px 16px 0; }
  .tool-form, .tool-result, .lookup-bar, .cheat-card { padding-inline: 16px; }
  .tool-result { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
