.site-notice {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  width: 100%;
  min-height: 100px;
  margin: 0 0 22px;
  padding: 18px clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--line, #2b414a);
  border-left: 3px solid var(--accent, #20bdd7);
  border-radius: 16px;
  background: linear-gradient(105deg, color-mix(in srgb, var(--accent, #20bdd7) 9%, var(--surface, #101e25)), var(--surface, #101e25) 62%);
  color: var(--ink, #e9f2f5);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.site-notice:hover { border-color: var(--accent, #20bdd7); transform: translateY(-2px); box-shadow: 0 12px 28px #0002; }
.site-notice__icon { display: grid; place-items: center; flex: none; width: 49px; height: 49px; border: 1px solid color-mix(in srgb, var(--accent, #20bdd7) 55%, transparent); border-radius: 11px; color: var(--accent, #20bdd7); font: 700 24px/1 "Yu Mincho", serif; }
.site-notice__copy { display: grid; gap: 5px; min-width: 0; }
.site-notice__kicker { color: var(--accent, #20bdd7); font: 700 11px/1.4 ui-monospace, monospace; letter-spacing: .1em; }
.site-notice__copy strong { font-size: clamp(16px, 1.7vw, 21px); line-height: 1.3; }
.site-notice__description { color: var(--muted, #91a7b2); font-size: 12px; line-height: 1.5; }
.site-notice__arrow { flex: none; color: var(--accent, #20bdd7); font-size: 24px; line-height: 1; }
.site-notice:focus-visible, .site-guide button:focus-visible { outline: 2px solid var(--accent, #20bdd7); outline-offset: 3px; }
body.site-guide-open { overflow: hidden; }
.site-guide {
  --guide-ink: #edf5f6;
  --guide-muted: #9ab0b7;
  --guide-surface: #0d1d24;
  --guide-panel: #10252d;
  --guide-line: #2e4b55;
  --guide-accent: #66d7e7;
  position: fixed;
  inset: 0;
  z-index: 12000;
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  height: min(820px, calc(100dvh - 32px));
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--guide-line);
  border-radius: 22px;
  background: var(--guide-surface);
  color: var(--guide-ink);
  box-shadow: 0 28px 90px #0009;
  animation: site-guide-in .26s cubic-bezier(.23, 1, .32, 1) both;
}
.site-guide::backdrop { background: #020b0dbd; backdrop-filter: blur(5px); }
html[data-theme="day"] .site-guide {
  --guide-ink: #173744;
  --guide-muted: #5d7781;
  --guide-surface: #fbfdfd;
  --guide-panel: #eff6f8;
  --guide-line: #c7dfe6;
  --guide-accent: #167b96;
}
.site-guide__shell { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; }
.site-guide__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(20px, 3vw, 34px); border-bottom: 1px solid var(--guide-line); }
.site-guide__header h1 { margin: 3px 0 0; color: var(--guide-ink); font-size: clamp(21px, 2vw, 27px); line-height: 1.3; }
.site-guide__eyebrow { margin: 0; color: var(--guide-accent); font: 700 11px/1.5 ui-monospace, monospace; letter-spacing: .12em; }
.site-guide__close { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--guide-line); border-radius: 50%; background: var(--guide-panel); color: var(--guide-ink); font-size: 26px; line-height: 1; cursor: pointer; }
.site-guide__close:hover { border-color: var(--guide-accent); }
.site-guide__layout { display: grid; grid-template-columns: minmax(215px, 300px) minmax(0, 1fr); min-height: 0; }
.site-guide .branched-menu {
  --bm-ink: var(--guide-ink);
  --bm-accent: var(--guide-accent);
  --bm-line: var(--guide-line);
  --bm-muted: var(--guide-muted);
  --bm-fold: 300ms;
  --bm-draw: 400ms;
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 18px 15px 26px 29px;
  overflow: auto;
  border-right: 1px solid var(--guide-line);
  background: var(--guide-panel);
  color: var(--bm-ink);
  font-size: 14px;
  box-sizing: border-box;
  scrollbar-width: thin;
}
.site-guide .branched-menu::before { content: ''; position: absolute; top: 26px; bottom: 26px; left: 17px; width: 2px; border-radius: 2px; background: linear-gradient(var(--bm-line), var(--bm-line) 70%, transparent); }
.site-guide .branched-menu__marker { position: absolute; left: 17px; z-index: 1; width: 2px; height: 16px; border-radius: 2px; background: var(--bm-accent); opacity: 0; transition: top .22s cubic-bezier(.23, 1, .32, 1), opacity .15s; }
.site-guide .branched-menu__marker[data-on] { opacity: 1; }
.site-guide .branched-menu__section { display: flex; flex-direction: column; flex: none; }
.site-guide .branched-menu__head { display: block; flex: none; width: 100%; min-height: 39px; margin: 0; padding: 8px 0; border: 0; background: none; color: var(--bm-muted); font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.4; text-align: left; cursor: pointer; transition: color .2s; }
.site-guide .branched-menu__head:hover, .site-guide .branched-menu__section[data-open="true"] > .branched-menu__head, .site-guide .branched-menu__head[aria-current="true"] { color: var(--bm-ink); }
.site-guide .branched-menu__head[aria-current="true"] { font-weight: 700; color: var(--bm-accent); }
.site-guide .branched-menu__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--bm-fold) cubic-bezier(.23, 1, .32, 1); }
.site-guide .branched-menu__section[data-open="true"] .branched-menu__body { grid-template-rows: 1fr; }
.site-guide .branched-menu__fold { min-height: 0; overflow: hidden; }
.site-guide .branched-menu__tree { position: relative; padding: 6px 0; box-sizing: border-box; }
.site-guide .branched-menu__lines { position: absolute; top: 0; left: 0; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .2s; }
.site-guide .branched-menu__section[data-open="true"] .branched-menu__lines { opacity: 1; }
.site-guide .branched-menu__base, .site-guide .branched-menu__reach { fill: none; stroke-width: 1.5px; stroke-linecap: round; stroke-linejoin: round; }
.site-guide .branched-menu__base { stroke: var(--bm-line); }
.site-guide .branched-menu__reach { stroke: var(--bm-accent); transition: stroke-dashoffset var(--bm-draw) cubic-bezier(.23, 1, .32, 1); }
.site-guide .branched-menu__item { display: flex; align-items: center; width: 100%; height: 40px; margin: 0; padding: 0 3px 0 38px; border: 0; background: none; color: var(--bm-muted); font-family: inherit; font-size: 14px; line-height: 1.3; text-align: left; cursor: pointer; box-sizing: border-box; white-space: nowrap; transition: color .2s; }
.site-guide .branched-menu__item:hover { color: var(--bm-ink); }
.site-guide .branched-menu__item[aria-current="true"] { color: var(--bm-accent); font-weight: 700; }
.site-guide__article { min-width: 0; padding: clamp(28px, 4vw, 52px); overflow: auto; scrollbar-width: thin; }
.site-guide__article h2 { margin: 10px 0 14px; color: var(--guide-ink); font-size: clamp(26px, 3vw, 38px); line-height: 1.3; }
.site-guide__article h3 { color: var(--guide-ink); }
.site-guide__lead { max-width: 58ch; margin: 0 0 28px; color: var(--guide-muted); font-size: 15px; line-height: 1.8; }
.site-guide__note { margin: 0; color: var(--guide-muted); font-size: 14px; line-height: 1.85; }
.site-guide__steps-heading { margin: 32px 0 18px; padding-bottom: 11px; border-bottom: 1px solid var(--guide-line); font-size: 16px; }
.site-guide__steps { display: grid; gap: 16px; padding-left: 26px; color: var(--guide-ink); font-size: 15px; line-height: 1.85; }
.site-guide__steps li { padding-left: 4px; }
.site-guide__steps li::marker { color: var(--guide-accent); font-weight: 700; }
.site-guide__note { margin-top: 28px; padding: 16px 20px; border-radius: 10px; background: var(--guide-panel); }
.site-guide__note::before { content: '说明  '; color: var(--guide-accent); font-weight: 700; }
@keyframes site-guide-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 700px) {
  .site-notice { min-height: 92px; padding: 15px; gap: 12px; }
  .site-notice__icon { width: 43px; height: 43px; font-size: 21px; }
  .site-notice__description { display: none; }
  .site-notice__arrow { margin-left: auto; }
  .site-guide { inset: 0; width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .site-guide__header { padding: 16px 20px; }
  .site-guide__layout { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(180px, 40dvh) minmax(0, 1fr); }
  .site-guide .branched-menu { border-right: 0; border-bottom: 1px solid var(--guide-line); padding-top: 12px; padding-bottom: 15px; }
  .site-guide__article { padding: 26px 22px 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-notice, .site-guide, .site-guide .branched-menu__marker, .site-guide .branched-menu__body, .site-guide .branched-menu__reach { animation: none; transition: none; }
}
