.sthd-premium-box {
  --sthd-accent: var(--main-color, var(--primary-color, #e83d58));
  max-width: 1050px;
  margin: 35px auto;
  padding: clamp(20px, 4vw, 42px);
  color: inherit;
  background: #141820;
  border: 1px solid #2a303d;
  border-radius: 20px;
}
.sthd-premium-heading { display:flex; gap:16px; align-items:center; margin-bottom:24px; }
.sthd-premium-heading h1 { margin:0 0 6px; color:#f4f6fa; font-size:clamp(26px, 4vw, 40px); }
.sthd-premium-heading p { margin:0; color:#a9b1bf; }
.sthd-premium-crown { display:grid; place-items:center; width:52px; height:52px; flex:0 0 52px; color:#fff; background:var(--sthd-accent); border-radius:15px; font-size:24px; }
.sthd-premium-plans { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:20px; }
.sthd-plan { position:relative; padding:26px; background:#1a1f2a; border:1px solid #2a303d; border-radius:16px; }
.sthd-plan-featured { border-color:var(--sthd-accent); }
.sthd-plan h2 { margin:18px 0 8px; color:#f4f6fa; }
.sthd-plan p, .sthd-plan li { color:#a9b1bf; }
.sthd-plan ul { padding-left:20px; margin:20px 0; }
.sthd-plan li { margin:8px 0; }
.sthd-plan-tag { position:absolute; top:16px; right:16px; padding:5px 10px; color:#fff; background:var(--sthd-accent); border-radius:999px; font-size:12px; font-weight:700; }
.sthd-price strong { color:#f4f6fa; font-size:38px; }
.sthd-price small { color:#a9b1bf; }
.sthd-checkout-button {
  width:100%;
  min-height:50px;
  margin-top:22px;
  padding:12px 18px;
  color:#fff;
  background:var(--sthd-accent);
  border:0;
  border-radius:10px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.sthd-checkout-button:hover { filter:brightness(1.08); }
.sthd-checkout-button:disabled { opacity:.55; cursor:not-allowed; }
.sthd-checkout-button.is-loading { cursor:wait; }
.sthd-premium-notice, .sthd-premium-active, .sthd-premium-message { margin:0 0 22px; padding:14px 16px; border-radius:10px; }
.sthd-premium-notice { background:#202737; color:#f4f6fa; }
.sthd-premium-notice .sthd-account-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  margin:2px 4px;
  padding:5px 12px;
  color:#fff;
  background:var(--sthd-accent);
  border:1px solid var(--sthd-accent);
  border-radius:8px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
}
.sthd-premium-notice .sthd-account-link:hover,
.sthd-premium-notice .sthd-account-link:focus {
  color:#fff;
  filter:brightness(1.12);
  text-decoration:none;
}
.sthd-premium-notice .sthd-account-link:focus-visible {
  outline:2px solid #fff;
  outline-offset:2px;
}
.sthd-premium-active, .sthd-premium-message.is-success { color:#dff8e9; background:#153525; }
.sthd-premium-message.is-error { color:#ffe5e5; background:#451f25; }
.sthd-membership-information {
  margin:0 0 28px;
  padding:26px;
  color:#f4f6fa;
  background:#171c26;
  border:1px solid #2a303d;
  border-radius:16px;
}
.sthd-membership-title {
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:20px;
}
.sthd-membership-title > span {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
  color:#fff;
  background:var(--sthd-accent);
  border-radius:12px;
  font-weight:800;
}
.sthd-membership-title h2 {
  margin:0 0 4px;
  color:#f4f6fa;
  font-size:24px;
}
.sthd-membership-title p {
  margin:0;
  color:#a9b1bf;
}
.sthd-membership-benefits {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
.sthd-membership-benefits article {
  padding:16px;
  background:#1d2330;
  border:1px solid #303746;
  border-radius:12px;
}
.sthd-membership-benefits strong {
  display:block;
  margin-bottom:6px;
  color:#f4f6fa;
}
.sthd-membership-benefits p {
  margin:0;
  color:#a9b1bf;
  line-height:1.55;
}
.sthd-membership-terms {
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #303746;
}
.sthd-membership-terms h3 {
  margin:0 0 10px;
  color:#f4f6fa;
  font-size:18px;
}
.sthd-membership-terms ul {
  margin:0;
  padding-left:20px;
}
.sthd-membership-terms li {
  margin:8px 0;
  color:#c8cfda;
}
.sthd-membership-external-note {
  margin:18px 0 0;
  padding:13px 15px;
  color:#d9dfeb;
  background:#202737;
  border-left:4px solid var(--sthd-accent);
  border-radius:8px;
  line-height:1.55;
}
.sthd-membership-request-note {
  margin:14px 0 0;
  padding:15px 16px;
  color:#f4f6fa;
  background:#202737;
  border:1px solid var(--sthd-accent);
  border-radius:10px;
  line-height:1.55;
}
.sthd-membership-request-note strong {
  display:block;
  margin-bottom:4px;
  color:#f4f6fa;
}
.sthd-membership-request-note p {
  margin:0;
  color:#d9dfeb;
}
.sthd-choose-plan-title {
  margin:0 0 14px;
  color:#f4f6fa;
  font-size:24px;
}
.sthd-cancel-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  margin-left:14px;
  padding:8px 14px;
  color:#fff;
  background:transparent;
  border:1px solid rgba(255,255,255,.55);
  border-radius:8px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.sthd-cancel-button:hover { background:rgba(255,255,255,.1); }
.sthd-cancel-button:disabled, .sthd-cancel-button.is-loading { opacity:.65; cursor:wait; }
.sthd-cancel-help, .sthd-cancelled-note { display:block; margin-top:8px; color:#c7ead5; font-size:13px; }
.sthd-payment-note { margin:22px 0 0; color:#a9b1bf; text-align:center; font-size:13px; }
.sthd-premium-locked-source a { border:1px solid var(--main-color, var(--primary-color, currentColor)); }
.sthd-premium-member .content-ads,
.sthd-premium-member .display-ads,
.sthd-premium-member [class*="adsterra"],
.sthd-premium-member [id*="adsterra"] { display:none !important; }
@media (max-width:700px) {
  .sthd-premium-box { margin:18px 10px; padding:18px; border-radius:14px; }
  .sthd-premium-plans { grid-template-columns:1fr; }
  .sthd-premium-heading { align-items:flex-start; }
  .sthd-plan { padding:20px 16px; }
  .sthd-cancel-button { display:flex; width:100%; margin:12px 0 0; }
  .sthd-premium-notice .sthd-account-link { margin:5px 3px; }
  .sthd-membership-information { padding:18px 15px; }
  .sthd-membership-benefits { grid-template-columns:1fr; }
  .sthd-membership-title { align-items:flex-start; }
}
.sthd-premium-member .content-ads,
.sthd-premium-member .display-ads,
.sthd-premium-member .module-archive-ads,
.sthd-premium-member .module-home-ads,
.sthd-premium-member .module-single-ads {
    display: none !important;
}
.sthd-premium-player-active .display-video,
.sthd-premium-player-active .pframe,
.sthd-premium-player-active iframe,
.sthd-premium-player-active video {
    width: 100%;
    height: 100%;
}
.sthd-premium-player-pending .display-video {
  visibility:hidden !important;
}
.sthd-premium-player-active video {
    display: block;
    background: #000;
}
.sthd-video-shell {
    --sthd-player-accent: #e50914;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    overflow: hidden;
    color: #fff;
    background: #000;
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
}
.sthd-video-shell video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sthd-video-shell::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 105px;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(0, 0, 0, .88));
    opacity: 0;
    transition: opacity .25s ease;
}
.sthd-video-shell.controls-visible::after {
    opacity: 1;
}
.sthd-control-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 19px;
    line-height: 1;
    transition: background .2s ease, transform .2s ease;
}
.sthd-control-button[hidden] {
    display: none;
}
.sthd-control-button:hover,
.sthd-control-button:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .18);
    outline: none;
    transform: scale(1.06);
}
.sthd-center-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 76px;
    height: 76px;
    border: 2px solid rgba(255, 255, 255, .9);
    background: rgba(229, 9, 20, .92);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .45);
    transform: translate(-50%, -50%);
}
.sthd-center-play:hover,
.sthd-center-play:focus-visible {
    background: var(--sthd-player-accent);
    transform: translate(-50%, -50%) scale(1.07);
}
.sthd-center-play span {
    margin-left: 5px;
    font-size: 30px;
}
.sthd-video-shell.is-playing .sthd-center-play {
    opacity: 0;
    pointer-events: none;
}
.sthd-video-controls {
    position: absolute;
    z-index: 4;
    right: 12px;
    bottom: 10px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
}
.sthd-video-shell.controls-visible .sthd-video-controls {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.sthd-rewind {
    position: relative;
    font-size: 25px;
}
.sthd-rewind small {
    position: absolute;
    font-size: 9px;
    font-weight: 700;
}
.sthd-forward {
    position: relative;
    font-size: 25px;
}
.sthd-forward small {
    position: absolute;
    font-size: 9px;
    font-weight: 700;
}
.sthd-seek-bubble {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.8);
    transition: opacity .2s ease, transform .2s ease;
}
.sthd-seek-bubble.is-left { left: 22%; }
.sthd-seek-bubble.is-right { left: 78%; }
.sthd-seek-bubble.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.sthd-timeline,
.sthd-volume {
    --sthd-progress: 0%;
    height: 5px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    outline: 0;
    appearance: none;
    background: linear-gradient(
        to right,
        var(--sthd-player-accent) 0,
        var(--sthd-player-accent) var(--sthd-progress),
        rgba(255, 255, 255, .38) var(--sthd-progress),
        rgba(255, 255, 255, .38) 100%
    );
    cursor: pointer;
}
.sthd-timeline {
    flex: 1 1 auto;
    min-width: 90px;
}
.sthd-volume {
    flex: 0 1 75px;
    max-width: 75px;
    background: rgba(255, 255, 255, .38);
}
.sthd-timeline::-webkit-slider-thumb,
.sthd-volume::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    appearance: none;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
}
.sthd-timeline::-moz-range-thumb,
.sthd-volume::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
}
.sthd-video-time {
    flex: 0 0 auto;
    min-width: 98px;
    color: #fff;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    text-shadow: 0 1px 3px #000;
}
.sthd-speed {
    height: 32px;
    padding: 0 5px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 7px;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    font-size: 12px;
    cursor: pointer;
}
.sthd-speed option {
    color: #fff;
    background: #171717;
}
.sthd-cast svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}
.sthd-resume {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 50%;
    width: min(390px, calc(100% - 30px));
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    color: #fff;
    background: rgba(12, 12, 15, .94);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .65);
    text-align: center;
    transform: translate(-50%, -50%);
}
.sthd-resume[hidden] {
    display: none;
}
.sthd-resume strong,
.sthd-resume span {
    display: block;
}
.sthd-resume strong {
    margin-bottom: 7px;
    font-size: 21px;
}
.sthd-resume-time {
    margin-bottom: 18px;
    color: #c9c9cf;
    font-size: 14px;
}
.sthd-resume > div {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.sthd-resume button {
    padding: 10px 17px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}
.sthd-resume-primary {
    border: 1px solid var(--sthd-player-accent);
    color: #fff;
    background: var(--sthd-player-accent);
}
.sthd-resume-secondary {
    border: 1px solid rgba(255, 255, 255, .32);
    color: #fff;
    background: transparent;
}
.sthd-video-shell:fullscreen {
    width: 100vw;
    height: 100vh;
}
@media (max-width: 700px) {
    .sthd-video-shell { min-height: 210px; }
    .sthd-video-controls { right: 6px; bottom: 5px; left: 6px; gap: 2px; }
    .sthd-control-button { flex-basis: 32px; width: 32px; height: 32px; font-size: 16px; }
    .sthd-center-play { width: 60px; height: 60px; }
    .sthd-volume { display: none; }
    .sthd-video-time { min-width: 68px; font-size: 10px; }
    .sthd-speed { width: 47px; padding: 0 2px; }
    .sthd-rewind,
    .sthd-forward { display: none; }
    .sthd-resume { padding: 18px 14px; }
    /* Bară mai groasă și cerc de tragere (thumb) mai mare, pentru degete —
       aceleași reguli ca pe desktop (linia 347), doar mărite pentru mobil. */
    .sthd-timeline {
        height: 8px;
    }
    .sthd-timeline::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
    }
    .sthd-timeline::-moz-range-thumb {
        width: 20px;
        height: 20px;
    }
}
@media (max-width: 520px) {
    .sthd-video-time,
    .sthd-pip { display: none; }
}
