/* 财商汇 Select 旗舰店 v4.4 — list + detail share one background language.
   Tokens: champagne #F6EBD0 · gold #E0C47A · bg #101014 · ok #8FE0A8 */

:root {
  --bg: #101014;
  --ink: #F7F1E6;
  --ink-dim: #C9BBA0;
  --ink-faint: #958A76;
  --champagne: #F6EBD0;
  --gold: #E0C47A;
  --line: rgba(230, 213, 176, .14);
  --line-strong: rgba(230, 213, 176, .32);
  --ok: #8FE0A8;
  --serif: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans CJK SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro Hei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color-scheme: dark;
}

html body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 42% at 50% 0%, rgba(246, 235, 208, .22), rgba(224, 196, 122, .08) 38%, transparent 70%),
    radial-gradient(ellipse 90% 36% at 50% 22%, rgba(224, 196, 122, .11), transparent 68%),
    radial-gradient(ellipse 85% 40% at 50% 52%, rgba(246, 235, 208, .08), transparent 72%),
    radial-gradient(ellipse 80% 38% at 50% 78%, rgba(224, 196, 122, .07), transparent 72%),
    radial-gradient(circle 420px at 0% 8%, rgba(246, 235, 208, .14), transparent 70%),
    radial-gradient(circle 380px at 100% 12%, rgba(224, 196, 122, .12), transparent 70%),
    radial-gradient(circle 400px at 0% 92%, rgba(246, 235, 208, .10), transparent 70%),
    radial-gradient(circle 420px at 100% 88%, rgba(224, 196, 122, .11), transparent 70%),
    repeating-linear-gradient(-32deg, transparent, transparent 16px, rgba(224, 196, 122, .028) 16px, rgba(224, 196, 122, .028) 17px),
    linear-gradient(180deg, rgba(246, 235, 208, .05) 0%, transparent 14%, transparent 86%, rgba(224, 196, 122, .04) 100%);
  background-attachment: scroll;
}

html body:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: soft-light;
}

html body > * { position: relative; z-index: 1; }

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

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

.top {
  height: 76px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 20, .78);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.top.detail {
  height: 68px;
  background: rgba(16, 16, 20, .82);
  gap: 18px;
}

.top img {
  height: 32px;
  width: auto;
  display: block;
}

.top.detail img { height: 30px; }

.brand-mark {
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .46em;
  color: var(--champagne);
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
}

.top.detail .brand-mark { margin-left: 4px; }

.top nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: .06em;
}

.top nav a:hover { color: var(--champagne); }

.top .apply {
  font-size: 11px;
  letter-spacing: .18em;
  color: #1a1408;
  font-weight: 650;
  padding: 11px 22px;
  background: linear-gradient(180deg, #F8E7C0 0%, #E8C56A 46%, #C9A24A 100%);
  box-shadow: 0 0 16px rgba(224, 160, 70, .35);
}

.top nav a.apply:hover { color: #1a1408; }

.crumb {
  margin-left: 24px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-dim);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crumb a { color: var(--ink-dim); }
.crumb a:hover { color: var(--champagne); }
.crumb i { font-style: normal; margin: 0 10px; opacity: .4; }

.top .back {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--champagne);
  border-bottom: 1px solid rgba(224, 196, 122, .55);
  padding-bottom: 2px;
}

.top .back:hover { color: var(--ink); }

.mast {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 64px 48px;
  text-align: center;
}

.mast .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 10px;
  letter-spacing: .48em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.mast .eyebrow:before,
.mast .eyebrow:after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--line-strong);
}

.mast h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--champagne);
  line-height: 1.12;
}

.mast p {
  margin: 0 auto;
  max-width: 480px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-dim);
  font-weight: 400;
}

.mast .count {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--ink-dim);
}

.mast .count b {
  color: var(--champagne);
  font-weight: 600;
  letter-spacing: .1em;
  margin: 0 6px;
}

.folio {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 64px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}

.folio > .directory-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-dim);
  letter-spacing: .14em;
  padding: 72px 0;
  font-size: 13px;
}

.card {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 220px;
  border: 1px solid rgba(227, 188, 117, .42);
  background: linear-gradient(165deg, rgba(22, 19, 14, .95) 0%, rgba(11, 10, 12, .97) 60%, rgba(8, 8, 10, .99) 100%);
  position: relative;
  overflow: hidden;
  color: inherit;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(224, 196, 122, .12), transparent 58%),
    linear-gradient(90deg, transparent 50%, rgba(224, 196, 122, .06));
}

