/* /stories/: feedul vertical de story-uri pe versete (ca pe TikTok). Se încarcă după predica.css.
   Un singur <video> (stories.js) se mută în story-ul activ; fiecare story are afișul lui. Plat, fără umbre; roșul doar ca accent. */
.pagina-stories { --st-top: 76px; background: #fff; }
.stories { position: relative; height: calc(100vh - var(--st-top)); height: calc(100dvh - var(--st-top)); min-height: 420px; background: #fff; }
.stories__feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; outline: 0; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch; }
.stories__feed::-webkit-scrollbar { display: none; }
.stories__stare { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; font: 500 1rem/1.5 var(--font-text); color: var(--p-text-3); pointer-events: none; }
.stories__stare[hidden] { display: none; }
.stories__stare a { pointer-events: auto; color: var(--rosu); }

/* un story = un ecran întreg al feedului */
.st { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.st__cadru { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 14px; height: calc(100% - 28px); max-height: 860px; }
.st__ecran { position: relative; flex: 0 0 auto; height: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #000; border-radius: 10px; color: #fff; }
.st__poza { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.st__tap { position: absolute; inset: 0 0 var(--st-jos, 150px) 0; z-index: 2; width: 100%; padding: 0; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st__pauza { position: absolute; left: 50%; top: 42%; z-index: 3; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; color: #fff; background: rgba(0, 0, 0, .5); border-radius: 50%; opacity: 0; transform: scale(.85); transition: opacity .16s, transform .16s; pointer-events: none; }
.st__pauza svg { width: 30px; height: 30px; fill: currentColor; }
.st--pausat .st__pauza { opacity: 1; transform: none; }
.st__sunet { position: absolute; left: 50%; top: 42%; z-index: 4; display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 24px); padding: 13px 20px 13px 15px; transform: translate(-50%, -50%); font: 700 .9375rem/1 var(--font-text); color: #111; white-space: nowrap; background: #fff; border: 0; border-radius: 999px; cursor: pointer; }
.st__sunet svg { flex: none; width: 20px; height: 20px; fill: currentColor; }
.st__sunet[hidden] { display: none; }
.st__sunet:hover, .st__sunet:focus-visible { background: #f1f1f1; outline: 0; }
.st__asteapta { position: absolute; left: 50%; top: 42%; z-index: 3; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; opacity: 0; pointer-events: none; }
.st--incarca .st__asteapta { opacity: 1; animation: st-roteste .8s linear infinite; }
@keyframes st-roteste { to { transform: rotate(360deg); } }

/* partea de jos a cardului: verset, predica, bara de progres */
.st__jos { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 26px 14px 0; background: rgba(0, 0, 0, .38); pointer-events: none; transition: background-color .18s; }
.st__jos--deschis { background: rgba(0, 0, 0, .66); }
.st__jos a, .st__jos button { pointer-events: auto; }
.st__ref { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 700 .9375rem/1.25 var(--font-text); cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.st__ref:focus-visible { outline: 1px solid rgba(255, 255, 255, .6); outline-offset: 2px; }
.st__mai { display: grid; place-items: center; width: 18px; height: 18px; opacity: .75; transition: transform .18s; }
.st__mai svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.st__jos--deschis .st__mai { transform: rotate(180deg); }
.st__tip { padding: 3px 7px; font: 600 .6875rem/1 var(--font-text); letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--rosu); border-radius: 3px; }
.st__verset { max-height: 2.1em; margin: 0 0 8px; overflow: hidden; font: 400 1.0625rem/1.5 var(--font-serif); cursor: pointer; pointer-events: auto; -webkit-mask-image: linear-gradient(#000 38%, transparent 100%); mask-image: linear-gradient(#000 38%, transparent 100%); -webkit-tap-highlight-color: transparent; }
.st__jos--deschis .st__verset { max-height: 44vh; overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
.st__meta { display: none; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 10px; font: 500 .75rem/1.4 var(--font-text); color: rgba(255, 255, 255, .78); }
.st__jos--deschis .st__meta { display: flex; }
.st__meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.st__meta a:hover { color: #fff; }
.st__bara { position: relative; display: block; height: 22px; margin: 0 -14px; padding: 0 14px; cursor: pointer; touch-action: none; pointer-events: auto; }
.st__bara::before { content: ""; position: absolute; left: 14px; right: 14px; top: 10px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); transition: height .12s, top .12s; }
.st__bara:hover::before, .st__bara--trage::before { top: 9px; height: 5px; }
.st__bara i { position: absolute; left: 14px; top: 10px; width: 0; height: 3px; border-radius: 2px; background: #fff; pointer-events: none; transition: height .12s, top .12s; }
.st__bara:hover i, .st__bara--trage i { top: 9px; height: 5px; }

/* butoanele din dreapta cardului */
.st__rail { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 14px; padding-bottom: 6px; }
.st__act { display: grid; justify-items: center; gap: 5px; width: 64px; padding: 0; font: 600 .6875rem/1.15 var(--font-text); text-align: center; color: var(--p-text-2); text-decoration: none; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st__act-ic { display: grid; place-items: center; width: 46px; height: 46px; color: var(--p-text); background: #fff; border: 1px solid var(--p-linie-2); border-radius: 50%; transition: background-color .14s, color .14s, border-color .14s; }
.st__act-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st__act:hover .st__act-ic, .st__act:focus-visible .st__act-ic { border-color: var(--p-text); }
.st__act:focus-visible { outline: 0; }
.st__act[aria-pressed="true"] .st__act-ic { color: #fff; background: var(--rosu); border-color: var(--rosu); }
.st__act--gata .st__act-ic { color: #fff; background: var(--p-text); border-color: var(--p-text); }

/* cititorul capitolului: lângă card pe ecran lat, foaie de jos pe telefon; story-ul rămâne deschis și rulează */
.st__citire { position: relative; flex: 0 0 auto; display: none; flex-direction: column; width: min(430px, 34vw); height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--p-linie); border-radius: 10px; }
.st--citeste .st__citire { display: flex; }
.rd__cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--p-linie); }
.rd__titlu { margin: 0; font: 600 1.25rem/1.2 var(--font-serif); color: var(--p-text); }
.rd__sus { display: flex; flex: none; align-items: center; gap: 4px; }
.rd__leg { padding: 6px 4px; font: 600 .8125rem/1 var(--font-text); color: var(--p-text-2); text-decoration: none; white-space: nowrap; }
.rd__leg:hover { color: var(--rosu); }
.rd__x { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: var(--p-text); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.rd__x:hover, .rd__x:focus-visible { background: var(--p-fundal-2); outline: 0; }
.rd__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rd__corp { flex: 1 1 auto; overflow-y: auto; padding: 14px 18px 28px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.rd__v { position: relative; margin: 0; padding: 5px 8px 5px 10px; font: 400 1.0625rem/1.65 var(--font-serif); color: var(--p-text-2); border-left: 3px solid transparent; }
.rd__v b { margin-right: 6px; font: 600 .75rem/1 var(--font-text); color: var(--p-text-3); vertical-align: .2em; }
.rd__v--aici { color: var(--p-text); background: #fdf0f0; border-left-color: var(--rosu); }
.rd__v--are { cursor: pointer; }
.rd__play { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 6px; padding: 0; vertical-align: -.2em; color: var(--rosu); background: none; border: 1.5px solid var(--rosu); border-radius: 50%; cursor: pointer; }
.rd__play svg { width: 9px; height: 9px; margin-left: 1px; fill: currentColor; }
.rd__play:hover, .rd__play:focus-visible { color: #fff; background: var(--rosu); outline: 0; }
.rd__stare { margin: 0; padding: 24px 18px; font: 400 .9375rem/1.5 var(--font-text); color: var(--p-text-3); }

/* săgeți sus/jos (desktop), ca pe TikTok */
.stories__nav { position: absolute; right: 22px; top: 50%; z-index: 5; display: flex; flex-direction: column; gap: 10px; transform: translateY(-50%); }
.stories__sageata { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--p-text); background: #fff; border: 1px solid var(--p-linie-2); border-radius: 50%; cursor: pointer; }
.stories__sageata:hover, .stories__sageata:focus-visible { border-color: var(--p-text); outline: 0; }
.stories__sageata[disabled] { opacity: .35; cursor: default; }
.stories__sageata svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stories__nav[hidden] { display: none; }

/* telefon și tabletă îngustă: story-ul umple ecranul, butoanele stau pe video, cititorul e o foaie de jos */
@media (max-width: 900px) {
  .stories { height: calc(100vh - var(--st-top) - var(--bara-app) - env(safe-area-inset-bottom)); height: calc(100dvh - var(--st-top) - var(--bara-app) - env(safe-area-inset-bottom)); min-height: 360px; background: #fff; }
  .stories__nav { display: none; }
  .st__cadru { display: block; width: 100%; height: 100%; max-height: none; }
  .st__ecran { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  .st__jos { padding: 40px 64px 0 14px; }
  .st__verset { font-size: 1rem; }
  .st__rail { position: absolute; right: 8px; bottom: 34px; z-index: 4; gap: 10px; padding: 0; }
  .st__act { width: 56px; color: #fff; }
  .st__act-ic { width: 42px; height: 42px; color: #fff; background: rgba(0, 0, 0, .42); border-color: rgba(255, 255, 255, .26); }
  .st__act[aria-pressed="true"] .st__act-ic { background: var(--rosu); border-color: var(--rosu); }
  .st__act--gata .st__act-ic { color: #111; background: #fff; border-color: #fff; }
  .st__citire { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; width: auto; height: 58%; border: 0; border-radius: 14px 14px 0 0; }
  .st--citeste .st__rail, .st--citeste .st__jos { display: none; }
  .st--citeste .st__tap { inset: 0; }
}
@media (max-width: 480px) { .st__sunet { padding: 10px 14px 10px 11px; font-size: .8125rem; white-space: normal; line-height: 1.15; text-align: left; } .st__sunet svg { width: 18px; height: 18px; } }
@media (prefers-reduced-motion: reduce) { .st--incarca .st__asteapta { animation: none; } .st__pauza { transition: none; } }

/* antet mai scund pe această pagină (ca story-ul să aibă loc); bara de jos a site-ului nu apare deloc, în locul ei e o săgeată mică plutitoare */
.pagina-stories .antet-predica { --antet-h: 53px; }
.pagina-stories .antet-predica__rand { gap: 14px; }
.pagina-stories .antet-predica__logo img { height: 24px; }
.pagina-stories .meniu-sus { gap: 29px; }
.pagina-stories .meniu-sus__link { font-size: 1.0125rem; }
.pagina-stories .meniu-sus__link[aria-current="page"]::after { height: 2px; }
.pagina-stories .meniu-sus__live { height: 36px; gap: 8px; padding: 0 14px 0 13px; font-size: .9375rem; }
.pagina-stories .meniu-sus__punct { width: 7px; height: 7px; }
.pagina-stories .antet-predica__dreapta { gap: 8px; }
.pagina-stories .antet-cauta, .pagina-stories .meniu-buton { width: 38px; height: 38px; }
.pagina-stories .antet-cauta svg { width: 18px; height: 18px; }
.pagina-stories .meniu-buton__linii { gap: 5px; width: 17px; }
.pagina-stories .meniu-buton__linii i { height: 1.5px; }
.pagina-stories .antet-cont { min-height: 38px; }
.pagina-stories .antet-cont__intra, .pagina-stories .antet-cont__creeaza, .pagina-stories .antet-cont__eu { padding: 0 14px; font-size: .9375rem; }
.pagina-stories .antet-cont__intra { padding-left: 12px; gap: 7px; }
.pagina-stories .antet-cont__icon { width: 18px; height: 18px; }
.pagina-stories .antet-cont__foto, .pagina-stories .antet-cont__monograma { width: 29px; height: 29px; font-size: .8125rem; }
.stories__swipe { display: none; }
@media (max-width: 900px) {
  .pagina-stories { --bara-app: 0px; padding-bottom: 0; }
  .pagina-stories .bara-app { display: none; }
  .pagina-stories .stories { height: calc(100vh - var(--st-top)); height: calc(100dvh - var(--st-top)); }
  .pagina-stories .antet-cont__intra, .pagina-stories .antet-cont__eu { width: 38px; padding: 0; }
  .st__jos { padding-bottom: 34px; }
  .st__jos .st__bara { position: absolute; left: 0; right: 0; bottom: 30px; margin: 0; }
  .st__rail { bottom: 64px; }
  .stories__swipe { position: absolute; left: 50%; bottom: calc(6px + env(safe-area-inset-bottom)); z-index: 5; display: grid; place-items: center; width: 40px; height: 34px; padding: 0; color: #fff; background: none; border: 0; transform: translateX(-50%); animation: st-indemn 1.8s ease-in-out infinite; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .stories__swipe[hidden] { display: none; }
  .stories__swipe svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
}
@keyframes st-indemn { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .stories__swipe { animation: none; } }

/* antet inversat: negru, cu text și iconițe albe (meniul care se deschide rămâne ca pe celelalte pagini) */
.pagina-stories .antet-predica { --p-text: #fff; --p-text-3: rgba(255, 255, 255, .6); --p-linie: #1d1d1d; --p-linie-2: rgba(255, 255, 255, .3); --p-fundal-2: rgba(255, 255, 255, .12); background: #000; border-bottom: 0; }
.pagina-stories .antet-cont__creeaza { color: #ff5a5f; }

/* foaia „Distribuie”: jos pe telefon, ca o fereastră mică în centru pe calculator; plată, albă */
.shr { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; }
.shr[hidden] { display: none; }
.shr__fond { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.shr__panou { position: relative; width: min(100%, 420px); padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); background: #fff; border-radius: 16px 16px 0 0; color: var(--p-text); font-family: var(--font-text); }
.shr__cap { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.shr__cap strong { font: 600 1.25rem/1.2 var(--font-serif); }
.shr__x { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: var(--p-text); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.shr__x:hover, .shr__x:focus-visible { background: var(--p-fundal-2); outline: 0; }
.shr__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.shr__grila { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.shr__jos { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--p-linie); }
.shr button[data-r] { display: grid; justify-items: center; gap: 7px; padding: 6px 2px; font: 600 .75rem/1.2 var(--font-text); color: var(--p-text-2); background: none; border: 0; border-radius: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.shr button[data-r]:hover .shr__ic, .shr button[data-r]:focus-visible .shr__ic { border-color: var(--p-text); }
.shr button[data-r]:focus-visible { outline: 0; }
.shr__ic { display: grid; place-items: center; width: 54px; height: 54px; color: var(--p-text); border: 1px solid var(--p-linie-2); border-radius: 50%; }
.shr__ic--mic { width: 42px; height: 42px; }
.shr__ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shr__ic--mic svg { width: 20px; height: 20px; }
.shr__nota { min-height: 1.2em; margin: 12px 0 0; font: 500 .8125rem/1.4 var(--font-text); color: var(--p-text-2); }
@media (min-width: 701px) { .shr { align-items: center; } .shr__panou { border-radius: 14px; } }
.shr__nota:empty { display: none; }

.shr a[data-r] { display: grid; justify-items: center; gap: 7px; padding: 6px 2px; font: 600 .75rem/1.2 var(--font-text); color: var(--p-text-2); text-decoration: none; border-radius: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.shr a[data-r]:hover .shr__ic, .shr a[data-r]:focus-visible .shr__ic { border-color: var(--p-text); }
.shr a[data-r]:focus-visible { outline: 0; }
.shr--pregateste [data-r="ig"], .shr--pregateste [data-r="tt"] { opacity: .45; }

/* buton de sunet în colțul videoului */
.st__mut { position: absolute; top: 10px; right: 10px; z-index: 4; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: #fff; background: rgba(0, 0, 0, .42); border: 0; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st__mut:hover, .st__mut:focus-visible { background: rgba(0, 0, 0, .66); outline: 0; }
.st__mut svg { width: 20px; height: 20px; fill: currentColor; }
/* „Nou” lângă referință */
.st__nou { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px 3px 6px; font: 700 .6875rem/1 var(--font-text); letter-spacing: .04em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255, 255, 255, .7); border-radius: 3px; }
.st__nou::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff4b52; }
/* Amin */
.st__act--amin svg { transition: transform .18s; }
.st__act--amin[aria-pressed="true"] svg { fill: currentColor; }
.st__act--amin:active svg { transform: scale(1.25); }
.st__amin-zbor { position: absolute; z-index: 5; display: grid; justify-items: center; gap: 2px; transform: translate(-50%, -50%); color: #fff; pointer-events: none; animation: st-amin 1s ease-out forwards; }
.st__amin-zbor svg { width: 64px; height: 64px; fill: #e8353c; stroke: #e8353c; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.st__amin-zbor b { font: 700 1.125rem/1 var(--font-serif); letter-spacing: .02em; }
@keyframes st-amin { 0% { opacity: 0; transform: translate(-50%, -40%) scale(.5); } 18% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 60% { opacity: 1; transform: translate(-50%, -62%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -110%) scale(1); } }
/* mesaj scurt */
.stories__toast { position: absolute; left: 50%; top: 14px; z-index: 6; max-width: calc(100% - 32px); padding: 9px 16px; transform: translateX(-50%); font: 600 .875rem/1.3 var(--font-text); text-align: center; color: #fff; background: rgba(0, 0, 0, .78); border-radius: 999px; pointer-events: none; }
.stories__toast[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .st__amin-zbor { animation: st-amin-fade 1s linear forwards; } @keyframes st-amin-fade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } } }

.rd__alte { margin: 0; padding: 10px 18px; font: 500 .8125rem/1.5 var(--font-text); color: var(--p-text-2); background: var(--p-fundal-2); border-bottom: 1px solid var(--p-linie); }
.rd__alte a { color: var(--rosu); text-decoration: none; white-space: nowrap; }
.rd__alte a:hover { text-decoration: underline; }

/* mesaj cu acțiune („A apărut un story nou · Vezi”) */
.stories__toast--act { display: flex; align-items: center; gap: 10px; padding-right: 6px; pointer-events: auto; }
.stories__toast--act button { padding: 7px 14px; font: 700 .8125rem/1 var(--font-text); color: #111; background: #fff; border: 0; border-radius: 999px; cursor: pointer; }
.stories__toast--act button:hover, .stories__toast--act button:focus-visible { background: #f1f1f1; outline: 0; }

/* desktop: același fundal ca prima pagină (negru, lumină roșie jos-stânga, crucea discretă sus-dreapta), nu alb */
@media (min-width: 901px) {
  .pagina-stories { background: #141414; }
  .pagina-stories .stories {
    overflow: hidden;
    background:
      radial-gradient(900px 520px at 8% 100%, rgba(228, 0, 8, .22), transparent 65%),
      radial-gradient(700px 500px at 100% 0%, rgba(255, 255, 255, .05), transparent 60%),
      #141414;
  }
  /* crucea discretă din colț, ca pe prima pagină (imaginea albă la 4,5%) */
  .pagina-stories .stories::after { content: ''; position: absolute; right: -4vw; top: -4vh; width: clamp(260px, 30vw, 520px); aspect-ratio: 682 / 908; background: url("../img/cruce-alb.png") no-repeat center / contain; opacity: .045; pointer-events: none; }
  /* butoanele de lângă story, pe fundal închis */
  .pagina-stories .st__act { color: rgba(255, 255, 255, .78); }
  .pagina-stories .st__act-ic { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
  .pagina-stories .st__act:hover .st__act-ic, .pagina-stories .st__act:focus-visible .st__act-ic { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
  .pagina-stories .st__act[aria-pressed="true"] .st__act-ic { background: var(--rosu); border-color: var(--rosu); }
  .pagina-stories .st__act--gata .st__act-ic { color: #141414; background: #fff; border-color: #fff; }
  /* săgețile sus/jos: mult mai mari */
  .pagina-stories .stories__nav { right: clamp(22px, 3vw, 48px); gap: 16px; }
  .pagina-stories .stories__sageata { width: 72px; height: 72px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); transition: background-color .15s, border-color .15s, color .15s; }
  .pagina-stories .stories__sageata:hover, .pagina-stories .stories__sageata:focus-visible { color: #141414; background: #fff; border-color: #fff; }
  .pagina-stories .stories__sageata svg { width: 32px; height: 32px; stroke-width: 2.2; }
}

/* desktop: antetul negru curge lin în fundal (fără muchie între #000 și #141414): un strat în plus peste fundalul de mai sus */
@media (min-width: 901px) {
  .pagina-stories .stories {
    background:
      linear-gradient(180deg, #000 0, rgba(0, 0, 0, .72) 40px, rgba(0, 0, 0, .3) 100px, rgba(0, 0, 0, 0) clamp(140px, 18vh, 210px)),
      radial-gradient(900px 520px at 8% 100%, rgba(228, 0, 8, .22), transparent 65%),
      radial-gradient(700px 500px at 100% 0%, rgba(255, 255, 255, .05), transparent 60%),
      #141414;
  }
}

/* telefon: coloana de butoane mai compactă (acoperea aproape jumătate din ecran și subtitrarea clipului) */
@media (max-width: 900px) {
  .pagina-stories { background: #000; }
  .pagina-stories .stories { background: #000; }
  .st__rail { right: 6px; gap: 14px; }
  .st__act { width: 50px; gap: 3px; }
  .st__act-ic { width: 44px; height: 44px; background: rgba(0, 0, 0, .32); border-color: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .st__act-ic svg { width: 22px; height: 22px; }
  .st__act:active .st__act-ic { transform: scale(.92); }
  /* doar „Amin” își păstrează eticheta (cu numărul); restul sunt iconițe cunoscute, cu aria-label */
  .st__act--citeste .st__act-et, .st__act--leg .st__act-et, .st__act--trimite .st__act-et, .st__act--descarca .st__act-et { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .st__act--amin .st__act-et { font-size: .6875rem; text-shadow: 0 0 3px rgba(0, 0, 0, .6); }
  .st__jos { padding-right: 62px; }
}

/* telefon: pagina nu se derulează deloc (ca o aplicație de clipuri); subsolul nu mai poate urca peste story,
   oricum ar ajunge pagina derulată (gest care scapă din feed, derulare refăcută de browser, bara Safari) */
@media (max-width: 900px) {
  html:has(> body.pagina-stories) { height: 100%; overflow: hidden; overscroll-behavior: none; }
  .pagina-stories { height: 100%; overflow: hidden; overscroll-behavior: none; }
  .pagina-stories > .subsol { display: none; }
  .pagina-stories [data-feed] { overscroll-behavior-y: contain; }
}

/* desktop: videoul exact pe mijlocul paginii; coloana de butoane (64 px + 14 px spațiu) e echilibrată de un spațiu egal în stânga.
   Cu cititorul deschis rămâne ca înainte (videoul + cititorul sunt centrate împreună). */
@media (min-width: 901px) {
  .st:not(.st--citeste) .st__cadru { padding-left: 78px; }
}

/* butonul „Înapoi” (pus din stories.js): doar pe telefon, în colțul din stânga sus al story-ului, pastilă închisă cu text alb */
.stories__inapoi { display: none; }
@media (max-width: 900px) {
  .stories__inapoi { position: absolute; left: 10px; top: 10px; z-index: 5; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px 0 8px; font: 600 .875rem/1 var(--font-text); color: #fff; text-decoration: none; background: rgba(0, 0, 0, .42); border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); -webkit-tap-highlight-color: transparent; }
  .stories__inapoi svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .stories__inapoi:active { background: rgba(0, 0, 0, .66); }
}
