﻿:root {
  --bg-softness: 0.95;
  --bg-0: #090b11;
  --bg-1: #0f141f;
  --bg-2: #171d29;
  --text-main: #e7edf4;
  --text-muted: #a9b5c3;
  --line: rgba(255, 255, 255, 0.12);
  --accent-gold: #d6b26a;
  --accent-blue: #6ca0d8;
  --accent-link: #d7b56f;
  --accent-link-strong: #f2dea4;
  --panel: rgba(14, 19, 29, 0.88);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(1200px 800px at -5% -10%, #20293d 0%, transparent 60%),
    radial-gradient(900px 600px at 110% -10%, #2b2320 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-0) 65%);
  min-height: 100svh;
}

.site-header {
  width: min(1380px, 96vw);
  margin: 0 auto;
  padding: 1rem 4.8rem 0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: .95rem 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12, 18, 28, .86);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
  overflow: visible;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  color: var(--text-main);
  text-decoration: none;
}

.site-header__brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 8px 18px rgba(0,0,0,.2),
    0 0 0 1px rgba(214,178,106,.16);
}

.site-header__brand-mark-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.site-header__brand-copy {
  display: grid;
  gap: .12rem;
  min-width: 0;
}

.site-header__brand-copy strong {
  font-size: .98rem;
  line-height: 1.2;
}

.site-header__eyebrow,
.site-header__section-title {
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--text-muted);
}

.site-header__pages {
  min-width: 0;
  display: grid;
  gap: .38rem;
  overflow: visible;
}

.site-header__page-links {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  padding-top: .08rem;
  padding-bottom: .18rem;
  scrollbar-width: none;
}

.site-header__page-links::-webkit-scrollbar {
  display: none;
}

.site-header__page-link,
.site-header__auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}

.site-header__page-link:hover,
.site-header__auth-link:hover {
  color: #f6e6b8;
  border-color: rgba(214,178,106,.36);
  background:
    radial-gradient(circle at 18% 50%, rgba(214,178,106,.12), transparent 45%),
    rgba(255,255,255,.05);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  transform: translateY(-1px);
}

.site-header__auth {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  min-width: 0;
}

.site-header__auth-link {
  cursor: pointer;
  font: inherit;
}

.site-header__auth-link--primary,
.site-header__auth-link--member {
  color: #221507;
  border-color: rgba(214,178,106,.48);
  background:
    radial-gradient(circle at 18% 22%, rgba(255,246,214,.24), transparent 34%),
    linear-gradient(180deg, #6b4719 0%, #9e7530 20%, #e4bf77 48%, #9b6b2a 72%, #5a3912 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -3px 8px rgba(83,53,14,.34),
    0 10px 24px rgba(0,0,0,.2);
}

.site-header__auth-link--primary:hover,
.site-header__auth-link--member:hover {
  color: #1c1107;
  border-color: rgba(242,222,164,.78);
  background:
    radial-gradient(circle at 18% 22%, rgba(255,248,223,.3), transparent 36%),
    linear-gradient(180deg, #7a5520 0%, #b48537 22%, #f0cf86 50%, #a6752d 74%, #604016 100%);
}

.layout {
  width: min(1380px, 96vw);
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr) 300px;
  grid-template-areas: "left feed right";
  gap: 1rem;
  align-items: start;
}

.left-rail,
.feed,
.right-rail {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  backdrop-filter: blur(8px);
}

.left-rail { grid-area: left; }
.feed { grid-area: feed; min-width: 0; }
.right-rail { grid-area: right; min-width: 0; }

.left-inner {
  padding: 1.25rem;
  position: static;
  top: auto;
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  scrollbar-width: none;
}

.eyebrow {
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .18em;
  color: var(--text-muted);
}

.brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.18rem, 1.65vw, 1.86rem);
  margin: .2rem 0 .5rem;
  line-height: .98;
  max-width: 100%;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.brand-copy {
  color: var(--text-muted);
  margin-top: 0;
  font-size: .92rem;
  line-height: 1.36;
  overflow-wrap: break-word;
  word-break: normal;
}
.rail-home-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .85rem;
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .72rem;
  background: rgba(255,255,255,.04);
  transition: color .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}
.rail-home-link:hover {
  color: #f7e8bb;
  border-color: rgba(214,178,106,.48);
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 227, 161, .14), transparent 44%),
    linear-gradient(180deg, rgba(214,178,106,.16), rgba(255,255,255,.05));
  box-shadow:
    0 0 14px rgba(214,178,106,.14),
    0 10px 22px rgba(0,0,0,.18);
  transform: translateY(-1px);
}
.rail-nav { display: grid; gap: .5rem; margin: 1rem 0 1.2rem; }
.topic-links,
.topic-links__custom,
.topic-links__fallback { display: contents; }
.rail-nav a {
  color: var(--text-main);
  text-decoration: none;
  padding: .45rem .55rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .94rem;
  line-height: 1.24;
  transition: color .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}
.rail-nav a:hover {
  color: #f7e8bb;
  border-color: rgba(214,178,106,.34);
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 227, 161, .11), transparent 45%),
    rgba(255,255,255,.035);
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
  transform: translateY(-1px);
}
.rail-nav a.is-active {
  border-color: rgba(214,178,106,.42);
  background: rgba(214,178,106,.12);
  color: #f3dfad;
}
.rail-categories { margin-bottom: 1rem; }
.club-invite {
  margin-top: 1rem;
  padding: .9rem;
  border: 1px solid rgba(214,178,106,.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(214,178,106,.12), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 22px rgba(0,0,0,.14);
}
.club-invite h3 {
  margin: .1rem 0 .45rem;
  font-size: 1.08rem;
}
.club-invite__copy {
  margin: 0 0 .7rem;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.42;
}
.club-invite__benefits {
  margin: 0 0 .85rem 1rem;
  padding: 0;
  color: #ecd8a4;
  display: grid;
  gap: .32rem;
  font-size: .84rem;
}
.club-invite__cta {
  width: 100%;
  text-align: center;
}
.ghost-btn--editorial {
  display: block;
  margin-top: .7rem;
  text-align: center;
}
.newsletter-signup {
  margin-top: 1rem;
}

.newsletter-signup__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .75rem;
  padding: .35rem 0 0;
}

.newsletter-signup__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.newsletter-signup h3 {
  margin: .05rem 0 0;
  font-size: 1.08rem;
}

.newsletter-signup__copy {
  margin: 0;
  max-width: 22ch;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.42;
}

.newsletter-signup__form {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: .72rem;
}

