.library-shell,
  .astra-shell {
    position: relative;
    z-index: 1;
    max-width: 1120px;
  }

  .astra-hero {
    position: relative;
    border: 1px solid rgba(212, 168, 67, 0.16);
    border-radius: 26px;
    background:
      radial-gradient(circle at top right, rgba(212, 168, 67, 0.12), transparent 34%),
      linear-gradient(180deg, rgba(18, 11, 5, 0.92), rgba(10, 6, 3, 0.88));
    box-shadow: var(--shadow-gold);
    overflow: hidden;
  }

  [data-theme="light"] .astra-hero {
    background:
      radial-gradient(circle at top right, rgba(212, 168, 67, 0.09), transparent 34%),
      linear-gradient(180deg, rgba(255, 252, 245, 0.96), rgba(250, 245, 233, 0.96));
  }

  .page-top {
    margin-top: clamp(0.9rem, 2vw, 1.5rem);
  }

  .page-kicker {
    display: inline-block;
    font-family: "Cinzel", serif;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--gold-3);
    margin-bottom: 12px;
  }

  .page-kicker,
  .crumbs,
  .page-intro,
  .page-meta-line {
    position: relative;
    z-index: 1;
  }

  .page-intro {
    max-width: 760px;
    color: var(--text-dim);
    
    margin-bottom: 24px;
  }

  .page-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 8px 0 0;
    color: var(--text-dim);
    font-family: "Cinzel", serif;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .page-meta-line span {
    position: relative;
    padding-right: 12px;
    margin-right: 12px;
  }

  .page-meta-line span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 12px;
    background: rgba(212, 168, 67, 0.2);
    transform: translateY(-50%);
  }

  .page-meta-line span:last-child {
    padding-right: 0;
    margin-right: 0;
  }

  .page-meta-line span:last-child::after {
    display: none;
  }

  .crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-family: "Cinzel", serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .crumbs span {
    color: var(--text-dim);
  }

  .astra-hero>* {
    position: relative;
    z-index: 1;
  }

  .browse-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    padding-bottom: 40px;
  }

  .browse-aside {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 16px;
  }

  .browse-index {
    background: rgba(16, 10, 5, 0.88);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: var(--shadow-gold);
  }

  [data-theme="light"] .browse-index {
    background: rgba(255, 250, 242, 0.94);
  }

  .browse-index-title {
    display: block;
    margin-bottom: 12px;
    font-family: "Cinzel", serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-3);
  }

  .browse-index-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 14px;
    border: 1px solid rgba(212, 168, 67, 0.2);
    background: rgba(212, 168, 67, 0.05);
    color: var(--text);
    font-family: "Cinzel", serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
  }

  .browse-index-mobile-label {
    display: none;
    margin-bottom: 8px;
    font-family: "Cinzel", serif;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-3);
  }

  .browse-index-toggle-current {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .browse-index-toggle-icon {
    font-size: 0.95rem;
    color: var(--gold-2);
    transition: transform 0.2s ease;
  }

  .browse-index-list {
    display: grid;
    gap: 6px;
    max-height: min(68vh, 720px);
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 168, 67, 0.45) transparent;
  }

  .browse-index-list::-webkit-scrollbar {
    width: 6px;
  }

  .browse-index-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .browse-index-list::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 67, 0.38);
    border-radius: 999px;
  }

  .browse-index-list::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 67, 0.55);
  }

  .browse-index-link {
    display: block;
    border-bottom: 1px solid rgba(212, 168, 67, 0.12);
    color: var(--text-muted);
    font-family: "Cinzel", serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .browse-index-link:last-child {
    border-bottom: none;
  }

  .browse-index-link:hover {
    color: var(--gold-1);
  }

  .browse-index-link.is-active {
    color: var(--gold-1);
    text-shadow: 0 0 18px rgba(212, 168, 67, 0.25);
  }

  .browse-content {
    display: grid;
    gap: 54px;
  }

  .browse-entry {
    position: relative;
    padding-bottom: 36px;
    scroll-margin-top: 118px;
  }

  .browse-entry::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.42), transparent);
  }

  .browse-entry:last-child::after {
    display: none;
  }

  .browse-entry-layout {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .browse-side {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }

  .browse-count {
    font-family: "Cinzel", serif;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-3);
  }

  .weapon-icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: radial-gradient(circle at 40% 35%, rgba(212, 168, 67, 0.12), rgba(0, 0, 0, 0) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    transition: all 0.5s;
    box-shadow: 0 0 40px rgba(212, 168, 67, 0.08), inset 0 0 30px rgba(0, 0, 0, 0.3);
  }

  .weapon-icon-wrap:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 55px rgba(212, 168, 67, 0.14), inset 0 0 30px rgba(0, 0, 0, 0.26);
  }

  .weapon-icon-wrap::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    animation: orbit-ring 8s linear infinite;
    border-style: dashed;
  }

  .glow-pulse {
    animation: glow-pulse 3s ease-in-out infinite;
  }

  @keyframes orbit-ring {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  .browse-orb::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    animation: orbit-ring 8s linear infinite;
    border-style: dashed;
  }

  [data-theme="light"] .browse-orb {
    background:
      radial-gradient(circle at 50% 38%, rgba(212, 168, 67, 0.16), rgba(212, 168, 67, 0.02) 55%, transparent 72%),
      rgba(255, 251, 244, 0.98);
  }

  .browse-orb img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(212, 168, 67, 0.32));
  }

  .browse-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(212, 168, 67, 0.22);
    background: rgba(212, 168, 67, 0.05);
    font-family: "Cinzel", serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-2);
    text-decoration: none;
  }

  .browse-card {
    position: relative;
    background: rgba(14, 9, 4, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-gold);
    overflow: hidden;
    transition: transform var(--motion-smooth), border-color var(--motion-smooth), box-shadow var(--motion-smooth);
  }

  [data-theme="light"] .browse-card {
    background: rgba(255, 251, 243, 0.96);
  }

  .browse-card::before {
    content: attr(data-count);
    position: absolute;
    top: -6px;
    right: 6px;
    font-family: "Cinzel Decorative", serif;
    font-size: 4rem;
    line-height: 1;
    color: rgba(212, 168, 67, 0.08);
    pointer-events: none;
  }

  .browse-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 38%);
    pointer-events: none;
  }

  .browse-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-hover);
  }

  .browse-kicker {
    display: block;
    margin-bottom: 6px;
    font-family: "Cinzel", serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-3);
  }

  .browse-title {
    margin-bottom: 6px;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
  }

  .browse-subtitle {
    margin-bottom: 16px;
    color: var(--text-dim);
    font-size: 1rem;
  }

  .browse-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
  }

  .browse-meta .fact-pill {
    font-size: 0.62rem;
  }

  .browse-summary p {
    margin: 0;
  }

  .browse-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }

  .library-card,
  .detail-panel,
  .faq-panel,
  .next-panel {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
  }

  .library-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .library-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-hover);
  }

  .library-emoji {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
  }

  .library-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(212, 168, 67, 0.22));
  }

  .astra-layout {
    padding-bottom: 36px;
  }

  .astra-main-stack {
    display: grid;
    gap: 20px;
    align-content: start;
    height: 100%;
  }

  .astra-jump-nav {
    position: sticky;
    top: 0;
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(212, 168, 67, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(16, 10, 5, 0.96), rgba(10, 6, 3, 0.92));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    overflow: hidden;
  }

  [data-theme="light"] .astra-jump-nav {
    background: linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(250, 245, 233, 0.96));
  }

  .astra-jump-title {
    font-family: "Cinzel", serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.62rem;
    color: var(--gold-3);
    white-space: nowrap;
  }

  .astra-jump-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .astra-jump-links::-webkit-scrollbar {
    display: none;
  }

  .astra-jump-link {
    flex: 0 0 auto;
    position: relative;
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-family: "Cinzel", serif;
    font-size: 0.64rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
    transition: color 0.2s ease, opacity 0.2s ease;
  }

  .astra-jump-link:first-child {
    padding-left: 0;
  }

  .astra-jump-link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 16px;
    background: rgba(212, 168, 67, 0.18);
    transform: translateY(-50%);
  }

  .astra-jump-link:last-child {
    padding-right: 0;
  }

  .astra-jump-link:last-child::after {
    display: none;
  }

  .astra-jump-link:hover,
  .astra-jump-link:focus-visible {
    color: var(--gold-1);
    text-decoration: none;
  }

  .astra-jump-link.is-active {
    color: var(--gold-1);
  }

  .astra-jump-link.is-active,
  .astra-jump-link:hover {
    text-shadow: 0 0 14px rgba(212, 168, 67, 0.22);
  }

  .astra-sidebar {
    display: grid;
    gap: 16px;
    align-content: start;
  }

  .astra-sidebar .detail-panel {
    margin-bottom: 0;
  }

  .detail-panel {
    margin-bottom: 20px;
  }

  .detail-panel h2 {
    margin-bottom: 14px;
  }

  .detail-panel p,
  .faq-panel p,
  .library-card p,
  .next-panel p {
    
  }

  .quick-facts {
    list-style: none;
    margin: 0;
    display: grid;
    gap: 14px;
  }

  .quick-facts li {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
  }

  .fact-label {
    display: block;
    font-family: "Cinzel", serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.68rem;
    color: var(--gold-3);
    margin-bottom: 4px;
  }

  .pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .inline-link-list,
  .inline-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 12px;
    color: var(--text-muted);
    font-family: "Cinzel", serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .inline-link-list a,
  .inline-meta-list span {
    position: relative;
    padding-right: 12px;
    margin-right: 12px;
    color: inherit;
    text-decoration: none;
  }

  .inline-link-list a::after,
  .inline-meta-list span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 12px;
    background: rgba(212, 168, 67, 0.2);
    transform: translateY(-50%);
  }

  .inline-link-list a:last-child,
  .inline-meta-list span:last-child {
    padding-right: 0;
    margin-right: 0;
  }

  .inline-link-list a:last-child::after,
  .inline-meta-list span:last-child::after {
    display: none;
  }

  .inline-link-list a:hover,
  .inline-link-list a:focus-visible {
    color: var(--gold-1);
    text-decoration: none;
  }

  .astra-hero-band {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 20px;
    margin-top: 26px;
    border-radius: 18px;
    border: 1px solid rgba(212, 168, 67, 0.16);
    background: rgba(212, 168, 67, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .astra-hero-band-section+.astra-hero-band-section {
    padding-left: 20px;
    border-left: 1px solid rgba(212, 168, 67, 0.14);
  }

  .astra-hero-band h2 {
    margin: 8px 0 0;
    font-size: 1.3rem;
  }

  .astra-hero-band p {
    margin: 0;
    color: var(--text-dim);
  }

  .astra-hero-band-themes {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 18px;
    border-left: none;
    border-top: 1px solid rgba(212, 168, 67, 0.14);
  }

  .astra-article {
    border-radius: 24px;
    border: 1px solid rgba(212, 168, 67, 0.14);
    background: linear-gradient(180deg, rgba(14, 9, 4, 0.9), rgba(10, 6, 3, 0.92));
    box-shadow: var(--shadow-gold);
    overflow: hidden;
  }

  [data-theme="light"] .astra-article {
    background: linear-gradient(180deg, rgba(255, 252, 244, 0.97), rgba(249, 244, 233, 0.96));
  }

  .astra-section[id] {
    scroll-margin-top: 92px;
  }

  .astra-section+.astra-section {
    border-top: 1px solid rgba(212, 168, 67, 0.14);
  }

  .astra-section h2 {
    margin-bottom: 12px;
  }

  @media (prefers-reduced-motion: no-preference) {
    .page-top .row > div,
    .browse-entry,
    .library-card,
    .browse-card {
      animation: rise-soft 0.72s ease both;
    }

    .page-top .row > div:nth-child(2) {
      animation-delay: 0.08s;
    }

    .page-top .row > div:nth-child(3) {
      animation-delay: 0.16s;
    }
  }

  .astra-section p:last-child,
  .astra-section ul:last-child {
    margin-bottom: 0;
  }

  .astra-section-intro {
    padding-bottom: 22px;
  }

  .astra-reflection,
  .astra-inline-note {
    margin-top: 18px;
    border-left: 2px solid rgba(212, 168, 67, 0.45);
    border-radius: 0 14px 14px 0;
    background: rgba(212, 168, 67, 0.04);
  }

  .astra-reflection p,
  .astra-inline-note p {
    margin: 0;
    color: var(--text-dim);
  }

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

  .astra-story-list {
    margin-top: 18px;
  }

  .astra-story-item+.astra-story-item {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(212, 168, 67, 0.12);
  }

  .astra-story-item p {
    margin-bottom: 12px;
  }

  .astra-glance-block ul {
    margin: 0;
    padding-left: 18px;
  }

  .astra-glance-block+.astra-glance-block {
    padding-left: 18px;
    border-left: 1px solid rgba(212, 168, 67, 0.14);
  }

  .astra-next-prompt {
    margin-top: 16px;
    color: var(--text-dim);
  }

  .astra-section ul {
    margin-bottom: 14px;
    padding-left: 20px;
  }

  .astra-faq {
    display: grid;
    border-top: 1px solid rgba(212, 168, 67, 0.14);
    gap: 12px;
  }

  .astra-faq .faq-item {
    margin: 0;
    border: 1px solid rgba(212, 168, 67, 0.14);
    border-radius: 16px;
    background: rgba(212, 168, 67, 0.03);
    overflow: hidden;
  }

  .astra-faq .faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--text);
  }

  .astra-faq .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .astra-faq .faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    font-family: "Cinzel", serif;
    font-size: 0.95rem;
    color: var(--gold-2);
    transition: transform 0.2s ease;
  }

  .astra-faq .faq-item[open] summary::after {
    transform: rotate(45deg);
  }

  .astra-faq .faq-answer {
    border-top: 1px solid rgba(212, 168, 67, 0.12);
  }

  .astra-faq .faq-answer p {
    margin: 14px 0 0;
  }

  .toc-list {
    display: grid;
    gap: 10px;
  }

  .toc-list a {
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
  }

  .toc-list a:hover {
    color: var(--gold-1);
  }

  .fact-pill {
    display: inline-flex;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(212, 168, 67, 0.05);
    font-family: "Cinzel", serif;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-2);
  }

  .sidebar-subsection {
    margin-top: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
    border-top: 1px solid rgba(212, 168, 67, 0.14);
    border-bottom: 1px solid rgba(212, 168, 67, 0.14);
  }

  .sidebar-lead {
    color: var(--text-dim);
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .sidebar-byline {
    margin-bottom: 10px;
  }

  .eeat-facts {
    gap: 10px;
    margin-top: 16px;
  }

  .eeat-facts li {
    padding-bottom: 10px;
  }

  .sidebar-disclosure {
    margin-top: 16px;
  }

  .sidebar-disclosure summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
  }

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

  .sidebar-disclosure summary::after {
    content: "+";
    flex: 0 0 auto;
    font-family: "Cinzel", serif;
    font-size: 0.92rem;
    color: var(--gold-2);
    transition: transform 0.2s ease;
  }

  .sidebar-disclosure[open] summary::after {
    transform: rotate(45deg);
  }

  .sidebar-disclosure .eeat-stack {
    margin-top: 14px;
  }

  .eeat-stack {
    display: grid;
    gap: 12px;
  }

  .eeat-item {
    border-bottom: 1px solid rgba(212, 168, 67, 0.12);
  }

  .eeat-item p {
    margin: 0;
    font-size: 0.98rem;
    color: var(--text-dim);
  }

  .eeat-item p+p {
    margin-top: 10px;
  }

  .eeat-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .sidebar-link-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
  }

  .sidebar-link-card {
    display: block;
    border-bottom: 1px solid rgba(212, 168, 67, 0.12);
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .sidebar-link-card:hover {
    transform: translateX(2px);
    color: inherit;
  }

  .sidebar-link-title {
    display: block;
    font-family: "Cormorant Garamond", serif;
    
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
  }

  .sidebar-link-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .sidebar-surface {
    background: rgba(16, 10, 5, 0.78);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  }

  [data-theme="light"] .sidebar-surface {
    background: rgba(255, 251, 243, 0.92);
  }

  .faq-panel {
    margin-bottom: 20px;
  }

  .faq-panel .faq-item+.faq-item {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--glass-border);
  }

  .next-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .astra-next-grid {
    margin-top: 8px;
    padding-bottom: 20px;
  }

  .next-panel {
    display: block;
    color: inherit;
    text-decoration: none;
  }

  .sticky-detail-nav {
    position: sticky;
    bottom: 14px;
    z-index: 30;
    margin-top: 18px;
    padding-bottom: 8px;
  }

  .sticky-detail-nav-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: rgba(12, 8, 4, 0.92);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-gold);
  }

  [data-theme="light"] .sticky-detail-nav-inner {
    background: rgba(255, 251, 243, 0.94);
  }

  .sticky-nav-link {
    min-width: 0;
    border-left: 1px solid rgba(212, 168, 67, 0.16);
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .sticky-nav-link:first-child {
    border-left: none;
  }

  .sticky-nav-link:hover {
    background: rgba(212, 168, 67, 0.06);
    color: inherit;
  }

  .sticky-nav-link .fact-label {
    margin-bottom: 4px;
  }

  .sticky-nav-title {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.15;
  }

  @media (max-width: 991px) {
    .astra-hero-band {
      grid-template-columns: 1fr;
    }

    .astra-hero-band-section+.astra-hero-band-section {
      padding-left: 0;
      padding-top: 16px;
      border-left: none;
      border-top: 1px solid rgba(212, 168, 67, 0.14);
    }

    .astra-glance-grid {
      grid-template-columns: 1fr;
    }

    .astra-glance-block+.astra-glance-block {
      padding-left: 0;
      padding-top: 16px;
      border-left: none;
      border-top: 1px solid rgba(212, 168, 67, 0.14);
    }

    .astra-jump-nav {
      top: 0;
      gap: 8px;
    }

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

    .sticky-nav-link:nth-child(odd) {
      border-left: none;
    }

    .browse-layout {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .browse-aside {
      position: sticky;
      top: 78px;
      z-index: 25;
    }

    .browse-index {
      border-radius: 16px;
    }

    .browse-index-title {
      display: none;
    }

    .browse-index-toggle {
      display: flex;
    }

    .browse-index-mobile-label {
      display: block;
    }

    .browse-index-list {
      display: none;
      grid-template-columns: 1fr;
      max-height: min(46vh, 320px);
      overflow-y: auto;
      padding-right: 6px;
      margin-top: 10px;
    }

    .browse-index.is-open .browse-index-list {
      display: grid;
    }

    .browse-index.is-open .browse-index-toggle-icon {
      transform: rotate(180deg);
    }

  }

  @media (max-width: 767px) {
    .astra-hero {
      border-radius: 22px;
    }

    .astra-article {
      border-radius: 20px;
    }

    .astra-reflection,
    .astra-inline-note {
      margin-top: 16px;
    }

    .page-intro {
      font-size: 1.04rem;
    }

    .page-meta-line {
      font-size: 0.62rem;
      letter-spacing: 0.06em;
    }

    .page-meta-line span {
      padding-right: 10px;
      margin-right: 10px;
    }

    .astra-jump-nav {
      top: 0;
      gap: 6px;
      border-radius: 16px;
    }

    .astra-jump-title {
      font-size: 0.62rem;
    }

    .astra-jump-link {
      font-size: 0.58rem;
      letter-spacing: 0.06em;
    }

    .astra-jump-link::after {
      height: 12px;
    }

    .sticky-detail-nav {
      bottom: 10px;
    }

    .sticky-detail-nav-inner {
      display: flex;
      gap: 0;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .sticky-detail-nav-inner::-webkit-scrollbar {
      display: none;
    }

    .sticky-nav-link {
      min-width: 160px;
      flex: 0 0 auto;
      border-left: 1px solid rgba(212, 168, 67, 0.16);
    }

    .sticky-nav-link:first-child {
      border-left: none;
    }

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

    .browse-entry-layout {
      grid-template-columns: 1fr;
      gap: 18px;
    }

    .browse-entry {
      scroll-margin-top: 126px;
    }

    .browse-side {
      justify-items: start;
      text-align: left;
    }

    .browse-orb {
      width: 88px;
      height: 88px;
    }

    .browse-card::before {
      font-size: 2.6rem;
      top: 8px;
    }

    .browse-aside {
      top: 5px;
      margin-bottom: 6px;
    }

    .quick-facts li {
      padding-bottom: 10px;
    }

    .crumbs {
      gap: 6px;
      font-size: 0.64rem;
    }

    .fact-pill {
      font-size: 0.62rem;
      letter-spacing: 0.06em;
    }
  }
