@font-face {
  font-family: "Exo2";
  src: url("../fonts/exo2.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #04070d;
  --panel: rgba(12, 16, 24, 0.84);
  --line: rgba(232, 238, 248, 0.14);
  --line-soft: rgba(232, 238, 248, 0.085);
  --text: #f0f2f4;
  --text-soft: #b7c0cb;
  --text-muted: #77808d;
  --danger: #d46b6b;
  --success: #a9d6b2;
  --warning: #d6c08f;
  --cold: #b8d4ff;
  --shadow: rgba(0, 0, 0, 0.58);
  --max-width: 1220px;
  --topbar-height: 71px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background:
    radial-gradient(circle at 19% 0%, rgba(118, 147, 196, 0.13) 0%, transparent 34%),
    radial-gradient(circle at 79% 15%, rgba(159, 178, 211, 0.11) 0%, transparent 33%),
    radial-gradient(circle at 50% 0%, rgba(32, 47, 77, 0.42) 0%, rgba(4, 7, 13, 1) 58%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Exo2", serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 4px 4px;
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: var(--topbar-height);
  display: flex;
  flex-direction: column;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(232, 238, 248, 0.11);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 36%, rgba(255, 255, 255, 0.025)),
    rgba(4, 7, 13, 0.84);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.topbar-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  object-fit: cover;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 24px rgba(184, 212, 255, 0.10);
}

.brand-name {
  display: block;
  min-width: 0;
}

.brand-name strong {
  font-size: 18px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: "Exo2", serif;
  color: var(--text-soft);
  font-size: 12px;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 12px 0;
  border: 0;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  text-shadow: 0 0 18px rgba(184, 212, 255, 0.16);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 242, 244, 0.82), transparent);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.main {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 28px 22px 0;
  flex: 1 0 auto;
}

.hero-cover {
  min-height: 252px;
  border: 1px solid var(--line);
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(4, 7, 13, 0.62), rgba(4, 7, 13, 0.16)),
    linear-gradient(0deg, rgba(4, 7, 13, 0.50), rgba(4, 7, 13, 0.10)),
    url("../media/cover/title_3.png");
  background-position: center, center, center center;
  background-size: auto, auto, 100% auto;
  background-repeat: no-repeat;
  background-clip: padding-box;
  box-shadow:
    inset 0 -56px 84px rgba(0, 0, 0, 0.30),
    0 24px 62px rgba(0, 0, 0, 0.42);
  position: relative;
}

.hero-cover::before {
  content: "";
  position: absolute;
  left: 372px;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 238, 248, 0.54), rgba(232, 238, 248, 0));
  pointer-events: none;
}

.profile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  margin-top: -78px;
  padding: 0 22px;
  z-index: 2;
}

.profile-avatar {
  width: 142px;
  height: 142px;
  border: 1px solid rgba(232, 238, 248, 0.28);
  background: rgba(4, 7, 13, 0.9);
  object-fit: cover;
  box-shadow:
    inset 0 0 0 4px rgba(4, 7, 13, 0.86),
    0 24px 64px rgba(0, 0, 0, 0.64),
    0 0 34px rgba(184, 212, 255, 0.09);
}

.profile-title {
  position: relative;
  padding-bottom: 8px;
}

.profile-title h1,
.page-title h1 {
  font-size: 48px;
  line-height: 0.96;
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.52);
}

.profile-title h1 {
  position: relative;
  display: inline-block;
  margin-bottom: 4px;
  transform: translateY(-8px);
}

.page-title p {
  margin-top: 10px;
  max-width: 680px;
  color: var(--text-soft);
  font-family: "Exo2", serif;
  font-size: 14px;
  line-height: 1.65;
}

.profile-title p {
  max-width: 760px;
  color: var(--text-soft);
  font-family: "Exo2", serif;
  font-size: 14px;
  line-height: 1.65;
}

.profile-stats {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 10px;
  font-family: "Exo2", serif;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.profile-stats span,
.pill,
.state {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.026);
  padding: 8px 10px;
}

.tabs {
  position: sticky;
  top: var(--topbar-height);
  z-index: 15;
  display: flex;
  gap: 20px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(18px);
  overflow-x: auto;
}

.tabs a {
  flex: 0 0 auto;
  position: relative;
  min-height: 36px;
  padding: 10px 0;
  border: 0;
  color: var(--text-soft);
  font-family: "Exo2", serif;
  font-size: 12px;
  text-transform: uppercase;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.tabs a:hover,
.tabs a.is-active {
  color: var(--text);
  text-shadow: 0 0 18px rgba(184, 212, 255, 0.16);
}

.tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 242, 244, 0.78), transparent);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.tabs a:hover::after,
.tabs a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.single-layout {
  margin-top: 18px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: 390px;
  margin-top: 28px;
  overflow: hidden;
}

