.page-home {
  --ph-panel-1: rgba(7, 16, 38, 0.92);
  --ph-panel-2: rgba(16, 31, 60, 0.82);
  --ph-neon-soft: rgba(57, 255, 20, 0.08);
  --ph-orange-soft: rgba(255, 106, 0, 0.1);
  background: var(--c-primary);
  color: var(--c-text);
  font-family: var(--font-body);
  line-height: 1.7;
}

.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-home .ph-hero {
  position: relative;
  overflow: hidden;
  padding: 18px 0 36px;
}

.page-home .ph-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-home .ph-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 27, 61, 0.97) 0%, rgba(11, 27, 61, 0.86) 55%, rgba(11, 27, 61, 0.55) 100%);
}

.page-home .ph-hero-inner {
  position: relative;
  z-index: 1;
}

.page-home .ph-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-home .ph-crumb-link {
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-home .ph-crumb-link:hover {
  color: var(--c-accent);
}

.page-home .ph-hero-grid {
  display: grid;
  gap: 24px;
}

.page-home .ph-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-neon);
  text-transform: uppercase;
}

.page-home .ph-kicker-line {
  width: 28px;
  height: 2px;
  background: var(--c-neon);
}

.page-home .ph-h-title {
  margin: 8px 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.15;
}

.page-home .ph-h-sub {
  display: inline-block;
  margin-left: 4px;
  color: var(--c-accent);
  font-size: 0.55em;
  font-weight: 500;
}

.page-home .ph-slogan {
  max-width: 60ch;
  margin-bottom: 18px;
  color: var(--c-text-dim);
  font-size: 14px;
}

.page-home .ph-score-box {
  border: 1px solid var(--c-border);
  background: var(--ph-panel-1);
  box-shadow: var(--shadow-1);
}

.page-home .ph-score-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-border);
}

.page-home .ph-score-title {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.page-home .ph-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 10px var(--c-neon);
  animation: ph-breathe 1.8s ease-in-out infinite;
}

@keyframes ph-breathe {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 6px rgba(57, 255, 20, 0.8);
  }
  50% {
    opacity: 0.4;
    box-shadow: 0 0 2px rgba(57, 255, 20, 0.2);
  }
}

.page-home .ph-score-refresh {
  margin-left: auto;
  font-size: 11px;
  color: var(--c-text-dim);
}

.page-home .ph-score-body {
  padding: 4px 12px;
}

.page-home .ph-score-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-border);
}

.page-home .ph-score-item:last-child {
  border-bottom: 0;
}

.page-home .ph-score-sport {
  padding: 2px 6px;
  background: var(--c-secondary-bg);
  color: var(--c-neon);
  font-size: 11px;
}

.page-home .ph-score-team {
  font-family: var(--font-heading);
  font-size: 16px;
}

.page-home .ph-score-num {
  min-width: 2ch;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--c-accent);
}

.page-home .ph-score-colon {
  color: var(--c-text-dim);
}

.page-home .ph-score-round {
  margin-left: auto;
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-home .ph-score-state {
  padding: 2px 6px;
  border: 1px solid var(--c-border);
  color: var(--c-warning);
  font-size: 11px;
}

.page-home .ph-strip {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--ph-panel-2);
}

.page-home .ph-strip-track {
  display: flex;
  width: max-content;
  animation: ph-scroll 36s linear infinite;
}

.page-home .ph-strip-group {
  display: flex;
  gap: 24px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--c-text-dim);
  white-space: nowrap;
}

.page-home .ph-strip-group span::before {
  content: "◆ ";
  color: var(--c-accent);
}

@keyframes ph-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.page-home .ph-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .ph-card {
  position: relative;
  padding: 22px 18px 18px;
  border: 1px solid var(--c-border);
  background: var(--ph-panel-2);
}

.page-home .corner-tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 12px 4px;
  background: var(--c-accent);
  color: var(--c-primary);
  font-size: 11px;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-home .ph-tag-inline {
  position: relative;
  top: auto;
  left: auto;
  display: inline-block;
}

.page-home .ph-collect-tip,
.page-home .ph-channel-tip {
  margin: 16px 0 10px;
  font-size: 13px;
  color: var(--c-text-dim);
}