.newsletter-signup__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.newsletter-signup__input {
  width: 100%;
  min-height: 2.9rem;
  padding: .7rem .85rem;
  border-radius: 14px;
  border: 1px solid rgba(214,178,106,.18);
  background: rgba(255,255,255,.04);
  color: var(--text-main);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.newsletter-signup__input::placeholder {
  color: rgba(231,237,244,.58);
}

.newsletter-signup__input:focus {
  outline: 0;
  border-color: rgba(214,178,106,.44);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 0 3px rgba(214,178,106,.12);
}

.newsletter-signup__submit {
  width: 100%;
  text-align: center;
}

.newsletter-signup__msg {
  display: none;
  margin: 0;
  font-size: .85rem;
  line-height: 1.35;
}

.newsletter-signup__msg--success {
  color: #6ce0ad;
}

.newsletter-signup__msg--loading {
  color: var(--text-muted);
}

.newsletter-signup__msg--error {
  color: #ff8f8f;
}

.newsletter-signup__form.loading .newsletter-signup__msg--loading,
.newsletter-signup__form.success .newsletter-signup__msg--success,
.newsletter-signup__form.error .newsletter-signup__msg--error {
  display: block;
}

.support-invite {
  margin-top: 1rem;
  padding: .95rem;
  border: 1px solid rgba(214,178,106,.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(214,178,106,.08), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 22px rgba(0,0,0,.14);
}

.support-invite__copy {
  margin: .1rem 0 .85rem;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.45;
}

.support-invite__cta {
  width: 100%;
  text-align: center;
}
.tag-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
}
.tag-chip,
.tag-chip-inline {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .22rem .6rem;
  color: var(--accent-link);
  text-decoration: none;
  background: rgba(141, 195, 255, 0.08);
  font-size: .76rem;
  line-height: 1.25;
}
.tag-chip:hover,
.tag-chip-inline:hover {
  background: rgba(141, 195, 255, 0.16);
}
.tag-chip.is-active,
.tag-chip-inline.is-active {
  border-color: rgba(214,178,106,.42);
  background: rgba(214,178,106,.16);
  color: #f3dfad;
}

.cta {
  display: inline-block;
  text-decoration: none;
  color: #0c1018;
  background: linear-gradient(180deg, #e2c486, var(--accent-gold));
  font-weight: 700;
  border-radius: 999px;
  padding: .62rem 1rem;
}

.feed { padding: 1rem; }
.feed-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
}
.feed-topbar h2 {
  margin: .2rem 0 .9rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}
.feed-topbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  flex-wrap: nowrap;
  max-width: min(100%, 760px);
  overflow: visible;
}
.feed-topbar__actions .reward-chip {
  flex: 0 0 auto;
  width: 88px;
  max-width: 88px;
  justify-content: center;
  padding-inline: .72rem;
  gap: .38rem;
}
.feed-topbar__actions .reward-chip:hover {
  width: 304px;
  max-width: 304px;
  justify-content: flex-start;
}
.feed-topbar__actions .reward-chip__compact {
  display: inline-block;
}
.feed-topbar__actions .reward-chip__text {
  min-width: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width .24s ease, opacity .18s ease;
}
.feed-topbar__actions .reward-chip:hover .reward-chip__text {
  max-width: 210px;
  opacity: 1;
}
.feed-topbar__actions .reward-chip:hover .reward-chip__compact {
  display: none;
}
.feed-topbar__actions .reward-chip__title,
.feed-topbar__actions .reward-chip__meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reward-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .52rem;
  min-height: 42px;
  padding: .58rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(214,178,106,.52);
  background:
    radial-gradient(circle at 18% 22%, rgba(255,246,214,.22), transparent 34%),
    linear-gradient(180deg, #6b4719 0%, #9e7530 20%, #e4bf77 48%, #9b6b2a 72%, #5a3912 100%);
  color: #231506;
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -3px 7px rgba(82,52,11,.34),
    0 10px 24px rgba(0,0,0,.24);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, border-color .22s ease;
  overflow: hidden;
}
.reward-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255,245,214,.22) 50%, transparent 76%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.reward-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(242,222,164,.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -3px 7px rgba(82,52,11,.38),
    0 0 18px rgba(214,178,106,.2),
    0 14px 28px rgba(0,0,0,.28);
  filter: brightness(1.05);
}
.reward-chip:hover::before {
  transform: translateX(120%);
}
.reward-chip__icon,
.reward-chip__compact,
.reward-chip__text {
  position: relative;
  z-index: 1;
}
.reward-chip__icon {
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(58, 35, 9, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.reward-chip__compact {
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  color: #231506;
}
.reward-chip__text {
  display: grid;
  gap: .08rem;
  text-align: left;
  line-height: 1.05;
}
.reward-chip__title {
  font-size: .84rem;
}
.reward-chip__meta {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(53, 31, 6, .82);
}
.tag-feed-topbar {
  margin-bottom: .85rem;
}
.tag-feed-topbar h2 {
  margin: .1rem 0 .4rem;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-family: "Cormorant Garamond", serif;
}
.tag-feed-description {
  margin: 0;
  color: var(--text-muted);
}
.tag-manifest {
  margin-bottom: .9rem;
}

.manifest,
.composer-card,
.post-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}

.manifest, .composer-card { padding: .95rem 1rem; margin-bottom: .85rem; }
.manifest h3, .composer-card h3, .panel h3 { margin: .1rem 0 .5rem; }
.composer-live p { margin-bottom: .85rem; }
.composer-cta-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.home-banner,
.site-directory {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  padding: 1rem;
  margin-bottom: .85rem;
}
.home-banner {
  background:
    radial-gradient(800px 280px at 10% 0%, rgba(108,160,216,.18), transparent 58%),
    radial-gradient(600px 260px at 100% 0%, rgba(214,178,106,.16), transparent 55%),
    rgba(255,255,255,.03);
}
.home-banner h3 {
  margin: .2rem 0 .45rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}
.home-banner__actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .95rem;
  align-items: center;
}
.home-banner p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
  max-width: 68ch;
}
.menu-bar-toggle {
  position: relative;
  flex: 1 1 420px;
  min-height: 46px;
  padding: .45rem .95rem;
  padding-right: 3.85rem;
  border: 1px solid rgba(214,178,106,.46);
  border-radius: 999px;
  background:
    linear-gradient(180deg, #5b3c15 0%, #8f6727 14%, #d7ae63 32%, #f4d997 50%, #bf8c3d 68%, #764d1b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -3px 6px rgba(69,40,11,.42),
    0 12px 30px rgba(0,0,0,.24);
  color: #231506;
  cursor: pointer;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}
.menu-bar-toggle::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255,244,214,.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 30%, rgba(48,27,5,.12) 100%),
    linear-gradient(90deg, rgba(255,246,217,.14), rgba(255,255,255,0) 22%, rgba(81,46,10,.14) 100%);
  pointer-events: none;
}
.menu-bar-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255,245,214,.18) 50%, transparent 76%);
  transform: translateX(-120%);
  transition: transform .55s ease;
  pointer-events: none;
}
.menu-bar-toggle:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -3px 6px rgba(69,40,11,.46),
    0 0 18px rgba(214,178,106,.18),
    0 14px 32px rgba(0,0,0,.28);
  filter: brightness(1.04);
}
.menu-bar-toggle:hover::after {
  transform: translateX(115%);
}
.menu-bar-toggle__label-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .06rem;
  justify-items: start;
  text-align: left;
  align-content: center;
  height: 100%;
}
.menu-bar-toggle__eyebrow {
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(57, 34, 7, .72);
  line-height: 1;
}
.menu-bar-toggle__label {
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.02;
}
.menu-bar-toggle__arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,245,214,.36), rgba(255,255,255,0) 46%),
    linear-gradient(180deg, #6b4719 0%, #9e7530 24%, #e4bf77 52%, #8e6325 100%);
  border: 1px solid rgba(107, 67, 16, .46);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -2px 4px rgba(82,52,11,.34),
    0 8px 18px rgba(0,0,0,.22);
}
.menu-bar-toggle__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #44280a;
  border-bottom: 2px solid #44280a;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform .24s ease;
}
.menu-bar-toggle[aria-expanded="true"] .menu-bar-toggle__arrow::before {
  transform: translate(-50%, -28%) rotate(-135deg);
}
.site-directory__sections {
  margin-top: .9rem;
}
.site-directory {
  position: relative;
  overflow: hidden;
  padding: .7rem 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012)),
    linear-gradient(180deg, rgba(40, 28, 14, .16), rgba(8, 11, 18, .06));
}
.site-directory__body {
  display: grid;
  grid-template-rows: 1fr;
  margin-top: .45rem;
  transition: grid-template-rows .34s ease, opacity .26s ease, margin-top .26s ease;
}
.site-directory__body-inner {
  min-height: 0;
  overflow: hidden;
  transform: translateY(-10px) scaleY(.96);
  transform-origin: top center;
  opacity: 0;
  transition: transform .32s ease, opacity .24s ease;
}
.site-directory.is-collapsed .site-directory__body {
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}
.site-directory:not(.is-collapsed) .site-directory__body-inner {
  transform: translateY(0) scaleY(1);
  opacity: 1;
}
.site-directory:not(.is-collapsed) {
  box-shadow:
    0 0 0 1px rgba(214,178,106,.08) inset,
    0 14px 30px rgba(0,0,0,.16);
}
.site-directory h3 {
  margin: .08rem 0;
  font-size: 1rem;
}
.site-directory::before,
.site-directory::after {
  content: "";
  position: absolute;
  top: .62rem;
  width: 12px;
  height: calc(100% - 1.24rem);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(146, 105, 43, .24), rgba(255,215,151,.12), rgba(74, 48, 15, .28));
  opacity: 0;
  transition: opacity .24s ease;
}
.site-directory::before {
  left: .62rem;
}
.site-directory::after {
  right: .62rem;
}
.site-directory:not(.is-collapsed)::before,
.site-directory:not(.is-collapsed)::after {
  opacity: .78;
}
.site-menu-groups {
  display: grid;
  gap: .8rem;
}
.site-directory__sections > .site-menu-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.site-menu-group {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  padding: .85rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 24px rgba(0,0,0,.12);
}
.site-menu-group::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(214,178,106,.94), rgba(214,178,106,0));
  opacity: .88;
}
.site-menu-group--core {
  background:
    radial-gradient(circle at 0% 0%, rgba(108,160,216,.1), transparent 45%),
    rgba(255,255,255,.025);
}
.site-menu-group--topics {
  background:
    radial-gradient(circle at 100% 0%, rgba(214,178,106,.08), transparent 42%),
    rgba(255,255,255,.025);
}
.site-menu-group--account {
  background:
    radial-gradient(circle at 0% 100%, rgba(108,160,216,.08), transparent 42%),
    rgba(255,255,255,.025);
}
.site-menu-group--editorial {
  background:
    radial-gradient(circle at 100% 100%, rgba(214,178,106,.12), transparent 44%),
    rgba(255,255,255,.025);
}
.site-menu-group__title {
  margin: 0 0 .65rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #d9c28f;
}
.site-menu-group__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .55rem;
}
.menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 46px;
  border: 1px solid rgba(214,178,106,.16);
  border-radius: 16px;
  padding: .72rem .95rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 6px 16px rgba(0,0,0,.12);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease, filter .22s ease;
  overflow-wrap: break-word;
  word-break: normal;
}
.menu-link:hover {
  color: #f7e8bb;
  border-color: rgba(214,178,106,.48);
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 227, 161, .18), transparent 44%),
    linear-gradient(180deg, rgba(214,178,106,.18), rgba(255,255,255,.05));
  box-shadow:
    0 0 14px rgba(214,178,106,.18),
    0 10px 22px rgba(0,0,0,.2);
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.menu-link--home,
.menu-link--community {
  color: #e9eef7;
}
.menu-link--topic {
  color: #d7b56f;
}
.menu-link--account {
  color: #dce8f7;
}
.menu-link--editorial {
  color: #f0ddb0;
}
.top-menu__panel .site-menu-group {
  padding: .7rem;
}
.top-menu__panel .site-menu-groups {
  gap: .65rem;
}
.top-menu__panel .site-menu-group__items {
  grid-template-columns: 1fr;
  gap: .45rem;
}
.top-menu__panel .menu-link {
  width: 100%;
  justify-content: flex-start;
  padding: .58rem .82rem;
}
.site-directory__note {
  margin: .85rem 0 0;
  color: var(--text-muted);
  font-size: .88rem;
}
.premium-audio-library {
  display: grid;
  gap: 1rem;
  margin-bottom: .95rem;
}
.premium-audio-library__header {
  display: grid;
  gap: .35rem;
}
.premium-audio-library__header h3 {
  margin: 0;
}
.premium-audio-library__header p:last-child {
  margin: 0;
  color: var(--text-muted);
}
.premium-audio-library__items {
  display: grid;
  gap: 1rem;
}
.premium-audio-card {
  border: 1px solid rgba(214,178,106,.18);
  border-radius: 18px;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(214,178,106,.09), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 16px 32px rgba(0,0,0,.16);
}
.premium-audio-card__intro h4 {
  margin: .15rem 0 .2rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-family: "Cormorant Garamond", serif;
}
.premium-audio-card__series,
.premium-audio-card__description {
  margin: 0;
}
.premium-audio-card__series {
  color: var(--gold);
  font-weight: 700;
}
.premium-audio-card__description {
  margin-top: .35rem;
  color: var(--text-muted);
}
.premium-audio-card__player-wrap {
  margin-top: .9rem;
}
.premium-audio-card__player {
  width: 100%;
  display: block;
  filter: saturate(.92) brightness(.92) contrast(1.04);
}
.premium-audio-card__grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.premium-audio-card__panel {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: .9rem 1rem;
  background: rgba(255,255,255,.02);
}
.premium-audio-card__list {
  margin: .45rem 0 0;
  padding-left: 1rem;
  color: var(--text-muted);
}
.premium-audio-card__list li + li {
  margin-top: .45rem;
}

