/* Tangani Talenta Video — "1 Menit 1 Insight". Colours and type follow talenta.tangani.id. */

:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --surface-2: #f2ede3;
  --surface-3: #e7e0d2;
  --text: #18150f;
  --muted: #544e42;
  --faint: #8c8476;
  --line: rgba(24, 21, 15, .1);
  --accent: #c2691f;
  --accent-strong: #a0522d;
  --accent-bright: #d97f2c;
  --accent-ink: #ffffff;
  --accent-soft: #f6e6d4;
  --shadow: 0 1px 2px rgba(24, 21, 15, .05), 0 10px 28px rgba(24, 21, 15, .08);
  --shadow-lg: 0 24px 60px rgba(24, 21, 15, .2);
  --radius: 18px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --gutter: 16px;
  --top-h: 64px;
  --tabs-h: 64px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0a07;
    --surface: #16130e;
    --surface-2: #1c1914;
    --surface-3: #2a251d;
    --text: #faf8f3;
    --muted: #b8ae9d;
    --faint: #857c6d;
    --line: rgba(250, 248, 243, .09);
    --accent: #e08a3c;
    --accent-strong: #f0a35c;
    --accent-bright: #f4a85c;
    --accent-ink: #1a0f05;
    --accent-soft: rgba(224, 138, 60, .16);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .3);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0a07;
  --surface: #16130e;
  --surface-2: #1c1914;
  --surface-3: #2a251d;
  --text: #faf8f3;
  --muted: #b8ae9d;
  --faint: #857c6d;
  --line: rgba(250, 248, 243, .09);
  --accent: #e08a3c;
  --accent-strong: #f0a35c;
  --accent-bright: #f4a85c;
  --accent-ink: #1a0f05;
  --accent-soft: rgba(224, 138, 60, .16);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .3);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
  color-scheme: dark;
}
@media (min-width: 760px) { :root { --gutter: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh;
  background: var(--bg); color: var(--text);
  font: 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { 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; }
img { display: block; max-width: 100%; }
h1, h2, h3 { letter-spacing: -.03em; margin: 0; font-weight: 800; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
svg { flex: none; }
[hidden] { display: none !important; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  height: calc(var(--top-h) + var(--safe-t)); padding: var(--safe-t) var(--gutter) 0;
  display: flex; align-items: center; gap: 16px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.brand-text b { color: var(--text); font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.top-nav { display: none; gap: 4px; margin-left: 18px; }
.top-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: background .15s, color .15s; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.pill-link { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill-link:hover { color: var(--text); background: var(--surface-2); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .15s, transform .12s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 21px; height: 21px; }
@media (min-width: 760px) { .top-nav { display: flex; } }
@media (max-width: 400px) { .pill-link { display: none; } }

/* ---------- bottom tabs (phones) ---------- */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(var(--tabs-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-top: 1px solid var(--line);
}
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--faint); }
.tabs a svg { width: 23px; height: 23px; }
.tabs a[aria-current="page"] { color: var(--accent); }
@media (min-width: 760px) { .tabs { display: none; } }

.main { min-height: 60vh; padding: 0 0 calc(var(--tabs-h) + var(--safe-b) + 24px); outline: none; }
@media (min-width: 760px) { .main { padding-bottom: 48px; } }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.foot { max-width: 1240px; margin: 0 auto; padding: 22px var(--gutter) calc(var(--tabs-h) + var(--safe-b) + 24px); color: var(--faint); font-size: 13px; border-top: 1px solid var(--line); }
.foot b { color: var(--muted); }
.foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 760px) { .foot { padding-bottom: 40px; } }
.main:has(.boot) + .foot { display: none; }

.boot { min-height: 60vh; display: grid; place-items: center; }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- hero ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.hero { display: grid; gap: 28px; align-items: center; padding-top: 34px; padding-bottom: 6px; }
.hero h1 { font-size: clamp(34px, 6.2vw, 62px); line-height: 1.02; margin-top: 14px; text-wrap: balance; max-width: 15ch; }
.hero h1 em { font-size: 1.08em; }
.hero-sub { margin: 16px 0 0; font-size: 16px; color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-phone { position: relative; justify-self: center; width: min(78vw, 300px); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: var(--surface-3); box-shadow: var(--shadow-lg), 0 0 0 8px var(--surface), 0 0 0 9px var(--line); transform: rotate(2deg); transition: transform .4s var(--ease); }
.hero-phone:hover { transform: rotate(0) scale(1.01); }
.hero-phone img { width: 100%; height: 100%; object-fit: cover; }
.hero-phone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 42%); }
.hero-phone-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(194, 105, 31, .45); }
.hero-phone-play svg { width: 28px; height: 28px; margin-left: 3px; }
.hero-phone-cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.hero-phone-cap small { font-size: 12px; font-weight: 600; opacity: .8; }
.hero-phone-cap b { font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
@media (min-width: 860px) {
  .hero { grid-template-columns: 1fr auto; gap: 56px; padding-top: 56px; }
  .hero-phone { width: 300px; }
  .hero-sub { font-size: 17px; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .12s, background .15s, filter .15s; white-space: nowrap; }
.btn:active { transform: scale(.96); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-soft { background: var(--surface-2); color: var(--text); }
.btn-soft:hover { background: var(--surface-3); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

.stats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.stat { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.stat b { color: var(--text); font-weight: 800; }

/* ---------- sections ---------- */
.sec { margin-top: 40px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { font-size: 22px; }
.sec-head p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.sec-more { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; }
.sec-more svg { width: 18px; height: 18px; }
@media (min-width: 760px) { .sec-head h2 { font-size: 27px; } .sec { margin-top: 56px; } }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px var(--gutter) 10px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 760px) { .rail { grid-auto-columns: 190px; gap: 16px; } }

/* clip card (9:16) */
.clip { display: block; width: 100%; }
.clip-thumb { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--surface-3); box-shadow: var(--shadow); }
.clip-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.clip:hover .clip-thumb img { transform: scale(1.04); }
.clip-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.74), transparent 50%); }
.clip-over { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; color: #fff; }
.clip-over b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.25; letter-spacing: -.015em; }
.badge { position: absolute; z-index: 1; top: 8px; right: 8px; padding: 3px 7px; border-radius: 7px; background: rgba(0,0,0,.6); color: #fff; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.code-badge { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 3px 7px; border-radius: 7px; background: var(--c, var(--accent)); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.clip-meta { margin-top: 8px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.play-chip { position: absolute; z-index: 1; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s var(--ease); }
.play-chip svg { width: 24px; height: 24px; margin-left: 3px; }
.clip:hover .play-chip { opacity: 1; transform: none; }

.clip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 560px) { .clip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .clip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; } }
@media (min-width: 1180px) { .clip-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* series cards */
.series-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 600px) { .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .series-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.scard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.scard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.scard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.scard-day { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.scard-day em { font: 700 10.5px/1 var(--font); letter-spacing: .06em; padding: 4px 7px; border-radius: 999px; background: var(--c); color: #fff; }
.scard h3 { font-size: 19px; }
.scard p { margin: 0; color: var(--muted); font-size: 13.5px; flex: 1; }
.scard-count { margin-top: 6px; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--text); }
.scard-count svg { width: 16px; height: 16px; color: var(--faint); }

/* page heads */
.page-head { padding-top: 30px; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); }
.page-head p { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }
.series-head { margin-top: 22px; padding: 26px 22px; border-radius: 24px; background: color-mix(in srgb, var(--c) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); }
.series-head .kicker { color: var(--c); }
.series-head h1 { font-size: clamp(30px, 5.4vw, 48px); margin-top: 10px; }
.series-head p { margin: 6px 0 16px; color: var(--muted); max-width: 56ch; }
.series-head .btn-primary { background: var(--c); box-shadow: none; color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px var(--gutter) 6px; margin: 0 calc(var(--gutter) * -1) 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); transition: background .15s, color .15s; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: transparent; }
.empty { padding: 56px 0; text-align: center; color: var(--muted); }

/* ---------- shorts viewer ---------- */
.shorts { position: fixed; inset: 0; z-index: 60; background: #0c0a07; color: #fff; }
.sh-track { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; }
.sh-track::-webkit-scrollbar { display: none; }
.sh-slide { height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; position: relative; }
.sh-frame { position: relative; height: 100%; width: 100%; max-width: calc(100dvh * 9 / 16); overflow: hidden; background: #0c0a07; }
@media (min-width: 760px) { .sh-slide { padding: 18px 0; } .sh-frame { border-radius: 20px; height: calc(100dvh - 36px); max-width: calc((100dvh - 36px) * 9 / 16); } }
.sh-poster, .sh-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sh-frame video { background: transparent; }
.sh-shade { position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(12,10,7,.9), transparent); pointer-events: none; }
.sh-info { position: absolute; left: 14px; right: 74px; bottom: calc(22px + var(--safe-b)); z-index: 2; }
.sh-series { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; }
.sh-code { padding: 2px 7px; border-radius: 6px; background: var(--c, #c2691f); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.sh-title { font-size: 19px; line-height: 1.2; letter-spacing: -.02em; margin: 6px 0 0; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.sh-cap { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.88); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; -webkit-line-clamp: 1; }
.sh-action { display: none; margin-top: 10px; padding: 10px 12px; gap: 10px; border-radius: 14px; background: rgba(194, 105, 31, .9); font-size: 13px; line-height: 1.4; }
.sh-action svg { width: 20px; height: 20px; margin-top: 1px; }
.sh-action b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.sh-info.open { background: rgba(12,10,7,.82); margin: -12px -10px 0; padding: 12px 10px; border-radius: 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sh-info.open .sh-cap { -webkit-line-clamp: unset; max-height: 30dvh; overflow-y: auto; }
.sh-info.open .sh-action { display: flex; }
.sh-side { position: absolute; right: 8px; bottom: calc(26px + var(--safe-b)); z-index: 2; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.sh-act { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.sh-act span.ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .15s, transform .12s; }
.sh-act:hover span.ic { background: rgba(255,255,255,.24); }
.sh-act:active span.ic { transform: scale(.9); }
.sh-act svg { width: 23px; height: 23px; }
.sh-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; z-index: 3; cursor: pointer; display: flex; align-items: flex-end; padding-bottom: var(--safe-b); }
.sh-prog i { display: block; height: 3px; width: 0; background: #e08a3c; box-shadow: 0 0 8px rgba(224,138,60,.6); }
.sh-prog::before { content: ""; position: absolute; left: 0; right: 0; bottom: var(--safe-b); height: 3px; background: rgba(255,255,255,.22); }
.sh-big { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; z-index: 2; display: grid; place-items: center; background: rgba(0,0,0,.45); pointer-events: none; opacity: 0; transform: scale(.8); transition: opacity .2s, transform .25s var(--ease); }
.sh-big.show { opacity: 1; transform: none; }
.sh-big svg { width: 34px; height: 34px; }
.sh-tap { position: absolute; inset: 0; z-index: 1; }
.sh-top { position: fixed; z-index: 4; top: calc(10px + var(--safe-t)); left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.sh-top > * { pointer-events: auto; }
.sh-logo { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); pointer-events: none; }
@media (min-width: 760px) { .sh-logo { display: none; } }
.sh-round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.42); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sh-round:hover { background: rgba(0,0,0,.6); }
.sh-round svg { width: 22px; height: 22px; }
.sh-nav { position: fixed; z-index: 4; right: 22px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 12px; }
.sh-nav .sh-round { background: rgba(255,255,255,.12); }
.sh-nav .sh-round:disabled { opacity: .3; pointer-events: none; }
@media (min-width: 760px) { .sh-nav { display: flex; } }
.sh-sound { position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, 70px); padding: 9px 14px; border-radius: 999px; background: rgba(0,0,0,.62); font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.sh-sound svg { width: 18px; height: 18px; }
.sh-spin { position: absolute; z-index: 2; left: 50%; top: 50%; margin: -16px 0 0 -16px; width: 32px; height: 32px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #e08a3c; animation: spin .8s linear infinite; display: none; }
.sh-frame.waiting .sh-spin { display: block; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabs-h) + var(--safe-b) + 16px); z-index: 90; transform: translate(-50%, 20px); padding: 11px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 760px) { .toast { bottom: 28px; } }

.reveal { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
