@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700&family=Share+Tech+Mono&family=Noto+Sans+SC:wght@400;600;700&display=swap");

:root {
  --bg: #0a0b10;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e6edf5;
  --muted: #95a0b0;
  --accent: #ff4d4f;
  --accent-2: #ff8b8d;
  --surface: rgba(16, 18, 24, 0.82);
  --font-ui: "Orbitron", "Noto Sans SC", "PingFang SC", "Helvetica Neue", sans-serif;
  --font-mono: "Share Tech Mono", "SFMono-Regular", "Menlo", monospace;
  --font-body: "Noto Sans SC", "PingFang SC", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1400px 700px at 10% -10%, rgba(255,77,79,.18), transparent 55%),
    radial-gradient(900px 500px at 105% 0%, rgba(255,77,79,.12), transparent 60%),
    linear-gradient(180deg, #0a0b10 0%, #0f1117 100%);
}
html, body {
  background-color: #0a0b10;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body::before {
  background:
    radial-gradient(520px 520px at 12% 20%, rgba(255,77,79,0.18), transparent 70%),
    radial-gradient(420px 420px at 85% 15%, rgba(255,77,79,0.14), transparent 75%);
}
body::after {
  background:
    radial-gradient(680px 520px at 70% 85%, rgba(255,77,79,0.1), transparent 70%);
  opacity: 0.9;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4,
.primary-btn, .download-btn, .ghost-btn,
.download-row .os, .download-row .action {
  font-family: var(--font-ui);
}


.container { width: min(1120px, 92vw); margin: 0 auto; }
.header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px 0;
}
.header-slim {
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.top-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 13px;
}
.top-nav a {
  text-decoration: none;
  color: #d5dbe6;
  padding: 6px 10px;
  border-radius: 999px;
  transition: .2s ease;
}
.top-nav a:hover {
  background: rgba(255,77,79,.16);
}
.page-recharge .header {
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.page-admin {
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(255,77,79,.18), transparent 52%),
    radial-gradient(900px 500px at 110% 10%, rgba(255,77,79,.12), transparent 55%),
    linear-gradient(180deg, #090a0c 0%, #0d0e11 100%);
  color: #e2e8f0;
}
.page-admin .bg-grid {
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
}
.page-admin .orb-1 { background: rgba(255, 77, 79, .22); }
.page-admin .orb-2 { background: rgba(255, 120, 122, .18); }
.brand { display: flex; gap: 12px; align-items: center; }
.logo { width: 52px; height: 52px; filter: drop-shadow(0 10px 20px rgba(255,77,79,.25)); }
.brand h1 { margin: 0; font-size: 20px; }
.brand p { margin: 2px 0 0; color: var(--muted); font-size: 12px; letter-spacing: 0.02em; }

.hero { margin-top: 22px; }
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-height: 60vh;
  justify-content: center;
}
.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.download-card {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(15, 17, 24, 0.86);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.download-meta {
  font-size: 12px;
  color: var(--muted);
}
.hero h2 { margin: 0; font-size: clamp(28px, 4.5vw, 42px); }
.hero-actions { margin-top: 10px; display: flex; gap: 10px; }
.tip { margin-top: 12px; font-size: 12px; }
.hero-mascot {
  width: 292px;
  height: 292px;
  margin: 4px 0 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mascot-bounce 2.2s ease-in-out infinite;
}
.hero-mascot-fatclaw {
  isolation: isolate;
}
.hero-mascot-glow {
  position: absolute;
  inset: 30px;
  border-radius: 999px;
  background: rgba(255, 77, 79, 0.18);
  filter: blur(28px);
}
.hero-mascot-shell {
  position: relative;
  width: 124px;
  height: 124px;
  animation: mascot-shell-drift 4.4s ease-in-out infinite;
  border-radius: 999px;
  background: #ff4d4f;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 42px rgba(255, 77, 79, .38);
  z-index: 1;
}
.hero-mascot-antennae {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
}
.hero-mascot-antenna {
  position: relative;
  width: 6px;
  height: 24px;
  border-radius: 999px;
  background: #ff4d4f;
  transform-origin: bottom center;
}
.hero-mascot-antenna.left { transform: rotate(-35deg); }
.hero-mascot-antenna.right { transform: rotate(35deg); }
.hero-mascot-antenna span {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  line-height: 1;
  color: rgba(255, 191, 192, 0.9);
  letter-spacing: -1px;
  animation: signal-left 1.6s infinite;
}
.hero-mascot-antenna.right span { animation-name: signal-right; }
.hero-mascot-eyes {
  display: flex;
  gap: 26px;
  margin-bottom: 10px;
}
.hero-mascot-eyes span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #0a0b0d;
  position: relative;
}
.hero-mascot-eyes span::after {
  content: "";
  position: absolute;
  top: 1.5px;
  right: 1.5px;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
}
.hero-mascot-mouth {
  width: 18px;
  height: 5px;
  border-radius: 999px;
  background: rgba(10,11,13,.82);
  opacity: .58;
  animation: mascot-mouth-talk 1.6s ease-in-out infinite;
}
.hero-mascot-hand {
  position: absolute;
  top: 45%;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ff4d4f;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 18px rgba(255, 77, 79, .16);
}
.hero-mascot-hand.left {
  left: -10px;
  animation: mascot-hand-left 2.2s ease-in-out infinite;
  transform: translateY(-50%);
}
.hero-mascot-hand.right {
  right: -10px;
  animation: mascot-hand-right 2.2s ease-in-out infinite;
  transform: translateY(-50%);
}
.hero-mascot-feet {
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
}
.hero-mascot-feet span {
  width: 9px;
  height: 18px;
  border-radius: 2px;
  background: #ff4d4f;
}
.hero-mascot-speech {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  max-width: 280px;
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(15, 17, 24, 0.9);
  border: 1px solid rgba(255, 77, 79, 0.28);
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  backdrop-filter: blur(10px);
  animation: mascot-speech-bob 3.6s ease-in-out infinite;
}
.hero-mascot-speech::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(15, 17, 24, 0.9);
  border-right: 1px solid rgba(255, 77, 79, 0.28);
  border-bottom: 1px solid rgba(255, 77, 79, 0.28);
}

