:root {
  --navy: #12357a;
  --navy-2: #0c2a64;
  --teal: #0e7c86;
  --coral: #d4654a;
  --sky: #3c7fd0;
  --ink: #162844;
  --muted: #6d7d96;
  --gold: #c6a15b;
  --line: rgba(18, 53, 122, 0.1);
  --glass: rgba(255, 255, 255, 0.68);
  --shadow: 0 18px 50px rgba(18, 40, 80, 0.1);
  --sans: "PingFang SC", "Hiragino Sans GB", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", "微软雅黑", sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  background-color: #e7eef8;
  background-image:
    radial-gradient(880px 460px at 0% 0%, rgba(212, 179, 106, 0.38), transparent 58%),
    radial-gradient(760px 480px at 100% 0%, rgba(14, 124, 134, 0.22), transparent 55%),
    radial-gradient(640px 420px at 90% 100%, rgba(212, 101, 74, 0.14), transparent 50%),
    radial-gradient(700px 480px at 10% 100%, rgba(60, 127, 208, 0.16), transparent 52%),
    linear-gradient(180deg, #f3f7fd 0%, #e7f3f4 48%, #f8f1e8 100%);
  background-size: 120% 120%, 120% 120%, 120% 120%, 120% 120%, auto;
  animation: bgshift 16s ease-in-out infinite alternate;
}
@keyframes bgshift {
  from { background-position: 0% 0%, 100% 0%, 80% 100%, 0% 100%, 0 0; }
  to { background-position: 12% 8%, 88% 10%, 70% 90%, 8% 92%, 0 0; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 28px; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 6px; }
h2 { font-size: 20px; margin-bottom: 6px; }
h3 { font-size: 16px; margin-bottom: 6px; }
[hidden] { display: none !important; }
::selection { background: rgba(18, 53, 122, 0.16); }
.ico {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.18em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.planet { width: 100%; height: 100%; display: block; }
img.brand-logo { width: 100%; height: 100%; object-fit: contain; display: block; }

.topbar { position: sticky; top: 0; z-index: 40; padding: 12px 16px 0; }
.topbar-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(18, 40, 80, 0.06);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  position: relative;
}
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-mark { width: 36px; height: 36px; color: var(--navy); display: block; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-text strong { font-size: 16px; letter-spacing: 0.08em; }
.brand-text small { font-size: 9px; letter-spacing: 0.16em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { padding: 8px 14px; border-radius: 999px; color: #3d5274; font-size: 14px; font-weight: 600; }
.nav-link.on, .nav-link:hover { background: rgba(18, 53, 122, 0.08); color: var(--navy); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 28px; }
.ticker-wrap { width: min(1120px, calc(100% - 32px)); margin: 14px auto 0; }
.main .ticker-wrap { width: 100%; margin: 0 0 14px; }
.ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
.ticker-tag {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ticker-view { overflow: hidden; flex: 1; min-width: 0; }
.ticker-move { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker-move span { padding-right: 64px; white-space: nowrap; color: #243656; font-size: 13px; }
.ticker:hover .ticker-move { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: rise .45s ease both;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover, .res-card:hover, .notice-item:hover, .stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 53, 122, 0.14);
}
.feature:nth-child(1) { border-top-color: var(--navy); }
.feature:nth-child(2) { border-top-color: var(--teal); }
.feature:nth-child(3) { border-top-color: var(--gold); }
.hero-panel { background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(226, 244, 246, .78)); }
.tag-green { background: rgba(14, 124, 134, .14); color: #0c6a72; }
.kicker {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(198, 161, 91, 0.18);
  color: #8a6424;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; padding: 28px 0 8px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.18; font-weight: 700; letter-spacing: -0.03em; margin: 12px 0; }
.hero-copy > p { color: #4c5e78; font-size: 16px; max-width: 560px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero-panel { padding: 22px; }
.panel-title { display: flex; align-items: center; gap: 8px; color: var(--navy); }
.panel-title h2 { margin: 0; font-size: 20px; }
.sub { color: var(--muted); margin: 6px 0 0; font-size: 13px; }
.block { margin-top: 26px; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.block-head h2 { margin: 0; font-size: 22px; }
.grid-3, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature, .step { padding: 22px 20px 20px; border-top: 3px solid var(--gold); }
.feature-ico {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(18, 53, 122, 0.08); color: var(--navy);
  margin-bottom: 12px; font-size: 22px;
}
.feature p, .step p { color: var(--muted); margin: 0; font-size: 14px; }
.step-no {
  width: 32px; height: 32px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.stat {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  min-height: 96px;
}
.stat > div { min-width: 0; }
.stat strong { display: block; font-size: 28px; line-height: 1; letter-spacing: -0.03em; }
.stat em { display: block; margin-top: 6px; font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.3; }
.stat-ico {
  width: 52px; height: 52px; border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(18, 53, 122, 0.08); color: var(--navy); font-size: 20px;
}
.site-foot { padding: 8px 16px 36px; text-align: center; color: var(--muted); }
.foot-inner { width: min(1120px, 100%); margin: 0 auto; }
.site-foot strong { display: block; color: var(--ink); font-size: 14px; }
.site-foot p { margin: 6px 0; font-size: 13px; }
.site-foot a { color: var(--navy); font-size: 13px; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: 14px; line-height: 1; white-space: nowrap;
  background: transparent; transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(180deg, #1f7f8c 0%, #12357a 100%); color: #fff; box-shadow: 0 8px 18px rgba(18, 53, 122, 0.22); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: rgba(255, 255, 255, 0.72); border-color: rgba(18, 53, 122, 0.12); color: var(--navy); }
.btn-ghost:hover { background: #fff; }
.btn-danger { background: #9d2c24; color: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:active { transform: translateY(1px); }
.icon-btn {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); display: inline-grid; place-items: center; padding: 0;
}
.icon-btn.danger { color: #9d2c24; }
.btn:focus-visible, .icon-btn:focus-visible, .side-link:focus-visible, .nav-link:focus-visible, .chip:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; color: #5d6e88; font-weight: 650; }
.field input, .field textarea, .field select, .query-row input {
  width: 100%; height: 46px; border-radius: 14px;
  border: 1px solid rgba(18, 53, 122, 0.12);
  background: rgba(255, 255, 255, 0.88);
  padding: 0 14px; font-size: 16px; outline: none;
}
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; border-radius: 16px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus, .query-row input:focus, .search input:focus {
  border-color: rgba(18, 53, 122, 0.45);
  box-shadow: 0 0 0 4px rgba(18, 53, 122, 0.08);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%2312357a' stroke-width='1.6' stroke-linecap='round' d='M1 1.5 6 6.5 11 1.5'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.hint { color: #7b8ba3; font-size: 12px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.code-pair { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.field-send { display: flex; align-items: flex-end; }
.field-send .btn { height: 46px; padding: 0 16px; white-space: nowrap; }
.pwd { position: relative; }
.pwd input { padding-right: 46px; }
.pwd-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; background: transparent; color: #5d6e88;
  border-radius: 999px; display: grid; place-items: center;
}
.pwd-btn .eye-off { display: none; }
.pwd-btn.is-on .eye-on { display: none; }
.pwd-btn.is-on .eye-off { display: inline; }
.query-row, .search { display: flex; gap: 8px; align-items: center; }
.query-row { margin-top: 14px; background: rgba(255,255,255,.72); border-radius: 999px; padding: 6px; border: 1px solid rgba(18,53,122,.08); }
.query-row input { border: 0; background: transparent; box-shadow: none !important; height: 40px; width: auto; flex: 1; min-width: 0; }
.search {
  flex: 1; min-width: min(100%, 240px);
  background: rgba(255,255,255,.72); border-radius: 999px; padding: 6px; border: 1px solid rgba(18,53,122,.08);
}
.search input { border: 0; background: transparent; height: 36px; flex: 1; min-width: 0; font-size: 16px; outline: none; padding: 0 12px; }

.switch-field { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; position: relative; cursor: pointer; }
.switch-field input { position: absolute; opacity: 0; width: 46px; height: 28px; margin: 0; }
.switch-field em { font-style: normal; font-size: 14px; }
.switch {
  width: 46px; height: 28px; border-radius: 999px; background: #d5dce8;
  position: relative; display: inline-block; flex: 0 0 auto; transition: background .2s ease;
}
button.switch { border: 0; padding: 0; }
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(16, 35, 70, .28); transition: transform .2s ease;
}
.switch.on, .switch-field input:checked + .switch { background: var(--navy); }
.switch.on::after, .switch-field input:checked + .switch::after { transform: translateX(18px); }
.switch-field input:focus-visible + .switch { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; }
.check input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0;
  border-radius: 7px; border: 1.5px solid rgba(18, 53, 122, .28); background: #fff;
  display: grid; place-items: center;
}
.check input:checked { background: var(--navy); border-color: var(--navy); }
.check input:checked::after {
  content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
}
.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  background: rgba(18, 53, 122, .08); color: var(--navy); font-size: 12px; font-weight: 700;
}
.tag-gold { background: rgba(198, 161, 91, .18); color: #8a6420; }
.tag-green { background: rgba(14, 122, 69, .12); color: #0d6b40; }
.tag-gray { background: rgba(90, 102, 122, .12); color: #5c6b82; }
.code {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px; background: rgba(18, 53, 122, .06); color: var(--navy);
  padding: 2px 8px; border-radius: 999px; word-break: break-all;
}

.shell {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto 16px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.side {
  position: sticky; top: 16px; z-index: 30;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column;
  animation: none !important;
  transform: none;
}
.side-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.side-close { display: none; }
.side-user { display: flex; gap: 10px; align-items: center; padding: 4px 8px 12px; min-width: 0; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; flex: 0 0 auto;
}
.side-user strong { display: block; font-size: 14px; line-height: 1.3; color: var(--ink); }
.side-user small, .side-foot .copy { color: var(--muted); font-size: 12px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-link {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px;
  border-radius: 999px; color: #314763; font-weight: 650; font-size: 14px;
}
.side-link:hover { background: rgba(18, 53, 122, .08); color: #314763; }
.side-link.on, .side-link.on:hover { background: var(--navy); color: #fff; }
.side-foot { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.side .btn-ghost { background: rgba(255, 255, 255, 0.72); color: var(--navy); border-color: rgba(18, 53, 122, 0.12); }
.main { min-width: 0; padding: 0; }
.app-top { display: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.page-actions, .toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar { justify-content: space-between; margin-bottom: 12px; }
.seg {
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); max-width: 100%; overflow: auto;
}
.seg a { padding: 7px 12px; border-radius: 999px; font-size: 13px; color: #526480; font-weight: 650; white-space: nowrap; }
.seg a.on { background: var(--navy); color: #fff; }
.chips { display: flex; gap: 8px; overflow: auto; padding-bottom: 2px; margin: 0 0 12px; }
.chip {
  height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.75);
  color: #3e5270; display: inline-flex; align-items: center; font-size: 13px; font-weight: 650; flex: 0 0 auto;
}
.chip.on { background: var(--navy); color: #fff; }
.table-card { overflow: auto; padding: 6px 12px 12px; }
.table { width: 100%; border-collapse: collapse; min-width: 760px; }
.table th { text-align: left; font-size: 12px; letter-spacing: .04em; color: #70809a; font-weight: 650; padding: 12px 10px; white-space: nowrap; }
.table td { padding: 12px 10px; border-top: 1px solid rgba(18, 53, 122, .06); vertical-align: middle; font-size: 14px; }
.mini-lines { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #4d607c; }
.mini { font-size: 12px; color: var(--muted); margin-top: 4px; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.inline-form { display: inline-flex; }
.batch-float {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 45; display: flex; gap: 10px; align-items: center;
  background: rgba(255,255,255,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 999px; padding: 8px 8px 8px 16px; box-shadow: 0 12px 40px rgba(12, 32, 70, .18);
  border: 1px solid rgba(255,255,255,.9); max-width: calc(100% - 20px);
}
.batch-float strong { font-size: 13px; white-space: nowrap; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.pager a {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.8); color: var(--navy); font-weight: 700;
}
.pager a.on { background: var(--navy); color: #fff; }
.modal-mask {
  position: fixed; inset: 0; z-index: 70; background: rgba(8, 18, 40, .38);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
#confirmMask { z-index: 95; }
#shotMask { z-index: 85; }
.modal {
  width: min(680px, 100%); max-height: min(88vh, 860px); overflow: auto;
  background: rgba(255,255,255,.96); border-radius: 28px; padding: 20px 20px 16px;
  box-shadow: 0 24px 80px rgba(8, 18, 40, .28);
}
.modal-sm { width: min(440px, 100%); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.modal-head h3, .modal h3 { margin: 0 0 8px; font-size: 18px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.logo-panel { display: flex; gap: 18px; align-items: center; }
.logo-now { width: 72px; height: 72px; flex: 0 0 auto; border-radius: 20px; background: rgba(18,53,122,.06); display: grid; place-items: center; padding: 10px; }
.field input[type="file"] { height: auto; padding: 10px 12px; background: #fff; }
.section { padding: 22px; margin-bottom: 16px; }
.section-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 18px; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.savebar {
  position: sticky; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow); z-index: 5; border: 1px solid rgba(255,255,255,.9);
}
.savebar span { font-size: 13px; color: #4c5e78; }
.icon-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-opt { position: relative; }
.icon-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.icon-opt span {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid rgba(18,53,122,.12); background: #fff; color: var(--navy); font-size: 18px;
}
.icon-opt input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.icon-opt input:focus-visible + span { outline: 2px solid var(--gold); }
.alert { border-radius: 16px; padding: 12px 14px; background: rgba(157, 44, 36, .08); color: #8c241e; font-size: 14px; margin-bottom: 12px; }
.toast {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 100;
  min-width: 220px; max-width: min(92vw, 460px); padding: 12px 16px; border-radius: 999px;
  background: rgba(18, 53, 122, .94); color: #fff; text-align: center;
  box-shadow: 0 12px 30px rgba(10, 20, 40, .2); transition: opacity .3s ease;
}
.toast.err { background: rgba(141, 29, 22, .95); }
.toast.ok { background: rgba(14, 92, 58, .95); }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty-ico {
  width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 18px;
  display: grid; place-items: center; background: rgba(18,53,122,.06); color: var(--navy); font-size: 24px;
}
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.res-card { padding: 16px; display: flex; gap: 12px; }
.res-card.is-rec { box-shadow: inset 0 0 0 1.5px rgba(198, 161, 91, .75), var(--shadow); }
.res-ico {
  width: 46px; height: 46px; border-radius: 16px; flex: 0 0 auto;
  display: grid; place-items: center; background: rgba(18,53,122,.08); color: var(--navy); font-size: 20px;
}
.res-main { min-width: 0; flex: 1; }
.res-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.res-main h3 { margin: 8px 0 6px; }
.res-main p {
  margin: 0 0 12px; color: var(--muted); font-size: 13px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.res-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.res-foot time { color: var(--muted); font-size: 12px; }
.res-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.notice-list { display: flex; flex-direction: column; gap: 12px; }
.notice-item { padding: 18px; }
.notice-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.notice-item time { color: var(--muted); font-size: 12px; }
.notice-body { margin-top: 8px; }
.cert-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; margin-bottom: 16px; }
.login-wrap { max-width: 460px; margin: 28px auto 10px; }
.auth-card { padding: 26px 22px; }
.auth-card .brand { margin-bottom: 8px; }
body.modal-open, body.nav-open { overflow: hidden; }
body.mode-blank { min-height: 100vh; display: flex; flex-direction: column; }
.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px 8px; }
.auth-card { width: min(440px, 100%); }
.auth-copy { text-align: center; color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.todo { margin: 0; padding-left: 18px; }
.todo li { margin: 8px 0; }
.todo a { color: var(--navy); font-weight: 700; }
.result { margin-top: 14px; border-top: 1px solid var(--line); }
.result-item { padding: 14px 0 4px; }
.result-item + .result-item { border-top: 1px solid var(--line); }
.result-name { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.result-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.history p { margin: 0 0 6px; color: #3e5270; font-size: 14px; }
#shotImg { width: 100%; border-radius: 16px; display: block; background: #0c316f; }

.cert-fit { width: min(900px, 100%); margin: 0 auto; position: relative; overflow: hidden; }
.cert {
  position: absolute; left: 0; top: 0; transform-origin: top left;
  border-radius: 22px; padding: 16px; box-sizing: border-box;
  background-color: #0c316f;
  background-image: linear-gradient(165deg, #1c4e9d 0%, #0c316f 42%, #071c48 100%);
  color: #14357a;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.cert-goldline {
  height: 100%; border: 1.5px solid #d7b56a; border-radius: 12px; padding: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 190, .28);
}
.cert-paper {
  position: relative; height: 100%; border-radius: 8px; overflow: hidden;
  background-color: #f7f8fb;
  background-image: radial-gradient(120% 80% at 50% 0%, #ffffff 0%, #f6f8fc 58%, #eef3fa 100%);
}
.ornament { position: absolute; width: 72px; height: 72px; z-index: 2; pointer-events: none; }
.ornament.tl { top: 2px; left: 2px; }
.ornament.tr { top: 2px; right: 2px; transform: scaleX(-1); }
.corner-svg { width: 100%; height: 100%; display: block; }
.rings { position: absolute; width: 180px; height: 280px; top: 30%; z-index: 1; pointer-events: none; }
.rings-l { left: -8px; }
.rings-r { right: -8px; transform: scaleX(-1); }
.cert-mount, .cert-wave { position: absolute; left: 0; width: 100%; pointer-events: none; }
.cert-mount { bottom: 0; height: 300px; z-index: 1; }
.cert-wave { bottom: 0; height: 148px; z-index: 2; }
.cert-no {
  position: absolute; top: 16px; right: 84px; z-index: 8;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  background: rgba(247, 248, 251, .94); border-radius: 999px; padding: 4px 10px;
}
.cert-main { position: relative; z-index: 4; padding: 46px 54px 0; text-align: center; }
.cert-brand { display: flex; align-items: center; justify-content: center; gap: 12px; }
.cert-mark { width: 58px; height: 58px; color: #14357a; display: block; }
.cert-brand-text { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.cert-brand-text strong { font-size: 34px; letter-spacing: .12em; font-weight: 800; }
.cert-brand-text small { margin-top: 7px; font-size: 11px; letter-spacing: .28em; font-weight: 650; margin-left: .28em; }
.cert-title {
  margin: 26px 0 0; font-size: 58px; line-height: 1.05; font-weight: 800;
  letter-spacing: .14em; padding-left: .14em; color: #14357a;
}
.cert-en {
  margin-top: 12px; font-size: 13px; font-weight: 650; letter-spacing: .34em;
  padding-left: .34em; color: #14357a;
}
.cert-rule { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.dia { width: 5px; height: 5px; background: #1d4088; transform: rotate(45deg); display: block; }
.dia.lg { width: 8px; height: 8px; }
.ln { width: 92px; height: 1.5px; background: #1d4088; display: block; }
.cert-prove { margin-top: 26px; font-size: 22px; letter-spacing: .9em; padding-left: .9em; font-weight: 650; color: #1a3d80; }
.cert-student { margin-top: 18px; display: flex; justify-content: center; align-items: flex-end; gap: 10px; font-size: 28px; font-weight: 800; }
.cert-student strong { min-width: 180px; max-width: 420px; border-bottom: 1.5px solid #1d4088; padding: 0 16px 2px; line-height: 1.2; font-weight: 800; }
.cert-body { margin: 20px auto 0; max-width: 640px; font-size: 16px; line-height: 2; font-weight: 550; color: #243f78; }
.cert-pill-wrap { margin-top: 20px; }
.cert-pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 86%;
  border: 1.5px solid #1d4088; border-radius: 999px; padding: 8px 18px;
  font-weight: 700; font-size: 16px; background: rgba(255,255,255,.45);
}
.cert-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: #1d4088; display: block; }
.cert-qrbox { position: absolute; left: 28px; bottom: 214px; z-index: 8; width: 86px; text-align: center; background: rgba(247,248,251,.92); border-radius: 12px; padding: 4px 4px 2px; }
.cert-qr {
  width: 84px; height: 84px; margin: 0 auto; background: #fff; border-radius: 10px; padding: 4px;
  border: 1px solid rgba(20, 53, 122, .16);
}
.cert-qr canvas, .cert-qr img, .cert-qr svg { width: 100% !important; height: 100% !important; display: block; }
.cert-qr-label { margin-top: 4px; font-size: 10px; letter-spacing: .14em; font-weight: 700; }
.cert-foot {
  position: absolute; left: 124px; right: 28px; bottom: 176px; z-index: 8;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
.cert-slogan, .cert-sign { background: rgba(247, 248, 251, .92); border-radius: 12px; padding: 6px 8px; }
.cert-slogan { font-size: 13px; line-height: 1.7; font-weight: 700; max-width: 240px; text-align: left; }
.cert-sign { text-align: right; max-width: 200px; margin-left: auto; }
.cert-sign .who { font-size: 16px; font-weight: 800; }
.cert-sign .date { margin-top: 4px; font-size: 14px; font-weight: 650; }
.cert-sign .clock { font-size: 13px; font-weight: 650; letter-spacing: .04em; }
.seal-wrap { position: absolute; left: 50%; bottom: 0; width: 168px; height: 210px; transform: translateX(-50%); z-index: 3; pointer-events: none; }
.seal-ribbons { position: absolute; left: 0; top: 0; width: 168px; height: 210px; }
.seal-coin {
  width: 128px; height: 128px; margin: 0 auto; position: relative; z-index: 1; border-radius: 50%;
  background-color: #e2b656;
  background-image: radial-gradient(circle at 35% 30%, #fff6d8 0%, #f0d48a 32%, #e0b44c 58%, #c4923a 100%);
  box-shadow: 0 10px 18px rgba(90, 60, 16, .18);
}
.seal-beads, .seal-laurels { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-inner {
  position: absolute; inset: 16px; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: #6b4c16;
}
.seal-mark { width: 28px; height: 28px; color: #6d4e16; }
.seal-name { margin-top: 2px; font-weight: 800; letter-spacing: .08em; line-height: 1.1; }
.seal-en { margin-top: 3px; letter-spacing: .12em; font-weight: 700; }
.seal-star { width: 14px; height: 14px; margin-top: 3px; }
.cert-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 16px 0 8px; }
.cert-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 0; }

@media (min-width: 760px) { .modal-mask { align-items: center; } }
@media (min-width: 981px) { body { background-attachment: fixed; } }
@media (max-width: 900px) {
  .app-top {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    position: sticky; top: 0; z-index: 40; padding: 10px 12px;
    padding-top: calc(10px + env(safe-area-inset-top));
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    color: var(--ink);
  }
  .app-top .brand-text strong { color: var(--ink); }
  .app-top .icon-btn { background: #fff; color: var(--navy); border-color: var(--line); }
  .shell { grid-template-columns: 1fr; width: min(1180px, calc(100% - 20px)); margin-top: 12px; }
  .side {
    position: fixed; z-index: 80; left: 12px; top: 12px; bottom: 12px;
    width: min(300px, calc(100vw - 24px)); overflow: auto;
    transform: translate3d(-130%, 0, 0); transition: transform .25s ease;
    border-radius: 28px;
  }
  .side.on { transform: translate3d(0, 0, 0); }
  .side-close { display: inline-grid; background: #fff; color: var(--navy); }
  .side-mask { position: fixed; inset: 0; background: rgba(8, 18, 40, .35); z-index: 70; }
}
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.stat-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .hero, .grid-3, .steps, .split, .logo-panel { grid-template-columns: 1fr; }
  .stat-grid, .stat-grid.four { grid-template-columns: 1fr 1fr; }
  .stat-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .logo-panel { display: grid; }
}
@media (max-width: 560px) {
  .stat-grid, .stat-grid.four { grid-template-columns: 1fr; }
  .stat-grid > :last-child:nth-child(odd) { grid-column: auto; }
  .hero h1 { font-size: 32px; }
  .query-row { border-radius: 22px; flex-wrap: wrap; }
  .query-row .btn { width: 100%; }
}
@media (min-width: 861px) {
  .nav-toggle { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 8px; margin: 0;
    border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: var(--shadow);
  }
  .nav.on { display: flex; }
}
@media (max-width: 1100px) {
  .table-card { background: transparent; box-shadow: none; border: 0; padding: 0; overflow: visible; backdrop-filter: none; }
  .table { min-width: 0; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr {
    background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.92);
    border-radius: 22px; margin-bottom: 12px; padding: 8px 14px 12px;
    box-shadow: 0 8px 24px rgba(20, 40, 80, .05);
  }
  .table td {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    border: 0; padding: 8px 0;
  }
  .table td::before { content: attr(data-label); color: #7b8ba3; font-size: 12px; flex: 0 0 auto; }
  .table td.td-check::before, .table td.td-full::before { content: none; }
  .table td.td-full { display: block; text-align: center; }
  .empty-row { background: transparent !important; box-shadow: none !important; border: 0 !important; }
}
@media (max-width: 720px) {
  .page-head { align-items: stretch; }
  .page-actions, .page-actions .btn { width: 100%; }
  .cert-cta, .savebar { flex-direction: column; align-items: stretch; border-radius: 24px; }
  .form-grid, .code-pair { grid-template-columns: 1fr; }
  .field-send .btn { width: 100%; }
  .hero { padding-top: 16px; }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .wrap, .ticker-wrap { width: calc(100% - 20px); }
}
@media (max-width: 900px) {
  body.mode-admin, body.mode-member { overflow-x: hidden; }
  .page-head, .toolbar, .search, .seg { width: 100%; max-width: 100%; }
  .seg { overflow-x: auto; }
  .batch-float { width: calc(100% - 16px); flex-wrap: wrap; justify-content: center; border-radius: 20px; }
  .modal { width: 100%; }
  .table td { flex-wrap: wrap; }
  .row-actions { width: 100%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-move { animation: none; }
  .btn, .side, .switch::after { transition: none; }
}
@media print {
  body { background: #fff !important; }
  .no-print, .app-top, .side, .side-mask, .ticker-wrap, .cert-actions, .toast, .batch-float, .topbar, .site-foot, .page-head, .history { display: none !important; }
  .shell, .main, .wrap { display: block; width: auto; margin: 0; }
  .cert { position: relative !important; transform: none !important; }
  .cert-fit { height: auto !important; overflow: visible !important; width: 900px; }
}
