* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
  color: #1f2937;
}

:root {
  --brand: #1d4ed8;
  --brand-2: #22c55e;
  --accent: #0f172a;
  --card-border: #dbe5f0;
  --shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.page-wrap {
  width: 1200px;
  margin: 0 auto;
}

.top-info-bar {
  height: 36px;
  line-height: 36px;
  background: linear-gradient(90deg, #eff6ff, #ffffff);
  border-bottom: 1px solid #e5e7eb;
  color: #64748b;
  font-size: 13px;
}

.info-inner {
  display: flex;
  justify-content: space-between;
}

.main-header {
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand-wrap h1 {
  margin: 0;
  color: var(--brand);
  font-size: 34px;
  letter-spacing: 1px;
}

.brand-wrap p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
}

.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-link {
  text-decoration: none;
  color: #334155;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: .2s ease;
}

.admin-link:hover {
  background: #eff6ff;
  color: var(--brand);
  border-color: #bfdbfe;
}

.main-nav {
  background: linear-gradient(90deg, var(--brand), #0ea5e9);
  box-shadow: 0 6px 18px rgba(29,78,216,.12);
}

.nav-inner {
  display: flex;
}

.nav-inner a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 12px 22px;
  font-size: 18px;
  transition: .2s ease;
}

.nav-inner a:hover {
  background: rgba(255,255,255,.14);
}

.pay-btn {
  border: 0;
  background: linear-gradient(135deg, var(--brand-2), #16a34a);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(34,197,94,.18);
}

.portal-grid {
  margin: 18px auto 30px;
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 16px;
  align-items: start;
}

.card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.quick-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-nav-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #d7e3ee;
  font-size: 15px;
}

.hero-banner {
  height: 260px;
  background: linear-gradient(135deg, rgba(29,78,216,.92), rgba(14,165,233,.88));
  color: #fff;
  display: flex;
  align-items: center;
  padding-left: 22px;
  margin-bottom: 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.hero-banner h2 {
  margin: 0;
  font-size: 40px;
}

.hero-banner p {
  margin-top: 10px;
  font-size: 18px;
  opacity: .96;
}

.match-list {
  display: grid;
  gap: 8px;
  max-height: 340px;
  overflow: auto;
}

.match-item {
  border: 1px solid #dbe5f0;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  transition: .2s ease;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .04);
}
.match-item:hover { border-color: #93c5fd; box-shadow: 0 10px 20px rgba(29,78,216,.10); transform: translateY(-1px); }

.match-line { font-size: 14px; margin-bottom: 4px; }
.match-meta { font-size: 12px; color: #64748b; }

.predict-card { margin-bottom: 14px; }
.predict-row { display: flex; gap: 10px; flex-wrap: wrap; }
.predict-select, #predictInput {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 180px;
  outline: none;
  background: #fff;
}
.predict-select:focus, #predictInput:focus { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.predict-result {
  margin-top: 10px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border: 1px solid #dbe5f0;
  border-radius: 10px;
  padding: 10px;
}
.divider { border-top: 1px solid #e5e7eb; margin: 14px 0; }

.video-main iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
}

.video-empty, .match-empty {
  padding: 10px;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 10px;
}

.video-list { margin-top: 10px; display: grid; gap: 8px; }
.video-item {
  border: 1px solid #dbe5f0;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .04);
}
.video-item:hover { border-color: #93c5fd; background:#eff6ff; transform: translateY(-1px); }

.notice-list {
  margin: 0;
  padding-left: 16px;
  color: #374151;
  line-height: 1.9;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 420px;
  overflow: auto;
}

.news-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #dbe5f0;
}

.news-list a {
  color: #0f172a;
  text-decoration: none;
  transition: .2s ease;
}
.news-list a:hover { color: #1d4ed8; }

.fixture-image-card {
  margin-top: 14px;
  text-align: center;
}

.fixture-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dbe5f0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

.forecast-card table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border-bottom: 1px solid #eee;
  padding: 10px 8px;
  text-align: left;
  font-size: 14px;
}

.team-cell { display: inline-flex; align-items: center; gap: 8px; }
.team-flag { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #e2e8f0; }

@media (max-width: 1260px) {
  .page-wrap { width: 96%; }
  .portal-grid { grid-template-columns: 1fr; }
  .nav-inner { overflow-x: auto; white-space: nowrap; }
}
