/* Wygląd wzorowany na mobilnej aplikacji Spotify: ciemne tło #121212, zielony akcent, gradient z koloru okładki */
:root {
  --bg: #121212; --bg2: #181818; --bg3: #242424; --bg4: #2a2a2a; --tile: rgba(255,255,255,.1);
  --fg: #fff; --fg2: #b3b3b3; --fg3: #6a6a6a; --acc: #1ed760; --acc2: #1db954;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
  --tabs: calc(56px + var(--sb)); --mini: 62px; --hc: #3a3a3a;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); overflow: hidden;
  font: 15px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-user-select: none; user-select: none; -webkit-text-size-adjust: 100%; overscroll-behavior: none; letter-spacing: -.01em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
input { font: inherit; color: inherit; }
img { display: block; }
.i { flex: none; }
[hidden] { display: none !important; }
h1, h2, h3 { letter-spacing: -.02em; }

/* ===== główny widok (przewija się pod paskiem zakładek) ===== */
#view { position: fixed; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--bg);
  padding: 0 0 calc(var(--tabs) + 24px); }
body.has-mini #view { padding-bottom: calc(var(--tabs) + var(--mini) + 24px); }
.page { position: relative; padding-top: calc(var(--st) + 8px); }
/* gradient z koloru okładki / pierwszego kafelka w górnej części strony */
.page.tint::before { content: ''; position: absolute; inset: 0 0 auto; height: calc(var(--st) + 380px); z-index: -1;
  background: linear-gradient(var(--hc) 0, color-mix(in srgb, var(--hc) 45%, var(--bg)) 45%, var(--bg) 100%); transition: background .5s; }
.page.tint-soft::before { height: calc(var(--st) + 260px); background: linear-gradient(color-mix(in srgb, var(--hc) 55%, var(--bg)), var(--bg)); }
#view, .page { isolation: isolate; }
.page.flush { padding-top: 0; }
.av-btn { flex: none; border-radius: 50%; }