.mascot-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255, 77, 79, .22);
  filter: blur(24px);
}
.mascot-body {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: #ff4d4f;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 36px rgba(255, 77, 79, .4);
}
.mascot-antenna-group {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 26px;
}
.mascot-antenna {
  position: relative;
  width: 7px;
  height: 22px;
  border-radius: 999px;
  background: #ff4d4f;
}
.antenna-left { transform: rotate(-35deg); }
.antenna-right { transform: rotate(35deg); }
.signal {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: rgba(255, 191, 192, 0.9);
  font-family: var(--font-ui);
  animation: signal-left 1.6s infinite;
}
.signal-right { animation-name: signal-right; }
.mascot-eyes {
  display: flex;
  gap: 20px;
  margin-bottom: 6px;
}
.mascot-eyes span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0a0b0d;
  position: relative;
}
.mascot-eyes span::after {
  content: "";
  position: absolute;
  top: 1.5px;
  right: 1.5px;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
}
.mascot-mouth {
  width: 14px;
  height: 4px;
  border-radius: 999px;
  background: rgba(10,11,13,.78);
  margin-top: 2px;
  animation: mouth-talk 0.15s infinite ease-in-out;
}
.mascot-hand {
  position: absolute;
  top: 50px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ff4d4f;
  border: 1px solid rgba(255,255,255,.06);
}
.hand-left { left: -10px; }
.hand-right { right: -10px; }
.mascot-feet {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
}
.mascot-feet span {
  width: 8px;
  height: 18px;
  border-radius: 2px;
  background: #ff4d4f;
}
.download-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.channel-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.channel-switch.compact {
  margin-bottom: 0;
}
.channel-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255,255,255,.05);
  color: #d5dbe6;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: .2s ease;
}
.compact-btn {
  padding: 6px 10px;
  font-size: 12px;
}
.channel-chip:hover {
  border-color: rgba(255, 77, 79, 0.55);
}
.channel-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.channel-status {
  color: var(--muted);
  font-size: 13px;
}
.download-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: .2s ease;
}
.download-row:hover {
  background: rgba(255,255,255,.96);
  transform: translateY(-1px);
}
.download-row .os {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #262a33;
}
.os-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.os-icon.apple { font-size: 16px; }
.download-row .meta {
  color: var(--muted);
  font-size: 14px;
}
.download-row .action {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

#typing-slogan {
  display: inline-block;
  margin-left: 10px;
  color: var(--accent);
  border-right: 2px solid rgba(255,77,79,.7);
  padding-right: 6px;
  min-width: 7ch;
  text-align: left;
  animation: typing-cursor .9s step-end infinite;
}
#showcase-typing {
  display: inline-block;
  color: #f7fafc;
  border-right: 2px solid rgba(255,77,79,.9);
  padding-right: 6px;
  animation: typing-cursor .9s step-end infinite;
}
.hero-card,
.card,
.release-box,
.highlight {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px rgba(255, 77, 79, 0.08);
}
.hero-card h3 { margin: 0; }
.hero-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.hero-card li { margin-bottom: 8px; }

