/* ============================================================
   LOUNGE-RADIO.COM – Webplayer iframe base styles
   ------------------------------------------------------------
   What you can tune quickly:
   - Text sizing / spacing (affects how tall the iframe content feels)
   - Label column width
   - Global radius and colors
   NOTE: The actual iframe HEIGHT/WIDTH is controlled on the parent page:
         .frame.now and .frame.next in index.html (not inside the iframe)
   ============================================================ */

/* ---------- TWEAK ZONE (safe edits) ---------- */
:root{
  /* Colors */
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.12);

  /* Shape */
  --radius: 14px;

  /* Typography scale (affects overall “feel/height”) */
  --title-size: 12px;
  --label-size: 11px;
  --value-size: 13px;
  --artist-size: 13px;

  /* Spacing scale (affects overall “feel/height”) */
  --title-margin-bottom: 10px;
  --meta-margin-top: 10px;
  --row-gap: 10px;
  --row-margin-top: 8px;

  /* Label column width (changes left column width in rows) */
  --label-col: 60px;
}

/* ---------- Base reset ---------- */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html, body{
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
}

/* ---------- Section title ---------- */
.section-title h2{
  margin: 0 0 var(--title-margin-bottom);
  font-size: var(--title-size);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  line-height: 1.3;
  text-align: left;
}

/* ---------- Meta / rows ---------- */
.meta{
  margin-top: var(--meta-margin-top);
  text-align: left;
}

.row{
  display: grid;
  grid-template-columns: var(--label-col) 1fr;
  gap: var(--row-gap);
  align-items: start;
  margin-top: var(--row-margin-top);
}
.row:first-child{ margin-top: 0; }

.label{
  font-size: var(--label-size);
  font-weight: 800;
  color: rgba(255,255,255,.80);
  line-height: 1.25;
  padding-top: 2px;
}

.value{
  min-width: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.value.artist{
  font-size: var(--artist-size);
  font-weight: 650;
}

.value.title{
  font-size: var(--value-size);
  font-weight: 650;
}

.value.album{
  font-size: var(--value-size);
  font-weight: 600;
  color: var(--muted);
}

.clamp2{
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Safari / Chromium */
  line-clamp: 2;         /* Future standard */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Mobile tweak points ----------
   If you want the iframe content to feel smaller on mobile,
   reduce these sizes. (Again: iframe element height is set on parent page.)
*/
@media (max-width: 420px){
  :root{
    /* Example: you can slightly increase label width or font size */
    --label-col: 60px;
  }
}
