:root {
  color-scheme: light;
  --bg-top: #1f5fd1;
  --bg-bottom: #eef5ff;
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(255, 255, 255, 0.55);
  --text-primary: #17305c;
  --text-secondary: #49617d;
  --accent: #ff9f1c;
  --accent-deep: #ff7b00;
  --shadow: 0 24px 60px rgba(31, 66, 135, 0.16);
}

* {
  box-sizing: border-box;
}

body.webshow-home-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(160deg, var(--bg-top) 0%, #6aa6ff 34%, var(--bg-bottom) 100%);
}

.webshow-view {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 32px;
}

.webshow-view__frame {
  width: 100%;
  height: calc(100vh - 130px);
  min-height: 640px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.webshow-home {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.webshow-hero,
.webshow-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.webshow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
}

.webshow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31, 95, 209, 0.1);
  color: #1f5fd1;
  font-size: 14px;
  font-weight: 700;
}

.webshow-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
}

.webshow-hero__headline {
  margin: 18px 0 16px;
}

.webshow-hero__headline-logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(31, 66, 135, 0.22));
}

.webshow-hero p,
.webshow-panel__header p,
.webshow-card p,
.webshow-shell__meta {
  color: var(--text-secondary);
}

.webshow-hero__text > p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
}

.webshow-stats {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.webshow-stats div {
  min-width: 140px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(244, 248, 255, 0.92);
}

.webshow-stats strong {
  display: block;
  font-size: 32px;
  color: #1f5fd1;
}

.webshow-stats span {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
}

.webshow-hero__badge-card {
  padding: 28px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(180deg, #f9fcff 0%, #edf4ff 100%);
}

.webshow-school-badge {
  width: min(100%, 250px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(31, 66, 135, 0.18));
}

.webshow-hero__badge-card p {
  margin: 18px 0 10px;
  color: #54749c;
  letter-spacing: 0.18em;
  font-size: 14px;
}

.webshow-hero__badge-card h2 {
  margin: 0;
  font-size: 30px;
}

.webshow-panel {
  margin-top: 24px;
  padding: 28px;
}

.webshow-panel__header h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.webshow-panel__header p {
  margin: 0;
  line-height: 1.7;
}

.webshow-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.webshow-picker label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.webshow-picker span {
  font-weight: 700;
}

.webshow-picker select,
.webshow-picker button,
.webshow-card__button,
.webshow-shell__link {
  border-radius: 16px;
  border: none;
  font-size: 16px;
}

.webshow-picker select,
.webshow-picker button {
  min-height: 54px;
  padding: 0 16px;
}

.webshow-picker select {
  background: #f4f8ff;
  border: 1px solid #d8e6ff;
  color: var(--text-primary);
}

.webshow-picker button,
.webshow-card__button,
.webshow-shell__link--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(255, 123, 0, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.webshow-picker button:hover,
.webshow-card__button:hover,
.webshow-shell__link--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(255, 123, 0, 0.28);
}

.webshow-picker button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.webshow-student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.webshow-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e1ecff;
  border-radius: 24px;
}

.webshow-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dce9ff;
}

.webshow-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.webshow-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.webshow-card__class {
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 95, 209, 0.1);
  color: #1f5fd1;
  font-size: 13px;
  font-weight: 700;
}

.webshow-card h3 {
  margin: 0;
  font-size: 22px;
}

.webshow-card p {
  margin: 12px 0 18px;
  line-height: 1.7;
}

.webshow-card__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  min-height: 48px;
  padding: 0 16px;
  text-decoration: none;
}

.webshow-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 20px auto 24px;
  padding: 16px 20px;
  max-width: min(1100px, calc(100% - 24px));
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 38px rgba(31, 66, 135, 0.14);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.webshow-shell__title {
  margin: 0 0 4px;
  font-size: 22px;
  color: var(--text-primary);
}

.webshow-shell__meta {
  margin: 0;
  font-size: 14px;
}

.webshow-shell__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.webshow-shell__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
}

.webshow-shell__link--secondary {
  color: var(--text-primary);
  background: #edf4ff;
  border: 1px solid #d7e6ff;
}

@media (max-width: 860px) {
  .webshow-hero {
    grid-template-columns: 1fr;
  }

  .webshow-hero__headline-logo {
    margin: 0 auto;
  }

  .webshow-picker {
    grid-template-columns: 1fr;
  }

  .webshow-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .webshow-home {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .webshow-hero,
  .webshow-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .webshow-hero__text > p {
    font-size: 16px;
  }

  .webshow-panel__header h2 {
    font-size: 24px;
  }

  .webshow-shell__actions {
    width: 100%;
  }

  .webshow-shell__link {
    width: 100%;
  }
}
