/* =====================================================================

   IskRadioPlayer Landing — Design System

   Shared by: index.php · privacy.php · cookie-policy.php

   ===================================================================== */



/* ── Design tokens ─────────────────────────────────────────────────── */

:root {

  --c-primary:      #ab0524;

  --c-primary-dk:   #870418;

  --c-primary-glow: rgba(171, 5, 36, 0.32);

  --c-bg:           #0c0911;

  --c-bg2:          #130c17;

  --c-surface:      rgba(255, 255, 255, 0.05);

  --c-border:       rgba(255, 255, 255, 0.1);

  --c-text:         #f1f5f9;

  --c-muted:        #94a3b8;

  --c-accent:       #fca5a5;

  --header-h:       64px;

  --r-card:         20px;

  --r-pill:         999px;

  --z-header:       100;

  --z-app-banner:   190;

  --z-banner:       200;

  /* Player dimensions — fallback; overridden by PHP <style> in index.php */

  --player-w:       1200px;

  --player-h:       500px;

}



/* ── Reset ──────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }



body {

  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  font-size: 1rem;

  line-height: 1.6;

  color: var(--c-text);

  background:

    radial-gradient(ellipse at 18% 38%, rgba(171, 5, 36, .28) 0%, transparent 55%),

    radial-gradient(ellipse at 82% 66%, rgba(171, 5, 36, .14) 0%, transparent 48%),

    linear-gradient(160deg, var(--c-bg) 0%, var(--c-bg2) 100%);

  min-height: 100dvh;

}



/* ═══════════════════════════════════════════════════════════════════════

   SHARED COMPONENTS

   ═══════════════════════════════════════════════════════════════════════ */



/* ── Header ─────────────────────────────────────────────────────────── */

.site-header {

  position: fixed;

  inset: 0 0 auto 0;

  z-index: var(--z-header);

  height: var(--header-h);

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 clamp(16px, 4vw, 48px);

  background: rgba(12, 9, 17, .82);

  -webkit-backdrop-filter: blur(12px);

  backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--c-border);

}



/* Pagine documento: header sticky (non fixed) */

.site-header--sticky {

  position: sticky;

  top: 0;

  background: rgba(12, 9, 17, .9);

}



.site-logo {

  display: flex;

  align-items: center;

  gap: 10px;

  text-decoration: none;

  color: var(--c-text);

}



.logo-mark {

  width: 36px;

  height: 36px;

  border-radius: 10px;

  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dk));

  display: grid;

  place-items: center;

  flex-shrink: 0;

  overflow: hidden;

  /* Sostituire con: <img src="assets/logo.svg" alt="" width="36" height="36"> */

}



.logo-text {

  font-size: 1.05rem;

  font-weight: 700;

  letter-spacing: .02em;

}



.back-link {

  display: flex;

  align-items: center;

  gap: 6px;

  color: var(--c-muted);

  font-size: .875rem;

  text-decoration: none;

  min-height: 44px;

  padding: 8px 12px;

  border-radius: var(--r-pill);

  transition: color .15s ease, background .15s ease;

}

.back-link:hover { color: var(--c-text); background: rgba(255,255,255,.06); }

.back-link:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }



/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer {

  padding: 24px clamp(16px, 4vw, 48px);

  border-top: 1px solid var(--c-border);

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  align-items: center;

  gap: 6px 20px;

}



.site-footer p,

.site-footer a { font-size: .8rem; color: var(--c-muted); }

.site-footer a { text-decoration: none; transition: color .15s ease; }

.site-footer a:hover { color: var(--c-text); }



/* ═══════════════════════════════════════════════════════════════════════

   LANDING PAGE

   ═══════════════════════════════════════════════════════════════════════ */



/* ── Skip link ──────────────────────────────────────────────────────── */

.skip-link {

  position: absolute;

  top: -100%;

  left: 16px;

  z-index: 999;

  padding: 8px 16px;

  background: var(--c-primary);

  color: #fff;

  border-radius: 0 0 8px 8px;

  font-size: .875rem;

  font-weight: 600;

  text-decoration: none;

  transition: top .2s ease;

}

