.page-home {
  --ph-gold-glow: 0 0 18px rgba(245, 197, 66, 0.35);
  --ph-neon-glow: 0 0 18px rgba(155, 92, 255, 0.3);
  --ph-rose-glow: 0 0 22px rgba(255, 43, 125, 0.3);
  background: var(--c-base);
  color: var(--c-text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

.ph-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: 56px 20px 72px;
  background: var(--c-base);
  overflow: hidden;
  isolation: isolate;
}

.ph-hero-bg {
  position: absolute;
  inset: -8%;
  z-index: -2;
}

.ph-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.25) contrast(1.05);
}

.ph-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(13, 11, 15, 0.97) 0%, rgba(13, 11, 15, 0.88) 40%, rgba(155, 92, 255, 0.22) 66%, rgba(255, 43, 125, 0.32) 100%);
}

.ph-hero-rail {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--c-text);
  margin-bottom: 18px;
}

.ph-hero-rail span {
  letter-spacing: 8px;
  text-shadow: 0 0 16px rgba(155, 92, 255, 0.75);
}

.ph-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.ph-hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 4px;
  color: var(--c-gold);
  border-left: 3px solid var(--c-rose);
  padding-left: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ph-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4.4rem);
  line-height: 1.14;
  letter-spacing: 1px;
  margin: 0 0 18px;
  text-shadow: 0 6px 32px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 43, 125, 0.25);
}

.ph-hero-desc {
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--c-text-dim);
  border-left: 1px solid var(--c-neon);
  padding-left: 18px;
  margin: 0 0 28px;
}

.ph-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ph-cta-main,
.ph-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.ph-cta-main {
  background: var(--grad-neon);
  color: #fff;
  box-shadow: 0 0 24px rgba(155, 92, 255, 0.28);
}

.ph-cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255, 43, 125, 0.35);
}

.ph-cta-ghost {
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  background: rgba(245, 197, 66, 0.06);
}

.ph-cta-ghost:hover {
  border-color: var(--c-rose);
  color: var(--c-text);
  box-shadow: var(--ph-rose-glow);
}

.ph-hero-diamond {
  position: absolute;
  right: 6%;
  bottom: 14%;
  width: 56px;
  height: 56px;
  transform: rotate(30deg);
  background: linear-gradient(135deg, var(--c-rose), var(--c-neon));
  box-shadow: 0 0 40px rgba(255, 43, 125, 0.5);
  border-radius: 8px;
  z-index: 0;
  animation: phDiamondFloat 4s ease-in-out infinite alternate;
}

@keyframes phDiamondFloat {
  from { transform: rotate(30deg) translateY(0); }
  to { transform: rotate(30deg) translateY(-14px); }
}

.ph-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px;
}

.ph-side-collapse,
.ph-immersive-check {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.ph-sidebar {
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px 18px;
  order: 1;
  transition: opacity var(--ease);
}

.ph-side-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 0 14px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 10px;
}

.ph-side-nav ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}

.ph-side-rail-item a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  color: var(--c-text-dim);
  text-decoration: none;
  font-size: 0.86rem;
  transition: border-color var(--ease), color var(--ease), box-shadow var(--ease);
}

.ph-side-rail-item a:hover {
  border-color: var(--c-neon);
  color: var(--c-text);
  box-shadow: var(--ph-neon-glow);
}

.ph-side-facts {
  margin: 0;
  display: grid;
  gap: 10px;
}

.ph-side-fact {
  background: var(--c-surface-2);
  border-left: 2px solid var(--c-neon);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.ph-side-fact dt {
  font-size: 0.75rem;
  color: var(--c-text-dim);
  margin-bottom: 2px;
}

.ph-side-fact dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--c-gold);
}

.ph-side-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(245, 197, 66, 0.28);
  border-radius: var(--radius-sm);
  color: var(--c-text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
  background: rgba(245, 197, 66, 0.04);
}

.ph-content {
  min-width: 0;
  flex: 1;
  order: 2;
  padding: 0;
}

