/* Mithila Music — streaming app styles (loaded on music.* pages only).
   The player surfaces are dark in both themes; pink is the accent. */
.music-app { --mp-bg: #1B0F17; --mp-bg-2: #2A1823; --mp-ink: #FBEFF5; --mp-ink-2: #CDB6C3; --mp-h: 72px; }

/* ---------- Shared bits ---------- */
.m-eyebrow { font-size: .8rem; font-weight: 650; color: var(--pink-ink); margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.explicit { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 3px; background: var(--ink-3); color: var(--bg); font-size: .62rem; font-weight: 800; margin-right: 6px; vertical-align: 1px; flex: none; }
.verified { color: #2B7FFF; }
.m-tile { position: relative; }
.m-tile .tile-media img { aspect-ratio: 1; }
.m-tile-empty { display: grid; place-items: center; width: 100%; height: 100%; color: var(--pink-ink); background: var(--pink-pale); }
.m-tile-play {
  position: absolute; right: 10px; top: calc(100% - 118px); width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--pink); color: #291823; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease);
}
.m-tile-play .i { fill: currentColor; }
.m-tile:hover .m-tile-play, .m-tile:focus-within .m-tile-play { opacity: 1; transform: none; }
@media (hover: none) { .m-tile-play { opacity: 1; transform: none; width: 40px; height: 40px; top: calc(100% - 108px); } }
.m-scroller { --col: 180px; }
.m-scroller-artists { --col: 150px; }
.artist-tile { text-align: center; }
.artist-tile .tile-media.round { border-radius: 50%; }
.artist-tile .tile-title { display: block; text-align: center; }
.artist-tile .tile-title .i-sm { display: inline-block; vertical-align: -3px; }
@media (max-width: 640px) { .m-scroller { --col: 42vw; } .m-scroller-artists { --col: 34vw; } }

/* ---------- Home ---------- */
.m-hero { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); padding: 8px 0 12px; }
.m-hero h1 { margin-bottom: 6px; }
.m-hero p.muted { margin: 0; max-width: 60ch; }
.m-quick { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-quick-item { position: relative; display: flex; align-items: center; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; min-height: 56px; padding-right: 8px; }
.m-quick-item img { width: 56px; height: 56px; object-fit: cover; flex: none; }
.m-quick-item a { flex: 1; color: var(--ink); text-decoration: none; font-weight: 650; font-size: .92rem; }
.m-quick-item a::after { content: ""; position: absolute; inset: 0; }
.m-quick-play { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--pink); color: #291823; display: grid; place-items: center; cursor: pointer; flex: none; opacity: .0; transition: opacity .15s; }
.m-quick-item:hover .m-quick-play, .m-quick-play:focus-visible { opacity: 1; }
@media (hover: none) { .m-quick-play { opacity: 1; } }
@media (max-width: 900px) { .m-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .m-quick-item a { font-size: .84rem; } .m-quick-item img { width: 48px; height: 48px; } .m-quick-item { min-height: 48px; } }
.m-trending .track-list { columns: 2; column-gap: 32px; }
.m-trending .track-row { break-inside: avoid; }
@media (max-width: 900px) { .m-trending .track-list { columns: 1; } }
.genre-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.genre-card {
  --g: #E0177A; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 96px; padding: 14px 16px;
  border-radius: var(--r-md); color: #fff; text-decoration: none; font-weight: 750; font-size: 1.05rem; letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--g), color-mix(in srgb, var(--g) 55%, #1B0F17));
}
.genre-card small { font-weight: 550; font-size: .78rem; opacity: .85; }
.genre-card::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 74px; height: 74px; border-radius: 18px; transform: rotate(24deg); background: rgba(255,255,255,.18); }
.genre-card:hover { text-decoration: none; filter: brightness(1.05); }
@media (max-width: 640px) { .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.m-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 24px 28px; border-radius: var(--r-lg);
  background: radial-gradient(120% 140% at 0% 0%, var(--pink-pale), var(--bg-soft)); border: 1px solid var(--line); }
.m-cta h2 { margin-bottom: 4px; }
.genre-hero { --g: #E0177A; border-radius: var(--r-lg); padding: 28px; margin-bottom: 8px; color: #fff; background: linear-gradient(135deg, var(--g), color-mix(in srgb, var(--g) 45%, #1B0F17)); }
.genre-hero .m-eyebrow { color: rgba(255,255,255,.85); }

/* ---------- Track list ---------- */
.track-list { list-style: none; margin: 0; padding: 0; }
.track-row {
  display: grid; grid-template-columns: 36px 44px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center;
  padding: 6px 8px; border-radius: var(--r-sm); min-height: 56px;
}
.track-list.with-album .track-row { grid-template-columns: 36px 44px minmax(0, 1.4fr) minmax(0, 1fr) auto auto auto; }
.track-row:not(:has(.tr-cover)) { grid-template-columns: 36px minmax(0, 1fr) auto auto auto; }
.track-row:hover, .track-row:focus-within { background: var(--bg-soft); }
.track-row.is-current { background: var(--pink-pale); }
.tr-num { position: relative; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: .9rem; }
.tr-play { position: absolute; inset: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; opacity: 0; }
.tr-play .i-sm { fill: currentColor; }
.track-row:hover .tr-play, .tr-play:focus-visible { opacity: 1; }
.track-row:hover .tr-index, .track-row:focus-within .tr-index { visibility: hidden; }
.tr-eq { display: none; gap: 2px; align-items: flex-end; height: 14px; }
.tr-eq i { width: 3px; background: var(--pink); border-radius: 1px; animation: eq 1s ease-in-out infinite; height: 40%; }
.tr-eq i:nth-child(2) { animation-delay: -.4s; } .tr-eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.track-row.is-current .tr-index { display: none; }
.track-row.is-current.is-playing .tr-eq { display: flex; }
.track-row.is-current:not(.is-playing) .tr-play { opacity: 1; }
.track-row.is-current.is-playing:hover .tr-eq { display: none; }
.track-row.is-current .tr-title { color: var(--pink-ink); }
.tr-cover { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.tr-main { min-width: 0; display: grid; }
.tr-title { color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-title:hover { text-decoration: underline; }
.tr-sub { font-size: .85rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; }
.tr-sub a, .tr-album { color: inherit; text-decoration: none; }
.tr-sub a:hover, .tr-album:hover { text-decoration: underline; color: var(--ink); }
.tr-album { font-size: .88rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-dur { color: var(--ink-3); font-size: .85rem; font-variant-numeric: tabular-nums; min-width: 40px; text-align: right; }
.tr-like, .tr-more { width: 40px; height: 40px; color: var(--ink-3); }
.tr-like { opacity: 0; }
.track-row:hover .tr-like, .tr-like:focus-visible, .tr-like.is-on { opacity: 1; }
.tr-like.is-on, .mp-like.is-on, .m-actions .tr-like.is-on { color: var(--pink); }
.tr-like.is-on .i, .tr-like.is-on .i-sm, .mp-like.is-on .i, .mp-like.is-on .i-sm { fill: currentColor; }
.track-row .menu { right: 0; }
@media (hover: none) { .tr-like { opacity: 1; } .tr-play { opacity: 0; } }
@media (max-width: 640px) {
  .track-row, .track-list.with-album .track-row { grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 10px; padding: 6px 0; }
  .track-row:not(:has(.tr-cover)) { grid-template-columns: 28px minmax(0, 1fr) auto auto; }
  .track-row .tr-num { display: none; }
  .track-row:not(:has(.tr-cover)) .tr-num { display: grid; width: 28px; }
  .tr-dur { display: none; }
  .tr-like { width: 40px; }
  .track-row { cursor: pointer; }
}

/* ---------- Album / track / playlist / artist headers ---------- */
.m-head { display: flex; gap: 28px; align-items: flex-end; padding: 8px 0 24px; }
.m-head-art { width: 232px; height: 232px; border-radius: var(--r-md); object-fit: cover; box-shadow: 0 24px 50px -24px rgba(27, 15, 23, .55); flex: none; }
span.m-head-art { display: grid; place-items: center; }
.m-head-meta { min-width: 0; }
.m-head-meta h1 { font-size: clamp(1.8rem, 1.1rem + 3vw, 3.4rem); margin-bottom: 10px; }
.m-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-2); font-size: .95rem; margin-bottom: 16px; }
.m-byline a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 650; text-decoration: none; }
.m-byline a:hover { text-decoration: underline; }
.m-byline .avatar { width: 28px; height: 28px; }
.m-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.m-actions .btn-primary .i { fill: currentColor; }
.m-credits { border-top: 1px solid var(--line); padding-top: 12px; }
.lyrics { white-space: pre-line; font-size: 1.15rem; line-height: 1.8; font-weight: 550; max-width: 60ch; }
@media (max-width: 760px) {
  .m-head { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .m-head-art { width: min(64vw, 260px); height: min(64vw, 260px); }
  .m-byline, .m-actions { justify-content: center; }
}
.artist-hero {
  position: relative; min-height: 300px; display: flex; align-items: flex-end; color: #fff; padding: 40px 0 28px;
  background: linear-gradient(180deg, rgba(27,15,23,.1), rgba(27,15,23,.85)), var(--banner, linear-gradient(135deg, #E0177A, #3B1230));
  background-size: cover; background-position: center;
}
.artist-hero-inner { display: flex; align-items: flex-end; gap: 24px; }
.artist-avatar { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.9); flex: none; }
.artist-hero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 4vw, 4.4rem); margin-bottom: 6px; }
.artist-hero .m-eyebrow { color: #fff; }
.artist-hero .verified-line .i-sm { color: #6FB1FF; }
.artist-stats { margin: 0; color: rgba(255,255,255,.88); }
@media (max-width: 640px) { .artist-hero { min-height: 240px; } .artist-hero-inner { flex-direction: column; align-items: flex-start; gap: 12px; } .artist-avatar { width: 96px; height: 96px; } }
.follow-form .when-on, .follow-form.is-on .when-off { display: none; }
.follow-form.is-on .when-on { display: inline; }
.follow-form.is-on .btn { --b-bg: transparent; --b-line: var(--line-strong); --b-fg: var(--ink); }
.liked-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px; border-radius: var(--r-md); margin-bottom: 12px;
  background: linear-gradient(135deg, var(--pink-pale), var(--bg-soft)); }
.liked-art { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #FF2F86, #6B1D7A); color: #fff; }
.liked-art .i-lg { fill: currentColor; }
.reorder-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.reorder-list li { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.m-search { margin-bottom: 8px; }

/* ---------- Player bar ---------- */
body.has-player { --player-space: var(--mp-h); }
body.has-player main { padding-bottom: calc(var(--mp-h) + 24px); }
body.has-player .site-footer { padding-bottom: calc(var(--mp-h) + 32px); }
body.has-player .toast-host { bottom: calc(var(--mp-h) + 24px); }
.mp { color: var(--mp-ink); }
.mp-bar {
  position: fixed; z-index: 56; left: 0; right: 0; bottom: 0; height: var(--mp-h);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 0 20px; background: var(--mp-bg); border-top: 1px solid rgba(255,255,255,.06); box-shadow: 0 -12px 30px -18px rgba(0,0,0,.5);
}
.mp .icon-btn { color: var(--mp-ink-2); }
.mp .icon-btn:hover { background: rgba(255,255,255,.08); color: var(--mp-ink); }
.mp .icon-btn[aria-pressed="true"], .mp [data-act="repeat"]:not([data-repeat="off"]) { color: var(--pink); }
.mp-now { display: flex; align-items: center; gap: 12px; min-width: 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; padding: 6px; border-radius: var(--r-sm); font: inherit; }
.mp-now:hover { background: rgba(255,255,255,.05); }
.mp-art { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex: none; background: var(--mp-bg-2); }
.mp-meta { display: grid; min-width: 0; }
.mp-title { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mp-ink); }
.mp-artist { font-size: .85rem; color: var(--mp-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.mp-center { display: grid; gap: 2px; justify-items: center; }
.mp-controls { display: flex; align-items: center; gap: 8px; }
.mp-toggle { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #1B0F17; display: grid; place-items: center; cursor: pointer; transition: transform .1s; }
.mp-toggle:active { transform: scale(.95); }
.mp-toggle .i, .mp-toggle .i-lg { fill: currentColor; }
.mp-toggle .ic-pause, .mp.is-playing .mp-toggle .ic-play { display: none; }
.mp.is-playing .mp-toggle .ic-pause { display: grid; }
.mp-toggle .ic-play { display: grid; margin-left: 2px; }
.mp.is-playing .mp-toggle .ic-pause { margin-left: 0; }
.mp.is-loading .mp-toggle { opacity: .7; }
[data-act="repeat"] .ic-rep1, [data-act="repeat"][data-repeat="one"] .ic-rep { display: none; }
[data-act="repeat"][data-repeat="one"] .ic-rep1 { display: block; }
[data-act="mute"] .ic-muted, .mp.is-muted [data-act="mute"] .ic-vol { display: none; }
.mp.is-muted [data-act="mute"] .ic-muted { display: block; }
.mp-seek { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 560px; }
.mp-time { font-size: .75rem; color: var(--mp-ink-2); font-variant-numeric: tabular-nums; min-width: 36px; text-align: center; }
.mp-right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.mp-volume { width: 100px; }
.mp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; cursor: pointer; --p: 0%; }
.mp-range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--pink) var(--p), rgba(255,255,255,.22) var(--p)); }
.mp-range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); }
.mp-range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--pink); }
.mp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; margin-top: -5px; border: 0; }
.mp-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.mp-range:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.mp-progress-line { display: none; }