.skip-link:focus { top: 0; }



/* ── Nav ────────────────────────────────────────────────────────────── */

.site-nav {

  display: flex;

  align-items: center;

  gap: 4px;

}



.site-nav a {

  display: flex;

  align-items: center;

  min-height: 44px;

  padding: 8px 14px;

  border-radius: var(--r-pill);

  color: var(--c-muted);

  font-size: .875rem;

  text-decoration: none;

  touch-action: manipulation;

  cursor: pointer;

  transition: color .15s ease, background .15s ease;

}

.site-nav a:hover { color: var(--c-text); background: var(--c-surface); }

.site-nav a:focus-visible {

  outline: 2px solid var(--c-primary);

  outline-offset: 2px;

  color: var(--c-text);

}



/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {

  min-height: 100dvh;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 28px;

  text-align: center;

  padding: calc(var(--header-h) + 40px) clamp(16px, 4vw, 40px) 56px;

}



.live-badge {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 6px 14px;

  border-radius: var(--r-pill);

  background: rgba(171, 5, 36, .15);

  border: 1px solid rgba(171, 5, 36, .38);

  font-size: .78rem;

  font-weight: 700;

  letter-spacing: .07em;

  text-transform: uppercase;

  color: var(--c-accent);

}



.live-dot {

  position: relative;

  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: var(--c-accent);

  flex-shrink: 0;

}



.live-dot::after {

  content: '';

  position: absolute;

  inset: 0;

  border-radius: 50%;

  background: var(--c-accent);

  will-change: transform, opacity;

  animation: live-pulse 1.8s ease infinite;

}



@keyframes live-pulse {

  0%   { transform: scale(1); opacity: .7; }

  100% { transform: scale(3); opacity: 0; }

}



.hero-title {

  font-size: clamp(2.6rem, 7vw, 5rem);

  font-weight: 800;

  line-height: 1.05;

  letter-spacing: -.025em;

  /*max-width: 14ch;*/

  background: linear-gradient(135deg, #ffffff 25%, var(--c-accent) 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

}



.hero-tagline {

  font-size: clamp(1rem, 2.4vw, 1.2rem);

  color: var(--c-muted);

  /*max-width: 48ch;*/

  line-height: 1.65;

}



/* ── Player iframe ──────────────────────────────────────────────────── */

.player-wrap {

  /* Desktop: usa le dimensioni configurate in var.php ($iframe_w × $iframe_h)    */

  /* Se il viewport è più stretto, la width si restringe; le media query sotto    */

  /* ridefiniscono l'altezza per portrait/landscape quando necessario.             */

  width: min(var(--player-w), calc(100vw - 40px));

  height: var(--player-h);

  border-radius: var(--r-card);

  overflow: hidden;

  box-shadow:

    0 0 0 1px var(--c-border),

    0 24px 64px rgba(0, 0, 0, .55),

    0 0 100px var(--c-primary-glow);

}



.player-wrap iframe {

  width: 100%;

  height: 100%;

  border: none;

  display: block;

}



/* Smartphone portrait: player più alto per layout verticale del player interno */

@media (max-width: 767px) and (orientation: portrait) {

  .player-wrap {

    width: calc(100vw - 32px);

    height: clamp(460px, 80svh, 720px);

  }

}



/* ── Feature pills ──────────────────────────────────────────────────── */

.feature-pills {

  list-style: none;

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 10px;

}



.pill {

  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 8px 16px;

  border-radius: var(--r-pill);

  background: var(--c-surface);

  border: 1px solid var(--c-border);

  font-size: .82rem;

  color: var(--c-muted);

  white-space: nowrap;

}

.pill svg { flex-shrink: 0; }



/* ── App download section ───────────────────────────────────────────── */

.app-section {

  padding: 80px clamp(16px, 4vw, 48px);

  text-align: center;

  border-top: 1px solid var(--c-border);

  position: relative;

  overflow: hidden;

}



/* Alone di luce sul fondo per dare profondità */

.app-section::before {

  content: '';

  position: absolute;

  inset: 0;

  background: radial-gradient(ellipse at 50% 100%, rgba(171, 5, 36, .12) 0%, transparent 65%);

  pointer-events: none;

}



.app-section__inner {

  position: relative;

  /*max-width: 600px;*/

  margin: 0 auto;

}



.app-section__eyebrow {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  font-size: .72rem;

  font-weight: 700;

  letter-spacing: .1em;

  text-transform: uppercase;

  color: var(--c-accent);

  margin-bottom: 16px;

}



.app-section__eyebrow::before,

.app-section__eyebrow::after {

  content: '';

  display: block;

  width: 28px;

  height: 1px;

  background: currentColor;

  opacity: .45;

}



.app-section__title {

  font-size: clamp(1.7rem, 4.5vw, 2.6rem);

  font-weight: 800;

  line-height: 1.1;

  letter-spacing: -.025em;

  margin-bottom: 14px;

  background: linear-gradient(135deg, #ffffff 30%, var(--c-accent) 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

}



.app-section__sub {

  font-size: 1rem;

  color: var(--c-muted);

  line-height: 1.65;

  /*max-width: 44ch;*/

  margin: 0 auto 40px;

}



.store-btns {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 16px;

}



.store-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 16px 36px;

  min-height: 60px;

  border-radius: var(--r-pill);

  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dk) 100%);

  border: none;

  color: #fff;

  text-decoration: none;

  box-shadow: 0 4px 20px var(--c-primary-glow);

  touch-action: manipulation;

  transition: box-shadow .15s ease, transform .12s ease, filter .15s ease;

}



