
  
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; }
  
  :root { color-scheme: dark light; }
  body { background: #0b0c0f; color-scheme: dark; }

@font-face { font-family: 'Novecento Wide'; src: url(../Novecento-Wide-Bold.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

@font-face { font-family: 'HarmonyOS Sans SC Black'; src: url(../HarmonyOS_Sans_SC_Black.woff2) format('woff2'), url(../HarmonyOS_Sans_SC_Black.ttf) format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }
  
  @font-face { font-family: 'HarmonyOS Sans SC'; src: url(../HarmonyOS_Sans_SC_Regular.woff2) format('woff2'), url(../HarmonyOS_Sans_SC_Regular.ttf) format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: 'HarmonyOS Sans SC'; src: url(../HarmonyOS_Sans_SC_Bold.woff2) format('woff2'), url(../HarmonyOS_Sans_SC_Bold.ttf) format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
  @font-face { font-family: 'HarmonyOS Sans SC'; src: url(../HarmonyOS_Sans_SC_Black.woff2) format('woff2'), url(../HarmonyOS_Sans_SC_Black.ttf) format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }
  body { font-family: 'Novecento Wide', 'HarmonyOS Sans SC', 'HarmonyOS Sans', 'HarmonyOS Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
  body.light { background: #ffffff; color-scheme: light; }

body {
    --font-black: 'HarmonyOS Sans SC Black', 'HarmonyOS Sans SC', sans-serif;   
    --fg: #ebebeb; --fg-dim: #8f96a1; --line: rgba(140, 146, 158, .35);
    --ink-up: -.115em;   
    --accent: rgb(62, 155, 255); --track: rgba(255, 255, 255, .14);
    --panel-bg: rgba(15, 17, 22, .55);
    --glass: blur(10px) saturate(1.8) brightness(1.1);   
    --sub-glass: blur(6px) saturate(1.8);   
    --sub-bg: rgba(255, 255, 255, .55);   
    --sub-solid: rgba(255, 255, 255, .92);   
    --sub-fg: rgba(0, 0, 0, .65);   
    --sub-hover: rgba(0, 0, 0, .85);   
    --sub-pill: rgba(0, 0, 0, .10);   
    --sub-on: #000000;   
    --panel-solid: rgba(15, 17, 22, .92);
    --card-shadow: -16px 0 48px rgba(0, 0, 0, .30);
  }
  body.light {
    --fg: #101010; --fg-dim: #6d6d6d; --line: rgba(20, 20, 20, .28);
    --accent: rgb(28, 102, 220); --track: rgba(0, 0, 0, .10);
    --panel-bg: rgba(255, 255, 255, .60);
    --glass: blur(10px) saturate(1.8);
    --sub-glass: blur(6px) saturate(1.8);
    --sub-bg: rgba(0, 0, 0, .60);   
    --sub-solid: rgba(0, 0, 0, .94);
    --sub-fg: rgba(255, 255, 255, .70);
    --sub-hover: rgba(255, 255, 255, .90);
    --sub-pill: rgba(255, 255, 255, .14);
    --sub-on: #ffffff;   
    --panel-solid: rgba(255, 255, 255, .94);
    --card-shadow: -16px 0 48px rgba(0, 0, 0, .08);
  }

  #dots { position: fixed; inset: 0; display: block; touch-action: none; }

.brand-sub { position: fixed; bottom: max(22px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 10; font-family: 'Novecento Wide', 'HarmonyOS Sans SC', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .16em; color: #8f96a1; white-space: nowrap; pointer-events: none; user-select: none; -webkit-user-select: none; transition: opacity .45s ease; }   
  @media (max-width: 480px) {
    .brand-sub { bottom: max(16px, env(safe-area-inset-bottom)); font-size: 8px; letter-spacing: .08em; }
  }

.access { position: fixed; top: 0; left: 50%; transform: translate(-50%, var(--ay, 60vh)); will-change: transform; z-index: 10; width: 176px; height: 42px; background: none; border: 2px solid var(--fg-dim); border-radius: 999px; padding: 0; cursor: pointer; perspective: 500px; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; transition: border-color .25s ease, transform 1.05s cubic-bezier(.32, .72, .28, 1), opacity .45s ease; }   
  
  .access:hover { border-color: var(--fg); }   
  .access:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .access-flip { position: absolute; inset: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transition: transform .55s cubic-bezier(.32, .72, .28, 1); }
  .access.open .access-flip { transform: rotateX(-180deg); }   
  .access-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-black); font-weight: 900; font-size: 14px; letter-spacing: .3em; text-indent: .3em; color: var(--fg); white-space: nowrap; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
  .access-face.back { transform: rotateX(180deg); }

.nav { --nav-k: 1; --nav-kg: 1; --nav-fs: calc(16px * var(--nav-k));    --nav-top: max(24px, env(safe-area-inset-top)); --nav-left: max(44px, env(safe-area-inset-left)); --nav-gap: clamp(20px, 4.2vw, 80px); position: fixed; top: var(--nav-top); left: var(--nav-left); height: 44px; z-index: 10; display: flex; flex-direction: row; align-items: center; gap: calc(var(--nav-gap) * var(--nav-kg)); pointer-events: none; }   
   .nav-item { flex: none; position: relative; height: 44px; padding-top: calc((44px - 1em) / 2); line-height: 0; opacity: 0; transform: translateY(-14px); pointer-events: none; font-family: var(--font-black); font-weight: 900; font-size: var(--nav-fs); letter-spacing: .2em; color: var(--fg); cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; transition: opacity .45s ease, transform .45s cubic-bezier(.32, .72, .28, 1); }   
   
   .nav-item::before, .sub-name::before, .sub-item::before { content: ''; display: inline-block; width: 0; height: 1em; vertical-align: var(--ink-up, -.115em); }
   .nav.open .nav-item { opacity: 1; transform: none; pointer-events: auto; }   
   .nav.open .nav-item.noent { transition: opacity .45s ease; }   
  .nav.open .nav-item:nth-of-type(1) { transition-delay: .06s; }   
  .nav.open .nav-item:nth-of-type(2) { transition-delay: .18s; }
  .nav.open .nav-item:nth-of-type(3) { transition-delay: .3s; }
  .nav.open .nav-item:nth-of-type(4) { transition-delay: .42s; }
  .nav.open .nav-item:nth-of-type(5) { transition-delay: .54s; }
  .nav-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .nav-item::after { content: ''; position: absolute; left: 0; right: .2em; bottom: -10px; height: 3px; background: var(--accent); clip-path: inset(0 100% 0 0); transition: clip-path .28s cubic-bezier(.32, .72, .28, 1); }   
  .nav-item:hover::after, .nav-item.active::after { clip-path: inset(0 0 0 0); }   

  .nav-arrow { display: none; flex: none; position: relative; width: 24px; height: 44px; padding: 0; background: none; border: none; cursor: pointer; opacity: 0; transform: translateY(-14px); pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; transition: opacity .45s ease, transform .45s cubic-bezier(.32, .72, .28, 1); }       
   .nav.open .nav-arrow { opacity: 1; transform: translateY(0); pointer-events: auto; transition-delay: .54s; }
   .nav-arrow::before { content: ''; position: absolute; left: 50%; top: 50%; box-sizing: border-box; width: calc(11.31px * var(--nav-k)); height: calc(11.31px * var(--nav-k)); border-top: 2px solid var(--fg); border-right: 2px solid var(--fg); }   
   .nav-arrow-r::before { transform: translate(-50%, -50%) rotate(45deg); }
   .nav-arrow-l::before { transform: translate(-50%, -50%) rotate(-135deg); }
   .nav-arrow:hover::before { border-color: var(--accent); }   
   .nav-arrow:active::before { border-color: var(--accent); }
   .nav-arrow-r { margin-left: calc(-.2 * var(--nav-fs)); }   

  @keyframes nav-pg-in-r { from { opacity: 0; transform: translateX(18px); } }   
  @keyframes nav-pg-in-l { from { opacity: 0; transform: translateX(-18px); } }
  @keyframes nav-pg-out-l { to { opacity: 0; transform: translateX(-18px); } }   
  @keyframes nav-pg-out-r { to { opacity: 0; transform: translateX(18px); } }
   .nav-item.pg-in-r, .nav-arrow.pg-in-r, .sub-item.pg-in-r, .sub-arrow.pg-in-r { animation: nav-pg-in-r .3s cubic-bezier(.32, .72, .28, 1); }
   .nav-item.pg-in-l, .nav-arrow.pg-in-l, .sub-item.pg-in-l, .sub-arrow.pg-in-l { animation: nav-pg-in-l .3s cubic-bezier(.32, .72, .28, 1); }
   .nav-item.pg-out-l, .sub-item.pg-out-l { animation: nav-pg-out-l .15s ease forwards; }
   .nav-item.pg-out-r, .sub-item.pg-out-r { animation: nav-pg-out-r .15s ease forwards; }
   @media (prefers-reduced-motion: reduce) { .nav-item[class*="pg-"], .nav-arrow[class*="pg-"], .sub-item[class*="pg-"], .sub-arrow[class*="pg-"] { animation-duration: .01s; } }
       .sub-menu { --sub-gap: 1em; font-size: 20px; position: fixed; left: 0; right: 0; top: calc(var(--nav-top) + 54px); height: 47px; padding-left: var(--nav-left); display: flex; align-items: center; gap: var(--sub-gap); overflow: hidden; background-image: linear-gradient(var(--sub-bg), var(--sub-bg)); backdrop-filter: var(--sub-glass); -webkit-backdrop-filter: var(--sub-glass); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s; }   
    .sub-name { flex: none; position: relative; margin-right: calc(var(--sub-gap) + 24px); font-family: var(--font-black); font-weight: 900; font-size: .8em; letter-spacing: .2em; line-height: 0; white-space: nowrap; color: var(--sub-hover); }
        
    .nav-item.active .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease .16s, visibility 0s; }   
    .nav:not(.open) .sub-menu { opacity: 0; visibility: hidden; pointer-events: none; transition: none; }   
    .nav-item[class*="pg-out"] .sub-menu { opacity: 0; visibility: hidden; pointer-events: none; transition: none; }   
    .sub-arrow { display: none; flex: none; position: relative; width: 24px; height: 44px; padding: 0; background: none; border: none; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }   
     .sub-arrow::before { content: ''; position: absolute; left: 50%; top: 50%; box-sizing: border-box; width: 11.31px; height: 11.31px; border-top: 2px solid var(--sub-fg); border-right: 2px solid var(--sub-fg); }   
    .sub-arrow-r::before { transform: translate(-50%, -50%) rotate(45deg); }
   .sub-arrow-r { margin-left: -.24em; }   
    .sub-arrow-l::before { transform: translate(-50%, -50%) rotate(-135deg); }
    .sub-arrow-l { position: absolute; left: calc(100% + var(--sub-gap)); top: calc(50% - 22px); }   
    .sub-arrow:hover::before { border-color: var(--sub-on); }   
    .sub-arrow:active::before { border-color: var(--sub-on); }
           .sub-item { position: relative; flex: none; display: block; height: 2em; line-height: 0; padding: .5em calc(.5em - .2em) 0 .5em; border-radius: 999px; font-family: 'HarmonyOS Sans SC', sans-serif; font-weight: 400; font-size: .8em; letter-spacing: .2em; color: var(--sub-fg); white-space: nowrap; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .25s ease, transform .25s cubic-bezier(.32, .72, .28, 1), color .18s ease, background-color .18s ease; }      
          
     .sub-item:hover { color: var(--sub-hover); background-color: var(--sub-pill); }   
     .sub-item:active { color: var(--sub-hover); background-color: var(--sub-pill); }      
     .sub-item.active { color: var(--sub-on); }   
     .sub-item:nth-of-type(2) { --si: 1; }   
    .sub-item:nth-of-type(3) { --si: 2; }
    .sub-item:nth-of-type(4) { --si: 3; }
    .sub-item:nth-of-type(5) { --si: 4; }
    .nav-item.active .sub-item { opacity: 1; transform: translateY(0); pointer-events: auto;    transition: opacity .3s ease calc(.16s + var(--si, 0) * .08s), transform .3s cubic-bezier(.32, .72, .28, 1) calc(.16s + var(--si, 0) * .08s), color .18s ease 0s, background-color .18s ease 0s; }   

#settingsBtn { position: fixed; top: max(24px, env(safe-area-inset-top)); right: max(28px, env(safe-area-inset-right)); z-index: 20; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  #settingsBtn .bar { width: 20px; height: 2px; border-radius: 1px; background: var(--fg);    transition: transform .38s cubic-bezier(.32, .72, .28, 1), opacity .26s ease, border-radius .12s ease; }
  #settingsBtn.open .bar { border-radius: 0; }   
  #settingsBtn.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg) scaleX(1.03); }   
  #settingsBtn.open .bar:nth-child(2) { transform: scaleX(.2); opacity: 0; }
  #settingsBtn.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg) scaleX(1.03); }   

#noticeBtn { position: fixed; top: max(24px, env(safe-area-inset-top)); right: calc(max(28px, env(safe-area-inset-right)) + 56px); z-index: 20; width: 44px; height: 44px; background: none; border: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  #noticeBtn .ncard { position: absolute; left: 50%; top: 50%; width: 14px; height: 11px; margin: -5.5px 0 0 -7px; box-sizing: border-box; border: 2px solid transparent; border-radius: 3.5px; background: var(--fg); transition: transform .38s cubic-bezier(.32, .72, .28, 1), opacity .26s ease, border-radius .12s ease, background-color .2s ease, border-color .2s ease; }   
  
  #noticeBtn .ncard:nth-child(1) { transform: translate(-2.5px, 2.5px) rotate(0deg) scaleX(1) scaleY(1); opacity: 1; background: none; border-color: var(--fg); }   
  #noticeBtn .ncard:nth-child(2) { transform: translate(2.5px, -2.5px) rotate(0deg) scaleX(1) scaleY(1); }                  
  
  #noticeBtn.open .ncard, body.on-page #noticeBtn .ncard { background-color: var(--fg); border-color: transparent; }
  #noticeBtn.open .ncard { border-radius: 0; }      
  #noticeBtn.open .ncard:nth-child(1) { transform: translate(0px, 0px) rotate(45deg) scaleX(1.475) scaleY(.18); opacity: 1; }
  #noticeBtn.open .ncard:nth-child(2) { transform: translate(0px, 0px) rotate(-45deg) scaleX(1.475) scaleY(.18); }
 body.on-page #noticeBtn .ncard { border-radius: 0; }   
  body.on-page #noticeBtn .ncard:nth-child(1) { transform: translate(0px, 0px) rotate(45deg) scaleX(1.475) scaleY(.18); opacity: 1; }
  body.on-page #noticeBtn .ncard:nth-child(2) { transform: translate(0px, 0px) rotate(-45deg) scaleX(1.475) scaleY(.18); }
  
  body.on-page.page-exit #noticeBtn .ncard:nth-child(1) { transform: translate(-2.5px, 2.5px) rotate(0deg) scaleX(1) scaleY(1); opacity: 1; background: none; border-color: var(--fg); }   
  body.on-page.page-exit #noticeBtn .ncard:nth-child(2) { transform: translate(2.5px, -2.5px) rotate(0deg) scaleX(1) scaleY(1); }
body.on-page.page-exit #noticeBtn .ncard { border-radius: 3.5px; }   
  body.on-page.settings-open #noticeBtn { z-index: 14; }

.side-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 78vw); z-index: 15; display: flex; flex-direction: column; overflow: hidden; padding: max(24px, env(safe-area-inset-top)) 24px 24px; background-image: linear-gradient(var(--panel-bg), var(--panel-bg)); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); border-left: 1px solid var(--line); box-shadow: var(--card-shadow); opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(24px); transition: opacity .3s ease, transform .35s cubic-bezier(.32, .72, .28, 1), visibility 0s linear .35s; }   
  .side-panel.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
  
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .side-panel { background-image: linear-gradient(var(--panel-solid), var(--panel-solid)); }
    .sub-menu { background-image: linear-gradient(var(--sub-solid), var(--sub-solid)); }
  }
  
  .notice-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  
  .n-item { margin-bottom: 20px; }
  .n-item:last-child { margin-bottom: 0; }
  .n-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--fg); }
  .n-text { font-size: 12px; line-height: 1.9; letter-spacing: .06em; color: var(--fg-dim); }
  
  .s-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 20px 10px; margin: 0 -10px;    }

