/* Layout and components. Colors and fonts come from theme.css only. */
* { box-sizing: border-box; }
/* iPhone Safari: no sideways drift, no rubber-band bounce, no resize jumps from the address bar. */
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overscroll-behavior: none; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--c-text); font: 16px/1.5 var(--font-body);
  background: var(--c-bg); overflow-wrap: break-word;
  overflow-x: clip; overscroll-behavior: none; /* clip (not hidden) so sticky headers keep working */
}
#app { max-width: 100%; overflow-x: clip; overscroll-behavior: none; }
img, svg, video, input, textarea, select { max-width: 100%; }
body::before { /* starfield: static tiled specks. Sized to the largest viewport and on its own layer, so it never repaints or resizes */
  content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh;
  pointer-events: none; z-index: -1; transform: translateZ(0);
  background-image:
    radial-gradient(1px 1px at 20px 30px, var(--c-star-dim), transparent), radial-gradient(1px 1px at 140px 80px, var(--c-star-dim), transparent),
    radial-gradient(1px 1px at 70px 160px, var(--c-star-dim), transparent), radial-gradient(1px 1px at 190px 200px, var(--c-star-dim), transparent),
    radial-gradient(1px 1px at 110px 20px, var(--c-star), transparent), radial-gradient(1px 1px at 250px 140px, var(--c-star), transparent),
    radial-gradient(1px 1px at 40px 270px, var(--c-star), transparent), radial-gradient(1.5px 1.5px at 300px 300px, var(--c-star), transparent),
    radial-gradient(1.5px 1.5px at 90px 380px, var(--c-star-bright), transparent), radial-gradient(2px 2px at 420px 120px, var(--c-star-bright), transparent);
  background-size: 230px 230px, 230px 230px, 230px 230px, 230px 230px,
    340px 340px, 340px 340px, 340px 340px, 340px 340px, 520px 520px, 520px 520px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--weight-display); line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: 30px; } h2 { font-size: 22px; } h3 { font-size: 18px; }
p { margin: 0 0 .75em; }
a { color: var(--c-accent); }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 18px 0; }
.page { max-width: 560px; margin: 0 auto; padding: calc(20px + env(safe-area-inset-top)) 20px 24px; }
.center { text-align: center; } .pad { padding: 24px 0; }
.muted { color: var(--c-muted); }
.fine { color: var(--c-muted); font-size: 13px; }
.label, .eyebrow { color: var(--c-muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 18px 0 6px; }
.eyebrow { margin-top: 8px; }
.greet { font-size: 34px; margin-bottom: 20px; }
.back { display: inline-block; color: var(--c-muted); text-decoration: none; margin-bottom: 10px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; } .row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 18px 8px; }
.card .label:first-child { margin-top: 0; }
.stats { display: flex; gap: 12px; margin: 16px 0; }
.stats div { flex: 1; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 12px; text-align: center; }
.stats b { display: block; font: 600 28px var(--font-display); color: var(--c-accent); }
.stats span { font-size: 13px; color: var(--c-muted); }
.notice { background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 12px 14px; margin: 12px 0; color: var(--c-text); }
.link-block { display: block; width: 100%; text-align: left; font: inherit; cursor: pointer; }

.btn {
  display: block; width: 100%; margin: 10px 0; padding: 13px 18px; border-radius: 999px; border: 0;
  background: var(--g-brand); color: var(--c-accent-ink); font: 600 16px var(--font-body); text-align: center; text-decoration: none; cursor: pointer;
}
.btn.big { padding: 18px; font-size: 19px; margin-top: 20px; }
.btn.small { width: auto; display: inline-block; padding: 8px 14px; font-size: 14px; margin: 4px 0; }
.btn.ghost { background: transparent; color: var(--c-text); border: 1px solid var(--c-border); }
.btn:disabled { opacity: .6; }
.danger { color: var(--c-danger) !important; }
.link { background: none; border: 0; color: var(--c-accent); font: inherit; font-size: 14px; cursor: pointer; padding: 4px; }
.file input { display: none; }

