:root { --paper: #e6d8b6; --paper-dark: #cbb88d; --ink: #3a2d22; --ink-soft: #6b5740; --leather: #5a3d2b; --gold: #c9a227; --gold-soft: #e0c46a; --bg: #14100d; --red: #a03a2a; --blue: #2c4a6b; --green: #3f5c3a; --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif; --kai: "Kaiti SC", "STKaiti", "KaiTi", "Segoe Script", cursive; } * { box-sizing: border-box; margin: 0; padding: 0; -webkit-user-select: none; user-select: none; } html, body { height: 100%; overflow: hidden; background: var(--bg); font-family: var(--serif); color: var(--paper); } #app { position: fixed; inset: 0; } #scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; } #cesium-container { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; background: #14100d; } #cesium-container.visible { visibility: visible; } #cesium-container .cesium-viewer, #cesium-container .cesium-widget, #cesium-container canvas { width: 100%; height: 100%; } /* 隐藏左下角全部归属信息(Cesium ion logo + 影像文字) */ #cesium-container .cesium-widget-credits { display: none !important; } /* 标记便签 DOM 覆盖层(在 Cesium 画布之上) */ #marker-layer { position: absolute; inset: 0; z-index: 20; pointer-events: none; } .marker-note { position: absolute; background-repeat: no-repeat; background-size: 100% 100%; } /* 气氛遮罩 */ .vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 42%, transparent 40%, rgba(8, 5, 3, 0.55) 100%); /* 不启用 mix-blend-mode,避免每帧全屏合成开销(深色半透明覆盖即可) */ } .grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); } #iris { position: absolute; inset: 0; pointer-events: none; background: #0c0906; opacity: 0; transition: opacity 0.18s ease; } /* 加载界面:OS1 3D 加载环 */ #loading { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; background: #14100d; transition: opacity 0.6s ease; } #loading.hidden { opacity: 0; pointer-events: none; } #loading-canvas { width: 500px; height: 500px; max-width: 88vw; max-height: 88vw; } #loading-canvas canvas { width: 100%; height: 100%; display: block; } .loading-text { font-family: var(--serif); font-size: 13px; letter-spacing: 0.2em; color: rgba(224, 196, 106, 0.8); } /* 顶部标题 */ .hud { position: absolute; z-index: 40; } .top-left { top: 22px; left: 26px; } .title { font-size: clamp(20px, 2.4vw, 34px); letter-spacing: 0.12em; font-weight: 600; color: var(--gold-soft); text-shadow: 0 1px 12px rgba(0,0,0,0.7); } .subtitle { margin-top: 4px; font-size: 12px; letter-spacing: 0.18em; color: rgba(230,216,182,0.65); font-family: var(--serif); } /* 视图切换(单按钮,图标循环切换) */ .view-btn { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--gold-soft); cursor: pointer; background: rgba(255,255,255,0.04); border: 1px solid rgba(201,162,39,0.4); border-radius: 50%; transition: all 0.2s ease; } .view-btn:hover { background: rgba(201,162,39,0.25); color: #fff; } .v-icon { display: none; width: 17px; height: 17px; } .view-btn[data-view="binder"] .v-binder { display: block; } .view-btn[data-view="timeline"] .v-timeline { display: block; } .view-btn[data-view="globe"] .v-globe { display: block; } /* 底部导航 */ .bottom-bar { left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 5px 14px; border-radius: 4px; background: rgba(20,14,10,0.6); border: 1px solid rgba(201,162,39,0.25); backdrop-filter: blur(6px); } .nav-btn { flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 15px; line-height: 1; width: 32px; height: 32px; border-radius: 50%; color: var(--gold-soft); cursor: pointer; background: rgba(255,255,255,0.04); border: 1px solid rgba(201,162,39,0.4); transition: all 0.2s ease; } .nav-btn:hover { background: rgba(201,162,39,0.25); color: #fff; transform: scale(1.06); } .nav-btn:active { transform: scale(0.96); } .flip-hint { width: auto; border-radius: 20px; padding: 0 18px; letter-spacing: 0.12em; font-size: 14px; } .page-indicator { display: flex; align-items: center; gap: 6px; min-width: 0; justify-content: center; } #page-num { font-size: 22px; color: var(--gold-soft); font-family: var(--serif); } .sep { color: rgba(230,216,182,0.5); } #page-total { color: rgba(230,216,182,0.6); font-family: var(--serif); } .page-name { font-size: 14px; color: var(--paper); letter-spacing: 0.05em; margin-left: 10px; flex: 0 0 160px; /* 固定宽度,导航条不随词条名长短变化 */ text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 登记卡详情 */ .detail-card { right: 24px; bottom: 22px; width: min(320px, 82vw); z-index: 40; /* 始终置顶,盖在标记便签层之上 */ padding: 18px 20px; border-radius: 4px; background: linear-gradient(180deg, rgba(232,216,182,0.96), rgba(214,196,156,0.96)); color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(90,61,43,0.4); transform: translateY(0); transition: transform 0.35s ease, opacity 0.35s ease; } .detail-card.hidden { opacity: 0; pointer-events: none; transform: translateY(14px); } .detail-head { display: flex; justify-content: space-between; align-items: center; } .detail-no { font-family: Consolas, "Courier New", "Lucida Console", monospace; font-size: 13px; letter-spacing: 0.02em; color: var(--ink-soft); } .detail-cat { font-size: 12px; padding: 2px 10px; border-radius: 2px; background: var(--leather); color: var(--gold-soft); letter-spacing: 0.2em; } .detail-name { margin: 8px 0 12px; font-size: 22px; letter-spacing: 0.06em; font-weight: 600; } .detail-fields { border-top: 1px solid rgba(90,61,43,0.3); padding-top: 8px; } .field { display: flex; gap: 12px; font-size: 13px; line-height: 1.9; } .field dt { flex: 0 0 34px; color: var(--ink-soft); letter-spacing: 0.1em; } .field dd { color: var(--ink); } .detail-desc { margin-top: 10px; font-size: 13.5px; line-height: 1.75; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 10px; } .detail-sketch { margin-top: 12px; border-top: 1px dashed rgba(90,61,43,0.4); padding-top: 10px; } .detail-sketch canvas { width: 100%; height: 170px; object-fit: contain; border-radius: 2px; opacity: 0.94; } /* 提示(导航条下方) */ .hint { left: 50%; transform: translateX(-50%); bottom: 5px; font-size: 12px; letter-spacing: 0.06em; color: rgba(230,216,182,0.55); white-space: nowrap; } @media (max-width: 760px) { .detail-card { display: none; } .subtitle { display: none; } .page-name { display: none; } .hint { display: none; } }