.store-btn:hover {

  filter: brightness(1.12);

  box-shadow: 0 6px 28px var(--c-primary-glow);

  transform: translateY(-2px);

}



.store-btn:active { transform: translateY(0); box-shadow: 0 2px 10px var(--c-primary-glow); }



.store-btn:focus-visible {

  outline: 2px solid var(--c-accent);

  outline-offset: 3px;

}



.store-btn__text {

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  gap: 2px;

}



.store-btn__text small {

  font-size: .65rem;

  font-weight: 500;

  color: rgba(255, 255, 255, .72);

  text-transform: uppercase;

  letter-spacing: .08em;

  line-height: 1;

}



.store-btn__text strong {

  font-size: 1.05rem;

  font-weight: 700;

  letter-spacing: -.01em;

  line-height: 1.2;

}



@media (max-width: 400px) {

  .store-btns { flex-direction: column; align-items: center; }

  .store-btn   { width: 100%; max-width: 280px; }

}



/* ── Cookie banner ──────────────────────────────────────────────────── */

#cookie-banner {

  position: fixed;

  inset: auto 0 0 0;

  z-index: var(--z-banner);

  padding: 16px clamp(16px, 4vw, 48px);

  background: rgba(19, 12, 23, .97);

  -webkit-backdrop-filter: blur(8px);

  backdrop-filter: blur(8px);

  border-top: 1px solid var(--c-border);

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 12px;

  transform: translateY(0);

  transition: transform .3s ease;

}

#cookie-banner.hidden { transform: translateY(110%); }



.cookie-text {

  flex: 1;

  min-width: 220px;

  font-size: .82rem;

  color: var(--c-muted);

  line-height: 1.5;

}

.cookie-text a { color: var(--c-accent); }



.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }



.btn-cookie {

  min-height: 44px;

  padding: 10px 20px;

  border: none;

  border-radius: 10px;

  font-size: .84rem;

  font-weight: 600;

  cursor: pointer;

  touch-action: manipulation;

  transition: filter .15s ease, transform .12s ease;

}

.btn-cookie:hover  { filter: brightness(1.12); transform: translateY(-1px); }

.btn-cookie:active { transform: translateY(0); }

.btn-cookie:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }



