@font-face {
  font-family: Inter;
  src: url('/bf2-assets/rooms-v1/inter-variable-1.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 900;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Inter;
  src: url('/bf2-assets/rooms-v1/inter-variable-6.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 900;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  font-family: Inter, Arial, sans-serif;
  color-scheme: dark;
  --page: #191c18;
  --chrome: #181a16;
  --panel: #242820;
  --line: #484d3d;
  --text: #f4efd9;
  --muted: #bfbdac;
  --accent: #f4ce70;
  --accent-ink: #28200d;
  --lime: #c6ee67;
  --inset: 40px;
  --shell-gutter: 28px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
img { display: block; max-width: 100%; }
p { line-height: 1.55; }
.skip { position: absolute; left: 6px; top: 6px; z-index: 5; transform: translateY(-130%); }
.skip:focus { transform: none; }

.shell { width: min(1200px, calc(100% - 2 * var(--shell-gutter))); margin-inline: auto; }
.platform-head, .platform-foot { color: #f4f6f7; background: var(--chrome); border: solid #ffffff20; border-width: 0; }
.platform-head { position: relative; z-index: 2; border-bottom-width: 1px; }
.header-inner { height: 87px; display: flex; align-items: center; gap: 42px; }
.brand { font-size: 26px; font-weight: 900; letter-spacing: -.8px; white-space: nowrap; }
.brand strong { color: var(--lime); }
.desktop-nav { display: flex; align-self: stretch; gap: 32px; }
.desktop-nav a { display: grid; place-items: center; border-bottom: 3px solid transparent; color: #c8cdd0; white-space: nowrap; }
.desktop-nav .current { border-color: var(--lime); color: #f4f6f7; }
.locale { margin-left: auto; display: flex; gap: 2px; }
.locale > * { display: grid; place-items: center; border-radius: 6px; min-width: 40px; min-height: 44px; font-size: 13px; font-weight: 750; }
.locale span { background: #adf96f17; color: var(--lime); }
.mobile-nav { display: none; }
.platform-foot { border-top-width: 1px; }
.footer-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #c8cdd0; font-size: 14px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-brand .brand { font-size: 21px; color: #f4f6f7; }
.foot-brand p { margin-top: 2px; color: #b4bdbd; font-size: 13px; }
.platform-foot a:hover, .platform-head a:hover { color: #fff; }

main { width: min(100%, 1280px); margin-inline: auto; }
.inset { padding-inline: var(--inset); }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 506px; display: flex; align-items: center; background: var(--page); }
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 35%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 62%; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg,var(--chrome),#181a1600 21%,#191c1800 61%,#191c18d1 92%,var(--page)),
    linear-gradient(90deg,var(--page) 36%,#191c18e7 40%,#191c18ad 48%,#191c1800 72%,#191c1800 93%,var(--page));
}
.hero-content { padding-block: 48px 43px; }
.spec { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 750; color: #e5d9b6; }
.spec span + span { border-left: 1px solid #887d5d; padding-left: 12px; }
h1 { margin-top: 16px; font-weight: 890; font-size: clamp(54px, 7.3vw, 102px); letter-spacing: -.055em; line-height: .94; }
h1 em { font-style: normal; color: var(--accent); }
.lead { max-width: 31ch; font-size: clamp(17px, 1.64vw, 22px); line-height: 1.43; color: #e4dfcd; margin: 19px 0 25px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; padding: 11px 15px; min-height: 48px; border-radius: 6px; font-size: 14px; line-height: 1.2; font-weight: 760; }
.button span { font-size: 1.14em; line-height: 1; }
.primary { background: var(--accent); color: var(--accent-ink); }
.primary:hover { background: #ffdc83; }
.secondary, .refresh { border-color: #676853; background: #22251ee8; color: var(--text); }
.secondary:hover, .refresh:hover { border-color: var(--accent); }
.text-action { display: inline-flex; align-items: center; gap: 8px; color: #e4d8b2; min-height: 44px; margin-top: 9px; font-size: 14px; font-weight: 690; }
.text-action:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.hero-caption { position: absolute; right: var(--inset); bottom: 29px; display: grid; gap: 4px; border-left: 2px solid var(--accent); padding: 2px 0 2px 13px; text-align: left; }
.hero-caption strong { font-size: 16px; }
.hero-caption span { font-size: 12px; color: #ded5b9; }

.directory { display: grid; grid-template-columns: minmax(225px,.9fr) minmax(0,1.6fr) auto; align-items: center; column-gap: 22px; padding: 18px 21px; min-height: 94px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
h2 { font-size: clamp(27px, 3.6vw, 44px); font-weight: 830; letter-spacing: -.048em; line-height: 1.07; }
.directory h2 { font-size: clamp(22px, 2.5vw, 30px); }
.directory-title p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.directory-results { padding-left: 20px; border-left: 1px solid var(--line); }
.room-status { color: #ddd7bf; font-size: 15px; font-weight: 640; }
.room-status:empty { display: none; }
.refresh { background: transparent; min-height: 44px; }
.refresh:disabled { opacity: .55; cursor: wait; }
.room-list { list-style: none; padding: 0; }
.room-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.room-list li + li { margin-top: 7px; }
.room-list li > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 12px; min-width: 0; }
.room-list strong { overflow-wrap: anywhere; font-size: 15px; }
.room-list li > div span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.room-list .button { min-height: 44px; }
.section { padding-block: 41px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.section-head p { color: var(--muted); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; list-style: none; counter-reset: step; padding: 0; margin-top: 22px; }
.steps li { border-top: 1px solid var(--line); padding: 15px 6px 0 42px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 15px; color: var(--accent); font: 700 15px/1.4 Inter,sans-serif; }
.steps h3 { font-size: 19px; line-height: 1.15; font-weight: 760; letter-spacing: -.03em; }
.steps p, .modes p, .install p { margin-top: 7px; color: var(--muted); font-size: 15px; }

.field { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: center; gap: 31px; background: #22261e; border-block: 1px solid #34392e; }
.field img { width: 100%; height: auto; border-radius: 5px; }
.field figcaption { font-size: 13px; color: var(--muted); margin-top: 9px; }
.modes h2 { font-size: clamp(27px, 3vw, 38px); margin-bottom: 16px; }
.modes details { border-bottom: 1px solid var(--line); }
.modes details:first-of-type { border-top: 1px solid var(--line); }
.modes summary { cursor: pointer; min-height: 52px; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.modes summary::-webkit-details-marker { display: none; }
.modes summary::after { content: '+'; font-size: 21px; color: var(--accent); }
.modes details[open] summary::after { content: '−'; }
.modes summary strong { display: block; line-height: 1.2; font-size: 17px; }
.modes summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.modes p { margin: 0 0 13px; }
.install { padding-block: 34px; display: flex; align-items: start; gap: 10px 29px; }
.install h2 { font-size: clamp(24px, 2.8vw, 34px); }
.install strong { display: block; padding-top: 3px; font-size: 16px; }
.install p { margin-top: 4px; }

@media (max-width: 960px) {
  :root { --inset: 28px; }
  .header-inner { gap: 24px; }
  .desktop-nav { gap: 20px; }
  .footer-inner { min-height: 81px; gap: 13px; }
  .footer-inner nav { gap: 7px 13px; }
  .hero { min-height: 432px; }
  .hero-art { left: 26%; }
  .hero::after { background: linear-gradient(180deg,var(--chrome),#181a1620 18%,transparent 65%,var(--page)), linear-gradient(90deg,var(--page) 20%,#191c18cc 35%,#191c1866 54%,transparent 76%); }
  .hero-caption { bottom: 22px; }
  .section-head { align-items: start; flex-direction: column; gap: 6px; }
  .directory { grid-template-columns: minmax(180px,.9fr) minmax(0,1.6fr) auto; gap: 12px; }
  .directory-results { padding-left: 12px; }
  .field { gap: 19px; }
}
@media (max-width: 740px) {
  .desktop-nav { display: none; }
  .header-inner { height: 71px; gap: 10px; }
  .brand { font-size: 23px; }
  .locale > * { min-width: 34px; }
  .mobile-nav { display: block; }
  .mobile-nav summary { min-width: 44px; min-height: 44px; display: grid; place-content: center; gap: 4px; list-style: none; border: 1px solid #ffffff25; border-radius: 6px; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 18px; height: 2px; background: currentColor; }
  .mobile-nav nav { position: absolute; inset: 100% 0 auto; display: grid; padding: 7px var(--shell-gutter); background: var(--chrome); border-bottom: 1px solid #ffffff25; }
  .mobile-nav nav a { padding: 12px 0; min-height: 44px; }
  .mobile-nav .current { color: var(--lime); }
}
@media (max-width: 620px) {
  :root { --inset: 20px; --shell-gutter: 20px; }
  .footer-inner { min-height: 121px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); align-content: center; gap: 10px 12px; padding-block: 9px; font-size: 12px; }
  .footer-inner nav { justify-content: end; gap: 5px 10px; }
  .footer-inner > a { white-space: nowrap; }
  .footer-inner > a:last-child { justify-self: end; }
  .foot-brand .brand { font-size: 17px; }
  .foot-brand p { font-size: 12px; }
  .hero { min-height: 0; align-items: start; }
  .hero-art { inset: 0 0 auto; height: 280px; }
  .hero-art img { object-position: 59% 60%; }
  .hero::after { background: linear-gradient(180deg,var(--chrome),#181a1605 10%,#181a1622 28%,var(--page) 66%); }
  .hero-content { padding-block: 157px 17px; }
  .hero-caption { display: none; }
  h1 { font-size: clamp(45px, 13.2vw, 75px); margin-top: 10px; }
  .spec { font-size: 12px; }
  .lead { margin: 13px 0 16px; }
  .text-action { margin-top: 6px; }
  .button { font-size: 13px; padding-inline: 10px; gap: 7px; }
  .directory { grid-template-columns: minmax(0,1fr) auto; padding: 12px 14px 14px; gap: 9px; }
  .directory-title { grid-area: 1 / 1; }
  .refresh { grid-area: 1 / 2; }
  .directory-results { grid-column: 1 / -1; border: 0; border-top: 1px solid var(--line); padding: 11px 0 0; }
  .room-status { font-size: 14px; }
  .section { padding-block: 31px; }
  .steps { grid-template-columns: 1fr; gap: 11px; margin-top: 17px; }
  .steps li { padding: 12px 0 0 37px; }
  .steps li::before { top: 11px; }
  .steps p, .modes p { margin-top: 5px; }
  .field { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 21px; }
  .modes p { margin-bottom: 12px; }
  .install { padding-block: 26px; flex-direction: column; gap: 7px; }
}
@media (max-width: 359px) {
  .header-inner { gap: 6px; }
  .brand { font-size: 20px; }
  .locale > * { min-width: 31px; }
  .hero .actions .button { flex: 1 1 100%; }
  .directory h2 { font-size: 19px; }
}
