/* Opening belongs to the game; in-world XP and website mastheads stay intact. */
.boot-stage.wig-opening{display:block;padding:0;min-height:100vh;background:#f8f8f6;color:#242a2c;font-family:"Microsoft YaHei",Arial,sans-serif}
.opening-width{width:min(1080px,calc(100% - 96px));margin:0 auto}
.opening-title{width:100%;justify-self:stretch;background:#202629;color:#f4f4ef;border-bottom:5px solid #8c3934;padding:36px 0 44px}
.opening-topline{display:flex;justify-content:space-between;gap:20px;color:#b7bfc0;font:12px/1.5 Arial,"Microsoft YaHei",sans-serif;letter-spacing:.13em}
.opening-title h1{font:normal clamp(36px,5.4vw,68px)/1.3 SimSun,"Songti SC",serif;letter-spacing:.09em;margin:40px 0 18px}
.opening-title h1 span{white-space:nowrap}.opening-title p{font-size:14px;letter-spacing:.14em;color:#c9cecc;margin:0}
.opening-content{display:grid;grid-template-columns:minmax(0,1fr) 270px;column-gap:60px;padding:40px 0 24px}
.opening-content h2{font:600 16px/1.5 "Microsoft YaHei",sans-serif;margin:0 0 24px;letter-spacing:.08em}
.opening-content h2>span{font:12px Georgia,serif;color:#8c3934;margin-right:12px}
.opening-story{min-width:0}.opening-story p{font:15px/1.95 "Microsoft YaHei",sans-serif;margin:0 0 17px;text-align:justify}
.opening-guide{border-left:1px solid #d6d9d7;padding-left:27px;font:13px/1.85 "Microsoft YaHei",sans-serif;color:#555e61}
.opening-objective{margin:0 0 24px;color:#262e30}.opening-guide dl{margin:0}.opening-guide dt{font-weight:600;color:#30383a;margin:18px 0 4px}.opening-guide dd{margin:0}
.opening-help{border-top:1px solid #d6d9d7;margin-top:24px;padding-top:18px}.opening-help summary{cursor:pointer;color:#30383a}.opening-help p{margin:12px 0}
.opening-enter{grid-column:1/-1;border-top:1px solid #bfc6c5;margin-top:22px;padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.opening-enter p{font-size:14px;margin:0;color:#555e61}
.wig-opening .power-button{position:static;transform:none;margin:0;border:1px solid #202629;border-radius:0;box-shadow:none;background:#202629;color:#fff;padding:12px 24px;min-height:46px;min-width:174px;font:15px/1.5 "Microsoft YaHei",sans-serif;display:flex;justify-content:space-between;gap:25px}
.wig-opening .power-button:hover{background:#394347;border-color:#394347}.wig-opening button:focus-visible,.wig-opening summary:focus-visible{outline:2px solid #8c3934;outline-offset:4px}
.opening-colophon{grid-column:1/-1;margin:0;font:11px/1.8 "Microsoft YaHei",sans-serif;color:#788184}
@media(max-width:800px){.opening-width{width:calc(100% - 40px)}.opening-title{padding:26px 0 32px}.opening-title h1{margin-top:28px}.opening-content{grid-template-columns:1fr;padding-top:28px;gap:24px}.opening-story p{font-size:15px}.opening-guide{border-left:0;border-top:1px solid #d6d9d7;padding:24px 0 0}.opening-guide h2{margin-bottom:16px}.opening-enter{margin-top:0}.opening-enter p{max-width:45%}}
/* Publication details: attribution stays attached to the image. */
.report-photo figcaption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;text-align:left;border-bottom:1px solid #d6d6d6;padding:8px 0;font:12px/1.6 SimSun,serif;color:#555}
.photo-credit{white-space:nowrap}.publication-note{font:12px/1.7 SimSun,serif;color:#666;border-top:1px solid #ddd;margin-top:24px;padding-top:10px}
.site-page.site-archive .old-page>h1{font-size:27px}.site-page.site-archive .old-page>.archive-photo{margin:25px 0}.site-page.site-archive .work-table td{padding:12px 10px;line-height:1.8}
/* Original files share navigation, not an invented common document style. */
.reading-original{padding:0;margin:18px 0 26px;border:1px solid #c3c6c7;background:#fff}
.source-file-header{padding:8px 12px;background:#f0f1ef;border-bottom:1px solid #d5d7d5;display:flex;justify-content:space-between;gap:10px;font:12px/1.6 SimSun,serif;color:#4f5556}
.source-file-header small{font:inherit;color:#737778;text-align:right}.source-sheet{padding:24px 32px}.reading-original .source-sheet h1{font:normal 22px/1.5 SimSun,serif;margin:0 0 22px}
.source-transcript{font:15px/1.9 SimSun,serif;max-width:740px}.source-transcript p{margin:0 0 18px}.source-signature{text-align:right;padding-top:14px;margin-top:24px!important}.source-divider{border:0;border-top:1px solid #ddd;margin:28px 0}
.source-letter .source-sheet{max-width:820px;margin:0 auto;padding:32px 42px}.source-letter .source-sheet>h1{font-size:19px;color:#5a5a5a;border-bottom:1px solid #ddd;padding-bottom:16px}
.source-notes .source-sheet{border-left:3px solid #e3e6e5;margin:16px 22px;padding:12px 20px}.source-list .source-transcript{font:14px/1.9 Consolas,SimSun,monospace}
.source-clipping .source-sheet>h1{font-weight:bold;border-bottom:3px double #444;padding-bottom:14px}.source-photo .source-sheet>img{display:block;max-height:400px;max-width:100%;object-fit:contain;margin:0 0 24px}
.source-credential{max-width:420px;border:1px solid #59686a;margin:6px auto 28px;background:#fff}.credential-heading{padding:16px!important;margin:0!important;background:#e6eeec;border-bottom:1px solid #9caead;font:18px/1.6 SimSun,serif;text-align:center}
.source-credential dl{display:flex;align-items:baseline;gap:26px;padding:12px 26px;margin:0}.source-credential dt{font-size:14px}.source-credential dd{font:22px/2 SimSun,serif;margin:0}.source-session .source-sheet>h1{border-bottom:1px solid #aaa;padding-bottom:15px}
@media(max-width:1050px){.source-sheet{padding:20px}.source-letter .source-sheet{padding:24px}.source-file-header{flex-direction:column;gap:2px}.source-file-header small{text-align:left}}

/* The investigator's present is outside the original-file frame. */
.reading-reaction{max-width:740px;margin:28px auto;padding:14px 20px;border-top:1px solid #c9c9c9;border-bottom:1px solid #c9c9c9;color:#424242;font:14px/1.9 SimSun,serif;background:#f5f5f2}
.continuity-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:24px}
.continuity-names form>button{display:block;margin-top:16px}.continuity-names .name-feedback:empty{display:none}

/* Native-looking source emphasis; no answer highlighting. */
.newspaper-photo-credit{margin:18px 0;padding:8px 0;border-top:1px solid #aaa;border-bottom:1px solid #aaa}.newspaper-photo-credit p{margin:5px 0}.photographer-credit{font-size:14px;color:#222}.member-badge{font:10px Tahoma,sans-serif;color:#795321;border:1px solid #b18e4d;background:#fff1bd;padding:0 3px}.site-page .old-page .member-reply p.member-ink{color:#694377}.mail-search-row input:focus{outline:2px solid #316ac5;outline-offset:1px}


/* Local extraction status, separate from the historical documents. */
.backup-read-status{margin:0 0 12px;padding:7px 10px;border:1px solid #b8b8b8;background:#ffffe1;color:#222;font:12px Tahoma,"SimSun",sans-serif;}

/* Forum files are attachments left by their author, using the existing public page. */
.forum-reply .forum-attachments{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:16px 0 2px;padding:8px 10px;border:1px solid #b9c9d9;background:#f5f8fc;font:12px/1.6 Tahoma,SimSun,sans-serif}
.forum-reply .forum-attachment{display:inline-flex;align-items:center;gap:5px;max-width:100%;color:#0000ee;overflow-wrap:anywhere}
.forum-reply .forum-attachment .attachment-file-icon{flex:none}
/* Keep the existing attribution beside its photograph rather than in distant prose. */
.site-page .report-photo figcaption:has(.photographer-credit){display:block;padding:5px 8px;font:13px/1.7 SimSun,serif;color:#505050}
.site-page .report-photo figcaption>.photographer-credit{display:block;white-space:normal;overflow-wrap:anywhere;font:15px/1.7 SimSun,serif;color:#222;margin:0 0 2px}
.site-page .report-photo figcaption>.photographer-credit strong{font-weight:700}
.site-page .report-photo .archive-image-hint{padding:2px 4px;font:11px/1.5 SimSun,serif}