.btn-accept  { background: var(--c-primary); color: #fff; }

.btn-decline { background: rgba(255,255,255,.07); color: var(--c-muted); border: 1px solid var(--c-border); }



/* ── Responsive landing ─────────────────────────────────────────────── */

@media (max-width: 480px) {

  .site-nav a     { padding: 8px 10px; font-size: .8rem; }

  .hero           { gap: 22px; }

  .cookie-actions { width: 100%; }

  .btn-cookie     { flex: 1; }

}



/* Smartphone landscape (ruotato): player full-width, altezza = viewport disponibile */

@media (orientation: landscape) and (max-height: 520px) {

  .hero {

    flex-direction: column;

    gap: 16px;

    padding-top: calc(var(--header-h) + 12px);

    padding-bottom: 16px;

    min-height: 0;

  }

  .live-badge, .hero-title, .hero-tagline, .feature-pills { display: none; }

  .player-wrap {

    width: min(var(--player-w), calc(100vw - 40px));

    height: calc(100dvh - var(--header-h) - 32px);

  }

}



/* ═══════════════════════════════════════════════════════════════════════

   POLICY PAGES (privacy.php · cookie-policy.php)

   ═══════════════════════════════════════════════════════════════════════ */



.doc-wrap {

  max-width: 720px;

  margin: 0 auto;

  padding: 56px clamp(16px, 4vw, 40px) 80px;

  line-height: 1.7;

}



.doc-label {

  display: inline-block;

  font-size: .72rem;

  font-weight: 700;

  letter-spacing: .1em;

  text-transform: uppercase;

  color: var(--c-accent);

  margin-bottom: 12px;

  padding-top: 20px;

}



.doc-wrap h1 {

  font-size: clamp(1.8rem, 4vw, 2.6rem);

  font-weight: 800;

  line-height: 1.15;

  letter-spacing: -.02em;

  margin-bottom: 8px;

}



.doc-meta {

  font-size: .82rem;

  color: var(--c-muted);

  margin-bottom: 48px;

  padding-bottom: 24px;

  border-bottom: 1px solid var(--c-border);

}



.doc-wrap h2 {

  font-size: 1.15rem;

  font-weight: 700;

  margin-top: 40px;

  margin-bottom: 12px;

  color: var(--c-text);

}



.doc-wrap h3 {

  font-size: 1rem;

  font-weight: 600;

  margin-top: 24px;

  margin-bottom: 8px;

  color: var(--c-text);

}



.doc-wrap p            { color: var(--c-muted); margin-bottom: 14px; }

.doc-wrap p:last-child { margin-bottom: 0; }



.doc-wrap ul,

.doc-wrap ol { color: var(--c-muted); padding-left: 20px; margin-bottom: 14px; }

.doc-wrap li { margin-bottom: 6px; }



.doc-wrap a        { color: var(--c-accent); }

.doc-wrap a:hover  { text-decoration: underline; }

.doc-wrap strong   { color: var(--c-text); font-weight: 600; }



.doc-section {

  padding: 24px;

  border-radius: 14px;

  background: var(--c-surface);

  border: 1px solid var(--c-border);

  margin-top: 28px;

}

.doc-section h2 { margin-top: 0; }



/* ── Cookie policy: tabella ─────────────────────────────────────────── */

.cookie-table-wrap { overflow-x: auto; margin-top: 16px; }



table { width: 100%; border-collapse: collapse; font-size: .85rem; }



thead th {

  background: rgba(255,255,255,.06);

  color: var(--c-text);

  font-size: .72rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: .05em;

  padding: 10px 14px;

  border-bottom: 2px solid var(--c-border);

  text-align: left;

  white-space: nowrap;

}



tbody td {

  padding: 10px 14px;

  color: var(--c-muted);

  border-bottom: 1px solid rgba(255,255,255,.05);

  vertical-align: top;

}

tbody tr:last-child td { border-bottom: none; }



/* ── Cookie policy: revoca consenso ─────────────────────────────────── */

.btn-revoke {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: 16px;

  min-height: 44px;

  padding: 10px 20px;

  border: 1px solid var(--c-border);

  border-radius: 10px;

  background: rgba(255,255,255,.06);

  color: var(--c-muted);

  font-size: .84rem;

  font-weight: 600;

  cursor: pointer;

  touch-action: manipulation;

  transition: color .15s ease, background .15s ease, transform .12s ease;

}

.btn-revoke:hover  { color: var(--c-text); background: rgba(255,255,255,.1); transform: translateY(-1px); }

.btn-revoke:active { transform: translateY(0); }

.btn-revoke:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }



