/* 沉浸式首页：推荐文化与自定义文化共同组成可生长的文化谱。 */
body.home-mode { background: #4a2224; }
body.home-mode .shell { display: block; min-height: 100vh; }
body.home-mode .sidebar, body.home-mode .topbar { display: none; }
body.home-mode .main { min-width: 0; padding-bottom: 0; }
body.home-mode .content { max-width: none; margin: 0; padding: 0; }

#view-home { overflow: hidden; background: #f2eee4; }
.home-hero { position: relative; z-index: 2; }
/* 序章：展馆首厅——细线网格 + 呼吸的文化图谱环，克制的装饰层 */
.home-story-hero { color: #f7f2e7; background: #4a2224; }
.home-story-hero::before { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, rgba(226, 200, 135, .05) 0 1px, transparent 1px 72px),
  repeating-linear-gradient(0deg, rgba(226, 200, 135, .05) 0 1px, transparent 1px 72px);
  pointer-events: none; z-index: 0; }
.home-story-hero::after { content: ""; position: absolute; left: -170px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%); border: 1px solid rgba(226, 200, 135, .14); border-radius: 50%; box-shadow: 0 0 0 46px rgba(226, 200, 135, .03), 0 0 0 96px rgba(226, 200, 135, .018), inset 0 0 0 26px rgba(226, 200, 135, .02); animation: heroHaloBreath 8.5s ease-in-out infinite; pointer-events: none; z-index: 0; }
@keyframes heroHaloBreath { 50% { box-shadow: 0 0 0 56px rgba(226, 200, 135, .045), 0 0 0 108px rgba(226, 200, 135, .026), inset 0 0 0 34px rgba(226, 200, 135, .03); opacity: .82; } }

