@font-face {
  font-family: "Smiley Sans";
  src: url("fonts/SmileySans-Oblique.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --font-body: "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-display: "Smiley Sans", "Microsoft YaHei", sans-serif;
  --font-numeric: "Bahnschrift", "DIN Alternate", "Arial", sans-serif;
  --tech-base: #070d18;
  --tech-panel: #101e30;
  --tech-line: #294459;
  --tech-light: #87e5f0;
  --tech-muted: #9aafc3;
}
.tech-theme {
  color: #e8f1fa;
  background-color: var(--tech-base);
  background-image: radial-gradient(ellipse at 80% 0, #16445c36, transparent 36rem), radial-gradient(ellipse at 0 28rem, #18315120, transparent 36rem);
}
.tech-theme::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto;
  height: 680px;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#5ac6e408 1px, transparent 1px), linear-gradient(90deg, #5ac6e408 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(#000, transparent 90%);
}
.tech-theme .site-header {
  position: relative;
  background: #091321ed;
  border-bottom-color: #7fc7e526;
  box-shadow: 0 8px 34px #00000018;
}
.tech-theme .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 9%, #7ce3ec65 32%, #5c94e02b 66%, transparent 90%);
}
.tech-theme .brand, .tech-theme .admin-brand > span:last-child {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: .8px;
  color: #e3f8ff;
}
.tech-theme .brand-mark, .tech-theme .brand-symbol {
  border-radius: 10px 3px 10px 3px;
  border-color: #67c9e274;
  color: #8aebf5;
  background: linear-gradient(135deg, #1b4458, #0b1d31);
  box-shadow: inset 0 0 16px #61c2df10, 0 0 18px #4baaca0b;
}
.tech-theme .nav-link.active { color: #e0faff; }
.tech-theme .nav-link.active::after { height: 2px; background: #83e9f2; box-shadow: 0 0 12px #64d9ed65; }
.tech-theme .header-search { border-color: #365369; background: #0e1b2b; border-radius: 8px 3px 8px 3px; }
.tech-theme .header-search:focus-within { border-color: #85dce8; box-shadow: 0 0 0 3px #54c0dc12; }
.tech-theme .intro-heading,
.tech-theme .analysis-intro h1,
.tech-theme .page-heading h1,
.tech-theme .red-list-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .5px;
  text-shadow: 0 3px 18px #72d7ee13;
}
.tech-theme .intro-heading, .tech-theme .analysis-intro h1 { padding-right: .12em; }
.tech-theme .red-list-title { font-size: 24px; }
.tech-theme .red-list-rank,
.tech-theme .score-display,
.tech-theme .wdl-count,
.tech-theme .metric-value,
.tech-theme .stat-value,
.tech-theme .goal-count { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; }
.tech-theme .button.primary {
  color: #071725;
  border: 1px solid #9beaf1;
  background: linear-gradient(115deg, #72d6e8, #b3f0ec);
  box-shadow: inset 0 1px 0 #ffffff75, 0 5px 20px #63cde11a;
}
.tech-theme .button.primary:hover { background: linear-gradient(115deg, #90e4ef, #cef9f4); border-color: #d3ffff; }
.tech-theme .button.secondary { background: #122338; border-color: #35576c; }
.tech-theme :is(button, a, input, select, textarea, summary):focus-visible { outline-color: #9af5ff; }
.tech-theme .profile-hero { background: #101e30; border-color: #35536b; border-radius: 16px 4px 16px 4px; }
.tech-theme .profile-hero .profile-cover { background: linear-gradient(115deg, #0f3649, #1c354d 54%, #1a2542); }
.tech-theme .profile-summary-copy h1 { font-family: var(--font-display); font-weight: 400; font-size: 32px; }
.tech-theme .article-card { background: #0f1c2e; border-color: #2b4156; border-radius: 14px; }
.tech-theme .article-body { color: #c4d3e2; line-height: 1.95; max-width: 76ch; }
.tech-theme.experts-page .profile-card::before {
  content: ""; position: absolute; inset: 11px; pointer-events: none;
  background: linear-gradient(#83cfe766, #83cfe766) left top/16px 1px no-repeat,
    linear-gradient(#83cfe766, #83cfe766) left top/1px 10px no-repeat,
    linear-gradient(#83cfe733, #83cfe733) right bottom/16px 1px no-repeat,
    linear-gradient(#83cfe733, #83cfe733) right bottom/1px 10px no-repeat;
}
.tech-theme.experts-page .profile-card::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 1px;
  pointer-events: none; background: linear-gradient(90deg, transparent, #9fdded60, transparent);
}
.tech-theme.experts-page .profile-card .card-link { position: relative; z-index: 1; }
.tech-theme .analysis-fullscreen-match { font-family: var(--font-display); }
.tech-theme .footer, .tech-theme .analysis-footer { color: #8da5b9; border-color: #7096b027; }
.tech-theme #storage-note:empty { display: none; }
.tech-theme .footer strong, .tech-theme .analysis-footer > strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: #b5cad9; }
/* The data archive uses the same surfaces without adding decorative labels. */
.tech-theme.analysis-view .fixture-browser,
.tech-theme.analysis-view .analysis-panel,
.tech-theme.analysis-view .recent-section { background: #0d192a; border-color: #294155; }
.tech-theme.analysis-view .match-scoreboard { background: linear-gradient(115deg, #123246, #112035 65%); border-color: #365970; border-radius: 16px 4px 16px 4px; }
.tech-theme.analysis-view .fixture-card[aria-pressed="true"] { background: #143043; border-color: #69c3d5; box-shadow: inset 3px 0 #8ce4ee; }
.tech-theme.analysis-view .analysis-panel { border-top-color: #5b8fa4; }
.tech-theme.analysis-view .overall-metric { background: #102237; border-color: #2d4a60; }
/* Management remains compact; the decorative type is limited to headings. */
.tech-theme .admin-sidebar { background: linear-gradient(180deg, #0d1b2c, #080f1b 72%); border-right-color: #47748d38; }
.tech-theme .admin-brand small { font: 12px/1.5 "Microsoft YaHei", sans-serif; letter-spacing: 1px; color: #8da9be; }
.tech-theme .admin-topbar { background: #0a1524ed; border-bottom-color: #47748d38; }
.tech-theme .admin-main { background: transparent; }
.tech-theme .nav-item.active { background: linear-gradient(90deg, #14384b, #102336); border-color: #3a6b80; color: #b6f0f6; box-shadow: inset 2px 0 #7bdfef; }
.tech-theme .management-panel, .tech-theme .intake-panel, .tech-theme .red-list-editor { background: #0f1d30; border-color: #345064; box-shadow: 0 16px 45px #02071126; }
.tech-theme .table-toolbar { background: #112238; border-bottom-color: #2d485f; }
.tech-theme .data-table th { color: #9cb8cd; background: #101e31; border-bottom-color: #345269; }
.tech-theme .data-table td { border-bottom-color: #243d51; }
.tech-theme .data-table tbody tr:hover { background: #162b3d; }
.tech-theme .admin-dialog { background: #101e30; border-color: #48768e; box-shadow: 0 24px 100px #000a, inset 0 1px 0 #a3e6ff17; }
.tech-theme .admin-dialog::backdrop { background: #020811d9; backdrop-filter: blur(8px); }
.tech-theme .field input, .tech-theme .field textarea, .tech-theme .field select { border-color: #35576e; background: #0c1929; }
.tech-theme .avatar-preview { border-color: #72c9dd; box-shadow: 0 0 0 4px #74c7dd0b; }
.tech-theme .page-heading h1 { font-size: 32px; }
@media (min-width: 761px) and (max-width: 1020px) {
  .tech-theme .site-header .header-inner { flex-wrap: wrap; gap: 10px 24px; padding-top: 16px; }
  .tech-theme .site-header .nav { order: 3; flex: 0 0 100%; min-height: 44px; gap: 28px; }
  .tech-theme .site-header .header-search { margin-left: auto; }
}
@media (max-width: 680px) {
  .tech-theme .brand { font-size: 24px; }
  .tech-theme .site-header .nav { gap: 20px; }
  .tech-theme .site-header .nav-link { font-size: 13px; }
  .tech-theme .page-heading h1 { font-size: 28px; }
  .tech-theme .profile-summary-copy h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .tech-theme { scroll-behavior: auto; }
  .tech-theme .brand-mark, .tech-theme .button { transition: none; }
}
@media (max-width:520px) {
  .tech-theme .site-header .nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); flex-basis:100%; height:auto; gap:0 16px; padding:3px 0 6px; }
  .tech-theme .site-header .nav-link { justify-content:center; min-height:40px; }
  .tech-theme .site-header .nav-link.active::after { bottom:1px; left:18px; right:18px; }
}

/* Preserve the supplied image bytes; frame their photo areas inside each avatar. */
img[data-avatar-owner="gudewen"] { object-fit:cover; object-position:50% 50.4%; }
img[data-avatar-owner="b-qimi-bot"],img[data-avatar-owner="b-jieshuo-yiyun"] { object-fit:cover; object-position:50% 57%; }
