/**
 * [INPUT]: 依赖正式 Atlas Light 的颜色、导航语义、作品字段与本目录图集
 * [OUTPUT]: 对外提供浅色正式 Web 壳、公开页、认证页和紧凑作品详情样式
 * [POS]: Formal Atlas Reframe 的唯一视觉 token / layout 层
 * [PROTOCOL]: 变更时更新此头部，然后检查 CLAUDE.md
 */
:root { color-scheme: light; --bg: #fffdf8; --paper: #fffefa; --soft: #f7f3ec; --soft-2: #f0ece4; --ink: #1d1b19; --ink-soft: #4f4b47; --muted: #6d6863; --faint: #9a938c; --line: #e7e1d8; --line-strong: #d2c9bd; --accent: #a94638; --accent-bright: #d35c48; --accent-soft: #f7e7e2; --cyan: #3b7680; --green: #3e7d58; --amber: #a36e1c; --danger: #bd473f; --sans: -apple-system, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif; --serif: "Iowan Old Style", "Songti SC", "Noto Serif SC", Georgia, serif; --mono: "SFMono-Regular", "Roboto Mono", Consolas, monospace; --radius: 6px; --shadow: 0 12px 34px rgba(29, 27, 25, .06); }
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.prototype { min-height: 100vh; background: var(--bg); }
.prototype-bar { position: sticky; top: 0; z-index: 80; display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 20px; border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .95); backdrop-filter: blur(14px); }
.prototype-label, .prototype-tabs, .header-actions, .public-header, .landing-buttons, .landing-facts, .board-top, .board-meta, .compact-meta, .compact-actions, .detail-tabs, .resource-toolbar, .atlas-topbar, .atlas-actions, .atlas-footer, .form-footer, .auth-note { display: flex; align-items: center; }
.prototype-label { min-width: 265px; gap: 11px; color: var(--faint); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.atlas-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.atlas-brand b { display: inline-grid; width: 22px; height: 22px; place-items: center; transform: rotate(-7deg); background: var(--accent-bright); color: #fff; font-family: var(--serif); font-size: 14px; font-weight: 600; }
.atlas-brand span { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: -.04em; }
.atlas-brand i { width: 4px; height: 4px; margin-left: -4px; align-self: flex-end; border-radius: 50%; background: var(--accent-bright); }
.atlas-brand--compact b { width: 18px; height: 18px; font-size: 12px; }
.bar-divider { width: 1px; height: 14px; background: var(--line-strong); }
.prototype-tabs { gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.prototype-tabs button { display: inline-flex; min-height: 29px; align-items: center; gap: 6px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 10px; }
.prototype-tabs button small { color: var(--faint); font-family: var(--mono); font-size: 8px; }
.prototype-tabs button:hover, .prototype-tabs button.is-active { background: var(--ink); color: #fff; }
.prototype-tabs button.is-active small { color: var(--accent-bright); }
.prototype-note { color: var(--faint); font-family: var(--mono); font-size: 8px; white-space: nowrap; }
.glyph { display: inline-block; line-height: 1; }

/* Public surfaces */
.public-page { min-height: calc(100vh - 52px); background: var(--paper); }
.public-header { min-height: 78px; justify-content: space-between; gap: 28px; padding: 0 clamp(20px, 6vw, 92px); border-bottom: 1px solid var(--line); }
.header-brand { padding: 0; border: 0; background: transparent; }
.public-header nav { display: flex; gap: 27px; margin-left: auto; }
.public-header nav button, .header-actions > button, .header-back { padding: 10px 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; }
.public-header nav button:hover, .header-actions > button:hover, .header-back:hover { color: var(--ink); }
.header-actions { gap: 18px; }
.light-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; font-size: 12px; font-weight: 600; transition: background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease; }
.light-button:hover { transform: translateY(-1px); border-color: var(--accent); }
.light-button--solid { border-color: var(--accent); background: var(--accent); color: #fff; }
.light-button--solid:hover { background: var(--accent-bright); color: #fff; }
.light-button--outline { background: var(--paper); color: var(--ink); }
.light-button--wide { width: 100%; justify-content: space-between; padding-inline: 18px; }
.atlas-kicker { margin: 0 0 16px; color: var(--accent); font-family: var(--mono); font-size: 9px; letter-spacing: .11em; }
.landing-layout { display: grid; grid-template-columns: minmax(360px, .88fr) minmax(430px, 1.12fr); gap: clamp(40px, 8vw, 125px); align-items: center; max-width: 1200px; min-height: 650px; margin: 0 auto; padding: 76px 24px 88px; }
.landing-intro h1, .loop-heading h2, .auth-context h1 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(48px, 5.6vw, 82px); font-weight: 500; letter-spacing: -.065em; line-height: .98; text-wrap: pretty; }
.landing-intro h1 em, .loop-heading h2 em, .auth-context h1 em { color: var(--accent); font-style: italic; }
.landing-copy { max-width: 440px; margin: 28px 0 27px; color: var(--ink-soft); font-size: 15px; line-height: 1.8; text-wrap: pretty; }
.landing-buttons { gap: 10px; }
.landing-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 500px; margin-top: 67px; padding-top: 18px; border-top: 1px solid var(--line); }
.landing-facts div { display: grid; gap: 7px; }
.landing-facts strong { color: var(--accent); font-family: var(--mono); font-size: 9px; font-weight: 500; }
.landing-facts span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.landing-board { position: relative; padding: 21px; border: 1px solid var(--line-strong); background: var(--soft); box-shadow: var(--shadow); }
.landing-board::before { position: absolute; top: -9px; right: 18%; width: 58px; height: 18px; border: 1px solid var(--line-strong); border-bottom: 0; background: var(--paper); content: ""; }
.board-top { justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--faint); font-family: var(--mono); font-size: 8px; }
.board-top button { padding: 0; border: 0; border-bottom: 1px solid var(--accent); background: transparent; color: var(--accent); font-size: 10px; }
.board-feature { display: grid; grid-template-columns: 132px 1fr; gap: 20px; padding: 23px 0 25px; border-bottom: 1px solid var(--line); }
.board-poster { position: relative; width: 132px; height: 198px; overflow: hidden; background: var(--soft-2); }
.board-poster .poster-art { width: 100%; height: 100%; }
.board-poster > span:last-child { position: absolute; right: 8px; bottom: 8px; padding: 4px 5px; background: rgba(255, 255, 255, .88); color: var(--accent); font-family: var(--mono); font-size: 8px; }
.board-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.board-copy p { margin: 2px 0 10px; color: var(--accent); font-family: var(--mono); font-size: 8px; }
.board-copy h2 { margin: 0; font-family: var(--serif); font-size: 31px; font-weight: 500; letter-spacing: -.045em; }
.board-copy > span { margin-top: 5px; color: var(--muted); font-family: var(--serif); font-size: 14px; }
.board-progress, .mini-progress { width: 100%; height: 3px; margin-top: auto; overflow: hidden; background: var(--line-strong); }
.board-progress i, .mini-progress i { display: block; width: 62%; height: 100%; background: var(--accent-bright); }
.board-meta { justify-content: space-between; width: 100%; gap: 12px; margin-top: 10px; color: var(--muted); font-family: var(--mono); font-size: 8px; }
.board-meta b { color: var(--ink-soft); font-weight: 500; }
.board-copy button { display: inline-flex; gap: 8px; margin-top: 19px; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--accent); background: transparent; color: var(--ink); font-size: 10px; }
.board-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; padding-top: 18px; }
.board-list > div { display: grid; grid-template-columns: 35px 1fr; gap: 8px; align-items: center; min-width: 0; }
.board-list .poster-art { width: 35px; height: 52px; }
.board-list > div > span { display: grid; gap: 3px; min-width: 0; }
.board-list b, .board-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list b { font-size: 10px; font-weight: 600; }
.board-list small { color: var(--muted); font-size: 8px; }
.board-list em { display: none; }
.poster-art { display: block; background-image: url("assets/media-atlas.avif"); background-repeat: no-repeat; background-size: 400% 200%; }
.poster-art--1 { background-position: 0 0; }.poster-art--2 { background-position: 33.333% 0; }.poster-art--3 { background-position: 66.666% 0; }.poster-art--4 { background-position: 100% 0; }.poster-art--5 { background-position: 0 100%; }
.formal-loop { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10%; padding: 118px clamp(24px, 9vw, 140px) 135px; border-top: 1px solid var(--line); background: var(--soft); }
.loop-heading h2 { font-size: clamp(42px, 4.5vw, 67px); }
.loop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; align-self: start; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.loop-grid article { min-height: 196px; padding: 19px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: var(--paper); }
.loop-grid article > span { color: var(--accent); font-family: var(--mono); font-size: 9px; }
.loop-grid h3 { margin: 47px 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.loop-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.public-footer { display: flex; align-items: center; gap: 22px; padding: 21px clamp(24px, 7vw, 110px); border-top: 1px solid var(--line); color: var(--faint); font-family: var(--mono); font-size: 8px; }
.public-footer .atlas-brand { margin-right: auto; }

/* Auth */
.auth-crumb { color: var(--faint); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.header-back { display: inline-flex; align-items: center; gap: 8px; }
.auth-layout { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(420px, .72fr); gap: clamp(50px, 10vw, 150px); align-items: center; max-width: 1090px; min-height: 670px; margin: 0 auto; padding: 70px 24px 100px; }
.auth-context h1 { font-size: clamp(48px, 5vw, 73px); }
.auth-context > p:not(.atlas-kicker) { max-width: 430px; margin: 26px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.auth-context-card { display: grid; grid-template-columns: 92px 1fr; gap: 15px; max-width: 410px; margin-top: 52px; padding: 16px; border: 1px solid var(--line); background: var(--soft); }
.auth-card-poster { width: 92px; height: 138px; }
.auth-card-poster .poster-art { width: 100%; height: 100%; }
.auth-context-card > div:last-child { display: flex; flex-direction: column; align-items: flex-start; padding: 4px 0; }
.auth-context-card span { color: var(--accent); font-family: var(--mono); font-size: 8px; }
.auth-context-card strong { margin-top: 26px; color: var(--accent); font-family: var(--serif); font-size: 38px; font-weight: 500; letter-spacing: -.08em; }
.auth-context-card small { margin-top: 8px; color: var(--muted); font-size: 9px; }
.mini-progress { margin-top: auto; }
.auth-note { gap: 9px; margin-top: 19px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.auth-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.auth-form-card { padding: 33px; border: 1px solid var(--line-strong); background: var(--paper); box-shadow: var(--shadow); }
.form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.form-heading h2 { margin: 0; font-family: var(--serif); font-size: 31px; font-weight: 500; letter-spacing: -.05em; }
.form-heading > span { color: var(--faint); font-family: var(--mono); font-size: 9px; }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 30px 0 26px; padding: 3px; background: var(--soft); }
.form-tabs button { min-height: 37px; border: 0; background: transparent; color: var(--muted); font-size: 11px; }
.form-tabs button:hover, .form-tabs button.is-active { background: var(--ink); color: #fff; }
.auth-form-card form { display: grid; gap: 17px; }
.auth-form-card label { display: grid; gap: 7px; }
.auth-form-card label > span { color: var(--ink-soft); font-size: 11px; }
.auth-form-card input { width: 100%; min-height: 47px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink); }
.auth-form-card input::placeholder { color: var(--faint); }
.auth-form-card input:focus { border-color: var(--accent); }
.form-error { margin: -3px 0 0; color: var(--danger); font-size: 11px; }
.form-footer { justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-family: var(--mono); font-size: 8px; }
.form-footer button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--ink-soft); font-size: 10px; }

/* Formal Atlas shell + compact detail */
.atlas-shell { display: grid; grid-template-columns: 76px 1fr; min-height: calc(100vh - 52px); background: var(--bg); }
.atlas-sidebar { position: sticky; top: 52px; display: flex; height: calc(100vh - 52px); flex-direction: column; border-right: 1px solid var(--line); background: #fff; }
.sidebar-brand { display: grid; min-height: 78px; place-items: center; border: 0; border-bottom: 1px solid var(--line); background: #fff; }
.atlas-sidebar nav { display: grid; gap: 3px; padding: 24px 8px; }
.atlas-sidebar nav button, .sidebar-user, .sidebar-logout { display: grid; gap: 5px; place-items: center; padding: 12px 0; border: 1px solid transparent; background: transparent; color: var(--muted); }
.atlas-sidebar nav button span { font-size: 18px; line-height: 1; }
.atlas-sidebar nav button b, .sidebar-user b, .sidebar-logout { font-size: 9px; font-weight: 500; }
.atlas-sidebar nav button:hover, .atlas-sidebar nav button.is-current { border-color: var(--line); background: var(--soft); color: var(--ink); }
.atlas-sidebar nav button.is-current span { color: var(--accent); }
.sidebar-user { margin-top: auto; padding: 17px 0; border-top: 1px solid var(--line); }
.sidebar-user span, .avatar { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-family: var(--mono); font-size: 8px; }
.sidebar-logout { min-height: 45px; border-top: 1px solid var(--line); }
.atlas-main { min-width: 0; }
.atlas-topbar { position: sticky; top: 52px; z-index: 20; display: grid; grid-template-columns: 105px minmax(240px, 1fr) auto; gap: 20px; min-height: 78px; padding: 0 clamp(18px, 4vw, 50px); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .95); box-shadow: 0 1px 12px rgba(24, 39, 56, .045); backdrop-filter: blur(14px); }
.atlas-topbar > p { margin: 0; color: var(--faint); font-family: var(--mono); font-size: 9px; }
.atlas-topbar > p span { color: var(--ink); }
.atlas-search { display: flex; min-width: 0; min-height: 42px; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--muted); text-align: left; }
.atlas-search b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; }
.atlas-search kbd { margin-left: auto; padding: 3px 5px; background: var(--soft); color: var(--faint); font-family: var(--mono); font-size: 8px; white-space: nowrap; }
.atlas-actions { justify-content: flex-end; gap: 17px; }
.atlas-actions > button { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.atlas-actions > button:hover { color: var(--ink); }
.publish-button { min-height: 38px; padding: 0 11px !important; border: 1px solid var(--line) !important; background: var(--paper) !important; }
.avatar { cursor: pointer; background: var(--soft); }
.mobile-brand, .mobile-nav { display: none; }
.atlas-content { max-width: 1400px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 50px) 70px; }
.detail-page { padding-top: 22px; }
.detail-back { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.detail-back:hover { color: var(--accent); }
.compact-hero { position: relative; display: grid; grid-template-columns: 150px minmax(380px, 1fr) 220px; gap: clamp(22px, 3vw, 42px); align-items: center; min-height: 330px; margin-top: 13px; padding: 34px 36px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong); background: var(--paper); }
.compact-backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .91) 40%, rgba(255, 255, 255, .75) 100%), url("assets/dune-continuity-hero.png") 72% 46% / cover; opacity: .72; }
.compact-poster, .compact-copy, .compact-state { position: relative; z-index: 1; }
.compact-poster { width: 150px; height: 225px; border: 1px solid var(--line-strong); box-shadow: 10px 15px 28px rgba(24, 39, 56, .12); }
.compact-poster .poster-art { width: 100%; height: 100%; }
.compact-poster > span:last-child { position: absolute; bottom: 9px; left: 9px; padding: 4px 5px; background: rgba(255, 255, 255, .86); color: var(--accent); font-family: var(--mono); font-size: 7px; letter-spacing: .1em; }
.compact-copy { min-width: 0; }
.compact-copy h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 5.6vw, 76px); font-weight: 500; letter-spacing: -.075em; line-height: .9; }
.compact-copy h2 { margin: 9px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 17px; font-weight: 400; }
.compact-meta { flex-wrap: wrap; gap: 12px 17px; margin-top: 18px; color: var(--muted); font-family: var(--mono); font-size: 8px; }
.compact-meta b { color: var(--accent); font-family: var(--serif); font-size: 20px; font-weight: 500; }
.compact-summary { max-width: 660px; margin: 15px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.compact-actions { gap: 7px; margin-top: 18px; }
.atlas-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-size: 10px; font-weight: 600; }
.atlas-button:hover, .atlas-button.is-on { border-color: var(--accent); background: var(--accent-soft); }
.atlas-button--primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.atlas-button--primary:hover { background: var(--accent-bright); color: #fff; }
.square-action { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.square-action:hover { border-color: var(--accent); color: var(--accent); }
.compact-state { min-height: 207px; padding: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .8); }
.compact-state > div:first-child { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.compact-state > div:first-child span { color: var(--accent); font-family: var(--mono); font-size: 8px; }
.compact-state > div:first-child b { color: var(--cyan); font-family: var(--serif); font-size: 42px; font-weight: 500; line-height: .8; letter-spacing: -.08em; }
.compact-state > p { margin: 9px 0 0; color: var(--muted); font-size: 9px; }
.state-progress { height: 3px; margin-top: 17px; background: var(--line); }
.state-progress i { display: block; height: 100%; background: var(--cyan); transition: width 350ms ease; }
.compact-state dl { display: grid; gap: 7px; margin: 15px 0 0; }
.compact-state dl div { display: flex; justify-content: space-between; gap: 8px; }
.compact-state dt, .compact-state dd { margin: 0; color: var(--muted); font-size: 8px; }
.compact-state dd { color: var(--ink-soft); text-align: right; }
.compact-state > button { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--accent); background: transparent; color: var(--ink); font-size: 9px; }
.detail-tabs { min-height: 60px; gap: 28px; border-bottom: 1px solid var(--line); }
.detail-tabs button { position: relative; min-height: 60px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 10px; }
.detail-tabs button:hover, .detail-tabs button.is-current { border-bottom-color: var(--accent); color: var(--ink); }
.detail-tabs button span { margin-left: 4px; color: var(--accent); font-family: var(--mono); font-size: 8px; }
.detail-tabs > span { margin-left: auto; color: var(--faint); font-family: var(--mono); font-size: 8px; }
.overview-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(45px, 8vw, 110px); padding-top: 58px; }
.section-heading { display: grid; gap: 8px; }
.section-heading p { margin: 0; color: var(--accent); font-family: var(--mono); font-size: 8px; letter-spacing: .11em; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -.04em; }
.overview-copy { max-width: 760px; margin: 19px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }
.metadata-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 42px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metadata-grid > div { min-height: 76px; display: grid; align-content: space-between; gap: 10px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metadata-grid span { color: var(--muted); font-family: var(--mono); font-size: 7px; }
.metadata-grid b { font-size: 10px; font-weight: 500; }
.overview-side .section-heading--cast { margin-top: 42px; }
.resource-summary { display: grid; gap: 6px; margin-top: 18px; padding: 18px; border: 1px solid var(--line); background: var(--soft); }
.resource-summary strong { color: var(--cyan); font-family: var(--serif); font-size: 54px; font-weight: 500; line-height: .85; letter-spacing: -.08em; }
.resource-summary > span { color: var(--ink-soft); font-size: 10px; }
.resource-summary small { color: var(--muted); font-family: var(--mono); font-size: 8px; }
.resource-summary small i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--green); }
.resource-summary button { justify-self: start; margin-top: 11px; padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--accent); background: transparent; color: var(--ink); font-size: 9px; }
.cast-row { display: grid; width: 100%; min-height: 47px; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.cast-row span { color: var(--faint); font-family: var(--mono); font-size: 7px; }
.cast-row b { font-size: 10px; font-weight: 500; }
.cast-row em { color: var(--accent); font-style: normal; }
.cast-row:hover b { color: var(--accent); }
.resources-view { padding-top: 45px; }
.resource-hierarchy { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; min-height: 82px; align-items: center; padding: 0 18px; border: 1px solid var(--line); background: var(--soft); }
.resource-hierarchy div { display: grid; gap: 5px; }
.resource-hierarchy span { color: var(--accent); font-family: var(--mono); font-size: 7px; }
.resource-hierarchy b { font-size: 11px; }
.resource-hierarchy i { color: var(--faint); font-style: normal; }
.resource-toolbar { justify-content: space-between; gap: 16px; min-height: 69px; color: var(--muted); font-size: 10px; }
.resource-toolbar button { padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--accent); background: transparent; color: var(--ink); font-size: 9px; }
.release-rows { border-top: 1px solid var(--line-strong); }
.release-rows article { display: grid; grid-template-columns: 9px minmax(0, 1fr) 180px 34px; gap: 14px; min-height: 86px; align-items: center; border-bottom: 1px solid var(--line); }
.release-rows article > div { display: grid; gap: 5px; }
.release-rows b { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.release-rows small { color: var(--muted); font-family: var(--mono); font-size: 8px; }
.release-rows article > div:nth-child(3) { text-align: right; }
.release-rows article > div:nth-child(3) small { color: var(--green); }
.release-rows button { width: 30px; height: 30px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.release-rows button:hover { border-color: var(--accent); color: var(--accent); }
.release-state { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.release-state.is-ready { background: var(--green); box-shadow: 0 0 0 3px rgba(62, 125, 88, .13); }
.cast-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 45px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cast-grid button, .cast-grid > div { min-height: 132px; display: grid; align-content: space-between; padding: 18px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.cast-grid button:hover { background: var(--soft); }
.cast-grid span { color: var(--accent); font-family: var(--mono); font-size: 8px; }
.cast-grid b { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.cast-grid small { color: var(--muted); font-size: 8px; }
.cast-grid em { align-self: center; justify-self: end; color: var(--accent); font-style: normal; }
.atlas-footer { justify-content: space-between; gap: 17px; margin-top: 85px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font-family: var(--mono); font-size: 8px; }
.atlas-footer .atlas-brand { margin-right: auto; }
.toast { position: fixed; z-index: 100; right: 18px; bottom: 18px; display: flex; max-width: min(350px, calc(100vw - 36px)); align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .98); box-shadow: 0 16px 50px rgba(24, 39, 56, .16); color: var(--ink); font-size: 11px; animation: toast-in 180ms ease both; }
.toast i { display: inline-grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 9px; font-style: normal; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (max-width: 1030px) { .landing-layout { grid-template-columns: 1fr; max-width: 720px; gap: 55px; }.landing-intro { max-width: 650px; }.landing-board { max-width: 610px; }.formal-loop { grid-template-columns: 1fr; gap: 50px; }.auth-layout { grid-template-columns: 1fr; max-width: 660px; gap: 58px; }.auth-context { max-width: 570px; }.auth-form-card { max-width: 560px; }.compact-hero { grid-template-columns: 135px minmax(0, 1fr); }.compact-poster { width: 135px; height: 203px; }.compact-state { grid-column: 2; max-width: 330px; }.overview-grid { gap: 48px; } }
@media (max-width: 860px) { .prototype-bar { padding-inline: 12px; }.prototype-label { min-width: 0; }.prototype-label > span:not(.bar-divider):not(.atlas-brand) { display: none; }.prototype-note { display: none; }.prototype-tabs { margin-left: auto; }.prototype-tabs button { padding-inline: 8px; font-size: 9px; }.prototype-tabs button small { display: none; }.atlas-shell { display: block; min-height: calc(100vh - 52px); }.atlas-sidebar { display: none; }.atlas-topbar { top: 52px; grid-template-columns: auto 1fr auto; min-height: 62px; padding-inline: 14px; gap: 10px; }.atlas-topbar > p { display: none; }.mobile-brand { display: block; }.atlas-search { min-height: 40px; }.atlas-search b { font-size: 9px; }.atlas-search kbd, .atlas-actions > button:not(.avatar) { display: none; }.atlas-actions { gap: 0; }.avatar { width: 36px; height: 36px; }.atlas-content { padding: 0 16px 84px; }.mobile-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 50; display: grid; height: 68px; grid-template-columns: repeat(5, 1fr); padding: 6px 8px; border-top: 1px solid var(--line-strong); background: rgba(255, 255, 255, .97); box-shadow: 0 -4px 18px rgba(24, 39, 56, .06); }.mobile-nav button { display: grid; min-height: 52px; place-items: center; align-content: center; gap: 4px; border: 0; background: transparent; color: var(--muted); }.mobile-nav button span { font-size: 17px; }.mobile-nav button b { font-size: 8px; font-weight: 500; }.mobile-nav button.is-current { color: var(--accent); }.compact-hero { grid-template-columns: 112px minmax(0, 1fr); gap: 17px; padding: 26px 20px; }.compact-poster { width: 112px; height: 168px; }.compact-copy h1 { font-size: clamp(41px, 8vw, 58px); }.compact-copy h2 { font-size: 14px; }.compact-meta { gap: 7px 11px; margin-top: 12px; }.compact-summary { font-size: 10px; }.compact-actions { flex-wrap: wrap; }.compact-state { grid-column: 1 / -1; max-width: none; min-height: 0; }.detail-tabs { gap: 20px; overflow-x: auto; }.detail-tabs > span { display: none; }.overview-grid { grid-template-columns: 1fr; gap: 58px; padding-top: 44px; }.overview-copy { font-size: 14px; }.overview-side .section-heading--cast { margin-top: 38px; }.metadata-grid { margin-top: 30px; }.resources-view { padding-top: 34px; }.resource-hierarchy { grid-template-columns: 1fr; gap: 7px; padding: 15px; }.resource-hierarchy i { display: none; }.resource-rows article, .release-rows article { grid-template-columns: 8px 1fr 30px; gap: 10px; }.release-rows article > div:nth-child(3) { display: none; }.cast-grid { grid-template-columns: repeat(2, 1fr); }.atlas-footer { flex-wrap: wrap; align-items: flex-start; }.atlas-footer .atlas-brand { flex-basis: 100%; } }
@media (max-width: 640px) { .public-header { min-height: 68px; padding-inline: 18px; }.public-header nav, .auth-crumb { display: none; }.header-actions { gap: 14px; }.header-actions > button:first-child { display: inline-block; }.landing-layout { min-height: 0; padding: 57px 18px 70px; }.landing-intro h1, .auth-context h1 { font-size: 55px; }.landing-copy { margin-top: 22px; font-size: 13px; }.landing-buttons { align-items: stretch; flex-direction: column; }.landing-buttons .light-button { justify-content: space-between; }.landing-facts { gap: 10px; margin-top: 48px; }.landing-facts span { font-size: 9px; }.landing-board { padding: 15px; }.board-feature { grid-template-columns: 96px 1fr; gap: 13px; padding-block: 17px; }.board-poster { width: 96px; height: 144px; }.board-copy h2 { font-size: 23px; }.board-copy > span { font-size: 11px; }.board-meta { font-size: 7px; }.board-list { gap: 7px; }.board-list > div { grid-template-columns: 28px 1fr; gap: 5px; }.board-list .poster-art { width: 28px; height: 42px; }.board-list b { font-size: 8px; }.board-list small { font-size: 7px; }.formal-loop { gap: 42px; padding: 80px 18px 90px; }.loop-heading h2 { font-size: 50px; }.loop-grid { grid-template-columns: 1fr; }.loop-grid article { min-height: 0; }.loop-grid h3 { margin-top: 25px; }.public-footer { flex-wrap: wrap; padding-inline: 18px; }.public-footer .atlas-brand { flex-basis: 100%; }.auth-layout { min-height: 0; padding: 53px 18px 80px; }.auth-context h1 { font-size: 53px; }.auth-context > p:not(.atlas-kicker) { font-size: 13px; }.auth-context-card { margin-top: 38px; }.auth-form-card { padding: 24px 20px; }.form-heading h2 { font-size: 28px; }.form-footer { align-items: flex-start; flex-direction: column; }.detail-page { padding-top: 14px; }.compact-hero { padding: 22px 14px; }.compact-copy h1 { font-size: 43px; }.compact-copy h2 { margin-top: 6px; font-size: 13px; }.compact-meta { display: grid; grid-template-columns: repeat(2, 1fr); }.compact-summary { grid-column: 1 / -1; margin-top: 4px; }.compact-actions { grid-column: 1 / -1; margin-top: 0; }.compact-actions .atlas-button--primary { flex: 1; }.compact-state { padding: 14px; }.detail-tabs { gap: 18px; min-height: 56px; }.detail-tabs button { min-height: 56px; white-space: nowrap; }.overview-grid { padding-top: 38px; }.overview-copy { margin-top: 15px; font-size: 13px; }.section-heading h2 { font-size: 25px; }.metadata-grid > div { min-height: 69px; padding: 11px; }.resource-summary strong { font-size: 48px; }.cast-grid { grid-template-columns: 1fr; }.release-rows b { font-size: 16px; } }