#revoke-msg {

  margin-top: 10px;

  font-size: .82rem;

  color: var(--c-accent);

  min-height: 1.4em;

}



/* ── Reduced motion ─────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {

  *, *::before, *::after {

    animation-duration: .01ms !important;

    transition-duration: .01ms !important;

  }

}





/* ── Utility ────────────────────────────────────────────────────────── */ 

.img-responsive {

  width: 100%;

  height: auto;

  display: block;

}

.img-border{

    border-radius: var(--r-card);

    border: 1px solid var(--c-border);

}

.img-600 {

    max-width: 600px;

}

.alingn-center {

    display: flex;

    justify-content: center;

}

.alingn-center > * {

    max-width: 100%;

}

.btn-hover:hover {

    border-color: rgba(255, 255, 255, .22);

    transform: translateY(-2px);

}



/* ── Billboard Hot 100 ──────────────────────────────────────────────── */

.billboard-section {

  padding: 80px clamp(16px, 4vw, 48px);

  border-top: 1px solid var(--c-border);

  position: relative;

  overflow: hidden;

}



.billboard-section::before {

  content: '';

  position: absolute;

  inset: 0;

  background: radial-gradient(ellipse at 50% 0%, rgba(171, 5, 36, .1) 0%, transparent 60%);

  pointer-events: none;

}



.billboard-section__inner {

  position: relative;

  max-width: 1100px;

  margin: 0 auto;

  text-align: center;

}



.billboard-list {

  list-style: none;

  margin-top: 40px;

  display: grid;

  grid-template-columns: 1fr;

  gap: 8px;

  text-align: left;

}



@media (min-width: 768px) {

  .billboard-list {

    grid-template-columns: 1fr 1fr;

  }

}



.billboard-item {

  display: flex;

  align-items: center;

  gap: 16px;

  padding: 12px 16px;

  border-radius: 14px;

  background: var(--c-surface);

  border: 1px solid var(--c-border);

  transition: background .15s ease, border-color .15s ease, transform .12s ease;

  min-width: 0;

}



.billboard-item:hover {

  background: rgba(255, 255, 255, .08);

  border-color: rgba(255, 255, 255, .18);

}



@media (hover: hover) {

  .billboard-item:hover {

    transform: translateX(4px);

  }

}



.bb-rank {

  font-size: 1.05rem;

  font-weight: 800;

  color: var(--c-muted);

  min-width: 30px;

  text-align: center;

  flex-shrink: 0;

  letter-spacing: -.02em;

}



