/* STARTIONS Prime (prime.startions.cloud): luxe Lincoln green (#195905), glass panels, glossy gold (#ffc107) gradients. */
:root {
  --bg: #0f3a03; --bg-2: #195905; --bg-3: #236f0a; --text: #f2fbea; --muted: #b8d6a6; --faint: #8fb27c;
  --glass: rgba(255,255,255,.06); --glass-2: rgba(255,255,255,.1); --glass-solid: rgba(18,66,6,.8); --line: rgba(255,255,255,.12); --line-2: rgba(255,255,255,.22);
  --gold: #ffc107; --gold-2: #ffd54f; --gold-3: #e0a800; --gold-ink: #2a1600; --violet: #4caf50; --violet-2: #81c784; --ok: #6ee7b7; --bad: #fda4af;
  --radius: 18px; --shadow: 0 24px 60px -24px rgba(0,0,0,.7), 0 2px 8px -2px rgba(0,0,0,.4);
  --gold-grad: linear-gradient(135deg, #ffe082 0%, #ffc107 45%, #e6a100 100%);
  --gloss: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.02) 42%, rgba(255,255,255,0) 60%);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --serif: "Fraunces", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font: 16px/1.55 var(--sans); min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(70% 50% at 100% 0%, rgba(129,199,132,.3), transparent 60%), radial-gradient(60% 40% at 0% 100%, rgba(255,193,7,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 40%, #082802 100%); background-attachment: fixed; }
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt { margin-top: 22px; }

/* Glass */
.box, .card, .collection, .pass, .filters, .rules-grid div, .contents, .prose, .empty, .suggest, .reader-bar, .flash, .foot {
  background: var(--glass); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--line); position: relative; }
.box::before, .card::before, .collection::before, .pass::before, .prose::before, .rules-grid div::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--gloss); pointer-events: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(15,58,3,.6); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); color: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -20px rgba(0,0,0,.8); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand img { height: 38px; width: auto; filter: drop-shadow(0 4px 14px rgba(255,193,7,.35)); }
.search { position: relative; flex: 1; max-width: 520px; display: flex; align-items: center; background: rgba(255,255,255,.07); border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; height: 44px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,193,7,.18), inset 0 1px 0 rgba(255,255,255,.08); }
.search svg { width: 18px; height: 18px; opacity: .7; flex: none; }
.search input { flex: 1; background: none; border: 0; color: #fff; font: inherit; font-size: 15px; padding: 0 10px; outline: none; min-width: 0; }
.search input::placeholder { color: rgba(255,255,255,.5); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--glass-solid); color: var(--text); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; z-index: 40; }
.suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--line); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover, .suggest a.sel { background: rgba(255,193,7,.14); }
.suggest small { color: var(--muted); white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a, .nav button { color: #fff; text-decoration: none; font-size: 14px; padding: 8px 13px; border-radius: 11px; background: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.nav a.on, .nav a:hover, .nav button:hover { background: var(--glass-2); border-color: var(--line); }
.nav .ghost { color: rgba(255,255,255,.7); }
.tier { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; margin: 0 6px; }
.tier.prime { background: var(--gold-grad); color: var(--gold-ink); box-shadow: 0 6px 18px -6px rgba(255,193,7,.6); }
.tier.std { background: var(--glass-2); color: #fff; border: 1px solid var(--line); }
@media (max-width: 900px) { .top .search { display: none; } .nav a { padding: 8px 9px; font-size: 13px; } }
@media (max-width: 640px) { .nav .tier, .nav a[href="/browse?kind=link"] { display: none; } .nav a { white-space: nowrap; } }

/* Flash */
.flash { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; font-size: 14px; }
.flash.ok { color: var(--ok); border-color: rgba(110,231,183,.35); }
.flash.bad { color: var(--bad); border-color: rgba(253,164,175,.35); }
.flash .copy { width: 100%; margin-top: 8px; padding: 8px 10px; font: 13px var(--sans); border: 1px solid var(--line-2); border-radius: 8px; background: rgba(0,0,0,.3); color: #fff; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(55% 70% at 85% 15%, rgba(255,193,7,.22), transparent 60%),
  radial-gradient(50% 60% at 15% 85%, rgba(76,175,80,.45), transparent 60%),
  radial-gradient(40% 40% at 60% 110%, rgba(255,193,7,.12), transparent 60%),
  linear-gradient(180deg, rgba(35,111,10,.55), rgba(15,58,3,0) 70%); }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 28px); mask-image: linear-gradient(180deg, #000, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); }
.hero-bg::after { content: ""; position: absolute; right: -8%; top: -24%; width: 48vw; max-width: 660px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,193,7,.35); box-shadow: inset 0 0 0 60px rgba(255,193,7,.05), inset 0 0 0 120px rgba(255,193,7,.04), inset 0 0 0 180px rgba(255,193,7,.03), 0 0 120px rgba(255,193,7,.15); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 76px 20px 70px; }
.hero-side { position: relative; }
.hero-photo { margin: 0; position: relative; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 6px rgba(255,193,7,.12), 0 0 80px rgba(255,193,7,.18); transform: rotate(-1.5deg); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 5/3; object-fit: cover; object-position: center 35%; display: block; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 30%, transparent 60%, rgba(8,40,2,.75)); pointer-events: none; }
.hero-photo::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, rgba(255,224,130,.9), rgba(255,193,7,.1) 40%, rgba(255,193,7,.6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero-photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; font: 500 italic 15px var(--serif); color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero-side .pass { margin: 18px 0 0; width: 100%; position: relative; z-index: 2; padding: 18px 22px; }
.hero-side .pass-name { font-size: 22px; margin: 10px 0 12px; }
.hero-side .pass dl { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-side .pass dl div { flex-direction: column; gap: 2px; border-top: 0; border-left: 1px solid rgba(0,0,0,.12); padding: 0 0 0 12px; }
.hero-side .pass dl div:first-child { border-left: 0; padding-left: 0; }
.hero-side .pass:not(.gold) dl div { border-left-color: var(--line); }
.hero-side .pass dd { text-align: left; }
.hero-side .pass-link { margin-top: 12px; }
.hero-inner.one { grid-template-columns: 1fr; max-width: 820px; padding: 110px 20px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero h1 { font: 600 clamp(38px, 5.4vw, 68px)/1.02 var(--serif); letter-spacing: -.02em; text-shadow: 0 10px 40px rgba(0,0,0,.4); }
.hero h1 em { font-style: italic; font-weight: 500; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(255,193,7,.35)); }
.hero p { font-size: 18px; color: rgba(255,255,255,.78); max-width: 60ch; margin: 22px 0 28px; }
.hero-search { position: relative; display: flex; align-items: center; background: rgba(255,255,255,.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 6px 6px 6px 16px; max-width: 680px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.2); }
.hero-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255,193,7,.18), 0 30px 60px -24px rgba(0,0,0,.7); }
.hero-search svg { width: 20px; height: 20px; color: rgba(255,255,255,.7); flex: none; }
.hero-search input { flex: 1; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; padding: 12px; outline: none; min-width: 0; }
.hero-search input::placeholder { color: rgba(255,255,255,.5); }
.hero-search button { background: var(--gold-grad); color: var(--gold-ink); border: 0; border-radius: 12px; padding: 12px 22px; font: 700 15px var(--sans); cursor: pointer; box-shadow: 0 10px 24px -10px rgba(255,193,7,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.hero-search button:hover { filter: brightness(1.06); }
.hero-search .suggest { top: calc(100% + 8px); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { color: #fff; text-decoration: none; font-size: 13px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 3px rgba(255,193,7,.12); }
.pass { border-radius: 22px; padding: 24px; box-shadow: var(--shadow); overflow: hidden; }
.pass.gold { background: linear-gradient(145deg, #ffe082 0%, #ffc107 40%, #e6a100 75%, #ffd54f 100%); color: var(--gold-ink); border-color: rgba(255,255,255,.5); box-shadow: 0 30px 70px -30px rgba(255,193,7,.6), var(--shadow); }
.pass.gold::before { background: linear-gradient(115deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(255,255,255,.25) 100%); }
.pass > * { position: relative; }
.pass-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.pass-top img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); border-radius: 8px; }
.pass-name { font: 600 26px/1.1 var(--serif); margin: 26px 0 18px; }
.pass dl { margin: 0; display: grid; gap: 10px; }
.pass dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-top: 1px solid rgba(0,0,0,.12); padding-top: 8px; }
.pass:not(.gold) dl div { border-top-color: var(--line); }
.pass dt { opacity: .8; } .pass dd { margin: 0; font-weight: 700; text-align: right; }
.pass-link { display: inline-block; margin-top: 16px; font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; padding: 56px 20px 44px; } .hero-side { max-width: 520px; } .hero-photo { transform: none; } .hero-side .pass dl { grid-template-columns: 1fr 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--glass-2); color: #fff; font: 600 15px var(--sans); text-decoration: none; cursor: pointer; width: 100%; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.btn:hover { background: rgba(255,255,255,.16); }
.btn.primary { background: linear-gradient(135deg, #66bb6a, #2e7d32 60%, #1b5e20); border-color: rgba(255,255,255,.25); box-shadow: 0 14px 30px -14px rgba(46,125,50,.9), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.gold { background: var(--gold-grad); border-color: rgba(255,255,255,.4); color: var(--gold-ink); box-shadow: 0 14px 30px -14px rgba(255,193,7,.9), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.gold:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--glass); }
.btn.small { padding: 8px 12px; font-size: 13px; width: auto; border-radius: 10px; }
.link-btn { background: none; border: 0; color: var(--bad); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
form.inline { display: inline; }

/* Sections and cards */
.section { padding: 44px 20px 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font: 600 30px var(--serif); }
.section-head a { color: var(--muted); text-decoration: none; font-size: 14px; }
.section-head a:hover { color: var(--gold); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rail .card { scroll-snap-align: start; }
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 0 0 1px rgba(255,193,7,.35); border-color: rgba(255,193,7,.35); }
.card-cover { position: relative; aspect-ratio: 16/10; background: var(--bg-3); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 40%); pointer-events: none; }
.badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.badges.static { position: static; margin: 14px 0 10px; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(15,58,3,.7); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.badge.gold { background: var(--gold-grad); color: var(--gold-ink); border-color: rgba(255,255,255,.5); }
.badge.new { background: linear-gradient(135deg, #66bb6a, #2e7d32); }
.badge.link { background: rgba(255,255,255,.9); color: #195905; }
.card-body { padding: 14px 16px 16px; position: relative; }
.card-where { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; opacity: .9; }
.card h3 { font-size: 16px; font-weight: 600; line-height: 1.3; color: #fff; }
.card p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.collection { display: block; text-decoration: none; padding: 24px; border-radius: var(--radius); color: #fff; min-height: 190px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.collection:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 0 0 1px rgba(255,193,7,.35); }
.collection::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,193,7,.35), transparent 70%); }
.collection h3 { font: 600 24px var(--serif); position: relative; z-index: 1; }
.collection p { margin: 8px 0 14px; color: rgba(255,255,255,.8); font-size: 14px; position: relative; z-index: 1; }
.collection .subs { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.collection .subs span { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); }
.collection .subs b { opacity: .7; font-weight: 500; }
.hue-indigo { background: linear-gradient(135deg, rgba(52,69,201,.55), rgba(27,31,92,.35)); } .hue-teal { background: linear-gradient(135deg, rgba(20,143,134,.55), rgba(8,63,61,.35)); }
.hue-plum { background: linear-gradient(135deg, rgba(139,47,158,.55), rgba(58,19,64,.35)); } .hue-rust { background: linear-gradient(135deg, rgba(194,65,12,.55), rgba(74,28,8,.35)); }
.hue-forest { background: linear-gradient(135deg, rgba(46,125,79,.55), rgba(15,58,31,.35)); } .hue-navy { background: linear-gradient(135deg, rgba(31,78,154,.55), rgba(11,31,58,.35)); }
.hue-wine { background: linear-gradient(135deg, rgba(159,18,57,.55), rgba(63,13,30,.35)); } .hue-slate { background: linear-gradient(135deg, rgba(71,85,105,.55), rgba(30,41,59,.35)); }
.hue-amber { background: linear-gradient(135deg, rgba(180,83,9,.55), rgba(59,42,5,.35)); } .hue-ocean { background: linear-gradient(135deg, rgba(3,105,161,.55), rgba(4,47,74,.35)); }
.hue-moss { background: linear-gradient(135deg, rgba(77,124,15,.55), rgba(26,46,5,.35)); } .hue-coral { background: linear-gradient(135deg, rgba(225,29,72,.55), rgba(76,5,25,.35)); }
.rules { padding-bottom: 60px; }
.rules h2 { font: 600 30px var(--serif); margin-bottom: 18px; }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rules-grid div { border-radius: var(--radius); padding: 20px; }
.rules-grid h3 { font-size: 16px; margin-bottom: 6px; color: var(--gold); position: relative; } .rules-grid p { margin: 0; font-size: 14px; color: var(--muted); position: relative; }

/* Browse */
.browse { display: grid; grid-template-columns: 270px 1fr; gap: 32px; padding: 32px 20px 60px; }
.filters { border-radius: var(--radius); padding: 18px; align-self: start; position: sticky; top: 86px; max-height: calc(100vh - 100px); overflow: auto; scrollbar-width: thin; }
.filters h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 22px 0 8px; }
.filters h2:first-child { margin-top: 0; }
.filters nav a, .filters summary { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 9px; text-decoration: none; font-size: 14px; cursor: pointer; color: var(--text); }
.filters summary a { padding: 0; flex: 1; }
.filters summary::-webkit-details-marker { display: none; } .filters summary { list-style: none; }
.filters nav a.on, .filters summary.on { background: var(--glass-2); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.filters nav a:hover, .filters summary:hover { background: var(--glass-2); }
.filters a.sub { padding-left: 22px; font-size: 13px; }
.filters b { font-weight: 500; color: var(--faint); font-size: 12px; }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.results-head h1 { font: 600 36px var(--serif); }
.results-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.sort select { font: 14px var(--sans); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--glass-solid); color: #fff; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--gold); }
.empty { border-style: dashed; border-radius: var(--radius); padding: 48px; text-align: center; color: var(--muted); }
.pages { display: flex; gap: 6px; justify-content: center; margin: 28px 0 0; flex-wrap: wrap; }
.pages a, .pages span { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 14px; border: 1px solid var(--line); background: var(--glass); }
.pages .cur { background: var(--gold-grad); color: var(--gold-ink); border-color: transparent; font-weight: 700; } .pages .dis { opacity: .5; }
@media (max-width: 860px) { .browse { grid-template-columns: 1fr; } .filters { position: static; max-height: none; } .filters nav { display: flex; flex-wrap: wrap; gap: 4px; } .filters details { width: 100%; } }

/* Asset page */
.asset { padding: 28px 20px 60px; }
.asset-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.asset-cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.asset-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 35%); pointer-events: none; }
.asset h1 { font: 600 clamp(28px, 3.4vw, 44px) var(--serif); margin: 6px 0 12px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 18px; }
.prose { border-radius: var(--radius); padding: 24px 26px; font-size: 16px; color: #efe7ff; }
.prose > * { position: relative; }
.prose p { margin: 0 0 14px; } .prose p:last-child { margin: 0; } .prose h3 { font-size: 18px; margin: 18px 0 8px; color: var(--gold); } .prose ul, .prose ol { padding-left: 22px; margin: 8px 0 14px; }
.asset-main h3 { font-size: 18px; margin: 26px 0 10px; }
.contents { list-style: none; padding: 0; margin: 0; border-radius: var(--radius); overflow: hidden; }
.contents li { display: flex; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.contents li:last-child { border-bottom: 0; } .contents small { margin-left: auto; color: var(--muted); }
.k { font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 3px 6px; border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; min-width: 38px; text-align: center; }
.k-pdf { background: rgba(253,164,175,.25); color: #fecdd3; } .k-image { background: rgba(129,199,132,.3); color: #e8f5e9; } .k-doc { background: rgba(125,211,252,.25); color: #e0f2fe; } .k-sheet { background: rgba(110,231,183,.25); color: #d1fae5; } .k-slides { background: rgba(255,193,7,.3); color: #ffecb3; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tags a { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); text-decoration: none; color: var(--muted); }
.tags a:hover { color: var(--gold); border-color: var(--gold); }
.box { border-radius: var(--radius); padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow); }
.box > * { position: relative; }
.box h3 { font-size: 15px; margin-bottom: 8px; color: var(--gold); } .box p { margin: 0 0 10px; font-size: 14px; }
.facts dl { margin: 0; } .facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.facts dl div:first-child { border-top: 0; padding-top: 0; } .facts dt { color: var(--muted); } .facts dd { margin: 0; text-align: right; } .facts dd a { text-decoration: none; color: var(--gold-2); }
.shelf-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.shelf-row:first-of-type { border-top: 0; }
@media (max-width: 900px) { .asset-grid { grid-template-columns: 1fr; } }

/* Reader */
body.reading { background: #082802; }
body.reading .foot { display: none; }
.reader { display: flex; flex-direction: column; min-height: calc(100vh - 70px); user-select: none; -webkit-user-select: none; }
.reader-bar { display: flex; align-items: center; gap: 14px; padding: 10px 20px; border-left: 0; border-right: 0; border-top: 0; flex-wrap: wrap; }
.reader-bar .back { color: #fff; text-decoration: none; font-weight: 600; }
.entry-pick { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.entry-pick select { max-width: 320px; font: 13px var(--sans); padding: 6px 8px; border-radius: 8px; background: var(--glass-solid); color: #fff; border: 1px solid var(--line-2); }
.reader-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.reader-tools button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--glass); color: #fff; cursor: pointer; font-size: 16px; }
.reader .return { margin-left: 8px; }
.reader-stage { flex: 1; overflow: auto; padding: 24px 12px 60px; display: flex; flex-direction: column; align-items: center; gap: 18px; position: relative; }
.reader-stage canvas { box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); background: #fff; max-width: 100%; height: auto; pointer-events: none; border-radius: 4px; }
.reader-stage.image img { max-height: 85vh; pointer-events: none; border-radius: 8px; }
.reader-stage.text pre { white-space: pre-wrap; font: 15px/1.6 ui-monospace, Menlo, monospace; background: #fff; color: #222; padding: 32px; border-radius: 12px; max-width: 900px; width: 100%; }
.reader-loading { color: var(--muted); padding: 60px; }
.wm { position: fixed; inset: 0; pointer-events: none; display: grid; place-items: center; font: 600 26px var(--sans); color: rgba(255,255,255,.08); transform: rotate(-24deg); text-align: center; white-space: nowrap; }
.reader-note { text-align: center; font-size: 13px; color: var(--faint); padding: 14px 20px 30px; }

/* My Prime */
.my { padding: 32px 20px 60px; }
.my h1 { font: 600 42px var(--serif); } .my .lead { margin: 6px 0 24px; }
.my-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; align-items: start; }
.my .box h2 { font: 600 22px var(--serif); margin-bottom: 10px; color: #fff; } .my .box h3 { margin: 14px 0 6px; font-size: 15px; }
.shelf-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.shelf-item img { border-radius: 8px; }
.shelf-item a { text-decoration: none; }
.inline-form { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 180px; font: 13px var(--sans); padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); color: #fff; }
.links { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.links li { padding: 4px 0; }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.history li:first-child { border-top: 0; } .history a { text-decoration: none; } .history small { color: var(--muted); white-space: nowrap; }

/* Footer */
.foot { color: var(--muted); margin-top: 48px; border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 36px 20px 28px; font-size: 14px; }
.foot p { max-width: 52ch; margin: 12px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: start; justify-content: flex-end; }
.foot-links a { color: #fff; text-decoration: none; } .foot-links a:hover { color: var(--gold); }
.foot small { grid-column: 1 / -1; font-size: 12px; color: var(--faint); }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr; } .foot-links { justify-content: flex-start; } }
