@font-face { font-family: 'Barlow Condensed'; src: url('/basicmu/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('/basicmu/cinzel.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #f4f5f8;
  --muted: #c7cbd4;
  --dim: #a8afbd;
  --accent: #ff8e9d;
  --accent-border: #963b4a;
  --secondary: #d3dbe9;
  --subtle-border: #465161;
  --line: #303741;
  --background: #0d1014;
  --panel: #171c23;
  --raised: #222a35;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Segoe UI', sans-serif;
  --body: 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  min-width: 300px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .68; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p, h1, h2, h3 { margin-top: 0; }
p { margin-bottom: 1em; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 700; line-height: 1.12; }
h2 { font-size: clamp(1.35rem, 2.7vw, 2.55rem); margin-bottom: .45em; }
h3 { font-size: clamp(1.12rem, 1.75vw, 1.58rem); margin-bottom: .35em; }
strong { color: var(--ink); }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus { position: fixed; inset: 10px auto auto 10px; z-index: 20; background: var(--accent); color: #170c12; padding: 8px 14px; }
.wrap { width: min(91%, 1380px); margin-inline: auto; }
.section { margin-block: clamp(34px, 5.7vw, 76px); }
.section-head { max-width: 670px; margin-bottom: clamp(20px, 3.6vw, 34px); }
.section-head p, .tile p, .class-card p, .item-card p { color: var(--muted); }
.section-head p { margin-bottom: 0; font-size: clamp(.96rem, 1.6vw, 1.15rem); }
.section-top { display: flex; gap: 16px 25px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.section-top .section-head { margin: 0; }
.eyebrow, .dev-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.section-head .eyebrow { margin-bottom: 13px; }
.dev-label { letter-spacing: .065em; border: 1px solid var(--line); padding: 5px 9px; margin-bottom: 20px; }
.link-row, .button-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.link-row { gap: 12px 25px; margin-top: 23px; }
.text-link { display: inline-flex; gap: 10px; align-items: baseline; color: var(--accent); font-weight: 650; font-size: .93rem; }
.text-link:hover { color: #fff1f3; }
.text-link span { font-size: 1.05em; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #11151cef;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #343e4e;
  box-shadow: 0 6px 18px #05080f66;
}
.utility-bar { background: #0a0d12; border-bottom: 1px solid #252c37; }
.utility-inner { display: flex; align-items: center; gap: 15px; min-height: 30px; font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.utility-inner a { display: inline-flex; align-items: center; gap: 5px; }
.utility-inner a:hover { color: var(--ink); }
.utility-inner .nav-icon { width: 15px; height: 15px; }
.status-season { color: var(--accent); padding-right: 13px; border-right: 1px solid var(--line); }
.utility-discord { color: var(--secondary); margin-left: auto; }
.utility-discord .nav-icon { color: inherit; }
.online-count { color: #b7d7c8; white-space: nowrap; }
.topbar-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.top-brand { display: block; flex: 0 0 auto; }
.top-brand img { width: clamp(94px, 10vw, 132px); }
.main-nav, .top-actions { display: flex; align-items: center; gap: 5px; }
.top-actions { gap: clamp(8px, 1vw, 14px); }
.nav-menu { position: relative; }
.nav-menu summary, .nav-direct, .plain-login, .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  color: var(--muted);
  font-size: .97rem;
  font-weight: 640;
  line-height: 1;
  white-space: nowrap;
}
.nav-menu summary { list-style: none; cursor: pointer; padding-inline: 8px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-icon { flex: none; display: block; width: 17px; height: 17px; color: var(--accent); }
.menu-caret {
  flex: none;
  width: 6px;
  height: 6px;
  margin: -3px 1px 0 2px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  color: var(--secondary);
}
.nav-menu[open] .menu-caret { transform: translateY(3px) rotate(225deg); }
.nav-direct, .plain-login {
  position: relative;
  padding-inline: clamp(8px, 1vw, 15px);
  border-radius: 4px;
  color: #e1e5ee;
}
.nav-direct .nav-icon, .plain-login .nav-icon { color: #a9b4c7; }
.nav-direct:hover, .plain-login:hover, .plain-login[aria-current] { background: #242b39; color: #fff; }
.nav-direct[aria-current] {
  color: #fff4f6;
  background: linear-gradient(180deg, #5e23343d, #8d2c4261);
}
.nav-direct[aria-current] .nav-icon, .nav-direct:hover .nav-icon { color: var(--accent); }
.nav-direct[aria-current]::after {
  content: '';
  position: absolute;
  inset: auto 9px 0;
  height: 2px;
  background: #ef6274;
  box-shadow: 0 0 9px #d7456977;
}
.nav-menu summary:hover, .nav-menu[open] summary { color: var(--accent); }
.nav-mobile-account { display: none; }
.nav-dropdown {
  min-width: 196px;
  position: absolute;
  top: calc(100% + 10px);
  z-index: 7;
  padding: 7px;
  border: 1px solid var(--line);
  border-top-color: var(--subtle-border);
  background: var(--panel);
  box-shadow: 0 12px 28px #0009;
}
.nav-dropdown a { display: block; padding: 8px 10px; font-size: .88rem; line-height: 1.35; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current] { background: var(--raised); color: var(--accent); }
.language-menu .nav-dropdown { min-width: 118px; right: -7px; }
.nav-toggle { display: none; justify-content: center; padding: 6px 12px; color: var(--ink); background: #232b39; border: 1px solid #46536a; border-radius: 4px; }
.nav-toggle[aria-expanded="true"] { color: #ffc0c8; border-color: var(--accent-border); background: #3a2330; }
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px clamp(14px, 2.25vw, 25px);
  border: 1px solid var(--accent-border);
  border-radius: 2px;
  font-weight: 680;
  font-size: .87rem;
  text-align: center;
  line-height: 1.25;
  transition: background-color .15s, border-color .15s, color .15s;
}
.button.compact { min-height: 42px; padding: 8px 14px; font-size: .88rem; white-space: nowrap; }
.button-primary { background: linear-gradient(155deg, #bd3047, #9f243a); border-color: #d95062; color: #fff8fa; box-shadow: inset 0 1px #ffafba55, 0 4px 16px #390d1947; }
.button-primary:hover { background: #c53d52; }
.button-outline { background: var(--panel); color: var(--ink); border-color: #3c4656; }
.button-outline:hover { background: var(--raised); border-color: var(--accent-border); }

/* Artwork sits above the data so the full image and the table stay readable. */
.portal-hero {
  position: relative;
  isolation: isolate;
  background: #100d11;
}
.portal-hero::before, .portal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.portal-hero::before {
  background: url('/basicmu/home-aquilas.webp') center 30% / cover no-repeat;
}
.portal-hero::after {
  background:
    linear-gradient(0deg, #0d1014 0%, #0d1014ed 12%, #0d10148f 36%, transparent 66%),
    linear-gradient(90deg, #0d1014a6, transparent 27%, transparent 73%, #0d1014a6);
}
.hero-inner {
  display: grid;
  justify-items: center;
  align-items: end;
  min-height: clamp(560px, 43vw, 720px);
  padding-block: 64px 32px;
  text-align: center;
}
.hero-copy { width: min(100%, 690px); }
.hero-copy h1 { display: grid; justify-items: center; gap: 5px; margin: 0 0 8px; }
.hero-copy h1 img { width: clamp(265px, 29vw, 420px); filter: drop-shadow(0 8px 14px #0e090e); }
.hero-title { color: #f2f4f8; font: 700 clamp(1.5rem, 2.8vw, 2.65rem)/1.04 'Cinzel', Georgia, serif; }
.hero-title em { color: #fb8a9a; font-style: normal; }
.hero-description { color: #d2d8e2; font-size: clamp(.98rem, 1.32vw, 1.16rem); margin: 0 0 18px; }
.hero-cta { justify-content: center; gap: 8px; }
.hero-cta .button { min-height: 45px; font-size: .92rem; }
.hero-cta .button-outline { background: #181d27e9; }
.hero-cta .button-outline:hover { background: var(--raised); }
.button-discord { border-color: #495567; background: #1b2230e8; color: #e2e9f5; }
.button-discord:hover { border-color: var(--secondary); background: #283344; }
#discord { scroll-margin-top: 122px; }
.community-discord {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 16px;
  border-top-color: var(--subtle-border);
  background: linear-gradient(100deg, #252d39, var(--panel));
}
.community-discord p { margin: 0; }

.home-bulletins {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(13px, 1.6vw, 24px);
  margin-block: 7px clamp(28px, 4vw, 54px);
}
.home-bulletins article {
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 232px;
  border: 1px solid #414855;
  border-top-color: #b84c5b;
  box-shadow: 0 12px 30px #0004;
  background-color: var(--panel);
}
.home-bulletins .launch-feature {
  background:
    linear-gradient(90deg, #11151bf7, #161c25af 54%, #11161c08 100%),
    linear-gradient(90deg, #68314338, #96344495),
    url('/basicmu/home-launch.webp') 69% 43% / cover no-repeat;
  background-blend-mode: normal, color, normal;
}
.home-bulletins .news-feature {
  background:
    linear-gradient(90deg, #11151df7, #151a24c7 58%, #1c243139 100%),
    url('/basicmu/card-news-arcana.webp') 70% 50% / cover no-repeat;
  border-top-color: #5a667a;
}
.bulletin-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
  padding: clamp(17px, 2.1vw, 28px);
}
.bulletin-content > .text-link { margin-top: auto; }
.launch-heading { margin-bottom: 12px; }
.launch-heading h2,
.news-feature h2 {
  color: #f5f6fb;
  margin: 0 0 4px;
  font: 700 clamp(1.44rem, 2.5vw, 2.14rem)/1.17 var(--display);
}
.news-feature h2 { display: flex; align-items: center; gap: 9px; }
.launch-heading time, .season-date time { color: #d0d7e5; font-size: .94rem; }
.hero-launch { width: min(100%, 440px); margin-bottom: 12px; }
.launch-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 365px;
  background: #111720e8;
  border: 1px solid #53647d99;
}
.launch-countdown > div { display: grid; justify-items: center; gap: 4px; padding: 7px 3px 8px; }
.launch-countdown > div + div { border-left: 1px solid #53647d6e; }
.launch-countdown strong { color: #f9e2e7; font: 700 clamp(2rem, 3vw, 2.75rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.launch-countdown span { color: #c6cede; font-size: .67rem; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.launch-message { margin: 0; color: var(--accent); }
.home-news-list { align-self: stretch; margin: 5px 0 12px; padding: 0; list-style: none; }
.home-news-list li { display: flex; justify-content: space-between; gap: 8px 14px; padding: 8px 0; border-bottom: 1px solid #afbcd548; }
.home-news-list a { font-size: clamp(.93rem, 1.19vw, 1.06rem); font-weight: 650; }
.home-news-list a:hover { color: #ffa1af; }
.home-news-list time { flex: none; align-self: center; color: #ccd4e1; font-size: .76rem; }

.home-rates {
  margin-top: clamp(26px, 4vw, 54px);
  border-block: 1px solid var(--line);
  background: linear-gradient(95deg, #1b222d, #151b24 65%);
}
.rate-inner { display: grid; grid-template-columns: minmax(155px, 1fr) minmax(0, 4fr); align-items: center; }
.rate-guide { display: grid; justify-items: start; gap: 1px; padding: 13px 14px 13px 0; line-height: 1.3; }
.rate-guide strong { font: 700 1.52rem/1.15 var(--display); }
.rate-guide span { color: var(--accent); font-size: .9rem; }
.rate-guide:hover span { color: #ffdce3; }
.rate-inner dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.rate-inner dl > div { display: flex; align-items: center; justify-content: center; gap: 8px 14px; min-width: 0; padding: 14px 10px; border-left: 1px solid var(--line); }
.rate-inner dt { display: grid; gap: 2px; color: var(--muted); font-size: .93rem; font-weight: 650; line-height: 1.25; }
.rate-inner dt small { color: var(--dim); font-weight: 450; }
.rate-inner dd { margin: 0; color: var(--accent); font: 700 clamp(1.65rem, 3vw, 2.2rem)/1 var(--display); font-variant-numeric: tabular-nums; }

.framed { border: 1px solid var(--line); }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 1.6vw, 24px); }
.home-panel { display: flex; flex-direction: column; min-width: 0; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 12px 30px #0004; }
.panel-art {
  min-height: clamp(152px, 14vw, 208px);
  display: flex;
  align-items: end;
  padding: 17px clamp(14px, 1.65vw, 24px);
  border-bottom: 1px solid #384252;
  background-image: linear-gradient(0deg, #151a22 0%, #161b248f 26%, #161b2409 59%), var(--panel-image);
  background-size: cover;
  background-position: center, var(--panel-position, center);
}
.highlight-players { --panel-image: url('/basicmu/card-players-dominion.webp'); --panel-position: 47% 18%; }
.highlight-guilds { --panel-image: url('/basicmu/card-guilds-renewal.webp'); --panel-position: 40% 38%; }
.highlight-events { --panel-image: url('/basicmu/card-events-raklion.webp'); --panel-position: 76% 49%; }
.panel-art h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #f3f5fa;
  font-size: clamp(1.58rem, 2.35vw, 2.28rem);
  text-shadow: 0 2px 8px #000;
}
.panel-art .nav-icon { width: 21px; height: 21px; color: var(--accent); }
.panel-body { display: flex; flex: 1; flex-direction: column; padding: 12px clamp(12px, 1.45vw, 20px) 15px; }
.home-leaderboard { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.home-leaderboard td, .home-leaderboard th { padding: 7px 5px; border-bottom: 1px solid #313a48; }
.home-leaderboard thead { color: #c4cddd; font-size: .7rem; font-weight: 650; text-transform: uppercase; letter-spacing: .065em; }
.home-leaderboard tbody { font-size: .98rem; }
.home-leaderboard tr > :last-child { text-align: right; color: var(--accent); }
.home-leaderboard tbody tr > :first-child { width: 35px; }
.home-leaderboard tbody small, .home-event-list small { display: block; color: var(--dim); font-size: .78rem; font-weight: 400; line-height: 1.3; }
.home-leaderboard .place { border-color: #495568; background: #222a36; }
.home-leaderboard tbody tr:first-child .place { color: #ffadb7; background: #3e2230; border-color: #954859; }
.home-leaderboard .ranking-empty td { text-align: left; color: var(--muted); }
.panel-empty { margin: 4px 0 12px; color: var(--muted); }
.home-event-list { margin: 0; padding: 0; list-style: none; }
.home-event-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 8px; border-bottom: 1px solid #313a48; }
.home-event-list strong { font-size: .99rem; line-height: 1.3; }
.home-event-list .timer { flex: none; min-width: 0; font-size: .84rem; }
.panel-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 13px; }
.panel-bottom small { color: var(--dim); font-size: .76rem; }
.place { display: inline-grid; min-width: 25px; height: 25px; padding-inline: 5px; place-items: center; background: var(--raised); border: 1px solid var(--line); color: var(--accent); font-size: .82rem; }

.tile-grid { display: grid; gap: 14px; }
.tile-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile, .class-card {
  padding: clamp(18px, 2.45vw, 33px);
  background: var(--panel);
  min-width: 0;
}
.tile h2, .class-card h2 { font-size: clamp(1.18rem, 2.2vw, 1.75rem); }
.tile > .text-link + .text-link { margin-left: 14px; }
.tile-icon, .class-icon {
  display: grid;
  place-items: center;
  width: 47px; height: 47px;
  margin-bottom: 18px;
  color: var(--accent);
  background: var(--raised);
  border: 1px solid var(--line);
  font: 1.5rem/1 Georgia, serif;
}
.class-card .eyebrow { margin-bottom: 8px; letter-spacing: .08em; }
.class-card p { margin-bottom: 0; }
.class-card strong { color: var(--accent); }
.class-section { padding-top: 18px; border-top: 1px solid var(--line); }
.guide-link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.guide-link-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 43px; padding: 9px 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.guide-link-list a:hover { background: var(--raised); }
.guide-link-list a span { color: var(--accent); }

.interior-mast {
  min-height: clamp(230px, 29vw, 405px);
  display: grid;
  justify-items: center;
  align-items: end;
  padding: 23px 0 30px;
  background: linear-gradient(0deg, var(--background), #10131ba1 28%, transparent 68%),
    linear-gradient(90deg, #0d1014cc, transparent 35%, transparent 65%, #0d1014cc),
    url('/basicmu/home-aquilas.webp') center 33% / cover no-repeat;
}
.interior-mast img {
  width: clamp(205px, 28vw, 370px);
  filter: drop-shadow(0 8px 15px #0a0d13e9);
}
.interior-layout {
  display: grid;
  grid-template-columns: minmax(220px, 285px) minmax(0, 1fr);
  grid-template-areas: 'sidebar content';
  gap: clamp(14px, 1.65vw, 26px);
  align-items: start;
  margin-bottom: clamp(30px, 5vw, 68px);
}
.interior-main {
  grid-area: content;
  min-width: 0;
  padding: clamp(18px, 2.85vw, 41px);
  background: linear-gradient(145deg, #1c242f, #141920 42%);
  border: 1px solid #354051;
  border-top-color: #845262;
  box-shadow: 0 14px 32px #03050866;
  scroll-margin-top: 115px;
}
.interior-main .wrap { width: 100%; }
.interior-main .section { margin: 22px 0 0; }
.interior-main .handbook-layout { gap: clamp(12px, 2vw, 25px); }
.interior-intro { position: relative; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.interior-intro::after { content: ''; position: absolute; inset: auto auto -1px 0; width: 44px; height: 2px; background: #df516a; }
.interior-intro h1 { margin: 7px 0 3px; color: #f1f4fa; font-size: clamp(2.65rem, 4.8vw, 4.35rem); }
.interior-intro p { margin: 0; max-width: 60ch; color: var(--muted); font-size: clamp(.96rem, 1.35vw, 1.12rem); }
.interior-sidebar { grid-area: sidebar; min-width: 0; display: grid; gap: 14px; }
.interior-sidebar .panel-art { min-height: 126px; padding: 12px 13px; }
.interior-sidebar .panel-art h2 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
.interior-sidebar .panel-art .nav-icon { width: 17px; height: 17px; }
.interior-sidebar .panel-body { padding: 7px 12px 12px; }
.interior-sidebar .home-leaderboard td, .interior-sidebar .home-leaderboard th { padding-block: 5px; }
.interior-sidebar .home-leaderboard tbody { font-size: .9rem; }
.interior-sidebar .home-leaderboard tbody small { font-size: .73rem; }
.interior-sidebar .panel-bottom .text-link { font-size: .83rem; }
.breadcrumb { display: flex; gap: 11px; color: var(--muted); font-size: .83rem; }
.breadcrumb a { color: var(--accent); }
.prose { max-width: 790px; font-size: clamp(1.04rem, 2vw, 1.24rem); }
.prose p { margin: 17px 0 24px; color: var(--muted); }

.toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 22px; }
.tab-buttons { display: flex; flex-wrap: wrap; gap: 7px; flex: 1 1 340px; }
.tab-buttons button, .workspace-menu button, .small-action {
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: .88rem;
  font-weight: 630;
}
.tab-buttons button[aria-pressed="true"], .workspace-menu button[aria-pressed="true"], .tab-buttons button:hover, .workspace-menu button:hover, .small-action:hover { background: var(--raised); color: var(--secondary); border-color: var(--subtle-border); }
.search-field, .field { display: grid; gap: 6px; }
.search-field span, .field span { color: var(--muted); font-weight: 650; font-size: .85rem; }
.search-field input, .search-field select, .field input, .field textarea, .field select, .guide-search-row input { width: 100%; padding: 8px 11px; border: 1px solid #536173; background: var(--background); color: var(--ink); border-radius: 2px; }
.search-field input { width: min(215px, 100%); }
.empty-state { padding: 20px 0; color: var(--muted); }
.editorial-card { overflow: hidden; min-height: 176px; display: flex; align-items: start; background: var(--panel); }
.editorial-inner { width: 100%; padding: 24px; }
.editorial-inner h2 { font-size: clamp(1.12rem, 2.15vw, 1.78rem); }
.editorial-inner p { color: var(--muted); }
.meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--accent); font-size: .78rem; margin-bottom: 8px; }
.meta time { color: var(--muted); }

.event-list { display: grid; gap: 12px; }
.event-row { display: grid; grid-template-columns: minmax(73px, 115px) 1fr auto; align-items: center; gap: clamp(13px, 2.75vw, 32px); padding: 16px 20px; background: var(--panel); }
.event-row h2 { margin: 2px 0 5px; font-size: clamp(1.12rem, 2vw, 1.56rem); }
.event-row p { margin: 0; color: var(--muted); }
.event-row small { color: var(--dim); }
.event-time { display: grid; justify-items: center; border-right: 1px solid var(--line); padding-right: 15px; color: var(--accent); }
.event-time time { font-variant-numeric: tabular-nums; font-size: clamp(1.15rem, 2.7vw, 1.85rem); font-weight: 720; }
.event-time span, .clock { color: var(--muted); font-size: .8rem; }
.timer { min-width: 75px; color: var(--accent); font: 650 .94rem/1.1 var(--body); font-variant-numeric: tabular-nums; text-align: right; }
.clock { margin: 0; font-variant-numeric: tabular-nums; }

.data-table { overflow: auto; background: var(--panel); }
.data-table table { width: 100%; min-width: 480px; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td { padding: 12px clamp(9px, 2.3vw, 26px); }
.data-table thead { background: var(--raised); color: var(--ink); }
.data-table tbody tr { border-top: 1px solid var(--line); color: var(--muted); }
.data-table tbody tr:nth-child(2n) { background: #1c232e; }
.data-table tbody tr:hover { background: var(--raised); }
.data-table .lead-cell { color: var(--ink); font-weight: 650; }
.ranking-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 15px;
  padding: clamp(12px, 1.6vw, 20px);
  border: 1px solid var(--line);
  background: #1a202a;
}
.ranking-filters .field { min-width: 0; }
.ranking-filters select, .ranking-filters input { min-height: 42px; }
.ranking-demo { margin: 14px 0 8px; color: var(--dim); font-size: .78rem; }
.ranking-panel { margin-top: 17px; }
.ranking-panel h2 { font-size: clamp(1.5rem, 2.75vw, 2.3rem); }
.ranking-panel .data-table { background: #151b24; }
.ranking-panel .data-table table { min-width: 0; font-size: .92rem; }
.ranking-panel .data-table th, .ranking-panel .data-table td { padding: 10px clamp(7px, 1.25vw, 18px); }
.ranking-panel .data-table thead { background: #242c3a; color: var(--accent); font-size: .78rem; }
.ranking-panel .data-table tbody td:last-child { color: var(--muted); }

.item-card { background: var(--panel); overflow: hidden; }
.item-art { position: relative; height: 104px; display: grid; place-items: center; color: var(--accent); background: var(--raised); border-bottom: 1px solid var(--line); }
.item-art > span { font: 3rem/1 Georgia, serif; }
.item-art button { position: absolute; inset: 9px 9px auto auto; border: 1px solid var(--line); background: var(--panel); color: var(--accent); min-width: 37px; min-height: 37px; font-size: 1.22rem; }
.item-content { display: grid; align-content: start; gap: 5px; padding: 16px; }
.item-content h2 { font-size: 1.18rem; margin-bottom: 0; }
.item-content p { margin: 0; font-size: .88rem; }
.item-content strong { color: var(--accent); margin: 6px 0; }
.item-content .button { min-height: 38px; padding: 6px; }
.status { min-height: 1.1em; color: var(--accent); font-size: .91rem; }
.status:empty { margin: 0; min-height: 0; }
dialog { width: min(91%, 460px); background: var(--panel); border: 1px solid var(--accent-border); color: var(--ink); padding: 25px; }
dialog::backdrop { background: #0a0a0adc; }
.dialog-inner h2 { font-size: 1.55rem; }

.form-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
.form-layout form { display: grid; justify-items: start; gap: 14px; }
.form-layout .field { width: 100%; }
.form-grid { display: grid; gap: 12px; max-width: 600px; justify-items: start; }
.form-grid .field { width: 100%; }
.form-grid h2, .form-grid h3, .form-grid p { margin: 0; }
.download-layout { display: grid; gap: 15px; }
.download-package, .download-section { padding: clamp(15px, 2vw, 25px); }
.download-package {
  border-color: #674250;
  background: linear-gradient(91deg, #161c25fd, #1c2230e8 52%, #2126356b),
    url('/basicmu/home-launch.webp') center 48% / cover no-repeat;
}
.download-package-heading { display: flex; align-items: center; gap: 13px; }
.download-package-heading > .nav-icon { width: 34px; height: 34px; border: 1px solid #9a4a5b; padding: 6px; background: #2f1e28; }
.download-package-heading h2, .download-section h2 { margin: 0 0 5px; font-size: clamp(1.55rem, 3vw, 2.38rem); }
.download-package-heading p { margin: 0; color: #ccd5e3; font-size: .89rem; }
.download-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 19px 0 13px; }
.download-meta > div { padding: 9px 10px; border: 1px solid #414d5e; background: #111720ed; }
.download-meta dt { color: var(--accent); font-size: .71rem; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.download-meta dd { margin: 1px 0 0; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.download-meta dd.is-ready { color: #a8d7b0; }
.download-notice { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.download-section { background: var(--panel); }
.download-clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.download-clients > div, .download-help { padding: 11px 13px; border: 1px solid var(--line); background: #121720; }
.download-help { margin-top: 13px; }
.download-clients h3 { margin-bottom: 4px; color: var(--accent); }
.download-clients p, .download-help p { margin: 0; color: var(--muted); font-size: .93rem; }
.download-help p { margin-bottom: 6px; }

.guide-tools { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin-bottom: 13px; }
.guide-tools > .field { flex: 1 1 220px; }
.guide-tools input { min-height: 42px; }
.guide-entries { display: grid; gap: 8px; }
.guide-entry-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid #3b4759;
  background: linear-gradient(99deg, #242e3a, #181e27);
}
.guide-entry-link:hover { border-color: var(--accent-border); background: #2a3544; }
.guide-entry-link h2 { margin: 0 0 2px; color: #ebeff8; font-size: clamp(1.27rem, 2vw, 1.68rem); }
.guide-entry-link p { margin: 0; color: var(--muted); font-size: .9rem; }
.guide-entry-link .nav-icon { width: 23px; height: 23px; }
.guide-arrow { color: var(--accent); }

.account-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.account-tabs a { padding: 8px 13px; border: 1px solid var(--line); color: var(--muted); font-size: .91rem; font-weight: 650; }
.account-tabs a[aria-current], .account-tabs a:hover { color: var(--accent); border-color: #a14c5d; background: #2c1f2a; }
.account-box { display: grid; gap: 15px; justify-items: start; padding: clamp(15px, 2vw, 27px); background: var(--panel); }
.account-box fieldset { width: min(100%, 490px); margin: 0; padding: 10px 12px 13px; border: 1px solid var(--line); }
.account-box legend { padding-inline: 7px; color: var(--accent); font-weight: 650; font-size: .93rem; }
.account-box small { display: block; margin-top: 6px; color: var(--dim); }
.status-panel, .player-session, .player-shortcut {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(13px, 1.8vw, 23px);
}
.status-panel h2, .player-session h2 { margin: 0 0 5px; font-size: clamp(1.32rem, 2.5vw, 1.95rem); }
.status-panel p, .player-session p, .player-shortcut p { margin: 0; color: var(--muted); font-size: .94rem; }
.player-dashboard { display: grid; gap: 16px; }
.player-session { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-left: 2px solid var(--accent-border); }
.player-sections, .player-overview { display: grid; gap: 10px; }
.player-sections { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.player-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-shortcut { background: linear-gradient(145deg, #242a38, var(--panel) 65%); }
.player-shortcut .nav-icon { width: 22px; height: 22px; margin-bottom: 10px; }
.player-shortcut h3 { margin: 0 0 4px; }

.workspace-grid { display: grid; grid-template-columns: minmax(170px, 245px) minmax(0, 1fr); gap: 18px; align-items: start; }
.workspace-menu { display: grid; gap: 7px; padding: 15px; background: var(--panel); }
.workspace-menu .eyebrow { margin: 7px 0; }
.workspace-menu button { text-align: left; }
.workspace-panel { padding: clamp(16px, 3vw, 30px); background: var(--panel); }
.workspace-panel > h2 { margin-bottom: 20px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.metrics > div { display: grid; gap: 6px; align-content: start; border: 1px solid var(--line); padding: 12px; background: var(--panel); }
.metrics small { color: var(--muted); }
.metrics strong { color: var(--accent); font-size: clamp(1.1rem, 2.7vw, 1.85rem); }
.server-metrics { margin-top: 28px; }
.server-metrics h2 { font-size: 1.55rem; }
.handbook-layout { display: grid; grid-template-columns: minmax(160px, 218px) minmax(0, 1fr); gap: clamp(18px, 4vw, 57px); align-items: start; margin-block: 27px 50px; }
.handbook-nav { position: sticky; top: 120px; }
.handbook-nav nav { display: grid; border-top: 1px solid var(--line); }
.handbook-nav a { display: block; border-bottom: 1px solid var(--line); padding: 8px 9px; font-size: .88rem; color: var(--muted); }
.handbook-nav a:hover { background: var(--raised); color: var(--accent); }
.handbook-body { min-width: 0; max-width: 990px; }
.handbook-search { border: 1px solid var(--line); background: var(--panel); padding: 14px; margin-bottom: 23px; }
.handbook-search h2 { font-size: 1.38rem; margin-bottom: 9px; }
.guide-search-row { display: flex; gap: 7px; }
.guide-search-row label { flex: 1; min-width: 0; }
.guide-search-row input { min-height: 42px; }
.handbook-search p { color: var(--muted); margin: 9px 0 0; }
.handbook-search p:empty { margin: 0; }
.guide-chapter { border-top: 1px solid var(--line); margin: 27px 0 41px; padding-top: 12px; scroll-margin-top: 120px; }
.guide-chapter > h2 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); margin-bottom: 12px; }
.guide-entry { margin-bottom: 13px; }
.guide-entry h3 { font-size: 1.31rem; }
.guide-note { padding: 13px 14px; border-left: 2px solid var(--subtle-border); background: var(--panel); }
.guide-note p { color: var(--muted); margin: 0; }
.guide-note .text-link { margin-top: 5px; }
.guide-table-entry .data-table { border: 1px solid var(--line); }
.guide-table-entry table { min-width: max-content; font-size: .91rem; }
.guide-table-entry th, .guide-table-entry td { padding: 7px 11px; }
.guide-table-entry td:not(:first-child) { max-width: 46ch; }
.guide-table-entry td code { color: var(--accent); font-size: .88rem; }
.guide-fold-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 7px; margin-bottom: 14px; }
.guide-fold { border: 1px solid var(--line); background: var(--panel); margin: 0 0 8px; min-width: 0; }
.guide-fold-grid .guide-fold { margin: 0; }
.guide-fold summary { cursor: pointer; padding: 8px 10px; color: var(--accent); }
.guide-fold summary strong { font-size: .94rem; }
.guide-fold summary small { display: inline-block; padding-inline-start: 7px; color: var(--dim); }
.guide-fold[open] summary { border-bottom: 1px solid var(--line); }
.guide-fold > div { padding: 9px 11px; }
.guide-fold .guide-entry { margin: 0; }
.guide-reward-list { color: var(--muted); font-size: .9rem; padding-left: 17px; margin: 0; }
.record-list { margin: 13px 0 8px; padding: 0; list-style: none; }
.record-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); overflow-wrap: anywhere; }
.record-list li p { margin: 2px 0 0; font-size: .91rem; }
progress { width: 100%; height: 13px; accent-color: var(--accent); }
.check { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.check input { accent-color: var(--accent); width: 17px; height: 17px; }

.footer { background: #0b0e13; padding: clamp(22px, 4vw, 40px) 0 20px; }
.footer-return { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(20px, 3.4vw, 40px); }
.footer-return::before, .footer-return::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.footer-return a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line); color: var(--accent); font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: minmax(170px, .65fr) 2fr; gap: clamp(20px, 5vw, 70px); }
.footer-intro p { max-width: 24ch; margin-top: 12px; color: var(--muted); font-size: .91rem; }
.footer nav { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.footer nav h2 { color: var(--accent); margin: 0 0 11px; font-size: .96rem; }
.footer nav a { display: block; color: var(--muted); font-size: .87rem; line-height: 1.36; margin-bottom: 8px; }
.footer a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 28px; color: var(--muted); }
.footer-bottom a { margin-left: 15px; font-size: .83rem; }
.footer-credit { width: 100%; color: var(--dim); }
.footer-credit a { margin: 0; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1230px) {
  .topbar-inner { gap: 12px; }
  .main-nav { gap: 4px; }
  .nav-menu summary, .nav-direct, .plain-login { gap: 5px; font-size: .89rem; }
}

@media (max-width: 1080px) {
  .topbar-inner { min-height: 62px; gap: 8px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .main-nav {
    display: none;
    align-items: stretch;
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    background: var(--panel);
    border-block: 1px solid var(--line);
    padding: 14px 4.5%;
    box-shadow: 0 14px 26px #04070cb0;
  }
  .main-nav.open { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .main-nav .nav-direct { align-self: start; min-height: 46px; border: 1px solid var(--line); }
  .tile-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-actions .button { min-height: 40px; padding: 6px 9px; }
  .rate-inner dl > div { gap: 7px; }
}

@media (max-width: 860px) {
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlight-events { grid-column: 1 / -1; }
  .highlight-events .panel-art { background-position: center, 50% 49%; }
  .interior-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'content' 'sidebar'; }
  .interior-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .topbar-inner { width: 95%; }
  .top-actions { gap: 8px; }
  .plain-login { font-size: .79rem; }
  .player-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { font-size: .81rem; }
  .portal-hero::before { background-position: 54% top; background-size: auto 88%; }
  .portal-hero::after {
    background: linear-gradient(0deg, #0d1014 16%, #0d1014ee 24%, #0d101444 50%, transparent 70%);
  }
  .hero-inner { min-height: 485px; padding-block: 62px 20px; }
  .hero-copy h1 img { width: clamp(225px, 66vw, 345px); }
  .hero-title { font-size: clamp(1.65rem, 6.6vw, 2.65rem); }
  .hero-description { margin-bottom: 12px; padding-inline: 3px; }
  .interior-mast { min-height: 225px; padding-bottom: 22px; background-position: center, center, 51% 31%; }
  .interior-mast img { width: clamp(195px, 52vw, 285px); }
  .hero-cta .button { min-height: 45px; padding-inline: clamp(10px, 3vw, 18px); font-size: .94rem; }
  .home-bulletins { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .home-bulletins article { min-height: 213px; }
  .home-bulletins .launch-feature { background-position: center, center, 61% center; }
  .rate-inner { grid-template-columns: minmax(0, 1fr); }
  .rate-guide { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 11px; padding: 12px 0 8px; }
  .rate-inner dl { border-top: 1px solid var(--line); }
  .rate-inner dl > div:first-child { border-left: 0; }
  .rate-inner dl > div { justify-content: flex-start; padding: 10px 6px 10px 9px; }
  .tile-grid.three, .form-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-grid { grid-template-columns: 1fr; gap: 10px; }
  .workspace-menu { display: flex; flex-wrap: wrap; }
  .workspace-menu .eyebrow { width: 100%; }
  .workspace-menu button { padding: 6px 9px; }
  .footer-grid { grid-template-columns: 1fr; gap: 15px; }
  .footer nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .handbook-layout { grid-template-columns: 1fr; gap: 10px; }
  .handbook-nav { position: static; }
  .handbook-nav nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-chapter { scroll-margin-top: 108px; }
}

@media (max-width: 475px) {
  .nav-toggle { min-width: 40px; }
  .top-actions .plain-login, .top-actions > .button { display: none; }
  .nav-mobile-account { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 5px; padding-top: 10px; border-top: 1px solid var(--line); }
  .main-nav.open { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rate-inner dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rate-inner dl > div { justify-content: space-between; padding-inline: 12px; }
  .rate-inner dl > div:nth-child(3) { border-left: 0; }
  .rate-inner dl > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .highlights { grid-template-columns: 1fr; }
  .panel-art { min-height: 163px; }
  .launch-heading time { font-size: .93rem; }
  .launch-countdown span { font-size: .65rem; }
  .tile-grid.three, .form-layout { grid-template-columns: 1fr; }
  .tile-grid.four { gap: 9px; }
  .item-content h2 { font-size: 1rem; }
  .item-content { padding: 10px; }
  .item-art { height: 92px; }
  .event-row { grid-template-columns: 66px 1fr; gap: 8px; padding: 13px 11px; }
  .event-row .timer { grid-column: 2; text-align: left; }
  .interior-main { padding: 14px; }
  .interior-sidebar { grid-template-columns: minmax(0, 1fr); }
  .ranking-filters { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ranking-panel .data-table table { min-width: 350px; }
  .download-meta { grid-template-columns: 1fr; }
  .download-clients { grid-template-columns: minmax(0, 1fr); }
  .metrics { gap: 6px; }
  .metrics > div { padding: 8px; }
  .metrics small { line-height: 1.25; }
  .footer-bottom a { margin: 0 12px 0 0; }
  .guide-fold-grid { grid-template-columns: 1fr; }
  .guide-link-list { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .top-brand img { width: 78px; }
  .topbar-inner, .top-actions { gap: 6px; }
  .hero-cta .button { padding-inline: 8px; font-size: .85rem; }
  .utility-inner { gap: 8px; font-size: .68rem; }
  .online-count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