.premium-page__intro {
  margin-bottom: .95rem;
}

.premium-directory {
  display: grid;
  gap: 1rem;
  margin-bottom: .95rem;
}

.premium-directory__header {
  display: grid;
  gap: .32rem;
}

.premium-directory__header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.premium-directory__header p:last-child {
  margin: 0;
  color: var(--text-muted);
  max-width: 72ch;
}

.premium-directory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.premium-directory__column {
  display: grid;
  gap: .7rem;
}

.premium-directory__column h3 {
  margin: 0;
}

.premium-directory__items {
  display: grid;
  gap: .8rem;
}

.premium-directory__card {
  border: 1px solid rgba(214,178,106,.16);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(214,178,106,.08), transparent 28%),
    rgba(255,255,255,.025);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 12px 24px rgba(0,0,0,.14);
}

.premium-directory__thumb {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.premium-directory__card-body {
  display: grid;
  gap: .4rem;
  padding: .9rem;
}

.premium-directory__card-body h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
}

.premium-directory__card-body p:last-of-type {
  margin: 0;
  color: var(--text-muted);
}

.premium-directory__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: .84rem;
}

.premium-directory__link {
  white-space: nowrap;
}

.premium-directory__empty {
  margin: 0;
  color: var(--text-muted);
}

.ghost-btn {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--text-main);
  background: rgba(255,255,255,.04);
  padding: .62rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: color .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}
