.space-cover{position:relative;display:block}.space-cover-badge{position:absolute;right:12px;top:12px;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:20px;background:#fff;color:#315443;font:12px/1.4 sans-serif;box-shadow:0 2px 12px #0000000a}.space-cover-badge svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.3}.space-mode-link{display:block;border:1px solid #aaa;border-radius:28px;margin:20px 0;padding:12px;text-align:center;font-size:14px}.space-view{--space-dock-bottom:calc(20px + env(safe-area-inset-bottom));position:fixed;inset:0;z-index:90;background:#e9e6de;color:#20221f;font-family:inherit}.space-view canvas{display:block;width:100%;height:100%;touch-action:none}.space-view button,.space-view a{font:inherit;color:inherit}.space-view button{border:0;cursor:pointer;background:#fff;border-radius:25px;min-width:44px;min-height:44px;padding:10px 16px;box-shadow:0 4px 20px #00000009}.space-top{position:absolute;top:max(24px,env(safe-area-inset-top));left:18px;right:18px;display:flex;justify-content:space-between;pointer-events:none}.space-top>div{display:flex;gap:12px}.space-top button{pointer-events:auto}.space-sign{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:24px;display:grid;gap:6px;max-width:55%;pointer-events:none}.space-sign strong{font-family:Georgia,serif;font-size:26px;font-weight:400;color:#7e877c}.space-sign span{font-size:12px;color:#72796e}.space-direction{position:absolute;right:20px;bottom:calc(var(--space-dock-bottom) + 96px);text-align:center}.space-direction>button{margin-bottom:8px}.space-direction div{display:flex;gap:8px}.space-direction button{font-size:24px;width:46px;height:46px;padding:0}.space-load{position:absolute;top:100px;left:24px;right:24px;padding:12px 16px;border-radius:24px;background:#ffffffdd;font-size:13px;pointer-events:none}.space-panel{position:absolute;right:0;top:0;bottom:0;width:min(420px,100%);padding:24px;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom));background:#faf9f5;overflow:auto;box-sizing:border-box;box-shadow:-10px 0 60px #0001}.space-panel header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:28px}.space-panel h2{font-size:23px;font-weight:400;margin:0}.space-panel h3{font-size:23px;font-weight:400}.space-panel>button{display:block;width:100%;margin:10px 0;text-align:left}.space-panel p{line-height:1.8}.space-prose{white-space:pre-wrap}.space-work-row{display:flex!important;gap:14px;align-items:center;border-bottom:1px solid #ddd!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:14px 0!important}.space-work-row img{width:72px;height:84px;object-fit:contain}.space-work-row>span:first-of-type{flex:1;display:grid;gap:8px;text-align:left}.space-work-row small{color:#72776f}.space-work-row strong{font-size:15px;font-weight:400}.space-work-full{width:100%;max-height:48vh;object-fit:contain}.space-info-actions{display:flex;flex-wrap:wrap;gap:12px}.space-info-actions a{width:100%;padding:12px 0}.space-selection{position:absolute;left:auto;bottom:var(--space-dock-bottom);right:20px;width:340px;max-width:calc(100% - 146px);box-sizing:border-box;background:#ffffffec;padding:12px 14px;display:flex;gap:12px;align-items:center;border-radius:4px}.space-selection>div{display:grid;gap:4px;flex:1;min-width:0}.space-selection button{flex-shrink:0;padding:10px 12px;font-size:12px}.space-selection small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.space-selection small{font-size:11px;color:#7b8076}.space-selection strong{font-size:15px;font-weight:400;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.space-tour{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:18px;right:18px;background:#fff;display:flex;gap:4px;align-items:center;padding:6px;border-radius:28px}.space-tour button{padding:8px;box-shadow:none}.space-tour span{flex:1;text-align:center;font-size:12px}.space-view [hidden]{display:none!important}.space-failure{padding:40px}.space-view button:focus-visible,.space-view a:focus-visible{outline:2px solid #315443;outline-offset:3px}

.hero-space-label .space-cover-badge{position:static;margin-left:8px;vertical-align:middle;background:#ffffffdd;color:#315443;letter-spacing:0}

.space-view:has(.space-tour:not([hidden])){--space-dock-bottom:calc(92px + env(safe-area-inset-bottom))}
.space-view:has(.space-tour:not([hidden])) .space-sign,.space-view:has(.space-selection:not([hidden])) .space-sign{display:none}
.space-selection{left:50%;right:auto;transform:translateX(-50%);max-width:calc(100% - 40px)}
@media(max-width:600px){.space-selection{gap:8px;padding:10px}.space-selection strong{font-size:14px}}

/* 原作品详情在大屏抽屉里保持移动端宽度，小屏使用全屏页面。 */
.space-panel.space-detail-panel{width:420px;max-width:100%;padding:0;overflow:visible;background:#f8f7f3}
.space-detail-panel iframe{display:block;width:100%;height:100%;border:0;background:#f8f7f3}
.space-panel.space-detail-panel>.space-detail-close{position:absolute;right:calc(100% + 12px);top:20px;margin:0;width:44px;height:44px;min-width:44px;padding:0;text-align:center;font-size:28px}
.space-detail-embedded #nav{display:none}.space-detail-embedded{padding-bottom:0}
@media(max-width:600px){.space-panel.space-detail-panel{width:100%}.space-panel.space-detail-panel>.space-detail-close{display:none}}

.space-focus-nav{position:absolute;left:50%;bottom:var(--space-dock-bottom);transform:translateX(-50%);width:448px;max-width:calc(100% - 40px);display:flex;align-items:center;gap:8px}
.space-focus-nav .space-selection{position:static;transform:none;width:auto;max-width:none;flex:1;min-width:0}
.space-focus-nav>button{width:46px;height:46px;flex-shrink:0;padding:0;display:grid;place-items:center}
.space-focus-nav button:disabled{opacity:.3;cursor:default}
.space-step-icon{display:block;position:relative;width:18px;height:18px}
.space-step-icon:before{content:"";position:absolute;left:2px;top:2px;border-left:11px solid currentColor;border-top:7px solid transparent;border-bottom:7px solid transparent}
.space-step-icon:after{content:"";position:absolute;right:0;top:2px;width:2px;height:14px;background:currentColor}
.space-step-icon.is-previous{transform:rotate(180deg)}

/* 两种观展模式共用紧凑控制层，导览期间仅保留一组作品切换。 */
.space-top button{width:44px;height:44px;padding:0;display:grid;place-items:center}
.icon{display:block;width:22px;height:22px;flex:0 0 22px;background-size:contain;background-position:center;background-repeat:no-repeat}
.space-direction{bottom:var(--space-dock-bottom)}
.space-sign{bottom:var(--space-dock-bottom)}
.space-view:has(.space-tour:not([hidden])) .space-direction,.space-view:has(.space-tour:not([hidden])) .space-focus-nav>button{display:none}
.space-tour{left:50%;right:auto;transform:translateX(-50%);width:320px;max-width:calc(100% - 32px);box-sizing:border-box;padding:6px 8px;gap:8px}
.space-tour button{width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;flex:0 0 44px;display:grid;place-items:center;padding:0}
.space-tour [data-progress]{flex:1;min-width:48px;white-space:nowrap;letter-spacing:1px;line-height:1}
.space-tour .space-step-icon{flex:0 0 18px}
.space-tour button:disabled{opacity:.28}
.space-selection button{width:72px;min-width:72px;max-width:72px;flex:0 0 72px;padding:0;background:transparent;box-shadow:none}
.space-selection strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.icon-free{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2320221f%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22m15.8%208.2-2.2%205.4-5.4%202.2%202.2-5.4Z%22%2F%3E%3C%2Fsvg%3E")}
.icon-tour{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2320221f%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22m10%208%206%204-6%204Z%22%20fill%3D%22%2320221f%22%20stroke-width%3D%221.1%22%2F%3E%3C%2Fsvg%3E")}
.icon-back{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2320221f%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m13%205-7%207%207%207M6%2012h14%22%2F%3E%3C%2Fsvg%3E")}
.icon-menu{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2320221f%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h16M4%2012h16M4%2017h10%22%2F%3E%3C%2Fsvg%3E")}
.icon-pause{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2320221f%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%205v14M15%205v14%22%20stroke-width%3D%223%22%2F%3E%3C%2Fsvg%3E")}
.icon-play{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2320221f%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m8%205%2011%207-11%207Z%22%20fill%3D%22%2320221f%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E")}

.space-preparation{position:absolute;inset:0;z-index:15;background:#faf9f5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:24px;text-align:center}
.space-preparation>strong{font:32px Georgia,serif;color:#75806f;margin-bottom:16px}.space-preparation>p{font-size:14px;color:#737b6b}.space-preparation>button{font-size:12px}
.space-direction button{touch-action:none;user-select:none;-webkit-user-select:none}

/* 菜单及其子页从左侧抽出；作品详情继续使用独立的详情抽屉。 */
.space-view .space-menu-scrim{position:absolute;inset:0;width:100%;height:100%;z-index:19;margin:0;padding:0;border-radius:0;background:rgba(21,27,22,.28);box-shadow:none;animation:space-mask-in .22s ease both}
.space-panel.space-menu-panel{left:0;right:auto;width:min(360px,84vw);z-index:20;box-shadow:12px 0 40px #00000012;animation:space-drawer-in .26s cubic-bezier(.2,.7,.2,1) both}
.space-menu-panel>button:not(.space-work-row){background:transparent;border-radius:0;box-shadow:none;border-bottom:1px solid #e5e5de;margin:0;padding:18px 4px;font-size:15px}
.space-panel.space-menu-panel.is-closing{animation:space-drawer-out .22s ease both}.space-view .space-menu-scrim.is-closing{animation:space-mask-out .22s ease both}
@keyframes space-drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@keyframes space-drawer-out{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@keyframes space-mask-in{from{opacity:0}to{opacity:1}}
@keyframes space-mask-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.space-menu-panel,.space-menu-scrim{animation-duration:.001s!important}}

/* 四个方向共用一枚向上箭头，仅旋转图形，保留按钮的触摸区域。 */
.direction-arrow{display:block;width:24px;height:24px;flex:0 0 24px;pointer-events:none;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320221f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E")}
.direction-left{transform:rotate(-90deg)}.direction-backward{transform:rotate(180deg)}.direction-right{transform:rotate(90deg)}

.space-direction button{display:inline-flex;align-items:center;justify-content:center}
