/* 虚拟古琴网页版 · App Store 引导。只负责说明和跳转，不包含 PRO 功能。 */
.app-store-sheet[hidden]{display:none!important}
.app-store-sheet{position:fixed;inset:0;z-index:760;display:grid;place-items:center;padding:
  max(18px,env(safe-area-inset-top,0px))
  max(18px,env(safe-area-inset-right,0px))
  max(18px,env(safe-area-inset-bottom,0px))
  max(18px,env(safe-area-inset-left,0px));font-family:"PingFang SC","Hiragino Sans GB",system-ui,-apple-system,sans-serif}
.app-store-sheet__backdrop{position:absolute;inset:0;background:rgba(28,24,20,.52);backdrop-filter:blur(5px);opacity:0;transition:opacity .2s ease}
.app-store-card{position:relative;width:min(500px,100%);max-height:min(86dvh,720px);overflow:auto;
  border:1px solid rgba(91,75,61,.16);border-radius:18px;color:#3f3a33;
  background:linear-gradient(150deg,rgba(255,253,246,.99),rgba(246,237,219,.99));
  box-shadow:0 28px 90px rgba(35,29,24,.3);opacity:0;transform:translateY(12px) scale(.985);
  transition:opacity .2s ease,transform .24s ease}
.app-store-sheet.is-open .app-store-sheet__backdrop,.app-store-sheet.is-open .app-store-card{opacity:1}
.app-store-sheet.is-open .app-store-card{transform:none}
.app-store-card__close{position:absolute;right:12px;top:12px;z-index:1;width:44px;height:44px;padding:0;
  border:1px solid rgba(74,64,52,.16);border-radius:50%;color:#6f675c;background:rgba(255,255,255,.58);
  box-shadow:none;font:300 28px/1 Georgia,serif;cursor:pointer}
.app-store-card__close:hover,.app-store-card__close:focus-visible{color:#2c2a26;background:#fffdf7;outline:1px solid #7c654e;outline-offset:2px}
.app-store-card__main{display:grid;grid-template-columns:92px 1fr;gap:18px;padding:28px 66px 20px 26px;align-items:center}
.app-store-card__icon{width:92px;height:92px;border-radius:22px;display:block;box-shadow:0 10px 28px rgba(45,36,28,.2)}
.app-store-card__eyebrow{margin:0 0 5px;color:#8e7458;font:600 10px/1.3 system-ui,-apple-system,sans-serif;letter-spacing:.18em;text-transform:uppercase}
.app-store-card__title{margin:0;color:#2c2a26;font:400 27px/1.22 "Songti SC","Noto Serif SC",STSong,serif;letter-spacing:.12em}
.app-store-card__lead{margin:7px 0 0;color:#70685d;font-size:13px;line-height:1.7;letter-spacing:.02em}
.app-store-card__body{padding:0 26px 26px}
.app-store-card__notice{margin:0;padding:14px 16px;border-left:2px solid #a3815b;border-radius:0 10px 10px 0;
  color:#5f574d;background:rgba(255,255,255,.5);font-size:13px;line-height:1.8}
.app-store-card__facts{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 17px;padding:0;list-style:none}
.app-store-card__facts li{padding:7px 10px;border:1px solid rgba(94,76,61,.15);border-radius:999px;
  color:#756958;background:rgba(255,255,255,.38);font-size:11.5px;line-height:1.2;letter-spacing:.03em}
.app-store-card__cta{display:flex;align-items:center;gap:16px;min-height:52px}
.app-store-card__badge{display:block;flex:0 0 auto;line-height:0;border-radius:8px;outline-offset:4px}
.app-store-card__badge img{display:block;width:auto;height:48px;max-width:100%}
.app-store-card__hint{margin:0;color:#8d8478;font-size:11.5px;line-height:1.65}
.app-store-card__legal{margin:16px 0 0;color:#aaa194;font-size:9px;line-height:1.55}
@media(max-width:520px){
  .app-store-card{border-radius:15px}
  .app-store-card__main{grid-template-columns:72px 1fr;gap:14px;padding:23px 56px 16px 20px}
  .app-store-card__icon{width:72px;height:72px;border-radius:18px}
  .app-store-card__title{font-size:23px}
  .app-store-card__lead{font-size:12px}
  .app-store-card__body{padding:0 20px 21px}
  .app-store-card__notice{padding:12px 13px;font-size:12.5px}
  .app-store-card__cta{align-items:flex-start;flex-direction:column;gap:8px}
  .app-store-card__badge img{height:44px}
}
@media(max-height:500px) and (orientation:landscape){
  .app-store-sheet{place-items:stretch center;padding-block:8px}
  .app-store-card{width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 16px);display:grid;grid-template-columns:minmax(250px,.9fr) minmax(320px,1.1fr)}
  .app-store-card__main{grid-template-columns:68px 1fr;padding:20px 22px;align-content:center}
  .app-store-card__icon{width:68px;height:68px;border-radius:16px}
  .app-store-card__title{font-size:22px}
  .app-store-card__body{padding:18px 56px 18px 0;align-self:center}
  .app-store-card__facts{margin:10px 0 12px}
  .app-store-card__notice{font-size:12px;line-height:1.6;padding:9px 12px}
  .app-store-card__badge img{height:42px}
  .app-store-card__legal{margin-top:9px}
}
@media(min-width:2200px) and (min-height:1200px){
  .app-store-card{width:min(720px,100%);border-radius:24px}
  .app-store-card__close{right:18px;top:18px;width:58px;height:58px;font-size:36px}
  .app-store-card__main{grid-template-columns:132px 1fr;gap:26px;padding:40px 88px 28px 38px}
  .app-store-card__icon{width:132px;height:132px;border-radius:30px}
  .app-store-card__eyebrow{font-size:14px}
  .app-store-card__title{font-size:39px}
  .app-store-card__lead{font-size:18px}
  .app-store-card__body{padding:0 38px 38px}
  .app-store-card__notice{padding:19px 22px;font-size:18px}
  .app-store-card__facts{gap:12px;margin:21px 0 24px}
  .app-store-card__facts li{padding:10px 14px;font-size:16px}
  .app-store-card__cta{gap:22px;min-height:68px}
  .app-store-card__badge img{height:64px}
  .app-store-card__hint{font-size:16px}
  .app-store-card__legal{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.app-store-sheet__backdrop,.app-store-card{transition:none}}
