:root {
  --qitu-blue: #3157ff;
  --qitu-blue-bright: #5976ff;
  --qitu-cream: #f4f0e7;
  --qitu-ink: #050607;
  --qitu-graphite: #111318;
  --qitu-danger: #ff6a4d;
}

html { scroll-padding-top: 90px; }

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 13px;
  color: #9ea6b4;
  font-size: 10px;
  letter-spacing: .08em;
  text-decoration: none;
  transition: .25s ease;
}

.top-link:hover,
.top-link:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,.17);
  background: rgba(255,255,255,.045);
}

.nav-price {
  background: linear-gradient(135deg, #eaf0ff 0%, #b9c7ff 43%, #fff 100%);
  color: #090b12;
  border-color: rgba(255,255,255,.65);
  box-shadow: 0 0 35px rgba(49,87,255,.22);
}

.hero h1 i {
  background: linear-gradient(90deg, #f7f2e8, #aab7ff 58%, #f7f2e8);
  -webkit-background-clip: text;
  color: transparent;
}

.price-sticker b {
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -.08em;
}

.custom-number::before { content: none; }

.funnel-strip {
  max-width: 1480px;
  margin: 70px auto 0;
  padding: 0 clamp(22px,4.5vw,70px);
}

.funnel-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.funnel-intro span {
  color: #778196;
  font-size: 9px;
  letter-spacing: .18em;
}

.funnel-intro b {
  color: var(--qitu-cream);
  font-size: clamp(1.35rem, 2.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -.05em;
}

.funnel-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.funnel-steps li {
  position: relative;
  display: grid;
  min-height: 180px;
  align-content: end;
  gap: 8px;
  padding: 26px 20px 24px 0;
  border-bottom: 1px solid var(--line);
}

.funnel-steps li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.funnel-steps i {
  position: absolute;
  top: 22px;
  right: 18px;
  color: rgba(130,150,255,.4);
  font-size: 2.8rem;
  font-style: normal;
  font-weight: 300;
  letter-spacing: -.08em;
}

.funnel-steps b {
  color: #eef2fb;
  font-size: 16px;
  font-weight: 450;
}

.funnel-steps span {
  color: #7f899a;
  font-size: 11px;
  line-height: 1.6;
}

.poster-image img { opacity: .8; filter: saturate(.72) contrast(1.02); }
.poster-card:hover img { opacity: 1; filter: saturate(1); }

.dialog-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.claim-button,
.copy-button,
.text-copy {
  min-height: 50px;
  border-radius: 14px;
  padding: 0 20px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.claim-button {
  border: 1px solid rgba(142,162,255,.7);
  background: linear-gradient(135deg, #f5f1e8, #c3ceff 70%, #fff);
  color: #090b12;
  box-shadow: 0 16px 48px rgba(49,87,255,.18);
}

.copy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  border: 1px solid var(--line-strong);
  background: var(--panel-strong);
  color: #e7ebf5;
}

.text-copy {
  border: 0;
  background: transparent;
  color: #7f899a;
}

.quick-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 60;
  display: none;
  width: min(560px, calc(100vw - 24px));
  min-height: 60px;
  grid-template-columns: repeat(3,1fr);
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(8,10,14,.86);
  box-shadow: 0 20px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(24px);
}

.quick-dock a {
  display: grid;
  place-items: center;
  color: #b4bccb;
  font-size: 10px;
  text-decoration: none;
}

.quick-dock a + a { border-left: 1px solid var(--line); }
.quick-dock a.is-primary { color: #fff; background: rgba(49,87,255,.16); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  max-width: calc(100vw - 36px);
  transform: translate(-50%, 24px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(10,12,17,.94);
  color: #eef2fa;
  box-shadow: 0 18px 70px rgba(0,0,0,.5);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transition: .28s ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Shared product pages */
.product-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 12%, rgba(49,87,255,.13), transparent 28%),
    linear-gradient(180deg, #050607, #0a0b0e 62%, #050607);
  color: #edf0f5;
}

.product-shell {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.product-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #eef2f8;
  text-decoration: none;
}

.product-brand img { width: 68px; height: 46px; object-fit: contain; }
.product-brand span { display: grid; gap: 4px; }
.product-brand b { font-size: 11px; letter-spacing: .13em; }
.product-brand small { color: #6f7888; font-size: 8px; letter-spacing: .14em; }

.product-links { display: flex; gap: 8px; }
.product-links a,
.ghost-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255,255,255,.025);
  color: #a7afbd;
  font-size: 10px;
  text-decoration: none;
}

.product-links a.is-active { color: #fff; border-color: rgba(104,130,255,.55); background: rgba(49,87,255,.12); }

.page-kicker { color: #8792a3; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.page-title { margin: 14px 0 0; font-size: clamp(3.7rem, 7vw, 8.4rem); font-weight: 300; line-height: .88; letter-spacing: -.075em; }
.page-lead { max-width: 690px; margin: 28px 0 0; color: #9099a8; font-size: 14px; line-height: 1.85; }

.member-hero {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr);
  gap: clamp(50px,8vw,130px);
  align-items: end;
  min-height: 620px;
  padding: 80px 0 70px;
}

.progress-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  padding: 38px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.018));
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 38px 110px rgba(0,0,0,.35);
}

.progress-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: rgba(49,87,255,.25);
  filter: blur(50px);
}

.progress-value { display: flex; align-items: end; gap: 12px; }
.progress-value b { font-size: 6.8rem; font-weight: 300; line-height: .8; letter-spacing: -.09em; }
.progress-value span { padding-bottom: 10px; color: #8d97a8; font-size: 12px; }
.progress-track { height: 8px; margin: 34px 0 18px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.progress-track i { display: block; width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#3157ff,#cbd4ff); box-shadow: 0 0 24px rgba(49,87,255,.5); }
.progress-card p { margin: 0; color: #9aa3b1; font-size: 13px; line-height: 1.7; }

.primary-action {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 15px;
  padding: 0 18px 0 22px;
  background: linear-gradient(135deg,#f5f1e8,#c4ceff 65%,#fff);
  color: #090b11;
  font-size: 11px;
  letter-spacing: .08em;
  text-decoration: none;
  box-shadow: 0 18px 52px rgba(49,87,255,.16);
}

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

.info-card,
.metric-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.028);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
}

.info-card { min-height: 190px; display: grid; align-content: space-between; padding: 26px; }
.info-card span { color: #707a8b; font-size: 9px; letter-spacing: .15em; }
.info-card b { max-width: 260px; font-size: 23px; font-weight: 400; line-height: 1.25; letter-spacing: -.03em; }
.info-card small { color: #8b94a4; line-height: 1.6; }

.share-stage {
  display: grid;
  grid-template-columns: minmax(350px,.92fr) minmax(340px,1.08fr);
  gap: clamp(50px,8vw,120px);
  align-items: center;
  padding: 70px 0;
}

.poster-canvas {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  background: #060709;
  box-shadow: 0 50px 140px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.1);
}

.poster-canvas .poster-cloud {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 6px;
  padding: 6px;
  opacity: .5;
  transform: scale(1.06) rotate(-3deg);
  filter: saturate(.82) contrast(1.05);
}

.poster-cloud img { width: 100%; height: 100%; object-fit: cover; }
.poster-canvas::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg,rgba(5,6,8,.15),rgba(5,6,8,.55) 42%,#050608 78%); }
.poster-message { position:absolute; z-index:2; left:40px; right:40px; bottom:38px; }
.poster-message img { width: 110px; height: 68px; object-fit:contain; margin-bottom: 18px; }
.poster-message h1 { margin:0; color:#fff; font-size:clamp(3rem,6vw,5rem); font-weight:300; line-height:.88; letter-spacing:-.075em; }
.poster-message h1 span { color: #9eb0ff; }
.poster-message p { max-width: 330px; margin:18px 0 0; color:#abb3c1; font-size:12px; line-height:1.65; }
.poster-bottom { display:grid; grid-template-columns: 1fr 116px; gap:24px; align-items:end; margin-top:30px; }
.poster-signature { display:grid; gap:6px; padding-top:14px; border-top:1px solid rgba(255,255,255,.16); }
.poster-signature b { font-size:11px; letter-spacing:.1em; }
.poster-signature span { color:#788294; font-size:8px; letter-spacing:.12em; }

.qr-frame {
  display:grid;
  aspect-ratio:1;
  place-items:center;
  border:8px solid #f5f1e8;
  border-radius:12px;
  background:
    linear-gradient(90deg,#08090c 12%,transparent 12% 24%,#08090c 24% 36%,transparent 36% 48%,#08090c 48% 60%,transparent 60% 72%,#08090c 72% 84%,transparent 84%),
    linear-gradient(#08090c 12%,#f5f1e8 12% 24%,#08090c 24% 36%,#f5f1e8 36% 48%,#08090c 48% 60%,#f5f1e8 60% 72%,#08090c 72% 84%,#f5f1e8 84%);
  color:#fff;
  font-size:8px;
  text-align:center;
  box-shadow:0 0 0 1px rgba(255,255,255,.28);
}

.share-controls { display:grid; gap:16px; }
.control-group { padding:22px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.025); }
.control-group label { display:block; margin-bottom:13px; color:#737d8f; font-size:9px; letter-spacing:.14em; }
.control-row { display:flex; flex-wrap:wrap; gap:8px; }
.choice { min-height:38px; border:1px solid var(--line); border-radius:999px; padding:0 14px; background:transparent; color:#9ca6b5; cursor:pointer; }
.choice.is-active { color:#fff; border-color:rgba(98,124,255,.6); background:rgba(49,87,255,.14); }
.status-note { border-left:2px solid #5872ff; padding:11px 0 11px 16px; color:#8791a1; font-size:11px; line-height:1.7; }

.admin-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:30px; padding-top:38px; }
.admin-side { position:sticky; top:24px; height:fit-content; border:1px solid var(--line); border-radius:22px; padding:14px; background:rgba(255,255,255,.025); }
.admin-side a { display:flex; min-height:42px; align-items:center; justify-content:space-between; border-radius:12px; padding:0 13px; color:#7f8999; font-size:11px; text-decoration:none; }
.admin-side a.is-active { color:#fff; background:rgba(49,87,255,.14); }
.admin-side i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.admin-main { min-width:0; }
.admin-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:28px; }
.admin-heading h1 { margin:0; font-size:clamp(2.6rem,5vw,5rem); font-weight:300; letter-spacing:-.06em; }
.admin-heading p { margin:10px 0 0; color:#7f899a; font-size:11px; }
.metric-card { min-height:145px; display:grid; align-content:space-between; padding:22px; }
.metric-card span { color:#7b8595; font-size:9px; letter-spacing:.12em; }
.metric-card b { font-size:2.6rem; font-weight:300; letter-spacing:-.06em; }
.metric-card small { color:#6e7889; }
.metric-card.is-alert { border-color:rgba(255,106,77,.35); }
.metric-card.is-alert b { color:#ff8a72; }
.admin-module-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:18px; }
.admin-module { min-height:190px; scroll-margin-top:24px; border:1px solid var(--line); border-radius:22px; padding:24px; background:linear-gradient(145deg,rgba(255,255,255,.042),rgba(255,255,255,.018)); box-shadow:inset 0 1px rgba(255,255,255,.05); }
.admin-module span { color:#727d8f; font-size:9px; letter-spacing:.13em; }
.admin-module h2 { max-width:360px; margin:18px 0 0; font-size:22px; font-weight:420; line-height:1.2; letter-spacing:-.03em; }
.admin-module p { margin:16px 0 24px; color:#818b9a; font-size:11px; line-height:1.7; }
.admin-module b { color:#aebcff; font-size:9px; font-weight:450; letter-spacing:.12em; }
.panel { margin-top:18px; padding:24px; overflow:auto; }
.panel-head { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:18px; }
.panel-head h2 { margin:0; font-size:18px; font-weight:450; }
.panel-head span { color:#707a8b; font-size:9px; letter-spacing:.12em; }
.data-table { width:100%; border-collapse:collapse; min-width:720px; }
.data-table th,.data-table td { height:54px; border-bottom:1px solid var(--line); padding:0 12px; text-align:left; font-size:11px; }
.data-table th { color:#6f798a; font-size:9px; font-weight:400; letter-spacing:.12em; }
.status-chip { display:inline-flex; min-height:27px; align-items:center; border:1px solid var(--line); border-radius:999px; padding:0 10px; color:#98a3b4; font-size:9px; }
.status-chip.is-on { border-color:rgba(79,112,255,.45); color:#b9c6ff; background:rgba(49,87,255,.1); }
.status-chip.is-off { border-color:rgba(255,106,77,.3); color:#ff9c88; }

@media (max-width: 900px) {
  .funnel-steps { grid-template-columns: repeat(2,1fr); }
  .funnel-steps li:nth-child(3) { border-left:0; }
  .member-hero,.share-stage { grid-template-columns:1fr; }
  .member-grid,.admin-grid { grid-template-columns:1fr 1fr; }
  .admin-module-grid { grid-template-columns:1fr; }
  .admin-layout { grid-template-columns:1fr; }
  .admin-side { position:static; display:flex; gap:4px; overflow-x:auto; }
  .admin-side a { flex:none; }
}

@media (max-width: 720px) {
  .top-actions .top-link { display:none; }
  .top-actions .nav-price { font-size:8px; padding:0 10px; }
  .funnel-strip { margin-top:45px; padding:0 18px; }
  .funnel-intro { display:grid; }
  .funnel-steps { grid-template-columns:1fr; }
  .funnel-steps li { min-height:130px; padding-left:0!important; border-left:0!important; }
  .quick-dock { display:grid; }
  body:has(.quick-dock) { padding-bottom:84px; }
  .poster-dialog { width:calc(100vw - 20px); max-height:calc(100svh - 20px); padding:10px; }
  .poster-dialog .dialog-poster-wrap img { max-height:42svh; }
  .poster-dialog .dialog-meta { padding:8px 8px 18px; }
  .poster-dialog .dialog-meta h3 { margin:10px 0 6px; font-size:2.1rem; }
  .poster-dialog .dialog-tip { margin:12px 0 0; padding-top:12px; }
  .poster-dialog .dialog-actions { margin-top:14px; }
  .product-shell { width:calc(100% - 24px); padding-top:12px; }
  .product-links a:not(.is-active) { display:none; }
  .member-hero { min-height:0; padding:60px 0; }
  .progress-card { padding:26px; }
  .member-grid,.admin-grid { grid-template-columns:1fr; }
  .share-stage { padding-top:45px; }
  .poster-canvas { border-radius:20px; }
  .poster-message { left:28px; right:28px; bottom:28px; }
  .poster-bottom { grid-template-columns:1fr 96px; }
  .admin-heading { align-items:start; flex-direction:column; }
}

@media (prefers-reduced-motion: reduce) {
  .toast { transition:none; }
}

/* Archive-first homepage — restore the approved black-grid composition. */
.hero {
  min-height: auto;
  overflow: visible;
  z-index: 80;
  border-bottom: 1px solid rgba(255,255,255,.085);
  background: rgba(4,5,7,.92);
}

.hero > .hero-grid,
.hero > .ticker,
.issue-note,
.funnel-strip,
.poster-lab {
  display: none;
}

.library-topbar {
  max-width: none;
  min-height: 74px;
  margin: 0;
  padding: 12px clamp(24px,4.7vw,72px);
  gap: 28px;
  background: rgba(5,6,8,.82);
  backdrop-filter: blur(22px);
}

.library-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 32px;
  min-width: 340px;
  color: #f7f7f4;
}

.library-brand img {
  width: 151px;
  height: 40px;
  object-fit: contain;
  filter: invert(1) brightness(1.35);
}

.library-brand span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid rgba(255,255,255,.28);
  padding-left: 31px;
  font-size: 17px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.library-actions {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.member-tier-control { position: relative; }

.member-tier-toggle,
.library-claim,
.library-invite {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .03em;
}

.member-tier-toggle,
.library-claim {
  border: 1px solid rgba(255,255,255,.72);
  background: #f3f0e9;
  color: #0b0c0f;
  box-shadow: inset 0 1px rgba(255,255,255,.95), 0 10px 34px rgba(0,0,0,.25);
}

.member-tier-toggle {
  gap: 10px;
  cursor: pointer;
}

.member-tier-toggle svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform .2s ease;
}

.member-tier-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.mini-rabbit {
  position: relative;
  width: 26px;
  height: 20px;
  display: inline-block;
}

.mini-rabbit::before,
.mini-rabbit::after {
  content: "";
  position: absolute;
  top: 0;
  width: 6px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 70% 70% 35% 35%;
  transform-origin: bottom;
}

.mini-rabbit::before { left: 6px; transform: rotate(-20deg); }
.mini-rabbit::after { right: 6px; transform: rotate(20deg); }

.mini-rabbit i {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 11px;
  border-radius: 55% 55% 45% 45%;
  background: #0b0c0f;
}

.library-claim { gap: 16px; }
.library-claim span { font-size: 18px; line-height: 1; }

.library-invite {
  gap: 9px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(7,8,10,.72);
  color: #f2f3f6;
}

.layers-icon,
.layers-icon::before,
.layers-icon::after {
  width: 14px;
  height: 9px;
  display: block;
  border: 1px solid currentColor;
  transform: rotate(30deg) skewX(-22deg);
}

.layers-icon { position: relative; border-width: 1.5px; }
.layers-icon::before,
.layers-icon::after { content: ""; position: absolute; left: -1px; }
.layers-icon::before { top: 3px; opacity: .62; }
.layers-icon::after { top: 7px; opacity: .32; }

.nav-progress {
  min-width: 226px;
  min-height: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  border-left: 1px solid rgba(255,255,255,.3);
  padding-left: 24px;
}

.nav-progress > span { display: grid; gap: 4px; }
.nav-progress small { color: #9da3ad; font-size: 9px; letter-spacing: .05em; }
.nav-progress b { color: #f5f5f2; font-size: 12px; font-weight: 650; }
.nav-progress b i { font-style: normal; }
.nav-progress-meta { min-width: 92px; }
.nav-progress-track { width: 100%; height: 9px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.14); }
.nav-progress-track b { display: block; width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#173cff,#4361ff); transition: width .35s ease; }

.member-tier-panel {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  z-index: 90;
  width: 380px;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  padding: 12px;
  background: rgba(10,11,14,.96);
  box-shadow: 0 30px 90px rgba(0,0,0,.62), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(28px);
}

.member-tier-panel[hidden] { display: none; }
.tier-panel-head { display: flex; justify-content: space-between; padding: 11px 12px 15px; }
.tier-panel-head span { font-size: 13px; font-weight: 650; }
.tier-panel-head small { color: #7c8491; font-size: 9px; letter-spacing: .12em; }

.tier-row {
  display: grid;
  grid-template-columns: 30px 96px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 0 11px;
  color: #d0d4dc;
}

.tier-row i { color: #8993a7; font-size: 9px; font-style: normal; letter-spacing: .12em; }
.tier-row b { color: #f0f1f4; font-size: 12px; font-weight: 550; }
.tier-row span { color: #c2c8d3; font-size: 10px; }
.tier-row em { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 4px 7px; color: #b7bfcc; font-size: 8px; font-style: normal; }
.tier-row.is-current { border-radius: 12px; background: rgba(49,87,255,.16); }
.tier-row.is-current em { border-color: rgba(92,119,255,.52); color: #dce2ff; }
.tier-row.is-pending { opacity: .82; }
.member-tier-panel > p { margin: 11px 10px 5px; color: #a2a9b5; font-size: 9px; line-height: 1.65; }

.archive {
  max-width: none;
  margin: 0;
  padding: 25px clamp(24px,4.7vw,72px) 120px;
}

.archive-hero-heading {
  min-height: 160px;
  display: grid;
  grid-template-columns: minmax(540px,1fr) minmax(270px,360px) 210px;
  align-items: end;
  gap: 30px;
  margin-bottom: 0;
  overflow: hidden;
}

.archive-title-block { align-self: center; }
.archive-title-block .eyebrow { margin-bottom: 17px; color: #c7c9ce; font-size: 10px; }
.archive-hero-heading .archive-title-block h2 {
  font-size: clamp(4rem,5.55vw,5.45rem);
  line-height: .92;
  white-space: nowrap;
}

.peek-rabbit-stage {
  position: relative;
  align-self: stretch;
  min-height: 160px;
}

.peek-rabbit-stage img {
  position: absolute;
  left: 50%;
  bottom: -18px;
  z-index: 3;
  width: 330px;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 34px rgba(0,0,0,.55));
}

.peek-blue-orbit {
  position: absolute;
  left: 50%;
  bottom: -72px;
  width: 310px;
  height: 112px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: #173cff;
  box-shadow: 0 0 70px rgba(23,60,255,.18);
}

.peek-halftone {
  position: absolute;
  right: -16px;
  bottom: 10px;
  width: 110px;
  height: 82px;
  background-image: radial-gradient(circle, rgba(255,255,255,.86) 1.2px, transparent 1.5px);
  background-size: 9px 9px;
  mask-image: radial-gradient(circle at 30% 60%, #000 0, transparent 72%);
  opacity: .7;
}

.archive-hero-heading .archive-count {
  align-self: center;
  justify-self: end;
  min-width: 200px;
}

.archive-hero-heading .archive-count b {
  color: #d4ddf2;
  font-size: clamp(4.5rem,6.5vw,7.1rem);
}

.archive-hero-heading .archive-count span {
  padding-bottom: 11px;
  color: #aab0bd;
  font-size: 11px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.archive .filter-panel {
  position: relative;
  top: auto;
  margin: 0;
  border: 1px solid rgba(255,255,255,.045);
  border-bottom-color: rgba(255,255,255,.13);
  padding: 15px 13px 20px;
  background: rgba(5,6,8,.87);
}

.archive .search-box {
  max-width: 58%;
  min-height: 52px;
  border-color: rgba(255,255,255,.29);
  border-radius: 16px;
  padding-inline: 20px;
  background: linear-gradient(110deg,rgba(255,255,255,.028),rgba(255,255,255,.065));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

.archive .search-box input { font-size: 14px; }
.archive .category-tabs { gap: 14px; margin-top: 18px; }
.archive .category-tab { min-height: 44px; padding: 0 26px; border-color: rgba(255,255,255,.27); font-size: 12px; }
.archive .category-tab.is-active { border-color: #3157ff; background: rgba(49,87,255,.18); box-shadow: inset 0 0 0 1px rgba(49,87,255,.45), 0 0 30px rgba(49,87,255,.07); }
.archive .poster-grid { gap: 26px 22px; margin-top: 28px; }
.archive .poster-card { border-radius: 20px; padding: 9px; }
.archive .poster-image { border-radius: 13px; }
.archive .poster-image img { opacity: .9; filter: saturate(.72) contrast(1.02); }
.archive .poster-info { display: none; }

.member-levels { margin: 20px 0 28px; }
.member-levels-head { display: grid; grid-template-columns: 1fr minmax(320px,.7fr); gap: 40px; align-items: end; margin-bottom: 24px; }
.member-levels-head h2 { max-width: 760px; margin: 8px 0 0; font-size: clamp(2.2rem,4vw,4.9rem); font-weight: 300; line-height: .96; letter-spacing: -.055em; }
.member-levels-head > p { margin: 0; color: #8992a1; font-size: 12px; line-height: 1.75; }
.member-level-track { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.level-card { min-height: 218px; display: grid; align-content: space-between; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; padding: 24px; background: rgba(255,255,255,.025); }
.level-card span { color: #778094; font-size: 9px; letter-spacing: .16em; }
.level-card b { font-size: 25px; font-weight: 430; letter-spacing: -.03em; }
.level-card p { margin: 0; color: #929aaa; font-size: 11px; line-height: 1.65; }
.level-card em { width: max-content; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 9px; color: #9da5b2; font-size: 8px; font-style: normal; letter-spacing: .08em; }
.level-card.is-current { border-color: rgba(92,119,255,.62); background: linear-gradient(145deg,rgba(49,87,255,.18),rgba(255,255,255,.02)); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 20px 60px rgba(49,87,255,.08); }
.level-card.is-pending { opacity: .78; }

@media(max-width:1280px) {
  .library-brand { min-width: 270px; gap: 20px; }
  .library-brand img { width: 126px; }
  .library-brand span { padding-left: 20px; font-size: 14px; }
  .library-actions { gap: 8px; }
  .member-tier-toggle,.library-claim,.library-invite { padding-inline: 13px; }
  .nav-progress { min-width: 184px; gap: 11px; padding-left: 16px; }
  .archive-hero-heading { grid-template-columns: minmax(430px,1fr) minmax(230px,310px) 180px; }
  .peek-rabbit-stage img { width: 290px; }
  .archive .category-tabs { gap: 8px; }
  .archive .category-tab { padding-inline: 18px; }
}

@media(max-width:1020px) {
  .library-topbar { flex-wrap: wrap; }
  .library-brand { min-width: 0; flex: 1; }
  .library-actions { flex: 0 0 100%; justify-content: flex-start; }
  .nav-progress { margin-left: auto; }
  .archive-hero-heading { grid-template-columns: minmax(0,1fr) 250px 160px; min-height: 150px; }
  .archive-hero-heading .archive-title-block h2 { white-space: normal; font-size: clamp(3.4rem,7vw,5rem); }
  .peek-rabbit-stage img { width: 250px; }
  .archive .search-box { max-width: 72%; }
  .member-level-track { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media(max-width:720px) {
  .library-topbar {
    min-height: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "brand brand tier"
      "claim invite progress";
    padding: 9px 12px 10px;
    gap: 7px 8px;
  }
  .library-brand { gap: 12px; }
  .library-brand { grid-area: brand; }
  .library-brand img { width: 112px; height: 31px; }
  .library-brand span { min-height: 25px; padding-left: 12px; font-size: 12px; }
  .library-actions { display: contents; }
  .member-tier-control { grid-area: tier; justify-self: end; }
  .member-tier-toggle,.library-claim,.library-invite { min-height: 38px; padding-inline: 12px; font-size: 10px; }
  .member-tier-toggle { padding-inline: 10px; }
  .member-tier-toggle .mini-rabbit { display: none; }
  .library-claim { grid-area: claim; }
  .library-invite { grid-area: invite; min-width: 0; }
  .nav-progress {
    grid-area: progress;
    width: auto;
    min-width: 88px;
    min-height: 38px;
    display: flex;
    margin: 0;
    gap: 6px;
    border-top: 0;
    border-left: 1px solid rgba(255,255,255,.18);
    padding: 0 0 0 9px;
  }
  .nav-progress > span { gap: 0; }
  .nav-progress > span:first-child small,
  .nav-progress-meta small { display: none; }
  .nav-progress b { font-size: 9px; }
  .nav-progress-meta { min-width: 40px; }
  .nav-progress-track { width: 40px; height: 7px; }
  .member-tier-panel { position: fixed; top: 92px; left: 12px; right: 12px; width: auto; transform: none; }
  .tier-row { grid-template-columns: 24px 86px 1fr auto; }
  .archive { padding: 18px 12px 85px; }
  .archive-hero-heading {
    min-height: 222px;
    grid-template-columns: 1fr 110px;
    grid-template-rows: auto 150px;
    align-items: start;
    gap: 5px 8px;
  }
  .archive-title-block { grid-column: 1/-1; align-self: start; }
  .archive-title-block .eyebrow { margin-bottom: 10px; }
  .archive-hero-heading .archive-title-block h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(2.15rem,9.5vw,2.5rem);
    letter-spacing: -.045em;
  }
  .peek-rabbit-stage { min-height: 150px; }
  .peek-rabbit-stage img { width: 230px; left: 43%; bottom: 0; }
  .peek-blue-orbit { width: 195px; height: 78px; bottom: -30px; }
  .peek-halftone { right: -4px; bottom: 5px; width: 76px; height: 60px; }
  .archive-hero-heading .archive-count { min-width: 110px; align-self: center; }
  .archive-hero-heading .archive-count b { font-size: 4rem; }
  .archive-hero-heading .archive-count span { font-size: 8px; }
  .archive .filter-panel { padding: 10px 7px 14px; }
  .archive .search-box { max-width: none; min-height: 48px; }
  .archive .category-tabs { gap: 7px; margin-top: 12px; }
  .archive .category-tab { min-height: 38px; padding-inline: 14px; font-size: 10px; }
  .archive .poster-grid { gap: 14px 8px; margin-top: 18px; }
  .member-levels-head { grid-template-columns: 1fr; gap: 16px; }
  .member-level-track { grid-template-columns: 1fr 1fr; gap: 8px; }
  .level-card { min-height: 180px; padding: 18px; }
  .level-card b { font-size: 20px; }
}