.home-hero-art {
  position: relative;
  min-height: 390px;
  border-right: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.home-hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  filter: saturate(0.92) contrast(1.08);
}

.home-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 13, 0.18), transparent 36%, rgba(4, 7, 13, 0.64)),
    linear-gradient(0deg, rgba(4, 7, 13, 0.66), transparent 52%);
  pointer-events: none;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 14px;
  padding: 30px;
}

.home-hero-copy h1 {
  font-size: 50px;
  line-height: 0.98;
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.52);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.home-build-message {
  color: var(--text-muted);
}

.home-layout {
  margin-bottom: 34px;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-link-card {
  display: grid;
  gap: 10px;
  min-height: 176px;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.home-link-card:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 238, 248, 0.28);
  background:
    linear-gradient(135deg, rgba(184, 212, 255, 0.08), transparent 44%),
    var(--panel);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    0 22px 52px rgba(0, 0, 0, 0.42);
}

.latest-post-compact {
  margin-top: 8px;
}

.home-feed {
  max-width: 860px;
  margin: 18px auto 0;
}

.posts-page {
  max-width: 920px;
  margin: 34px auto 0;
}

.posts-section {
  margin-top: 38px;
}

.posts-section:first-child {
  margin-top: 0;
}

.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.section-line h2 {
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
}

.section-arrows {
  display: flex;
  gap: 8px;
}

.section-arrows .round-btn {
  width: 34px;
  padding: 0;
}

.round-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
  color: var(--text-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.latest-post {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 22px;
  align-items: center;
  padding: 0;
  border: 1px solid transparent;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.latest-post:hover,
.post-card-thumb:hover {
  border-color: rgba(232, 238, 248, 0.18);
  background: rgba(255, 255, 255, 0.024);
  transform: translateY(-1px);
}

.latest-post img,
.post-card-thumb img {
  width: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
}

.latest-post img {
  aspect-ratio: 16 / 9;
}

.latest-post-copy {
  display: grid;
  gap: 10px;
  padding: 12px 12px 12px 0;
}

.latest-post-copy h3 {
  font-size: 26px;
  line-height: 1.05;
  font-weight: 400;
  text-transform: uppercase;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.post-card-thumb {
  min-width: 0;
  padding: 0;
  border: 1px solid transparent;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.post-card-thumb img {
  aspect-ratio: 16 / 9;
}

.post-card-body {
  padding-top: 12px;
  display: grid;
  gap: 7px;
}

.post-card-body h3 {
  font-size: 18px;
  line-height: 1.18;
  font-weight: 400;
  text-transform: uppercase;
}

.post-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-date {
  color: var(--text-muted);
  font-family: "Exo2", serif;
  font-size: 12px;
}

.reaction-line {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-family: "Exo2", serif;
  font-size: 12px;
}

.audio-thumb {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(255,255,255,.24) 1px, transparent 1px) center / 18px 40px repeat-x,
    radial-gradient(circle at 52% 50%, rgba(255, 255, 255, 0.16), transparent 12%),
    rgba(116, 82, 63, 0.82);
  position: relative;
}

.audio-thumb::after {
  content: "▶";
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #05070b;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.post-detail {
  max-width: 760px;
  margin: 40px auto 0;
}

.post-layout {
  display: block;
  width: min(100%, 812px);
  margin: 28px auto 0;
}

.post-detail-card {
  width: 100%;
  overflow: hidden;
}

.post-detail-body {
  position: relative;
  padding: 22px;
}

.post-detail-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0.92;
  filter: saturate(0.96) contrast(1.04);
}

.post-detail h1,
.post-detail-card h1 {
  margin-top: 24px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 400;
  text-transform: uppercase;
}

.post-detail-card h1 {
  margin-top: 12px;
}

.post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.author-line {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Exo2", serif;
  font-size: 13px;
}

.author-line img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  object-fit: cover;
}

.author-line div {
  display: grid;
  gap: 3px;
}

.author-line span {
  color: var(--text-muted);
  font-size: 12px;
}

.post-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Exo2", serif;
  font-size: 12px;
}

.post-content {
  margin-top: 26px;
  display: grid;
  gap: 18px;
  color: var(--text);
  font-family: "Exo2", serif;
  font-size: 16px;
  line-height: 1.72;
}