.top { display: flex; align-items: center; gap: 12px; padding: 6px 16px 12px; }
.top h1 { font-size: 24px; font-weight: 800; margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .back, .back.round { width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; flex: none; }
.top .ib { color: var(--fg); }
.avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center;
  background: #e8a33d; color: #000; font-weight: 800; font-size: 15px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.anon { background: var(--bg4); color: var(--fg2); }

/* pasek pojawiający się przy przewinięciu strony albumu/playlisty */
.sticky-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 12; display: flex; align-items: center; gap: 12px;
  padding: calc(var(--st) + 8px) 16px 10px; background: color-mix(in srgb, var(--hc) 70%, #000); opacity: 0; pointer-events: none; transition: opacity .2s; }
.sticky-bar h2 { margin: 0; font-size: 16px; font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-bar.on { opacity: 1; pointer-events: auto; }
.float-back { position: fixed; top: calc(var(--st) + 8px); left: 16px; z-index: 11; }

.loading { padding: calc(var(--st) + 60px) 40px 40px; text-align: center; color: var(--fg3); }
.loading::after { content: ''; display: block; width: 28px; height: 28px; margin: 14px auto 0; border-radius: 50%;
  border: 3px solid var(--bg4); border-top-color: var(--acc); animation: spin .8s linear infinite; }
.loading.small { padding: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.err { padding: calc(var(--st) + 40px) 20px 30px; color: var(--fg2); text-align: center; }
.err button { margin-top: 12px; }

/* ===== chipsy (filtry) ===== */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 14px; scrollbar-width: none; align-items: center; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border-radius: 999px; background: var(--tile); padding: 7px 15px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.chip.on { background: var(--acc); color: #000; font-weight: 600; }
.home-head { display: flex; align-items: center; gap: 10px; padding: 6px 0 0 16px; }
.home-head .chips { padding: 0 16px 0 0; flex: 1; }

/* ===== szybki dostęp: siatka 2 × 4 jak w Spotify ===== */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 6px; }
.qt { display: flex; align-items: center; gap: 8px; height: 56px; border-radius: 4px; overflow: hidden; background: var(--tile); text-align: left; min-width: 0; }
.qt:active { background: rgba(255,255,255,.18); }
.qt img, .qt .sq { width: 56px; height: 56px; flex: none; object-fit: cover; background: var(--bg4); box-shadow: 0 0 12px rgba(0,0,0,.3); }
.qt .t { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.2; padding-right: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qt.playing .t { color: var(--acc); }

/* ===== sekcje i półki ===== */
.sec { margin: 22px 0 6px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 16px 12px; gap: 12px; }
.sec-head h2 { font-size: 22px; font-weight: 800; margin: 0; line-height: 1.15; }
.sec-head .strap { font-size: 13px; color: var(--fg2); margin-bottom: 2px; }
.sec-head .lead { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sec-head .lead img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg4); }
.sec-head .more { font-size: 13px; color: var(--fg2); white-space: nowrap; font-weight: 700; }
.row-scroll { display: flex; gap: 14px; overflow-x: auto; padding: 0 16px; scroll-padding-inline: 16px; scroll-snap-type: x proximity; scrollbar-width: none; }
.row-scroll::after { content: ''; flex: 0 0 2px; }
.row-scroll::-webkit-scrollbar { display: none; }
.card { width: 148px; flex: none; scroll-snap-align: start; min-width: 0; }
.card.wide { width: 240px; }
.card .cv { position: relative; }
.card img, .card .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: var(--bg3); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.card.wide img { aspect-ratio: 16/9; }
.card.round img { border-radius: 50%; }
.card .t { font-size: 13px; font-weight: 700; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.round .t { text-align: center; }
.card .s { font-size: 13px; color: var(--fg2); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.round .s { text-align: center; }
.card.playing .t { color: var(--acc); }
.card:active img { filter: brightness(.8); }
/* okładka miksu: kolorowy pasek i podpis jak w „Daily Mix” */
.mixcv { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 1; background: var(--c, #555); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.mixcv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.mixcv::after { content: ''; position: absolute; inset: auto 0 0; height: 10px; background: var(--c, #555); }
.mixcv .lbl { position: absolute; left: 8px; top: 8px; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(0,0,0,.45); padding: 2px 6px; border-radius: 3px; }
.mixcv .nm { position: absolute; left: 10px; right: 10px; bottom: 18px; font-size: 19px; font-weight: 800; line-height: 1.05; text-shadow: 0 1px 8px rgba(0,0,0,.6);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 14px; padding: 0 16px; }
.grid .card { width: auto; }

/* kafelki „Przeglądaj wszystko” */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
.cat { position: relative; overflow: hidden; border-radius: 6px; padding: 12px; height: 96px; font-weight: 800; font-size: 16px; line-height: 1.15;
  display: flex; align-items: flex-start; text-align: left; background: color-mix(in srgb, var(--c, var(--acc2)) 72%, #000); text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.cat::after { content: ''; position: absolute; right: -14px; bottom: -8px; width: 62px; height: 62px; border-radius: 4px; transform: rotate(25deg);
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(0,0,0,.25)); box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.cat:active { filter: brightness(.85); }

/* ===== wiersze utworów ===== */
.trow { display: flex; align-items: center; gap: 12px; padding: 6px 16px; min-height: 60px; }
.trow:active { background: rgba(255,255,255,.06); }
.trow img { width: 48px; height: 48px; border-radius: 2px; object-fit: cover; background: var(--bg3); flex: none; }
.trow.round img { border-radius: 50%; }
.trow .idx { width: 20px; text-align: center; color: var(--fg2); font-size: 15px; flex: none; }
.trow .m { flex: 1; min-width: 0; }
.trow .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px; }
.trow .s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; color: var(--fg2); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.trow .s > span { overflow: hidden; text-overflow: ellipsis; }
.trow .s .e { flex: none; width: 15px; height: 15px; border-radius: 2px; background: var(--fg2); color: #000; font-size: 9px; font-weight: 800; display: grid; place-items: center; }
.trow.playing .t, .trow.playing .idx { color: var(--acc); }
.trow.disabled { opacity: .4; }
.trow .ib { width: 34px; height: 34px; color: var(--fg2); margin-right: -6px; }
.trow .liked { color: var(--acc); flex: none; }

/* ===== nagłówek albumu / playlisty ===== */
.coll { padding: 36px 16px 0; }
.coll .cover { width: min(64vw, 250px); aspect-ratio: 1; object-fit: cover; margin: 0 auto 22px; background: var(--bg3); box-shadow: 0 8px 36px rgba(0,0,0,.55); }
.coll .cover.sq { display: grid; place-items: center; }
.coll .cover.mosaic { overflow: hidden; display: grid; }
.coll .cover.mixcv { display: block; }
.coll .cover.mixcv .nm { font-size: 30px; left: 16px; bottom: 24px; }
.coll .cover.mixcv .lbl { font-size: 12px; left: 12px; top: 12px; }
.coll .owner .avatar.anon { background: var(--bg4); }
.coll h1 { font-size: 24px; font-weight: 800; margin: 0 0 8px; line-height: 1.15; }
.coll .owner { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.coll .owner img, .coll .owner .avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; font-size: 10px; }
.coll .meta { color: var(--fg2); font-size: 13px; }
.coll .desc { color: var(--fg2); font-size: 13px; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coll .desc.open { -webkit-line-clamp: unset; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; }
.mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sq.liked { background: linear-gradient(135deg, #450af5, #8e8ee5 60%, #c4efd9); color: #fff; }
.sq.hist { background: linear-gradient(135deg, #1e3264, #148a08); color: #fff; }
.sq.mix { background: linear-gradient(135deg, #8d67ab, #e8115b); color: #fff; }

.actions { display: flex; align-items: center; gap: 18px; padding: 10px 16px 12px; }
.actions .sp { flex: 1; }
.actions .ib { width: 34px; height: 34px; color: var(--fg2); }
.actions .ib.on { color: var(--acc); }
.actions .ib.dot, .ctrls .ib.on, .full-foot .ib.on { position: relative; }
.actions .ib.on.dot::after, .ctrls .ib.on::after, .full-foot .ib.on::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--acc); }
.pill { border: 1px solid #727272; border-radius: 999px; padding: 6px 15px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.pill.on { border-color: var(--fg); }
.pill.solid { background: var(--fg); color: #000; border-color: var(--fg); }
.play-fab { width: 56px; height: 56px; border-radius: 50%; background: var(--acc); color: #000; display: grid; place-items: center; flex: none; }
.play-fab:active { transform: scale(.95); background: var(--acc2); }
.ib { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.ib.on { color: var(--acc); }

/* ===== strona wykonawcy ===== */
.banner { position: relative; height: calc(330px + var(--st)); background: var(--bg3) center 25%/cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.15) 30%, var(--bg) 100%); }
.banner h1 { position: absolute; left: 16px; right: 16px; bottom: 12px; margin: 0; font-size: 44px; font-weight: 900; line-height: 1; z-index: 1; letter-spacing: -.03em; }
.listeners { color: var(--fg2); font-size: 13px; padding: 8px 16px 0; }

/* ===== wyszukiwanie ===== */
.search-box { position: sticky; top: 0; z-index: 5; padding: 6px 16px 12px; background: var(--bg); }
.search-box form { display: flex; align-items: center; gap: 10px; background: #fff; color: #121212; border-radius: 6px; padding: 0 12px; height: 46px; }
.search-box input { flex: 1; border: 0; outline: 0; background: none; color: #121212; font-size: 16px; font-weight: 500; min-width: 0; -webkit-appearance: none; appearance: none; }
.search-box input::placeholder { color: #535353; }
.search-box input::-webkit-search-cancel-button, .search-box input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.search-box .x { color: #535353; }
.sugg .trow { min-height: 50px; }
.sugg .trow > .i { color: var(--fg2); margin: 0 4px; }
.top-res { margin: 0 16px 6px; background: var(--bg3); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.top-res img { width: 96px; height: 96px; border-radius: 4px; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.top-res.round img { border-radius: 50%; }
.top-res .t { font-size: 26px; font-weight: 800; }
.top-res .s { color: var(--fg2); font-size: 13px; margin-top: 4px; }

/* ===== biblioteka ===== */
.lib-row { display: flex; align-items: center; gap: 12px; padding: 7px 16px; }
.lib-row:active { background: rgba(255,255,255,.06); }
.lib-row .sq { width: 64px; height: 64px; border-radius: 2px; flex: none; display: grid; place-items: center; object-fit: cover; background: var(--bg3); }
.lib-row.round .sq { border-radius: 50%; }
.lib-row .t { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-row.playing .t { color: var(--acc); }
.lib-row .s { color: var(--fg2); font-size: 13px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }
.lib-row .s .pin { color: var(--acc); flex: none; display: grid; }
.lib-row .s > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.lib-row .m { min-width: 0; flex: 1; }
.lib-sort { display: flex; align-items: center; gap: 6px; padding: 2px 16px 8px; font-size: 13px; font-weight: 700; color: var(--fg); }
.note { margin: 10px 16px; padding: 14px; border-radius: 8px; background: var(--bg3); color: var(--fg2); font-size: 13px; }
.cta { margin: 18px 16px 0; padding: 18px 16px; border-radius: 8px; background: linear-gradient(135deg, #1f4e3a, #242424 70%); }
.cta h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.cta p { margin: 0 0 14px; color: var(--fg2); font-size: 13px; }

/* ===== mini-odtwarzacz ===== */
#mini { position: fixed; left: 8px; right: 8px; bottom: calc(var(--tabs) + 4px); height: 56px; border-radius: 6px; z-index: 20;
  background: color-mix(in srgb, var(--mc, #333) 85%, #000); display: flex; align-items: center; gap: 10px; padding: 0 4px 0 8px;
  overflow: hidden; transition: background .4s; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
#mini .mini-cover { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; background: var(--bg4); }
#mini .mini-meta { flex: 1; min-width: 0; }
#mini .t { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mini .s { font-size: 13px; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mini .mini-prog { position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; background: rgba(255,255,255,.25); border-radius: 1px; }
#mini .mini-prog i { display: block; height: 100%; width: 0; background: #fff; border-radius: 1px; }
#mini .ib { width: 40px; height: 40px; }
#mini .ib.on { color: var(--acc); }
#mini.buffering .ib.big { opacity: .5; }

/* ===== zakładki ===== */
#tabs { position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--tabs) + 24px); padding: 24px 0 var(--sb); z-index: 15; display: flex;
  background: linear-gradient(rgba(18,18,18,0), rgba(0,0,0,.85) 34%, #000 70%); pointer-events: none; }
#tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 10px; color: var(--fg2); pointer-events: auto; }
#tabs button.on { color: var(--fg); font-weight: 600; }

/* ===== pełny odtwarzacz ===== */
#full { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; padding: calc(var(--st) + 4px) 24px calc(var(--sb) + 12px);
  background: #121212; transform: translateY(0); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
#full.closing { transform: translateY(100%); }
.full-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(color-mix(in srgb, var(--mc, #333) 90%, #fff 0%) 0, color-mix(in srgb, var(--mc, #333) 55%, #121212) 60%, #121212 100%); transition: background .5s; }
.full-head { display: flex; align-items: center; gap: 8px; margin: 0 -10px; }
.full-ctx { flex: 1; text-align: center; min-width: 0; }
.full-ctx .lbl { font-size: 10px; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .1em; }
.full-ctx .ctx-title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.full-body { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; margin: 18px 0; position: relative; }
.full-cover { width: 100%; max-height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 16px 50px rgba(0,0,0,.45); background: var(--bg3); }
.full-lyrics, .full-queue { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; }
.full-lyrics { background: color-mix(in srgb, var(--mc, #333) 80%, #000); padding: 18px; font-size: 22px; font-weight: 800; line-height: 1.45; white-space: pre-wrap; user-select: text; -webkit-user-select: text; }
.full-lyrics .ln { color: rgba(0,0,0,.55); transition: color .2s; margin-bottom: 4px; }
.full-lyrics .ln.on { color: #fff; }
.full-lyrics .src { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.6); margin-top: 18px; }
.full-queue { background: rgba(18,18,18,.92); }
.full-queue h3 { font-size: 16px; font-weight: 800; margin: 16px 16px 6px; }
.full-queue .trow { padding: 6px 12px; min-height: 54px; }
.full-queue .trow img { width: 42px; height: 42px; }
.full-meta { display: flex; align-items: center; gap: 12px; }
.full-meta .t { font-size: 22px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.full-meta .s { font-size: 16px; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.full-meta .ib { margin-right: -8px; }
.seek { margin: 16px 0 2px; }
.seek input { width: 100%; -webkit-appearance: none; appearance: none; height: 20px; background: transparent; margin: 0; }
.seek input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #fff var(--p, 0%), rgba(255,255,255,.3) var(--p, 0%)); }
.seek input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; margin-top: -4px; }
.seek .times { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.7); margin-top: 2px; }
.ctrls { display: flex; align-items: center; justify-content: space-between; margin: 4px -8px; }
.ctrls .ib { width: 50px; height: 50px; }
.play-big { width: 66px; height: 66px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; }
.play-big:active { transform: scale(.95); }
.full-foot { display: flex; justify-content: space-between; margin: 6px -8px 0; }

/* ===== arkusz akcji ===== */
#sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.65); display: flex; align-items: flex-end; }
#sheet { width: 100%; max-height: 82vh; overflow-y: auto; background: #282828; border-radius: 12px 12px 0 0; padding: 8px 0 calc(var(--sb) + 12px); }
#sheet::before { content: ''; display: block; width: 36px; height: 4px; border-radius: 2px; background: #5a5a5a; margin: 2px auto 8px; }
#sheet .sh-head { display: flex; gap: 12px; align-items: center; padding: 6px 16px 14px; border-bottom: 1px solid #3e3e3e; margin-bottom: 6px; }
#sheet .sh-head img, #sheet .sh-head .avatar { width: 52px; height: 52px; border-radius: 2px; object-fit: cover; flex: none; }
#sheet .sh-head .avatar { border-radius: 50%; font-size: 22px; }
#sheet .sh-head .t { font-weight: 700; font-size: 16px; }
#sheet .sh-head .s { color: var(--fg2); font-size: 13px; }
#sheet .opt { display: flex; align-items: center; gap: 16px; width: 100%; padding: 13px 20px; font-size: 16px; text-align: left; }
#sheet .opt:active { background: #333; }
#sheet .opt .i { color: var(--fg2); }
#sheet .sh-note { padding: 6px 20px 10px; color: var(--fg2); font-size: 13px; }

#toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabs) + var(--mini) + 16px); z-index: 80;
  background: #fff; color: #000; padding: 11px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; max-width: calc(100% - 32px); text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.5); }