.card:hover {
  border-color: rgba(245, 217, 156, .72);
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(224, 160, 70, .22), 0 24px 56px rgba(0, 0, 0, .5);
}

.card:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.card .brand-pane {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  border-right: 1px solid rgba(224, 196, 122, .22);
  background:
    repeating-linear-gradient(-35deg, transparent, transparent 11px, rgba(224, 196, 122, .035) 11px, rgba(224, 196, 122, .035) 12px),
    linear-gradient(180deg, #131210 0%, #0B0B0D 100%);
}

.card .logo-plate,
.curtain .logo-float {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .logo-plate {
  width: 136px;
  height: 80px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18), 0 0 0 1px rgba(224, 196, 122, .28);
}

.card .logo-plate img { max-width: 100%; max-height: 54px; object-fit: contain; }

.logo-fallback {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .12em;
  color: #1a1408;
  text-align: center;
  line-height: 1.25;
}

.card .logo-fallback { font-size: 14px; }

.card .pane-meta {
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--champagne);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
}

.card .copy {
  position: relative;
  z-index: 1;
  padding: 28px 30px 26px 28px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 0;
}

.card .rank {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .36em;
  margin-bottom: 10px;
  text-transform: lowercase;
}

.card h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--champagne);
  line-height: 1.22;
}

.card .claim {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 320px;
}

.card .foot {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(224, 196, 122, .32);
}

.card .archive {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
}

.card .archive .line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  line-height: 1;
}

.card .archive .k {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--ink-faint);
  font-weight: 500;
}

.card .archive .v {
  min-width: 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--champagne);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.card .enter {
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid rgba(224, 196, 122, .75);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}

.card:hover .enter { color: var(--champagne); border-color: var(--champagne); }

.folio-note {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-dim);
}

.folio-note .directory-label { justify-self: center; white-space: nowrap; }

.folio-search input {
  width: min(220px, 100%);
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(224, 196, 122, .45);
  background: transparent;
  color: var(--champagne);
  font: inherit;
  font-size: 12px;
  letter-spacing: .14em;
  outline: none;
}

.folio-search input::placeholder { color: var(--ink-faint); letter-spacing: .18em; }
.folio-search input:focus { border-bottom-color: var(--champagne); }

.folio-note .pages { justify-self: end; }

.folio-note .pages button {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-block;
  min-width: 32px;
  text-align: center;
  padding: 7px 0;
  margin-left: 4px;
  color: var(--ink-dim);
  font: inherit;
  font-size: 11px;
  letter-spacing: .08em;
  cursor: pointer;
}

.folio-note .pages button.on {
  color: #1a1408;
  background: var(--champagne);
  font-weight: 650;
}

.folio-note .pages button:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 36px 64px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--ink-faint);
}

.site-foot p { margin: 0; }

.site-foot .disclaimer {
  margin-top: 12px;
  letter-spacing: .08em;
  font-size: 11px;
  line-height: 1.7;
}

/* —— Detail: curtain matches the narrative column —— */
.curtain {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0 26px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.curtain:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 85% at 38% 50%, rgba(224, 196, 122, .14), transparent 68%),
    radial-gradient(ellipse 30% 60% at 88% 48%, rgba(224, 196, 122, .08), transparent 70%),
    linear-gradient(180deg, rgba(224, 196, 122, .035), transparent 42%),
    repeating-linear-gradient(-28deg, transparent, transparent 18px, rgba(224, 196, 122, .018) 18px, rgba(224, 196, 122, .018) 19px);
  pointer-events: none;
}

.curtain-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
}

.curtain-shell:after {
  content: "";
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: -26px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(224, 196, 122, .55) 20%, rgba(246, 235, 208, .7) 50%, rgba(224, 196, 122, .55) 80%, transparent 100%);
  pointer-events: none;
}

.curtain-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 18px 24px 16px;
  border: 1px solid rgba(224, 196, 122, .28);
  background: linear-gradient(135deg, rgba(20, 17, 12, .55) 0%, rgba(10, 10, 12, .35) 55%, rgba(14, 12, 9, .5) 100%);
  box-shadow: inset 0 1px 0 rgba(246, 235, 208, .12);
}