.post-actions {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.comments-box {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.comments-box h2 {
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
}

.comment-input {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.comment-input img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
}

.comment-input div {
  border: 1px solid var(--line-soft);
  padding: 13px 14px;
  color: var(--text-muted);
  font-family: "Exo2", serif;
  font-size: 13px;
}

.comment-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.comment-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
}

.comment-item img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line-soft);
}

.comment-item-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.comment-item-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.comment-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.comment-form textarea {
  width: 100%;
  min-height: 112px;
  border: 1px solid var(--line-soft);
  background: rgba(4, 7, 13, 0.54);
  color: var(--text);
  padding: 12px 13px;
  resize: vertical;
  outline: none;
  font: inherit;
  line-height: 1.55;
}

.comment-form textarea:focus {
  border-color: rgba(184, 212, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(184, 212, 255, 0.08);
}

.comment-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feed,
.stack {
  display: grid;
  gap: 14px;
}

.sidebar {
  position: sticky;
  top: 143px;
  display: grid;
  gap: 14px;
}

.glass {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.014) 42%, rgba(255, 255, 255, 0.035)),
    linear-gradient(180deg, rgba(12, 16, 24, 0.88), rgba(7, 10, 16, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -42px 80px rgba(0, 0, 0, 0.22),
    0 24px 72px var(--shadow);
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.052) 28%, transparent 58%),
    radial-gradient(circle at 100% 0%, rgba(184, 212, 255, 0.06), transparent 36%);
  pointer-events: none;
}

.glass::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.card,
.post-body {
  position: relative;
  padding: 20px;
}

.post {
  padding: 0;
}

.post-media {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0.9;
  filter: saturate(0.95) contrast(1.05);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-family: "Exo2", serif;
  font-size: 11px;
  text-transform: uppercase;
}

.card h2,
.card h3,
.post-title {
  position: relative;
  font-size: 30px;
  line-height: 1.04;
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}

.card h3 {
  font-size: 24px;
}

.text {
  position: relative;
  color: var(--text-soft);
  font-family: "Exo2", serif;
  font-size: 14px;
  line-height: 1.68;
}

.card-link {
  margin-top: 16px;
}

.mini-app-panel {
  min-height: 260px;
}

.mini-app-panel .text {
  max-width: 520px;
  margin-top: 12px;
}

.locked-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  color: var(--warning);
  font-family: "Exo2", serif;
  font-size: 12px;
}

.btn,
.mini-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.012);
  color: var(--text);
  text-transform: uppercase;
  font-size: 14px;
  font-family: "Exo2", serif;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
  cursor: pointer;
}

.mini-btn {
  min-height: 34px;
  padding: 8px 10px;
  font-family: "Exo2", serif;
  font-size: 11px;
}

.btn:hover,
.mini-btn:hover {
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 18px 40px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(184, 212, 255, 0.09);
}

.btn-secondary {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.018);
  font-family: "Exo2", serif;
  font-size: 13px;
}

.btn-wide {
  width: 100%;
}

.tier-list {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--text-soft);
  font-family: "Exo2", serif;
  font-size: 13px;
  line-height: 1.5;
  list-style: none;
}

.tier-list li {
  padding-left: 14px;
  position: relative;
}

.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.42);
}