.section { margin-top: 34px; }
.section h3 { margin: 0 0 14px; font-size: 22px; }

.section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.terminal-section {
  margin-top: 42px;
  margin-bottom: 40px;
}
.terminal-card {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(9, 10, 14, 0.92);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(226, 232, 240, 0.6);
}
.terminal-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.terminal-bar .red { background: #ff5f57; }
.terminal-bar .yellow { background: #febc2e; }
.terminal-bar .green { background: #28c840; }
.terminal-title { margin-left: 6px; }
.terminal-body {
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: #e2e8f0;
  max-height: 420px;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.terminal-line {
  margin-bottom: 6px;
}
.terminal-line .prompt {
  color: #fca5a5;
}
.terminal-line .cmd {
  color: #fef2f2;
}
.terminal-line.muted {
  color: rgba(226, 232, 240, 0.6);
}
.terminal-line.ok {
  color: #86efac;
}
.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  margin-left: 4px;
  background: rgba(255, 77, 79, 0.85);
  animation: cursor-blink 1s step-end infinite;
  vertical-align: -2px;
}
.typewriter-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.showcase-section {
  margin-top: 24px;
  margin-bottom: 22px;
}
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
  background: rgba(12, 13, 18, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.showcase-copy h3 {
  margin: 0 0 10px;
  font-size: 24px;
}
.showcase-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.showcase-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(9, 10, 14, 0.92);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  padding: 10px;
  backdrop-filter: blur(8px);
}
.frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.frame-boot {
  transform: rotate(-2deg);
}
.frame-features {
  transform: rotate(2deg);
}
.frame-agent {
  transform: rotate(-1.5deg);
}
.frame-channel {
  transform: rotate(1.5deg);
}

@media (max-width: 980px) {
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase-stage {
    grid-template-columns: 1fr;
  }
}

.primary-btn,
.download-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}
.primary-btn,
.download-btn {
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border: 1px solid transparent;
  box-shadow: 0 10px 26px rgba(255, 77, 79, 0.28);
}
.primary-btn:hover,
.download-btn:hover { background: #ff5f61; }

.ghost-btn {
  color: #d5dbe6;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 9px 13px;
  background: rgba(255,255,255,.04);
}
.ghost-btn:hover { background: rgba(255,255,255,.12); }

.footer {
  padding: 34px 0;
  color: rgba(226, 232, 240, 0.6);
  font-size: 13px;
  text-align: center;
}
.icp {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.45);
}
.page-admin .footer {
  color: rgba(226, 232, 240, 0.6);
}
.footer-links {
  margin: 6px 0 0;
}
.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover { text-decoration: underline; }

.recharge-hero .recharge-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.page-recharge { font-size: 13px; }
.page-recharge .recharge-card ul { font-size: 12px; }
.recharge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.qr-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qr-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 77, 79, 0.12);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}
.qr-image {
  width: min(180px, 52vw);
  height: auto;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(255, 77, 79, 0.12);
}
.qr-note {
  color: var(--muted);
  font-size: 11px;
}
.demo-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
}
.demo-card h3 {
  margin: 0;
  font-size: 18px;
}
.demo-image {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 26px rgba(255, 77, 79, 0.12);
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.contact-text {
  margin: 0;
  color: var(--muted);
}
.contact-image {
  width: min(180px, 55vw);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 26px rgba(255, 77, 79, 0.12);
}
.page-recharge .faq-card {
  font-size: 13px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
}
.admin-header .brand h1 {
  font-size: 22px;
  margin: 0;
}
.admin-header .brand p {
  margin: 3px 0 0;
  color: rgba(226, 232, 240, 0.7);
}
.admin-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.page-admin .ghost-btn {
  color: #e2e8f0;
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
}
.page-admin .ghost-btn:hover {
  background: rgba(255,255,255,.12);
}
.page-admin .container {
  width: min(1440px, 90vw);
}
.admin-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}
.admin-card {
  background: rgba(13, 14, 17, 0.86);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  color: #e2e8f0;
}
.page-admin h1,
.page-admin h2,
.page-admin h3 {
  font-family: var(--font-ui);
}
.admin-form,
.filters {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.7);
  font-family: var(--font-ui);
}
.form-field input,
.form-field textarea,
.form-field select {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #e2e8f0;
  padding: 10px 12px;
  font-family: var(--font-body);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(226, 232, 240, 0.4);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-status {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.6);
}
.admin-status[data-tone=\"ok\"] { color: #86efac; }
.admin-status[data-tone=\"warn\"] { color: #fde68a; }
.admin-status[data-tone=\"error\"] { color: #fca5a5; }
.admin-status[data-tone=\"info\"] { color: #93c5fd; }
.admin-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}
.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.detail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-actions .ghost-btn {
  padding: 6px 10px;
  font-size: 11px;
}
.filter-actions .ghost-btn.is-active {
  border-color: rgba(255,77,79,.6);
  color: #ffb4b5;
  box-shadow: 0 0 12px rgba(255,77,79,.25);
}
.admin-section-header h3 {
  margin: 0;
  font-size: 18px;
}
.admin-warning {
  font-size: 12px;
  color: #fca5a5;
  font-family: var(--font-ui);
}
.admin-table {
  display: grid;
  gap: 6px;
}
.table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 0.8fr 1.2fr 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: #e2e8f0;
  font-size: 12px;
  text-align: left;
}
.table-header {
  background: rgba(255,255,255,.08);
  font-weight: 700;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table-row:hover {
  border-color: rgba(255,77,79,.45);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.admin-detail {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.detail-preview {
  position: relative;
  min-height: 200px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.detail-preview img {
  width: 100%;
  height: auto;
  display: none;
}
.placeholder {
  color: rgba(226, 232, 240, 0.5);
  font-size: 12px;
}
.detail-meta {
  display: grid;
  gap: 8px;
}
.meta-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  padding-bottom: 6px;
}
.meta-label {
  color: rgba(226, 232, 240, 0.6);
  font-family: var(--font-ui);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
  width: 112px;
  flex-shrink: 0;
}
.meta-value {
  color: #e2e8f0;
  text-align: left;
  font-family: var(--font-mono);
  flex: 1;
  min-width: 0;
  word-break: break-all;
}
.code-block {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  max-height: 240px;
  overflow: auto;
}
.actions-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 14px;
}
.form-full {
  grid-column: 1 / -1;
}
.page-admin .primary-btn {
  background: #ff4d4f;
}
.page-admin .primary-btn:hover {
  background: #ff5f61;
}

@media (max-width: 980px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-detail {
    grid-template-columns: 1fr;
  }
}
.faq-card .faq {
  display: grid;
  gap: 6px;
}
.faq-q {
  font-weight: 700;
  margin: 8px 0 0;
}
.faq-a {
  margin: 0;
  color: var(--muted);
}

@keyframes mascot-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-14px); }
  65% { transform: translateY(-4px); }
}
@keyframes typing-cursor {
  0%, 50% { border-color: rgba(255,77,79,.75); }
  51%, 100% { border-color: transparent; }
}
@keyframes mouth-talk {
  0%, 100% { transform: scaleX(1) scaleY(1); opacity: 0.85; }
  50% { transform: scaleX(1.1) scaleY(1.3); opacity: 1; }
}
@keyframes signal-left {
  0%, 100% { opacity: 0; transform: translate(-50%, 0); }
  10%, 40% { opacity: 1; transform: translate(-50%, -4px); }
  50% { opacity: 0; transform: translate(-50%, -8px); }
}
@keyframes signal-right {
  0%, 50%, 100% { opacity: 0; transform: translate(-50%, 0); }
  60%, 90% { opacity: 1; transform: translate(-50%, -4px); }
  95% { opacity: 0; transform: translate(-50%, -8px); }
}

@media (max-width: 900px) {
  .hero-mascot { width: 180px; height: 180px; }
  .mascot-body { width: 92px; height: 92px; }
  .mascot-eyes { gap: 18px; }
  #typing-slogan { margin-left: 6px; }
  .hero-center { min-height: 48vh; }
  .channel-status {
    width: 100%;
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal.is-open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.7);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  width: min(520px, 92vw);
  background: rgba(12, 14, 20, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  z-index: 1;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.modal-header h3 {
  margin: 0;
  font-size: 18px;
}
.modal-body {
  display: grid;
  gap: 10px;
}
.modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  color: #e2e8f0;
  transition: .2s ease;
}
.modal-row:hover {
  border-color: rgba(255,77,79,0.55);
  background: rgba(255,255,255,0.08);
}
.modal-row .label {
  font-family: var(--font-ui);
  font-size: 13px;
}
.modal-row .value {
  color: var(--muted);
  font-size: 12px;
}


.recharge-hero-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.recharge-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 77, 79, 0.12);
  color: #ffd1d1;
  font-size: 12px;
  font-family: var(--font-ui);
}
.recharge-hero-card h2 {
  margin: 0;
  font-size: 24px;
}
.recharge-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.recharge-steps {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.recharge-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.recharge-step b {
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 999px;
  background: rgba(255,77,79,.18);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 13px;
  flex: none;
}
.recharge-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.recharge-step span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.recharge-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.simple-card h3, .compact-contact-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.simple-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.compact-contact-card {
  gap: 8px;
}
.compact-contact-card .contact-image {
  width: min(150px, 50vw);
}


.page-recharge h1 { font-size: 20px; }
.page-recharge .brand p,
.page-recharge .recharge-lead,
.page-recharge .contact-text,
.page-recharge .simple-card p,
.page-recharge .recharge-step span,
.page-recharge .qr-note,
.page-recharge .icp { font-size: 12px; }
.page-recharge h2 { font-size: 20px; }
.page-recharge h3,
.page-recharge .demo-card h3,
.page-recharge .simple-card h3,
.page-recharge .compact-contact-card h3,
.page-recharge .recharge-step strong { font-size: 17px; }
.page-recharge p,
.page-recharge li,
.page-recharge .faq-card,
.page-recharge .recharge-step,
.page-recharge .ghost-btn,
.page-recharge .qr-badge,
.page-recharge .footer { font-size: 14px; }
.page-recharge .recharge-pill,
.page-recharge .meta-label,
.page-recharge .brand span { font-size: 12px; }


.page-recharge-lite {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(255,77,79,.18), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(255,77,79,.10), transparent 60%),
    linear-gradient(180deg, #faf7f2 0%, #f3eee6 100%);
  color: #1e2329;
}
.page-recharge-lite .wrap {
  width: min(860px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}
.page-recharge-lite .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.page-recharge-lite .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.page-recharge-lite .brand img { width: 42px; height: 42px; }
.page-recharge-lite .brand strong { display: block; font-size: 14px; }
.page-recharge-lite .brand span { display: block; font-size: 12px; color: #5d6773; }
.page-recharge-lite .back { text-decoration: none; color: #c93539; font-weight: 700; font-size: 14px; }
.page-recharge-lite .hero,
.page-recharge-lite .section {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(30,35,41,0.08);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(21,21,24,0.06);
  backdrop-filter: blur(14px);
}
.page-recharge-lite .hero { padding: 26px; }
.page-recharge-lite .section { margin-top: 24px; padding: 24px; }
.page-recharge-lite .badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(229,72,77,0.1);
  color: #c93539;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.page-recharge-lite h1 { margin: 14px 0; font-size: 20px; line-height: 1.24; letter-spacing: -0.03em; }
.page-recharge-lite h2 { margin: 0 0 16px; font-size: 20px; line-height: 1.24; }
.page-recharge-lite h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.38; }
.page-recharge-lite p,
.page-recharge-lite li,
.page-recharge-lite .simple-card,
.page-recharge-lite .story-card { font-size: 14px; }
.page-recharge-lite .lead,
.page-recharge-lite .mini-note,
.page-recharge-lite .contact-text,
.page-recharge-lite .icp,
.page-recharge-lite .brand span { font-size: 12px; color: #5d6773; }
.page-recharge-lite .story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.page-recharge-lite .story-card,
.page-recharge-lite .simple-card,
.page-recharge-lite .contact-card {
  border: 1px solid rgba(30,35,41,0.08);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.82);
}
.page-recharge-lite .story-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.page-recharge-lite .story-strip img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(30,35,41,0.08);
  background: #fff;
}
.page-recharge-lite .recharge-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.page-recharge-lite .recharge-contact-card {
  align-items: center;
  text-align: center;
}
.page-recharge-lite .recharge-contact-card .contact-image {
  width: min(150px, 50vw);
  border-radius: 12px;
  border: 1px solid rgba(30,35,41,0.08);
  background: #fff;
}
.page-recharge-lite .footer {
  padding: 34px 0 0;
  color: rgba(30,35,41,0.64);
  font-size: 14px;
  text-align: center;
}
@media (max-width: 760px) {
  .page-recharge-lite .wrap { width: min(100vw - 20px, 860px); padding-top: 14px; }
  .page-recharge-lite .story-grid,
  .page-recharge-lite .recharge-grid-compact,
  .page-recharge-lite .story-strip { grid-template-columns: 1fr; }
  .page-recharge-lite .hero,
  .page-recharge-lite .section { padding: 18px; border-radius: 20px; }
}


.page-recharge-lite .recharge-step-stack {
  display: grid;
  gap: 14px;
}
.page-recharge-lite .recharge-step-card {
  border: 1px solid rgba(30,35,41,0.08);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.82);
}
.page-recharge-lite .highlight-step-card {
  background: linear-gradient(180deg, rgba(255,248,246,0.96), rgba(255,255,255,0.92));
  box-shadow: 0 14px 28px rgba(229,72,77,0.08);
}
.page-recharge-lite .recharge-step-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.page-recharge-lite .recharge-step-no {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(229,72,77,0.14);
  color: #c93539;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  flex: none;
}
.page-recharge-lite .recharge-step-heading strong {
  font-size: 17px;
}
.page-recharge-lite .recharge-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.page-recharge-lite .recharge-path-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(30,35,41,0.08);
  background: rgba(255,255,255,0.74);
}
.page-recharge-lite .recharge-path-card b {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}
.page-recharge-lite .recharge-path-card span {
  display: block;
  font-size: 12px;
  color: #5d6773;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .page-recharge-lite .recharge-paths { grid-template-columns: 1fr; }
}