.bb-rank--gold   { color: #f9a825; }

.bb-rank--silver { color: #b0bec5; }

.bb-rank--bronze { color: #a1887f; }



.bb-cover-wrap {

  position: relative;

  width: 52px;

  height: 52px;

  border-radius: 8px;

  overflow: hidden;

  flex-shrink: 0;

  background: rgba(255, 255, 255, .05);

}



.bb-cover {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  opacity: 0;

  transition: opacity .35s ease;

}



.bb-cover.loaded { opacity: 1; }



.bb-cover-placeholder {

  position: absolute;

  inset: 0;

  background: linear-gradient(135deg, rgba(171, 5, 36, .25) 0%, rgba(255, 255, 255, .04) 100%);

}



.bb-meta {

  flex: 1;

  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 3px;

}



.bb-title {

  font-size: .9rem;

  font-weight: 700;

  color: var(--c-text);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.bb-artist {

  font-size: .78rem;

  color: var(--c-muted);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.bb-stats {

  display: flex;

  gap: 16px;

  flex-shrink: 0;

}



.bb-stat {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 1px;

}



.bb-stat__label {

  font-size: .58rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: .07em;

  color: var(--c-muted);

  opacity: .65;

  white-space: nowrap;

}



.bb-stat__value {

  font-size: .8rem;

  font-weight: 700;

  color: var(--c-text);

}



@media (max-width: 520px) {

  .bb-stats { display: none; }

  .bb-rank  { font-size: .9rem; min-width: 22px; }

  .bb-cover-wrap { width: 44px; height: 44px; }

}



/* app store banner */

#czwr-app-banner {

  position: fixed;

  inset: auto 0 0 0;

  z-index: var(--z-app-banner);

  background: rgba(19, 12, 23, .97);

  -webkit-backdrop-filter: blur(8px);

  backdrop-filter: blur(8px);

  border-top: 1px solid var(--c-border);

  padding: 10px clamp(12px, 4vw, 24px);

  padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));

  transform: translateY(100%);

  transition: transform .3s ease-out, bottom .3s ease-out;

}



#czwr-app-banner.czwr-app-banner--visible {

  transform: translateY(0);

}



.czwr-app-banner__inner {

  display: flex;

  align-items: center;

  gap: 12px;

  max-width: 600px;

  margin: 0 auto;

}



.czwr-app-banner__logo {

  width: 32px;

  height: 32px;

  border-radius: 8px;

  flex-shrink: 0;

  object-fit: cover;

}



.czwr-app-banner__text {

  flex: 1;

  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 1px;

}



.czwr-app-banner__title {

  font-size: .88rem;

  font-weight: 700;

  color: var(--c-text);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.czwr-app-banner__sub {

  font-size: .72rem;

  color: var(--c-muted);

}



.czwr-app-banner__cta {

  display: inline-flex;

  align-items: center;

  padding: 8px 16px;

  background: var(--c-primary);

  color: #fff;

  border-radius: var(--r-pill);

  font-size: .82rem;

  font-weight: 700;

  text-decoration: none;

  white-space: nowrap;

  flex-shrink: 0;

  transition: filter .15s ease, transform .12s ease;

}



.czwr-app-banner__cta:hover  { filter: brightness(1.12); transform: translateY(-1px); }

.czwr-app-banner__cta:active { transform: translateY(0); }

.czwr-app-banner__cta:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }



.czwr-app-banner__close {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 32px;

  height: 32px;

  padding: 0;

  background: rgba(255, 255, 255, .07);

  border: 1px solid var(--c-border);

  border-radius: 50%;

  color: var(--c-muted);

  cursor: pointer;

  flex-shrink: 0;

  transition: color .15s ease, background .15s ease;

}



.czwr-app-banner__close:hover { color: var(--c-text); background: rgba(255, 255, 255, .12); }

.czwr-app-banner__close:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }



.mobile-break {

  display: none;

}



@media (max-width: 768px) {

  .mobile-break {

    display: inline;

  }

}

/* preview player */
.preview-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(171, 5, 36, .35);
  background: rgba(171, 5, 36, .10);
  color: var(--c-accent);
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .12s ease;
}

/* Hit area espansa per touch (44px) senza alterare il layout */
.preview-btn::before {
  content: \'\';
  position: absolute;
  inset: -5px;
}

.preview-btn .icon-stop { display: none; }

.preview-btn:hover {
  background: rgba(171, 5, 36, .22);
  border-color: rgba(171, 5, 36, .55);
  box-shadow: 0 0 0 3px var(--c-primary-glow);
}

.preview-btn:active { transform: scale(.93); }

/* Stato attivo — brano in riproduzione */
.preview-btn.playing {
  background: rgba(171, 5, 36, .26);
  border-color: rgba(171, 5, 36, .6);
  box-shadow: 0 0 0 3px var(--c-primary-glow);
}

.preview-btn.playing .icon-play { display: none; }
.preview-btn.playing .icon-stop { display: inline-flex; }

.preview-btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}