.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { position: relative; margin: 0; }
.pill input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; } /* hidden radio: must not be 100% wide, or the page scrolls sideways */
.pill span, .pill-btn { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text); font: 15px var(--font-body); cursor: pointer; }
.pill input:checked + span, .pill-btn.on { background: var(--g-brand); color: var(--c-accent-ink); border-color: transparent; }
.pill input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.toggle { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; margin: 20px 0 0; padding: 14px; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-border); }
.toggle input { width: 22px; height: 22px; accent-color: var(--c-accent); grid-row: span 2; }
.toggle small { color: var(--c-muted); grid-column: 2; }

input, textarea {
  width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--c-border);
  background: var(--c-surface-2); color: var(--c-text); font: 16px var(--font-body);
}
label { display: block; margin: 10px 0; color: var(--c-muted); font-size: 14px; }
label input, label textarea { margin-top: 4px; }
label.inline { display: flex; align-items: center; gap: 10px; } label.inline input { width: auto; margin: 0; }
textarea { resize: vertical; margin-top: 12px; }

/* Album art: never cropped, never overlaid. Always a fixed square, so loading art never moves anything. */
.art, .thumb { display: block; aspect-ratio: 1 / 1; object-fit: contain; border-radius: var(--art-radius); background: var(--c-bg-deep); }
.art { width: min(100%, 320px); height: auto; margin: 0 auto 16px; }
.art-box { position: relative; width: min(100%, 320px); aspect-ratio: 1 / 1; margin: 0 auto 14px; border-radius: var(--art-radius); background: var(--c-surface-2); overflow: hidden; }
.art-box .art { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; transition: opacity .3s; }
.art-box .art.on { opacity: 1; }
.thumb { width: 52px; height: 52px; flex: none; }
.thumb.lg { width: 96px; height: 96px; }
.art-empty { background: var(--c-surface-2); }

.session-bar { display: flex; justify-content: space-between; align-items: center; color: var(--c-muted); font-size: 14px; margin-bottom: 4px; }
.astro { color: var(--c-accent); font-size: 14px; margin: 0 0 8px; }
.song h2 { font-size: 26px; margin-bottom: 2px; }
.artist { color: var(--c-muted); font-size: 17px; margin-bottom: 4px; }
/* Session card: every line has a reserved height, so a new song swaps text without shifting the page. */
.session { padding-bottom: 150px; } /* room to scroll past the floating status overlay */
.session-bar, .astro { min-height: 21px; }
.progress { width: min(100%, 320px); height: 3px; margin: 0 auto; border-radius: 3px; background: var(--c-border); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--g-brand); transform-origin: left center; transform: scaleX(0); will-change: transform; }
.prog-times { width: min(100%, 320px); margin: 4px auto 10px; display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; line-height: 16px; }
.song .song-name { display: flex; align-items: flex-end; min-height: 63px; margin-bottom: 2px; }
.song-name span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.song .artist, .song-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song .artist { line-height: 25px; height: 25px; }
.song-meta { line-height: 20px; height: 20px; }
.song[data-state="empty"] .song-name { color: var(--c-muted); }
/* Floating status messages (device, playback, next song): overlay, never part of the page flow. */
.dock { position: fixed; z-index: 15; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 536px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.dock > div:empty { display: none; }
.overlay { pointer-events: auto; width: 100%; margin: 0; padding: 12px 14px; border-radius: var(--radius); background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .6); font: inherit; animation: rise-in .25s ease-out both; }
.overlay p { margin: 0 0 6px; } .overlay p:last-child { margin: 0; }
.overlay .row { align-items: center; }
button.overlay { text-align: left; cursor: pointer; }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.question { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 4px 16px 6px; margin: 14px 0; }
.question p:last-child { font: 19px/1.4 var(--font-display); }
.notes { list-style: none; padding: 0; margin: 0; }
.notes li { border-left: 2px solid var(--c-border); padding: 2px 0 2px 12px; margin: 0 0 12px; }
.notes time { font-size: 12px; color: var(--c-muted); }
.notes p { margin: 0; }
.spotify-link { white-space: nowrap; }