.download-card-single {
  gap: 10px;
  padding: 24px 26px;
  width: min(598px, 100%);
}
.channel-switch-left {
  width: 100%;
  justify-content: flex-start;
}
.download-primary-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.other-system-link {
  border: none;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.other-system-link:hover {
  color: #ffffff;
}
.download-card-single .download-meta,
.download-card-single .tip {
  margin: 0;
  text-align: center;
}


.primary-download-btn {
  width: min(322px, 100%);
  height: 64px;
  min-width: 0;
  margin-top: 8px;
  padding: 10px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  box-shadow: 0 18px 36px rgba(255, 77, 79, 0.34);
}
.mac-download-pair {
  width: min(552px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.os-icon {
  font-weight: 700;
}
.os-icon-apple {
  font-size: 19px;
}
.os-icon-finder {
  padding: 0;
}
.os-icon-finder svg {
  width: 20px;
  height: 20px;
  display: block;
}
.mac-download-pair[hidden] {
  display: none;
}
.mac-download-btn {
  width: 100%;
}
.download-btn-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: 18px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  flex-shrink: 0;
}
.mac-download-btn .download-btn-icon {
  background: #ffffff;
  color: #111827;
  box-shadow: none;
}
.download-btn-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.download-btn-text {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
}
.download-btn-subtext {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,.78);
}
.download-btn-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  font-size: 11px;
  letter-spacing: .04em;
}
.download-featureline {
  font-size: 12px;
  color: rgba(226,232,240,.72);
  text-align: center;
  max-width: 360px;
  line-height: 1.55;
}
.other-system-link.below-link {
  display: inline-flex;
  align-self: center;
  margin-top: 2px;
}
@media (max-width: 760px) {
  .mac-download-pair {
    grid-template-columns: 1fr;
  }
  .primary-download-btn {
    width: min(320px, 100%);
    padding: 12px 14px;
  }
  .download-card-single {
    width: 100%;
    padding: 18px 16px;
  }
  .download-btn-badge {
    min-width: 64px;
    padding: 5px 8px;
  }
}

