:root {
  --shijuan-bg: #F6FAFF;
  --shijuan-fg: #1F2A37;
  --shijuan-muted: rgba(31, 42, 55, 0.66);
  --shijuan-accent: #2DD4BF;
  --shijuan-accent2: #60A5FA;
  --shijuan-border: rgba(31, 42, 55, 0.12);
  --shijuan-glass: rgba(255, 255, 255, 0.72);
  --shijuan-surface: rgba(255, 255, 255, 0.88);
  --shijuan-surface2: rgba(255, 255, 255, 0.78);
  --shijuan-surface3: rgba(255, 255, 255, 0.68);
  --shijuan-shadow: 0 18px 46px rgba(31, 42, 55, 0.10);
  --shijuan-radius: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body.shijuan-body {
  margin: 0;
  min-height: 100vh;
  color: var(--shijuan-fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(96, 165, 250, 0.28), transparent 60%),
    radial-gradient(1000px 560px at 92% 0%, rgba(45, 212, 191, 0.20), transparent 58%),
    radial-gradient(900px 600px at 78% 110%, rgba(167, 139, 250, 0.18), transparent 55%),
    var(--shijuan-bg);
}

.shijuan-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.shijuan-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 250, 255, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--shijuan-border);
}

.shijuan-header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shijuan-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.shijuan-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--shijuan-fg);
}

.shijuan-brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--shijuan-accent), var(--shijuan-accent2));
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.12);
}

.shijuan-brand-text {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.shijuan-gradebar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: auto;
  padding: 6px 0;
  max-width: 560px;
}

.shijuan-gradebar-item {
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.38);
  background: rgba(96, 165, 250, 0.10);
  color: rgba(31, 42, 55, 0.86);
  font-size: 13px;
  cursor: pointer;
  transition: all 160ms ease;
}

.shijuan-gradebar-item:hover {
  border-color: rgba(96, 165, 250, 0.62);
  background: rgba(96, 165, 250, 0.16);
  box-shadow: 0 12px 26px rgba(31, 42, 55, 0.12);
}

.shijuan-gradebar-item--active {
  color: var(--shijuan-fg);
  border-color: rgba(45, 212, 191, 0.72);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.24), rgba(96, 165, 250, 0.18));
  box-shadow: 0 12px 26px rgba(31, 42, 55, 0.12);
}

.shijuan-gradebar::-webkit-scrollbar {
  height: 6px;
}

.shijuan-gradebar::-webkit-scrollbar-thumb {
  background: rgba(31, 42, 55, 0.18);
  border-radius: 999px;
}

.shijuan-gradebar::-webkit-scrollbar-track {
  background: transparent;
}