/* 顶栏：展馆灯箱，悬浮于全部章节之上，保证导航与登录随时可达 */
.home-header { position: fixed; inset: 0 0 auto; z-index: 40; height: 88px; padding: 0 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.10); color: #f7f2e7; background: linear-gradient(180deg, rgba(70,28,30,.92), rgba(70,28,30,.5) 72%, rgba(70,28,30,0)); }
.home-header::after { content: ""; position: absolute; left: 56px; right: 56px; bottom: -1px; height: 1px; background: linear-gradient(90deg, rgba(226,200,135,.55), rgba(226,200,135,0) 62%); pointer-events: none; }
.home-brand { display: flex; align-items: center; gap: 13px; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.home-brand-seal { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: #c84d40; border: 1px solid #e8c97f; box-shadow: inset 0 0 0 4px #c84d40, inset 0 0 0 5px rgba(255,255,255,.28); font-family: STKaiti, KaiTi, serif; font-size: 22px; }
.home-brand strong, .home-brand small { display: block; letter-spacing: 0; }
.home-brand strong { font-family: STKaiti, KaiTi, serif; font-size: 20px; font-weight: 500; }
.home-brand small { margin-top: 3px; color: #c8b991; font-size: 8px; }
.home-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.home-nav button { padding: 8px 0; border: 0; color: rgba(255,255,255,.58); background: transparent; font-size: 12px; letter-spacing: 0; white-space: nowrap; transition: color .2s ease; }
.home-nav button:hover, .home-nav button:focus-visible, .home-nav button.active { color: #ebce82; }
.home-nav button.active { text-decoration: underline; text-underline-offset: 7px; text-decoration-color: rgba(226,200,135,.55); }
.home-auth-button { min-width: 58px; max-width: 120px; height: 34px; padding: 0 12px; overflow: hidden; border: 1px solid rgba(232,201,127,.5); color: #f0d58d; background: rgba(255,255,255,.04); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.home-auth-button:hover, .home-auth-button:focus-visible { border-color: #ebce82; color: #fff; background: rgba(255,255,255,.09); }
.home-header .home-mode { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.55); font-size: 9px; }
.home-header .home-mode i { width: 6px; height: 6px; border-radius: 50%; background: #d6ad55; box-shadow: 0 0 0 4px rgba(214,173,85,.12); }

.home-copy { width: min(560px, 46vw); position: relative; z-index: 2; animation: homeReveal .7s ease both; }
.home-kicker { display: inline-flex; align-items: center; gap: 8px; color: #e2c471; font-size: 10px; font-weight: 700; letter-spacing: 0; font-family: "Songti SC", STZhongsong, SimSun, serif; }
.home-kicker::before { content: ""; width: 7px; height: 7px; background: #c84d40; box-shadow: 0 0 0 3px rgba(200, 77, 64, .22); }
.home-copy h1 { margin: 20px 0; font-family: STKaiti, KaiTi, "Songti SC", serif; font-size: clamp(44px, 4.2vw, 62px); font-weight: 400; line-height: 1.16; letter-spacing: 1px; text-shadow: 0 2px 26px rgba(9, 32, 29, .45); }
.home-copy h1 em { display: block; color: #e65a4c; font-style: normal; }
.home-copy p { max-width: 480px; margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.85; }
.home-entry { display: flex; align-items: center; gap: 17px; margin-top: 30px; padding: 0; border: 0; color: #fff; background: transparent; text-align: left; }
.home-entry-mark { width: 70px; height: 70px; flex: 0 0 70px; display: grid; place-items: center; border: 1px solid #e5c577; border-radius: 50%; background: var(--active-culture-color, #c44a3e); box-shadow: 0 0 0 10px rgba(229,197,119,.07); font-family: STKaiti, KaiTi, serif; font-size: 18px; transition: transform .25s ease, box-shadow .25s ease, background .35s ease; }
.home-entry:hover .home-entry-mark, .home-entry:focus-visible .home-entry-mark { transform: scale(1.06); box-shadow: 0 0 0 15px rgba(229,197,119,.10); }
.home-entry strong, .home-entry small { display: block; letter-spacing: 0; }
.home-entry strong { font-size: 14px; }
.home-entry small { margin-top: 5px; color: #cfc099; font-size: 9px; }
.home-entry::after { content: "→"; margin-left: 4px; color: #e2c471; transition: transform .25s var(--ease-brush, ease); }
.home-entry:hover::after { transform: translateX(5px); }

.home-culture-stage { position: relative; z-index: 2; flex: 1; min-height: 0; display: flex; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.02); }
.home-stage-status { width: 100%; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 28px; color: #fff; background: #173f3a; }
.home-stage-status-seal { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border: 1px solid #e5c577; color: #f0d58d; box-shadow: inset 0 0 0 4px #173f3a, inset 0 0 0 5px rgba(240,213,141,.22); font-family: STKaiti, KaiTi, serif; font-size: 22px; animation: homeStatusPulse 1.8s ease-in-out infinite; }
.home-stage-status strong, .home-stage-status small { display: block; letter-spacing: 0; }
.home-stage-status strong { font-family: STKaiti, KaiTi, serif; font-size: 21px; font-weight: 500; }
.home-stage-status small { margin-top: 7px; color: rgba(255,255,255,.52); font-size: 9px; }
.home-stage-status button { min-height: 44px; margin-top: 16px; padding: 0 18px; border: 1px solid rgba(229,197,119,.6); color: #f2d992; background: transparent; font-size: 10px; }
.home-stage-status button:hover, .home-stage-status button:focus-visible { color: #fff; border-color: #f2d992; background: rgba(255,255,255,.06); }
.home-culture-stage.is-failed .home-stage-status { background: #183833; }
.home-culture-stage.is-failed .home-stage-status-seal { color: #fff; background: #b9483d; box-shadow: inset 0 0 0 4px #b9483d, inset 0 0 0 5px rgba(255,255,255,.25); animation: none; }

/* 文化谱条带：展陈列·纵向文化纵轴，展开即关键词、核验状态与档案入口 */
.home-culture-strip { min-width: 70px; flex: 1; padding: 30px 14px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; border: 0; border-right: 1px solid rgba(255,255,255,.15); color: #fff; text-align: left;
  background:
    linear-gradient(to top, rgba(7, 28, 25, .5), rgba(7, 28, 25, .1) 58%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 9px),
    var(--strip-color, #775049);
  box-shadow: inset 0 0 0 999px rgba(7,28,25,.16);
  transition: flex .45s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, filter .35s ease; }
.home-culture-strip:hover, .home-culture-strip:focus-within, .home-culture-strip.active { flex: 2.15; box-shadow: inset 0 0 0 999px rgba(7,28,25,.04); filter: saturate(1.06); }
.home-culture-strip:focus-visible { outline: 2px solid #f0d58d; outline-offset: -3px; }
.home-culture-strip::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, rgba(240, 213, 141, .85), rgba(240, 213, 141, 0)); opacity: 0; transition: opacity .3s ease; }
.home-culture-strip.active::before, .home-culture-strip:hover::before { opacity: 1; }
.home-culture-visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: .34; pointer-events: none; transition: opacity .35s ease, transform .55s ease; }
.home-culture-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 35, 31, .16), rgba(20, 35, 31, .72)), linear-gradient(90deg, var(--strip-color, #775049), rgba(30, 49, 43, .28)); mix-blend-mode: multiply; }
.home-culture-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: saturate(.78) contrast(.9); transform: scale(1.04); transition: transform .55s ease, filter .35s ease; }
.home-culture-visual.is-unavailable { display: none; }
.home-culture-strip > :not(.home-culture-visual) { position: relative; z-index: 1; }
.home-culture-strip.active .home-culture-visual, .home-culture-strip:hover .home-culture-visual, .home-culture-strip:focus-within .home-culture-visual { opacity: .58; }
.home-culture-strip.active .home-culture-visual img, .home-culture-strip:hover .home-culture-visual img, .home-culture-strip:focus-within .home-culture-visual img { filter: saturate(.95) contrast(1); transform: scale(1); }
.home-culture-no { color: #f1d78e; font-family: Georgia, serif; font-size: 11px; position: relative; }
.home-culture-no::after { content: ""; display: block; width: 1px; height: 26px; margin-top: 9px; background: linear-gradient(180deg, rgba(240,213,141,.6), transparent); }
.home-culture-status { position: absolute; left: 14px; top: 14px; padding: 3px 7px; max-height: 0; opacity: 0; overflow: hidden; border: 1px solid rgba(240, 213, 141, .55); color: #f0d58d; font-size: 8px; letter-spacing: .8px; transition: max-height .3s ease, opacity .3s ease, padding .3s ease; }
.home-culture-status.verified { color: #bfe7d4; border-color: rgba(155, 215, 195, .6); }
.home-culture-status.pending { color: #f2b9ad; border-color: rgba(226, 138, 122, .6); border-style: dashed; }
.home-culture-name { margin-top: 13px; font-family: STKaiti, KaiTi, serif; font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: 3px; writing-mode: vertical-rl; }
.home-culture-meta, .home-culture-genes, .home-culture-action { max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; transform: translateY(8px); transition: max-height .3s ease, margin .3s ease, opacity .3s ease, transform .3s ease; }
.home-culture-meta { color: rgba(255,255,255,.66); font-size: 9px; line-height: 1.7; }
.home-culture-genes { color: #f0d58d; font-size: 9px; line-height: 1.6; }
.home-culture-links { display: flex; flex-wrap: wrap; gap: 5px 14px; max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transform: translateY(8px); transition: max-height .3s ease, margin .3s ease, opacity .3s ease, transform .3s ease; }
.home-culture-action { align-self: flex-start; padding: 7px 0 4px; border: 0; border-bottom: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; font-size: 9px; white-space: nowrap; }
.home-culture-action.ghost { color: #ecd9a4; border-bottom-color: rgba(240, 213, 141, .5); }
.home-culture-action:hover, .home-culture-action:focus-visible { color: #ffe9b4; border-bottom-color: #ffe9b4; }
.home-culture-strip.active .home-culture-name, .home-culture-strip:hover .home-culture-name, .home-culture-strip:focus-within .home-culture-name { writing-mode: horizontal-tb; font-size: 30px; }
.home-culture-strip.active .home-culture-status, .home-culture-strip:hover .home-culture-status, .home-culture-strip:focus-within .home-culture-status { max-height: 30px; opacity: 1; padding: 3px 7px; }
.home-culture-strip.active .home-culture-meta, .home-culture-strip.active .home-culture-genes, .home-culture-strip.active .home-culture-links,
.home-culture-strip:hover .home-culture-meta, .home-culture-strip:hover .home-culture-genes, .home-culture-strip:hover .home-culture-links,
.home-culture-strip:focus-within .home-culture-meta, .home-culture-strip:focus-within .home-culture-genes, .home-culture-strip:focus-within .home-culture-links { max-height: 96px; margin-top: 11px; opacity: 1; transform: translateY(0); }

/* 自主添加：谱系末端的“续写”扩展节点，虚线卷边 + 印章式标记 */
.home-custom-strip { flex: .95; min-width: 92px; margin: 24px 18px 24px 12px; padding: 20px 14px; align-items: center; justify-content: center; border: 1px dashed rgba(232,202,126,.55); color: #fff; background: #1c4741; text-align: center; box-shadow: none; transition: flex .45s cubic-bezier(.2,.7,.2,1), border-color .3s ease, background .3s ease; }
.home-custom-strip::before { display: none; }
.home-custom-strip:hover, .home-custom-strip:focus-visible { flex: 1.25; border-color: #ebce82; background: #24564f; box-shadow: none; }
.home-custom-mark { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 14px; border: 1px solid #e6c97d; color: #f0d58d; font-family: STKaiti, KaiTi, serif; font-size: 20px; transform: rotate(45deg); box-shadow: inset 0 0 0 3px rgba(240, 213, 141, .16); }
.home-custom-mark b { font-weight: 400; transform: rotate(-45deg); }
.home-custom-strip:hover .home-custom-mark { background: rgba(240, 213, 141, .1); }
.home-custom-strip .home-culture-name { margin: 0; writing-mode: horizontal-tb; font-size: 16px; }
.home-custom-strip .home-culture-meta { max-height: 0; margin-top: 0; opacity: 0; transform: translateY(8px); transition: max-height .3s ease, margin .3s ease, opacity .3s ease, transform .3s ease; }
.home-custom-strip:hover .home-culture-meta, .home-custom-strip:focus-visible .home-culture-meta { max-height: 60px; margin-top: 10px; opacity: 1; transform: translateY(0); }
.home-stage-note { display: flex; gap: 26px; position: relative; z-index: 2; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255,255,255,.38); font-size: 9px; }
.home-stage-note b { margin-right: 4px; color: #e0c273; font-weight: 500; font-family: Georgia, serif; }
.home-culture-stage.attention { animation: stageAttention .65s ease; }

.custom-culture-dialog { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 24px; }
.custom-culture-backdrop { position: absolute; inset: 0; background: rgba(7,26,23,.82); backdrop-filter: blur(8px); }
.custom-culture-panel { width: min(640px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; position: relative; z-index: 1; padding: 30px; color: #17352f; background: #f7f3e8; border: 1px solid #ddcfac; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.custom-culture-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.custom-culture-head span { color: #c04a3f; font-size: 9px; font-weight: 700; letter-spacing: 0; }
.custom-culture-head h2 { margin: 7px 0 0; font-family: STKaiti, KaiTi, serif; font-size: 27px; font-weight: 500; letter-spacing: 0; }
.custom-close { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid #d4cbbb; border-radius: 50%; color: #61716b; background: transparent; font-size: 21px; line-height: 1; }
.custom-close.icon-only-command { width: 40px; height: 40px; color: #61716b; transition: color .2s ease, border-color .2s ease, background .2s ease; }.custom-close:hover, .custom-close:focus-visible { color: #fff; border-color: #2b6f68; background: #2b6f68; }
.custom-culture-intro { margin: 18px 0 22px; color: #76817c; font-size: 11px; line-height: 1.7; }
.custom-culture-guide { margin: 0 0 16px; padding: 10px 12px; border-left: 3px solid #b07b36; background: #f0e7d4; color: #59392a; font-size: 12px; line-height: 1.5; }
.custom-culture-status { margin: -8px 0 18px; padding: 12px 14px; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 11px; align-items: start; color: #315e56; background: #e9f1ed; border-left: 3px solid #2b6f68; }.custom-culture-status > span { padding: 4px 7px; color: #fff; background: #2b6f68; font-size: 9px; font-weight: 700; }.custom-culture-status strong { font-size: 11px; }.custom-culture-status p { margin: 5px 0 0; color: #65756f; font-size: 10px; line-height: 1.6; }.custom-culture-status.pending { color: #806226; background: #fff7e5; border-color: #c49a42; }.custom-culture-status.pending > span { background: #b9872c; }.custom-culture-status.rejected { color: #8e4038; background: #fff1ed; border-color: #c44a3e; }.custom-culture-status.rejected > span { background: #c44a3e; }
.custom-culture-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.custom-culture-fields label.full { grid-column: 1 / -1; }
.custom-culture-fields label > span { display: block; margin-bottom: 7px; color: #53645e; font-size: 9px; font-weight: 700; }
.custom-culture-fields label > span small { float: right; color: #815032; font-size: 10px; }
.custom-culture-matches { grid-column: 1 / -1; display: grid; gap: 5px; padding: 10px 12px; border: 1px solid #dac8a8; background: #fffaf0; }
.custom-culture-matches > strong { color: #653b31; font-size: 11px; }
.custom-culture-matches button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 5px 8px; border: 0; border-bottom: 1px solid #eadccc; color: #63342c; background: transparent; text-align: left; font-size: 11px; cursor: pointer; }
.custom-culture-matches button:hover, .custom-culture-matches button:focus-visible { background: #f6eadd; }
.custom-culture-matches button small { display: block; margin-top: 2px; color: #766b5f; font-size: 10px; }
.custom-culture-matches button > span:last-child { flex: none; }
.custom-culture-fields input, .custom-culture-fields select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #d6cebe; border-radius: 2px; outline: none; color: #30443e; background: #fffdf7; font-size: 11px; }
.custom-culture-fields input[aria-invalid="true"] { border-color: #b73830; box-shadow: 0 0 0 2px rgba(183,56,48,.12); }
.custom-culture-fields input:focus, .custom-culture-fields select:focus { border-color: #2b6f68; box-shadow: 0 0 0 2px rgba(43,111,104,.10); }
.custom-culture-fields input:disabled, .custom-culture-fields select:disabled { color: #6e7975; background: #ece8df; cursor: not-allowed; }
.custom-culture-error { margin: 14px 0 0; padding: 9px 11px; color: #993f37; background: rgba(196,74,62,.08); border-left: 3px solid #c44a3e; font-size: 9px; line-height: 1.55; }
.custom-culture-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #ddd4c5; }
.custom-culture-foot span { color: #8a928e; font-size: 9px; }
.custom-culture-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.custom-culture-foot button { min-height: 39px; padding: 0 17px; border: 0; color: #fff; background: #c44a3e; font-size: 11px; font-weight: 700; }
.custom-culture-foot button:disabled { cursor: wait; opacity: .55; }
.custom-culture-foot .custom-delete { color: #99453e; background: transparent; border: 1px solid #d8b1ab; }
.custom-culture-foot .ghost-button { color: #285f57; background: transparent; border: 1px solid #8eb0a8; }

@keyframes homeReveal { from { opacity: 0; transform: translateY(12px); } }
@keyframes stageAttention { 50% { transform: translateX(-8px); } }
@keyframes homeStatusPulse { 50% { opacity: .62; transform: scale(.96); } }

@media (max-width: 1050px) {
  body.home-mode .shell { display: block; }
  .home-header { gap: 16px; padding: 0 30px; }
  .home-brand { flex: 0 0 auto; }
  .home-brand small { display: none; }
  .home-nav { gap: 14px; }
  .home-nav button { font-size: 11px; }
  .home-auth-button { max-width: 90px; flex: 0 1 90px; }
  .home-header .home-mode { display: none; }
  .home-copy { width: min(480px, 52vw); }
  .home-copy h1 { font-size: clamp(38px, 5vw, 54px); }
  .home-culture-strip { min-width: 50px; padding: 24px 9px; }
  .home-culture-name { font-size: 20px; }
  .home-custom-strip { min-width: 76px; margin-left: 8px; margin-right: 10px; }
  .home-header { padding: 0 30px; }
}

@media (max-width: 720px) {
  body.home-mode .sidebar { display: flex; }
  body.home-mode .main { padding-bottom: 62px; }
  .custom-close.icon-only-command { width: 44px; height: 44px; }
  .home-hero { height: calc(100svh - 62px); min-height: 610px; max-height: none; }
  .home-header { height: 66px; padding: 0 18px; }
  .home-brand-seal { width: 36px; height: 36px; font-size: 18px; }
  .home-brand strong { font-size: 17px; }
  .home-brand small, .home-nav { display: none; }
  .home-auth-button { min-width: 50px; max-width: 82px; height: 32px; margin-left: auto; padding: 0 9px; }
  .home-header .home-mode { display: flex; flex: 0 0 auto; margin-left: 0; font-size: 8px; }
  .home-copy { width: auto; max-width: 420px; }
  .home-kicker { font-size: 8px; }
  .home-copy h1 { margin: 12px 0 10px; max-width: 350px; font-size: clamp(34px, 10vw, 44px); line-height: 1.12; }
  .home-copy p { max-width: 350px; font-size: 10px; line-height: 1.65; }
  .home-entry { gap: 12px; margin-top: 15px; }
  .home-entry-mark { width: 48px; height: 48px; flex-basis: 48px; font-size: 14px; box-shadow: 0 0 0 7px rgba(229,197,119,.07); }
  .home-entry strong { font-size: 11px; }
  .home-entry small { font-size: 8px; }
  .home-hero { height: calc(100svh - 62px); min-height: 610px; max-height: none; }
  .home-story-hero .home-hero { height: auto; min-height: 0; max-height: none; }
  .home-culture-stage { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-template-rows: repeat(2, minmax(0,1fr)); gap: 1px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.16); }
  .home-stage-status { grid-column: 1 / -1; grid-row: 1 / -1; gap: 12px; padding: 18px; text-align: left; }
  .home-stage-status-seal { width: 44px; height: 44px; flex-basis: 44px; font-size: 18px; }
  .home-stage-status strong { font-size: 16px; }
  .home-stage-status small { font-size: 8px; line-height: 1.45; }
  .home-stage-status button { min-height: 44px; margin-top: 10px; padding: 0 14px; }
  .home-culture-strip, .home-culture-strip:hover, .home-culture-strip:focus-within, .home-culture-strip.active { min-width: 0; padding: 10px 8px; border: 0; box-shadow: inset 0 0 0 999px rgba(7,28,25,.20); }
  .home-culture-visual { opacity: .42; }
  .home-culture-visual::after { background: linear-gradient(180deg, rgba(20, 35, 31, .12), rgba(20, 35, 31, .68)), linear-gradient(90deg, var(--strip-color, #775049), rgba(30, 49, 43, .2)); }
  .home-culture-strip[data-home-culture] { cursor: pointer; touch-action: manipulation; }
  .home-culture-strip.active { box-shadow: inset 0 0 0 999px rgba(7,28,25,.03); }
  .home-culture-no { font-size: 8px; }
  .home-culture-name, .home-culture-strip.active .home-culture-name, .home-culture-strip:hover .home-culture-name, .home-culture-strip:focus-within .home-culture-name { margin-top: 5px; font-size: clamp(12px, 3.4vw, 15px); letter-spacing: 0; writing-mode: horizontal-tb; }
  .home-culture-meta, .home-culture-genes, .home-culture-action, .home-culture-links, .home-culture-status, .home-culture-strip.active .home-culture-meta, .home-culture-strip.active .home-culture-genes, .home-culture-strip.active .home-culture-action, .home-culture-strip.active .home-culture-links, .home-culture-strip.active .home-culture-status { display: none; }
  .home-custom-strip, .home-custom-strip:hover, .home-custom-strip:focus-visible { grid-column: span 2; margin: 0; padding: 10px; flex: none; min-width: 0; flex-direction: row; gap: 10px; border: 1px dashed rgba(232,202,126,.55); background: #1c4741; text-align: left; }
  .home-custom-mark { width: 34px; height: 34px; flex: 0 0 34px; margin: 0; font-size: 16px; transform: none; box-shadow: none; }
  .home-custom-mark b { transform: none; }
  .home-custom-strip .home-culture-name { font-size: 13px; }
  .home-custom-strip .home-culture-meta { display: block; margin-top: 3px; font-size: 7px; }
  .home-culture-stage.has-user-custom .home-custom-strip { grid-column: span 1; flex-direction: column; gap: 5px; text-align: center; }
  .home-culture-stage.has-user-custom .home-custom-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .home-culture-stage.has-user-custom .home-custom-strip .home-culture-name { font-size: 11px; }
  .home-culture-stage.has-user-custom .home-custom-strip .home-culture-meta { display: none; }
  .home-stage-note { justify-content: space-between; gap: 8px; font-size: 7px; }
  .home-stage-note span:last-child { display: none; }
  .custom-culture-dialog { padding: 12px; }
  .custom-culture-panel { max-height: calc(100svh - 24px); overflow-y: auto; padding: 22px 18px; }
  .custom-culture-fields { grid-template-columns: 1fr; }
  .custom-culture-fields label.full { grid-column: auto; }
  .custom-culture-foot { align-items: stretch; flex-direction: column; }
  .custom-culture-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .custom-culture-actions button { width: 100%; }
  .custom-culture-actions .custom-delete.hidden + button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .home-copy, .home-culture-stage, .home-entry-mark, .home-culture-strip, .home-stage-status-seal { animation: none !important; transition: none !important; }
  .home-story-hero::after, .home-entry::after, .home-culture-no::after, .home-culture-strip::before { animation: none !important; transition: none !important; }
}

/* —— iCAN 展示版：章节式滚动叙事 —— */
#view-home.home-story-view { position: relative; overflow: visible; background: #0d2926; }
/* 章节对齐放在根滚动容器上；进入首页时由 app.js 挂上 home-story-snap 类 */
html.home-story-snap { scroll-snap-type: y mandatory; }
html.story-no-snap { scroll-snap-type: none !important; }
.home-story-scroll { position: relative; isolation: isolate; }
.home-story-section { position: relative; min-height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.home-story-section > .story-section-inner { width: min(1160px, calc(100% - 150px)); min-height: 100svh; margin: 0 auto; padding: clamp(96px, 12vh, 136px) 0 clamp(48px, 7vh, 72px); position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.home-story-progress { position: fixed; top: 50%; right: 25px; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 10px; transform: translateY(-50%); border: 1px solid rgba(232,201,127,.26); background: rgba(9,30,27,.66); backdrop-filter: blur(8px); }
.home-story-progress-line { width: 1px; height: 240px; position: relative; background: rgba(242,219,157,.23); }
.home-story-progress-line i { display: block; width: 3px; height: 40px; position: absolute; left: -1px; top: 0; background: #e8c97f; box-shadow: 0 0 16px rgba(232,201,127,.6); transition: transform .6s cubic-bezier(.2,.75,.2,1); }
.home-story-progress-items { display: flex; flex-direction: column; gap: 6px; }
.home-story-progress-items button { width: 72px; display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 0; color: rgba(255,255,255,.42); background: transparent; text-align: left; font-size: 9px; transition: color .3s ease, transform .3s ease; }
.home-story-progress-items button b { color: rgba(233,205,132,.56); font: 11px Georgia,serif; }
.home-story-progress-items button:hover, .home-story-progress-items button:focus-visible, .home-story-progress-items button.active { color: #fff; transform: translateX(-4px); }
.home-story-progress-items button.active b { color: #e8c97f; }
.home-story-progress-items button:focus-visible { outline: 1px solid #e8c97f; outline-offset: 2px; }
.home-story-scroll-hint { position: absolute; left: 56px; bottom: 28px; z-index: 10; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.52); font-size: 9px; letter-spacing: 1px; writing-mode: vertical-rl; }
.home-story-scroll-hint i { width: 1px; height: 44px; position: relative; background: linear-gradient(#e8c97f, transparent); }
.home-story-scroll-hint i::after { content: ""; width: 6px; height: 6px; position: absolute; left: -3px; bottom: 4px; border-right: 1px solid #e8c97f; border-bottom: 1px solid #e8c97f; transform: rotate(45deg); animation: storyHint 1.8s ease-in-out infinite; }
@keyframes storyHint { 50% { transform: translateY(8px) rotate(45deg); opacity: .45; } }
.story-section-index { color: #e3c97e; font: 10px Georgia,serif; letter-spacing: 2px; }
/* 第二章：文化谱展墙 */
.story-atlas-layout { gap: 0; }
.story-atlas-layout .story-section-inner { padding-bottom: clamp(56px, 8vh, 84px); }
.story-atlas-layout .story-section-heading { margin-top: 12px; }
.story-atlas-layout .story-section-heading h2 { font-size: clamp(32px, 4.4vw, 58px); }
.story-atlas-layout .story-section-heading p { margin-top: 10px; max-width: 640px; font-size: 11px; }
.story-atlas-layout .home-culture-stage { margin-top: 18px; flex: 0 0 auto; height: clamp(225px, 36vh, 430px); min-height: 0; }
.story-atlas-layout .home-stage-note { margin-top: 12px; }
.story-section-heading, .story-agents-heading { max-width: 720px; margin-top: 18px; }
.story-section-heading h2, .story-agents-heading h2, .story-boundary-copy h2, .story-create-layout h2, .story-finale-copy h2 { margin: 0; color: #f7f0df; font: 400 clamp(34px, 4vw, 56px)/1.16 STKaiti, KaiTi, serif; letter-spacing: 2px; }
.story-section-heading h2 em, .story-agents-heading h2 em, .story-boundary-copy h2 em, .story-create-layout h2 em, .story-finale-copy h2 em { color: #e25d4f; font-style: normal; }
.story-section-heading p, .story-agents-heading p, .story-boundary-copy p, .story-create-layout p, .story-finale-copy p { max-width: 520px; margin: 14px 0 0; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.8; }
.home-story-atlas { color: #f7f0df; background: #173e39; }
.home-story-atlas::before, .home-story-agents::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(239,211,143,.045) 0 1px, transparent 1px 92px), repeating-linear-gradient(0deg, rgba(239,211,143,.035) 0 1px, transparent 1px 92px); opacity: .75; }
.story-backdrop { position: absolute; inset: 0; pointer-events: none; }
.story-backdrop-atlas span, .story-backdrop-atlas i, .story-backdrop-atlas b { position: absolute; display: block; border: 1px solid rgba(228,201,128,.22); border-radius: 50%; }
.story-backdrop-atlas span { width: 58vw; height: 58vw; right: -15vw; top: 8%; box-shadow: 0 0 0 32px rgba(228,201,128,.04), 0 0 0 92px rgba(228,201,128,.025); animation: atlasSpin 32s linear infinite; }
.story-backdrop-atlas i { width: 34vw; height: 34vw; right: 8vw; top: 25%; border-style: dashed; animation: atlasSpin 18s linear reverse infinite; }
.story-backdrop-atlas b { width: 13vw; height: 13vw; right: 18vw; top: 38%; background: radial-gradient(circle, rgba(229,201,127,.24), transparent 65%); border-color: #e8c97f; }
@keyframes atlasSpin { to { transform: rotate(360deg); } }
.story-atlas-marquee { display: flex; gap: 22px; margin-top: 30px; overflow: hidden; color: rgba(236,211,145,.48); font: 16px STKaiti, KaiTi,serif; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.story-atlas-marquee span { flex: 0 0 auto; animation: marquee 22s linear infinite; }
.story-atlas-marquee span + span { margin-left: -14px; animation-delay: -11s; }
@keyframes marquee { to { transform: translateX(-100%); } }
.story-text-link { padding: 8px 0; border: 0; border-bottom: 1px solid rgba(239,214,150,.65); color: #e8c97f; background: transparent; font-size: 11px; white-space: nowrap; }.story-text-link span { margin-left: 8px; font-size: 15px; transition: transform .25s ease; display: inline-block; }.story-text-link:hover span { transform: translate(4px,-2px); }
.home-story-boundary { color: #183a35; background: #efe9dc; }
.home-story-boundary .story-section-inner { color: #17352f; }.home-story-boundary .story-section-index { color: #b34e41; }.home-story-boundary .story-boundary-copy h2 { color: #17352f; }.home-story-boundary .story-boundary-copy h2 em { color: #c04b40; }.home-story-boundary .story-boundary-copy p { color: #66736d; }
.story-boundary-layout { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(300px, .72fr); align-content: center; gap: 6vw; }.story-boundary-layout .story-section-index { grid-column: 1/-1; align-self: end; margin-bottom: 18px; }.story-boundary-copy { position: relative; }.story-boundary-stamp { width: 96px; height: 96px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; margin-top: 24px; padding: 10px; border: 1px solid #c88979; color: #a64038; transform: rotate(-7deg); }.story-boundary-stamp span { font: 52px STKaiti, KaiTi,serif; line-height: 1; }.story-boundary-stamp small { color: #9b6a60; font-size: 8px; line-height: 1.6; }.story-evidence-stack { display: flex; flex-direction: column; gap: 1px; }.story-evidence-stack article { padding: 14px 18px; border-left: 3px solid #cc5a4b; background: rgba(255,255,255,.58); transform: translateX(0); transition: transform .35s ease, background .35s ease; }.story-evidence-stack article:nth-child(2) { border-color: #d1ab53; }.story-evidence-stack article:nth-child(3) { border-color: #3d756b; }.story-evidence-stack article:hover { transform: translateX(12px); background: #fffdf7; }.story-evidence-stack article.pending { border-left: 3px dashed #b34e41; background: rgba(255,255,255,.34); }.story-evidence-stack article.pending span { color: #9b4a40; }.story-evidence-stack span { color: #a94339; font: 10px Georgia,serif; letter-spacing: 2px; }.story-evidence-stack strong { display: block; margin-top: 5px; color: #17352f; font: 18px STKaiti, KaiTi,serif; }.story-evidence-stack p { margin: 4px 0 0; color: #7a817d; font-size: 9px; }
.story-boundary-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }.story-boundary-flow span { padding: 6px 12px; background: rgba(255,255,255,.72); border: 1px solid #d4c8ab; color: #4c5f58; font-size: 10px; }.story-boundary-flow i { color: #a87627; font-style: normal; font-size: 12px; }
.home-story-create { color: #f8f2e4; background: #622f2e; }.home-story-create::before { content: ""; position: absolute; inset: 0; opacity: .22; background: radial-gradient(circle at 76% 48%, #e1b867, transparent 27%), repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 1px, transparent 1px 13px); }.story-create-layout { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(300px,.8fr); align-content: center; gap: 8vw; }.story-create-layout .story-section-index { grid-column: 1/-1; margin-bottom: 18px; }.story-create-layout p { color: rgba(255,242,226,.68); }.story-primary-entry { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 0 18px 6px 0; border: 0; border-bottom: 1px solid rgba(244,218,154,.7); color: #fff8e8; background: transparent; text-align: left; text-decoration: none; }.story-primary-entry .entry-seal { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #e9cb80; background: #be4b42; font: 24px STKaiti, KaiTi,serif; }.story-primary-entry .entry-copy { display: grid; gap: 4px; min-width: 0; }.story-primary-entry .entry-copy strong, .story-primary-entry .entry-copy small { white-space: nowrap; }.story-primary-entry strong { font: 18px STKaiti, KaiTi,serif; }.story-primary-entry small { color: rgba(255,255,255,.58); font-size: 9px; }.story-primary-entry > i { color: #e9cb80; font-size: 20px; font-style: normal; transition: transform .3s ease; }.story-primary-entry:hover > i { transform: translateX(6px); }.story-primary-entry.compact { margin-top: 25px; }.story-primary-entry.compact strong { font-size: 16px; }
/* 第四章：四步创作流程长卷 */
.story-create-flow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 26px 0 4px; padding: 0; list-style: none; border-top: 1px solid rgba(237,213,148,.3); border-bottom: 1px solid rgba(237,213,148,.3); }
.story-create-flow li { min-width: 0; display: grid; gap: 3px; padding: 13px 14px; border-right: 1px solid rgba(237,213,148,.18); }
.story-create-flow li:last-child { border-right: 0; }
.story-create-flow b { color: #e9c97e; font: 11px Georgia,serif; }
.story-create-flow span { color: rgba(255,244,222,.86); font: 13px STKaiti, KaiTi,serif; letter-spacing: 1px; }.story-create-orbit { width: min(300px, 36vh); aspect-ratio: 1; position: relative; display: grid; place-items: center; border: 1px solid rgba(240,210,137,.48); border-radius: 50%; box-shadow: 0 0 0 24px rgba(232,201,127,.06), 0 0 0 48px rgba(232,201,127,.035); animation: orbitBreath 5s ease-in-out infinite; }.story-create-orbit::before, .story-create-orbit::after { content: ""; position: absolute; inset: 12%; border: 1px dashed rgba(240,210,137,.5); border-radius: 50%; transform: rotate(28deg) scaleY(.52); }.story-create-orbit::after { transform: rotate(-28deg) scaleY(.52); }.story-create-orbit > span { position: absolute; color: #efd38e; font: 16px STKaiti, KaiTi,serif; }.story-create-orbit > span:nth-child(1) { top: 9%; }.story-create-orbit > span:nth-child(2) { right: 6%; }.story-create-orbit > span:nth-child(3) { bottom: 9%; }.story-create-orbit > span:nth-child(4) { left: 5%; }.story-orbit-core { width: 84px; height: 84px; display: grid; place-items: center; border: 1px solid #efd38e; color: #fff4cf; background: rgba(190,75,66,.85); font: 38px STKaiti, KaiTi,serif; box-shadow: 0 0 0 10px rgba(232,201,127,.1); }.home-story-agents { color: #f8f2e4; background: #102f2c; }.story-agent-track { display: grid; grid-template-columns: minmax(0,1fr) 92px minmax(0,1fr); align-items: center; gap: 18px; margin-top: 30px; }.story-agent-card { min-height: 148px; display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 20px; border: 1px solid rgba(236,211,144,.4); background: rgba(255,255,255,.06); transition: transform .45s cubic-bezier(.2,.7,.2,1), background .35s ease; }.story-agent-card:hover { transform: translateY(-10px); background: rgba(255,255,255,.12); }.story-agent-card.guardian { border-color: rgba(107,181,158,.55); }.agent-card-seal { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #e5c77d; color: #f1d993; font: 24px STKaiti, KaiTi,serif; }.guardian .agent-card-seal { border-color: #8fcab2; color: #a8dec6; }.story-agent-card small { color: #e6c87f; font: 9px Georgia,serif; letter-spacing: 1.5px; }.story-agent-card h3 { margin: 6px 0 0; color: #fff2cf; font: 23px STKaiti, KaiTi,serif; }.story-agent-card p { margin: 6px 0 0; color: rgba(255,255,255,.55); font-size: 10px; line-height: 1.7; }.story-agent-card > b { align-self: start; color: rgba(255,255,255,.42); font: 12px Georgia,serif; }/* 第五章：双智能体之间的协同轨——脉冲往返，途经初稿、审校、修订 */
.story-agent-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px 0; }
.story-agent-link::before { content: ""; width: 1px; height: 118px; background: linear-gradient(180deg, rgba(228,198,126,.75), rgba(107,181,158,.75)); }
.story-agent-pulse { position: absolute; top: 18px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: #f0d58d; box-shadow: 0 0 14px rgba(240,213,141,.85); transform: translate(-50%, 0); animation: agentPulse 4.4s ease-in-out infinite; }
@keyframes agentPulse { 0% { top: 18px; opacity: .25; } 50% { top: calc(100% - 27px); opacity: 1; } 100% { top: 18px; opacity: .25; } }
.story-agent-rune { display: grid; gap: 9px; padding: 0 0; background: transparent; }
.story-agent-rune b { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(233,205,132,.55); background: #0d2926; color: #ecd9a4; font: 400 13px STKaiti, KaiTi,serif; }.home-story-finale { color: #17352f; background: #ede5d5; }.story-finale-wash { position: absolute; inset: 0; background: radial-gradient(circle at 74% 52%, rgba(211,170,86,.28), transparent 25%), linear-gradient(110deg, rgba(255,255,255,.24), transparent 42%); }.story-finale-layout { display: grid !important; grid-template-columns: minmax(0,1fr) 210px; align-content: center; gap: 8vw; }.story-finale-layout .story-section-index { grid-column: 1/-1; color: #b0493e; }.story-finale-copy h2 { color: #17352f; }.story-finale-copy h2 em { color: #be4d42; }.story-finale-copy p { color: #66756e; }.story-finale-actions { display: flex; align-items: center; gap: 28px; }.story-finale-seal { width: 150px; height: 150px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px solid #c84f43; color: #bd4c42; transform: rotate(7deg); box-shadow: inset 0 0 0 8px rgba(200,79,67,.06), 0 0 0 12px rgba(200,79,67,.08); }.story-finale-seal span { font: 58px STKaiti, KaiTi,serif; }.story-finale-seal small { font: 8px Georgia,serif; letter-spacing: 3px; line-height: 1.5; text-align: center; }
@keyframes orbitBreath { 50% { transform: rotate(3deg) scale(1.025); box-shadow: 0 0 0 38px rgba(232,201,127,.08), 0 0 0 72px rgba(232,201,127,.04); } }
/* 第六章：作品展厅能力展签 */
.story-finale-capabilities { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; margin: 18px 0 4px; padding: 0; list-style: none; max-width: 640px; }
.story-finale-capabilities li { min-width: 0; padding: 11px 11px 10px; background: rgba(23,58,53,.55); border: 1px solid rgba(180,158,110,.3); border-top: 2px solid rgba(211,170,86,.6); }
.story-finale-capabilities b { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 7px; border: 1px solid rgba(226,200,135,.45); color: #ecd9a4; font: 400 14px STKaiti, KaiTi,serif; }
.story-finale-capabilities span { display: block; color: #f3e8cd; font: 12px STKaiti, KaiTi,serif; letter-spacing: .5px; }
.story-finale-capabilities small { display: block; margin-top: 4px; color: rgba(255,255,255,.45); font-size: 8px; line-height: 1.45; }
.home-story-section.is-visible .story-section-heading, .home-story-section.is-visible .story-boundary-copy, .home-story-section.is-visible .story-agent-track, .home-story-section.is-visible .story-finale-copy { animation: storyRise .8s cubic-bezier(.2,.7,.2,1) both; }
.home-story-section.is-visible .story-evidence-stack { animation: storySlide .9s .12s cubic-bezier(.2,.7,.2,1) both; }
@keyframes storyRise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes storySlide { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .home-story-progress { right: 12px; }.home-story-progress-items button { width: 54px; padding-inline: 3px; }.home-story-progress-items button span { display: none; }
  .home-story-section > .story-section-inner { width: min(100% - 96px, 680px); }.story-boundary-layout, .story-create-layout, .story-finale-layout { gap: 38px; }.story-create-orbit { width: min(280px, 42vw); }
  .story-agent-track { grid-template-columns: 1fr; gap: 8px; }
  .story-agent-link { flex-direction: row; padding: 6px 0; }.story-agent-link::before { width: 118px; height: 1px; }.story-agent-pulse { animation-name: agentPulseH; top: 50%; left: 12px; }@keyframes agentPulseH { 0% { left: 12px; opacity: .25; } 50% { left: calc(100% - 21px); opacity: 1; } 100% { left: 12px; opacity: .25; } }
  .story-agent-rune { display: flex; gap: 9px; }
  .story-agent-card { min-height: 140px; }
  .story-create-flow { grid-template-columns: repeat(2, minmax(0,1fr)); }.story-create-flow li:nth-child(2n) { border-right: 0; }.story-create-flow li:nth-child(-n+2) { border-bottom: 1px solid rgba(237,213,148,.18); }
  .story-finale-capabilities { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  #view-home.home-story-view { margin: 0; }.home-story-section { min-height: calc(100svh - 62px); }.home-story-section > .story-section-inner { width: calc(100% - 48px); min-height: calc(100svh - 62px); padding: 82px 0 118px; }.home-story-progress { top: auto; right: 0; bottom: 74px; left: 0; justify-content: center; transform: none; padding: 8px; }.home-story-progress-line { display: none; }.home-story-progress-items { flex-direction: row; gap: 4px; padding: 6px 9px; border: 1px solid rgba(232,201,127,.28); border-radius: 20px; background: rgba(11,37,33,.72); backdrop-filter: blur(8px); }.home-story-progress-items button { width: 22px; height: 22px; justify-content: center; padding: 0; border-radius: 50%; }.home-story-progress-items button b { font-size: 8px; }.home-story-progress-items button.active { color: #fff; background: #b94a41; transform: none; }.home-story-progress-items button.active b { color: #fff3cf; }.home-story-section .story-section-index { font-size: 8px; }.story-section-heading h2, .story-agents-heading h2, .story-boundary-copy h2, .story-create-layout h2, .story-finale-copy h2 { font-size: clamp(36px, 11vw, 54px); }.story-section-heading p, .story-agents-heading p, .story-boundary-copy p, .story-create-layout p, .story-finale-copy p { font-size: 12px; line-height: 1.75; }.home-story-scroll-hint { left: 20px; bottom: 128px; font-size: 8px; }.story-backdrop-atlas span { width: 110vw; height: 110vw; right: -48vw; top: 20%; }.story-backdrop-atlas i { width: 66vw; height: 66vw; right: -2vw; top: 34%; }.story-atlas-marquee { margin-top: 22px; font-size: 13px; }.story-atlas-layout .home-culture-stage { margin-top: 16px; min-height: 300px; grid-template-rows: repeat(2, minmax(150px, 1fr)); }.story-atlas-layout .home-stage-note { margin-top: 10px; font-size: 8px; }.story-boundary-layout, .story-create-layout, .story-finale-layout { display: flex !important; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; }.story-boundary-layout .story-section-index, .story-create-layout .story-section-index { margin-bottom: 0; }.story-boundary-flow span { padding: 5px 9px; font-size: 9px; }.story-evidence-stack { width: 100%; }.story-evidence-stack article { padding: 13px 16px; }.story-evidence-stack strong { font-size: 18px; }.story-boundary-stamp { width: 86px; height: 86px; margin-top: 20px; }.story-boundary-stamp span { font-size: 48px; }.story-boundary-stamp small { font-size: 7px; }.story-create-flow { width: 100%; margin-top: 20px; }.story-create-flow span { font-size: 12px; }.story-create-flow li { padding: 11px 10px; }.story-create-orbit { width: min(250px, 64vw); align-self: center; margin-top: 10px; }.story-create-orbit > span { font-size: 14px; }.story-orbit-core { width: 74px; height: 74px; font-size: 32px; }.story-agent-track { width: 100%; margin-top: 28px; }.story-agent-card { grid-template-columns: 44px minmax(0,1fr) auto; min-height: 116px; padding: 15px; gap: 11px; }.agent-card-seal { width: 40px; height: 40px; font-size: 20px; }.story-agent-card h3 { font-size: 20px; }.story-agent-card p { font-size: 9px; }.story-agent-rune b { width: 28px; height: 28px; font-size: 11px; }.story-finale-layout { align-items: flex-start; }.story-finale-seal { width: 110px; height: 110px; align-self: flex-end; }.story-finale-seal span { font-size: 48px; }.story-finale-capabilities { width: 100%; max-width: none; margin-top: 20px; gap: 8px; }.story-finale-capabilities li { padding: 11px 10px; }.story-finale-capabilities span { font-size: 12px; }.story-finale-actions { align-items: flex-start; flex-direction: column; gap: 16px; }.story-primary-entry { gap: 10px; }.story-primary-entry .entry-seal { width: 44px; height: 44px; font: 20px STKaiti, KaiTi,serif; }.story-primary-entry > i { margin-left: 10px; }.story-primary-entry .entry-copy strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html.home-story-snap { scroll-snap-type: none; }
  .home-story-progress-line i, .home-story-progress-items button, .story-backdrop-atlas span, .story-backdrop-atlas i, .story-create-orbit, .story-agent-pulse, .story-agent-link::before, .story-atlas-marquee span, .home-story-scroll-hint i::after, .home-story-section.is-visible .story-section-heading, .home-story-section.is-visible .story-boundary-copy, .home-story-section.is-visible .story-agent-track, .home-story-section.is-visible .story-finale-copy, .home-story-section.is-visible .story-evidence-stack { animation: none !important; transition: none !important; }
}

/* —— 2026 数字展馆门户视觉重构 ——
   业务结构继续复用六章首页，视觉上从概念化沉浸页收束为机构型文化展馆。 */
.home-portal-view {
  --portal-ink: #5d2928;
  --portal-paper: #f7f0e4;
  --portal-red: #a9332d;
  --portal-gold: #a97524;
  --portal-jade: #8b6129;
}
.home-portal-view .home-story-section {
  min-height: min(100svh, 820px);
  border-bottom: 1px solid rgba(24, 58, 53, .12);
}
.home-portal-view .home-story-section > .story-section-inner {
  width: min(1180px, calc(100% - 120px));
  min-height: min(100svh, 820px);
  padding-top: 118px;
  padding-bottom: 64px;
}
.home-portal-view .home-header {
  height: 76px;
  padding: 0 48px;
  color: var(--portal-ink);
  background: rgba(244, 239, 228, .96);
  border-bottom: 1px solid rgba(24, 58, 53, .16);
  box-shadow: 0 8px 20px rgba(24, 58, 53, .04);
}
.home-portal-view .home-header::after { left: 48px; right: 48px; background: var(--portal-red); }
.home-portal-view .home-brand strong { color: var(--portal-ink); }
.home-portal-view .home-brand small { color: #73837c; }
.home-portal-view .home-brand-seal {
  color: #fff;
  background: var(--portal-red);
  border-color: var(--portal-red);
  box-shadow: inset 0 0 0 4px var(--portal-red), inset 0 0 0 5px rgba(255,255,255,.25);
}
.home-portal-view .home-nav button { color: #65746e; }
.home-portal-view .home-nav button:hover,
.home-portal-view .home-nav button:focus-visible,
.home-portal-view .home-nav button.active { color: var(--portal-ink); }
.home-portal-view .home-nav button.active { text-decoration-color: var(--portal-red); }
.home-portal-view .home-auth-button {
  color: var(--portal-ink);
  border-color: rgba(24, 58, 53, .25);
  background: transparent;
}
.home-portal-view .home-auth-button:hover,
.home-portal-view .home-auth-button:focus-visible {
  color: #fff;
  border-color: var(--portal-ink);
  background: var(--portal-ink);
}
.home-portal-view .home-header .home-mode { color: #798780; }
.home-portal-view .home-header .home-mode i { background: var(--portal-jade); }
.home-portal-view .home-story-progress {
  top: auto;
  right: 48px;
  bottom: 24px;
  transform: none;
  padding: 8px 11px;
  border: 1px solid rgba(24, 58, 53, .16);
  background: rgba(244, 239, 228, .94);
  box-shadow: 0 10px 24px rgba(24, 58, 53, .08);
}
.home-portal-view .home-story-progress-line { display: none; }
.home-portal-view .home-story-progress-items { flex-direction: row; gap: 3px; }
.home-portal-view .home-story-progress-items button {
  width: auto;
  min-height: 30px;
  padding: 6px 9px;
  color: #7a8882;
  border-left: 1px solid rgba(24, 58, 53, .12);
}
.home-portal-view .home-story-progress-items button:first-child { border-left: 0; }
.home-portal-view .home-story-progress-items button b { color: var(--portal-gold); font-size: 10px; }
.home-portal-view .home-story-progress-items button.active {
  color: #fff;
  background: var(--portal-ink);
  transform: none;
}
.home-portal-view .home-story-progress-items button.active b { color: #e7c477; }
.home-portal-view .home-story-scroll-hint { display: none; }
.home-portal-view .home-story-scroll-hint i { background: var(--portal-red); }
.home-portal-view .home-story-hero {
  min-height: calc(100svh - 56px);
  color: #fff8e9;
  background: #4a2224;
}
.home-portal-view .home-story-hero::before,
.home-portal-view .home-story-hero::after { display: none; }
.home-portal-view .home-story-hero .story-section-inner {
  min-height: calc(100svh - 56px);
  justify-content: center;
}
.home-portal-view .home-hero {
  width: 100%;
  min-height: 0;
  display: grid;
  align-items: center;
}
.home-portal-view .home-copy {
  width: min(45%, 490px);
  max-width: 490px;
  animation: portalRise .7s ease both;
}
.home-portal-view .home-kicker {
  color: #efd599;
  font-family: var(--font-figure, Georgia, serif);
  letter-spacing: 0;
}
.home-portal-view .home-kicker::before { background: #d46755; box-shadow: none; }
.home-portal-view .home-copy h1 {
  margin: 24px 0 12px;
  color: #fff8e9;
  font-size: clamp(52px, 5.2vw, 76px);
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: none;
}
.home-portal-view .home-hero-statement {
  display: block;
  color: #f2d69d;
  font: 28px/1.45 var(--font-display, STKaiti, serif);
}
.home-portal-view .home-copy p {
  max-width: 440px;
  margin-top: 22px;
  color: #e0e6df;
  font-size: 13px;
  line-height: 1.85;
}
.home-portal-view .home-entry {
  gap: 14px;
  width: max-content;
  max-width: 100%;
  min-height: 62px;
  margin-top: 30px;
  padding: 0 18px 0 0;
  color: #fff;
  background: #af493d;
  border: 1px solid #dfaa80;
}
.home-portal-view .home-entry-mark {
  width: 62px;
  height: 62px;
  flex-basis: 62px;
  color: #fff8e9;
  background: #87392f;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.home-portal-view .home-entry strong { font-size: 15px; }
.home-portal-view .home-entry small { color: #f2d9c9; }
.home-portal-view .home-entry::after { color: #fff8e9; }
.home-portal-view .home-gallery-entry {
  display: block;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 0;
  color: #f2d69d;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(242, 214, 157, .55);
  font-size: 12px;
  text-align: left;
}
.home-portal-view .home-gallery-entry span { margin-left: 8px; }
.home-portal-view .home-hero-exhibit {
  position: absolute;
  inset: 76px 0 0;
  min-height: 0;
  overflow: hidden;
  background: #172425;
}
.home-portal-view .hero-exhibit-picture,
.home-portal-view .hero-exhibit-picture img {
  width: 100%;
  height: 100%;
  display: block;
}
.home-portal-view .hero-exhibit-picture img {
  object-fit: cover;
  object-position: center 20%;
}
.home-portal-view .hero-exhibit-controls {
  position: absolute;
  z-index: 3;
  top: 94px;
  right: 60px;
  display: flex;
  align-items: center;
  color: #fff8e9;
  background: rgba(12, 32, 30, .84);
  border: 1px solid rgba(255, 248, 233, .35);
}
.home-portal-view .hero-exhibit-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.home-portal-view .hero-exhibit-controls button:hover,
.home-portal-view .hero-exhibit-controls button:focus-visible { background: #af493d; }
.home-portal-view .hero-exhibit-controls button:focus-visible { outline: 2px solid #f2d69d; outline-offset: -3px; }
.home-portal-view .hero-exhibit-controls svg { width: 18px; height: 18px; }
.home-portal-view .hero-exhibit-controls span {
  width: 44px;
  flex: 0 0 44px;
  color: #f2d69d;
  font: 10px Georgia, serif;
  text-align: center;
  white-space: nowrap;
}
.home-portal-view .home-hero-exhibit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 22, 24, .48), transparent 54%);
  pointer-events: none;
}
.home-portal-view .home-hero-exhibit.hero-exhibit-symbolic {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 80px), var(--hero-culture-color, #24564f);
}
.home-portal-view .hero-exhibit-symbolic picture { visibility: hidden; }
.home-portal-view .hero-exhibit-symbolic::before {
  content: attr(data-culture-name);
  position: absolute;
  top: 24%;
  right: 12%;
  color: rgba(255,255,255,.32);
  font: 42px STKaiti, serif;
  writing-mode: vertical-rl;
}
.home-portal-view .home-hero-current {
  display: grid;
  gap: 3px;
  margin-top: 20px;
  padding-left: 13px;
  border-left: 2px solid #dfbd70;
  color: #fff7e3;
}
.home-portal-view .home-hero-current span, .home-portal-view .home-hero-current small { color: #d8cda9; font-size: 10px; }
.home-portal-view .home-hero-current strong { font: 23px STKaiti, serif; }
.home-portal-view .story-atlas-layout .home-culture-stage { overflow-x: auto; scrollbar-width: thin; }
.home-portal-view .home-culture-strip { min-width: 78px; }
.home-portal-view .home-culture-strip.active { min-width: 190px; }
.home-portal-view .story-agent-consult { min-height: 44px; margin-top: 20px; padding: 9px 2px; border: 0; border-bottom: 1px solid #f1d597; color: #f1d597; background: transparent; font-size: 12px; }
.home-portal-view .story-agent-consult span { margin-left: 12px; }
.home-portal-view .hero-exhibit-caption {
  position: absolute;
  z-index: 1;
  right: 60px;
  bottom: 72px;
  max-width: min(36vw, 440px);
  padding: 9px 12px;
  color: #fff8e9;
  background: rgba(12, 32, 30, .82);
  font-size: 10px;
  line-height: 1.5;
}
.home-portal-view .home-story-hero + .home-story-atlas { padding-top: 0; }
.home-portal-view .home-story-atlas { color: var(--portal-ink); background: #f0e4d0; }
.home-portal-view .home-story-atlas::before,
.home-portal-view .story-backdrop-atlas { display: none; }
.home-portal-view .story-section-index { color: var(--portal-red); font-size: 10px; letter-spacing: 1.7px; }
.home-portal-view .story-heading-label {
  display: block;
  margin-bottom: 10px;
  color: var(--portal-gold);
  font: 10px var(--font-figure, Georgia, serif);
  letter-spacing: 1.5px;
}
.home-portal-view .story-section-heading h2,
.home-portal-view .story-agents-heading h2,
.home-portal-view .story-boundary-copy h2,
.home-portal-view .story-create-layout h2,
.home-portal-view .story-finale-copy h2 {
  color: var(--portal-ink);
  font-size: clamp(34px, 4.5vw, 62px);
  letter-spacing: 0;
}
.home-portal-view .story-section-heading h2 em,
.home-portal-view .story-agents-heading h2 em,
.home-portal-view .story-boundary-copy h2 em,
.home-portal-view .story-create-layout h2 em,
.home-portal-view .story-finale-copy h2 em { color: var(--portal-red); }
.home-portal-view .story-section-heading p,
.home-portal-view .story-agents-heading p,
.home-portal-view .story-boundary-copy p,
.home-portal-view .story-create-layout p,
.home-portal-view .story-finale-copy p {
  color: #64746d;
  font-size: 12px;
  line-height: 1.9;
}
.home-portal-view .story-atlas-marquee { margin-top: 24px; color: rgba(24, 58, 53, .38); }
.home-portal-view .home-culture-stage {
  border: 1px solid rgba(24, 58, 53, .2);
  background: #803e35;
  box-shadow: 12px 12px 0 rgba(24, 58, 53, .08);
}
.home-portal-view .home-stage-note { color: #71817a; border-top-color: rgba(24, 58, 53, .16); }
.home-portal-view .home-stage-note b { color: var(--portal-red); }
.home-portal-view .home-story-boundary { color: var(--portal-ink); background: #f3eee4; }
.home-portal-view .story-evidence-stack { gap: 0; }
.home-portal-view .story-evidence-stack article {
  padding: 17px 20px;
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(24, 58, 53, .12);
}
.home-portal-view .story-evidence-stack article:hover { transform: translateX(8px); }
.home-portal-view .story-evidence-stack strong { color: var(--portal-ink); }
.home-portal-view .story-boundary-flow span { color: var(--portal-ink); background: #fffaf1; border-color: #d8c9ac; }
.home-portal-view .story-boundary-stamp { border-color: var(--portal-red); color: var(--portal-red); }
.home-portal-view .home-story-create { color: #f7f0df; background: #7a4038; }
.home-portal-view .home-story-create::before { display: none; }
.home-portal-view .story-create-flow { border-color: rgba(249, 226, 171, .35); }
.home-portal-view .story-create-flow li { border-color: rgba(249, 226, 171, .22); }
.home-portal-view .story-create-orbit {
  border-radius: 0;
  border-color: rgba(248, 219, 143, .64);
  box-shadow: 14px 14px 0 rgba(20, 58, 54, .18);
  animation: none;
}
.home-portal-view .story-create-orbit::before,
.home-portal-view .story-create-orbit::after { border-radius: 0; }
.home-portal-view .story-orbit-core { border-radius: 0; background: var(--portal-red); box-shadow: none; }
.home-portal-view .home-story-agents { color: #f7f0df; background: #672c2c; }
.home-portal-view .home-story-agents::before { display: none; }
.home-portal-view .home-story-agents .story-agents-heading h2,
.home-portal-view .home-story-agents .story-agents-heading p { color: #f7f0df; }
.home-portal-view .home-story-agents .story-agents-heading p { color: rgba(247,240,223,.66); }
.home-portal-view .story-agent-card {
  border-color: rgba(237, 218, 169, .48);
  border-radius: 0;
  background: rgba(17, 45, 52, .35);
}
.home-portal-view .story-agent-card:hover { transform: translateY(-5px); }
.home-portal-view .home-story-finale { color: var(--portal-ink); background: #ebe1ce; }
.home-portal-view .story-finale-wash { display: none; }
.home-portal-view .story-finale-seal { border-radius: 0; transform: none; box-shadow: inset 0 0 0 8px rgba(185, 75, 63, .06); }
.home-portal-view .story-finale-capabilities li { border-radius: 0; background: var(--portal-ink); }
/* 成果展陈的浅底与展项共用深色文字，避免旧版深底文字规则混入。 */
.home-portal-view .home-story-finale { background: #f5f0e6; }
.home-portal-view .story-finale-copy h2 { color: #482723; }
.home-portal-view .story-finale-copy p { color: #584b42; }
.home-portal-view .story-finale-capabilities li { border: 1px solid #d7c4a6; border-top: 3px solid #a3332c; background: #fffaf2; }
.home-portal-view .story-finale-capabilities b { border-color: #bc9e69; color: #8b2c2a; }
.home-portal-view .story-finale-capabilities span { color: #3f3029; font-family: STKaiti, KaiTi, serif; font-size: 14px; }
.home-portal-view .story-finale-capabilities small { color: #67594d; font-size: 11px; }
.home-portal-view .story-finale-actions .story-primary-entry { border-bottom-color: #a3332c; color: #612a29; }
.home-portal-view .story-finale-actions .entry-seal { color: #fff7e9; }
.home-portal-view .story-finale-actions .story-primary-entry > i { color: #a3332c; }
.home-portal-view .story-finale-actions .story-text-link { border-bottom-color: #a3332c; color: #612a29; }
.atlas-collaboration { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 28px 0 12px; padding: 20px 0; border-top: 1px solid #d9c8ae; color: #65382f; }
.atlas-collaboration .ghost-button { min-height: 44px; }
.home-portal-view .home-custom-strip,
.home-portal-view .home-custom-strip:hover,
.home-portal-view .home-custom-strip:focus-visible { background: #72352e; }
.home-portal-view .home-stage-status,
.home-portal-view .home-culture-stage.is-failed .home-stage-status { background: #71302d; }
.home-portal-view .hero-exhibit-caption { background: rgba(70, 28, 30, .86); }
.home-portal-view .story-agent-card { background: rgba(66, 22, 24, .38); }
.home-portal-view .home-hero-exhibit { background: #4a2224; }
.home-portal-view .home-hero-exhibit.hero-exhibit-symbolic { background: repeating-linear-gradient(90deg, rgba(230,191,120,.06) 0 1px, transparent 1px 80px), #72352e; }
.home-portal-view .hero-exhibit-controls { background: rgba(70, 28, 30, .92); }
.home-portal-view .home-hero-exhibit::after { background: linear-gradient(90deg, rgba(62, 24, 25, .64), rgba(62, 24, 25, .08) 62%); }
.home-portal-view .home-story-progress-items { background: rgba(84, 31, 30, .9); }
.home-portal-view .home-copy p { color: #f3e9da; }
.home-portal-view .story-section-heading p,
.home-portal-view .story-agents-heading p,
.home-portal-view .story-boundary-copy p,
.home-portal-view .story-create-layout p,
.home-portal-view .story-finale-copy p { color: #725d50; }
.home-portal-view .home-story-finale .story-finale-copy p { color: #584b42; }
.home-portal-view .home-story-agents .story-agents-heading p { color: #f1e2c9; }
@keyframes portalRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .home-portal-view .home-copy { width: min(50%, 430px); }
  .home-portal-view .hero-exhibit-caption { right: 40px; bottom: 68px; }
  .home-portal-view .home-story-section > .story-section-inner { width: min(100% - 80px, 700px); }
}
@media (min-width: 721px) and (max-width: 850px) {
  .home-portal-view .home-header { gap: 9px; padding-inline: 20px; }
  .home-portal-view .home-nav { gap: 9px; }
  .home-portal-view .home-brand strong { font-size: 17px; }
  .home-portal-view .home-nav button { font-size: 10px; }
}
@media (max-width: 720px) {
  .atlas-collaboration { align-items: flex-start; flex-direction: column; }
  .custom-culture-panel { max-height: calc(100svh - 32px); overflow-y: auto; }
  .custom-culture-matches { grid-column: auto; }
  .home-portal-view .home-hero-current { margin-top: 9px; }
  .home-portal-view .home-hero-current strong { font-size: 18px; }
  .home-portal-view .hero-exhibit-symbolic::before { top: 14%; right: 10%; font-size: 28px; }
  .home-portal-view .story-atlas-layout .home-culture-stage {
    display: flex;
    min-height: 205px;
    height: 205px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .home-portal-view .home-culture-strip, .home-portal-view .home-culture-strip.active {
    flex: 0 0 135px;
    min-width: 135px;
    scroll-snap-align: start;
  }
  .home-portal-view .home-custom-strip, .home-portal-view .home-custom-strip:hover { flex: 0 0 155px; }
  .home-portal-view .home-header { padding: 0 18px; background: rgba(244, 239, 228, .98); }
  .home-portal-view .home-header::after { left: 18px; right: 18px; }
  .home-portal-view .home-story-progress { right: 12px; bottom: 64px; padding: 5px; border-radius: 0; }
  .home-portal-view .home-story-progress-items button {
    width: 24px;
    min-height: 24px;
    padding: 0;
    justify-content: center;
    border-left: 0;
  }
  .home-portal-view .home-story-progress-items button span { display: none; }
  .home-portal-view .home-story-scroll-hint { display: none; }
  .home-portal-view .home-story-hero { min-height: calc(100svh - 96px); }
  .home-portal-view .home-story-section > .story-section-inner {
    width: calc(100% - 42px);
    min-height: calc(100svh - 62px);
    padding-top: 88px;
    padding-bottom: 112px;
  }
  .home-portal-view .home-story-hero .story-section-inner {
    min-height: calc(100svh - 96px);
    padding-top: 310px;
    padding-bottom: 52px;
    justify-content: flex-end;
  }
  .home-portal-view .home-copy { width: 100%; max-width: 470px; }
  .home-portal-view .home-copy h1 { margin-top: 12px; font-size: 44px; }
  .home-portal-view .home-hero-statement { font-size: 20px; line-height: 1.3; }
  .home-portal-view .home-hero-statement br { display: none; }
  .home-portal-view .home-copy p { margin-top: 10px; font-size: 11px; line-height: 1.7; }
  .home-portal-view .home-copy p { max-width: 100%; padding-right: 21px; overflow-wrap: anywhere; }
  .home-portal-view .home-entry { margin-top: 16px; }
  .home-portal-view .home-entry-mark { width: 52px; height: 52px; flex-basis: 52px; }
  .home-portal-view .home-gallery-entry { margin-top: 5px; }
  .home-portal-view .home-hero-exhibit {
    background-image: none;
  }
  .home-portal-view .hero-exhibit-picture img { object-position: center top; }
  .home-portal-view .hero-exhibit-controls { right: auto; left: 16px; }
  .home-portal-view .home-hero-exhibit::after {
    background: linear-gradient(180deg, rgba(62, 24, 25, .1) 14%, rgba(62, 24, 25, .58) 45%, rgba(62, 24, 25, .94) 72%);
  }
  .home-portal-view .hero-exhibit-caption {
    right: 21px;
    top: 94px;
    bottom: auto;
    max-width: min(46%, 180px);
    font-size: 8px;
  }
  .home-portal-view .story-section-heading h2,
  .home-portal-view .story-agents-heading h2,
  .home-portal-view .story-boundary-copy h2,
  .home-portal-view .story-create-layout h2,
  .home-portal-view .story-finale-copy h2 { font-size: clamp(34px, 11vw, 48px); }
}
@media (max-width: 720px) and (max-height: 700px) {
  .home-portal-view .home-story-progress {
    top: 82px;
    right: 12px;
    bottom: auto;
    left: auto;
    width: max-content;
  }
  .home-portal-view .home-story-hero .story-section-inner { padding-top: 210px; padding-bottom: 30px; }
  .home-portal-view .home-copy h1 { margin-top: 8px; font-size: 38px; }
  .home-portal-view .home-copy p { margin-top: 8px; line-height: 1.5; }
  .home-portal-view .home-entry { margin-top: 12px; }
  .home-portal-view .home-gallery-entry { min-height: 34px; margin-top: 0; }
  .home-portal-view .home-hero-current { display: none; }
  .home-portal-view .home-hero-exhibit::after {
    background: linear-gradient(180deg, rgba(62, 24, 25, .1) 5%, rgba(62, 24, 25, .58) 28%, rgba(62, 24, 25, .94) 55%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-portal-view .home-copy { animation: none; }
}