.home-banner__actions .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.15rem;
  text-align: center;
  white-space: nowrap;
}
.ghost-btn:hover {
  color: #f7e8bb;
  border-color: rgba(214,178,106,.42);
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 227, 161, .1), transparent 42%),
    rgba(255,255,255,.05);
  box-shadow:
    0 0 12px rgba(214,178,106,.12),
    0 10px 22px rgba(0,0,0,.18);
  transform: translateY(-1px);
}

.post-list { display: grid; gap: .75rem; }
.post-link { display: block; text-decoration: none; color: var(--text-main); padding: .95rem 1rem; }
.post-kicker { color: var(--accent-blue); margin: 0 0 .45rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.post-link h3 { margin: 0 0 .55rem; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.excerpt { color: var(--text-muted); margin: 0; }
.excerpt-rich {
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 340px;
}
.excerpt-rich p {
  margin: 0 0 .35rem;
}
.excerpt-rich--text p {
  margin: 0 0 .5rem;
}
.excerpt-rich--summary {
  display: none;
  margin-top: .7rem;
}
.post-card.has-rich-media .excerpt-rich--summary {
  display: block;
}
.excerpt-rich[data-rich-media-preview] {
  display: block;
  overflow: visible;
  max-height: none;
  -webkit-line-clamp: unset;
}
.excerpt-rich[data-rich-media-preview] > .kg-card.kg-embed-card ~ *,
.excerpt-rich[data-rich-media-preview] > .kg-card.kg-video-card ~ *,
.excerpt-rich[data-rich-media-preview] > .kg-embed-card ~ *,
.excerpt-rich[data-rich-media-preview] > .kg-video-card ~ *,
.excerpt-rich[data-rich-media-preview] > .kg-embed-container ~ *,
.excerpt-rich[data-rich-media-preview] > .kg-video-container ~ *,
.excerpt-rich[data-rich-media-preview] > .kg-video-player-container ~ *,
.excerpt-rich[data-rich-media-preview] > figure ~ *,
.excerpt-rich[data-rich-media-preview] > iframe ~ *,
.excerpt-rich[data-rich-media-preview] > video ~ * {
  display: none !important;
}
.post-card.has-rich-media .excerpt-rich[data-rich-media-preview] {
  margin-bottom: .7rem;
}
.excerpt-rich--text a {
  pointer-events: none;
  cursor: default;
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
}
.excerpt-rich--text img,
.excerpt-rich--text .kg-image-card,
.excerpt-rich--text .kg-gallery-card,
.excerpt-rich--text figure {
  display: none !important;
}
.excerpt-rich img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin: .5rem 0 .65rem;
}
.excerpt-rich iframe,
.excerpt-rich video,
.excerpt-rich .kg-video-card,
.excerpt-rich .kg-embed-card,
.excerpt-rich .kg-card.kg-video-card,
.excerpt-rich .kg-card.kg-embed-card,
.excerpt-rich .kg-video-container,
.excerpt-rich .kg-embed-container,
.excerpt-rich .kg-video-player-container {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}
.excerpt-rich .kg-video-card,
.excerpt-rich .kg-embed-card,
.excerpt-rich .kg-card.kg-video-card,
.excerpt-rich .kg-card.kg-embed-card {
  margin: .6rem 0 .8rem;
}
.excerpt-rich iframe,
.excerpt-rich .kg-video-container iframe,
.excerpt-rich .kg-embed-container iframe,
.excerpt-rich .kg-video-player-container iframe {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: block;
}
.meta-row { margin-top: .7rem; display: flex; gap: .7rem; color: var(--text-muted); font-size: .78rem; flex-wrap: wrap; }
.tag-row {
  margin-top: .55rem;
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}
.post-actions {
  padding: 0 1rem 1rem;
  display: flex;
  gap: .55rem;
  align-items: center;
  flex-wrap: wrap;
}
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .8rem;
  color: var(--text-main);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  font-weight: 600;
}
.like-btn__icon { color: #f6a9b7; }
.like-count {
  min-width: 1.3rem;
  text-align: center;
  color: var(--text-muted);
}
.like-btn.is-liked {
  border-color: rgba(214,178,106,.5);
  background: rgba(214,178,106,.16);
}
.like-btn.is-auth-required {
  opacity: .92;
}
.like-btn.is-loading {
  opacity: .65;
  cursor: wait;
}
.like-btn:disabled {
  cursor: wait;
}
.comment-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .75rem;
  color: var(--text-main);
  text-decoration: none;
}
.comment-link:hover { background: rgba(255,255,255,.04); }
.share-btn {
  cursor: pointer;
  background: rgba(255,255,255,.02);
}
.share-menu {
  width: 100%;
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}
.share-menu__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .38rem .72rem;
  color: var(--text-main);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  cursor: pointer;
  font-size: .84rem;
}

.post-media-thumb {
  margin: .6rem 0 .8rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}

.post-media-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  max-height: none !important;
  min-height: 0 !important;
  display: block;
}