@keyframes mascot-hand-left {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-62%) translateX(4px); }
}
@keyframes mascot-hand-right {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-62%) translateX(-4px); }
}

@keyframes mascot-shell-drift {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}
@keyframes mascot-mouth-talk {
  0%, 100% { transform: scaleX(1) scaleY(1); opacity: .48; }
  50% { transform: scaleX(1.14) scaleY(1.28); opacity: .92; }
}
@keyframes mascot-speech-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.mascot-shot-section {
  margin-top: 10px;
  margin-bottom: 34px;
}
.mascot-shot-card {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(12, 13, 18, 0.7);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  padding: 18px;
  display: flex;
  justify-content: center;
}
.mascot-shot-image {
  display: block;
  width: min(760px, 100%);
  height: auto;
}

.admin-summary-card {
  display: grid;
  gap: 16px;
}
.admin-summary-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.admin-summary-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
}
.admin-summary-head p {
  margin: 0;
  color: rgba(226, 232, 240, 0.6);
  font-size: 12px;
}
.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.summary-pill {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.summary-pill span {
  font-size: 12px;
  color: rgba(226,232,240,.58);
}
.summary-pill strong {
  font-size: 24px;
  line-height: 1;
  color: #fff;
}
.admin-inline-note {
  margin-top: -2px;
  font-size: 12px;
  color: rgba(226,232,240,.58);
}
.table-skeleton,
.meta-skeleton {
  pointer-events: none;
}
.table-skeleton span,
.meta-skeleton .meta-value {
  color: rgba(226,232,240,.22);
}
.table-skeleton span:not(:first-child),
.meta-skeleton .meta-value {
  position: relative;
  min-height: 14px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.table-skeleton span:not(:first-child)::after,
.meta-skeleton .meta-value::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  animation: admin-shimmer 1.2s infinite;
}
@keyframes admin-shimmer {
  to { transform: translateX(100%); }
}
@media (max-width: 980px) {
  .admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.admin-filter-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.admin-filter-toolbar .ghost-btn,
.filter-actions .ghost-btn,
.filter-actions .primary-btn,
.detail-actions .ghost-btn,
.form-actions .ghost-btn,
.form-actions .primary-btn {
  min-height: 38px;
}
.filters {
  align-items: end;
}
.filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  margin-top: 4px;
}
.filter-actions .admin-status {
  margin-left: 2px;
}
.detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.actions-grid {
  gap: 14px 16px;
}
.actions-grid .form-field {
  min-width: 0;
}
.admin-form {
  align-items: end;
  gap: 14px 16px;
}
.admin-form .form-field:first-child {
  min-width: 320px;
}
.admin-form .form-field:nth-child(2) {
  min-width: 320px;
}
.admin-form .form-actions {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filters .form-field {
  min-width: 0;
}
.filters .form-field label,
.admin-form .form-field label,
.actions-grid .form-field label {
  margin-bottom: 8px;
}
.form-field select {
  min-height: 42px;
}
@media (max-width: 980px) {
  .admin-top-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.admin-token-note {
  grid-column: 1 / -1;
  margin-top: 4px;
}
.admin-token-note code {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
}
.admin-filter-toolbar .ghost-btn {
  min-width: 112px;
  justify-content: center;
}
.filter-actions .ghost-btn,
.filter-actions .primary-btn,
.form-actions .ghost-btn,
.form-actions .primary-btn {
  min-width: 120px;
  justify-content: center;
}
.detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 10px;
}
.detail-actions .admin-status {
  width: 100%;
  margin-left: 0;
}
.admin-section-header-spaced {
  margin-top: 18px;
}
#ocr-result {
  margin-top: 10px;
}

.admin-table {
  overflow: auto;
  max-height: 760px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  padding: 8px;
}
.admin-table-inner {
  min-width: 1080px;
  display: grid;
  gap: 8px;
}
.table-group {
  display: grid;
  gap: 0;
}
.table-group.is-expanded .table-row-button {
  border-color: rgba(255,77,79,.45);
  background: rgba(255,255,255,.08);
}
.table-row-button {
  width: 100%;
}
.table-detail-row {
  border: 1px solid rgba(255,255,255,.08);
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: rgba(255,255,255,.03);
  padding: 14px;
  display: grid;
  gap: 14px;
  text-align: left;
}
.table-detail-loading {
  color: rgba(226,232,240,.7);
  font-size: 12px;
}
.table-detail-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.table-detail-toolbar .ghost-btn {
  min-width: 112px;
  justify-content: center;
}
.table-detail-toolbar .admin-status {
  width: 100%;
}
.table-detail-grid {
  display: grid;
  grid-template-columns: minmax(160px, 196px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.table-detail-preview {
  min-height: 112px;
  max-width: 182px;
}
.table-detail-preview img {
  width: 100%;
  height: auto;
  display: block;
}
.table-detail-meta {
  min-width: 0;
}
.table-detail-ocr {
  display: grid;
  gap: 8px;
}
.table-detail-actions {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}
.inline-actions-grid {
  display: grid;
  gap: 12px;
}
.inline-actions-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.inline-action-footer {
  justify-content: flex-start;
}
.inline-action-footer .primary-btn {
  min-width: 136px;
}
.inline-action-footer .admin-status {
  min-width: 0;
}
.table-code-block {
  margin-top: 0;
  max-height: 260px;
}
.admin-section-header-inline {
  margin-bottom: 0;
}
@media (max-width: 980px) {
  .admin-table { max-height: none; }
  .admin-table-inner { min-width: 920px; }
  .table-detail-grid { grid-template-columns: 1fr; }
  .inline-actions-group { grid-template-columns: 1fr; }
}


.admin-table {
  overflow-x: auto;
  overflow-y: visible;
  max-height: none;
}
.admin-table-inner {
  min-width: 1080px;
  display: grid;
  gap: 8px;
}
.table-row {
  grid-template-columns: 220px 120px 240px 100px 220px 150px;
}
.table-row.table-header > span {
  width: auto;
}
.table-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.table-cell-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table-copy-btn {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .16s ease, background .16s ease, color .16s ease;
}
.table-row-button:hover .table-copy-btn,
.table-cell:hover .table-copy-btn {
  opacity: 1;
}
.table-copy-btn:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.admin-pagination {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-pagebar-center,
.admin-pagebar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-pagination .ghost-btn {
  min-width: 88px;
}
.admin-pagebar-center .ghost-btn.is-active {
  background: rgba(255,77,79,.16);
  border-color: rgba(255,77,79,.45);
  color: #fff;
}
.admin-page-size {
  min-width: 84px;
}
.table-detail-row {
  margin-top: -2px;
}
@media (max-width: 980px) {
  .admin-pagination {
    align-items: flex-start;
  }
  .admin-pagebar-center {
    order: 3;
    width: 100%;
  }
}
