/* Phase 9 — How To Play page only. No changes to homepage, other pages, or Phase 8 navigation. */
#about { color: #f6f2ff; }
#about .htp-wrap { max-width: 1150px; margin: 8px auto 32px; display: grid; gap: 18px; }
#about .htp-intro { text-align: center; padding: 22px 18px; background: linear-gradient(140deg,#2d0e54,#160c36); border: 1px solid rgba(20,224,197,.62); border-radius: 16px; }
#about .htp-eyebrow { color:#14e0c5; text-transform:uppercase; letter-spacing:.16em; font-size:.77rem; font-weight:800; margin:0 0 7px; }
#about .htp-intro h2 { color:#fff; margin: 0 0 10px; font-size: clamp(1.5rem,3.5vw,2.2rem); }
#about .htp-intro>p:not(.htp-eyebrow) { max-width:720px; margin:0 auto 18px; line-height:1.6; color:#e5dcfa; }
#about .htp-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
#about .htp-facts>div { background:#431476; border:1px solid rgba(20,224,197,.5); border-radius:10px; padding:12px 8px; display:flex; flex-direction:column; gap:5px; }
#about .htp-facts strong { color:#14e0c5; font-size:1.65rem; line-height:1; }
#about .htp-facts span { color:#fff; font-size:.78rem; }
#about .htp-panel { padding: clamp(17px,2.5vw,28px); background:linear-gradient(135deg,#2d1054 0%,#1d103c 100%); border:1px solid rgba(185,100,255,.55); border-radius:15px; box-shadow:0 8px 25px rgba(0,0,0,.13); }
#about .htp-panel h3 { color:#14e0c5; font-size:clamp(1.18rem,2vw,1.5rem); margin:0 0 13px; }
#about .htp-panel h4 { color:#fff; font-size:1.1rem; margin:0 0 7px; }
#about .htp-panel p { color:#eee6fa; line-height:1.65; margin:0 0 12px; }
#about .htp-panel p:last-child { margin-bottom:0; }
#about .htp-panel strong { color:#fff; }
#about .htp-list { margin:0; padding:0 0 0 21px; display:grid; gap:11px; line-height:1.6; color:#eee6fa; }
#about .htp-list li::marker { color:#14e0c5; }
#about .htp-small { font-size:.87rem; color:#c9bddf !important; }
#about .htp-accordions { display:grid; gap:12px; margin:16px 0; }
#about details.htp-family { background:#371362; border:1px solid #14e0c5; border-radius:12px; overflow:hidden; }
#about details.htp-family>summary { display:flex; gap:12px; align-items:center; padding:17px 18px; cursor:pointer; list-style:none; font-size:1.04rem; }
#about details summary::-webkit-details-marker { display:none; }
#about .htp-family-name { color:#fff; font-weight:750; }
#about .htp-family-hint { color:#c9b6df; font-size:.85rem; margin-left:auto; text-align:right; }
#about .htp-toggle { flex:0 0 auto; width:9px; height:9px; border-right:2px solid #14e0c5; border-bottom:2px solid #14e0c5; transform:rotate(45deg); transition:transform .15s ease; margin:0 4px 4px; }
#about details[open]>summary>.htp-toggle { transform:rotate(225deg); margin-top:6px; margin-bottom:0; }
#about .htp-family-content { display:grid; gap:9px; padding:12px; border-top:1px solid rgba(20,224,197,.3); }
#about details.htp-category { background:#230e43; border:1px solid #69428b; border-radius:9px; overflow:hidden; }
#about details.htp-category>summary { cursor:pointer; list-style:none; color:#fff; font-weight:650; padding:13px 15px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
#about .htp-category-body { padding:0 12px 12px; }
#about .htp-score-table { width:100%; border-collapse:collapse; color:#eee6fa; table-layout:fixed; }
#about .htp-score-table th,#about .htp-score-table td { padding:9px 6px; border-bottom:1px solid #4c2c68; font-size:.89rem; }
#about .htp-score-table th { text-align:left; font-weight:450; width:66%; }
#about .htp-score-table td { color:#14e0c5; font-weight:700; text-align:right; font-variant-numeric:tabular-nums; }
#about .htp-scoring-notes { border-left:3px solid #14e0c5; padding:12px 14px; background:rgba(11,6,32,.54); border-radius:0 8px 8px 0; margin:16px 0 22px; }
#about .htp-scoring-notes p { margin:0 0 9px; font-size:.9rem; }
#about .htp-example { background:#190b34; border:1px solid #67438a; border-radius:12px; padding:17px; }
#about .htp-table-scroll { max-width:100%; overflow-x:auto; }
#about .htp-example-table { border-collapse:collapse; width:100%; min-width:510px; font-size:.88rem; color:#fff; }
#about .htp-example-table th,#about .htp-example-table td { padding:11px 9px; border-bottom:1px solid #53356c; text-align:left; vertical-align:top; }
#about .htp-example-table td:last-child,#about .htp-example-table thead th:last-child { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
#about .htp-example-table thead th { background:#421475; color:#14e0c5; }
#about .htp-example-table .htp-total { color:#14e0c5; background:#341258; font-weight:800; }
#about summary:focus-visible { outline:3px solid #fff; outline-offset:-3px; }
@media(max-width:700px) { #about .htp-facts { grid-template-columns:repeat(2,minmax(0,1fr)); } #about .htp-family-hint { display:none; } }
@media(prefers-reduced-motion: reduce) { #about .htp-toggle { transition:none; } }

/* Phase 9 refinement: the three categories are visible simultaneously when a family opens. */
#about .htp-family-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
#about .htp-category {
  min-width: 0;
  background: #230e43;
  border: 1px solid #69428b;
  border-radius: 9px;
  overflow: hidden;
}
#about .htp-category h4 {
  margin: 0;
  padding: 13px 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #341355;
  border-bottom: 1px solid #69428b;
}
#about .htp-category-body { padding: 8px 9px 12px; }
#about .htp-score-table th, #about .htp-score-table td {
  font-size: clamp(.72rem, .85vw, .86rem);
  padding: 9px 4px;
  overflow-wrap: anywhere;
}
#about .htp-score-table th { width: 59%; }
#about .htp-score-table td { width: 41%; }
@media (max-width: 950px) {
  #about .htp-family-content { grid-template-columns: 1fr; }
  #about .htp-score-table th, #about .htp-score-table td { font-size: .9rem; }
}