.curtain-inner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 196, 122, .65), transparent);
}

.curtain-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

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

.curtain .logo-float {
  width: 134px;
  height: 81px;
  flex-shrink: 0;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4), 0 0 0 1px rgba(224, 196, 122, .35);
  position: relative;
}

.curtain .logo-float:after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(224, 196, 122, .22);
  pointer-events: none;
}

.curtain .logo-float img { max-width: 100%; max-height: 56px; object-fit: contain; }
.curtain .logo-fallback { font-size: 17px; }

.brand-text { text-align: left; min-width: 0; }

.curtain .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--ok);
  margin-bottom: 5px;
  font-weight: 600;
}

.curtain .status:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(143, 224, 168, .65);
}

.curtain .status.pending { color: var(--gold); }
.curtain .status.pending:before { background: var(--gold); box-shadow: none; }

.curtain h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--champagne);
  line-height: 1.05;
}

.curtain .gold-rule {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(246, 235, 208, .5));
  margin: 7px 0 6px;
}

.curtain .sub {
  margin: 0;
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--gold);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(224, 196, 122, .28);
  position: relative;
}

.hero-actions:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(246, 235, 208, .55), transparent);
}

.archive-pair {
  text-align: right;
  padding: 2px 0 14px;
  border-bottom: 1px solid rgba(224, 196, 122, .35);
  min-width: 188px;
}

.archive-lead {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: .2em;
  line-height: 1.2;
  color: var(--ink-dim);
  font-weight: 500;
}

.archive-lead b {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--champagne);
  margin-left: 8px;
  font-variant-numeric: tabular-nums;
}

.archive-lead .sep {
  margin: 0 12px;
  color: rgba(224, 196, 122, .55);
  letter-spacing: 0;
  font-size: 14px;
}

.curtain .cta {
  display: inline-block;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .22em;
  font-weight: 650;
  color: #1a1408;
  padding: 15px 30px;
  background: linear-gradient(180deg, #F8E7C0 0%, #E8C56A 46%, #C9A24A 100%);
  box-shadow: 0 0 18px rgba(224, 160, 70, .38), 0 8px 22px rgba(201, 162, 74, .2);
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(224, 196, 122, .22);
}

.curtain .cta:hover { color: #1a1408; filter: brightness(1.06); }

.curtain-facts {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(224, 196, 122, .28);
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
}

.cf-item {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid rgba(224, 196, 122, .22);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-item:first-child { padding-left: 2px; }
.cf-item:last-child { border-right: 0; padding-right: 2px; }

.cf-item .k {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .22em;
  color: var(--gold);
  font-weight: 600;
}

.cf-item .v {
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: normal;
  color: var(--champagne);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-item .v a { border-bottom: 1px solid rgba(224, 196, 122, .45); padding-bottom: 1px; }

.narrative { max-width: 1080px; margin: 0 auto; padding: 8px 64px 64px; }

.chapter { padding: 44px 0 0; }
.chapter + .chapter { border-top: 1px solid rgba(230, 213, 176, .08); margin-top: 36px; padding-top: 40px; }

.chap-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 22px;
}

.chap-num {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  color: rgba(224, 196, 122, .42);
  line-height: 1;
  letter-spacing: -.02em;
  min-width: 64px;
}

.chap-title {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--champagne);
  margin: 0;
}

.chap-kicker {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 500;
}

.prose {
  font-size: 17px;
  line-height: 1.85;
  color: #D2C4A8;
  max-width: 680px;
  margin: 0 0 0 84px;
}

.chapter-lic { position: relative; }
.chapter-lic .chap-num { color: rgba(224, 196, 122, .72); text-shadow: 0 0 24px rgba(224, 196, 122, .28); }
.chapter-lic .chap-title { letter-spacing: .2em; }
.chapter-lic .chap-head { margin-bottom: 18px; align-items: center; }

.lic-head-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ink-dim);
  white-space: nowrap;
}

.lic-head-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(143, 224, 168, .35);
  background: rgba(143, 224, 168, .06);
  color: var(--ok);
  font-weight: 600;
  letter-spacing: .18em;
}

.lic-head-meta .pill:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(143, 224, 168, .7);
}

.lic-head-meta .gold-n { color: var(--gold); font-weight: 600; }

