/* Browsing: artwork, cards, shelves, grids, track lists, detail pages, search, big lists, mix covers. */

/* ---------- artwork ---------- */
.art { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--raised); }
.art.round { border-radius: 50%; }
.art-fallback { display: grid; place-items: center; }
.art-fallback span { font-weight: 800; font-size: clamp(12px, 28%, 40px); color: rgba(255,255,255,.8); letter-spacing: .02em; }

/* ---------- cards, shelves, grids ---------- */
.shelf { margin: 8px 0 28px; }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.shelf-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.shelf-head p { margin: 2px 0 0; font-size: 13px; }
.shelf-nav { display: flex; align-items: center; gap: 6px; }
.link-more { color: var(--text-2); font-size: 13px; font-weight: 700; margin-right: 6px; }
/* A horizontal row must only scroll sideways. Vertical wheel/trackpad movement over it
   goes to the page. overflow-y: hidden prevents the row from becoming a (tiny) vertical
   scroller that captures the wheel; the padding gives the cards' hover background room. */
.shelf-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 176px; gap: 16px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none; margin: -10px -10px 0; padding: 10px;
}
.shelf-row::-webkit-scrollbar { display: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 20px 16px; }

.card { position: relative; scroll-snap-align: start; padding: 10px; margin: -10px; border-radius: var(--radius); transition: background .2s; min-width: 0; }
@media (hover: hover) { .card:hover { background: var(--surface); } }
.card-link { display: block; }
.card-link:hover { text-decoration: none; }
.card-art { position: relative; margin-bottom: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.35); border-radius: var(--radius-sm); }
.card-artist .card-art { border-radius: 50%; }
.card-title { font-weight: 650; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub { color: var(--text-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 1.45em; }
.card-artist .card-title, .card-artist .card-sub { text-align: center; }
.card-play {
  position: absolute; bottom: 8px; right: 8px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 8px 20px rgba(0,0,0,.45); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease);
}
.card:hover .card-play, .card-play:focus-visible, .card-play.show { opacity: 1; transform: none; }
.card-play:hover { transform: scale(1.06) !important; background: var(--accent-2); }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: -8px 0 32px; }
.quick { position: relative; display: flex; align-items: center; gap: 12px; height: 60px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); overflow: hidden; font-weight: 650; font-size: 14px; transition: background .15s; padding-right: 54px; }
.quick:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.quick .art { width: 60px; height: 60px; border-radius: 0; flex: none; }
.quick span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-play { position: absolute; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.quick:hover .quick-play { opacity: 1; }

/* ---------- track list ---------- */
.tracklist { display: grid; }
.trow {
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, .8fr) auto 52px auto; align-items: center; gap: 14px;
  height: 60px; padding: 0 8px 0 12px; border-radius: 8px; cursor: pointer; transition: background .12s;
}
.trow:hover { background: rgba(255,255,255,.06); }
.trow.is-current .trow-title { color: var(--accent); }
.trow.is-unavailable { opacity: .4; cursor: default; }
.trow-lead { display: flex; align-items: center; gap: 14px; }
.trow-num { width: 22px; text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; font-size: 14px; }
.trow-art { width: 44px; height: 44px; border-radius: 4px; }
.trow-main { min-width: 0; }
.trow-title { font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow-sub { color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow-sub .badge { margin-right: 6px; height: 15px; font-size: 9px; }
.trow-album { color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow-dur { color: var(--text-2); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.trow .heart, .trow .menu-wrap > .icon-btn { opacity: 0; }
.trow:hover .heart, .trow:hover .menu-wrap > .icon-btn, .trow .heart.on, .trow .menu-wrap > .icon-btn[aria-expanded="true"] { opacity: 1; }
.tracklist .trow:not(:has(.trow-album)) { grid-template-columns: auto minmax(0, 1fr) auto 52px auto; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; background: var(--accent); border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- detail pages ---------- */
.page-detail { padding-top: 0; }
.detail-head { position: relative; margin: 0 -36px 20px; padding: 72px 36px 20px; isolation: isolate; }
/* The blurred background bleeds past the header; only it is clipped (clip: Safari can't pan it sideways),
   so menus in the header can still open past its edge. */
.detail-bg-clip { position: absolute; inset: 0; z-index: -1; overflow: hidden; overflow: clip; }
.detail-bg { position: absolute; inset: -120px -120px 0 -120px; z-index: -1; background-size: cover; background-position: center; filter: blur(60px) saturate(1.3) brightness(.55); opacity: .9;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.detail-head-inner { display: flex; align-items: flex-end; gap: 28px; }
.detail-art { width: 232px; height: 232px; flex: none; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.detail-info { min-width: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.detail-title { font-size: clamp(32px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 850; margin: 8px 0 14px; overflow-wrap: anywhere; }
.detail-meta { color: var(--text-2); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.detail-desc { width: 100%; margin: 0 0 6px; color: var(--text-2); }
.detail-actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.skel-head { min-height: 340px; }

/* ---------- search ---------- */
/* Search field (Search page) and its small sibling, the library filter: dark, rounded, with an icon. */
.search-box, .filter-box { display: flex; align-items: center; gap: 12px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); color: var(--text-2); transition: border-color .15s, background .15s; }
.search-box { height: 54px; padding: 0 12px 0 18px; max-width: 560px; margin: 4px 0 24px; }
.search-box:focus-within, .filter-box:focus-within { border-color: #4a4a55; background: var(--raised-2); }
.search-box .icon-btn { color: var(--text-2); }
.search-input { flex: 1; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--text); min-width: 0; }
.search-input::placeholder { color: var(--text-3); }
.filter-box { height: 40px; padding: 0 14px; gap: 8px; width: 240px; }
.filter-box .search-input { font-size: 14px; }
.search-top { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 24px; }
.top-card { position: relative; display: block; padding: 20px; border-radius: var(--radius); background: var(--surface); transition: background .2s; }
.top-card:hover { background: var(--raised); text-decoration: none; }
.top-card:hover .card-play { opacity: 1; transform: none; }
.top-art { width: 96px; height: 96px; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.top-title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-card .card-play { top: auto; bottom: 20px; right: 20px; }
.top-tracks .trow { height: 56px; }

/* ---------- big lists ---------- */
.sentinel { height: 1px; }
/* No content-visibility on track rows: it clips the row's ⋯ menu. Lists are drawn in batches instead. */
.grid > .card { content-visibility: auto; contain-intrinsic-size: auto 240px; }
.lib-count { margin: -8px 0 16px; display: flex; align-items: center; gap: 10px; }
.loading-more { display: inline-flex; align-items: center; gap: 6px; }
.lib-more { margin-top: 24px; }
.spinner.tiny { width: 12px; height: 12px; border-width: 2px; }
.dialog-actions { margin-top: 22px; flex-wrap: wrap; }

/* editorial mode */
.editorial-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: -6px 0 28px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.editorial-note p { margin: 0; color: var(--text-2); font-size: 14px; max-width: 760px; }
.editorial-note b { color: var(--text); }
.heart-space { width: 36px; }

/* generated mix cover */
.mix-cover { display: block; } /* size comes from where it's placed (.art, .detail-art, .trow-art…) */

/* "Add to queue" next to play, when controlling a speaker */
.card-actions { position: absolute; bottom: 8px; right: 8px; display: flex; align-items: center; gap: 8px; }
.card-actions .card-play { position: static; }
.card-add { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,12,.72); color: #fff;
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); box-shadow: 0 8px 20px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), background .15s; }
.card:hover .card-add, .card-add:focus-visible { opacity: 1; transform: none; }
.card-add:hover { background: rgba(30,30,36,.9); }
.trow .trow-add { opacity: 0; }
.trow:hover .trow-add, .trow-add:focus-visible { opacity: 1; }
.tracklist .trow:has(.trow-add) { grid-template-columns: auto minmax(0, 1fr) minmax(0, .8fr) auto 52px auto auto; }
.tracklist .trow:has(.trow-add):not(:has(.trow-album)) { grid-template-columns: auto minmax(0, 1fr) auto 52px auto auto; }
@media (max-width: 899px) {
  .card-add { display: none; }
  .tracklist .trow:has(.trow-add), .tracklist .trow:has(.trow-add):not(:has(.trow-album)) { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .trow .trow-add { opacity: 1; }
}

/* ---------- Library: sort, count, list/grid; the list rows ---------- */
.lib-bar { display: flex; align-items: center; gap: 12px; margin: -8px 0 12px; }
.lib-bar .lib-count { flex: 1; min-width: 0; margin: 0; white-space: nowrap; }
.lib-sort { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 0 10px 0 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.lib-bar .menu { left: 0; right: auto; }
.lib-list { display: grid; }
.lrow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 4px; border-radius: 8px; cursor: pointer; }
@media (hover: hover) { .lrow:hover { background: rgba(255,255,255,.06); } }
.lrow .lrow-art { width: 56px; height: 56px; aspect-ratio: 1; border-radius: 6px; }
.lrow-art.round { border-radius: 50%; }
.lrow-title { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow-sub { color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.lrow .menu-wrap > .icon-btn { opacity: .8; }

/* your playlists: "Add to playlist", new / rename (views/playlists.js) */
.pl-what { text-align: center; margin: 0 0 16px; }
.pl-filter { width: 100%; margin-bottom: 10px; }
.pl-list { display: grid; gap: 2px; max-height: min(52vh, 460px); overflow-y: auto; margin: 0 -8px; padding: 0 8px; }
.pl-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border-radius: 10px; text-align: left; }
.pl-row:hover { background: rgba(255,255,255,.06); }
.pl-row .pl-art { width: 48px; height: 48px; border-radius: 6px; flex: none; }
.pl-row .skel-line { flex: 1; }
.pl-plus { display: grid; place-items: center; background: var(--raised); color: var(--text); }
.pl-new b { font-weight: 650; }
.pl-main { display: grid; min-width: 0; }
.pl-main b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-none { padding: 8px; }
.pl-name { width: 100%; margin-top: 6px; }
.pl-actions { display: flex; justify-content: flex-end; gap: 10px; }
.q-tools { display: flex; gap: 8px; }

/* Explore: genre and mood tiles, recent searches (views/explore.js) */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
/* folded: two rows, the rest behind "Show all" */
.tile-grid.folded { grid-template-rows: repeat(var(--tile-rows, 2), auto); grid-auto-rows: 0; row-gap: 0; overflow: hidden; }
.tile-grid.folded > .tile:nth-child(n) { margin-bottom: 10px; }
.tile { display: flex; align-items: center; height: 56px; padding: 0 16px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, var(--tile-a, var(--raised)), var(--tile-b, var(--surface))); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.tile:hover { text-decoration: none; filter: brightness(1.12); }
.tile span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.tile.skel { background: var(--surface); }
.card-tile .tile { height: auto; aspect-ratio: 1; align-items: flex-end; padding: 14px; }
.tiles-section { margin-bottom: 20px; }
.tiles-section .shelf-head { margin-bottom: 10px; }
.tiles-more { background: none; border: 0; cursor: pointer; }
.recent-searches { margin-bottom: 18px; }
.recent-list { display: flex; flex-wrap: wrap; gap: 8px; }
.recent-chip { display: inline-flex; align-items: center; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); }
.recent-q { display: inline-flex; align-items: center; gap: 6px; padding: 7px 4px 7px 12px; font-size: 14px; font-weight: 600; color: var(--text); }
.recent-q .icon { color: var(--text-3); }
.recent-x { display: grid; place-items: center; width: 28px; height: 28px; margin-right: 2px; border-radius: 50%; color: var(--text-3); }
.recent-x:hover { color: var(--text); background: rgba(255,255,255,.06); }

/* Home: Discovery radio */
.discovery-card { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 640px; margin: 8px 0 20px; padding: 14px 16px; border-radius: 12px; text-align: left;
  background: linear-gradient(120deg, rgba(255,107,74,.22), rgba(184,50,106,.18) 60%, var(--surface)); border: 1px solid var(--line); transition: border-color .15s; }
.discovery-card:hover { border-color: #3a3a44; }
.discovery-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--accent); color: #fff; flex: none; }
.discovery-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.discovery-text b { font-size: 16px; }
.discovery-text span { font-size: 13px; color: var(--text-2); }
.discovery-play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: #111; flex: none; }

/* Explore: ways to discover (views/explore.js) */
.discover { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 14px; margin: 6px 0 28px; }
.discover-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 22px 26px; border-radius: 16px; cursor: pointer; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,107,74,.38), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(120,60,200,.35), transparent 60%), var(--surface);
  border: 1px solid var(--line); transition: border-color .15s; }
.discover-hero:hover { border-color: #3a3a44; }
.discover-hero-text { display: grid; gap: 6px; min-width: 0; }
.discover-hero h2 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.discover-hero p { margin: 0; color: var(--text-2); max-width: 420px; }
.discover-hero-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.discover-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 176px; flex: none; transform: rotate(4deg); }
.discover-collage > * { width: 85px; height: 85px; border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.discover-modes { display: grid; gap: 14px; }
.discover-mode { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; text-align: left; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s; }
.discover-mode:hover { border-color: #3a3a44; }
.discover-mode.t1 { background: linear-gradient(120deg, rgba(45,212,191,.22), var(--surface) 70%); }
.discover-mode.t2 { background: linear-gradient(120deg, rgba(245,165,36,.22), var(--surface) 70%); }
.discover-mode-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.08); flex: none; }
.discover-mode-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.discover-mode-text b { font-size: 16px; }
.discover-mode-text span { font-size: 13px; color: var(--text-2); }
.discover-mode-play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--text); color: #111; flex: none; }
/* Explore's link rows: quick links (buttons), genres and moods (cover cards), decades (numbers) */
.qlinks { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 28px; }
.qlink { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); font-weight: 650; font-size: 14px; transition: border-color .15s, background .15s; }
.qlink:hover { text-decoration: none; border-color: #3a3a44; background: var(--raised); }
.qlink .icon { color: var(--accent); }
.qlink.on { background: var(--text); color: #111; border-color: var(--text); }
.qlink.on .icon { color: #111; }
.gcard img { animation: fade .4s; }
.gsection { margin-bottom: 26px; }
.gsection .shelf-head { margin-bottom: 12px; }
.gcards { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.gcards::-webkit-scrollbar { display: none; }
.gcards.wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); grid-auto-columns: auto; overflow: visible; }
.gcard { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--tile-a), var(--tile-b)); }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72)); }
.gcard:hover { text-decoration: none; }
.gcard:hover img { transform: scale(1.05); }
.gcard-name { position: absolute; left: 12px; right: 48px; bottom: 12px; z-index: 1; font-weight: 800; font-size: 17px; line-height: 1.15; letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.gcard-play { position: absolute; right: 10px; bottom: 10px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.gcard:hover .gcard-play, .decade:hover .gcard-play, .gcard-play:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .gcard-play { opacity: 1; transform: none; } }
.decades { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.decades::-webkit-scrollbar { display: none; }
.decade { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 120px; padding: 12px 14px; border-radius: 12px; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--tile-a), var(--tile-b)); }
.decade:hover { text-decoration: none; filter: brightness(1.08); }
.decade b { position: relative; z-index: 1; font-size: 40px; font-weight: 900; letter-spacing: -.04em; line-height: .95; }
.decade small { position: relative; z-index: 1; font-size: 12px; font-weight: 600; opacity: .75; }
/* a record peeking out of the card's corner */
.decade-disc { position: absolute; right: -34px; top: -34px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0 7%, rgba(0,0,0,.85) 7.5% 24%, #111 24.5% 100%),
              repeating-radial-gradient(circle, rgba(255,255,255,.06) 0 1px, transparent 1px 4px);
  background-blend-mode: normal; opacity: .55; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.decade-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255,255,255,.07) 0 1px, transparent 1px 5px); }
.page-name-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* artist bio, album review and credits */
.about { max-width: 820px; }
.about-text p { margin: 0 0 10px; color: var(--text-2); line-height: 1.6; }
.about-text a, .credits a { color: var(--text); font-weight: 600; }
.about-text.clamped p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.about-full { max-height: 62vh; overflow-y: auto; text-align: left; padding-right: 6px; }
.about-full p { margin: 0 0 12px; color: var(--text-2); line-height: 1.65; }
.about-full a { color: var(--text); font-weight: 600; }
.about-more { background: none; border: 0; padding: 0; cursor: pointer; }
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 24px; margin: 0; }
.credit dt { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.credit dd { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.dialog .credits { grid-template-columns: 1fr; text-align: left; margin-top: 8px; }
