/* GTA6 Player Community — traditional mod-community theme. */
:root {
  --accent: #e0007c;
  --accent-dark: #b70066;
  --accent-2: #ff355d;
  --nav: #31143d;
  --nav-2: #46184f;
  --page: #f1eef3;
  --panel: #ffffff;
  --panel-soft: #f8f6f9;
  --field: #ffffff;
  --text: #2d2431;
  --muted: #736a79;
  --line: #ddd5e1;
  --line-dark: #c8bdcd;
  --ok: #178451;
  --danger: #b42335;
  --shadow: 0 1px 2px rgba(44, 28, 50, .05), 0 12px 30px -22px rgba(44, 28, 50, .32);
  --shadow-lg: 0 24px 60px -28px rgba(44, 28, 50, .48);
  --radius: 6px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.community-site {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--page);
  font: 14px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.community-site a { color: var(--accent); }
body.community-site :where(h1, h2, h3, h4) { margin-top: 0; color: var(--text); line-height: 1.3; }
body.community-site p { margin: 0 0 12px; }
body.community-site img { max-width: 100%; }
body.community-site button,
body.community-site input,
body.community-site textarea,
body.community-site select { font: inherit; }
body.community-site ::selection { color: #fff; background: var(--accent); }
.site-container { width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; }
.site-main { min-height: 650px; }
.muted { color: var(--muted); }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--accent);
  background: #fce5f3;
  font-size: 11px;
  font-weight: 700;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--text) !important;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transform: translateY(-160%);
  transition: transform .18s;
}
.skip-link:focus { transform: translateY(0); }