.lic-stage {
  margin-left: 84px;
  position: relative;
  padding: 18px 16px 16px;
  border: 1px solid rgba(224, 196, 122, .32);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(224, 196, 122, .08), transparent 70%),
    linear-gradient(180deg, rgba(22, 18, 12, .75), rgba(9, 9, 11, .95));
  box-shadow: inset 0 1px 0 rgba(246, 235, 208, .12), 0 18px 40px rgba(0, 0, 0, .28);
}

.lic-stage:before,
.lic-stage:after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  height: 1px;
}

.lic-stage:before { top: 0; background: linear-gradient(90deg, transparent, rgba(246, 235, 208, .75), transparent); }
.lic-stage:after { bottom: 0; background: linear-gradient(90deg, transparent, rgba(224, 196, 122, .45), transparent); }

.lic-stage .c-tl,
.lic-stage .c-tr,
.lic-stage .c-bl,
.lic-stage .c-br {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}

.lic-stage .c-tl { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.lic-stage .c-tr { top: -1px; right: -1px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.lic-stage .c-bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.lic-stage .c-br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.lic-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lic-rail.count-1 { grid-template-columns: minmax(0, 1fr); }
.lic-rail.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lic-stage.single { max-width: 860px; }

.lic-card {
  padding: 18px 16px 16px;
  border: 1px solid rgba(224, 196, 122, .28);
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(224, 196, 122, .12), transparent 55%),
    linear-gradient(180deg, rgba(28, 24, 16, .95), rgba(10, 10, 12, .98));
  position: relative;
  box-shadow: inset 0 1px 0 rgba(246, 235, 208, .1);
}

.lic-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), rgba(246, 235, 208, .85), var(--gold), transparent);
}

.lic-card .lic-label {
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.lic-card .auth {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--champagne);
  letter-spacing: .1em;
  margin-bottom: 2px;
  line-height: 1.15;
  text-shadow: 0 0 20px rgba(224, 196, 122, .22);
  word-break: break-word;
}

.lic-card .country {
  font-size: 14px;
  color: var(--ink-dim);
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.lic-card .code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(224, 196, 122, .22);
  background: rgba(0, 0, 0, .28);
}

.lic-card .code-row .ck {
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--gold);
  flex-shrink: 0;
}

.lic-card .code-row .cv {
  font-size: 14px;
  color: var(--champagne);
  letter-spacing: .04em;
  font-weight: 500;
  text-align: right;
  line-height: 1.45;
}

.lic-card .st {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--ok);
  font-weight: 650;
  padding: 5px 10px;
  background: rgba(143, 224, 168, .08);
  border: 1px solid rgba(143, 224, 168, .32);
}

.lic-card .st:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(143, 224, 168, .75);
}

.lic-card .st.pending {
  color: var(--gold);
  background: rgba(224, 196, 122, .08);
  border-color: rgba(224, 196, 122, .32);
}

.lic-card .st.pending:before { background: var(--gold); box-shadow: none; }

/* A single licence reads as a horizontal certificate and fills the stage. */
.lic-rail.count-1 .lic-card {
  display: grid;
  grid-template-columns: minmax(232px, 36%) minmax(0, 1fr);
  align-items: center;
  column-gap: 0;
  padding: 20px 22px 18px;
}

.lic-rail.count-1 .lic-card .lic-identity {
  min-width: 0;
  padding-right: 28px;
  border-right: 1px solid rgba(224, 196, 122, .28);
}

.lic-rail.count-1 .lic-card .lic-label { margin-bottom: 8px; }
.lic-rail.count-1 .lic-card .country { margin-bottom: 0; }

.lic-rail.count-1 .lic-card .lic-grant {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding-left: 28px;
}

.lic-rail.count-1 .lic-card .grant-panel {
  width: 100%;
  padding: 12px 14px 13px;
  border: 1px solid rgba(224, 196, 122, .22);
  background: rgba(0, 0, 0, .28);
}

.lic-rail.count-1 .lic-card .entity {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.25;
  margin-bottom: 6px;
  word-break: break-word;
}

.lic-rail.count-1 .lic-card .grant-line {
  font-size: 14px;
  letter-spacing: .04em;
  line-height: 1.5;
  font-weight: 500;
  word-break: break-word;
}

.lic-rail.count-1 .lic-card .grant-line + .grant-line { margin-top: 2px; }

.lic-empty {
  margin: 8px 4px;
  color: var(--ink-dim);
  font-size: 15px;
  letter-spacing: .08em;
}