.ph-side-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--c-text-dim);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  margin-bottom: 18px;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--ease), color var(--ease);
}

.ph-side-toggle:hover {
  border-color: var(--c-neon);
  color: var(--c-text);
}

.ph-toggle-show,
.ph-toggle-kbd {
  display: none;
}

.ph-toggle-kbd {
  font-size: 0.72rem;
  opacity: 0.7;
}

.ph-side-collapse:checked ~ .ph-content .ph-toggle-show {
  display: inline;
}

.ph-side-collapse:checked ~ .ph-content .ph-toggle-hide {
  display: none;
}

.ph-side-collapse:checked ~ .ph-content .ph-toggle-kbd {
  display: inline;
  margin-left: 6px;
}

.ph-side-collapse:checked ~ .ph-sidebar {
  display: none;
}

.ph-section {
  padding: 28px 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--c-border);
}

.ph-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.ph-section-icon {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  box-shadow: 0 0 18px rgba(155, 92, 255, 0.14);
  flex-shrink: 0;
}

.ph-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 6px;
  position: relative;
  display: inline-block;
}

.ph-section-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 52px;
  margin-top: 6px;
  background: var(--grad-neon);
  border-radius: 2px;
}

.ph-section-desc {
  margin: 0;
  color: var(--c-text-dim);
  font-size: 0.94rem;
  line-height: 1.7;
}

.ph-section-more {
  margin-top: 20px;
  text-align: right;
}

.ph-section-more a {
  display: inline-block;
  color: var(--c-neon);
  text-decoration: none;
  font-size: 0.88rem;
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.ph-section-more a:hover {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
}

.ph-today {
  position: relative;
}

.ph-live-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ph-live-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.ph-live-card:nth-child(even) {
  transform: translateY(8px);
}

.ph-live-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.1), rgba(255, 43, 125, 0.16));
  opacity: 0;
  transition: opacity var(--ease);
  border-radius: var(--radius);
  pointer-events: none;
}

.ph-live-card:hover {
  border-color: var(--c-neon);
  box-shadow: 0 0 24px rgba(155, 92, 255, 0.24);
}

.ph-live-card:hover::after {
  opacity: 1;
}

.ph-live-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.ph-live-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.ph-live-badge-hot {
  background: rgba(255, 43, 125, 0.16);
  color: var(--c-rose);
  border: 1px solid rgba(255, 43, 125, 0.4);
}

.ph-live-badge-new {
  background: rgba(155, 92, 255, 0.16);
  color: var(--c-neon);
  border: 1px solid rgba(155, 92, 255, 0.4);
}

.ph-live-badge-rose {
  background: rgba(242, 238, 245, 0.08);
  color: var(--c-text);
  border: 1px solid var(--c-border);
}

.ph-live-badge-gold {
  background: rgba(245, 197, 66, 0.14);
  color: var(--c-gold);
  border: 1px solid rgba(245, 197, 66, 0.4);
}

.ph-live-name {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  margin: 0 0 4px;
  color: var(--c-text);
  font-weight: 400;
}

.ph-live-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--c-text-dim);
}

.ph-live-btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-neon);
  color: var(--c-neon);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(155, 92, 255, 0.08);
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}

.ph-live-btn:hover {
  background: var(--grad-neon);
  color: #fff;
  box-shadow: var(--ph-neon-glow);
  border-color: transparent;
}

.ph-replay {
  padding: 28px 0;
}

.ph-replay-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.ph-replay-filters input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ph-replay-filters label {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text-dim);
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.ph-replay-filters label:hover {
  border-color: var(--c-neon);
  color: var(--c-text);
}

.ph-replay-filters input:checked + label {
  background: var(--grad-neon);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--ph-neon-glow);
}