/* Announcement and site header */
.notice-strip {
  color: #fff;
  background: linear-gradient(90deg, #d5233f, #d3234f);
  box-shadow: inset 0 -1px rgba(0, 0, 0, .12);
}
.notice-strip[hidden] { display: none; }
.notice-strip-inner { display: flex; align-items: center; min-height: 46px; }
.notice-strip-inner > a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.notice-strip-inner > a > span {
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}
.notice-strip-inner strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.notice-strip-inner b { white-space: nowrap; font-size: 11px; font-weight: 600; opacity: .88; }
.notice-strip-inner > button {
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  opacity: .8;
}
.notice-strip-inner > button:hover { opacity: 1; }

.site-header { position: relative; z-index: 70; }
.site-header.is-sticky-nav { box-shadow: var(--shadow); }
.utility-bar { color: #fff; background: var(--nav); }
.utility-bar-inner { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 24px; }
.global-search {
  display: flex;
  width: min(360px, 38vw);
  height: 34px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 5px;
  background: rgba(255, 255, 255, .12);
}
.global-search svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; opacity: .8; }
.global-search input,
body.community-site .global-search input[type="search"] {
  min-width: 0;
  flex: 1;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 12px;
  box-shadow: none;
}
.global-search input::placeholder { color: rgba(255, 255, 255, .7); }
.utility-actions { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .78); font-size: 11px; }
.utility-actions > a { color: #fff; text-decoration: none; }
.utility-actions > a:hover { color: #ffb9dc; }
.utility-guest { opacity: .72; }
.utility-logout { margin: 0; }
.utility-logout button { padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; }
.utility-upload {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 12px !important;
  border-radius: 4px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  font-size: 11px;
  font-weight: 800;
}
.user-dot {
  width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  margin-right: 6px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 9px;
  font-weight: 800;
}
.brand-bar { background: linear-gradient(90deg, #371743, #2b1237); }
.brand-bar-inner { display: flex; min-height: 92px; align-items: center; gap: 38px; }
.site-brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  text-decoration: none;
}
.site-brand-name {
  font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif;
  font-size: 46px;
  font-style: italic;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -2px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .2);
}
.site-brand-name span {
  color: #ff3296;
  background: linear-gradient(135deg, #ff5c8c, #d600c9 52%, #00b9ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-brand-sub {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.site-brand-sub small { color: rgba(255, 255, 255, .55); font-size: 7px; letter-spacing: .14em; }
.site-nav { display: flex; align-self: stretch; align-items: stretch; gap: 3px; }
.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 16px;
  left: 13px;
  height: 2px;
  background: transparent;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav a.is-active { color: #fff; }
.site-nav a.is-active::after { background: var(--accent); }
.mobile-menu-btn { display: none; }

.site-flash-stack {
  position: fixed;
  z-index: 160;
  top: 18px;
  right: 18px;
  width: min(360px, calc(100% - 36px));
  display: grid;
  gap: 8px;
}
.site-flash {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 5px;
  color: var(--text);
  background: #fff;
  font-size: 12px;
  box-shadow: var(--shadow-lg);
  transition: opacity .2s, transform .2s;
}
.site-flash.flash-success { border-left-color: var(--ok); }
.site-flash.flash-error { border-left-color: var(--danger); }
.site-flash.is-hiding { opacity: 0; transform: translateY(-5px); }

/* Shared headings, buttons and forms */
.btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  color: var(--text);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary,
.btn.btn-primary,
.btn.primary {
  border-color: var(--accent);
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}
.btn-primary:hover,
.btn.btn-primary:hover,
.btn.primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .42); color: #fff !important; background: rgba(30, 20, 34, .54); }
.btn-large { min-height: 44px; padding: 11px 22px; font-size: 14px; }
.btn-small { min-height: 32px; padding: 7px 12px; font-size: 11px; }
.btn-block { width: 100%; }
.btn-danger { color: #fff; border-color: var(--danger); background: var(--danger); }

.input,
body.community-site input[type="text"],
body.community-site input[type="email"],
body.community-site input[type="password"],
body.community-site input[type="search"],
body.community-site textarea,
body.community-site select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  color: var(--text);
  background: var(--field);
  outline: 0;
}
body.community-site textarea { resize: vertical; }
body.community-site input:focus,
body.community-site textarea:focus,
body.community-site select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 0, 124, .1);
}
.field-label,
body.community-site label { color: var(--text); font-size: 12px; font-weight: 700; }
.form-field { display: grid; gap: 6px; margin-top: 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Home hero */
.home-hero {
  position: relative;
  min-height: 635px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(24, 18, 28, .05), rgba(21, 15, 25, .5)),
    url("hero-city.jpg") center 48% / cover no-repeat;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 12, 24, .34), rgba(52, 22, 61, .08) 55%, rgba(20, 12, 24, .28));
}
.home-hero-inner { position: relative; padding-top: 22px; }
.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 11px;
  color: #2a202f;
  background: rgba(255, 255, 255, .88);
  font-size: 11px;
}
.hero-breadcrumb a { color: var(--text); text-decoration: none; }
.hero-panel {
  max-width: 100%;
  margin-top: 52px;
  padding: 38px 42px 34px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(162, 0, 89, .97), rgba(183, 0, 112, .93) 52%, rgba(42, 18, 47, .84)),
    url("hero-city.jpg") center 44% / cover;
  background-blend-mode: multiply, normal;
  box-shadow: 0 20px 50px -20px rgba(26, 11, 31, .7);
}
.hero-eyebrow {
  color: #ffb8dc;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}
.hero-panel h1 {
  max-width: 760px;
  margin: 9px 0 14px;
  color: #fff;
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.hero-panel > p {
  max-width: 820px;
  color: rgba(255, 255, 255, .91);
  font-size: 15px;
  line-height: 1.82;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-actions .btn { min-width: 205px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px;
  color: rgba(255, 255, 255, .76);
  background: rgba(21, 12, 25, .27);
  font-size: 10px;
}
.hero-stats b { color: #fff; font-size: 16px; }

/* Home content */
.home-content { padding: 24px 0 44px; }
.home-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(310px, .9fr);
  gap: 16px;
  align-items: start;
}
.feature-story {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.feature-story-image {
  position: relative;
  display: block;
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(21, 12, 25, 0), rgba(21, 12, 25, .12)),
    url("hero-city.jpg") center 43% / cover no-repeat;
}
.feature-story-image::after {
  content: "GTA6 COMMUNITY";
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .56);
  color: #fff;
  background: rgba(31, 15, 36, .48);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}
.feature-story-copy { padding: 20px 22px 18px; }
.feature-story-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}
.feature-story-copy h2 { margin: 7px 0 8px; font-size: 26px; letter-spacing: -.02em; }
.feature-story-copy h2 a { color: inherit; text-decoration: none; }
.feature-story-copy h2 a:hover { color: var(--accent); }
.feature-story-copy > p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.story-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 10px; }
.story-meta a { color: var(--accent); text-decoration: none; font-weight: 700; }

