/* Balloon PWA — phone-first replica of the Android app (visual reference: reference/*.png) */

@font-face { font-family: 'Poppins'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/Poppins-Light.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; font-weight: 300; font-style: italic; font-display: swap; src: url('../fonts/Poppins-LightItalic.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Poppins-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Poppins-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/Poppins-SemiBold.ttf') format('truetype'); }

:root {
  --teal-100: #d4ebe6; --teal-200: #b3ddd5; --teal-500: #8dc9bd; --teal-600: #4a9183; --teal-800: #396f64;
  --rose-100: #efcfd1; --rose-200: #ecaeb1; --rose-500: #db9598; --rose-600: #bf565d; --rose-800: #94383e;
  --purple-100: #e7d7e3; --purple-200: #be97b5; --purple-500: #aa749d; --purple-600: #815d7a; --purple-800: #412f3d;
  --blue-100: #d7e1e7; --blue-200: #b0c3cd; --blue-500: #598096; --blue-600: #335466; --blue-800: #283943;
  --yellow-100: #f7ecc7; --yellow-500: #e9c85f; --yellow-600: #deae39; --yellow-800: #624b10;
  --ink: #132026; --slate: #455a64; --slate-300: #8f9ca2;
  --grey-50: #f4f5f5; --grey-100: #eaeaea; --grey-200: #d4d4d4; --grey-400: #aaaaaa; --grey-600: #666666;
  --bg: #f4f5f5;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(19, 32, 38, 0.10);
  --shadow-sm: 0 2px 6px rgba(19, 32, 38, 0.07);
  --tabbar-h: 66px;
  --mini-h: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --col: 480px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #e9ecec; color: var(--slate); font-family: var(--font); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
body.player-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.icon { display: inline-block; vertical-align: middle; flex: none; }
[hidden] { display: none !important; }

#app { position: relative; max-width: var(--col); margin: 0 auto; min-height: 100dvh; background: var(--bg); }
@media (min-width: 520px) { #app { box-shadow: 0 0 40px rgba(19, 32, 38, 0.14); } }
#view { min-height: 100dvh; padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 24px); }
body.has-mini #view { padding-bottom: calc(var(--tabbar-h) + var(--mini-h) + var(--safe-b) + 24px); }
body.no-chrome #view { padding-bottom: calc(var(--safe-b) + 32px); }
body.no-chrome.has-mini #view { padding-bottom: calc(var(--mini-h) + var(--safe-b) + 32px); }
.view { animation: fade .18s ease-out; min-height: 100dvh; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------- tab bar (START · ENTDECKEN · MEIN BALLOON · KALENDER · PROFIL) */
#tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: var(--col); height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b); display: flex; background: #fff; box-shadow: 0 -2px 10px rgba(19,32,38,.06); z-index: 40; }
body.no-chrome #tabbar { display: none; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--slate); font-size: 9.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.tab.active { color: var(--teal-500); }
.tab .icon { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- header */
.hdr { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; height: 60px; padding: 0 6px; background: var(--bg); color: var(--slate); }
.hdr-color { color: #fff; }
.hdr-color:not(.hdr-dark) { color: var(--slate); }
.hdr-transparent { background: transparent; position: absolute; left: 0; right: 0; }
.hdr-title { text-align: center; font-weight: 600; font-size: 14px; letter-spacing: 1.3px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: inherit; }
.hdr-right { display: flex; justify-content: flex-end; align-items: center; gap: 6px; min-width: 48px; }
.cbtn { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--slate); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); flex: none; }
.cbtn.ghost { background: rgba(255,255,255,.28); color: #fff; box-shadow: none; }

/* ---------------------------------------------------------------- bands / typography */
.band { padding: 22px 20px 26px; color: var(--slate); text-align: center; }
.band-dark { color: #fff; }
.band .h1 { font-size: 30px; }
.band .hdr { background: transparent; margin: -22px -20px 0; }
.band-hero { padding-top: 0; }
.h1 { font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -.2px; white-space: pre-line; }
.h2 { font-weight: 600; font-size: 20px; line-height: 1.25; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.muted { color: var(--grey-600); }
.small { font-size: 13px; }
.center { text-align: center; }
.pad { padding: 0 16px; }
.pt { padding-top: 16px; }
.prose { font-size: 15px; line-height: 1.55; white-space: pre-line; }
.uline { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.ctitle { text-align: center; padding: 26px 20px 12px; }
.ctitle h2 { font-weight: 600; font-size: 28px; line-height: 1.2; white-space: pre-line; color: var(--slate); }
.ctitle p { font-size: 16px; margin-top: 2px; white-space: pre-line; color: var(--slate); }
.ctitle-md h2 { font-size: 18px; }
.ctitle.left { text-align: left; padding: 8px 0; }
.band .ctitle h2, .band .ctitle p { color: inherit; }
.label { padding: 26px 16px 10px; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--slate); }
.label.center { text-align: center; }
.label-light { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 8px 16px 6px; }
.section-head .label { padding: 18px 0 6px; }
.section-link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--slate); white-space: nowrap; padding-bottom: 8px; text-decoration: underline; text-underline-offset: 3px; }
.meta::before { content: ''; display: inline-block; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; margin-right: 7px; vertical-align: 0; }
.meta { font-size: 13px; font-weight: 600; }

/* ---------------------------------------------------------------- buttons */
.pill { display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 5px 24px 5px 5px; border-radius: 30px; background: #fff; color: var(--c, var(--teal-500)); box-shadow: var(--shadow); width: 100%; max-width: 340px; }
.pill-ic { width: 50px; height: 50px; border-radius: 50%; background: var(--c, var(--teal-500)); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pill-label { flex: 1; text-align: center; font-weight: 600; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; padding-right: 40px; }
.pill-solid { background: var(--c, var(--teal-500)); color: #fff; }
.pill-solid .pill-ic { background: #fff; color: var(--c, var(--teal-500)); }
.pill-sm { height: 48px; gap: 10px; padding-right: 18px; }
.pill-sm .pill-ic { width: 40px; height: 40px; }
.pill-sm .pill-label { font-size: 13px; padding-right: 26px; }
.spill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 24px; border-radius: 14px; background: var(--c, var(--teal-500)); color: #fff; font-weight: 600; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; width: 100%; box-shadow: var(--shadow-sm); }
.spill-inline { width: auto; min-height: 48px; border-radius: 24px; font-size: 13px; }
.spill.ghost { background: rgba(255,255,255,.35); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 24px; background: var(--slate); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .8px; text-transform: uppercase; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-teal { background: var(--teal-500); }
.btn-outline { background: #fff; color: var(--slate); box-shadow: inset 0 0 0 1.5px var(--slate); }
.btn-text { background: none; color: var(--slate); text-decoration: underline; text-underline-offset: 3px; min-height: 40px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn-danger { background: var(--rose-600); }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 16px 4px; justify-content: safe center; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chip { flex: none; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 21px; background: #fff; color: var(--slate); font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; white-space: nowrap; box-shadow: var(--shadow-sm); }
.chip.active { background: var(--slate); color: #fff; }
.band .chip.active { background: rgba(0,0,0,.25); color: #fff; }

/* ---------------------------------------------------------------- content cards */
.slider { display: flex; gap: 12px; overflow-x: auto; padding: 6px 16px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; flex: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 6px 16px 14px; }
.ccard { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; position: relative; color: var(--slate); }
.ccard-md { width: 172px; }
.ccard-lg { width: 260px; }
.ccard-full { width: 100%; }
.ccard-media { position: relative; height: 150px; background: var(--tile); overflow: hidden; }
.ccard-lg .ccard-media { height: 170px; }
.ccard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ccard-Single .ccard-img, .ccard-Impulse .ccard-img, .ccard-Collection .ccard-img, .ccard-Inspiration .ccard-img, .ccard-Category .ccard-img { object-fit: contain; padding: 14px 20px; }
.img-broken, .img-missing { display: none; }
.ccard-star { position: absolute; right: 6px; bottom: 4px; }
.ccard-ph { position: absolute; left: 14px; top: 12px; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: .9; }
.ccard-PodcastItem .ccard-ph { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ccard-body { padding: 12px 14px 12px; display: flex; flex-direction: column; flex: 1; }
.ccard-title { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.ccard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; color: var(--slate); }
.badge { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--slate); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.badge-lock { width: 28px; padding: 0; justify-content: center; }
.done-mark { position: absolute; left: 10px; bottom: 10px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--teal-600); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }

.star-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--slate); flex: none; }
.star-btn.light { color: #fff; }
.star-btn.on { color: var(--slate); }
.star-btn.light.on { color: #fff; }
.star-btn.tinted.on { color: var(--purple-500); }

.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; }
.row + .row { border-top: 1px solid var(--grey-100); }
.row-thumb { position: relative; width: 60px; height: 60px; border-radius: 12px; background: var(--tile); flex: none; overflow: hidden; }
.row-img { width: 100%; height: 100%; object-fit: cover; }
.row-thumb .done-mark { left: auto; right: -2px; bottom: -2px; width: 20px; height: 20px; }
.row-body { flex: 1; min-width: 0; }
.row-title { font-weight: 600; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-meta { font-size: 12px; margin-top: 3px; color: var(--grey-600); font-weight: 500; }
.row-right { color: var(--slate); display: flex; align-items: center; gap: 4px; }
.row-num { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--grey-200); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--slate); flex: none; }
.row-num.done { background: var(--teal-500); border-color: var(--teal-500); color: #fff; }
.row-num.current { border-color: var(--teal-500); color: var(--teal-600); }
.list-card { margin: 0 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.card { margin: 0 16px; padding: 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.card-tinted { background: var(--teal-100); box-shadow: none; }
.card-title { font-weight: 600; font-size: 16px; }
.card-text { font-size: 14px; margin-top: 4px; white-space: pre-line; }
.dots { display: flex; justify-content: center; gap: 8px; padding: 6px 0 14px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(0,0,0,.18); }
.dots i.on { background: currentColor; }
.band-dark .dots i { background: rgba(255,255,255,.4); }
.band-dark .dots i.on { background: #fff; }

/* profile-style list items (each its own white card) */
.litem { display: flex; align-items: center; gap: 16px; margin: 0 16px 12px; padding: 0 18px; min-height: 66px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); font-size: 16px; font-weight: 600; width: calc(100% - 32px); text-align: left; color: var(--slate); }
.litem .li-ic { color: var(--slate); display: inline-flex; }
.litem .grow { flex: 1; min-width: 0; }
.litem .val { color: var(--grey-600); font-weight: 400; font-size: 13px; }
.litem .chev { color: var(--slate); }

/* FAQ */
.faq-section { padding-bottom: 8px; }
.faq-section .spill { width: calc(100% - 32px); margin: 6px 16px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; padding: 0 16px 6px; }
.faq { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 18px; font-size: 16px; font-weight: 500; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq[open] summary .icon { transform: rotate(90deg); }
.faq-a { padding: 0 18px 18px; font-size: 14px; line-height: 1.6; white-space: pre-line; }
.faq-all { max-height: 70dvh; overflow-y: auto; margin: 0 -20px; }
.faq-all .label { padding-top: 16px; }

/* empty state / errors / skeleton */
.nocontent { margin: 12px 16px; padding: 22px 18px; border-radius: var(--radius); background: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); }
.nocontent-img { width: 150px; border-radius: 12px; }
.nocontent-title { font-weight: 600; font-size: 17px; white-space: pre-line; }
.nocontent-text { font-size: 14px; white-space: pre-line; }
.errorcard { margin: 24px 16px; padding: 20px; border-radius: var(--radius); background: var(--yellow-100); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.errorcard-title { font-weight: 600; }
.errorcard-text { font-size: 13.5px; }
.skeleton-wrap { padding: 12px 16px; }
.sk { border-radius: 12px; background: linear-gradient(90deg, #eceeee 25%, #e3e6e6 50%, #eceeee 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk-title { height: 18px; width: 45%; margin: 18px 0 12px; }
.sk-row { display: flex; gap: 12px; }
.sk-tile { width: 172px; height: 230px; }
.sk-line { height: 60px; margin-bottom: 10px; }
.sk-block { height: 180px; margin-bottom: 12px; }

/* toast & sheet */
#toast { position: fixed; left: 50%; top: 16px; transform: translate(-50%, -20px); max-width: min(92vw, 440px); padding: 12px 18px; border-radius: 14px; background: var(--slate); color: #fff; font-size: 13.5px; text-align: center; white-space: pre-line; opacity: 0; pointer-events: none; transition: all .2s; z-index: 200; box-shadow: var(--shadow); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.error { background: var(--rose-600); }
#toast.warn { background: var(--yellow-600); color: var(--ink); }
.sheet-backdrop { position: fixed; inset: 0; background: rgba(19,32,38,.45); z-index: 150; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { width: 100%; max-width: var(--col); background: var(--bg); border-radius: 24px 24px 0 0; padding: 22px 20px calc(20px + var(--safe-b)); max-height: 90dvh; overflow-y: auto; }
.sheet-title { font-weight: 600; font-size: 20px; white-space: pre-line; color: var(--slate); }
.sheet-text { font-size: 14.5px; margin-top: 8px; white-space: pre-line; }
.sheet-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* ---------------------------------------------------------------- login */
.login { min-height: 100dvh; display: flex; flex-direction: column; background: var(--teal-500); }
.login-top { padding: 56px 24px 28px; color: #fff; text-align: center; }
.login-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 22px; letter-spacing: .3px; }
.login-logo i { width: 18px; height: 18px; border-radius: 50%; background: #fff; display: inline-block; }
.login-top .h1 { color: #fff; margin-top: 28px; }
.login-top p { margin-top: 10px; font-size: 15px; opacity: .95; }
.login-card { margin: 0 16px; padding: 22px 18px 26px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--slate-300); }
.field input { height: 52px; border-radius: 12px; border: 1.5px solid var(--grey-200); padding: 0 14px; outline: none; background: #fff; }
.field input:focus { border-color: var(--teal-500); }
.field input.code { letter-spacing: 8px; font-size: 22px; font-weight: 600; text-align: center; }
.login-note { font-size: 13.5px; margin: 4px 0 14px; }
.login-foot { text-align: center; font-size: 12.5px; color: #fff; opacity: .8; padding: 24px 16px; }

/* ---------------------------------------------------------------- home */
.home-greet { text-align: center; padding: 40px 20px 8px; }
.home-greet .h1 { font-size: 30px; color: var(--slate); }
.home-greet .eyebrow { margin-top: 22px; font-size: 14px; }
.hcourse { display: block; margin: 20px 16px 0; border-radius: 22px; background: var(--tile); color: #fff; overflow: hidden; box-shadow: var(--shadow); text-align: center; }
.hcourse-media { height: 190px; position: relative; overflow: hidden; }
.hcourse-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hcourse-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, var(--tile) 100%); }
.hcourse-title { font-weight: 600; font-size: 24px; padding: 4px 20px 0; }
.hcourse .pill { margin: 20px auto 0; width: calc(100% - 40px); }
.hcourse-foot { display: flex; align-items: center; justify-content: space-between; padding: 26px 16px 8px 20px; }
.hcourse-foot .meta { font-size: 14px; }
.hcourse-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); margin: 0 20px 22px; overflow: hidden; }
.hcourse-bar i { display: block; height: 100%; background: #fff; }
.wcard { display: flex; margin: 0 16px 16px; border-radius: 16px; overflow: hidden; min-height: 148px; color: #fff; box-shadow: var(--shadow-sm); }
.wcard-l { flex: 0 0 55%; background: var(--c1); padding: 20px 18px; }
.wcard-l .eyebrow { font-size: 12.5px; letter-spacing: .4px; text-transform: none; }
.wcard-l .eyebrow b { text-transform: uppercase; letter-spacing: 1px; }
.wcard-l .t { font-weight: 600; font-size: 18px; line-height: 1.25; margin-top: 2px; }
.wcard-r { flex: 1; background: var(--c2); position: relative; display: flex; align-items: center; justify-content: center; }
.wcard-r img { max-width: 78%; max-height: 78%; object-fit: contain; }
.wcard-r .star-btn { position: absolute; right: 6px; bottom: 4px; }
.pcard { display: block; margin: 0 16px; border-radius: 18px; background: var(--yellow-500); color: var(--slate); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.pcard .badge { background: var(--yellow-800); top: 10px; right: 10px; }
.pcard-media { height: 190px; background: var(--yellow-100); display: flex; align-items: center; justify-content: center; }
.pcard-media .bubble-sm { width: 150px; height: 146px; background: url('../assets/app/podcastdetailview__bubble.png') center / contain no-repeat; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 34px; color: var(--yellow-600); padding-bottom: 26px; }
.pcard-title { font-weight: 600; font-size: 21px; line-height: 1.25; text-align: center; padding: 18px 20px 14px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 6px 20px; background: var(--yellow-600); }
.experts { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 16px; scrollbar-width: none; }
.experts::-webkit-scrollbar { display: none; }
.expert { flex: none; width: 100px; text-align: center; font-size: 12px; line-height: 1.3; }
.expert img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; background: var(--grey-100); }
.expert .n { font-weight: 600; }
.expert .o { color: var(--grey-600); font-size: 11px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.info-card { margin: 18px 16px 0; padding: 22px 18px; border-radius: 18px; background: #fff; text-align: center; box-shadow: var(--shadow-sm); }
.info-card .t { font-weight: 600; font-size: 22px; }
.info-card .s { font-size: 15px; margin-top: 4px; }

/* ---------------------------------------------------------------- discover */
.dhero { padding: 8px 20px 34px; text-align: center; color: #fff; }
.dhero-top { display: flex; justify-content: flex-end; padding: 10px 0 24px; }
.dhero .h1 { font-size: 32px; margin: 0 auto; max-width: 320px; }
.dhero .uline { display: inline-block; margin-top: 30px; font-size: 15px; }
.ntiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 4px 16px 8px; }
.ntile { border-radius: 16px; padding: 18px 14px; color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; box-shadow: var(--shadow-sm); }
.ntile.wide { grid-column: 1 / -1; min-height: 190px; }
.ntile.row { flex-direction: row; align-items: center; min-height: 110px; padding: 14px 18px; text-align: right; justify-content: flex-end; background: var(--blue-500); }
.ntile .t { font-weight: 600; font-size: 19px; }
.ntile .s { font-size: 15px; white-space: pre-line; }
.ntile.light { color: var(--slate); }
.ntile img { height: 80px; object-fit: contain; margin: 6px auto; }
.cband { padding: 32px 0 26px; text-align: center; }
.cband .ico { width: 64px; height: 64px; margin: 0 auto 14px; object-fit: contain; }
.cband .t { font-weight: 600; font-size: 24px; color: var(--slate); padding: 0 20px; }
.cband .d { font-size: 16px; line-height: 1.5; padding: 6px 28px 10px; color: var(--slate); }
.cband .spill { width: calc(100% - 48px); margin: 6px 24px 0; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 4px 16px 8px; }
.cat-tile { position: relative; display: block; border-radius: 16px; background: var(--tile); aspect-ratio: 1 / .95; padding: 16px 14px; overflow: hidden; color: #fff; box-shadow: var(--shadow-sm); text-align: center; }
.cat-tile.light { color: var(--slate); }
.cat-tile img { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 64%; height: 58%; object-fit: contain; }
.cat-title { font-weight: 600; font-size: 16px; line-height: 1.25; position: relative; }
.cat-count { font-size: 12px; opacity: .9; margin-top: 4px; position: relative; }
.searchbar { display: flex; align-items: center; gap: 10px; margin: 8px 16px 4px; height: 50px; padding: 0 16px; border-radius: 25px; background: #fff; color: var(--slate); box-shadow: var(--shadow-sm); }
.searchbar input { flex: 1; border: 0; background: none; outline: none; min-width: 0; color: var(--slate); }
.searchbar input::placeholder { color: var(--slate-300); }

/* ---------------------------------------------------------------- detail views */
.detail-hero { position: relative; background: var(--tile); color: #fff; text-align: center; padding-bottom: 26px; }
.detail-hero.light { color: var(--slate); }
.detail-hero .img { width: 100%; height: 230px; object-fit: cover; display: block; }
.detail-hero .img.contain { object-fit: contain; padding: 10px 40px; height: 210px; }
.detail-hero .hdr { background: transparent; color: inherit; }
.detail-title { font-weight: 600; font-size: 24px; line-height: 1.25; padding: 12px 20px 0; }
.detail-meta { font-size: 14px; margin-top: 8px; padding: 0 20px; font-weight: 500; }
.detail-author { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.detail-hero .pill { margin: 24px auto 0; width: calc(100% - 48px); }
.detail-hero .icons { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
.detail-hero .icons .cbtn { background: rgba(255,255,255,.28); color: #fff; box-shadow: none; }
.detail-hero .icons .cbtn.on { background: #fff; color: var(--tile); }
.detail-body { padding: 18px 16px 8px; }
.desc { padding: 10px 20px; font-size: 15px; line-height: 1.6; white-space: pre-line; }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.more-link { padding: 0 20px 8px; }
.more-link button { font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.iconbtn { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; box-shadow: var(--shadow-sm); color: var(--slate); flex: none; }
.iconbtn.on { color: var(--teal-600); }
.units { margin: 8px 16px 0; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.unit { display: flex; align-items: center; gap: 12px; padding: 14px 16px; width: 100%; text-align: left; }
.unit + .unit, .unit-extra + .unit { border-top: 1px solid var(--grey-100); }
.unit-body { flex: 1; min-width: 0; }
.unit-title { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.unit-meta { font-size: 12px; color: var(--grey-600); margin-top: 2px; display: flex; gap: 8px; align-items: center; }
.unit-bar { flex: 1; max-width: 120px; height: 3px; border-radius: 2px; background: var(--grey-100); overflow: hidden; }
.unit-bar > i { display: block; height: 100%; background: var(--teal-500); }
.unit-play { width: 42px; height: 42px; border-radius: 50%; background: var(--grey-50); color: var(--slate); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.unit.current .unit-play { background: var(--teal-500); color: #fff; }
.unit-extra { margin: 0; padding: 0 16px 12px 58px; }
.unit-extra summary { list-style: none; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--teal-600); display: inline-flex; align-items: center; gap: 4px; }
.unit-extra summary::-webkit-details-marker { display: none; }
.unit-extra .extra-box { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--grey-50); font-size: 13.5px; line-height: 1.6; }
.unit-extra .extra-box h4 { margin: 0 0 6px; font-size: 13.5px; }
.unit-extra .extra-box ul { margin: 0; padding-left: 18px; }
.unit-extra .extra-box p + p { margin-top: 8px; }
.progress-line { margin: 16px 16px 0; }
.progress-line .unit-bar { max-width: none; margin-top: 6px; height: 4px; }
.author-block { margin: 12px 16px; padding: 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.author-block .head { display: flex; align-items: center; gap: 12px; }
.author-block img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--grey-100); }
.author-block .n { font-weight: 600; }
.author-block .o { font-size: 12.5px; color: var(--grey-600); }
.author-block .bio { font-size: 14px; line-height: 1.6; margin-top: 12px; }

/* impulse */
.ipage { background: var(--purple-500); min-height: 100dvh; color: #fff; }
.ipage .hdr { background: transparent; color: #fff; }
.iband { background: var(--bg); color: var(--slate); text-align: center; padding: 26px 24px; font-size: 17px; line-height: 1.45; }
.iband .uline { display: inline-block; margin-top: 8px; }
.icat { text-align: center; padding: 30px 0 4px; }
.icat img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 10px; filter: brightness(0) invert(1); opacity: .9; }
.icat .t { font-weight: 600; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.icard { display: flex; flex-direction: column; width: 172px; min-height: 258px; border-radius: 12px; background: #fff; border: 2px solid var(--purple-200); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--purple-200); color: var(--slate); text-align: center; padding: 18px 12px 8px; position: relative; }
.icard-full { width: auto; margin: 0 16px 14px; min-height: 0; padding: 22px 18px 10px; }
.icard .orn { display: block; margin: 0 auto 12px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--purple-200); position: relative; }
.icard .orn::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 2px solid var(--purple-200); }
.icard .t { font-weight: 600; font-size: 17px; line-height: 1.25; color: var(--purple-500); }
.icard .body { flex: 1; }
.icard .d { font-size: 15px; line-height: 1.6; padding: 14px 4px 20px; }
.icard .foot { display: flex; align-items: center; justify-content: space-between; padding-left: 4px; color: var(--slate); }
.icard .pill { margin: 22px auto 10px; width: 100%; }
.icard .star-btn.on { color: var(--purple-500); }
.impulse-stack { display: flex; gap: 12px; overflow-x: auto; padding: 10px 16px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.impulse-stack::-webkit-scrollbar { display: none; }
.impulse-stack > * { flex: none; scroll-snap-align: start; }
.icard.collapsed .d { display: none; }
.icard.toggle { cursor: pointer; }

/* inspiration */
.ins-card { display: block; margin: 0 16px 14px; padding: 18px 16px 8px; border-radius: 14px; background: var(--blue-500); color: #fff; position: relative; box-shadow: var(--shadow-sm); }
.ins-card .badge { background: var(--blue-800); }
.ins-card .t { font-weight: 600; font-size: 17px; line-height: 1.3; padding-right: 56px; }
.ins-card .q { font-size: 15px; line-height: 1.5; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ins-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.ins-page { background: var(--blue-500); min-height: 100dvh; color: #fff; text-align: center; }
.ins-page .hdr { background: transparent; color: #fff; }
.ins-page .quote { font-weight: 600; font-size: 28px; line-height: 1.3; padding: 40px 24px 12px; }
.ins-page .src { font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; opacity: .85; padding-bottom: 36px; }
.ins-page .title { font-weight: 600; font-size: 24px; padding: 12px 24px 0; }

/* podcast */
.bubble { position: relative; margin: 8px auto 0; width: 270px; height: 262px; background: url('../assets/app/podcastdetailview__bubble.png') center / contain no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 44px 66px; color: var(--slate); }
.bubble .ep { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate-300); }
.bubble .t { font-weight: 600; font-size: 19px; line-height: 1.25; margin-top: 6px; }
.sort-row { display: flex; justify-content: flex-end; padding: 0 16px 6px; }
.sort-row button { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* collections */
.coll-tile { display: flex; align-items: center; gap: 14px; margin: 0 16px 12px; padding: 14px; border-radius: 16px; background: var(--tile); box-shadow: var(--shadow-sm); color: var(--slate); }
.coll-tile img { width: 84px; height: 84px; object-fit: contain; flex: none; }
.coll-tile .t { font-weight: 600; font-size: 17px; }
.coll-tile .d { font-size: 13px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coll-tile .m { font-size: 12px; margin-top: 6px; font-weight: 600; }

/* ---------------------------------------------------------------- my balloon */
.segments { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.segments button { height: 46px; padding: 0 22px; border-radius: 23px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; background: #fff; color: var(--rose-600); box-shadow: var(--shadow-sm); }
.segments button.active { background: var(--rose-600); color: #fff; }
.count-line { text-align: center; padding: 30px 16px 6px; font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.offline-note { margin: 12px 16px; padding: 14px 16px; border-radius: var(--radius); background: #fff; font-size: 13.5px; line-height: 1.55; box-shadow: var(--shadow-sm); }
.dl-list .iconbtn { width: 40px; height: 40px; box-shadow: none; background: none; }

/* ---------------------------------------------------------------- calendar */
.cal-band { background: var(--blue-500); color: #fff; padding-bottom: 26px; }
.cal-band .h1 { text-align: center; padding: 34px 20px 18px; font-size: 30px; }
.cal-band .rule { height: 1px; background: rgba(255,255,255,.35); }
.cal-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 8px; }
.cal-nav .m { font-weight: 500; font-size: 17px; }
.cal-nav button { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.cal-nav button:disabled { opacity: .3; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 10px; padding: 0 12px; }
.cal-dow { text-align: center; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); padding: 6px 0 10px; }
.cal-day { display: flex; align-items: center; justify-content: center; height: 34px; }
.cal-day span { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); display: inline-flex; align-items: center; justify-content: center; font-size: 0; color: var(--blue-500); transition: all .15s; }
.cal-day.today span { background: rgba(255,255,255,.55); border-color: transparent; }
.cal-day.med span { background: #fff; border-color: #fff; width: 22px; height: 22px; font-size: 11px; font-weight: 600; }
.cal-day.streak span { box-shadow: 0 0 0 3px var(--blue-500), 0 0 0 5px #fff; }
.cal-day.future span { opacity: .45; }
.cal-legend { display: flex; justify-content: center; gap: 18px; font-size: 12px; padding: 16px 12px 0; opacity: .9; }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; background: #fff; }
.cal-legend i.o { background: none; border: 1.5px solid #fff; }
.jcard { margin: 0 16px; border-radius: 18px; background: var(--blue-500); color: #fff; text-align: center; padding: 30px 20px 24px; box-shadow: var(--shadow-sm); }
.jcard .t { font-weight: 600; font-size: 24px; letter-spacing: 1px; text-transform: uppercase; }
.jcard .s { font-weight: 600; font-size: 16px; margin-top: 8px; }
.jcard .pill { margin: 22px auto 0; }
.jbtn { margin: 12px 16px 0; }
.ach-list { margin: 0; background: #fff; }
.ach { display: flex; align-items: center; gap: 18px; padding: 14px 24px; border-bottom: 1px solid var(--grey-100); }
.ach img { width: 60px; height: 60px; flex: none; }
.ach .n { font-weight: 600; font-size: 21px; line-height: 1.15; }
.ach .l { font-size: 16px; line-height: 1.3; }
.reminder-card { display: flex; gap: 12px; align-items: center; margin: 0 16px 12px; padding: 14px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.reminder-card img { width: 100px; border-radius: 10px; flex: none; }
.reminder-card .t { font-weight: 600; font-size: 15px; }
.reminder-card .s { font-size: 12.5px; margin-top: 2px; }
.reminder-card .lnk { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-top: 6px; display: inline-block; }

/* reminders */
.rem-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.rem-item + .rem-item { border-top: 1px solid var(--grey-100); }
.rem-time { font-weight: 600; font-size: 24px; line-height: 1; min-width: 100px; }
.rem-freq { font-size: 13px; color: var(--grey-600); }
.rem-form { margin: 12px 16px; padding: 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.rem-form .q { font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.rem-form input[type=time] { height: 56px; width: 100%; border-radius: 12px; border: 1.5px solid var(--grey-200); padding: 0 14px; font-size: 26px; font-weight: 600; background: #fff; text-align: center; }
.rem-form .chips { padding: 12px 0; justify-content: flex-start; }
.rem-form .chip { box-shadow: inset 0 0 0 1.5px var(--grey-200); }
.rem-form .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.rem-confirm { font-size: 13.5px; margin-top: 6px; }

/* ---------------------------------------------------------------- profile */
.phero { background: var(--teal-500); color: #fff; text-align: center; padding: 70px 20px 34px; }
.phero .h1 { font-size: 30px; }
.phero .pill { margin: 22px auto 0; background: rgba(255,255,255,.35); color: #fff; box-shadow: none; }
.phero .pill .pill-ic { background: #fff; color: var(--teal-500); }
.mb-card { display: flex; align-items: center; margin: 0 16px; border-radius: 14px; background: var(--rose-500); color: #fff; padding: 22px 18px; font-weight: 600; font-size: 18px; line-height: 1.3; box-shadow: var(--shadow-sm); min-height: 96px; }
.mb-card .icon { margin-left: auto; opacity: .9; }
.share-card { margin: 4px 16px 6px; padding: 18px; border-radius: 14px; background: var(--rose-500); color: #fff; }
.share-card .t { font-weight: 600; font-size: 18px; }
.share-card .s { font-size: 15px; margin-top: 2px; }
.share-card .rowx { display: flex; gap: 10px; margin-top: 12px; }
.share-card .url { flex: 1; min-width: 0; background: rgba(255,255,255,.35); border-radius: 8px; padding: 12px; font-size: 13px; text-decoration: underline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-card .go { background: #fff; color: var(--rose-600); border-radius: 8px; padding: 0 16px; font-weight: 600; font-size: 13px; letter-spacing: .8px; text-transform: uppercase; }
.pdata { margin: 12px 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.pdata .li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; font-size: 15px; font-weight: 600; width: 100%; text-align: left; }
.pdata .li + .li { border-top: 1px solid var(--grey-100); }
.pdata .li .grow { flex: 1; }
.pdata .li .val { font-weight: 400; font-size: 13px; color: var(--grey-600); }

/* ---------------------------------------------------------------- mini player */
.miniplayer { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + var(--safe-b)); width: 100%; max-width: var(--col); height: var(--mini-h); background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; z-index: 39; cursor: pointer; box-shadow: 0 -4px 16px rgba(19,32,38,.08); }
body.no-chrome .miniplayer { bottom: var(--safe-b); }
.mini-body { flex: 1; min-width: 0; }
.mini-title { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sub { font-size: 11.5px; color: var(--grey-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--slate); }
.mini-close { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--slate-300); }
.mini-progress { position: absolute; left: 0; top: 0; height: 3px; background: var(--teal-500); width: 0; }

/* ---------------------------------------------------------------- full-screen player */
.player { position: fixed; inset: 0; margin: 0 auto; max-width: var(--col); background: var(--pl, var(--teal-500)); color: #fff; z-index: 100; display: flex; flex-direction: column; padding: 8px 20px calc(24px + var(--safe-b)); animation: slideup .22s ease-out; overflow-y: auto; text-align: center; }
.player:not(.pl-darkbg) { color: var(--slate); }
@keyframes slideup { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.pl-head { display: grid; grid-template-columns: 48px 1fr 96px; align-items: center; }
.pl-head-right { display: flex; justify-content: flex-end; align-items: center; }
.pl-kind { font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.pl-dl { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pl-dl.on { opacity: 1; }
.pl-favbtn { color: inherit; }
.pl-art { flex: 1; min-height: 40px; max-height: 26vh; display: flex; align-items: center; justify-content: center; margin: 8px 0; }
.pl-art img { max-height: 100%; max-width: 70%; border-radius: 20px; object-fit: contain; }
.pl-meta { padding: 4px 8px; }
.pl-title { font-weight: 600; font-size: 22px; line-height: 1.25; }
.pl-sub { font-size: 14px; opacity: .85; margin-top: 4px; }
.pl-controls { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 22px 0 10px; }
.pl-skip { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pl-playbtn { width: 168px; height: 168px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pl-ring { width: 168px; height: 168px; border-radius: 50%; padding: 7px; background: conic-gradient(#fff calc(var(--pct, 0) * 1%), rgba(255,255,255,.35) 0); box-shadow: var(--shadow); transition: background .2s linear; }
.pl-ring-inner { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.pl-playimg { height: 46px; width: auto; margin-left: 8px; }
.pl-playimg.is-pause { margin-left: 0; height: 44px; }
.pl-seekwrap { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.pl-time { font-size: 12px; font-variant-numeric: tabular-nums; min-width: 38px; }
.pl-time:last-child { text-align: right; }
.pl-seek { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: rgba(255,255,255,.5); outline: none; }
.pl-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.pl-seek::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; }
.pl-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-top: 18px; min-height: 48px; }
.pl-actions .btn { min-width: 220px; background: #fff; color: var(--slate); }

/* misc */
.spacer { height: 16px; }
.divider { height: 1px; background: var(--grey-200); margin: 12px 16px; }
.result-count { padding: 8px 16px 8px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; text-align: center; }
.inline-link { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.count-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(255,255,255,.3); font-size: 11px; font-weight: 600; text-transform: uppercase; }

/* ================================================================ real app graphics */
/* masked PNG icons (take currentColor) */
.pic { display: inline-block; flex: none; vertical-align: middle; background: currentColor; -webkit-mask: var(--pic) center / contain no-repeat; mask: var(--pic) center / contain no-repeat; }
.art { display: block; }
.meta::before { border: 0; width: 10px; height: 12px; background: currentColor; -webkit-mask: url('../assets/app/icon_arrowhead.png') center / contain no-repeat; mask: url('../assets/app/icon_arrowhead.png') center / contain no-repeat; margin-right: 8px; vertical-align: -1px; }
.tab .pic { width: 28px; height: 28px; }
.hdr-btn .pic { width: 30px; height: 30px; }
.cbtn .pic { width: 26px; height: 26px; }

/* layered heroes (1125×480 canvas) */
.hero-layers { position: relative; width: 100%; aspect-ratio: 1125 / 480; overflow: hidden; }
.hero-layers .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; user-select: none; }
.hero-layers .layer.piece { inset: auto; height: auto; object-fit: contain; transform: rotate(var(--rot, 0deg)); }
.hero-fan { aspect-ratio: 1125 / 560; }
.hero-yellow { aspect-ratio: 1125 / 520; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.4%; } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 1.2% 0; } }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.012; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes sway { 0%, 100% { rotate: 0deg; } 50% { rotate: 2deg; } }
.anim-float { animation: float 5s ease-in-out infinite; }
.anim-drift { animation: drift 7s ease-in-out infinite; }
.anim-breathe { animation: breathe 6s ease-in-out infinite; transform-origin: center; }
.anim-twinkle { animation: twinkle 3s ease-in-out infinite; }
.anim-sway { animation: sway 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero-layers .layer { animation: none !important; } }

/* full-width header art (favoritesheader, calendarheader, profileheader, …) */
.hero-art { display: block; width: 100%; height: auto; }
.band-hero .hero-art { margin: 0 -20px; width: calc(100% + 40px); }
.band .hero-layers { margin: 0 -20px; width: calc(100% + 40px); }
.band-art { padding-top: 0; }
.band-art .hdr { position: absolute; top: 0; left: 0; right: 0; margin: 0; background: transparent; z-index: 2; }

/* START */
.home-top { position: relative; background: url('../assets/app/activity_stream_dividertop.png') top center / 100% auto no-repeat; }
.home-greet { padding-top: 54px; }
.divider { height: auto; background: none; margin: 0; }
.home-divider { display: block; width: 100%; height: auto; margin: 6px 0 -6px; }
.home-divider.flip { transform: scaleY(-1); }
.wcard-r { background: var(--c2) var(--wimg) center / cover no-repeat; }
.wcard-r img { display: none; }
.pcard-media { background: var(--yellow-100) url('../assets/app/favoritespodcast.png') center / auto 86% no-repeat; }
.pcard-media .bubble-sm { display: none; }
.hcourse .star-btn .pic { width: 28px; height: 28px; }

/* ENTDECKEN */
.dhero .hero-fan { margin: -10px -20px 0; width: calc(100% + 40px); }
.ntile { position: relative; overflow: hidden; }
.ntile .mascot { display: block; width: 74%; max-width: 230px; height: auto; margin: 4px auto; }
.ntile.row .mascot { width: 42%; margin: 0; }
.cband { position: relative; padding-bottom: 0; }
.cband .cdiv { display: block; width: 100%; height: auto; margin-top: 16px; }
.cband .spill { margin-bottom: 0; }
.arch-hero { display: block; width: 100%; height: auto; }

/* MEIN BALLOON / KALENDER / PROFIL */
.band-hero.mb { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; padding-right: 16px; }
.sec-head .label { padding-bottom: 6px; }
.sec-head img { width: 110px; height: auto; max-height: 70px; object-fit: contain; }
.cal-band { padding-top: 0; position: relative; }
.cal-band .hero-art { margin-bottom: -8px; }
.jcard { padding-top: 0; overflow: hidden; }
.jcard .hero-art { margin-bottom: 8px; }
.reminder-card img { width: 112px; }
.phero { padding: 0 20px 34px; position: relative; overflow: hidden; }
.phero .hero-art { margin: 0 -20px 10px; width: calc(100% + 40px); }
.phero .pill .pill-ic img { width: 34px; height: auto; }
.mb-card { background: var(--rose-500) url('../assets/app/cards_filler_pink.png') right -10px center / auto 118% no-repeat; padding-right: 130px; }
.mb-card .icon { display: none; }
.share-card { position: relative; margin-top: 64px; overflow: visible; }
.share-card .love { position: absolute; right: 8px; top: -62px; width: 170px; height: auto; }

/* IMPULSE / INSPIRATION heroes */
.ipage .hero-layers, .ins-page .hero-layers { margin: 0; }
.icat img { filter: none; }
.icard .orn { border: 0; width: 70px; height: 42px; background: url('../assets/app/impulsetopdecoration.png') center / contain no-repeat; margin: -6px auto 8px; }
.icard .orn::after { display: none; }
.icard .illu { display: block; width: 100%; height: 110px; object-fit: contain; object-position: bottom; margin-top: auto; }
.icard-full .illu { height: 200px; width: calc(100% + 36px); margin-left: -18px; margin-right: -18px; object-fit: cover; object-position: center bottom; }
.icard .bottombg { display: block; width: calc(100% + 36px); margin: 10px -18px -10px; height: auto; }
.icard .star-btn.on .pic, .icard .star-btn .pic { }
.ins-card .t .pic { width: 22px; height: 22px; margin-right: 6px; vertical-align: -5px; }
.ins-page .lock-art { display: block; width: 100%; height: auto; margin-top: -8px; }

/* Übung / Single, Kurs, Podcast detail */
.detail-hero .lock-art { display: block; width: 100%; height: auto; }
.detail-hero .lock-wrap { position: relative; }
.detail-hero .lock-wrap .illu { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); width: 46%; height: auto; max-height: 60%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); }
.unit-extra .extra-box { padding-top: 0; overflow: hidden; }
.unit-extra .extra-head { display: block; width: calc(100% + 28px); margin: 0 -14px 10px; height: auto; }
.unit-extra summary .pic { width: 18px; height: 18px; }
.podcast-heads { display: flex; justify-content: center; gap: 18px; margin: 18px 0 6px; }
.podcast-heads img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }
.podcast-heads figcaption { text-align: center; font-size: 12px; font-weight: 600; margin-top: 6px; }

/* Suche / Filter */
.search-hero { background: var(--grey-50); text-align: center; padding: 6px 20px 0; }
.search-hero img { width: 70%; max-width: 300px; height: auto; margin: 0 auto; }
.search-sorry { width: 60%; max-width: 260px; height: auto; margin: 10px auto 0; }
.filter-head { display: block; width: 100%; height: auto; }
.filter-foot { display: block; width: 100%; height: auto; margin-top: 20px; }

/* empty / error */
.nocontent-bird { width: 120px; border-radius: 0; }
.errorcard { align-items: center; text-align: center; }
.errorcard-img { width: 70%; max-width: 280px; height: auto; }

/* Login */
.login-art { display: block; width: 100%; height: auto; margin-top: 10px; }
.login-logo img { width: 26px; height: auto; }
.login-logo i { display: none; }

/* player */
.pl-skip .pic { width: 40px; height: 40px; }
.pl-dl .pic { width: 24px; height: 24px; }
.pl-favbtn .pic { width: 28px; height: 28px; }
.detail-hero .lock-art { height: 250px; object-fit: cover; object-position: center 72%; }
.faq-all { margin-top: 10px; }
.ins-page .lock-art { max-height: 230px; object-fit: cover; }