.ph-replay-day {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.ph-replay-day:hover {
  border-color: rgba(155, 92, 255, 0.55);
  box-shadow: var(--ph-neon-glow);
}

.ph-replay-day summary {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  user-select: none;
}

.ph-replay-day summary::-webkit-details-marker {
  display: none;
}

.ph-replay-day summary::before {
  content: "+";
  font-size: 1.2rem;
  color: var(--c-neon);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  flex-shrink: 0;
}

.ph-replay-day[open] summary::before {
  content: "−";
  color: var(--c-gold);
  border-color: var(--c-gold);
}

.ph-replay-badgeimg {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.ph-replay-dayname {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--c-text);
}

.ph-replay-daycount {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--c-text-dim);
  background: var(--c-surface-2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.ph-replay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-border);
}

.ph-replay-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(58, 45, 63, 0.5);
  transition: background var(--ease);
}

.ph-replay-item:last-child {
  border-bottom: none;
}

.ph-replay-item:hover {
  background: rgba(155, 92, 255, 0.06);
}

.ph-replay-itemtime {
  font-size: 0.8rem;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
  min-width: 48px;
}

.ph-replay-itemname {
  flex: 1;
  min-width: 0;
  color: var(--c-text);
  text-decoration: none;
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ph-replay-itemname:hover {
  color: var(--c-neon);
}

.ph-replay-itemcat {
  font-size: 0.72rem;
  color: var(--c-text-dim);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  flex-shrink: 0;
}

.page-home:has(#ph-rf-outdoor:checked) .ph-replay-item:not(.ph-cat-outdoor),
.page-home:has(#ph-rf-indoor:checked) .ph-replay-item:not(.ph-cat-indoor),
.page-home:has(#ph-rf-life:checked) .ph-replay-item:not(.ph-cat-life) {
  display: none;
}

.ph-screen {
  padding: 28px 0;
}

.ph-screen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: var(--grad-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ph-screen-demo {
  position: relative;
  min-height: 180px;
}

.ph-screen-img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.ph-screen-panel {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ph-screen-state {
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(244, 194, 63, 0.08);
}

.ph-screen-state-off {
  color: var(--c-text-dim);
  border: 1px solid var(--c-border);
}

.ph-screen-state-on {
  display: none;
  color: var(--c-gold);
  border: 1px solid rgba(245, 197, 66, 0.5);
  box-shadow: var(--ph-gold-glow);
}

.ph-screen-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 4px;
  cursor: pointer;
  user-select: none;
}

.ph-screen-toggle-track {
  display: inline-block;
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--c-disabled);
  border-radius: var(--radius-pill);
  transition: background var(--ease);
}

.ph-screen-toggle-thumb {
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform var(--ease);
}

.ph-screen-toggle-text {
  font-size: 0.9rem;
  color: var(--c-text);
  font-weight: 600;
}

.ph-screen-steps {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 0.86rem;
  color: var(--c-text-dim);
  line-height: 2;
}

.ph-screen-note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--c-text-dim);
  border-left: 2px solid var(--c-rose);
  padding-left: 12px;
}

.ph-screen-more {
  margin-top: 6px;
}

.ph-screen-more a {
  color: var(--c-neon);
  text-decoration: none;
  font-size: 0.86rem;
}

.ph-screen-more a:hover {
  color: var(--c-gold);
}

.page-home:has(.ph-immersive-check:checked) .ph-hero {
  filter: brightness(1.28) saturate(1.05);
  transition: filter 0.4s ease;
}

.page-home:has(.ph-immersive-check:checked) .ph-layout {
  background: rgba(26, 20, 32, 0.45);
  border-radius: var(--radius);
}

.page-home:has(.ph-immersive-check:checked) .ph-screen-state-on {
  display: inline-block;
}

.page-home:has(.ph-immersive-check:checked) .ph-screen-state-off {
  display: none;
}

.page-home:has(.ph-immersive-check:checked) .ph-screen-toggle-track {
  background: linear-gradient(135deg, #9b5cff, #ff2b7d);
}

.page-home:has(.ph-immersive-check:checked) .ph-screen-toggle-thumb {
  transform: translateX(22px);
}

.ph-schedule {
  padding: 28px 0;
}

.ph-schedule-timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 0 20px;
  border-left: 2px solid var(--c-border);
}

.ph-sched-item {
  position: relative;
  padding: 0 0 30px;
}

.ph-sched-item:last-child {
  padding-bottom: 0;
}

.ph-sched-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 3px solid var(--c-neon);
  box-shadow: 0 0 12px rgba(155, 92, 255, 0.3);
}