.s-body, .notice-body { scrollbar-width: none; -ms-overflow-style: none; }
  .s-body::-webkit-scrollbar, .notice-body::-webkit-scrollbar { display: none; }

.build-tag { flex: none; padding-top: 12px; font-size: 10px; letter-spacing: .12em; color: var(--fg-dim); opacity: .8; }

.s-title { flex: none; height: 44px; padding-top: calc((44px - .7em) / 2); display: block; line-height: 0; font-size: 24px; font-weight: 700; letter-spacing: .2em; color: var(--fg); margin-bottom: 16px; }   
  .s-title::before { content: ''; display: inline-block; width: 0; height: .7em; }   
  .s-group { margin-bottom: 22px; }
  .s-label { font-size: 11px; letter-spacing: .2em; color: var(--fg-dim); margin-bottom: 12px; }
  
  .s-track { position: relative; display: flex; height: 38px; border-radius: 24.7px; background: var(--track); cursor: pointer; touch-action: pan-y;    user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
  .s-thumb { position: absolute; top: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 3)); height: calc(100% - 8px); border-radius: 19.5px; background: rgba(140, 146, 158, .24); box-shadow: 0 1px 4px rgba(0, 0, 0, .20); transform: translateX(calc(var(--p, 0) * 100%)); transition: transform .3s cubic-bezier(.32, .72, .28, 1); }
  .s-track span { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .12em; color: var(--fg-dim); transition: color .25s; }
  .s-track span.active { color: var(--fg); }
  .s-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.v-track { position: relative; height: 36px; cursor: pointer; touch-action: pan-y;    user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
  .v-track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 8px; margin-top: -4px; border-radius: 5.2px; background: var(--track); }
  .v-fill { position: absolute; left: 0; top: 50%; height: 8px; margin-top: -4px; border-radius: 5.2px; background: var(--accent); width: calc(var(--v, 50) * 1%); transition: width .25s ease-out; }
  .v-thumb { position: absolute; top: 50%; left: calc(var(--v, 50) * 1%); width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: left .25s ease-out; }
  .v-track.dragging .v-fill, .v-track.dragging .v-thumb { transition: none; }
  
  .bg-src { display: flex; gap: 8px; margin-bottom: 8px; }
  .bg-input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10.4px; background: var(--track); color: var(--fg); font-size: 12px; letter-spacing: .04em; outline: none; }
  .bg-input:focus { border-color: var(--accent); }
  .bg-input::placeholder { color: var(--fg-dim); }
  .bg-pick { flex: none; display: flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10.4px; color: var(--fg); font-size: 12px; letter-spacing: .06em; cursor: pointer; user-select: none; -webkit-user-select: none; }
  .bg-pick:hover { border-color: var(--accent); }   
  .bg-pick:active { border-color: var(--accent); }
  .bg-pick input { display: none; }
  .bg-btns { display: flex; gap: 8px; }
  .bg-btn { flex: 1; height: 34px; border: 1px solid var(--line); border-radius: 10.4px; background: none; color: var(--fg); font-family: inherit; font-size: 12px; letter-spacing: .08em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .bg-btn:hover { border-color: var(--accent); color: var(--accent); }   
  .bg-btn:active { border-color: var(--accent); color: var(--accent); }
  .bg-theme[hidden] { display: none; }
  .bg-theme { border-color: var(--accent); color: var(--accent); }
  .bg-theme:disabled { border-color: var(--line); color: var(--fg-dim); cursor: default; }
  .bg-sub { margin-top: 14px; }
  .bg-val { float: right; color: var(--fg-dim); letter-spacing: .06em; }
  .bg-note { float: right; color: var(--fg-dim); font-size: 11px; letter-spacing: .04em; }
  .v-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

#pageLayer { position: fixed; inset: 0; z-index: 5; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .5s ease, visibility 0s linear .5s; }
  #pageLayer.show { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .5s ease; }
  #pageLayer iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
  
  body.on-page #access { opacity: 0; pointer-events: none; }
  body.on-page .brand-sub { opacity: 0; }

body.kb-anim, body.kb-anim *, body.kb-anim *::before, body.kb-anim *::after { transition: none !important; }

#tallBtn { position: fixed; top: max(24px, env(safe-area-inset-top)); left: max(28px, env(safe-area-inset-left)); z-index: 20; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--fg); -webkit-tap-highlight-color: transparent; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s ease, visibility 0s linear .28s; }   
  #tallBtn .bar { position: relative; width: 20px; height: 2px; background-color: transparent; }    
  #tallBtn .bar::before, #tallBtn .bar::after { content: ''; position: absolute; top: 0; width: 0; height: 0; background: none; transition: transform .38s cubic-bezier(.32, .72, .28, 1), border-radius .12s ease; }   
  #tallBtn .bar:nth-child(1)::before { content: ''; position: absolute; top: 0; left: 0; width: 11px; height: 16px; border-radius: 3.5px; background-color: var(--fg); }   
  #tallBtn .bar:nth-child(1)::after { content: ''; position: absolute; top: 0; left: 18px; width: 2px; height: 16px; border-radius: 1px; background-color: var(--fg); }   
  #tallBtn .bar:nth-child(2) { opacity: 0; }   
  #tallBtn .bar:nth-child(3) { opacity: 0; }   
     #tallBtn.open .bar:nth-child(1)::before { transform: translateX(4.5px) rotate(45deg) scaleX(1.878) scaleY(.125); border-radius: 0; }   #tallBtn.open .bar:nth-child(1)::after { transform: translateX(-9px) rotate(-45deg) scaleX(10.333) scaleY(.125); border-radius: 0; }
  body.tall .nav.open ~ #tallBtn { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }   

.side-panel-l { left: 0; right: auto; width: min(216px, 52vw); border-left: 0; border-right: 1px solid var(--line); box-shadow: 16px 0 48px rgba(0, 0, 0, .30); transform: translateX(-24px); }   
  .side-panel-l .s-title { padding-left: 60px; }   
  .tm-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-left: 4px; }   
  .tm-body::-webkit-scrollbar { display: none; }
  
  .tm-e { display: flex; align-items: center; width: 100%; height: 42px; padding: 0; background: none; border: 0; font-family: var(--font-black); font-weight: 900; font-size: 17px; letter-spacing: .16em; color: var(--fg); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  
     .tm-e::after { content: ''; flex: none; margin-left: calc(50px - .16em); width: 3px; height: 1em; background: var(--accent); clip-path: inset(0 0 100% 0); transition: clip-path .28s cubic-bezier(.32, .72, .28, 1); } 
  .tm-e:hover::after, .tm-g.open > .tm-e::after { clip-path: inset(0 0 0 0); }   
  
  .tm-kids { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s cubic-bezier(.32, .72, .28, 1); }
  .tm-g.open .tm-kids { grid-template-rows: 1fr; }
  .tm-kids-in { overflow: hidden; min-height: 0; padding: 0; opacity: 0; transition: opacity .2s ease; }
  .tm-g.open .tm-kids-in { opacity: 1; transition-duration: .26s; }
  .tm-kids-in > .tm-i:first-child { margin-top: 2px; }
  .tm-kids-in > .tm-i:last-child { margin-bottom: 8px; }
  .tm-i { display: block; width: 100%; height: 36px; padding: 0 0 0 10px; background: none; border: 0; font-family: 'HarmonyOS Sans SC', sans-serif; font-weight: 400; font-size: 16px; letter-spacing: .08em; color: var(--fg-dim); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .18s ease; }   
  .tm-i:hover { color: var(--fg); }   
  .tm-i:active { color: var(--fg); }
  .tm-i.on { color: var(--accent); }   

body.tall .nav { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; }
  @media (prefers-reduced-motion: reduce) { #tallBtn, .tm-e::after, .side-panel-l { transition-duration: .01s; } }

@media (max-width: 480px) {
    #settingsBtn, #noticeBtn { top: max(16px, env(safe-area-inset-top)); transform: scale(.82); transform-origin: center; }   
    .side-panel { padding: max(16px, env(safe-area-inset-top)) 20px 20px; }
    .s-title { font-size: 17px; letter-spacing: .16em; }   
    .s-group { margin-bottom: 16px; }
    .s-label { font-size: 10px; letter-spacing: .16em; margin-bottom: 9px; }
    .s-track { height: 34px; border-radius: 22.1px; }
    .s-thumb { border-radius: 16.9px; }
    .s-track span { font-size: 11px; letter-spacing: .1em; }
    .v-track { height: 30px; }
    .v-thumb { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
    .bg-input, .bg-pick, .bg-btn { height: 30px; font-size: 11px; }
    .bg-note, .bg-val { font-size: 10px; }
    .build-tag { font-size: 9px; }
    .access { width: 148px; height: 36px; }
    .access-face { font-size: 12px; }
      .nav { --nav-top: max(16px, env(safe-area-inset-top)); --nav-left: max(32px, env(safe-area-inset-left)); --nav-gap: 20px; }
    .side-panel-l .s-title { padding-left: 56px; }   
    .tm-body { padding-left: 12px; }   
    #tallBtn { top: max(16px, env(safe-area-inset-top)); transform: scale(.82); transform-origin: center; }   
  .sub-arrow::before { width: 9.05px; height: 9.05px; }      
       .sub-menu { --sub-gap: .75em; font-size: 16px; }   
  }

  .acct-btn-top { display: flex; align-items: center; justify-content: space-between; width: 100%; box-sizing: border-box;
    padding: 10px 14px; border: 1px solid var(--line); border-radius: 13px; background: none; color: var(--fg);
    font-family: 'HarmonyOS Sans SC', sans-serif; font-size: 13px; letter-spacing: .08em; cursor: pointer;
    -webkit-tap-highlight-color: transparent; }
  .acct-btn-top:hover { border-color: var(--accent); color: var(--accent); }
  .acct-btn-top:active { border-color: var(--accent); color: var(--accent); }
  .acct-btn-top .acct-top-state { font-size: 11px; letter-spacing: .1em; color: var(--fg-dim); }

#acctOverlay { position: fixed; left: 0; right: 0; top: 0; bottom: 0;
    z-index: 31; overflow: hidden; overscroll-behavior: contain; box-sizing: border-box;
    background-image: linear-gradient(rgba(6, 7, 10, .34), rgba(6, 7, 10, .34));
    backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass);
    color: var(--fg); font-family: 'HarmonyOS Sans SC', sans-serif;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility 0s linear .22s; }
  #acctOverlay.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .22s ease, visibility 0s; }
  
  .acct-inner { display: flex; flex-direction: column; justify-content: center; justify-content: safe center;
    box-sizing: border-box; height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
    width: min(360px, 100%); margin: 0 auto; padding: 56px 22px; }
  .acct-inner::-webkit-scrollbar { display: none; }
  
  .acct-inner > * { flex: none; }
  
  @media (hover: none), (pointer: coarse) {
    
    #acctOverlay .acct-inner { padding: 36px 20px 28px; }
    #acctOverlay .acct-head { margin-bottom: 16px; }
    #acctOverlay .acct-pill { margin-top: 12px; }
  }
  .acct-head { margin-bottom: 22px; text-align: center; }
  
  .acct-title { margin: 0; font-family: var(--font-black); font-weight: 900; font-size: 40px; letter-spacing: .14em; color: var(--fg); }
  .acct-welcome { margin: 7px 0 0; font-size: 12px; letter-spacing: .14em; color: var(--fg-dim); }
  
  .acct-pw { position: relative; margin-bottom: 10px; }
  .acct-pw .acct-input { margin-bottom: 0; padding-right: 42px; }   
  .acct-eye { position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer;
    color: var(--fg-dim); -webkit-tap-highlight-color: transparent;
    --eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
  .acct-eye[aria-pressed="true"] { --eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3.2 20.8 20.8 3.2'/%3E%3C/svg%3E"); }
  .acct-eye::before { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px;
    transform: translate(-50%, -50%); background-color: currentColor;
    -webkit-mask-image: var(--eye); mask-image: var(--eye);
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: 20px 20px; mask-size: 20px 20px; }
  .acct-eye:hover, .acct-eye:active { color: var(--accent); }
  .acct-input { width: 100%; box-sizing: border-box; height: 42px; margin-bottom: 10px; padding: 0 13px;
    border: 1px solid var(--line); border-radius: 13px; background: var(--track); color: var(--fg);
    font-family: inherit; font-size: 14px; letter-spacing: .04em; outline: none; }
  .acct-input:focus { border-color: var(--accent); }
  .acct-input::placeholder { color: var(--fg-dim); }
  .acct-remember { display: flex; align-items: center; gap: 8px; margin: 0 0 14px;
    font-size: 12px; letter-spacing: .06em; color: var(--fg-dim); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .acct-remember input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); }
  .acct-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
  
  .acct-anim { overflow: hidden; }
  .acct-fold { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
    transition: grid-template-rows .38s cubic-bezier(.32, .72, .28, 1), opacity .22s ease, visibility 0s linear .38s; }
  .acct-fold-in { overflow: hidden; min-height: 0; }
  
  #acctActs { transition: opacity .17s ease; }
  #acctActs.acct-hide { opacity: 0; }
  
  #acctActs, #acctPwActs, #acctRegPrimary { gap: 10px; }
  #acctActs > .acct-btn, #acctPwActs > .acct-btn, #acctRegPrimary > .acct-btn,
  #acctLoginRow > .acct-btn { flex: none; width: calc(50% - 5px); overflow: hidden; white-space: nowrap; }
  
  #acctMember.pw-on #acctActs { gap: 0; }
  #acctMember.pw-on #acctPwToggle { display: none; }
  #acctMember.pw-on #acctLogout { width: 100%; }
  #acctMember.pw-on #acctPw { grid-template-rows: 1fr; opacity: 1; visibility: visible;
    transition: grid-template-rows .38s cubic-bezier(.32, .72, .28, 1), opacity .26s ease .06s, visibility 0s; }
  
  #acctGuest.reg-on #acctRegFold { grid-template-rows: 1fr; opacity: 1; visibility: visible;
    transition: grid-template-rows .38s cubic-bezier(.32, .72, .28, 1), opacity .26s ease .06s, visibility 0s; }
  
  @keyframes acctIn { from { opacity: 0; transform: translateY(6px); } }
  #acctMember:not([hidden]) { animation: acctIn .32s ease both; }
  .acct-btn { flex: 1; height: 42px; border: 1px solid var(--line); border-radius: 999px; background: none;
    color: var(--fg); font-family: inherit; font-size: 14px; letter-spacing: .1em; cursor: pointer;
    -webkit-tap-highlight-color: transparent; }
  .acct-btn:hover { border-color: var(--accent); color: var(--accent); }
  .acct-btn:active { border-color: var(--accent); color: var(--accent); }
  .acct-btn[hidden] { display: none; }
  .acct-primary { border-color: var(--accent); color: var(--accent); }
  .acct-primary:hover, .acct-primary:active { border-color: var(--accent); color: var(--accent); }
  .acct-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--fg); }
  .acct-state { font-size: 11px; letter-spacing: .1em; color: var(--fg-dim); }
  
  .acct-whoami { justify-content: center; gap: 10px; }
  .acct-whoami .acct-name { flex: 0 1 auto; font-size: 16px; font-weight: 700; }
  .acct-whoami .acct-state { font-size: 16px; font-weight: 400; }
  .acct-msg { min-height: 1.4em; margin-top: 12px; text-align: center; font-size: 12px; line-height: 1.75;
    letter-spacing: .03em; color: var(--fg-dim); }
  .acct-msg.ok { color: var(--accent); }
  .acct-msg.err { color: #ff6b6b; }
  .acct-pill { display: block; width: 100%; box-sizing: border-box; height: 44px; margin-top: 18px;
    border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--fg);
    font-family: inherit; font-size: 14px; letter-spacing: .16em; cursor: pointer;
    -webkit-tap-highlight-color: transparent; }
  .acct-pill:hover { border-color: var(--accent); color: var(--accent); }
  .acct-pill:active { border-color: var(--accent); color: var(--accent); }
  @media (max-width: 480px) { .acct-inner { padding: 64px 18px 32px; } }
  
  #acctOverlay { scrollbar-width: none; }
  #acctOverlay::-webkit-scrollbar { display: none; }
  
  #uiShield { position: fixed; inset: 0; z-index: 14; background: none; pointer-events: none; }
  #uiShield.on { pointer-events: auto; }