.page-home .ph-fav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--c-accent);
  color: var(--c-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.page-home .ph-fav:hover,
.page-home .ph-fav:focus {
  background: var(--c-primary);
  color: var(--c-accent);
  outline: 1px solid var(--c-accent);
  transform: translateY(-2px);
}

.page-home .ph-fav-tip {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--c-neon);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.page-home .ph-fav:hover + .ph-fav-tip,
.page-home .ph-fav:focus + .ph-fav-tip {
  opacity: 1;
  transform: none;
}

.page-home .ph-collect-list {
  margin: 12px 0;
  padding: 12px 0;
  list-style: none;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.page-home .ph-collect-list li {
  display: flex;
}

.page-home .ph-collect-list a {
  display: block;
  padding: 8px 0 8px 16px;
  border-left: 2px solid transparent;
  color: var(--c-text);
  font-size: 13px;
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

.page-home .ph-collect-list a:hover {
  border-left-color: var(--c-accent);
  padding-left: 22px;
  color: var(--c-accent);
}

.page-home .ph-collect-links {
  display: flex;
  gap: 12px;
  font-size: 12px;
}

.page-home .ph-collect-links a {
  color: var(--c-text-dim);
  text-decoration: none;
  border-bottom: 1px dashed var(--c-border);
  transition: color var(--transition-fast);
}

.page-home .ph-collect-links a:hover {
  color: var(--c-neon);
}

.page-home .ph-channel-link {
  color: var(--c-neon);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--c-neon);
  transition: color var(--transition-fast);
}

.page-home .ph-channel-link:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

.page-home .ph-slice {
  display: block;
  width: 100%;
  line-height: 0;
  background: var(--c-primary);
}

.page-home .ph-slice svg {
  display: block;
  width: 100%;
  height: 28px;
}

.page-home .ph-slice-rev svg {
  transform: scaleY(-1);
}

.page-home .ph-version {
  padding: 48px 0 36px;
}

.page-home .ph-version-frame {
  max-width: 980px;
}

.page-home .section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.page-home .ph-version-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .ph-version-tab {
  display: inline-block;
  padding: 10px 26px;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-text-dim);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.page-home .ph-version-tab:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.page-home .ph-version-panel {
  display: none;
  padding: 20px;
  border: 1px solid var(--c-border);
  background: var(--ph-panel-2);
}

.page-home .ph-version-panel#vs-simple {
  display: block;
}

.page-home .ph-version-panel#vs-new:target {
  display: block;
}

.page-home .ph-version-panel#vs-new:target ~ #vs-simple {
  display: none;
}

.page-home .ph-panel-name {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 24px;
}

.page-home .ph-version-panel p {
  max-width: 56ch;
  margin: 0;
  color: var(--c-text-dim);
  font-size: 14px;
}

.page-home .ph-version-meta {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border: 1px solid var(--c-border);
  color: var(--c-neon);
  font-size: 12px;
}

.page-home .ph-live {
  padding: 32px 0 44px;
  background: linear-gradient(180deg, var(--c-secondary-bg) 0%, var(--c-primary) 100%);
}

.page-home .ph-live-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .ph-live-desc {
  max-width: 56ch;
  color: var(--c-text-dim);
  font-size: 14px;
}

.page-home .ph-live-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 22px;
}

.page-home .ph-live-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-left: 10px;
  border-left: 2px solid var(--c-accent);
}

.page-home .ph-live-stat-num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--c-accent);
}

.page-home .ph-live-stat-label {
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-home .ph-live-viz {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--c-border);
  background: var(--c-secondary-bg);
}

.page-home .ph-live-viz figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-home .ph-review {
  padding: 40px 0 36px;
}

.page-home .ph-review-grid {
  display: grid;
  gap: 28px;
}

.page-home .ph-review-main {
  position: relative;
}

.page-home .ph-review-img {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.page-home .ph-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--c-accent);
  color: var(--c-primary);
  font-size: 11px;
  font-weight: 700;
}

.page-home .ph-card-tag-ghost {
  position: relative;
  top: auto;
  left: auto;
  display: inline-block;
  background: transparent;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
}

.page-home .ph-review-main h3 {
  margin: 16px 0 8px;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.3;
}

.page-home .ph-review-main p {
  color: var(--c-text-dim);
  font-size: 14px;
}

.page-home .ph-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--c-accent);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px dashed var(--c-accent);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.page-home .ph-more:hover {
  border-bottom-color: var(--c-neon);
  color: var(--c-neon);
}

.page-home .ph-review-list {
  display: grid;
  gap: 16px;
}

.page-home .ph-review-item {
  position: relative;
  padding: 18px 18px 16px 20px;
  border: 1px solid var(--c-border);
  background: var(--ph-panel-2);
}

.page-home .ph-review-item h3 {
  margin: 10px 0 6px;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.3;
}

.page-home .ph-review-item p {
  margin: 0;
  color: var(--c-text-dim);
  font-size: 14px;
}

.page-home .ph-weekend {
  padding: 44px 0 48px;
  background: var(--c-secondary-bg);
}

.page-home .ph-weekend-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .ph-weekend-poster {
  position: relative;
}