.right-rail { padding: 1rem; display: grid; gap: .75rem; align-content: start; }
.panel { padding: .9rem; }
.panel ul { margin: .3rem 0 0 1rem; padding: 0; color: var(--text-muted); }
.panel blockquote { margin: .45rem 0 0; color: #f4ddb0; font-family: "Cormorant Garamond", serif; font-size: 1.25rem; }
.panel,
.panel li,
.popular-link,
.site-menu-group__title,
.subscription-level,
.subscription-level strong,
.subscription-level span,
.community-item__target,
.community-item__excerpt,
.community-item__link {
  overflow-wrap: break-word;
  word-break: normal;
}
.subscription-panel__status {
  margin: .2rem 0 .8rem;
  color: var(--text-muted);
  font-size: .88rem;
}
.subscription-levels__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  padding: 0 .25rem .5rem;
  color: #d8c394;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  justify-items: center;
}
.subscription-panel__cta {
  width: 100%;
  margin-top: .8rem;
  text-align: center;
  color: #241607;
  border: 1px solid rgba(214,178,106,.62);
  background:
    radial-gradient(circle at 18% 22%, rgba(255,246,214,.32), transparent 34%),
    linear-gradient(180deg, #8c6124 0%, #c89646 18%, #f2d48d 46%, #d3a24e 66%, #84571f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -4px 8px rgba(82,52,11,.34),
    0 16px 28px rgba(0,0,0,.26);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, border-color .22s ease;
}
.subscription-panel__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -4px 8px rgba(82,52,11,.38),
    0 0 18px rgba(214,178,106,.22),
    0 18px 32px rgba(0,0,0,.28);
  border-color: rgba(242,222,164,.82);
  filter: brightness(1.06);
}
.subscription-panel .subscription-levels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.subscription-level {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: .75rem;
  margin: 0;
  padding: .82rem .92rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  color: var(--text-muted);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 8px 20px rgba(0,0,0,.12);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, color .22s ease, background .22s ease;
  text-align: center;
  justify-items: center;
}
.subscription-level__tier {
  color: var(--text-main);
  font-size: .98rem;
  font-weight: 800;
  text-align: center;
}
.subscription-level__name {
  font-size: .9rem;
  line-height: 1.2;
  text-align: center;
}
.subscription-level::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255,245,214,.15) 48%, transparent 76%);
  transform: translateX(-135%);
  opacity: 0;
}
.subscription-level.is-current {
  border-color: rgba(214,178,106,.52);
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 231, 170, .22), transparent 44%),
    linear-gradient(180deg, rgba(214,178,106,.18), rgba(255,255,255,.04));
  color: #f3dfad;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 0 16px rgba(214,178,106,.16),
    0 12px 26px rgba(0,0,0,.18);
  animation: subscriptionPulse 2.1s ease-in-out infinite;
}
.subscription-level.is-current .subscription-level__tier,
.subscription-level.is-current .subscription-level__name {
  color: #fff0c2;
}
.subscription-level.is-current::before {
  opacity: 1;
  animation: subscriptionSheen 2.1s ease-in-out infinite;
}
@keyframes subscriptionPulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.12),
      0 0 14px rgba(214,178,106,.12),
      0 12px 26px rgba(0,0,0,.18);
    filter: brightness(1);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.16),
      0 0 20px rgba(214,178,106,.22),
      0 0 34px rgba(255,229,163,.12),
      0 14px 28px rgba(0,0,0,.22);
    filter: brightness(1.06);
  }
}
@keyframes subscriptionSheen {
  0% { transform: translateX(-135%); }
  55%, 100% { transform: translateX(135%); }
}
@media (max-width: 1120px) {
  .subscription-levels__head {
    display: none;
  }
  .subscription-level {
    grid-template-columns: 1fr;
    gap: .18rem;
  }
}
.popular-list {
  margin: .45rem 0 0 1rem;
}
.popular-link {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  color: #d9e6f8;
  text-decoration: none;
  letter-spacing: .01em;
}
.popular-link:hover {
  color: #f2dea4;
}

.post-wrap {
  width: min(920px, 92vw);
  margin: 1.5rem auto 2rem;
}
.post-article {
  --post-gutter: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: var(--post-gutter);
}
.post-header h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: .2rem 0 .7rem;
}
.meta { color: var(--text-muted); margin: 0; }
.post-media {
  width: calc(100% + (var(--post-gutter) * 2)) !important;
  margin: 1rem 0;
  margin-left: calc(var(--post-gutter) * -1) !important;
  margin-right: calc(var(--post-gutter) * -1) !important;
  margin-inline: 0;
}
.post-article .post-media,
.post-article .post-content figure,
.post-article .post-content .kg-image-card,
.post-article .post-content .kg-card.kg-image-card,
.post-article .post-content .kg-gallery-card,
.post-article .post-content .kg-card {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  padding: 0 !important;
  inset: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-inline: 0 !important;
}
.post-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  cursor: zoom-in;
}
.post-article .post-media img,
.post-article .post-content img,
.post-article .post-content .kg-image-card img,
.post-article .post-content .kg-gallery-card img,
.post-article .post-content .kg-gallery-image img {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.post-content { margin-top: 1rem; }
.post-content figure,
.post-content .kg-image-card,
.post-content .kg-gallery-card,
.post-content .kg-card {
  width: 100%;
  max-width: 100% !important;
  margin: 1rem 0;
  margin-inline: 0;
}
.post-content img,
.post-content .kg-image-card img,
.post-content .kg-gallery-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  cursor: zoom-in;
}
.post-content iframe,
.post-content video,
.post-content .kg-video-card,
.post-content .kg-embed-card,
.post-content .kg-card.kg-video-card,
.post-content .kg-card.kg-embed-card,
.post-content .kg-video-container,
.post-content .kg-embed-container,
.post-content .kg-video-player-container {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}
.post-content iframe,
.post-content .kg-video-container iframe,
.post-content .kg-embed-container iframe,
.post-content .kg-video-player-container iframe {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: block !important;
}
.post-content :is(h2, h3) { font-family: "Cormorant Garamond", serif; }
.post-content p, .post-content li {
  color: #d4dee9;
  font-size: clamp(1rem, 1.2vw, 1.06rem);
  white-space: pre-wrap;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.post-content a,
.excerpt a,
.hashtag-link {
  color: var(--accent-link);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(215, 181, 111, 0.45);
  text-underline-offset: 3px;
  transition: color .24s ease, text-decoration-color .24s ease, text-shadow .24s ease, filter .24s ease;
}
.post-content a:hover,
.excerpt a:hover,
.hashtag-link:hover {
  color: var(--accent-link-strong);
  text-decoration-color: rgba(242, 222, 164, 0.85);
  text-shadow: 0 0 10px rgba(242, 222, 164, 0.45), 0 0 24px rgba(215, 181, 111, 0.38);
  animation: linkPulse 1.1s ease-in-out infinite alternate;
}
@keyframes linkPulse {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.22);
  }
}
.post-content figcaption,
.post-media figcaption,
.kg-card figcaption {
  text-align: center;
  color: var(--text-muted);
}
.post-tags { margin-top: .85rem; }
.comments { margin-top: 1rem; }
.post-actions-panel {
  margin-top: 1rem;
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-wrap: wrap;
}
.comments-lead {
  margin-top: 0;
  color: var(--text-muted);
}
.native-comments-wrap {
  margin-top: .45rem;
}
.native-comments-wrap .gh-comments {
  color-scheme: dark;
}
.comment-tools {
  display: flex;
  gap: .45rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.comment-tool-btn,
.comment-emoji-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text-main);
  border-radius: 8px;
  padding: .26rem .52rem;
  cursor: pointer;
  font-size: .82rem;
}
.comment-tool-btn:hover,
.comment-emoji-btn:hover {
  background: rgba(255,255,255,.1);
}
.comment-emoji-pop {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(38px, 1fr));
  gap: .4rem;
  width: 100%;
  max-width: 420px;
  padding: .55rem;
  border: 1px solid rgba(214,178,106,.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(214,178,106,.08), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.comment-emoji-btn {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: .35rem;
  font-size: 1.08rem;
  line-height: 1;
  border-radius: 10px;
}
.login-inline {
  color: #80e57c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.back-link {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .8rem;
  background: rgba(255,255,255,.04);
}
.top-menu {
  position: fixed;
  right: .95rem;
  top: .95rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Fallback: hide legacy floating menu if stale markup is still cached/rendered */
.global-sidepanel,
.global-sidepanel__item {
  display: none !important;
}
.top-menu__toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(11, 17, 27, 0.84);
  color: var(--text-main);
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.top-menu__toggle:hover {
  background: rgba(255,255,255,.08);
}
.top-menu__bars {
  width: 18px;
  height: 14px;
  display: grid;
  align-content: space-between;
}
.top-menu__bars span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.top-menu__toggle[aria-expanded="true"] .top-menu__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.top-menu__toggle[aria-expanded="true"] .top-menu__bars span:nth-child(2) {
  opacity: 0;
}
.top-menu__toggle[aria-expanded="true"] .top-menu__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.top-menu__bars span {
  transition: transform .18s ease, opacity .18s ease;
}
.top-menu__panel {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  margin-top: .5rem;
  min-width: 240px;
  max-width: min(320px, calc(100vw - 1.2rem));
  max-height: min(80svh, 640px);
  overflow-y: auto;
  display: grid;
  gap: .4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 17, 27, 0.94);
  padding: .5rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,.32);
  scrollbar-width: thin;
  scrollbar-color: rgba(214,178,106,.72) rgba(255,255,255,.06);
}
.top-menu__panel::-webkit-scrollbar {
  width: 10px;
}
.top-menu__panel::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.top-menu__panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(11, 17, 27, 0.94);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,240,199,.32), transparent 44%),
    linear-gradient(180deg, #6b4719 0%, #ae8138 24%, #e4bf77 52%, #8b6126 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 0 10px rgba(214,178,106,.14);
}
.top-menu__panel::-webkit-scrollbar-thumb:hover {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,247,221,.4), transparent 44%),
    linear-gradient(180deg, #7b5320 0%, #c3913f 24%, #f0cb83 52%, #9c6d2a 100%);
}
.top-menu__panel[hidden] {
  display: none !important;
}
.community-activity {
  display: grid;
  gap: .8rem;
}
.community-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: .8rem;
  background: rgba(255,255,255,.02);
}
.community-item__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.community-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.community-item__body {
  min-width: 0;
}
.community-item__meta {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  align-items: baseline;
  color: var(--text-muted);
  font-size: .86rem;
}
.community-item__meta strong {
  color: var(--text-main);
}
.community-item__label {
  margin: .3rem 0 .25rem;
  color: #f0ddb0;
  font-size: .85rem;
  font-weight: 600;
}
.community-item__target,
.community-item__excerpt {
  margin: .18rem 0 0;
  color: var(--text-muted);
}
.community-item__excerpt {
  color: var(--text-main);
}
.community-item__link {
  display: inline-block;
  margin-top: .45rem;
  color: var(--accent-link);
  font-weight: 700;
  text-decoration: none;
}
.community-item__link:hover {
  color: var(--accent-link-strong);
}
.community-empty {
  margin: 0;
  color: var(--text-muted);
}