.ph-sched-future::before {
  border-color: var(--c-gold);
  box-shadow: 0 0 14px rgba(245, 197, 66, 0.55);
}

.ph-sched-gold::before {
  border-color: var(--c-rose);
  box-shadow: 0 0 14px rgba(255, 43, 125, 0.5);
}

.ph-sched-time {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--c-text);
  margin-bottom: 4px;
}

.ph-sched-future .ph-sched-time {
  color: var(--c-gold);
}

.ph-sched-content {
  padding: 12px 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  max-width: 560px;
}

.ph-sched-future .ph-sched-content {
  border-color: rgba(245, 197, 66, 0.4);
}

.ph-sched-flag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--c-text-dim);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  margin-bottom: 8px;
}

.ph-sched-future .ph-sched-flag {
  background: rgba(245, 197, 66, 0.12);
  color: var(--c-gold);
  border-color: rgba(245, 197, 66, 0.45);
}

.ph-sched-gold .ph-sched-flag {
  background: rgba(255, 43, 125, 0.12);
  color: var(--c-rose);
  border-color: rgba(255, 43, 125, 0.45);
}

.ph-sched-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 0;
  color: var(--c-text);
  font-weight: 400;
}

.ph-sched-future .ph-sched-title {
  color: var(--c-gold);
}

.ph-sched-meta {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--c-text-dim);
}

.ph-sched-note {
  margin: 24px 0 0;
  padding: 14px 18px;
  background: rgba(155, 92, 255, 0.08);
  border-left: 3px solid var(--c-neon);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--c-text-dim);
  font-size: 0.88rem;
}

.ph-cleanup {
  padding: 28px 0;
}

.ph-cleanup-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.ph-cleanup-stat {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.ph-cleanup-stat:hover {
  border-color: rgba(245, 197, 66, 0.5);
  box-shadow: var(--ph-gold-glow);
}

.ph-cleanup-num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--c-gold);
  line-height: 1.1;
}

.ph-cleanup-label {
  font-size: 0.76rem;
  color: var(--c-text-dim);
}

.ph-cleanup-log {
  display: grid;
  gap: 12px;
}

.ph-cleanup-entry {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ph-cleanup-week {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--c-neon);
}

.ph-cleanup-detail {
  margin: 0;
  font-size: 0.84rem;
  color: var(--c-text-dim);
  line-height: 1.7;
}

@media (min-width: 600px) {
  .ph-live-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .ph-live-card:nth-child(even) {
    transform: translateY(12px);
  }

  .ph-cleanup-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .ph-screen-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ph-screen-panel {
    padding: 30px;
  }
}

@media (min-width: 900px) {
  .ph-hero {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    min-height: 92vh;
    padding: 60px 6vw 80px;
  }

  .ph-hero-rail {
    writing-mode: vertical-rl;
    text-orientation: upright;
    height: 62vh;
    border-right: 1px solid var(--c-border);
    padding-right: 18px;
    letter-spacing: 14px;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 0;
  }

  .ph-hero-content {
    padding: 0 4vw;
    max-width: 940px;
  }

  .ph-hero-diamond {
    width: 72px;
    height: 72px;
  }

  .ph-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
  }

  .ph-sidebar {
    width: 280px;
    flex-shrink: 0;
    order: 1;
    position: sticky;
    top: 92px;
    padding: 24px 22px;
  }

  .ph-content {
    order: 2;
    padding: 0 8px;
  }

  .ph-side-nav ol {
    flex-direction: column;
  }
}

@media (min-width: 1200px) {
  .ph-layout {
    max-width: 1600px;
    padding: 32px;
  }

  .ph-sidebar {
    width: 320px;
  }
}
