.App > .admin{display:none!important}
.recovery-video-missing .vjs-poster{display:block!important}
.recovery-video-missing .vjs-big-play-button,.recovery-video-missing .vjs-control-bar,.recovery-video-missing .vjs-error-display,.recovery-video-missing .vjs-loading-spinner{display:none!important}
.recovery-video-note{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(transparent,rgba(24,37,30,.62));color:#fff;text-shadow:0 1px 3px #222;font:600 clamp(16px,3.5vw,24px)/1.5 sans-serif;z-index:5;pointer-events:none}
.recovery-route-note{position:fixed;top:12px;left:50%;transform:translateX(-50%);padding:12px 18px;background:#fff;color:#304c3b;border-radius:8px;z-index:9999;white-space:nowrap}
.recovery-model-error{position:absolute;top:40%;left:10%;width:80%;padding:20px;background:#fffffff0;color:#324d39;text-align:center;border-radius:8px;font:16px/1.8 sans-serif}

/* Browser presentation only: leave the archived native client assets intact. */
:root{--page-gutter:clamp(16px,4vw,48px);--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}
#root{height:100%;height:100dvh}
.App,.Fylf,.fyzs,.modelDetail{background-position:center!important}
.App{position:relative;isolation:isolate}
.App>.textLogo{width:min(48.5vw,34vh,310px);top:24%}
.App>.sun{width:min(47vw,360px);pointer-events:none}
.App>.fan{width:min(38vw,300px);left:max(-19.5vw,-150px);bottom:0;pointer-events:none}
.App>.people{width:min(50vw,36vh,380px);pointer-events:none}
.App>.menu{width:min(66vw,44vh,420px);top:59%;gap:clamp(12px,3vw,32px);z-index:1}
.App>.menu>.imgBox{width:auto;flex:1;min-width:0;cursor:pointer}
.App>.menu img{display:block}
.App>.dynamic{width:clamp(44px,12vw,76px);height:auto;right:calc(24px + env(safe-area-inset-right,0px));bottom:calc(64px + var(--safe-bottom));z-index:1}
.App>.server,.App>.yinsi{width:auto;min-height:44px;line-height:44px;font-size:14px;bottom:var(--safe-bottom);z-index:1;cursor:pointer}
.App>.server{right:112px}.App>.yinsi{right:24px}
.App>.loadFrames{pointer-events:none}
.App>.serverContent{z-index:10;visibility:hidden;pointer-events:none;transition:transform .3s,visibility .3s}
.App>.serverContent.moveServerLeft{visibility:visible;pointer-events:auto}
.App .serverContent .title{width:min(65vw,280px);height:56px;margin:64px auto 8px}
.App .serverContent .close{width:48px;height:48px;top:var(--safe-top);left:12px;cursor:pointer}
.App .serverContent .close img{width:26px;height:26px;margin:11px}
.App .serverContent .server_cont{height:calc(100% - 128px);max-width:840px;margin:auto;padding:12px 24px 32px;font-size:16px;line-height:1.8;user-select:text}
.recovery-back,.Fylf>.back,.fyzs>.back,.modelDetail>.back,.videoAndImgDetail>.back,.textDetail>.back,.fymlDetail>.back{width:44px!important;height:52px!important;top:calc(8px + var(--safe-top))!important;left:max(12px,env(safe-area-inset-left,0px))!important;z-index:3;cursor:pointer}
[role=button]{cursor:pointer;touch-action:manipulation}
[role=button]:focus-visible,a:focus-visible{outline:3px solid #956d22;outline-offset:4px}
.recovery-route-note{max-width:calc(100% - 32px);white-space:normal;text-align:center}

/* Keep a real drawing viewport above a bounded, readable title control. */
.modelDetail{display:flex;flex-direction:column;align-items:center;padding:calc(12px + var(--safe-top)) 0 calc(16px + var(--safe-bottom));overflow:hidden}
.modelDetail>.model{position:relative;flex:1;min-height:0;width:100%;height:auto;touch-action:none}
.modelDetail .modelProgressBox{max-width:480px}
.modelDetail>.lf_foot{flex:none;width:min(86%,480px);height:72px;margin:12px auto 0;cursor:pointer}
.modelDetail>.lf_foot>img{width:100%;height:100%;object-fit:fill}
.modelDetail .lf_foot .btn_text{font-size:clamp(20px,5vw,30px);white-space:normal;text-align:center;width:88%;line-height:1.2;padding:0}
.modelDetail>.lf_foot::after{content:'点击名称查看图文';position:absolute;left:0;right:0;bottom:-14px;text-align:center;color:#476259;font-size:11px;line-height:14px;font-family:sans-serif}

/* Cards grow by column count rather than stretching mobile vw dimensions. */
.Fylf>.box{width:min(100%,1240px);height:calc(100% - 76px - var(--safe-top));margin:calc(76px + var(--safe-top)) auto 0;padding:0 var(--page-gutter) calc(24px + var(--safe-bottom));grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-content:start;grid-auto-rows:max-content;gap:18px}
.Fylf .box .cardBox{width:100%;height:auto;min-height:min-content;margin:0;padding:16px 16px 8px;cursor:pointer}
.Fylf .box .cardBox .lfCardTopImg{width:100%;height:auto;aspect-ratio:1;flex:none}
.Fylf .box .cardBox .title{width:100%;margin:12px 0 4px;padding:6px 0;font-size:clamp(16px,2vw,21px);line-height:1.45;min-height:3.5em;display:flex;align-items:center;justify-content:center}
.Fylf .box .cardBox .dainzan{position:static;min-height:44px;margin-top:auto;flex:none}
.Fylf .box .cardBox .dainzan img{width:22px;height:22px}
.Fylf .box .cardBox .dainzan span{font-size:15px}
@media(max-width:599px){.Fylf>.box{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-left:12px;padding-right:12px}.Fylf .box .cardBox{padding:12px 12px 6px}}

/* Content pages use normal flow so all sections remain reachable on short screens. */
.videoAndImgDetail{overflow-y:auto;overflow-x:hidden;padding:calc(76px + var(--safe-top)) var(--page-gutter) calc(28px + var(--safe-bottom));background:#f3f0e7 url('./imgs/bg_lf3.jpg') center/cover;isolation:isolate}
.videoAndImgDetail>.videoAndImgDetailBg,.videoAndImgDetail>.videoAndImgDetailBg+div{display:none}
.videoAndImgDetail>.videoBox,.videoAndImgDetail>.imgBox,.videoAndImgDetail>.center,.videoAndImgDetail>.footer{position:relative;left:auto;top:auto;transform:none;width:min(100%,840px);margin:0 auto 24px}
.videoAndImgDetail .videoBox .customVideo,.videoAndImgDetail .videoBox .videoTihuanImg{position:relative;left:auto;top:auto;transform:none;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#e1dfd3}
.videoAndImgDetail>.imgBox{height:auto;aspect-ratio:16/9}
.videoAndImgDetail .imgBox .btnFather{width:30%;height:78%}
.videoAndImgDetail .imgBox .btnFather>img:not(.clickHand){width:100%;height:30%;object-fit:contain}
.videoAndImgDetail .imgBox .btnFather .clickHand{width:24px}
.videoAndImgDetail>.center{height:auto;min-height:180px;padding:20px 0;display:flex;gap:clamp(16px,3vw,32px);align-items:center;cursor:pointer}
.videoAndImgDetail .center .cneter_bg{display:none}
.videoAndImgDetail .center .center_lf{position:static;transform:none;width:38%;height:auto;max-height:260px;object-fit:contain}
.videoAndImgDetail .center .center_rh{position:static;transform:none;width:auto;flex:1;min-width:0;height:auto;padding:0}
.videoAndImgDetail .center .center_rh .text{height:auto;max-height:240px;overflow:auto;font-size:clamp(16px,1.6vw,20px);line-height:1.85;padding:0 6px 0 0}
.videoAndImgDetail>.footer{gap:14px;padding:4px 0 12px;align-items:stretch}
.videoAndImgDetail .footer .footer_list{width:clamp(140px,32vw,240px);height:clamp(140px,32vw,240px);margin:0;cursor:pointer}
.videoAndImgDetail .footer .gundongTextBox{width:80px;margin:0}
.videoAndImgDetail .footer .gundongTextBox p{font-size:23px;line-height:1.3;width:36px}
.textDetail{overflow:auto;padding:calc(76px + var(--safe-top)) var(--page-gutter) calc(24px + var(--safe-bottom));background:#f3f0e7}
.textDetail>.textDetailBg{position:fixed;pointer-events:none;z-index:-1}
.textDetail .content,.textDetail .gundong{width:min(100%,840px);height:auto;min-height:100%;margin:0 auto!important;padding:0 0 32px;overflow:visible}
.textDetail .content h3,.textDetail .gundong .gundong_title{font-size:clamp(24px,4vw,36px);margin:16px 0 24px;line-height:1.5}
.textDetail .content p{font-size:clamp(17px,1.6vw,21px);line-height:1.9;user-select:text}
.textDetail .content img{max-width:100%;height:auto}
.monban .customVideo{width:min(94vw,960px);height:auto;aspect-ratio:16/9;top:50%;transform:translate(-50%,-50%)}

.fyzs{overflow:auto;padding:calc(70px + var(--safe-top)) 16px 24px}
.fyzs .swiperBox{width:min(84%,620px);height:auto;aspect-ratio:16/9;margin:0 auto 24px}
.fyzs .hfwhg,.fyzs .fywh,.fyzs .fyml{width:min(84%,620px)!important;height:auto;aspect-ratio:2.1;margin:20px auto}
.fyzs .hfwhg .imgBox{margin-top:6%;width:75%;display:flex;justify-content:center;gap:10px}
.fyzs .hfwhg .imgBox .hfwhg_img{width:25%;height:auto;aspect-ratio:1;margin:0;object-fit:cover;cursor:pointer}
.recovery-museum{overflow:auto;padding:calc(72px + var(--safe-top)) 24px 32px}
.recovery-museum>img{width:min(100%,720px)!important;margin:0 auto 16px!important;max-height:36vh;object-fit:contain}
.recovery-museum>p{font-size:clamp(24px,4vw,34px)!important;white-space:normal!important}
.recovery-museum .textContent{width:min(100%,720px)!important;height:auto!important;flex:1;min-height:140px;font-size:clamp(17px,1.6vw,21px)!important;line-height:1.9!important}
.fymlDetail .table{height:100%;padding:calc(72px + var(--safe-top)) 16px 20px;overflow:auto}
.fymlDetail .table table{max-width:1100px;margin:0 auto}
.fymlDetail .table table thead th{font-size:clamp(15px,2vw,22px)}
.fymlDetail .table table tbody tr{font-size:clamp(14px,1.6vw,19px);height:auto}
.fymlDetail .table table td{padding:8px 4px;overflow-wrap:anywhere}
@media(min-width:900px) and (min-aspect-ratio:1/1){
 .App>.textLogo{left:29%;top:43%;width:min(30vw,52vh,390px)}
 .App>.menu{left:67%;top:48%;width:min(38vw,70vh,480px)}
 .App>.people{width:min(29vw,42vh);opacity:.8}
 .App>.dynamic{right:calc(50% - 38px);bottom:28px}
}
@media(max-height:500px) and (orientation:landscape){
 .App>.textLogo{left:25%;top:43%;width:42vh}
 .App>.menu{left:64%;top:46%;width:60vh;gap:4vh}
 .App>.people{width:32vh}.App>.dynamic{width:44px;right:24px;bottom:50px}
 .App>.sun{width:28vw}.modelDetail>.lf_foot{height:48px;width:min(65%,380px);margin-top:4px}
 .modelDetail .lf_foot .btn_text{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.App>.serverContent{transition:none}}
/* Detail layers keep their own back control above the underlying view. */
.modelDetail{z-index:1}.videoAndImgDetail{z-index:2}.textDetail{z-index:3}.monban{z-index:4}
.recovery-back{position:fixed!important}
.textDetail>.top{height:auto!important;max-width:840px;margin:0 auto}
.textDetail>.top>div{width:min(100%,480px)!important;margin:0 auto 8px!important;min-height:64px;position:relative}
.textDetail>.top>div>img{height:72px;object-fit:fill}
.textDetail>.top>div>div{font-size:clamp(22px,5vw,32px)!important;white-space:normal!important;width:88%;line-height:1.3;text-align:center}

/* Overview and directory use inline vw/vh styles in the archived React output. */
.fywhbhzsDetail{overflow:auto;padding:calc(76px + var(--safe-top)) var(--page-gutter) calc(32px + var(--safe-bottom));background-position:center!important}
.fywhbhzsDetail>div:first-child{display:none}
.fywhbhzsDetail>.customVideo,.fywhbhzsDetail>.customVideo~div{position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:min(100%,840px)!important;height:auto!important;margin:0 auto 24px;overflow:visible!important}
.fywhbhzsDetail>.customVideo{aspect-ratio:16/9}
.fywhbhzsDetail>.customVideo+div{font-size:clamp(23px,4vw,34px)!important;line-height:1.5!important;white-space:normal!important;padding:12px 0!important}
.fywhbhzsDetail>.customVideo+div+div{font-size:clamp(17px,1.6vw,21px)!important;line-height:1.9!important;user-select:text}
.fywhbhzsDetail>.customVideo+div+div p{margin-bottom:1em!important}
.fymlDetail .table>div{width:min(100%,1100px);margin:0 auto 32px!important;font-size:clamp(18px,2.4vw,28px)!important}
.fymlDetail .table>div>.title{padding:12px 8px;line-height:1.5}
.fymlDetail .table table{border-collapse:collapse;table-layout:fixed}
.fymlDetail .table table thead{display:table-header-group}
.fymlDetail .table table tbody{display:table-row-group;height:auto;overflow:visible}
.fymlDetail .table table thead tr,.fymlDetail .table table tbody tr{display:table-row}
.fymlDetail .table table th,.fymlDetail .table table td{border-bottom:1px solid #b1955850;padding:10px 6px}