.image-lightbox[hidden] { display: none; }
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(3, 5, 10, .9);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.image-lightbox__img {
  width: min(1200px, 96vw);
  max-height: 82svh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.image-lightbox__caption {
  margin: .6rem 0 0;
  max-width: min(1200px, 96vw);
  text-align: center;
  color: var(--text-muted);
}
.image-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.hidden { display: none !important; }

.member-modal[hidden] { display: none; }
.member-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:
    max(16px, env(safe-area-inset-top))
    1rem
    max(16px, env(safe-area-inset-bottom))
    1rem;
  overflow: hidden;
  overscroll-behavior: contain;
}
.member-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, .72);
  backdrop-filter: blur(3px);
}
.member-modal__dialog {
  position: relative;
  width: min(560px, 96vw);
  max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  margin: auto;
  background: linear-gradient(180deg, #121821, #0d121b);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: 0 22px 44px rgba(0,0,0,.45);
}
.member-modal__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text-main);
  cursor: pointer;
}
.member-modal h2 {
  margin: .1rem 0 .2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}
.member-modal__lead { color: var(--text-muted); margin-top: 0; }
.member-modal__tabs {
  margin-top: .8rem;
  margin-bottom: .8rem;
  display: flex;
  gap: .5rem;
}
.member-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--text-main);
  padding: .45rem .85rem;
  cursor: pointer;
}
.member-tab.is-active {
  background: linear-gradient(180deg, #e2c486, var(--accent-gold));
  color: #111;
  border-color: transparent;
  font-weight: 700;
}
.member-form {
  display: grid;
  gap: .75rem;
}
.member-form label {
  display: grid;
  gap: .35rem;
  color: var(--text-muted);
  font-size: .92rem;
}
.member-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text-main);
  border-radius: 10px;
  padding: .68rem .76rem;
}
.cta-full {
  width: 100%;
  text-align: center;
  border: 0;
  cursor: pointer;
}
.member-msg {
  display: none;
  margin: 0;
  font-size: .86rem;
}
.member-form.success .member-msg.success { display: block; color: #6ce0ad; }
.member-form.error .member-msg.error { display: block; color: #ff8f8f; }
.member-account-panel {
  display: grid;
  gap: .75rem;
}
.member-account-panel p {
  margin: 0;
  color: var(--text-muted);
}
.member-profile-row {
  display: flex;
  gap: .7rem;
  align-items: center;
}
.member-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text-main);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
[data-hattimon-avatar="custom"] {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: transparent !important;
  overflow: hidden !important;
}
[data-hattimon-avatar="custom"] img {
  opacity: 0 !important;
}
.member-profile-title {
  color: var(--text-main) !important;
  font-weight: 700;
}
.member-profile-sub strong { color: var(--accent-gold); }
.member-profile-form {
  display: grid;
  gap: .6rem;
}
.member-profile-form label {
  display: grid;
  gap: .32rem;
  color: var(--text-muted);
  font-size: .9rem;
}
.member-profile-form input[type="text"],
.member-profile-form input[type="file"] {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text-main);
  border-radius: 10px;
  padding: .62rem .72rem;
}
.member-profile-msg {
  color: #6ce0ad !important;
  font-size: .85rem;
}
.member-signout {
  width: 100%;
  border-radius: 999px;
  padding: .65rem 1rem;
  cursor: pointer;
}

