/* Standalone public pages: same palette and geometry as the native forum theme. */
.ac-public-page {
  --ac-public-bg: #101113;
  --ac-public-line: #ffffff1a;
  --ac-public-muted: #a4a8b2;
  --ac-public-orange: #ff923e;
  margin: 0;
  min-height: 100vh;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 5% 42%, #47261735, transparent 42%), radial-gradient(ellipse at 100% 5%, #36363b25, transparent 45%), var(--ac-public-bg);
  background-attachment: fixed;
  color: #f2f1ee;
  font: 14px/1.65 "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}
.ac-public-page *, .ac-public-page *::before, .ac-public-page *::after { box-sizing: border-box; }
.ac-public-page::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .3; background: linear-gradient(#ffffff10 1px, transparent 1px), linear-gradient(90deg, #ffffff10 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(#000, transparent 90%); -webkit-mask-image: linear-gradient(#000, transparent 90%); }
.ac-public-page a { color: inherit; text-decoration: none; }
.ac-public-page :is(a, button):focus-visible { outline: 2px solid #e6ac80; outline-offset: 4px; }
.ac-public-page .ac-public-skip { position: fixed; top: 10px; left: 12px; z-index: 30; padding: 10px 16px; background: #ff923e; color: #17110e; transform: translateY(-160%); }
.ac-public-page .ac-public-skip:focus { transform: none; }
.ac-public-header { position: sticky; top: 0; z-index: 20; background: #101113f0; border-bottom: 1px solid #ffffff12; box-shadow: 0 12px 35px #0002; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.ac-public-header-inner { width: calc(100% - 80px); max-width: 1280px; min-height: 84px; margin: 0 auto; display: flex; align-items: center; gap: 26px; }
.ac-public-logo { flex: 0 0 auto; display: flex; align-items: center; }
.ac-public-logo img { display: block; width: 176px; max-width: 100%; height: auto; }
.ac-public-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 0 auto; }
.ac-public-nav a { position: relative; padding: 30px 0; color: #b1b2b8; font-size: 10px; font-weight: 650; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.ac-public-nav a:hover, .ac-public-nav a.active { color: #fff; }
.ac-public-nav a.active::after { content: ""; position: absolute; bottom: 20px; left: 0; right: 0; height: 2px; background: var(--ac-public-orange); }
.ac-public-dashboard { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; height: 38px; padding-left: 15px; border-left: 1px solid #ffffff24; color: #e6e2dc; font-size: 10px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.ac-public-dashboard svg { box-sizing: content-box; padding: 5px; border: 1px solid #f973164d; border-radius: 7px; background: #f9731614; color: #fa8a37; }
.ac-public-dashboard:hover { color: #ffae70; }
.ac-public-external { color: #8e9298; font-size: 12px; }
.ac-public-menu-toggle { display: none; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 1px solid #ffffff26; border-radius: 7px; background: #191a1d; color: #dedee0; cursor: pointer; }
.ac-public-main { width: calc(100% - 80px); max-width: 1180px; flex: 1; margin: 0 auto; padding: 24px 0 64px; }
.ac-public-breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; color: #969ba5; font-size: 11px; }
.ac-public-breadcrumb a:hover { color: #ffae70; }
.ac-public-breadcrumb > span:last-child { color: #cdd0d6; }
.ac-public-intro { margin-bottom: 30px; max-width: 800px; }
.ac-public-eyebrow { display: block; color: var(--ac-public-orange); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ac-public-intro h1 { margin: 9px 0 12px; color: #f3f1ec; font-size: clamp(28px, 3vw, 40px); font-weight: 650; line-height: 1.15; letter-spacing: -1px; }
.ac-public-intro p { margin: 0; color: var(--ac-public-muted); font-size: 14px; line-height: 1.7; }
.ac-public-policies { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--ac-public-line); }
.ac-public-policies a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid transparent; border-radius: 6px; color: #a4a8b2; font-size: 12px; font-weight: 600; }
.ac-public-policies a:hover { color: #f3f1ec; background: #ffffff05; }
.ac-public-policies a.active { border-color: #ff923e40; background: #ff923e0d; color: #ffb57d; }
.ac-tos-card, .ac-status-card { border: 1px solid var(--ac-public-line); border-radius: 9px; background: linear-gradient(145deg, #212227, #181a1e 65%, #1e1b19); box-shadow: 0 12px 30px #0002; }
.ac-tos-card { padding: clamp(22px, 4vw, 44px); }
.ac-tos-headerline { display: none; }
.ac-tos-heading { margin: 0 0 20px; color: #f0efec; font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: -.3px; }
.ac-tos-intro, .ac-tos-content { max-width: 880px; }
.ac-tos-intro { margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--ac-public-line); color: #c5c8d0; }
.ac-tos-content { color: #b8bdc6; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.ac-tos-content p { margin: 16px 0; }
.ac-tos-content p:has(> b:only-child) { margin: 30px 0 8px; }
.ac-tos-content p:first-child { margin-top: 0; }
.ac-tos-content :is(b, strong, .blue) { color: #ebe9e4; font-weight: 650; }
.ac-tos-content p > b:only-child { font-size: 16px; }
.ac-tos-content ol { padding-left: 23px; }
.ac-tos-content #legal_policy_spacing { margin: 0; }
.ac-tos-content li { margin: 22px 0; padding-left: 7px; }
.ac-tos-content li::marker { color: #d69c70; font-weight: 600; }
.ac-tos-content li li { margin: 12px 0; }
.ac-tos-content a { color: #ffb57d; text-decoration: underline; text-underline-offset: 3px; }
.ac-tos-highlight { padding: 16px; border: 1px solid #ff923e33; border-radius: 7px; background: #ff923e0a; }
.ac-status-card { padding: 26px; }
.ac-status-card-header { display: flex; align-items: center; margin: 0 0 20px; }
.ac-status-card-title { font-size: 18px; font-weight: 600; letter-spacing: -.3px; }
.ac-status-table-wrapper { width: 100%; }
.ac-status-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.ac-status-table th { padding: 0 16px 14px; color: #969ca7; text-align: left; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.ac-status-table th:first-child { width: 52%; }
.ac-status-table th:nth-child(2) { width: 26%; }
.ac-status-table th:last-child { text-align: right; }
.ac-status-table td { padding: 17px 16px; border-top: 1px solid #ffffff0e; overflow-wrap: anywhere; }
.ac-status-table tbody tr:hover { background: #ffffff03; }
.ac-status-game { color: #e5e6e9; font-weight: 600; }
.ac-status-date { color: #9ca3ae; font-size: 12px; }
.ac-status-state { text-align: right; }
.ac-status-pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 92px; min-height: 28px; padding: 4px 10px; border: 1px solid; border-radius: 5px; font-size: 10px; font-weight: 600; line-height: 1.4; }
.ac-status-pill::before { content: ""; flex: 0 0 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ac-status-pill--online { color: #83d9aa; border-color: #59c38b38; background: #59c38b0a; }
.ac-status-pill--down { color: #ee9393; border-color: #df737338; background: #df73730a; }
.ac-status-pill--updating, .ac-status-pill--warning { color: #e5be7f; border-color: #d8ab6338; background: #d8ab630a; }
.ac-status-pill--testing { color: #a4b8ee; border-color: #839ed638; background: #839ed60a; }
.ac-public-footer { border-top: 1px solid #ffffff12; background: #101113b3; }
.ac-public-footer-inner { width: calc(100% - 80px); max-width: 1180px; margin: 0 auto; padding: 30px 0 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.ac-public-footer-brand { color: #e5e1da; font-size: 15px; font-weight: 650; }
.ac-public-footer-brand span { display: block; margin-top: 3px; color: #9197a2; font-size: 11px; font-weight: 400; }
.ac-public-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ac-public-footer nav a { display: inline-flex; align-items: center; min-height: 36px; color: #a5aab4; font-size: 11px; }
.ac-public-footer nav a:hover { color: #ffb57d; }
.ac-public-footer small { width: 100%; padding-top: 18px; border-top: 1px solid #ffffff0c; color: #797f8a; font-size: 10px; }
@media (max-width: 1100px) {
  .ac-public-header-inner { position: relative; width: calc(100% - 40px); gap: 16px; flex-wrap: wrap; }
  .ac-public-logo img { width: 150px; }
  .ac-public-dashboard { margin-left: auto; }
  .ac-public-nav { order: 4; flex: 0 0 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 18px; }
  .ac-public-nav a { padding: 10px 0; }
  .ac-public-nav a.active::after { bottom: 3px; }
  .ac-public-menu-ready .ac-public-menu-toggle { display: inline-flex; }
  .ac-public-menu-ready .ac-public-nav { display: none; position: absolute; top: 100%; left: -20px; right: -20px; margin: 0; padding: 14px 20px 20px; background: #17181c; border-bottom: 1px solid #ffffff1a; box-shadow: 0 16px 30px #0005; max-height: calc(100dvh - 84px); overflow-y: auto; }
  .ac-public-menu-ready .ac-public-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-public-main, .ac-public-footer-inner { width: calc(100% - 40px); }
}
@media (max-width: 580px) {
  .ac-public-header-inner { width: calc(100% - 26px); min-height: 70px; gap: 8px; }
  .ac-public-logo img { width: 129px; }
  .ac-public-dashboard { width: 36px; height: 36px; padding: 0; border: 1px solid #f973164d; border-radius: 7px; background: #f9731614; }
  .ac-public-dashboard svg { padding: 0; border: 0; background: none; }
  .ac-public-dashboard span { display: none; }
  .ac-public-menu-ready .ac-public-nav { left: -13px; right: -13px; padding: 12px 20px; max-height: calc(100dvh - 70px); }
  .ac-public-main, .ac-public-footer-inner { width: calc(100% - 28px); }
  .ac-public-main { padding-top: 20px; padding-bottom: 40px; }
  .ac-public-breadcrumb { margin-bottom: 24px; gap: 10px; font-size: 10px; }
  .ac-public-intro { margin-bottom: 24px; }
  .ac-public-intro p { font-size: 13px; }
  .ac-public-policies { gap: 3px; }
  .ac-public-policies a { padding: 7px 9px; font-size: 11px; }
  .ac-tos-card { padding: 22px 18px; }
  .ac-tos-heading { font-size: 17px; }
  .ac-tos-content, .ac-tos-intro { font-size: 13px; line-height: 1.8; }
  .ac-tos-content li { padding-left: 3px; }
  .ac-status-card { padding: 20px 14px 8px; }
  .ac-status-table thead { display: none; }
  .ac-status-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 10px; padding: 17px 2px; border-top: 1px solid #ffffff12; }
  .ac-status-table td { padding: 0; border: 0; }
  .ac-status-table .ac-status-game { grid-column: 1; grid-row: 1; }
  .ac-status-table .ac-status-date { grid-column: 1; grid-row: 2; font-size: 11px; }
  .ac-status-date::before { content: "Updated "; color: #797f8a; }
  .ac-status-table .ac-status-state { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .ac-status-pill { min-width: 78px; padding: 5px 7px; font-size: 9px; }
  .ac-public-footer-inner { gap: 18px; padding: 24px 0; }
  .ac-public-footer nav { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
}