.search-bar { position: sticky; top: 0; z-index: 5; padding: calc(10px + env(safe-area-inset-top)) 20px 10px; background: var(--c-bg); border-bottom: 1px solid var(--c-border); }
.search-bar input { max-width: 520px; display: block; margin: 0 auto; border-radius: 999px; }
.search-bar + .page { padding-top: 16px; }
.walks { color: var(--c-muted); font-size: 14px; } .walks b { color: var(--c-accent); }
.chapter { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 26px 0 8px; padding-top: 14px; border-top: 1px solid var(--c-border); }
.chapter p { margin: 0 0 4px; }
.song-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 0; background: none; border: 0; border-bottom: 1px solid var(--c-border); color: inherit; text-align: left; font: inherit; cursor: pointer; }
.song-row .meta { flex: 1; min-width: 0; }
.song-row b, .song-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-row b { font-weight: 500; } .song-row small { color: var(--c-muted); }
.badge { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--c-surface-2); color: var(--c-accent); font-size: 13px; display: grid; place-items: center; }

dialog { width: min(560px, 100%); max-height: 90vh; max-height: 90dvh; overscroll-behavior: contain; margin: auto auto 0; padding: 0; border: 1px solid var(--c-border); border-radius: var(--radius) var(--radius) 0 0; background: var(--c-surface); color: var(--c-text); }
dialog::backdrop { background: rgba(0, 0, 0, .6); }
.sheet { padding: 22px 20px calc(18px + env(safe-area-inset-bottom)); }
.sheet-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.sheet-head h2 { margin: 0; }

.loading { padding-top: 22vh; padding-top: 22svh; }
.loading .logo { width: 84px; margin: 0 auto 22px; animation: fade-in .6s ease-out both; } /* one-time fade, no looping glow */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

#toast { position: fixed; left: 16px; right: 16px; width: fit-content; max-width: 520px; margin: 0 auto; text-align: center;
  bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateY(20px); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; z-index: 20;
  background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-text); padding: 10px 16px; border-radius: 999px; font-size: 14px; }
#toast.show { opacity: 1; transform: none; }
/* ---------- 1. Welcome (first screen for new users), from the founder's design ---------- */
.welcome {
  height: 100vh; height: 100dvh; max-width: 520px; margin: 0 auto; overflow: hidden;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; text-align: center;
  padding: calc(clamp(18px, 6svh, 60px) + env(safe-area-inset-top)) 0 calc(clamp(16px, 3.5svh, 34px) + env(safe-area-inset-bottom));
  font-family: var(--font-wordmark);
}
.welcome-top { position: relative; z-index: 1; padding: 0 20px; display: flex; flex-direction: column; align-items: center; }
.welcome .logo { width: clamp(70px, 14svh, 128px); margin-bottom: clamp(10px, 2.6svh, 26px); }
.wordmark {
  font-family: var(--font-wordmark); font-weight: var(--weight-wordmark); text-transform: uppercase; color: var(--c-text);
  font-size: clamp(26px, min(10vw, 5.4svh), 44px); line-height: 1.32; letter-spacing: .34em; margin: 0 -.34em 0 0;
}
.wordmark span { display: block; }
/* Under the italic line, 16px below it: the small caps, smaller and dimmer. One line when it fits, otherwise it
   breaks after "Meditation ·". Both sit in the bottom block, so they can never overlap each other or the wordmark. */