.acct-wrap { margin-left: 84px; border: 1px solid var(--line); overflow-x: auto; }
.acct-table { width: 100%; border-collapse: collapse; min-width: 680px; }

.acct-table th {
  text-align: left;
  padding: 12px 18px;
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 600;
  color: var(--gold);
  background: rgba(224, 196, 122, .045);
  border-bottom: 1px solid var(--line);
}

.acct-table td {
  padding: 16px 18px;
  font-size: 15px;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.acct-table tr:last-child td { border-bottom: 0; }

.acct-table td:first-child {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--champagne);
  letter-spacing: .05em;
}

.plat-inline {
  margin: 14px 0 0 84px;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
}

.plat-inline .plabel {
  flex: 0 0 auto;
  padding: 14px 20px;
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--gold);
  border-right: 1px solid var(--line);
  background: rgba(224, 196, 122, .04);
  display: flex;
  align-items: center;
}

.plat-inline .pitems { flex: 1; display: flex; align-items: stretch; min-width: 0; }

.plat-inline .pitem {
  flex: 1;
  padding: 14px 16px;
  text-align: center;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--champagne);
  border-right: 1px solid var(--line);
  min-width: 0;
}

.plat-inline .pitem:last-child { border-right: 0; }

.plat-inline .pitem span {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ink-faint);
}

.facts {
  margin-left: 84px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  border-top: 1px solid var(--line);
  padding-top: 2px;
}

.facts .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.facts .k { color: var(--ink-dim); letter-spacing: .12em; font-size: 13px; flex-shrink: 0; }
.facts .v { color: var(--champagne); text-align: right; font-weight: 500; min-width: 0; }
.facts .v a { border-bottom: 1px solid rgba(224, 196, 122, .5); padding-bottom: 1px; }

.foot-meta {
  margin: 28px 0 0 84px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.address-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-dim);
  letter-spacing: .04em;
  max-width: 520px;
}

.news-tight { list-style: none; padding: 0; margin: 0; min-width: 260px; }

.news-tight li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 14px;
}

.news-tight time {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: .06em;
  white-space: nowrap;
}

.news-tight span { color: var(--ink-dim); line-height: 1.45; }
.news-tight .quiet { color: var(--ink-faint); letter-spacing: .08em; }

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