.shijuan-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shijuan-nav-item {
  color: var(--shijuan-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 160ms ease;
}

.shijuan-nav-item:hover {
  color: var(--shijuan-fg);
  border-color: rgba(45, 212, 191, 0.30);
  box-shadow: 0 10px 26px rgba(45, 212, 191, 0.16);
}

.shijuan-nav-item--active {
  color: var(--shijuan-fg);
  border-color: rgba(96, 165, 250, 0.26);
  background: rgba(96, 165, 250, 0.10);
}

.shijuan-main {
  padding: 22px 0 40px;
}

.shijuan-hero {
  padding: 14px 0 18px;
}

.shijuan-hero-title:empty {
  display: none;
}

.shijuan-hero--empty {
  padding: 0;
}

.shijuan-hero--empty + .shijuan-grid {
  margin-top: 6px;
}

.shijuan-hero-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.4px;
  background: linear-gradient(90deg, var(--shijuan-fg), rgba(45, 212, 191, 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shijuan-hero-sub {
  margin-top: 8px;
  color: var(--shijuan-muted);
  font-size: 13px;
}

.shijuan-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}

.shijuan-grid--detail {
  margin-top: 16px;
}

.shijuan-col {
  min-width: 0;
}

.shijuan-side {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shijuan-card {
  border-radius: var(--shijuan-radius);
  border: 1px solid var(--shijuan-border);
  box-shadow: var(--shijuan-shadow);
  overflow: hidden;
}

.shijuan-card--glass {
  background: linear-gradient(180deg, var(--shijuan-surface), var(--shijuan-surface3));
  backdrop-filter: blur(16px);
}

.shijuan-card--list {
  margin-top: 16px;
  background: var(--shijuan-surface2);
  backdrop-filter: blur(10px);
}

.shijuan-card--content {
  background: var(--shijuan-surface2);
  backdrop-filter: blur(10px);
}

.shijuan-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(31, 42, 55, 0.08);
}

.shijuan-card-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.shijuan-card-meta {
  font-size: 12px;
  color: var(--shijuan-muted);
}

.shijuan-ad-slot {
  height: 140px;
  border-radius: 14px;
  border: 1px dashed rgba(31, 42, 55, 0.18);
  background: rgba(255, 255, 255, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(31, 42, 55, 0.55);
  font-weight: 700;
  letter-spacing: 0.8px;
}

.shijuan-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shijuan-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  background: rgba(255, 255, 255, 0.70);
  color: rgba(31, 42, 55, 0.82);
  text-decoration: none;
  transition: all 160ms ease;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.shijuan-link:hover {
  border-color: rgba(96, 165, 250, 0.52);
  box-shadow: 0 12px 26px rgba(31, 42, 55, 0.12);
}

.shijuan-links .shijuan-empty {
  width: 100%;
}

.shijuan-card-actions {
  display: flex;
  gap: 8px;
}

.shijuan-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.shijuan-filter-toolbar .shijuan-btn {
  flex: 0 0 auto;
}

.shijuan-input--sm {
  height: 36px;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 14px;
  width: 200px;
  max-width: 100%;
}

.shijuan-filter {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.shijuan-filter-bar {
  padding: 0 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.shijuan-filter-bar-label {
  padding-top: 7px;
  font-size: 12px;
  color: var(--shijuan-muted);
  white-space: nowrap;
}

.shijuan-filter-bar-items {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shijuan-filterbar-item {
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(31, 42, 55, 0.78);
  font-size: 12px;
  cursor: pointer;
  transition: all 160ms ease;
}

.shijuan-filterbar-item:hover {
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow: 0 10px 22px rgba(31, 42, 55, 0.10);
}

.shijuan-filterbar-item--active {
  color: var(--shijuan-fg);
  border-color: rgba(45, 212, 191, 0.52);
  background: rgba(45, 212, 191, 0.16);
}

.shijuan-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.shijuan-filter-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.shijuan-filter-row--single {
  grid-template-columns: 1fr;
}

.shijuan-filter-row--single .shijuan-input {
  height: 42px;
  font-size: 14px;
}

.shijuan-field {
  min-width: 0;
}

.shijuan-field--grow {
  grid-column: span 2;
}

.shijuan-label {
  display: block;
  font-size: 12px;
  color: rgba(31, 42, 55, 0.62);
  margin-bottom: 6px;
}

.shijuan-input,
.shijuan-select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(31, 42, 55, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--shijuan-fg);
  outline: none;
  transition: all 160ms ease;
}

.shijuan-input:focus,
.shijuan-select:focus {
  border-color: rgba(45, 212, 191, 0.56);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.14);
}

.shijuan-btn {
  position: relative;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  background: rgba(255, 255, 255, 0.84);
  color: var(--shijuan-fg);
  cursor: pointer;
  transition: all 160ms ease;
  overflow: hidden;
}

.shijuan-btn--primary {
  border-color: rgba(45, 212, 191, 0.34);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.20), rgba(96, 165, 250, 0.18));
}

.shijuan-btn--ghost {
  background: rgba(255, 255, 255, 0.74);
}

.shijuan-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(31, 42, 55, 0.12);
  border-color: rgba(45, 212, 191, 0.46);
}

.shijuan-btn:active {
  transform: translateY(0);
}

.shijuan-btn .shijuan-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: shijuan-ripple 520ms ease-out;
  background: rgba(45, 212, 191, 0.26);
  pointer-events: none;
}

@keyframes shijuan-ripple {
  to {
    transform: scale(6);
    opacity: 0;
  }
}

.shijuan-ad {
  border-radius: 12px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(31, 42, 55, 0.55);
  border: 1px dashed rgba(31, 42, 55, 0.18);
  background: rgba(255, 255, 255, 0.68);
}

.shijuan-ad--tall {
  height: 260px;
}

.shijuan-ad--footer {
  height: 52px;
}