.tagline {
  font-size: clamp(9.5px, 2.7vw, 11.5px); font-weight: 400; letter-spacing: .24em; line-height: 1.8; text-transform: uppercase;
  color: var(--c-text); opacity: .6; margin: 16px -.24em clamp(18px, 4svh, 38px) 0;
}
.tagline span { display: inline-block; white-space: nowrap; }
.sky { position: relative; z-index: 0; width: 100%; min-height: 0; display: flex; align-items: flex-end; }
.horizon {
  width: 100%; max-height: 100%; object-fit: cover; object-position: center 40%; display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
}
.welcome-bottom { position: relative; z-index: 1; width: 100%; max-width: 440px; padding: 0 28px; display: flex; flex-direction: column; align-items: center; }
.welcome .lede {
  font-style: italic; font-weight: 300; font-size: clamp(17px, 5vw, 21px); line-height: 1.45; letter-spacing: .04em; color: var(--c-text);
  margin: 0; text-shadow: 0 1px 12px #000;
}
.welcome .lede span { display: block; }
.btn.brand {
  display: flex; align-items: center; justify-content: center; margin: 0;
  padding: clamp(14px, 2.2svh, 18px) 18px; font: 500 clamp(17px, 4.8vw, 20px) var(--font-body); color: var(--c-accent-ink);
  background: var(--g-brand); box-shadow: 0 0 30px -8px var(--c-pink), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn.brand .arrow { margin-left: 12px; }
.have-account { margin: clamp(12px, 2.4svh, 20px) 0 0; font-size: 14px; color: var(--c-muted); text-align: center; }
.have-account a { color: var(--c-peach); text-underline-offset: 4px; }

/* Logo: SVG ring + swappable center icon (/img/logo-center.svg) */
.logo { position: relative; aspect-ratio: 1; }
.logo-ring { display: block; width: 100%; height: 100%; }
.logo-center { position: absolute; left: 30%; top: 31.5%; width: 40%; height: 36%; object-fit: contain; }

/* ---------- 2–4. Onboarding + account screens ---------- */
.ob {
  min-height: 100vh; min-height: 100dvh; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column;
  padding-top: calc(clamp(16px, 4svh, 36px) + env(safe-area-inset-top)); text-align: center;
}
.ob-top { position: relative; padding: 0 20px; }
.ob-back { position: absolute; left: 14px; top: -2px; }
.mini-wordmark {
  font: var(--weight-wordmark) clamp(17px, 5vw, 21px)/1.35 var(--font-wordmark); letter-spacing: .34em; margin-right: -.34em;
  text-transform: uppercase; color: var(--c-text);
}
.mini-wordmark span { display: block; }
.ob-main { position: relative; z-index: 1; padding: clamp(22px, 5svh, 48px) 24px 0; }
/* Log in and Get Started: the wordmark at about 60% of the opening page's (same thin caps and letter spacing),
   with the same space above and below it. */
.ob-big { padding-top: calc(clamp(22px, 5svh, 44px) + env(safe-area-inset-top)); }
.ob-big .mini-wordmark { font-size: clamp(17px, min(6vw, 3.25svh), 26.4px); line-height: 1.32; }
.ob-big .ob-main { padding-top: clamp(22px, 5svh, 44px); }
.ob-title { font: 400 clamp(24px, 7vw, 28px)/1.2 var(--font-display); margin: 0 0 8px; }
.ob-sub { font-style: italic; font-weight: 300; color: var(--c-text); opacity: .9; margin: 0 auto clamp(18px, 4svh, 32px); max-width: 22em; }
.ob-text { color: var(--c-muted); margin: 0 0 24px; }
.ob-text b { color: var(--c-text); font-weight: 500; }
.ob-form { text-align: left; }
.ob-form .btn.brand { margin-top: clamp(18px, 4svh, 30px); }
.ob-sunrise {
  display: block; width: 100%; margin-top: auto; padding-top: 12px; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 75%, transparent);
}

/* Pill fields with a thin peach→purple border */
.field {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; margin: 0 0 12px; padding: 0 16px;
  border: 1px solid transparent; border-radius: 999px; color: var(--c-text); text-align: left;
  background: linear-gradient(var(--c-field), var(--c-field)) padding-box, var(--g-border) border-box;
}
.field:focus-within { background: linear-gradient(var(--c-field), var(--c-field)) padding-box, var(--g-brand) border-box; }
.field input { flex: 1; min-width: 0; margin: 0; padding: 14px 0; border: 0; border-radius: 0; background: none; color: var(--c-text); font: 16px var(--font-body); outline: none; } /* 16px+ stops iOS zooming in on focus */
.field input::placeholder { color: var(--c-text); opacity: .85; }
.field-icon, .field-end { display: grid; place-items: center; flex: none; color: var(--c-text); opacity: .9; }
.field-icon svg { width: 22px; height: 22px; }
.field-end svg { width: 20px; height: 20px; }
.field-end { margin-left: auto; background: none; border: 0; padding: 4px; cursor: pointer; }
.picker { cursor: pointer; }
.picker-btn { width: 100%; text-align: left; color: var(--c-text); font: 16px var(--font-body); -webkit-tap-highlight-color: transparent; }
.birth-wheel { margin: -4px auto 10px; }
.birth-wheel[hidden] { display: none; }
.picker-text { flex: 1; padding: 14px 0; font-size: 15px; }
.picker-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0 !important; }
.picker input:disabled { pointer-events: none; }
.check { display: flex; align-items: center; gap: 10px; margin: -2px 0 14px 18px; font-size: 14px; color: var(--c-muted); }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--c-pink); }
.place-wrap { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% - 6px); z-index: 5; list-style: none; margin: 0; padding: 6px; border-radius: 18px; background: var(--c-surface-2); border: 1px solid var(--c-border); }
.suggest li { padding: 10px 12px; border-radius: 12px; cursor: pointer; font-size: 15px; }
.suggest li:hover { background: var(--c-surface); }
.form-error { color: var(--c-danger); font-size: 14px; margin: 4px 4px 0; }
.forgot { display: block; text-align: right; font-size: 14px; color: var(--c-muted); margin: -2px 8px 0; }
.skip { display: block; margin: 18px auto 0; background: none; border: 0; padding: 8px; color: var(--c-peach); font: 15px var(--font-body); text-align: center; text-underline-offset: 4px; text-decoration: underline; cursor: pointer; }