.membership-price {
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.membership-price span {
  color: var(--text-muted);
  font-family: "Exo2", serif;
  font-size: 13px;
}

.compact-tier {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.compact-tier.is-featured,
.tier-card.is-featured {
  border-color: rgba(214, 192, 143, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 192, 143, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.025);
}

[hidden] {
  display: none !important;
}

.account-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.account-status div {
  min-width: 0;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.024);
  padding: 12px;
}

.account-status span,
.connect-form label,
.form-note {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}

.account-status strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.connect-form {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.auth-gate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.auth-gate .btn {
  width: 100%;
}

.auth-gate .btn.is-active {
  border-color: rgba(184, 212, 255, 0.30);
  background: rgba(184, 212, 255, 0.07);
  color: var(--text);
}

.auth-panel {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(135deg, rgba(184, 212, 255, 0.045), transparent 34%),
    rgba(4, 7, 13, 0.28);
}

.connect-row,
.account-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.connect-form input,
.connect-row input {
  min-width: 0;
  flex: 1 1 auto;
  height: 45px;
  border: 1px solid var(--line-soft);
  background: rgba(4, 7, 13, 0.54);
  color: var(--text);
  padding: 0 13px;
  outline: none;
  font: inherit;
}

.connect-form input {
  width: 100%;
}

.connect-row input {
  text-transform: uppercase;
}

.connect-form input:focus,
.connect-row input:focus {
  border-color: rgba(184, 212, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(184, 212, 255, 0.08);
}

.form-note {
  min-height: 16px;
  text-transform: none;
}

.account-actions {
  flex-wrap: wrap;
  margin-top: 14px;
}

.compact-tier.is-unlocked {
  border-color: rgba(169, 214, 178, 0.36);
  background:
    linear-gradient(135deg, rgba(169, 214, 178, 0.10), transparent),
    rgba(255, 255, 255, 0.03);
}

.card.is-connected [data-account-state] {
  color: var(--success);
}

.card.is-setup-required [data-account-state] {
  color: var(--warning);
}

.inline-details {
  position: relative;
  margin-top: 16px;
}

.inline-details summary {
  list-style: none;
}

.inline-details summary::-webkit-details-marker {
  display: none;
}

.archive-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.archive-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 13px;
}

.archive-list small {
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.page-title {
  margin-top: 28px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile-image {
  width: 100%;
  aspect-ratio: 460 / 190;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0.9;
}

.build-library-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  margin-bottom: 34px;
}

.build-game {
  overflow: hidden;
  padding: 0;
}

.build-game-poster {
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}

.build-game-copy {
  padding: 16px 18px 18px;
}

.build-game-copy h2 {
  font-size: 28px;
  line-height: 1.06;
  margin-bottom: 8px;
}

.build-library {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-left: 0;
}

.build-row {
  display: block;
  min-height: 116px;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.build-row:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 238, 248, 0.28);
  background:
    linear-gradient(135deg, rgba(184, 212, 255, 0.08), transparent 44%),
    var(--panel);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    0 22px 52px rgba(0, 0, 0, 0.42);
}

.build-row-copy {
  min-width: 0;
}

.build-row-copy h2 {
  margin-bottom: 6px;
}

.build-cover {
  min-height: 360px;
  background:
    radial-gradient(circle at 72% 24%, rgba(184, 212, 255, 0.12), transparent 34%),
    linear-gradient(0deg, rgba(4, 7, 13, 0.88), rgba(4, 7, 13, 0.14)),
    url("../media/profile/avatar.webp") center / cover no-repeat;
  border: 1px solid var(--line);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    inset 0 -80px 120px rgba(0, 0, 0, 0.58),
    0 28px 72px rgba(0, 0, 0, 0.45);
}

.footer {
  width: min(100%, var(--max-width));
  margin: auto auto 0;
  padding: 22px 22px 22px;
  color: var(--text-muted);
  font-family: "Exo2", serif;
  font-size: 12px;
  text-transform: none;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 18px;
  border-top: 1px solid var(--line-soft);
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .layout,
  .profile,
  .build-library-layout,
  .home-hero,
  .grid-2,
  .grid-3,
  .latest-post {
    grid-template-columns: 1fr;
  }

  .home-hero-art {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .home-card-grid {
    grid-template-columns: 1fr;
  }

  .profile {
    margin-top: -58px;
  }

  .profile-avatar {
    width: 116px;
    height: 116px;
  }

  .profile-stats,
  .sidebar {
    position: static;
  }

  .build-library {
    width: 100%;
  }

  .build-game-poster {
    aspect-ratio: 16 / 9;
  }

  .profile-title h1,
  .page-title h1 {
    font-size: 38px;
  }

  .hero-cover::before {
    left: 286px;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-detail-body {
    padding: 18px;
  }

  .latest-post-copy {
    padding: 12px;
  }
}

@media (max-width: 680px) {
  .nav {
    display: none;
  }

  .topbar-inner {
    align-items: flex-start;
  }

  .brand-name strong {
    white-space: normal;
  }

  .main {
    padding: 18px 14px 0;
  }

  .profile {
    padding: 0 14px;
  }

  .hero-cover {
    min-height: 188px;
  }

  .home-hero {
    min-height: 0;
    margin-top: 18px;
  }

  .home-hero-art {
    min-height: 210px;
  }

  .home-hero-copy {
    padding: 20px;
  }

  .home-hero-copy h1 {
    font-size: 34px;
  }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-cover::before {
    display: none;
  }

  .profile-title h1,
  .page-title h1 {
    font-size: 32px;
  }

  .locked-bar,
  .footer,
  .post-head,
  .post-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .account-status {
    grid-template-columns: 1fr;
  }

  .connect-row {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-gate {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .posts-page,
  .post-detail {
    margin-top: 24px;
  }

  .post-detail h1 {
    font-size: 34px;
  }

  .post-tools {
    flex-wrap: wrap;
  }

  .comment-item {
    grid-template-columns: 1fr;
  }

  .comment-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