.shijuan-tip {
  padding: 14px;
  color: rgba(31, 42, 55, 0.66);
  font-size: 12px;
  line-height: 1.6;
}

.shijuan-list {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.shijuan-item {
  display: block;
  text-decoration: none;
  color: var(--shijuan-fg);
  border-radius: 14px;
  border: 1px solid rgba(31, 42, 55, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  padding: 12px 12px;
  transition: all 180ms ease;
  position: relative;
}

.shijuan-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.28), rgba(96, 165, 250, 0.24));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.shijuan-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(31, 42, 55, 0.14);
}

.shijuan-item:hover::before {
  opacity: 1;
}

.shijuan-item-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
}

.shijuan-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(31, 42, 55, 0.62);
  font-size: 13px;
}

.shijuan-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 55, 0.10);
  background: rgba(255, 255, 255, 0.78);
}

.shijuan-chip i {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.95), rgba(96, 165, 250, 0.90));
  display: inline-block;
}

.shijuan-pager {
  padding: 0 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shijuan-page {
  min-width: 38px;
  height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(31, 42, 55, 0.78);
  cursor: pointer;
  transition: all 160ms ease;
}

.shijuan-page:hover {
  border-color: rgba(45, 212, 191, 0.44);
  box-shadow: 0 12px 28px rgba(31, 42, 55, 0.12);
}

.shijuan-page--active {
  color: var(--shijuan-fg);
  border-color: rgba(96, 165, 250, 0.36);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.22), rgba(96, 165, 250, 0.18));
}

.shijuan-footer {
  padding: 22px 0 28px;
  border-top: 1px solid rgba(31, 42, 55, 0.08);
  background: rgba(246, 250, 255, 0.72);
  backdrop-filter: blur(10px);
}

.shijuan-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.shijuan-footer-left {
  color: rgba(31, 42, 55, 0.62);
  font-size: 12px;
}

.shijuan-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: rgba(31, 42, 55, 0.62);
  font-size: 12px;
}

.shijuan-footer-title {
  font-weight: 800;
  color: rgba(31, 42, 55, 0.78);
}

.shijuan-footer-desc {
  max-width: 520px;
  line-height: 1.6;
}

.shijuan-footer-meta {
  margin-top: 6px;
}

.shijuan-footer-sep {
  margin: 0 8px;
  color: rgba(31, 42, 55, 0.32);
}

.shijuan-footer-link {
  color: rgba(31, 42, 55, 0.72);
  text-decoration: none;
}

.shijuan-footer-link:hover {
  color: rgba(31, 42, 55, 0.92);
}

.shijuan-math-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.shijuan-math-tile {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.62);
  padding: 12px 12px 10px;
  transition: all 160ms ease;
}

.shijuan-math-grid .shijuan-math-tile:nth-child(6n + 1) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.10), rgba(255, 255, 255, 0.72));
}

.shijuan-math-grid .shijuan-math-tile:nth-child(6n + 2) {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.10), rgba(255, 255, 255, 0.72));
}

.shijuan-math-grid .shijuan-math-tile:nth-child(6n + 3) {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(255, 255, 255, 0.72));
}

.shijuan-math-grid .shijuan-math-tile:nth-child(6n + 4) {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.10), rgba(255, 255, 255, 0.72));
}

.shijuan-math-grid .shijuan-math-tile:nth-child(6n + 5) {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.10), rgba(255, 255, 255, 0.72));
}

.shijuan-math-grid .shijuan-math-tile:nth-child(6n) {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.10), rgba(255, 255, 255, 0.72));
}

.shijuan-math-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.34);
  box-shadow: 0 14px 34px rgba(45, 212, 191, 0.16);
}

.shijuan-math-tile-title {
  font-weight: 800;
  color: var(--shijuan-fg);
  line-height: 1.25;
}

.shijuan-math-tile-meta {
  margin-top: 8px;
  color: rgba(31, 42, 55, 0.58);
  font-size: 12px;
}

.shijuan-grade-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: -2px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

.shijuan-grade-icon--g1 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(45, 212, 191, 0.70));
}

.shijuan-grade-icon--g2 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(245, 158, 11, 0.70));
}

.shijuan-grade-icon--g3 {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(236, 72, 153, 0.70));
}

