/* 思源黑体 */
@font-face{font-family:"Source Han Sans CN";src:local("Source Han Sans CN VF"),url("../fonts/landing/SourceHanSansCN-VF.otf.woff2") format("woff2");font-style:normal;font-weight:250 900;font-display:swap;}
/* 思源黑体-页面用字 */
@font-face{font-family:"Source Han Sans CN";src:local("Source Han Sans CN VF"),url("../fonts/landing/H5SansCN-UI-VF.woff2") format("woff2");font-style:normal;font-weight:250 900;font-display:swap;unicode-range:U+20-7E,U+D7,U+3002,U+4E0B,U+4E0E,U+4E2D,U+4E86,U+4E8B,U+4EBA,U+4F20,U+4F53,U+4F5C,U+4F60,U+5149,U+5165,U+5173,U+5185,U+518D,U+51FA,U+523B,U+52A1,U+52A8,U+5305,U+534E,U+5353,U+5370,U+53E3,U+53F7,U+5408,U+540E,U+5411,U+54C1,U+54CD,U+5546,U+5668,U+56DE,U+5728,U+5730,U+573A,U+5740,U+57CE,U+57FA,U+591C,U+592E,U+5B57,U+5B89,U+5B8C,U+5B98,U+5BA2-5BA3,U+5BB9,U+5BBD,U+5C1A,U+5C4F,U+5C55,U+5E02,U+5ECA,U+5F00,U+5F0F,U+5F39,U+5F71,U+5F85,U+5FC3,U+5FEB,U+601D,U+62A5,U+6309,U+6377,U+63A5,U+63A8,U+63D0,U+64AD,U+653E,U+6545,U+6587,U+6599,U+65B0,U+65B9,U+65E0,U+6620,U+662F,U+666F,U+6696,U+6700,U+6709,U+670D,U+672A,U+6781,U+679C,U+684C,U+6A2A,U+6B63-6B64,U+6D3B,U+6D77,U+6E29,U+6E90,U+6EDA,U+6F14,U+70ED,U+7126,U+7247,U+724C,U+7269,U+73B0,U+751F,U+7528,U+753B,U+7684,U+77E5,U+7840,U+793A,U+793E,U+79FB,U+7A97,U+7AEF,U+7EA2,U+7EBF,U+7F1D,U+7F6E,U+7FA4,U+805A,U+80CC,U+81EA,U+8272,U+82F9,U+8350,U+88C5,U+89C6,U+89D2,U+89E3,U+8BA1,U+8BBE,U+8BDD,U+8BED,U+8BF7,U+8F6E,U+8F7D,U+8F83,U+8FD9,U+9053,U+90E8,U+90FD,U+914D,U+91D1,U+94AE,U+955C,U+95ED,U+9762,U+9875-9876,U+9891,U+9996,U+9C9C,U+9ED1,U+FF0C;}
/* 参考设计图标 */
@font-face{font-family:"Material Symbols Outlined";src:url("../fonts/landing/MaterialSymbolsOutlined-UI.woff2") format("woff2");font-style:normal;font-weight:400 600;font-display:block;}
/* 基础设置：沿用 H5 暖白与香槟金，细小文字使用深色变体 */
:root{color-scheme:light;font-family:"Source Han Sans CN","PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;font-synthesis:none;--page-bg:#F6F4F0;--canvas-bg:#EFE8DB;--hero-top:#F0E5C9;--card-bg:#FFFFFF;--card-border:#F1EDE3;--divider:#F3F0E8;--text-main:#1C1915;--text-secondary:#57503F;--text-regular:#6E675A;--text-muted:#9C9384;--primary:#A9853F;--gold-ink:#5C4118;--surface-hover:#F8F5EE;--tab-line:#EDE8DC;--rose-ink:#8B4350;--rose-soft:#F9E3E7;--gold:#A9853F;--gold-bright:#C79A3E;--gold-light:#EECD82;--rose:#F0435F;--gallery-card-width:144px;--gallery-cover-height:calc(var(--gallery-card-width) * 9 / 16);--layout-fixed-height:258px;--action-bg:linear-gradient(135deg,#EECD82,#C79A3E);--bar-bg:linear-gradient(to bottom,#D7B56D,#A9853F);--rose-bg:linear-gradient(135deg,#FF7E97,#F0435F);--card-shadow:0 1px 2px rgba(28,25,21,.04),0 8px 24px rgba(28,25,21,.05);--gold-shadow:0 4px 12px rgba(199,154,62,.30);}
*{box-sizing:border-box;}
html{min-width:320px;height:100%;scrollbar-width:none;}
html::-webkit-scrollbar{display:none;}
body{display:flex;align-items:flex-start;justify-content:center;width:100%;min-width:320px;min-height:100dvh;color:var(--text-main);font-size:14px;line-height:1.5;letter-spacing:normal;margin:0;background:var(--canvas-bg);overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;}
button,a{-webkit-tap-highlight-color:transparent;}
button{color:inherit;cursor:pointer;font:inherit;padding:0;background:none;border:0;}
a{color:inherit;text-decoration:none;}
h2,p{font-size:inherit;font-weight:inherit;margin:0;}
img{display:block;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none;}
:focus-visible{outline:2px solid var(--gold-ink);outline-offset:2px;}
.icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle;font-size:20px;font-weight:500;font-style:normal;font-family:"Material Symbols Outlined";line-height:1;white-space:nowrap;word-wrap:normal;letter-spacing:normal;font-feature-settings:"liga";font-variation-settings:"FILL" 0,"wght" 500,"GRAD" 0,"opsz" 24;-webkit-font-smoothing:antialiased;}
.icon-fill{font-variation-settings:"FILL" 1,"wght" 500,"GRAD" 0,"opsz" 24;}
/* 单屏布局与环境光 */
.app-shell{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:100%;max-width:430px;height:100dvh;min-height:0;margin:0 auto;background:linear-gradient(to bottom,rgba(240,229,201,.60) 0,transparent 14%),var(--page-bg);border-right:1px solid rgba(169,133,63,.08);border-left:1px solid rgba(169,133,63,.08);box-shadow:0 25px 50px -12px rgba(74,56,32,.10);overflow:hidden;isolation:isolate;}
main{display:contents;}
.ambient-glow{position:absolute;border-radius:999px;filter:blur(64px);pointer-events:none;z-index:0;}
.ambient-glow-top{top:-40px;left:50%;width:320px;height:128px;background:rgba(238,205,130,.12);transform:translateX(-50%);}
.ambient-glow-right{top:33.333%;right:-48px;width:176px;height:176px;background:rgba(240,229,201,.08);}
.ambient-glow-bottom{bottom:40px;left:-40px;width:192px;height:144px;background:rgba(238,205,130,.04);}
/* 顶部品牌与入口：香槟底色、金色标识与深金图标 */
.site-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;height:calc(60px + env(safe-area-inset-top));padding:calc(6px + env(safe-area-inset-top)) 8px 6px;background:linear-gradient(115deg,var(--hero-top) 0%,#F5EEDD 52%,#F6F1E5 100%);border-bottom:1px solid rgba(169,133,63,.06);backdrop-filter:blur(12px);z-index:40;}
.brand{display:flex;align-items:center;gap:6px;flex-shrink:0;}
.brand-icon{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;padding:1px;background:var(--action-bg);border-radius:9px;box-shadow:0 1px 2px rgba(28,25,21,.06),0 3px 8px rgba(169,133,63,.16);}
.brand-icon:before{position:absolute;top:1px;right:1px;bottom:1px;left:1px;background:linear-gradient(to bottom,rgba(255,255,255,.20),transparent),var(--action-bg);border-radius:7px;content:"";}
.brand-icon>.icon{position:relative;color:var(--text-main);font-size:20px;background:none;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:currentColor;}
.brand-copy{display:flex;flex-direction:column;gap:1px;}
.brand-row{display:flex;align-items:center;gap:5px;}
.brand-label{color:var(--text-main);font-size:15px;font-weight:600;line-height:22px;white-space:nowrap;letter-spacing:.02em;background:none;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:currentColor;filter:none;}
.brand-vip{color:var(--gold-ink);font-size:8px;font-weight:550;line-height:12px;letter-spacing:.035em;padding:0 4px;background:linear-gradient(135deg,#F3E4BC,#F8F0DC);border:1px solid rgba(169,133,63,.12);border-radius:999px;filter:none;}
.brand-caption{display:flex;align-items:center;gap:4px;color:var(--text-regular);font-size:8.5px;font-weight:400;line-height:12px;white-space:nowrap;letter-spacing:.02em;}
.brand-caption:before{flex-shrink:0;width:3px;height:3px;background:var(--gold-bright);border-radius:50%;content:"";}
.header-nav{display:flex;align-items:center;gap:4px;}
.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex-shrink:0;width:52px;height:44px;color:var(--text-secondary);font-size:10px;font-weight:400;line-height:13px;white-space:nowrap;letter-spacing:.02em;padding:4px 4px;background:#FBF6EA;border:1px solid rgba(169,133,63,.28);border-radius:10px;transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;}
.nav-item:first-child{color:var(--text-secondary);border-color:rgba(169,133,63,.28);}
/* 顶部入口图标-统一画布和线条 */
.header-icon{display:block;flex-shrink:0;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;}
.nav-item:first-child>.header-icon{color:var(--gold-ink);filter:none;}
.nav-item:nth-child(2)>.header-icon{color:var(--gold-ink);filter:none;}
.nav-item:last-child>.header-icon{color:var(--gold-ink);filter:none;}
.nav-item:active{transform:scale(.95);}
/* 竖版海报三维轮播：按原图3:4比例完整展示 */
.carousel-section{--carousel-height:clamp(205px,min(40dvh,calc(100dvh - var(--layout-fixed-height) - var(--gallery-cover-height) - var(--gallery-cover-height) - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))),330px);position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%;height:var(--carousel-height);padding:2px 8px;overflow:clip;z-index:1;}
.carousel-viewport{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;perspective:1000px;touch-action:pan-y;}
.carousel-slide{position:absolute;width:min(74%,calc((var(--carousel-height) - 4px) * .75));aspect-ratio:3/4;color:#fff;cursor:pointer;background:var(--card-bg);border:1px solid var(--card-border);border-radius:12px;opacity:0;overflow:hidden;transition:transform .4s cubic-bezier(.25,1,.5,1),opacity .4s ease,filter .4s ease;transform-style:preserve-3d;z-index:0;}
.carousel-slide.is-active{border:2px solid rgba(169,133,63,.22);box-shadow:0 8px 22px -5px rgba(28,25,21,.14),0 2px 6px rgba(169,133,63,.06);opacity:1;transform:translateX(0) scale(1) translateZ(0) rotateY(0);z-index:30;}
.carousel-slide.is-prev{box-shadow:0 10px 15px -3px rgba(28,25,21,.08);opacity:.72;filter:brightness(.75);transform:translateX(-70%) scale(.84) translateZ(-40px) rotateY(10deg);z-index:20;}
.carousel-slide.is-next{box-shadow:0 10px 15px -3px rgba(28,25,21,.08);opacity:.72;filter:brightness(.75);transform:translateX(70%) scale(.84) translateZ(-40px) rotateY(-10deg);z-index:20;}
.carousel-slide.is-far-prev{border-color:var(--card-border);opacity:.28;transform:translateX(-145%) scale(.68) translateZ(-90px) rotateY(18deg);z-index:10;}
.carousel-slide.is-far-next{border-color:var(--card-border);opacity:.28;transform:translateX(145%) scale(.68) translateZ(-90px) rotateY(-18deg);z-index:10;}
.slide-image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;object-position:center;}
/* 图片加载占位与淡入 */
.carousel-slide,.gallery-media{background:radial-gradient(ellipse at 20% 15%,rgba(238,205,130,.18),transparent 65%),linear-gradient(135deg,#F3F0E8,#EEEDEA 55%,#F6F4F0);}
.carousel-slide>img[data-src],.gallery-media>img[data-src]{opacity:0;transition:opacity .2s ease,transform .3s ease;}
.carousel-slide>img.is-loaded,.gallery-media>img.is-loaded{opacity:1;}
.media-cover-placeholder{position:relative;display:block;width:100%;height:100%;background:radial-gradient(ellipse at 20% 15%,rgba(238,205,130,.18),transparent 65%),linear-gradient(135deg,#F3F0E8,#EEEDEA 55%,#F6F4F0);}
.media-cover-placeholder:after{position:absolute;top:50%;left:50%;width:14px;height:18px;background:rgba(169,133,63,.24);clip-path:polygon(0 0,100% 50%,0 100%);transform:translate(-50%,-50%);content:"";}
/* 两排纯图片卡片 */
.content-section{position:relative;display:flex;flex-direction:column;gap:8px;flex-shrink:0;width:100%;padding:0 12px;z-index:1;}
.section-heading{display:flex;align-items:center;justify-content:space-between;height:24px;}
.section-title{display:flex;align-items:center;gap:7px;color:var(--text-main);font-size:15px;font-weight:650;line-height:24px;letter-spacing:.01em;}
.section-title:before{flex-shrink:0;width:4px;height:12px;background:var(--bar-bg);border-radius:999px;box-shadow:none;content:"";}
.section-tag{color:var(--gold-ink);font-size:9px;font-weight:500;line-height:14px;padding:1px 6px;background:linear-gradient(135deg,#F3E4BC,#F8F0DC);border:1px solid rgba(169,133,63,.10);border-radius:4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35);}
.section-action{display:flex;align-items:center;gap:3px;flex-shrink:0;color:var(--gold-ink);font-size:11px;font-weight:450;line-height:18px;}
.section-action>.icon{font-size:14px;}
.scroll-gallery{position:relative;width:100%;cursor:grab;padding:2px 0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;}
.scroll-gallery::-webkit-scrollbar{display:none;}
.scroll-gallery.is-dragging{cursor:grabbing;}
.scroll-track{position:relative;display:flex;gap:10px;width:max-content;}
.gallery-item{position:relative;display:flex;flex:0 0 var(--gallery-card-width);width:var(--gallery-card-width);background:var(--card-bg);border-radius:11px;overflow:hidden;}
.gallery-item:after{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,255,255,.68);border-radius:inherit;content:"";pointer-events:none;transition:border-color .2s ease;z-index:1;}
/* 人物封面统一为3:2，标准尺寸144×96px */
.gallery-media{position:relative;flex-shrink:0;width:100%;overflow:hidden;aspect-ratio:16/9;}
.gallery-media img{object-fit:cover;object-position:center;transition:transform .3s ease;}
.gallery-badge{position:absolute;top:6px;left:6px;color:var(--rose-ink);font-size:9px;font-weight:500;line-height:12px;padding:1px 5px;background:var(--rose-soft);border:1px solid rgba(180,99,107,.14);border-radius:4px;box-shadow:0 1px 3px rgba(28,25,21,.10);backdrop-filter:blur(4px);z-index:2;}
.gallery-badge-exclusive{color:var(--text-main);background:var(--action-bg);border-color:rgba(169,133,63,.12);}
.gallery-badge-full{color:var(--text-secondary);background:linear-gradient(135deg,#FFF,var(--card-border));border-color:rgba(169,133,63,.10);}
/* 底部标语与双端下载 */
.download-footer{position:relative;display:flex;flex-direction:column;gap:8px;flex-shrink:0;width:100%;height:calc(126px + env(safe-area-inset-bottom));padding:8px 12px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(to top,#F3EAD6 0%,var(--surface-hover) 58%,var(--page-bg) 100%);border-top:1px solid transparent;box-shadow:0 -4px 16px rgba(28,25,21,.025);z-index:1;}
.download-footer::before{content:"";position:absolute;top:-1px;right:12px;left:12px;height:1px;background:linear-gradient(90deg,transparent,rgba(169,133,63,.04) 25%,rgba(169,133,63,.10) 50%,rgba(169,133,63,.04) 75%,transparent);pointer-events:none;}
.slogan-row{display:flex;align-items:center;justify-content:space-between;height:22px;padding:0 2px;}
.slogan-group{display:flex;align-items:center;gap:4px;}
.slogan-group>.icon{color:var(--gold-bright);font-size:16px;}
.slogan{color:var(--text-secondary);font-size:10.5px;font-weight:500;line-height:20px;white-space:nowrap;letter-spacing:normal;}
.slogan strong{color:var(--gold-ink);font-size:11.5px;font-weight:650;background:none;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:currentColor;}
.slogan strong:last-child{background-image:none;}
.direct-tag{flex-shrink:0;color:var(--gold-ink);font-size:9px;font-weight:500;line-height:14px;white-space:nowrap;padding:2px 5px;background:linear-gradient(135deg,#F3E4BC,#F8F0DC);border:1px solid rgba(169,133,63,.10);border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35);}
.download-section{display:flex;gap:8px;}
.download-btn{position:relative;display:flex;align-items:center;justify-content:space-between;gap:4px;flex:1;min-width:0;height:56px;color:var(--text-main);padding:9px 8px;background:var(--action-bg);border:1px solid rgba(169,133,63,.18);border-radius:12px;box-shadow:0 3px 10px rgba(199,154,62,.18),inset 0 1px 0 rgba(255,255,255,.35);overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;}
.download-btn:last-child{color:var(--text-main);background:linear-gradient(135deg,#FFF,#F8F0DC);border-color:rgba(169,133,63,.18);box-shadow:0 1px 2px rgba(28,25,21,.03),0 4px 12px rgba(28,25,21,.035);}
.download-main{display:flex;align-items:center;gap:6px;min-width:0;}
.download-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:32px;background:rgba(255,255,255,.24);border:1px solid rgba(255,255,255,.20);border-radius:8px;}
.download-icon>.icon{font-size:22px;}
.download-btn:last-child .download-icon{color:var(--gold-ink);background:rgba(198,161,91,.16);border-color:rgba(169,133,63,.10);}
.download-label{display:flex;flex-direction:column;min-width:0;text-align:left;}
.download-label strong{color:inherit;font-size:14px;font-weight:650;line-height:20px;white-space:nowrap;letter-spacing:normal;}
.download-label small{color:rgba(28,25,21,.86);font-size:10px;font-weight:400;line-height:14px;white-space:nowrap;}
.download-btn:last-child .download-label small{color:var(--text-regular);}
.download-arrow{flex-shrink:0;font-size:18px;}
.download-btn:last-child>.download-arrow{color:var(--gold-ink);}
.download-btn:active{transform:scale(.95);box-shadow:0 1px 4px rgba(169,133,63,.14),inset 0 1px 2px rgba(28,25,21,.08);}
.quality-list{display:flex;align-items:center;justify-content:space-around;height:16px;color:var(--text-regular);font-size:9px;line-height:16px;}
.quality-item{display:flex;align-items:center;gap:4px;font-weight:400;white-space:nowrap;}
.quality-item>.icon{color:var(--gold-ink);font-size:13px;}
.quality-item:nth-of-type(3)>.icon{color:var(--gold-ink);}
.quality-item:nth-of-type(5)>.icon{color:var(--gold-ink);}
.quality-dot{color:rgba(156,147,132,.45);}
/* H5入口与状态提示 */
.landing-link[aria-disabled="true"]{cursor:progress;}
.gallery-item.landing-link{cursor:pointer;}
.landing-status{position:absolute;top:50%;left:50%;width:max-content;max-width:calc(100% - 40px);color:var(--text-main);font-size:13px;font-weight:500;line-height:1.5;text-align:center;white-space:normal;margin:0;padding:9px 14px;background:linear-gradient(135deg,#FFF,#FFF6DF);border:1px solid rgba(169,133,63,.28);border-radius:10px;box-shadow:var(--card-shadow);backdrop-filter:blur(8px);pointer-events:none;transform:translate(-50%,-50%);z-index:50;}
/* 异常页 */
.unavailable-page{display:flex;align-items:center;justify-content:center;width:100%;min-height:100vh;padding:24px;}
.unavailable-card{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%;max-width:420px;text-align:center;padding:32px 24px;background:var(--card-bg);border:1px solid var(--card-border);border-radius:16px;}
.unavailable-card h1{font-size:22px;font-weight:600;margin:0;}
.unavailable-card p{color:var(--text-secondary);font-size:14px;line-height:1.7;margin:0 0 8px;}
.retry-button{display:inline-flex;align-items:center;justify-content:center;height:44px;color:var(--text-main);font-size:15px;font-weight:750;text-decoration:none;padding:0 28px;background:var(--action-bg);border:1px solid var(--gold-light);border-radius:22px;}
/* 标准手机尺寸 */
@media (min-width:375px){
  :root{--layout-fixed-height:266px;}
  .site-header{height:calc(64px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) 12px 8px;}
  .brand{gap:8px;}
  .brand-icon{width:34px;height:34px;}
  .brand-row{gap:6px;}
  .brand-label{font-size:17px;}
  .brand-caption{font-size:9px;}
  .header-nav{gap:6px;}
  .nav-item{width:60px;padding-right:8px;padding-left:8px;}
  .section-tag{font-size:10px;}
  .download-footer{height:calc(130px + env(safe-area-inset-bottom));}
  .slogan{font-size:12px;}
  .slogan strong{font-size:13px;}
  .direct-tag{font-size:10px;padding:2px 6px;}
  .download-btn{padding:9px 10px;}
  .download-main{gap:8px;}
  .download-icon{width:32px;height:32px;}
  .download-label strong{font-size:15px;}
  .download-arrow{font-size:20px;}
  .quality-list{font-size:10px;}
}
/* 短屏：按可用高度收紧图片和间距，完整保留底部下载区 */
@media (max-height:700px){
  :root{--gallery-card-width:clamp(112px,calc((100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 400px) * .8),144px);--layout-fixed-height:248px;}
  .carousel-section{--carousel-height:clamp(96px,min(34dvh,calc(100dvh - var(--layout-fixed-height) - var(--gallery-cover-height) - var(--gallery-cover-height) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))),205px);}
  .content-section{gap:6px;}
  .download-footer{height:calc(120px + env(safe-area-inset-bottom));gap:6px;padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom));}
  .slogan-row{height:20px;}
  .download-btn{height:52px;padding-top:7px;padding-bottom:7px;}
}
@media (max-height:700px) and (min-width:375px){
  :root{--layout-fixed-height:252px;}
}
/* 更矮的手机：继续压缩图片尺寸，保持文字和下载按钮清晰 */
@media (max-height:600px){
  :root{--gallery-card-width:clamp(80px,calc((100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 360px) * .75),144px);--layout-fixed-height:236px;}
  .site-header{height:calc(60px + env(safe-area-inset-top));padding-top:calc(6px + env(safe-area-inset-top));padding-bottom:6px;}
  .carousel-section{--carousel-height:clamp(80px,calc(100dvh - var(--layout-fixed-height) - var(--gallery-cover-height) - var(--gallery-cover-height) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)),175px);}
  .content-section{gap:4px;}
  .download-footer{height:calc(112px + env(safe-area-inset-bottom));gap:5px;padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom));}
  .download-btn{height:48px;padding-top:5px;padding-bottom:5px;}
}
/* 极矮视口允许纵向浏览，避免继续缩小文字或裁掉底部内容 */
@media (max-height:520px){
  .app-shell{height:auto;min-height:100dvh;gap:4px;overflow-x:clip;overflow-y:visible;}
  .carousel-section{--carousel-height:120px;}
}
/* 鼠标交互 */
@media (hover:hover) and (pointer:fine){
  .nav-item:first-child:hover{background:#F7EEDB;}
  .nav-item:nth-child(2):hover{background:#F7EEDB;}
  .nav-item:last-child:hover{background:#F7EEDB;}
  .nav-item:hover>.header-icon{color:var(--gold-ink);}
  .download-btn:hover:not(:active){box-shadow:0 5px 14px rgba(199,154,62,.22),inset 0 1px 0 rgba(255,255,255,.45);}
  .download-btn:last-child:hover:not(:active){border-color:rgba(169,133,63,.26);box-shadow:0 3px 10px rgba(28,25,21,.07),inset 0 1px 0 rgba(255,255,255,.50);}
  .section-action:hover{color:var(--text-main);}
  .gallery-item:hover:after{border-color:rgba(169,133,63,.50);}
  .content-section:last-child .gallery-item:hover:after{border-color:rgba(169,133,63,.50);}
  .gallery-item:hover img{transform:scale(1.05);}
}
/* 减少动态效果 */
@media (prefers-reduced-motion:reduce){
  .carousel-slide{transition:opacity .25s ease;}
  .nav-item,.gallery-item:after,.carousel-slide>img[data-src],.gallery-media img,.gallery-media>img[data-src],.download-btn{transition:none;}
  .gallery-item:hover img{transform:none;}
}