.page-load {
    position: fixed; z-index: 12; box-sizing: border-box;
    top: max(24px, env(safe-area-inset-top));
    right: calc(max(28px, env(safe-area-inset-right)) + 168px);
    height: 44px; display: grid; align-content: center;
    
    grid-template-columns: repeat(3, 4px); grid-template-rows: repeat(3, 4px); gap: 2px;
    color: var(--fg); pointer-events: none;
    opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility 0s linear .18s;
  }
  .page-load.on { opacity: 1; visibility: visible; transition: opacity .18s ease, visibility 0s linear 0s; }
  .page-load i { width: 4px; height: 4px; border-radius: 50%; background-image: linear-gradient(currentColor, currentColor); animation: pl-dot 1.1s linear infinite; }
  .page-load i.cc { animation: none; }                        
  @keyframes pl-dot { 0% { opacity: 1; } 12.5% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 1; } }
  body.tall .page-load { right: auto; left: calc(max(28px, env(safe-area-inset-left)) + 44px); }
  @media (max-width: 480px) {
    
    .page-load { top: max(16px, env(safe-area-inset-top)); right: calc(max(28px, env(safe-area-inset-right)) + 172px); transform: scale(.82); }
    body.tall .page-load { right: auto; left: calc(max(28px, env(safe-area-inset-left)) + 40px); }
  }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