.shijuan-grade-card {
  border-color: rgba(148, 163, 184, 0.24);
}

.shijuan-grade-card--g1 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(255, 255, 255, 0.62));
}

.shijuan-grade-card--g2 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(255, 255, 255, 0.62));
}

.shijuan-grade-card--g3 {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(255, 255, 255, 0.62));
}

.shijuan-math-tip {
  margin: 0;
  color: rgba(31, 42, 55, 0.62);
  font-size: 12px;
}

.shijuan-math-list {
  padding: 12px 14px;
}

.shijuan-math-row {
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.20);
  background: rgba(255, 255, 255, 0.56);
}

.shijuan-math-row + .shijuan-math-row {
  margin-top: 10px;
}

.shijuan-math-q {
  font-weight: 700;
  color: var(--shijuan-fg);
}

.shijuan-math-a {
  margin-top: 6px;
  color: rgba(31, 42, 55, 0.66);
  font-size: 13px;
}

.shijuan-math-a-val {
  color: rgba(239, 68, 68, 0.92);
  font-weight: 900;
}

.shijuan-math-item .shijuan-math-list {
  padding: 14px 16px;
}

.shijuan-math-item .shijuan-math-row {
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.shijuan-math-item .shijuan-math-row + .shijuan-math-row {
  margin-top: 0;
}

.shijuan-math-item .shijuan-math-q {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.shijuan-math-questions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 18px;
}

.shijuan-math-qitem {
  padding: 6px 0;
  font-weight: 600;
  color: var(--shijuan-fg);
  font-size: 16px;
  letter-spacing: 0.2px;
}

.shijuan-math-item-add10 .shijuan-math-qitem {
  font-size: 18px;
}

.shijuan-math-answers {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed rgba(148, 163, 184, 0.45);
}

.shijuan-math-answers-title {
  font-weight: 800;
  color: rgba(31, 42, 55, 0.82);
  margin-bottom: 10px;
}

.shijuan-math-answers-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 18px;
}