/* Connect your music */
.providers { text-align: left; }
.row-btn { min-height: 62px; padding: 10px 16px 10px 14px; cursor: pointer; font: inherit; }
.row-btn:disabled { cursor: not-allowed; opacity: .55; }
.brand-icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; }
.brand-icon svg { width: 30px; height: 30px; }
.provider-spotify .brand-icon { color: var(--c-spotify); }
.provider-apple .brand-icon { border-radius: 8px; background: var(--c-surface-2); color: var(--c-muted); }
.provider-apple .brand-icon svg { width: 18px; height: 18px; }
.row-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.row-text b { font-weight: 500; font-size: 16px; }
.row-text small { color: var(--c-muted); font-size: 12px; }
.soon { font: 600 10px var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--c-border); color: var(--c-muted); }
.ob-note { display: flex; gap: 8px; align-items: flex-start; justify-content: center; margin: 22px auto 6px; max-width: 20em; font-size: 14px; color: var(--c-text); opacity: .9; }
.ob-note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.notice.center { text-align: center; }
.notice .btn.small { margin: 2px auto 0; display: block; width: fit-content; }

/* ---------- 5. Home ---------- */
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: none; border: 0; color: var(--c-text); cursor: pointer; }
.icon-btn svg { width: 26px; height: 26px; }
.home-top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: start; margin-bottom: 18px; }
.home-top .mini-wordmark { text-align: center; }
.home .greet { font: 400 clamp(22px, 6.4vw, 26px)/1.2 var(--font-display); text-align: center; margin: 0 0 4px; }
.ready { text-align: center; font-style: italic; font-weight: 300; margin: 0 0 18px; }
.rewind-card { position: relative; display: block; overflow: hidden; border-radius: 20px; border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; aspect-ratio: 1.75; background: var(--c-surface); }
.rewind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.rewind-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, .82)); }
.rc-text { position: absolute; z-index: 1; left: 16px; right: 72px; bottom: 14px; display: flex; flex-direction: column; }
.rc-text b { font: 500 20px var(--font-display); }
.rc-text small { font-size: 12px; opacity: .9; line-height: 1.4; }
.play { position: absolute; z-index: 1; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--c-peach); color: var(--c-peach); background: rgba(0, 0, 0, .35); }
.play svg { width: 22px; height: 22px; margin-left: 2px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 14px 8px; border-radius: 18px;
  background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; text-align: center; font-size: 14px; line-height: 1.25; }
.tile-icon { display: grid; place-items: center; color: var(--c-peach); }
.tile-icon svg { width: 28px; height: 28px; }
.tile-icon.big svg { width: 56px; height: 56px; margin: 30px auto 10px; }
.past { list-style: none; padding: 0; margin: 0; }
.past li { margin-bottom: 12px; padding-bottom: 6px; }
.spotify-mark svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--c-spotify); }
.label small { text-transform: none; letter-spacing: 0; }

body:has(.welcome), body:has(.ob) { padding-bottom: 0; }

/* Import summary, alignments facts, on-repeat card, session history */
.facts { margin: 8px 0 12px; padding-left: 18px; }
.facts li { margin: 4px 0; }
.repeat { margin-top: 14px; padding-bottom: 12px; }
.repeat p { margin-bottom: 10px; }
.past details > summary { list-style: none; cursor: pointer; }
.past details > summary::-webkit-details-marker { display: none; }
.past details > summary p { margin: 0 0 6px; }
.played { margin: 4px 0 12px; padding-left: 20px; font-size: 14px; }
.played li { margin: 3px 0; }
.held { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-peach); margin-left: 6px; }
