/* TuneTune unified /play presentation — commands + home, 2026-09-05 */

/* Full command reference: sources are capabilities, never commands. */
.play-source-panel{
  margin:16px 0 4px;
  padding:20px;
  border:1px solid #d8e6f3;
  border-radius:16px;
  background:linear-gradient(145deg,#f8fcff 0%,#f4f2ff 100%);
}
.play-source-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.play-source-panel__head h3{margin:3px 0 5px;font-size:18px;color:#17233f}
.play-source-panel__head p{margin:0;max-width:720px;color:#667085;font-size:13px;line-height:1.55}
.play-source-panel__kicker{
  display:inline-flex;
  align-items:center;
  min-height:23px;
  padding:3px 8px;
  border-radius:999px;
  background:#e5f6ff;
  color:#0969da;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.play-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.play-source-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:54px;
  padding:11px 12px;
  border:1px solid #dfe7f0;
  border-radius:12px;
  background:rgba(255,255,255,.86);
}
.play-source-card strong{min-width:0;color:#24292f;font-size:13px}
.play-source-access{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:2px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}
.play-source-access--free{background:#dafbe1;color:#116329}
.play-source-access--premium{background:#f1e8ff;color:#6639ba}
.play-source-panel__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #dfe7f0;
  color:#57606a;
  font-size:12px;
  line-height:1.5;
}
.play-source-panel__foot strong{color:#24292f}
.play-source-examples{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.play-source-examples code{
  display:inline-flex;
  padding:6px 9px;
  border:1px solid #d8e6f3;
  border-radius:8px;
  background:#fff;
  color:#0969da;
  font-size:11px;
  font-weight:800;
}

/* Homepage: make /play the visual entry point instead of one card among many. */
.play-command-spotlight{
  position:relative;
  overflow:hidden;
  margin-bottom:20px;
  padding:30px;
  border:1px solid #bfe9f8;
  border-radius:28px;
  background:
    radial-gradient(circle at 92% 12%,rgba(16,189,245,.16),transparent 28%),
    linear-gradient(145deg,#f8fdff 0%,#eefaff 58%,#f8f5ff 100%);
  box-shadow:0 18px 45px rgba(21,126,176,.10);
}
.play-command-spotlight__top{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);
  align-items:end;
  gap:28px;
}
.play-command-spotlight__eyebrow{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:26px;
  padding:4px 10px;
  border-radius:999px;
  background:#dff7ff;
  color:var(--primary-dark);
  font-size:11px;
  font-weight:900;
  letter-spacing:.1em;
}
.play-command-spotlight h3{margin:12px 0 9px;color:var(--navy);font-size:clamp(24px,3vw,34px)}
.play-command-spotlight p{max-width:700px;color:var(--muted);line-height:1.65}
.play-command-syntax{
  display:inline-flex;
  max-width:100%;
  margin-top:18px;
  padding:12px 15px;
  border:1px solid #bfe9f8;
  border-radius:14px;
  background:#fff;
  color:var(--primary-dark);
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:clamp(13px,1.7vw,16px);
  font-weight:900;
  overflow-wrap:anywhere;
}
.play-command-examples{display:grid;gap:8px}
.play-command-examples span{color:var(--muted);font-size:12px;font-weight:800}
.play-command-examples code{
  display:block;
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.88);
  color:#3d536b;
  font-size:12px;
  overflow-wrap:anywhere;
}
.home-play-sources{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid rgba(16,143,211,.15);
}
.home-source-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:6px 10px;
  border:1px solid #d8edf6;
  border-radius:999px;
  background:rgba(255,255,255,.8);
  color:#42566d;
  font-size:12px;
  font-weight:900;
}
.home-source-chip small{
  display:inline-flex;
  align-items:center;
  min-height:19px;
  padding:1px 6px;
  border-radius:999px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.home-source-chip--free small{background:#dafbe1;color:#116329}
.home-source-chip--premium small{background:#f1e8ff;color:#6639ba}
.commands-grid--controls{margin-top:0}
.help-preview__note{
  margin:-7px 0 18px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.help-preview__note code{color:var(--primary-dark);font-weight:900}

html[data-theme="dark"] .play-command-spotlight{
  border-color:#294b61;
  background:
    radial-gradient(circle at 92% 12%,rgba(16,189,245,.12),transparent 28%),
    linear-gradient(145deg,#152336 0%,#13283a 58%,#1b2036 100%);
  box-shadow:none;
}
html[data-theme="dark"] .play-command-spotlight h3{color:var(--theme-text,#eef6ff)}
html[data-theme="dark"] .play-command-syntax,
html[data-theme="dark"] .play-command-examples code,
html[data-theme="dark"] .home-source-chip{
  background:#101b2a;
  border-color:#2b4357;
  color:#d9e7f4;
}
html[data-theme="dark"] .home-play-sources{border-top-color:#294b61}

@media(max-width:900px){
  .play-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .play-source-panel__foot{align-items:flex-start;flex-direction:column}
  .play-source-examples{justify-content:flex-start}
  .play-command-spotlight__top{grid-template-columns:1fr}
}
@media(max-width:640px){
  .play-source-panel{padding:16px}
  .play-source-panel__head{display:block}
  .play-source-panel__head .play-source-panel__kicker{margin-bottom:8px}
  .play-source-grid{grid-template-columns:1fr}
  .play-source-card{min-height:50px}
  .play-command-spotlight{padding:22px;border-radius:22px}
  .play-command-syntax{display:block;width:100%}
  .home-play-sources{gap:7px}
  .home-source-chip{width:100%;justify-content:space-between;border-radius:12px}
}