.reward-modal[hidden] { display: none; }
.reward-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:
    max(16px, env(safe-area-inset-top))
    1rem
    max(16px, env(safe-area-inset-bottom))
    1rem;
}
.reward-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, .76);
  backdrop-filter: blur(4px);
}
.reward-modal__dialog {
  position: relative;
  width: min(560px, 96vw);
  max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  margin: auto;
  background:
    radial-gradient(circle at 18% 0%, rgba(214,178,106,.14), transparent 34%),
    linear-gradient(180deg, #141b25, #0d121b);
  border: 1px solid rgba(214,178,106,.26);
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 24px 50px rgba(0,0,0,.46);
}
.reward-modal__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text-main);
  cursor: pointer;
}
.reward-modal__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: .85rem;
  font-size: 1.55rem;
  color: #2b1906;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,246,214,.38), transparent 40%),
    linear-gradient(180deg, #8c6124 0%, #c89646 20%, #f2d48d 48%, #d3a24e 66%, #84571f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 -4px 8px rgba(82,52,11,.34),
    0 12px 24px rgba(0,0,0,.24);
}
.reward-modal__eyebrow {
  margin: 0 0 .35rem;
  color: #d8c394;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.reward-modal h2 {
  margin: 0 0 .35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 2.9vw, 2.3rem);
}
.reward-modal__lead,
.reward-modal__reason,
.reward-modal__status {
  margin: 0;
  color: var(--text-muted);
}
.reward-modal__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 1rem 0 .8rem;
}
.reward-modal__detail {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: .72rem .8rem;
  background: rgba(255,255,255,.03);
}
.reward-modal__detail span {
  display: block;
  margin-bottom: .22rem;
  color: #d8c394;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.reward-modal__detail strong {
  color: var(--text-main);
  font-size: .98rem;
}
.reward-modal__reason {
  margin-top: .25rem;
  color: #f1ddb2;
}
.reward-modal__status {
  margin-top: .75rem;
}
.reward-modal__actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.reward-modal__claim {
  flex: 1 1 240px;
}
.reward-modal__secondary {
  flex: 1 1 180px;
}

.pagination {
  margin-top: 1rem;
  padding: .35rem 0 .15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
.pagination .page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .5rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 178, 106, .22);
  background: linear-gradient(180deg, rgba(214,178,106,.08), rgba(255,255,255,.02));
  color: var(--text-muted);
  font-size: .9rem;
  letter-spacing: .02em;
}
.pagination__spacer {
  visibility: hidden;
  min-width: 132px;
}
.pagination .older-posts,
.pagination .newer-posts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 178, 106, .34);
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 227, 161, .18), transparent 45%),
    linear-gradient(180deg, rgba(214,178,106,.15), rgba(255,255,255,.04));
  color: #f0ddb0;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow:
    0 0 0 1px rgba(214,178,106,.08) inset,
    0 10px 24px rgba(0,0,0,.24);
  animation: wealthPulse 2.4s ease-in-out infinite;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease, filter .22s ease;
}
.pagination .older-posts:hover,
.pagination .newer-posts:hover {
  color: #fff0c2;
  border-color: rgba(242, 222, 164, .62);
  box-shadow:
    0 0 18px rgba(214,178,106,.22),
    0 0 34px rgba(242,222,164,.12),
    0 12px 30px rgba(0,0,0,.28);
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.pagination .older-posts:focus-visible,
.pagination .newer-posts:focus-visible {
  outline: 2px solid rgba(242, 222, 164, .68);
  outline-offset: 2px;
}
@keyframes wealthPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(214,178,106,.08) inset,
      0 0 0 rgba(214,178,106,0),
      0 10px 24px rgba(0,0,0,.24);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(214,178,106,.16) inset,
      0 0 16px rgba(214,178,106,.16),
      0 10px 26px rgba(0,0,0,.28);
  }
}

.kg-width-wide {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.kg-width-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1280px) {
  .site-header {
    width: min(1320px, 97vw);
    padding-right: 4.8rem;
  }
  .layout {
    width: min(1320px, 97vw);
    grid-template-columns: 226px minmax(0, 1fr) 262px;
    grid-template-areas: "left feed right";
    gap: .85rem;
  }
}