.page-home .ph-weekend-poster img {
  border: 1px solid var(--c-border);
}

.page-home .ph-weekend-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 14px;
  background: var(--c-neon);
  color: var(--c-primary);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-home .ph-weekend-desc {
  max-width: 56ch;
  color: var(--c-text-dim);
  font-size: 14px;
}

.page-home .ph-weekend-list {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .ph-weekend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--c-border);
}

.page-home .ph-weekend-order {
  padding: 6px 10px;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  font-family: var(--font-heading);
  font-size: 14px;
  white-space: nowrap;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.page-home .ph-weekend-match strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--c-text);
}

.page-home .ph-weekend-match em {
  font-style: normal;
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-home .ph-compare {
  padding: 36px 0 48px;
}

.page-home .ph-compare-desc {
  max-width: 70ch;
  color: var(--c-text-dim);
  font-size: 14px;
}

.page-home .ph-compare-wrap {
  margin: 18px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--c-border);
  background: var(--ph-panel-2);
}

.page-home .ph-compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

.page-home .ph-compare-table th,
.page-home .ph-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
}

.page-home .ph-compare-table thead th {
  background: var(--c-secondary-bg);
  color: var(--c-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-home .ph-compare-table tbody th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--c-neon);
}

.page-home .ph-compare-table tbody tr:last-child th,
.page-home .ph-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .ph-compare-table tbody tr:hover th,
.page-home .ph-compare-table tbody tr:hover td {
  background: var(--ph-orange-soft);
}

.page-home .ph-save {
  padding: 40px 0 48px;
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-secondary-bg) 120%);
}

.page-home .ph-save-inner {
  max-width: 980px;
}

.page-home .ph-save-lead {
  max-width: 60ch;
  color: var(--c-text-dim);
  font-size: 14px;
}

.page-home .ph-steps {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.page-home .ph-step {
  position: relative;
  padding: 18px 18px 14px 22px;
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  background: var(--ph-panel-2);
}

.page-home .ph-step-num {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--c-accent);
  opacity: 0.9;
}

.page-home .ph-step h3 {
  margin: 6px 0 4px;
  font-family: var(--font-heading);
  font-size: 18px;
}

.page-home .ph-step p {
  margin: 0;
  color: var(--c-text-dim);
  font-size: 13px;
}

.page-home .ph-save-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  background: var(--ph-neon-soft);
  font-size: 13px;
  color: var(--c-text-dim);
}

.page-home .ph-save-note-tag {
  padding: 2px 8px;
  background: var(--c-neon);
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 700;
}

.page-home .ph-save-note a {
  color: var(--c-neon);
  text-decoration: none;
  border-bottom: 1px solid var(--c-neon);
}

.page-home .ph-save-note a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

@media (min-width: 640px) {
  .page-home .ph-review-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .page-home .ph-hero {
    padding: 40px 0 64px;
  }

  .page-home .ph-hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }

  .page-home .ph-h-title {
    font-size: 52px;
  }

  .page-home .ph-slogan {
    font-size: 16px;
  }

  .page-home .ph-score-num {
    font-size: 34px;
  }

  .page-home .ph-score-item {
    padding: 14px 4px;
    gap: 8px 12px;
  }

  .page-home .ph-slice svg {
    height: 48px;
  }

  .page-home .ph-version {
    padding: 64px 0 56px;
  }

  .page-home .ph-version-panels {
    display: flex;
  }

  .page-home .ph-version-panel {
    display: none;
    flex: 1;
  }

  .page-home .ph-version-panel#vs-simple {
    display: block;
  }

  .page-home .ph-version-panel#vs-new:target {
    display: block;
  }

  .page-home .ph-version-panel#vs-new:target ~ #vs-simple {
    display: none;
  }

  .page-home .ph-live {
    padding: 48px 0 64px;
  }

  .page-home .ph-live-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .page-home .ph-live-stat-num {
    font-size: 38px;
  }

  .page-home .ph-review {
    padding: 56px 0 48px;
  }

  .page-home .ph-review-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
    align-items: start;
  }

  .page-home .ph-review-list {
    grid-template-columns: 1fr;
  }

  .page-home .ph-weekend {
    padding: 64px 0 72px;
  }

  .page-home .ph-weekend-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
  }

  .page-home .ph-compare {
    padding: 48px 0 64px;
  }

  .page-home .ph-compare-table th,
  .page-home .ph-compare-table td {
    padding: 16px 20px;
  }

  .page-home .ph-save {
    padding: 56px 0 64px;
  }

  .page-home .ph-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-strip-track,
  .page-home .ph-live-dot {
    animation: none;
  }
}