/* Queue panel (desktop) */
.mp-queue {
  position: fixed; z-index: 57; right: 16px; bottom: calc(var(--mp-h) + 12px); width: min(400px, calc(100vw - 32px)); max-height: min(60vh, 520px);
  overflow: auto; background: var(--mp-bg); color: var(--mp-ink); border-radius: var(--r-md); padding: 12px; box-shadow: var(--shadow-3);
}
.mp-queue .btn-ghost { color: var(--mp-ink-2); }
.mp-queue-head { padding: 4px 4px 8px; }
.mp-queue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mp-queue-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; }
.mp-queue-list li.is-current { background: rgba(255, 47, 134, .16); }
.mp-queue-list li button.q-play { all: unset; display: contents; cursor: pointer; }
.mp-queue-list img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.mp-queue-list .q-meta { display: grid; min-width: 0; cursor: pointer; }
.mp-queue-list .q-title { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-queue-list .q-artist { font-size: .8rem; color: var(--mp-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-queue-list .q-empty { grid-template-columns: 1fr; color: var(--mp-ink-2); padding: 12px; }

/* Full-screen player sheet */
.mp-sheet { position: fixed; inset: 0; z-index: 85; color: #fff; overflow: hidden; animation: sheet-in .28s var(--ease); }
.mp-sheet-bg { position: absolute; inset: -40px; background: var(--mp-art-url, none) center / cover; filter: blur(40px) saturate(1.3); transform: scale(1.1); }
.mp-sheet-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,15,23,.55), rgba(27,15,23,.92)); }
.mp-sheet-inner { position: relative; height: 100%; display: flex; flex-direction: column; max-width: 520px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 8px) 24px calc(env(safe-area-inset-bottom) + 24px); }
.mp-sheet .icon-btn { color: #fff; }
.mp-sheet-head { display: flex; align-items: center; justify-content: space-between; }
.mp-sheet-label { font-size: .85rem; font-weight: 650; opacity: .85; }
.mp-sheet-art { flex: 1; display: grid; place-items: center; min-height: 0; padding: 16px 0; }
.mp-art-lg { width: 100%; max-width: min(420px, 46vh); aspect-ratio: 1; height: auto; border-radius: var(--r-md); object-fit: cover; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); background: var(--mp-bg-2); }
.mp-sheet-queue { flex: 1; overflow: auto; min-height: 0; padding: 12px 0; }
.mp-sheet.show-queue .mp-sheet-art { display: none; }
.mp-sheet.show-queue .mp-sheet-queue { display: block !important; }
.mp-sheet-meta { display: flex; align-items: center; gap: 12px; }
.mp-title-lg { font-size: 1.4rem; font-weight: 750; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.mp-artist-lg { font-size: 1rem; color: rgba(255,255,255,.75); }
.mp-artist-lg:hover { text-decoration: underline; }
.mp-sheet-seek { margin: 16px 0 8px; }
.mp-sheet-seek .mp-time { color: rgba(255,255,255,.75); }
.mp-sheet-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.icon-btn-lg { width: 56px; height: 56px; }
.mp-toggle-lg { width: 72px; height: 72px; }
body.mp-sheet-open { overflow: hidden; }

@media (max-width: 760px) {
  .music-app { --mp-h: 64px; }
  .mp-bar {
    bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom)); left: 8px; right: 8px; height: 60px; border-radius: 12px;
    grid-template-columns: minmax(0, 1fr) auto; gap: 4px; padding: 0 6px 0 4px; border: 0;
  }
  body.no-bottom-nav .mp-bar { bottom: calc(8px + env(safe-area-inset-bottom)); }
  .mp-now { padding: 4px; }
  .mp-art { width: 44px; height: 44px; }
  .mp-center { justify-items: end; }
  .mp-controls { gap: 0; }
  .mp-bar .mp-toggle { width: 44px; height: 44px; background: transparent; color: var(--mp-ink); }
  .mp-progress-line { display: block; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
  .mp-progress-line span { display: block; height: 100%; width: 0; background: var(--pink); }
  .mp-queue { right: 8px; left: 8px; width: auto; bottom: calc(var(--bottom-h) + 76px); }
  body.has-player main { padding-bottom: calc(var(--mp-h) + 16px); }
  body.has-player .toast-host { bottom: calc(var(--bottom-h) + var(--mp-h) + 16px + env(safe-area-inset-bottom)); }
  .mp-sheet-inner { padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 761px) {
  .mp-sheet-inner { max-width: 960px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto auto auto; column-gap: 48px; }
  .mp-sheet-head { grid-column: 1 / -1; }
  .mp-sheet-art { grid-row: 2 / 6; grid-column: 1; }
  .mp-sheet-queue { grid-column: 2; grid-row: 2; display: block !important; }
  .mp-sheet-meta, .mp-sheet-seek, .mp-sheet-controls { grid-column: 2; }
  .mp-sheet.show-queue .mp-sheet-art { display: grid; }
  [data-act="sheet-queue"] { visibility: hidden; }
}

/* ---------- Studio ---------- */
.dropzone { display: grid; gap: 8px; justify-items: start; padding: 20px; border: 2px dashed var(--line-strong); border-radius: var(--r-md); background: var(--bg-soft); }
.dropzone.is-over { border-color: var(--pink); background: var(--pink-pale); }
.dropzone .i-lg { color: var(--pink-ink); }
.upload-progress { margin: 16px 0 4px; display: grid; gap: 6px; }
.studio-tracks { list-style: none; margin: 0; padding: 0; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.chips-sep { width: 1px; background: var(--line); margin: 0 4px; flex: none; }

/* Elements toggled with the hidden attribute must stay hidden even when a class sets display. */
[hidden] { display: none !important; }

/* Studio (layouts.dashboard): the mobile scrim must not take a grid cell on desktop. */
@media (min-width: 1001px) { .dash-scrim { display: none; } }
