/* Shared presentation for the access notice, installation page and tutorials. */
:root {
  --zero-entry-bg: #060b17;
  --zero-entry-ink: #eef4ff;
  --zero-entry-muted: #91a3be;
  --zero-entry-line: rgba(163, 191, 239, .16);
  --zero-entry-blue: #97c7ff;
}
.zero-entry-surface {
  color: var(--zero-entry-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: radial-gradient(ellipse at 14% 12%, #123058 0, transparent 43%),
    radial-gradient(ellipse at 86% 85%, #111f3e 0, transparent 40%), var(--zero-entry-bg);
  -webkit-font-smoothing: antialiased;
}
.zero-entry-surface *, .zero-entry-surface *::before, .zero-entry-surface *::after { box-sizing: border-box; }
.zero-entry-surface a, .zero-entry-surface button { -webkit-tap-highlight-color: transparent; }
.zero-entry-surface button { font-family: inherit; }
.zero-entry-surface button:focus-visible, .zero-entry-surface a:focus-visible {
  outline: 3px solid #91c6ff; outline-offset: 4px;
}
body.zero-entry-surface { min-height: 100vh; min-height: 100dvh; margin: 0; }
.zero-entry-page {
  width: min(1100px, calc(100% - 80px)); margin: 0 auto;
  padding: max(32px, env(safe-area-inset-top)) 0 max(25px, env(safe-area-inset-bottom));
}
.zero-entry-masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.zero-entry-brand { display: flex; align-items: center; gap: 11px; }
.zero-entry-brand img { width: 42px; height: 42px; border-radius: 13px; }
.zero-entry-brand-name { font: 23px/1.2 STXingkai, KaiTi, "Kaiti SC", serif; letter-spacing: 2px; }
.zero-entry-brand-sub { display: block; margin-top: 3px; color: #8ea7cb; font-size: 10px; letter-spacing: 1px; }
.zero-entry-stepper { display: flex; align-items: center; gap: 11px; color: #7e90ac; font-size: 12px; }
.zero-entry-stepper .active { color: #cce3ff; }
.zero-entry-stepper i { display: block; width: 26px; height: 1px; background: #30425f; }
.zero-entry-stepper em { margin-right: 5px; font: inherit; opacity: .7; }
.zero-entry-layout { display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 70px; min-height: 680px; }
.zero-entry-eyebrow { margin: 0 0 18px; color: #9abbe9; font-size: 11px; letter-spacing: 3px; }
.zero-entry-story h1 { margin: 0; font-size: clamp(36px, 3.9vw, 52px); font-weight: 600; line-height: 1.3; letter-spacing: 1px; }
.zero-entry-story h1 span { display: block; color: #9ab7de; }
.zero-entry-story-copy { margin: 20px 0 0; color: #95a9c7; font-size: 14px; line-height: 1.85; }
.zero-entry-illustration { position: relative; display: grid; place-items: center; width: 290px; height: 245px; margin: 28px 0 18px; }
.zero-entry-orbit { position: absolute; width: 255px; height: 255px; border: 1px solid #a5caff24; border-radius: 50%; transform: rotate(-27deg) scaleY(.62); }
.zero-entry-orbit::after { content: ""; position: absolute; top: 46px; right: 20px; width: 7px; height: 7px; border-radius: 50%; background: #b5d8ff; box-shadow: 0 0 22px #82b5ff99; }
.zero-entry-orbit.second { width: 310px; height: 310px; transform: rotate(31deg) scaleY(.55); opacity: .45; }
.zero-entry-device { z-index: 1; position: relative; display: flex; align-items: center; justify-content: center; width: 124px; height: 205px; border: 1px solid #a5c9f66b; border-radius: 27px; background: linear-gradient(155deg, #163259, #070e22 70%); box-shadow: inset 0 0 0 5px #061021, 0 20px 65px #0007, 0 0 55px #7aaaff17; transform: rotate(-9deg); }
.zero-entry-device::before { content: ""; position: absolute; top: 13px; width: 35px; height: 5px; border-radius: 10px; background: #071021; }
.zero-entry-device img { width: 60px; height: 60px; border-radius: 18px; box-shadow: 0 7px 25px #0006; }
.zero-entry-device::after { content: "青瓜视频"; position: absolute; bottom: 38px; color: #d3e5ff; font: 12px STXingkai, KaiTi, serif; letter-spacing: 2px; }
.zero-entry-details { display: flex; gap: 23px; color: #a5bbd8; font-size: 12px; }
.zero-entry-details span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 8px 3px 0; border-radius: 50%; background: #7eaff0; }
.zero-entry-card {
  position: relative; padding: 32px; border: 1px solid var(--zero-entry-line); border-radius: 27px;
  background: linear-gradient(145deg, rgba(33, 52, 84, .7), rgba(10, 19, 36, .95));
  box-shadow: 0 28px 90px #0004, inset 0 1px 0 #d6e6ff08;
}
.zero-entry-card::before { content: ""; position: absolute; top: -1px; left: 25%; right: 25%; height: 1px; background: linear-gradient(90deg, transparent, #b4d1ff80, transparent); }
.zero-entry-card h2 { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 600; letter-spacing: .5px; }
.zero-entry-intro { margin: 8px 0 24px; color: #9cacc4; font-size: 13px; line-height: 1.7; }
.zero-platform-card { margin-top: 13px; padding: 18px; border: 1px solid #9bb8e526; border-radius: 17px; background: #0d1b31a6; }
.zero-platform-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.zero-platform-symbol { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #a8c8fa20; border-radius: 12px; background: #b1d0ff0c; color: #c8e1ff; }
.zero-platform-symbol svg { width: 24px; height: 24px; }
.zero-platform-header b { display: block; font-size: 15px; font-weight: 600; }
.zero-platform-header small { display: block; margin-top: 3px; color: #8a9ebc; font-size: 11px; }
.zero-platform-card button, .zero-platform-card .zero-entry-enter { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 46px; padding: 10px 14px; line-height: 20px; border: 1px solid #c0d8ff4d; border-radius: 10px; background: linear-gradient(115deg, #d5e6ff, #a6c9f9); color: #10284a; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 5px 16px #a7c5ff12; }
.zero-platform-card.apple button { background: #acccff09; color: #e1edff; border-color: #8aaad04d; box-shadow: none; }
.zero-platform-card button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.zero-entry-install-note { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 22px; color: #8398b7; font-size: 11px; line-height: 1.7; }
.zero-entry-install-note svg { width: 14px; height: 14px; margin-top: 2px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.zero-platform-card .zero-entry-enter { margin: 0; background: linear-gradient(110deg, #254770, #193353); color: #e5efff; text-decoration: none; }
.zero-entry-enter svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.zero-entry-web-note { margin: 9px 0 0; color: #788eaf; text-align: center; font-size: 11px; }
.zero-entry-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 19px; border-top: 1px solid #a5c0ee14; color: #6e83a3; font-size: 11px; letter-spacing: .2px; }

/* Access confirmation: first step. */
#zero-age-gate.zero-entry-surface { background: radial-gradient(ellipse at 35% 0, #122a4d, transparent 58%), #060b17; padding: 24px; }
#zero-age-gate .zero-age-card { position: relative; width: min(100%, 454px); max-height: calc(100dvh - 48px); padding: 29px 31px; overflow: auto; border: 1px solid #a8c9fc25; border-radius: 27px; background: linear-gradient(145deg, #182943e8, #0b1427f5 72%); box-shadow: 0 30px 100px #0008; color: #eef4ff; text-align: left; }
#zero-age-gate .zero-entry-brand { justify-content: center; }
#zero-age-gate .zero-entry-brand-name { font-size: 25px; }
#zero-age-gate .zero-entry-stepper { justify-content: center; margin-top: 23px; }
#zero-age-gate .zero-age-mark { display: grid; place-items: center; width: 75px; height: 75px; margin: 29px auto 18px; border: 1px solid #99c5ff5c; border-radius: 22px; background: linear-gradient(135deg, #27456b8c, #10203c); box-shadow: 0 0 40px #91bfff14; color: #d7e8ff; font-size: 28px; font-weight: 600; letter-spacing: -1px; }
#zero-age-gate h1 { margin: 0 0 9px; text-align: center; font-size: 25px; line-height: 1.5; font-weight: 600; letter-spacing: 1px; }
#zero-age-gate .zero-age-subtitle { margin: 0 0 22px; text-align: center; font-size: 12px; color: #8b9fbc; line-height: 1.7; }
#zero-age-gate .zero-age-warning { padding: 16px; border: 1px solid #90afde24; border-radius: 14px; background: #0711265c; }
#zero-age-gate .zero-age-warning strong { display: block; color: #d8e6fc; font-size: 14px; font-weight: 600; line-height: 1.8; }
#zero-age-gate .zero-age-warning p { margin: 8px 0 0; color: #8ea2bd; font-size: 12px; line-height: 1.8; }
#zero-age-gate .zero-age-primary, #zero-age-gate .zero-age-secondary { width: 100%; min-height: 49px; padding: 12px 10px; border-radius: 11px; font-size: 13px; font-weight: 600; line-height: 1.6; cursor: pointer; }
#zero-age-gate .zero-age-primary { margin-top: 23px; border: 1px solid #d8e8ff87; background: linear-gradient(115deg, #dbeaff, #a6c9fb); color: #142a48; }
#zero-age-gate .zero-age-secondary { margin-top: 10px; border: 1px solid #99b6e22b; background: transparent; color: #9faec4; }
#zero-age-gate .zero-age-note { display: block; margin-top: 15px; color: #7389aa; text-align: center; font-size: 10px; line-height: 1.6; }
#zero-age-gate .zero-age-denied { display: none; }
#zero-age-gate.is-denied .zero-age-question { display: none; }
#zero-age-gate.is-denied .zero-age-denied { display: block; margin-top: 30px; }
#zero-age-gate .zero-age-denied p { color: #98abc7; font-size: 13px; line-height: 1.9; }

/* Tutorials retain their existing interaction handlers. */
body .zero-pwa-guide { background: #030815c9; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
body .zero-pwa-guide .zero-pwa-guide-card { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); overflow: hidden; padding: 28px 24px 22px; border: 1px solid #a4c4f633; border-radius: 25px; background: linear-gradient(145deg, #182b47, #0b1528 80%); box-shadow: 0 30px 100px #0008; }
body .zero-pwa-guide .zero-pwa-guide-card h2 { font-size: 20px; font-weight: 600; }
body .zero-pwa-guide .zero-pwa-guide-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #45607f transparent; }
body .zero-pwa-guide .zero-pwa-guide-card h2, body .zero-pwa-guide .zero-pwa-guide-note, body .zero-pwa-guide .zero-pwa-done { flex-shrink: 0; }
body .zero-pwa-guide .zero-pwa-guide-note { margin-bottom: 22px; color: #9aafcd; font-size: 12px; }
body .zero-pwa-guide .zero-pwa-guide-close { background: #a0c4fb0d; color: #b7c9e4; }
body .zero-pwa-guide .zero-pwa-step { border-color: #9ab7e323; border-radius: 14px; background: #07152b6b; }
body .zero-pwa-guide .zero-pwa-step-symbol { width: 36px; height: 36px; border: 1px solid #9dc4ff26; border-radius: 10px; background: #9dc4ff0a; color: #c6deff; }
body .zero-pwa-guide .zero-pwa-step-copy b { font-size: 13px; font-weight: 600; }
body .zero-pwa-guide .zero-pwa-step-copy p { color: #94a9c6; font-size: 11px; }
body .zero-pwa-guide .zero-pwa-demo { background: #d8e7fb; color: #152b48; border: 0; }
body .zero-pwa-guide .zero-pwa-copy-row input { background: #071227; border-color: #9fbce430; color: #adc2df; }
body .zero-pwa-guide .zero-pwa-copy-row button { background: #a0c4ff0a; border-color: #9fbce430; color: #cadcf5; }
body .zero-pwa-guide .zero-pwa-guide-card .zero-pwa-done { margin-top: 12px; background: linear-gradient(110deg, #dbeaff, #abcaf6); color: #102745; }
@media (hover: hover) {
  .zero-platform-card button:hover, #zero-age-gate .zero-age-primary:hover { filter: brightness(1.08); }
  .zero-entry-enter:hover { color: #a2caff; }
}
@media (max-width: 900px) {
  .zero-entry-page { width: min(470px, calc(100% - 40px)); padding-top: max(21px, env(safe-area-inset-top)); }
  .zero-entry-layout { display: block; min-height: auto; }
  .zero-entry-story { text-align: center; padding: 30px 0 25px; }
  .zero-entry-eyebrow { margin-bottom: 12px; font-size: 10px; letter-spacing: 2px; }
  .zero-entry-story h1 { font-size: 32px; line-height: 1.3; }
  .zero-entry-story h1 span { display: inline; margin-left: 7px; }
  .zero-entry-story-copy { margin-top: 10px; font-size: 12px; }
  .zero-entry-illustration { display: none; }
  .zero-entry-details { display: none; }
  .zero-entry-card { padding: 25px; border-radius: 24px; }
  .zero-entry-card h2 { font-size: 22px; }
  .zero-entry-intro { margin: 7px 0 19px; font-size: 12px; }
  .zero-entry-footer { margin-top: 24px; padding-top: 16px; }
  .zero-entry-stepper { gap: 7px; font-size: 10px; }
  .zero-entry-stepper i { width: 12px; }
}
@media (max-width: 370px) {
  .zero-entry-page { width: calc(100% - 30px); }
  .zero-entry-masthead { gap: 8px; }
  .zero-entry-brand img { width: 33px; height: 33px; border-radius: 10px; }
  .zero-entry-brand-name { font-size: 20px; }
  .zero-entry-brand-sub { font-size: 9px; }
  .zero-entry-stepper em { display: none; }
  .zero-entry-story { padding: 26px 0 22px; }
  .zero-entry-story h1 { font-size: 27px; }
  .zero-entry-card { padding: 21px 18px; }
  .zero-platform-card { padding: 15px; }
  .zero-entry-footer { font-size: 10px; }
  #zero-age-gate.zero-entry-surface { padding: 15px; }
  #zero-age-gate .zero-age-card { padding: 24px 21px; max-height: calc(100dvh - 30px); }
  #zero-age-gate .zero-age-mark { margin-top: 22px; width: 65px; height: 65px; }
  #zero-age-gate .zero-age-warning { padding: 13px; }
  body .zero-pwa-guide .zero-pwa-guide-card { padding: 24px 17px 18px; }
}
@media (max-height: 700px) {
  #zero-age-gate .zero-age-card { padding-top: 20px; padding-bottom: 20px; }
  #zero-age-gate .zero-entry-stepper { margin-top: 15px; }
  #zero-age-gate .zero-age-mark { width: 48px; height: 48px; margin: 17px auto 12px; border-radius: 15px; font-size: 22px; }
  #zero-age-gate .zero-age-subtitle { margin-bottom: 16px; }
  #zero-age-gate .zero-age-primary { margin-top: 16px; }
}

@font-face{font-family:QingguaCursive;src:url("/h5/static/qinggua-cursive.woff2") format("woff2");font-display:swap}
.zero-entry-brand-name,#zero-age-gate .zero-entry-brand-name,.zero-entry-device::after{font-family:QingguaCursive,KaiTi,serif}
.zero-platform-card .zero-platform-download{display:flex;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;width:100%;min-height:46px;padding:10px 14px;line-height:20px;border:1px solid #c0d8ff4d;border-radius:10px;background:linear-gradient(115deg,#d5e6ff,#a6c9f9);color:#10284a;font-size:14px;font-weight:700;text-decoration:none;box-shadow:0 5px 16px #a7c5ff12}
.zero-platform-card.apple .zero-platform-download{background:#acccff09;color:#e1edff;border-color:#8aaad04d;box-shadow:none}
.zero-platform-download svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.zero-platform-options{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:12px;color:#526e97}
.zero-platform-card .zero-platform-options button{display:inline-flex;width:auto;min-height:32px;padding:3px 0;border:0;border-radius:4px;background:none;color:#aac5e9;font-size:12px;font-weight:400;box-shadow:none}
.zero-platform-download:focus-visible,.zero-entry-enter:focus-visible{outline:3px solid #89dfff;outline-offset:3px}
.qinggua-mine-pwa{display:flex;justify-content:space-between;gap:10px;margin-top:10px}.qinggua-mine-pwa button{background:none;color:#adcde7;border:0;padding:6px 0;font-size:12px}
.zero-appearance-brand b,.zero-appearance-hero b{font-family:QingguaCursive,KaiTi,serif!important}
