/* ============================================================
   RadioGrub — profile.css
   The station profile additions to /station/<id>: open-now, the
   call to action, hours, location, contact & links, menu.
   Structure only — built from the existing tokens and card look so
   Joe's mockup can re-skin it without untangling anything.
   ============================================================ */

#view-station .stTagline{ margin-top:4px; font-weight:800; font-size:16px; }
#view-station .stLiveDj{
  display:inline-flex; margin-left:8px; font-size:12px; font-weight:950;
  padding:6px 11px; border-radius:999px; background:var(--accent); color:#fff;
}
#view-station .stLiveDj::before{ content:""; width:6px; height:6px; margin:5px 7px 0 0; border-radius:50%; background:currentColor; animation:blink 1.4s infinite; }

#view-station .stOpen{
  display:inline-flex; margin-top:10px; font-size:13px; font-weight:900;
  padding:5px 11px; border-radius:999px; border:1px solid var(--line); background:var(--surface2); color:var(--muted);
}
/* "Open" was a dark forest green picked for a white page — 3.44:1 here, and a
   fifth hue on a site whose identity is three colours. A place being open is
   good news, and on this palette good news is white on a lit surface, with the
   brand red carrying the emphasis. */
#view-station .stOpen.open,
#view-station .stOpen.always{
  color:var(--text); border-color:var(--accentLine); background:var(--accentSoft);
}
#view-station .stOpen.open::before,
#view-station .stOpen.always::before{
  content:""; width:7px; height:7px; border-radius:50%; margin-right:7px; align-self:center;
  background:var(--accentHot); box-shadow:0 0 8px var(--accentHot);
}

/* "this section is sample content" — the same honesty as the DEMO badge */
.sampleTag{
  display:inline-block; vertical-align:middle; margin-left:6px;
  font-size:10px; font-weight:950; letter-spacing:.1em; text-transform:uppercase;
  padding:3px 7px; border-radius:999px; background:var(--warmSoft); border:1px solid rgba(255,198,26,.5); color:var(--text);
}

#view-station .stHours{ width:100%; border-collapse:collapse; font-size:14px; }
#view-station .stHours th{ text-align:left; font-weight:850; padding:6px 0; width:40%; }
#view-station .stHours td{ text-align:right; color:var(--muted); font-weight:700; padding:6px 0; }
#view-station .stHours tr + tr{ border-top:1px solid var(--line2); }
#view-station .stHours tr.today th,
#view-station .stHours tr.today td{ color:var(--accentText); font-weight:950; }
#view-station .stHoursAlways{ margin:0; font-weight:900; }

#view-station .stAddress{ font-style:normal; font-weight:750; line-height:1.55; margin-bottom:12px; }
#view-station .stRowBtns{ display:flex; gap:8px; flex-wrap:wrap; }

#view-station .stSocials{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
#view-station .stSocial{
  font-size:13px; font-weight:900; text-decoration:none; color:inherit;
  padding:7px 12px; border-radius:999px; border:1px solid var(--line2); background:var(--surface2);
}
#view-station .stSocial:hover{ border-color:var(--accentLine); background:var(--accentSoft); color:var(--accentText); }

#view-station .stMenuSection + .stMenuSection{ margin-top:14px; }
#view-station .stMenuSection h3{ margin:0 0 6px; font-size:14px; font-weight:950; text-transform:uppercase; letter-spacing:.06em; color:var(--muted2); }
#view-station .stMenuItem{ display:flex; gap:12px; justify-content:space-between; padding:8px 0; border-bottom:1px dashed var(--line2); }
#view-station .stMenuName{ font-weight:900; font-size:14px; }
#view-station .stMenuName small{ display:block; color:var(--muted); font-weight:650; font-size:12.5px; margin-top:2px; }
#view-station .stMenuPrice{ font-weight:950; white-space:nowrap; }
#view-station .stMenuImg img{ display:block; width:100%; height:auto; border-radius:12px; border:1px solid var(--line2); }

/* ------------------------------------------------------------
   THE COVER BANNER — a wide cover across the top of the profile,
   the station's artwork overlapping its bottom edge (Facebook-style).
   Owner-uploaded in the dashboard; unset, it is a clean cover drawn
   from the station's own colour (--cover, the same colour its
   initials tile uses) over the page black. No stock, no text.
   ------------------------------------------------------------ */
#view-station .stCover{
  position:relative; overflow:hidden;
  aspect-ratio: 3 / 1; min-height:150px; max-height:340px; width:100%;
  border-radius: var(--r20) var(--r20) 0 0;
  border:1px solid var(--line2); border-bottom:none;
  background:#0d0d10;
}
#view-station .stCover--default{
  background:
    radial-gradient(70% 140% at 12% 120%, color-mix(in srgb, var(--cover) 62%, transparent), transparent 62%),
    radial-gradient(55% 120% at 92% -20%, color-mix(in srgb, var(--cover) 30%, transparent), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, #17171d, #0a0a0c 70%);
}
#view-station .stCoverImg{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position: var(--coverPos, center center);
  display:block;
}
/* a soft fall-off into the card below, so the overlapping art has ground */
#view-station .stCover::after{
  content:""; position:absolute; inset:auto 0 0 0; height:45%;
  background:linear-gradient(to bottom, transparent, rgba(18,18,22,.72));
  pointer-events:none;
}

/* the profile card joins the cover */
#view-station .hero.stHasCover{
  border-top-left-radius:0; border-top-right-radius:0;
  align-items:start; padding-top:18px;
}
#view-station .hero.stHasCover .heroArt{ margin-top:-110px; position:relative; z-index:2; }
#view-station .hero.stHasCover .heroArt .rgArt{
  box-shadow: 0 0 0 5px var(--surface), 0 20px 44px rgba(0,0,0,.55);
}

@media (max-width:900px){
  #view-station .stCover{ aspect-ratio: 2.2 / 1; min-height:130px; }
  #view-station .hero.stHasCover .heroArt{ margin-top:-84px; width:min(150px, 42vw); }
}

#view-station .stHandle{ margin-top:2px; font-weight:800; font-size:15px; color:var(--muted); letter-spacing:.01em; }