.side-story-list { display: grid; gap: 10px; }
.side-story {
  position: relative;
  min-height: 145px;
  overflow: hidden;
  border: 1px solid var(--line);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(21, 12, 25, .08), rgba(21, 12, 25, .82)),
    url("hero-city.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.side-story:nth-child(2) { background-position: 60% 45%; }
.side-story:nth-child(3) { background-position: 25% 50%; }
.side-story:nth-child(4) { background-position: 80% 30%; }
.side-story a {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
  text-decoration: none;
}
.side-story a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(224, 0, 124, .06), rgba(49, 20, 61, .38));
}
.side-story h3,.side-story p { position: relative; z-index: 1; }
.side-story h3 { margin: 0 0 4px; color: #fff; font-size: 14px; line-height: 1.4; }
.side-story p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 9px; }
.side-story:hover h3 { text-decoration: underline; }

.content-section { margin-top: 22px; }
.section-titlebar {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #fff;
}
.section-titlebar h2 { margin: 0; font-size: 16px; }
.section-titlebar a { font-size: 11px; font-weight: 800; text-decoration: none; }
.resource-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.resource-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .16s, border-color .16s;
}
.resource-card:hover { transform: translateY(-2px); border-color: var(--line-dark); }
.resource-card-cover {
  --tone: var(--accent);
  position: relative;
  height: 135px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, var(--tone), transparent 45%),
    linear-gradient(140deg, #301b39, #15101b);
}
.resource-card-cover::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 72px;
  right: -30px;
  bottom: -25px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  transform: rotate(-12deg);
}
.resource-card-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 50%;
  color: #fff;
  background: rgba(23, 14, 28, .42);
  font-size: 25px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(5px);
}
.resource-card-category {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  color: rgba(255, 255, 255, .92);
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.resource-card-version {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 9px;
  color: rgba(255, 255, 255, .7);
  font-size: 8px;
}
.resource-card-body { padding: 14px 14px 13px; }
.resource-card-body h3 { margin: 0 0 6px; font-size: 14px; line-height: 1.4; }
.resource-card-body h3 a { color: inherit; text-decoration: none; }
.resource-card-body h3 a:hover { color: var(--accent); }
.resource-card-body > p {
  min-height: 38px;
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}
.resource-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
}
.resource-card-footer a { margin-left: auto; font-size: 15px; text-decoration: none; }
.access-chip { color: var(--accent); font-weight: 700; }