@media (max-width: 920px) {
  .site-header {
    width: 100%;
    padding: .75rem 4.25rem 0 .75rem;
  }
  .site-header__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .site-header__auth {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .site-header__page-links {
    padding-bottom: .1rem;
  }
  .feed-topbar__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    align-items: stretch;
    flex-wrap: nowrap;
    max-width: 100%;
    gap: .62rem;
  }
  .feed-topbar__actions .reward-chip {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }
  .feed-topbar__actions .reward-chip:hover {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }
  .feed-topbar__actions .reward-chip__compact {
    display: none;
  }
  .feed-topbar__actions .reward-chip__text,
  .feed-topbar__actions .reward-chip:hover .reward-chip__text {
    max-width: none;
    opacity: 1;
  }
  .feed-topbar__actions .reward-chip__title,
  .feed-topbar__actions .reward-chip__meta {
    white-space: normal;
  }
  .layout {
    width: 100%;
    padding: 0;
    gap: 0;
    grid-template-columns: 1fr;
    grid-template-areas: "feed";
  }
  .left-rail, .right-rail {
    display: none;
  }
  .feed {
    border: 0;
    border-radius: 0;
    padding: .85rem;
    min-height: 100svh;
  }
  .feed-topbar h2 { font-size: 1.2rem; }
  .composer-cta-row a {
    flex: 1 1 100%;
    text-align: center;
  }
  .post-link { padding: .8rem; }
  .post-link h3 { font-size: 1.06rem; line-height: 1.25; }
  .meta-row { gap: .45rem; }
  .post-actions { padding: 0 .8rem .8rem; }
  .post-wrap {
    width: 100%;
    margin: 0;
    padding: .8rem;
  }
  .post-article {
    --post-gutter: 1rem;
    border-radius: 14px;
    padding: var(--post-gutter);
  }
  .share-menu__item { flex: 1 1 calc(50% - .45rem); }
  .excerpt-rich iframe,
  .excerpt-rich .kg-video-container iframe,
  .excerpt-rich .kg-embed-container iframe,
  .excerpt-rich .kg-video-player-container iframe,
  .post-content iframe,
  .post-content .kg-video-container iframe,
  .post-content .kg-embed-container iframe,
  .post-content .kg-video-player-container iframe {
    min-height: 220px;
  }
  .top-menu {
    right: .6rem;
    top: .6rem;
  }
  .top-menu__toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.05rem;
  }
  .top-menu__panel {
    min-width: min(280px, calc(100vw - 1.2rem));
    max-height: calc(100svh - 74px);
  }
  .site-directory__sections > .site-menu-groups {
    grid-template-columns: 1fr;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .pagination .page-number {
    order: 3;
    width: 100%;
  }
  .pagination__spacer {
    display: none;
  }
  .premium-audio-card__grid {
    grid-template-columns: 1fr;
  }
  .premium-directory__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100vw - 1rem, 100%);
    padding: .75rem 4.1rem 0 .5rem;
  }
  .site-header__inner {
    gap: .75rem;
    padding: .8rem .85rem;
  }
  .site-header__brand {
    gap: .6rem;
  }
  .site-header__brand-mark {
    width: 2.15rem;
    height: 2.15rem;
    font-size: .92rem;
  }
  .site-header__page-link,
  .site-header__auth-link {
    min-height: 2.2rem;
    padding: .45rem .72rem;
    font-size: .92rem;
  }
  .reward-modal__details {
    grid-template-columns: 1fr;
  }
  .reward-modal__actions {
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
  }
  .reward-modal__claim,
  .reward-modal__secondary {
    flex: 0 0 auto;
    width: 100%;
    min-height: 46px !important;
    max-height: 56px;
    padding: .72rem 1rem !important;
    border-radius: 16px !important;
    font-size: .95rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .reward-modal__secondary {
    border-radius: 16px !important;
  }
  .member-modal {
    padding:
      max(.5rem, env(safe-area-inset-top))
      .5rem
      max(.5rem, env(safe-area-inset-bottom))
      .5rem;
  }
  .member-modal__dialog {
    width: min(560px, 98vw);
    max-height: calc(100dvh - 1rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: .95rem;
    border-radius: 16px;
  }
  .member-modal__tabs { flex-wrap: wrap; }
  .member-tab { flex: 1 1 calc(50% - .5rem); }
  .home-banner__actions .cta,
  .home-banner__actions .ghost-btn,
  .home-banner__actions .menu-bar-toggle {
    width: 100%;
    text-align: center;
  }
  .menu-bar-toggle {
    min-height: 44px;
    padding-right: 3.6rem;
  }
  .menu-bar-toggle__label-wrap {
    justify-items: center;
    width: 100%;
    text-align: center;
  }
  .menu-bar-toggle__eyebrow {
    font-size: .54rem;
  }
  .menu-bar-toggle__label {
    font-size: .86rem;
  }
  .menu-bar-toggle__arrow {
    right: .8rem;
    width: 30px;
    height: 30px;
  }
  .community-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .7rem;
    padding: .72rem;
  }
  .community-item__avatar {
    width: 42px;
    height: 42px;
  }
  .feed-topbar__actions .reward-chip {
    min-height: 44px;
    padding: .62rem .92rem;
    gap: .5rem;
  }
  .feed-topbar__actions .reward-chip__icon {
    font-size: .9rem;
  }
  .feed-topbar__actions .reward-chip__title {
    font-size: .84rem;
  }
  .feed-topbar__actions .reward-chip__meta {
    font-size: .68rem;
  }
  .subscription-info-modal__actions .cta,
  .reward-modal__actions .cta,
  .reward-modal__actions .ghost-btn {
    width: 100%;
    min-height: 46px !important;
    max-height: 56px;
    padding: .72rem 1rem !important;
    border-radius: 16px !important;
    font-size: .95rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

button.cta {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.subscription-panel__cta {
  width: 100%;
}

.post-card--premium {
  border-color: rgba(214,178,106,.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(214,178,106,.08), transparent 32%),
    rgba(255,255,255,.02);
}

.post-link--locked {
  position: relative;
}

.premium-lock-note {
  display: grid;
  gap: .22rem;
  margin-top: .85rem;
  padding: .85rem .9rem;
  border: 1px solid rgba(214,178,106,.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(214,178,106,.09), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

.premium-lock-note__eyebrow,
.premium-access-panel__eyebrow,
.subscription-info-modal__eyebrow {
  margin: 0;
  color: #d8c394;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.premium-lock-note strong {
  color: #f3dfad;
  font-size: .96rem;
  line-height: 1.35;
}

.premium-lock-note span:last-child {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.4;
}

.like-btn--locked {
  border-color: rgba(214,178,106,.28);
  color: #f0ddb0;
}

.like-btn--locked:hover {
  border-color: rgba(214,178,106,.46);
  box-shadow: 0 0 12px rgba(214,178,106,.12);
}

.premium-access-panel {
  margin-top: 1rem;
  padding: 1.1rem 1.15rem;
  border-color: rgba(214,178,106,.24);
  background:
    radial-gradient(circle at 0% 0%, rgba(214,178,106,.11), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

.premium-access-panel h2,
.premium-access-panel h3 {
  margin: .2rem 0 .55rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.premium-access-panel__lead,
.premium-access-panel__excerpt,
.subscription-info-modal__lead,
.subscription-info-modal__status,
.subscription-info-modal__detail p {
  color: var(--text-muted);
  line-height: 1.48;
}

.premium-access-panel__excerpt {
  margin-top: .75rem;
  padding: .85rem .95rem;
  border-left: 3px solid rgba(214,178,106,.42);
  background: rgba(255,255,255,.03);
  border-radius: 0 12px 12px 0;
}

.premium-access-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .95rem;
}

.premium-access-panel--tag {
  margin-bottom: .95rem;
}

.subscription-info-modal[hidden] { display: none; }

.subscription-info-modal {
  position: fixed;
  inset: 0;
  z-index: 1260;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:
    max(16px, env(safe-area-inset-top))
    1rem
    max(16px, env(safe-area-inset-bottom))
    1rem;
}

.subscription-info-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, .76);
  backdrop-filter: blur(4px);
}

.subscription-info-modal__dialog {
  position: relative;
  width: min(580px, 96vw);
  max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  margin: auto;
  background:
    radial-gradient(circle at 18% 0%, rgba(214,178,106,.14), transparent 34%),
    linear-gradient(180deg, #141b25, #0d121b);
  border: 1px solid rgba(214,178,106,.26);
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 24px 50px rgba(0,0,0,.46);
}

.subscription-info-modal__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text-main);
  cursor: pointer;
}

.subscription-info-modal h2 {
  margin: .1rem 0 .45rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);
}

.subscription-info-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: 1rem 0 .85rem;
}

.subscription-info-modal__detail {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: .82rem .9rem;
  background: rgba(255,255,255,.03);
}

.subscription-info-modal__detail span {
  display: block;
  margin-bottom: .24rem;
  color: #d8c394;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.subscription-info-modal__detail strong {
  display: block;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: .32rem;
}

.subscription-info-modal__actions {
  display: flex;
  gap: .7rem;
  margin-top: 1rem;
}

.subscription-info-modal__primary {
  width: 100%;
}

@media (max-width: 760px) {
  .premium-access-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .premium-access-panel__actions .cta,
  .premium-access-panel__actions .ghost-btn {
    width: 100%;
    text-align: center;
  }

  .subscription-info-modal__dialog {
    width: min(560px, 98vw);
    max-height: calc(100dvh - 1rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: .95rem;
    border-radius: 16px;
  }

  .subscription-info-modal__grid {
    grid-template-columns: 1fr;
  }
}