@media (max-width: 1100px) {
  .card { grid-template-columns: 160px 1fr; }
  .card .copy { padding: 22px 20px; }
  .card h2 { font-size: 22px; }
  .card .archive .v { font-size: 14px; }
  .curtain h1 { font-size: 34px; }
  .lic-rail { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .top { height: 64px; padding: 0 16px; gap: 12px; }
  .top nav { gap: 16px; }
  .top nav a:not(.apply) { display: none; }
  .crumb { display: none; }
  .mast { padding: 48px 20px 28px; }
  .mast h1 { font-size: 36px; }
  .folio { grid-template-columns: 1fr; padding: 4px 20px 48px; }
  .card { grid-template-columns: 132px 1fr; min-height: 0; }
  .card .logo-plate { width: 108px; height: 64px; }
  .card .claim { max-width: none; }
  .folio-note { grid-template-columns: 1fr; padding: 0 20px 28px; justify-items: start; }
  .folio-note .directory-label,
  .folio-note .pages { justify-self: start; }
  .site-foot { padding: 28px 20px; }
  .narrative,
  .curtain-shell { padding-left: 20px; padding-right: 20px; }
  .curtain-shell:after { left: 20px; right: 20px; }
  .curtain-top { flex-direction: column; align-items: stretch; }
  .hero-actions {
    align-items: flex-start;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(224, 196, 122, .28);
    padding-top: 14px;
  }
  .hero-actions:before { display: none; }
  .archive-pair { text-align: left; min-width: 0; }
  .archive-lead { justify-content: flex-start; }
  .curtain-facts { flex-wrap: wrap; }
  .cf-item { flex: 1 1 46%; padding: 12px 16px; border-bottom: 1px solid rgba(224, 196, 122, .18); }
  .prose,
  .lic-stage,
  .acct-wrap,
  .plat-inline,
  .facts,
  .foot-meta { margin-left: 0; }
  .lic-rail,
  .lic-rail.count-1,
  .lic-rail.count-2 { grid-template-columns: 1fr; }
  .lic-rail.count-1 .lic-card {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .lic-rail.count-1 .lic-card .lic-identity {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(224, 196, 122, .28);
  }
  .lic-rail.count-1 .lic-card .lic-grant { padding-left: 0; }
  .lic-stage.single { max-width: none; }
  .facts,
  .foot-meta { grid-template-columns: 1fr; }
  .plat-inline { flex-direction: column; }
  .plat-inline .plabel { border-right: 0; border-bottom: 1px solid var(--line); }
  .plat-inline .pitems { flex-direction: column; }
  .plat-inline .pitem { border-right: 0; border-bottom: 1px solid var(--line); }
  .plat-inline .pitem:last-child { border-bottom: 0; }
  .chap-num { font-size: 32px; min-width: 40px; }
  .chap-head { gap: 12px; }
  .lic-head-meta { display: none; }
  .folio-search input { font-size: 16px; }
}

/* Metallic gold — light-to-dark metal, warm glow. Display titles are italic serif. */
:root {
  --metal: linear-gradient(180deg, #F7E4B8 0%, #F5D99C 18%, #E8DAAF 36%, #E3BC75 62%, #DDB165 82%, #826F38 100%);
}

.mast h1,
.curtain h1,
.card h2,
.card .rank,
.chap-title {
  font-style: italic;
}

.mast h1,
.mast .eyebrow,
.mast .count b,
.brand-mark,
.card .rank,
.card h2,
.card .pane-meta,
.card .archive .v,
.card .enter,
.curtain h1,
.curtain .sub,
.archive-lead b,
.cf-item .k,
.cf-item .v,
.cf-item .v a,
.chap-num,
.chap-title,
.chap-kicker,
.lic-head-meta .gold-n,
.lic-card .lic-label,
.lic-card .auth,
.lic-card .entity,
.lic-card .grant-line,
.lic-card .code-row .ck,
.lic-card .code-row .cv,
.acct-table th,
.acct-table td:first-child,
.plat-inline .plabel,
.plat-inline .pitem,
.facts .v,
.facts .v a,
.news-tight time {
  background-image: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.plat-inline .pitem span {
  background-image: none;
  -webkit-text-fill-color: var(--ink-faint);
  color: var(--ink-faint);
}

.mast h1,
.curtain h1,
.card h2,
.card .rank,
.chap-num,
.chap-title,
.lic-card .auth {
  filter: drop-shadow(0 0 7px rgba(224, 160, 70, .48)) drop-shadow(0 1px 0 rgba(130, 111, 56, .4));
}

.card:hover .enter {
  background-image: linear-gradient(180deg, #FFF6DE 0%, #F5D99C 40%, #E3BC75 100%);
  -webkit-text-fill-color: transparent;
}

.mast .eyebrow:before,
.mast .eyebrow:after,
.curtain .gold-rule {
  background: linear-gradient(90deg, transparent, #F7E4B8, #E3BC75 55%, #826F38);
  box-shadow: 0 0 8px rgba(224, 160, 70, .5);
}

.curtain-shell:after,
.curtain-inner:before,
.lic-stage:before,
.lic-card:before {
  background: linear-gradient(90deg, transparent, #F7E4B8, #E3BC75 50%, #F5D99C, transparent);
}

.curtain-inner,
.lic-stage,
.lic-card {
  border-color: rgba(227, 188, 117, .48);
}

.lic-stage .c-tl,
.lic-stage .c-tr,
.lic-stage .c-bl,
.lic-stage .c-br {
  border-color: #F5D99C;
  filter: drop-shadow(0 0 4px rgba(224, 160, 70, .75));
}

.card .foot,
.archive-pair {
  border-top-color: rgba(227, 188, 117, .55);
  border-bottom-color: rgba(227, 188, 117, .5);
}

.card .enter { border-bottom-color: rgba(227, 188, 117, .85); }
.card:hover .enter { border-bottom-color: #F7E4B8; }

.folio-note .pages button.on {
  background: linear-gradient(180deg, #F8E7C0, #E3BC75 55%, #C9A24A);
  color: #1a1408;
  -webkit-text-fill-color: #1a1408;
}

.top .apply,
.curtain .cta,
.top nav a.apply:hover,
.curtain .cta:hover {
  color: #1a1408;
  -webkit-text-fill-color: #1a1408;
  filter: none;
}