.home-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, .7fr);
  gap: 16px;
  margin-top: 22px;
}
.content-panel {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.panel-head {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 { margin: 0; font-size: 16px; }
.panel-head a { font-size: 10px; font-weight: 800; text-decoration: none; }
.topic-list { padding: 0 15px; }
.topic-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 53px;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.topic-row:last-child { border-bottom: 0; }
.avatar {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #6f2dc3);
  font-size: 11px;
  font-weight: 800;
}
.avatar-xl { width: 64px; height: 64px; font-size: 19px; }
.topic-main { min-width: 0; }
.topic-main h3 { margin: 0 0 3px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.topic-main h3 a { color: var(--text); text-decoration: none; }
.topic-main h3 a:hover { color: var(--accent); }
.topic-main p { margin: 0; color: var(--muted); font-size: 10px; }
.topic-count { text-align: center; color: var(--muted); }
.topic-count b,.topic-count span { display: block; }
.topic-count b { color: var(--text); font-size: 14px; }
.topic-count span { font-size: 8px; }

.sidebar-panel { padding: 17px; }
.sidebar-panel h2 { margin: 0 0 12px; font-size: 17px; }
.sidebar-panel > p { color: var(--muted); font-size: 11px; }
.sidebar-links { display: grid; gap: 1px; margin-top: 13px; }
.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  color: var(--text);
  background: var(--panel-soft);
  font-size: 11px;
  text-decoration: none;
}
.sidebar-links a:hover { color: var(--accent); background: #fcebf5; }
.community-pulse { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; margin: 14px 0; }
.community-pulse div { padding: 11px; border: 1px solid var(--line); background: var(--panel-soft); }
.community-pulse b,.community-pulse span { display: block; }
.community-pulse b { font-size: 21px; }
.community-pulse span { color: var(--muted); font-size: 9px; }

/* Page masthead and breadcrumbs */
.page-masthead {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(49, 20, 61, .97), rgba(80, 22, 91, .92)),
    url("hero-city.jpg") center 52% / cover;
}
.page-masthead::after {
  content: "";
  position: absolute;
  inset: auto -8% -120px auto;
  width: 440px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  transform: rotate(-15deg);
}
.page-masthead-inner { position: relative; z-index: 1; padding: 29px 0 34px; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  color: rgba(255, 255, 255, .66);
  font-size: 10px;
}
.breadcrumbs a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs b { color: #fff; font-weight: 500; }
.page-masthead h1 { margin: 24px 0 7px; color: #fff; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.03em; }
.page-masthead p { max-width: 760px; margin: 0; color: rgba(255, 255, 255, .77); font-size: 13px; }
.page-body { padding: 24px 0 30px; }

/* Resource directory */
.directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.directory-search { width: min(460px, 50%); display: flex; }
.directory-search input {
  border-radius: 4px 0 0 4px !important;
  border-right: 0 !important;
}
.directory-search button {
  min-width: 76px;
  border: 1px solid var(--accent);
  border-radius: 0 4px 4px 0;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
  cursor: pointer;
}
.directory-count { color: var(--muted); font-size: 11px; text-align: right; }
.directory-count strong { color: var(--text); }
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: #fff;
}
.filter-row > span { margin-right: 5px; color: var(--muted); font-size: 10px; font-weight: 700; }
.filter-row a {
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 10px;
  text-decoration: none;
}
.filter-row a:hover { color: var(--accent); background: #fcebf5; }
.filter-row a.is-on { color: #fff; background: var(--accent); }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 16px;
}
.resource-grid .resource-card-cover { height: 150px; }

.empty-panel {
  margin-top: 16px;
  padding: 46px 20px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.empty-panel > span { color: var(--line-dark); font-size: 40px; font-weight: 900; }
.empty-panel h1,.empty-panel h2,.empty-panel h3 { margin: 5px 0 8px; }
.empty-panel p { color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 24px 0 0; }
.pager-btn {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  color: var(--text);
  background: #fff;
  font-size: 11px;
  text-decoration: none;
}
.pager-btn:hover { color: var(--accent); border-color: var(--accent); }
.pager-btn.is-on { color: #fff; border-color: var(--accent); background: var(--accent); }
.pager-gap { padding: 0 5px; color: var(--muted); }

/* Download detail */
.file-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
}
.file-main { min-width: 0; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.file-head { padding: 22px 24px 19px; border-bottom: 1px solid var(--line); }
.file-kicker { color: var(--accent); font-size: 10px; font-weight: 800; }
.file-head h1 { margin: 7px 0 9px; font-size: clamp(30px,4vw,42px); line-height: 1.2; letter-spacing: -.025em; }
.file-head > p { color: var(--muted); font-size: 13px; }
.file-hero-visual {
  --tone: var(--accent);
  position: relative;
  height: 315px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, var(--tone), transparent 42%),
    linear-gradient(135deg, rgba(24,14,29,.25), rgba(24,14,29,.74)),
    url("hero-city.jpg") center / cover;
}
.file-hero-visual::after {
  content: "GTA6 / COMMUNITY FILE";
  position: absolute;
  right: 17px;
  bottom: 14px;
  color: rgba(255, 255, 255, .72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.file-visual-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(32,18,38,.48);
  font-size: 37px;
  transform: translate(-50%,-50%);
  backdrop-filter: blur(7px);
}
.file-section { padding: 24px; }
.file-section + .file-section { border-top: 1px solid var(--line); }
.file-section h2 { margin: 0 0 14px; font-size: 20px; }
.prose { color: #514856; font-size: 14px; line-height: 1.95; }
.file-side { display: grid; align-self: start; gap: 12px; }
.download-box { overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.download-box-head { padding: 16px; color: #fff; background: linear-gradient(135deg,var(--nav),var(--accent-dark)); }
.download-box-head span { display: block; font-size: 9px; letter-spacing: .12em; opacity: .75; }
.download-box-head strong { display: block; margin-top: 5px; font-size: 19px; }
.download-box-body { padding: 16px; }
.download-box-body .btn { width: 100%; }
.download-facts { display: grid; gap: 1px; margin: 14px 0 0; background: var(--line); }
.download-facts div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; background: var(--panel-soft); font-size: 10px; }
.download-facts span { color: var(--muted); }
.download-facts strong { text-align: right; font-weight: 700; }
.file-help { padding: 15px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 10px; }
.file-help a { font-weight: 700; }
.related-box { margin-top: 18px; }

/* Forum directory */
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.forum-panel { border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.forum-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
}
.forum-panel-head h2 { margin: 0; font-size: 17px; }
.forum-panel-head small { color: var(--muted); font-size: 10px; }
.forum-search { display: flex; width: min(330px, 52%); }
.forum-search input { height: 34px; border-radius: 4px 0 0 4px !important; border-right: 0 !important; }
.forum-search button { min-width: 66px; border: 1px solid var(--nav); border-radius: 0 4px 4px 0; color: #fff; background: var(--nav); font-weight: 800; cursor: pointer; }
.forum-row {
  display: grid;
  grid-template-columns: 45px minmax(0,1fr) 64px;
  gap: 13px;
  align-items: center;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
}
.forum-row:last-child { border-bottom: 0; }
.forum-row:hover { background: #fcf9fd; }
.forum-row .avatar { width: 42px; height: 42px; }
.forum-content { min-width: 0; }
.forum-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.forum-meta > span { color: var(--accent); font-weight: 700; }
.forum-meta em { padding: 2px 5px; border-radius: 3px; color: #fff; background: var(--accent); font-size: 8px; font-style: normal; }
.forum-content h3 { margin: 4px 0 4px; font-size: 15px; line-height: 1.4; }
.forum-content h3 a { color: var(--text); text-decoration: none; }
.forum-content h3 a:hover { color: var(--accent); }
.forum-content p { margin: 0; color: var(--muted); font-size: 10px; }
.forum-count { text-align: center; }
.forum-count strong,.forum-count span { display: block; }
.forum-count strong { font-size: 16px; }
.forum-count span { color: var(--muted); font-size: 8px; }
.forum-aside { display: grid; gap: 12px; }
.aside-card { padding: 17px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.aside-card h2 { margin: 0 0 10px; font-size: 16px; }
.aside-card p { color: var(--muted); font-size: 11px; }
.aside-card .btn { width: 100%; margin-top: 5px; }
.aside-card .btn + .btn { margin-top: 7px; }

/* Thread page */
.thread-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 16px; align-items: start; }
.thread-wrap { display: grid; gap: 12px; min-width: 0; }
.thread-titlebar {
  padding: 19px 21px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.thread-titlebar h1 { margin: 4px 0 7px; font-size: clamp(26px,3.5vw,38px); line-height: 1.25; }
.thread-title-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 10px; }
.post-box {
  display: grid;
  grid-template-columns: 175px minmax(0,1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.post-author {
  padding: 20px 15px;
  border-right: 1px solid var(--line);
  background: #f8f5f9;
  text-align: center;
}
.post-author .avatar { width: 64px; height: 64px; font-size: 20px; }
.post-author strong { display: block; margin-top: 9px; font-size: 13px; }
.post-author small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.post-author .tag { margin-top: 9px; }
.post-body { min-width: 0; padding: 22px 24px; }
.post-body-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.post-content { padding-top: 17px; color: #463d4a; font-size: 14px; line-height: 1.95; }
.replies-title { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 0 2px; }
.replies-title h2 { margin: 0; font-size: 17px; }
.reply-box { grid-template-columns: 135px minmax(0,1fr); }
.reply-box .post-author .avatar { width: 48px; height: 48px; font-size: 15px; }
.reply-form { padding: 19px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.reply-form h2 { margin: 0 0 12px; font-size: 17px; }
.thread-side { display: grid; gap: 12px; }

/* Announcement archive and article */
.archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.archive-card { overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.archive-card-image {
  display: block;
  height: 175px;
  background:
    linear-gradient(180deg, rgba(30,17,35,.08), rgba(30,17,35,.4)),
    url("hero-city.jpg") center / cover;
}
.archive-card:nth-child(even) .archive-card-image { background-position: 68% 42%; }
.archive-card-body { padding: 18px 19px 17px; }
.archive-card-date { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.archive-card h2 { margin: 7px 0 8px; font-size: 21px; }
.archive-card h2 a { color: var(--text); text-decoration: none; }
.archive-card h2 a:hover { color: var(--accent); }
.archive-card p { min-height: 44px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.archive-card-link { display: inline-flex; margin-top: 9px; font-size: 10px; font-weight: 800; text-decoration: none; }

.article-page { max-width: 940px; margin: 0 auto; }
.article-card { overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.article-cover {
  height: 370px;
  background:
    linear-gradient(180deg, rgba(29,17,35,.03), rgba(29,17,35,.36)),
    url("hero-city.jpg") center 45% / cover;
}
.article-head { padding: 28px 34px 24px; border-bottom: 1px solid var(--line); }
.article-head h1 { margin: 8px 0 11px; font-size: clamp(34px,5vw,52px); line-height: 1.15; letter-spacing: -.035em; }
.article-lead { color: var(--muted); font-size: 15px; line-height: 1.8; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 17px; color: var(--muted); font-size: 10px; }
.article-body { padding: 28px 34px 34px; color: #463d4a; font-size: 15px; line-height: 2; }
.article-more { margin-top: 20px; }
.article-more-list { border: 1px solid var(--line); background: #fff; }
.article-more-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.article-more-list a:last-child { border-bottom: 0; }
.article-more-list time { color: var(--accent); font-size: 10px; font-weight: 800; }
.article-more-list span { flex: 1; min-width: 0; }
.article-more-list strong,.article-more-list small { display: block; }
.article-more-list strong { font-size: 13px; }
.article-more-list small { overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

/* Policy */
.policy-page { max-width: 860px; margin: 0 auto; }
.policy-card { padding: 30px 34px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.policy-card section + section { margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--line); }
.policy-card h2 { margin: 0 0 9px; font-size: 20px; }
.policy-card p,.policy-card li { color: var(--muted); font-size: 13px; line-height: 1.9; }
.policy-card ul { padding-left: 21px; }
.policy-card a { font-weight: 700; }
.policy-updated { margin-top: 28px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: 10px !important; }
.policy-mail { display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel-soft); text-decoration: none; }
.policy-switcher { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 15px; }
.policy-switcher a { padding: 7px 11px; border: 1px solid var(--line-dark); border-radius: 4px; color: var(--muted); background: #fff; font-size: 10px; text-decoration: none; }
.policy-switcher a.is-on { color: #fff; border-color: var(--accent); background: var(--accent); }

/* Account */
.profile-head {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.profile-head h1 { margin: 0 0 3px; font-size: 29px; }
.profile-head p { margin: 0; color: var(--muted); font-size: 12px; }
.profile-id { margin-left: auto; color: var(--line-dark); font-size: 21px; font-weight: 900; }
.account-stat-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 12px; border: 1px solid var(--line); background: #fff; }
.account-stat-strip div { padding: 13px 15px; border-left: 1px solid var(--line); }
.account-stat-strip div:first-child { border-left: 0; }
.account-stat-strip strong,.account-stat-strip span { display: block; }
.account-stat-strip strong { font-size: 18px; }
.account-stat-strip span { color: var(--muted); font-size: 9px; }
.account-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); gap: 16px; margin-top: 14px; align-items: start; }
.account-column { display: grid; gap: 14px; }
.panel-card { padding: 19px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.panel-heading h2 { margin: 0; font-size: 17px; }
.stack-form { display: grid; }
.stack-form label { margin-top: 12px; }
.stack-form input,.stack-form textarea { margin-top: 5px; }
.stack-form .btn { justify-self: start; margin-top: 14px; }
.mini-list,.history-list { display: grid; }
.mini-list a,.history-list a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.mini-list a { justify-content: space-between; }
.mini-list time,.history-list small { color: var(--muted); font-size: 9px; }
.history-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 4px; color: var(--accent); background: #fcebf5; }
.history-list a > span:last-child { margin-left: auto; color: var(--accent); }
.history-list div { display: flex; min-width: 0; flex-direction: column; }

/* Authentication */
.auth-page { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(390px,.85fr); min-height: 620px; }
.auth-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 45px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(30,18,35,.06), rgba(30,18,35,.79)),
    url("hero-city.jpg") center / cover;
}
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(224,0,124,.2), transparent 55%); }
.auth-visual-copy { position: relative; z-index: 1; max-width: 590px; }
.auth-visual-copy span { color: #ffadde; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.auth-visual-copy h1 { margin: 10px 0 12px; color: #fff; font-size: clamp(38px,5vw,60px); line-height: 1.12; letter-spacing: -.04em; }
.auth-visual-copy p { margin: 0; color: rgba(255,255,255,.79); font-size: 14px; }
.auth-panel-wrap { display: flex; align-items: center; justify-content: center; padding: 42px; background: #fff; }
.auth-form { width: min(380px,100%); }
.auth-form h2 { margin: 5px 0 8px; font-size: 31px; }
.auth-form > p { color: var(--muted); font-size: 12px; }
.auth-form label { display: block; margin: 14px 0 6px; }
.auth-form .btn { width: 100%; margin-top: 18px; }
.auth-links { margin-top: 16px; color: var(--muted); font-size: 11px; }
.auth-links a { font-weight: 700; }
.auth-art-lines,.section-kicker { display: none; }
.auth-reverse .auth-visual { order: 2; }
.auth-reverse .auth-panel-wrap { order: 1; }

/* Footer and mobile dock */
.site-footer { margin-top: 34px; color: rgba(255,255,255,.75); background: #32243a; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(4,1fr); gap: 30px; padding-top: 36px; padding-bottom: 31px; }
.footer-brand p { margin: 7px 0 0; color: #fff; font-size: 14px; font-weight: 800; }
.footer-brand small { color: rgba(255,255,255,.52); font-size: 9px; font-weight: 500; }
.footer-logo { font-family: "Arial Narrow", "Bahnschrift Condensed", Impact, sans-serif; color: #fff; font-size: 32px; font-style: italic; font-weight: 900; text-decoration: none; }
.footer-logo span { color: #ff419f; }
.footer-column { display: flex; flex-direction: column; gap: 8px; }
.footer-column h3 { margin: 0 0 3px; color: #fff; font-size: 11px; }
.footer-column a { width: fit-content; color: rgba(255,255,255,.72); font-size: 11px; text-decoration: none; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 15px; padding-bottom: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 10px; }
.mobile-dock { display: none; }

@media (max-width: 1120px) {
  .site-nav a { padding-inline: 10px; font-size: 11px; }
  .site-brand-name { font-size: 40px; }
  .brand-bar-inner { gap: 20px; }
  .resource-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .resource-strip .resource-card:nth-child(4) { display: none; }
  .resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .utility-bar-inner { min-height: 48px; }
  .global-search { width: 42vw; }
  .brand-bar-inner { min-height: 74px; }
  .mobile-menu-btn {
    display: flex;
    width: 42px;
    height: 38px;
    margin-left: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 4px;
    color: #fff;
    background: transparent;
    cursor: pointer;
  }
  .mobile-menu-btn span { width: 19px; height: 2px; border-radius: 1px; background: #fff; transition: transform .18s, opacity .18s; }
  .mobile-menu-btn b { display: none; }
  .mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    z-index: 90;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 12px;
    background: var(--nav);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 42px; padding: 0 11px; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); }
  .site-nav a::after { right: 11px; bottom: 8px; left: 11px; }
  .home-news-grid,.home-lower-grid,.forum-layout,.thread-layout,.file-layout,.account-layout { grid-template-columns: 1fr; }
  .side-story-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .side-story { min-height: 160px; }
  .file-side,.thread-side,.forum-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-main { grid-template-columns: repeat(3,1fr); }
  .footer-brand { grid-column: 1/-1; }
  .auth-page { grid-template-columns: 1fr; min-height: 0; }
  .auth-visual { min-height: 310px; padding: 30px; }
  .auth-panel-wrap { padding: 36px 24px 44px; }
  .auth-reverse .auth-visual { order: 1; }
  .auth-reverse .auth-panel-wrap { order: 2; }
}

@media (max-width: 680px) {
  body.community-site { padding-bottom: 64px; }
  .site-container { width: calc(100% - 18px); }
  .notice-strip-inner { min-height: 42px; }
  .notice-strip-inner strong { white-space: normal; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 11px; }
  .notice-strip-inner > a > span,.notice-strip-inner b { display: none; }
  .utility-bar-inner { gap: 10px; }
  .global-search { width: 100%; max-width: none; }
  .utility-actions { display: none; }
  .brand-bar-inner { min-height: 67px; }
  .site-brand-name { font-size: 37px; }
  .site-brand-sub { font-size: 11px; }
  .site-brand-sub small { display: none; }
  .home-hero { min-height: 610px; background-position: 57% center; }
  .home-hero-inner { padding-top: 10px; }
  .hero-breadcrumb { display: none; }
  .hero-panel { margin-top: 118px; padding: 26px 20px 23px; background: linear-gradient(100deg, rgba(162,0,89,.98), rgba(104,20,91,.95)); }
  .hero-panel h1 { font-size: 38px; }
  .hero-panel > p { font-size: 13px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 5px; }
  .hero-stats span { flex: 1 1 calc(33.333% - 4px); justify-content: center; padding-inline: 5px; }
  .hero-stats b { font-size: 14px; }
  .home-content { padding-top: 14px; }
  .feature-story-image { min-height: 260px; }
  .feature-story-copy { padding: 16px; }
  .feature-story-copy h2 { font-size: 22px; }
  .side-story-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .side-story { min-width: 83%; min-height: 155px; scroll-snap-align: start; }
  .section-titlebar { min-height: 43px; }
  .resource-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .resource-strip .resource-card { min-width: 78%; }
  .resource-strip .resource-card:nth-child(4) { display: block; }
  .resource-card { scroll-snap-align: start; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card-cover,.resource-grid .resource-card-cover { height: 170px; }
  .topic-row { grid-template-columns: 36px minmax(0,1fr); }
  .topic-count { display: none; }
  .page-masthead-inner { padding: 16px 0 24px; }
  .page-masthead h1 { margin-top: 17px; font-size: 35px; }
  .page-masthead p { font-size: 12px; }
  .page-body { padding-top: 14px; }
  .directory-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
  .directory-search { width: 100%; }
  .directory-count { text-align: left; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; }
  .filter-row a { flex: none; }
  .file-layout { gap: 12px; }
  .file-head,.file-section { padding: 17px; }
  .file-hero-visual { height: 220px; }
  .file-side,.thread-side,.forum-aside { grid-template-columns: 1fr; }
  .forum-panel-head { align-items: flex-start; flex-direction: column; }
  .forum-search { width: 100%; }
  .forum-row { grid-template-columns: 39px minmax(0,1fr); padding-inline: 12px; }
  .forum-count { display: none; }
  .post-box,.reply-box { grid-template-columns: 1fr; }
  .post-author { display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-right: 0; border-bottom: 1px solid var(--line); text-align: left; }
  .post-author .avatar { width: 38px; height: 38px; font-size: 12px; }
  .post-author strong { margin-top: 0; }
  .post-author small,.post-author .tag { display: none; }
  .post-body { padding: 16px; }
  .post-content { font-size: 13px; }
  .archive-grid { grid-template-columns: 1fr; }
  .article-cover { height: 230px; }
  .article-head,.article-body { padding: 20px 18px; }
  .policy-card { padding: 20px 18px; }
  .profile-head { align-items: flex-start; }
  .profile-head h1 { font-size: 24px; }
  .profile-id { font-size: 17px; }
  .account-stat-strip { grid-template-columns: repeat(2,1fr); }
  .account-stat-strip div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .account-stat-strip div:nth-child(4) { border-top: 1px solid var(--line); }
  .auth-visual { min-height: 265px; padding: 23px 19px; }
  .auth-visual-copy h1 { font-size: 37px; }
  .auth-panel-wrap { padding: 29px 18px 42px; }
  .footer-main { grid-template-columns: repeat(2,1fr); gap: 24px 18px; padding-top: 29px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .mobile-dock {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.72);
    background: rgba(49,20,61,.97);
    box-shadow: 0 -8px 30px rgba(35,18,40,.25);
    backdrop-filter: blur(12px);
  }
  .mobile-dock a { display: grid; justify-items: center; gap: 1px; color: inherit; text-decoration: none; font-size: 9px; }
  .mobile-dock a span { font-size: 19px; line-height: 1.2; }
  .mobile-dock a b { font-weight: 600; }
  .mobile-dock a.is-active { color: #fff; }
}

@media (max-width: 420px) {
  .site-brand-name { font-size: 33px; }
  .site-brand-sub { padding-left: 9px; }
  .hero-panel h1 { font-size: 33px; }
  .feature-story-image { min-height: 220px; }
  .side-story { min-width: 88%; }
  .resource-strip .resource-card { min-width: 84%; }
}