.shijuan-math-aitem {
  color: rgba(31, 42, 55, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.shijuan-math-questions-grid--vert {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.shijuan-math-qitem--vert {
  padding: 10px 10px 12px;
}

.shijuan-math-vert {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.shijuan-math-vert-row {
  display: grid;
  grid-template-columns: 22px repeat(4, 22px);
  align-items: center;
  justify-content: end;
}

.shijuan-math-vert-row--w5 {
  grid-template-columns: 22px repeat(5, 22px);
}

.shijuan-math-vert-sign {
  text-align: center;
  color: rgba(31, 42, 55, 0.82);
}

.shijuan-math-vert-digit {
  height: 22px;
  line-height: 22px;
  text-align: center;
  color: rgba(31, 42, 55, 0.82);
}

.shijuan-math-vert-line {
  height: 0;
  border-bottom: 2px solid rgba(31, 42, 55, 0.72);
  margin: 6px 0 6px;
}

.shijuan-math-workspace {
  height: 108px;
}

.shijuan-math-vert-digit--blank {
  border-bottom: 1px solid rgba(31, 42, 55, 0.72);
}

.shijuan-math-questions-grid--geo {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 14px;
}

.shijuan-math-qitem--geo {
  padding: 12px;
}

.shijuan-geo-title {
  color: rgba(31, 42, 55, 0.82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.shijuan-geo-diagram {
  position: relative;
  margin-top: 10px;
  height: 92px;
  width: 150px;
}

.shijuan-geo-diagram--rect .shijuan-geo-shape {
  position: absolute;
  left: 34px;
  top: 20px;
  width: 96px;
  height: 52px;
  border: 2px solid rgba(31, 42, 55, 0.65);
  border-radius: 6px;
}

.shijuan-geo-diagram--square .shijuan-geo-shape {
  position: absolute;
  left: 48px;
  top: 18px;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(31, 42, 55, 0.65);
  border-radius: 6px;
}

.shijuan-geo-label {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  color: rgba(31, 42, 55, 0.72);
  background: rgba(255, 255, 255, 0.70);
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 55, 0.10);
}

.shijuan-geo-label--top {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.shijuan-geo-label--left {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.shijuan-frac {
  display: inline-grid;
  grid-template-rows: 14px 2px 14px;
  align-items: center;
  justify-items: center;
  width: 30px;
  height: 30px;
  font-variant-numeric: tabular-nums;
}

.shijuan-frac-num,
.shijuan-frac-den {
  font-size: 12px;
  font-weight: 800;
  color: rgba(31, 42, 55, 0.82);
  line-height: 1.05;
}

.shijuan-frac-bar {
  width: 100%;
  height: 0;
  border-top: 2px solid rgba(31, 42, 55, 0.72);
}

.shijuan-frac-plain {
  display: inline-flex;
  align-items: center;
  height: 30px;
  font-weight: 800;
  color: rgba(31, 42, 55, 0.82);
}

.shijuan-frac-eqline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.shijuan-frac-op {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 14px;
  font-weight: 800;
  color: rgba(31, 42, 55, 0.82);
}

.shijuan-frac-ansline {
  display: inline-flex;
  align-items: flex-end;
  height: 30px;
}

.shijuan-frac-ansline .shijuan-math-line {
  transform: translateY(6px);
}

@media (max-width: 920px) {
  .shijuan-math-questions-grid,
  .shijuan-math-answers-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shijuan-math-blank {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid rgba(31, 42, 55, 0.65);
  vertical-align: -6px;
}

.shijuan-math-line {
  display: inline-block;
  width: 44px;
  height: 18px;
  border-bottom: 2px solid rgba(31, 42, 55, 0.72);
  vertical-align: -2px;
}

.shijuan-footer-mail {
  color: rgba(31, 42, 55, 0.78);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  background: rgba(255, 255, 255, 0.70);
}

.shijuan-footer-mail:hover {
  border-color: rgba(96, 165, 250, 0.52);
  box-shadow: 0 12px 26px rgba(31, 42, 55, 0.12);
}

.shijuan-detail-hd {
  padding: 16px 16px;
}

.shijuan-detail-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.3px;
  background: linear-gradient(90deg, var(--shijuan-fg), rgba(45, 212, 191, 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shijuan-detail-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shijuan-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 55, 0.10);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(31, 42, 55, 0.80);
  font-size: 12px;
}

.shijuan-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.95), rgba(96, 165, 250, 0.90));
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.10);
}

.shijuan-detail-sub {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.shijuan-detail-kv {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(31, 42, 55, 0.10);
  background: rgba(255, 255, 255, 0.74);
}

.shijuan-k {
  color: rgba(31, 42, 55, 0.58);
  font-size: 12px;
}

.shijuan-v {
  color: rgba(31, 42, 55, 0.86);
  font-size: 12px;
}

.shijuan-rich {
  padding: 16px;
  color: rgba(31, 42, 55, 0.84);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.shijuan-rich img {
  max-width: 100%;
}

.shijuan-rich a {
  color: rgba(45, 212, 191, 0.92);
}

.shijuan-download {
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shijuan-related {
  padding: 10px;
  display: grid;
  gap: 10px;
}

.shijuan-related-item {
  text-decoration: none;
  color: var(--shijuan-fg);
  border-radius: 14px;
  border: 1px solid rgba(31, 42, 55, 0.10);
  background: rgba(255, 255, 255, 0.74);
  padding: 10px 10px;
  transition: all 160ms ease;
}

.shijuan-related-item:hover {
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: 0 14px 34px rgba(31, 42, 55, 0.12);
  transform: translateY(-1px);
}

.shijuan-related-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.shijuan-related-meta {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(31, 42, 55, 0.62);
  display: flex;
  gap: 6px;
}

.shijuan-empty {
  padding: 14px;
  color: rgba(31, 42, 55, 0.58);
  font-size: 12px;
}

@media (max-width: 980px) {
  .shijuan-grid {
    grid-template-columns: 1fr;
  }
  .shijuan-side {
    position: static;
  }
  .shijuan-filter-row {
    grid-template-columns: 1fr 1fr;
  }

  .shijuan-filter-row--3 {
    grid-template-columns: 1fr 1fr;
  }

  .shijuan-filter-row--single {
    grid-template-columns: 1fr;
  }
  .shijuan-field--grow {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .shijuan-filter-toolbar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .shijuan-input--sm {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .shijuan-filter-row {
    grid-template-columns: 1fr;
  }
  .shijuan-field--grow {
    grid-column: span 1;
  }
}
