/* PKTOK console — the "Spotify" page (docs/TERV-SPOTIFY.md). Own stylesheet (like music-page.css);
   console tokens only, so the light skins follow. Scoped under .spotify-page or an spf- class. */
.spotify-page .spf-hero { margin: 0 0 18px; }
.spotify-page .spf-hero .ti { color: #1ed760; }
.spotify-page .spf-hero .hero-lead { max-width: 78ch; }
.spotify-page .spf-note { min-height: 1.4em; margin: 0 0 12px; font-weight: 600; }
.spotify-page .spf-note.ok { color: var(--green, #16c784); }
.spotify-page .spf-note.err { color: var(--red, #ff5470); }
.spotify-page .spf-panel { display: grid; gap: 12px; max-width: 760px; }
.spotify-page .spf-panel h2 { margin: 0; }
.spotify-page .spf-panel p { margin: 0; line-height: 1.5; }
.spotify-page .spf-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 16px; align-items: start; }
.spotify-page .spf-grid .spf-panel { max-width: none; }
@media (max-width: 1100px) { .spotify-page .spf-grid { grid-template-columns: minmax(0, 1fr); } }
.spotify-page .spf-badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(var(--gold-rgb, 255, 207, 77), .16); color: var(--gold, #ffcf4d); font-weight: 700; font-size: .8rem; }
.spotify-page .spf-badge.ok { background: rgba(30, 215, 96, .14); color: #1ed760; }
.spotify-page .spf-field { display: grid; gap: 6px; font-weight: 600; }
.spotify-page .spf-input { width: 100%; min-width: 0; padding: 10px 12px; border-radius: var(--radius-sm, 12px); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.spotify-page .spf-hint { color: var(--muted); font-size: .85rem; line-height: 1.45; }
.spotify-page .spf-warn { color: var(--orange, #ff9e3d); font-weight: 600; }
.spotify-page .spf-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spotify-page .spf-row .spf-input { flex: 1 1 220px; font-size: .8rem; }
.spotify-page a.btn.spf-connect { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: #1ed760 !important; background-image: none !important; color: #062d16 !important; border-color: #1ed760 !important; text-decoration: none; }
.spotify-page .spf-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.spotify-page .spf-now { display: flex; gap: 14px; align-items: center; min-width: 0; }
.spotify-page .spf-cover { width: 84px; height: 84px; border-radius: 6px; object-fit: cover; flex: none; background: var(--surface); }
.spotify-page .spf-nocover { display: grid; place-items: center; font-size: 2rem; color: #1ed760; }
.spotify-page .spf-now-meta { display: grid; gap: 3px; min-width: 0; }
.spotify-page .spf-now-meta small { color: #1ed760; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.spotify-page .spf-now-meta strong { font-size: 1.15rem; overflow-wrap: anywhere; }
.spotify-page .spf-now-meta span { color: var(--muted); }
.spotify-page .spf-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.spotify-page .spf-style { display: grid; gap: 8px; padding: 12px; border-radius: var(--radius-sm, 12px); border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.spotify-page .spf-style-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.spotify-page .spf-style-head small { color: var(--muted); }
/* The preview is the REAL widget page; a checkerboard shows it is transparent where nothing is drawn. */
.spotify-page .spf-preview { position: relative; height: 110px; border-radius: 10px; overflow: hidden;
  background: repeating-conic-gradient(rgba(127,127,127,.18) 0 25%, transparent 0 50%) 0 0 / 16px 16px; }
.spotify-page .spf-preview iframe { position: absolute; left: 0; top: 0; border: 0; pointer-events: none; transform-origin: 0 0; background: transparent; }
.spotify-page .spf-col { display: grid; gap: 16px; align-content: start; min-width: 0; }
.spotify-page .spf-cmd { justify-self: start; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.spotify-page .spf-check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.spotify-page .spf-check input { width: 18px; height: 18px; accent-color: #1ed760; }
.spotify-page .spf-select { max-width: 220px; }
.spotify-page .spf-sub { margin: 6px 0 0; font-size: 1rem; }
.spotify-page .spf-reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.spotify-page .spf-reqs li { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 2px 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface); font-size: .88rem; }
.spotify-page .spf-reqs li small { color: var(--muted); }
.spotify-page .spf-reqs li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotify-page .spf-reqs li em { grid-column: 1 / -1; font-style: normal; font-size: .8rem; font-weight: 700; }
.spotify-page .spf-reqs li.ok em { color: #1ed760; }
.spotify-page .spf-reqs li.no em { color: var(--orange, #ff9e3d); }
.spotify-page .spf-notice { margin-bottom: 16px; border-color: var(--orange, #ff9e3d); }
.spotify-page .spf-quote { padding: 10px 12px; border-left: 3px solid var(--orange, #ff9e3d); background: var(--surface); border-radius: 0 10px 10px 0; font-weight: 600; white-space: pre-wrap; }
.spotify-page .spf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.spotify-page .spf-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.spotify-page .spf-step > div { display: grid; gap: 8px; min-width: 0; }
.spotify-page .spf-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #1ed760; color: #062d16; font-weight: 800; }
.spotify-page .spf-step .btn { justify-self: start; text-decoration: none; }
.spotify-page .spf-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 0; align-items: center; }
.spotify-page .spf-kv dt { color: var(--muted); font-size: .85rem; }
.spotify-page .spf-kv dd { margin: 0; font-weight: 700; min-width: 0; }
.spotify-page .spf-link { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
/* The menu icon: Spotify's own green mark (owner: „legyen ott a menüben a spotify ikon is”). */
.nav-item[data-view="spotify"] .nav-ic .spf-logo { width: 18px; height: 18px; display: block; }
.spotify-page .spf-gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.spotify-page .spf-gift { display: grid; justify-items: center; gap: 4px; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; }
.spotify-page .spf-gift.on { border-color: #1ed760; box-shadow: 0 0 0 2px rgba(30, 215, 96, .35); }
.spotify-page .spf-gift img { width: 40px; height: 40px; object-fit: contain; }
.spotify-page .spf-gift b { font-size: .78rem; text-align: center; overflow-wrap: anywhere; }
.spotify-page .spf-gift small { color: var(--muted); font-size: .72rem; }
.spotify-page .spf-preview.spf-demo { height: 160px; }
.spotify-page .spf-preview.spf-demo iframe { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; }
/* The square widget (2026-09-29) needs a taller box, or it would be shrunk to a thumbnail. */
.spotify-page .spf-preview.spf-sq { height: 220px; }
.spotify-page .spf-preview.spf-demo.spf-sq { height: 280px; }
.spotify-page > div > .spf-panel + .spf-panel, .spotify-page #spotifyRoot > .spf-panel + .spf-panel { margin-top: 16px; }
.spotify-page .spf-look-row { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; font-size: .85rem; }
.spotify-page .spf-look { padding: 6px 10px; }

/* The command word field: "!" + the word (2026-10-01). */
.spotify-page .spf-bang { align-self: center; font-size: 18px; font-weight: 900; color: var(--accent, #1ed760); }
