
:root {
    --gradient-left: #3354d8;
    --gradient-right: #18afef;
    --text-color: #ffffff;
    --icon-bg: #ffffff;
}

.mobile-bottom-bar {
    position: fixed;
    bottom: -54px;
    left: 0;
    right: 0;
    background: linear-gradient(to right, var(--gradient-left), var(--gradient-right));
    border-top: 1px solid rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
    z-index: 9999;
    padding: 0 9px;
    transition: bottom 0.4s ease-out;
    overflow: visible;
}

.mobile-bottom-bar.visible-bar {
    bottom: 0;
}

.mobile-bottom-bar.bounce-bar {
    animation: bounceBar 0.5s ease-out;
}

@keyframes bounceBar {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.logo-center {
    position: absolute;
    left: 50%;
    top: -14px;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 50%;
    border: none;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    overflow: hidden;
}

.logo-center img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease-in-out;
}

.logo-center img.zoom-logo {
    opacity: 1;
    transform: scale(1.05);
}

.logo-center img.zoom-logo:hover {
    transform: scale(1.05);
}

.logo-center .ripple {
    position: absolute;
    background: rgba(0, 123, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    width: 100px;
    height: 100px;
    opacity: 0;
    pointer-events: none;
}

.logo-center .ripple.active {
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.left-section {
    margin-left: 2px; /* cofnięcie sekcji w lewo */
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.right-section {
    margin-right: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon,
.tiktok-icon {
    background: var(--icon-bg);
    border-radius: 50%;
    padding: 4px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i,
.tiktok-icon i {
    color: var(--gradient-left);
    font-size: 16px;
}

.alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.alert-dot {
    position: relative;
    width: 15px;
    height: 15px;
    background: #FFD700;
    border-radius: 50%;
}

.alert-dot::before, .alert-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 26px;
    border: 2px solid #FFD700;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: pulseWave 2s infinite;
}

.alert-dot::after {
    animation-delay: 1s;
}

.alert-texts {
    width: 120px; /* zawężony obszar */
    font-weight: bold;
    font-size: 12px; /* mniejszy font */
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slider-mask {
    height: 20px;
    overflow: hidden;
    width: 100%;
    position: relative;
    top: 5px;
}

.text-wrapper {
    display: flex;
    flex-direction: column;
}

.text-wrapper div {
    height: 20px;
    line-height: 20px;
    text-align: left;
}

.more-text-row {
    position: relative;
    top: 0px;
}

.more-text {
    font-size: 11px;
    color: #ffffff;
    opacity: 0.9;
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-color);
    font-weight: bold;
    font-size: 14px;
    opacity: 0.95;
}

.weather-widget img {
    width: 24px;
    height: 24px;
}

@keyframes pulseWave {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.slider-title {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px; /* dostosowana szerokość przed logiem */
}

.slider-title {
    color: #ffffff !important;
    font-weight: bold !important;
}

.slider-title { font-size: calc(1em + 3px) !important; }


/* Przesunięcie sekcji ikona + slider w lewo */
.left-section {
    margin-left: -5px !important;
}

/* Zwiększenie max-width slidera */
.slider-title {
    max-width: 115px !important;
}


/* Przesunięcie slidera bliżej logo i zwiększenie max-width */
.left-section {
    margin-left: -8px !important;
}

.slider-title {
    max-width: 125px !important;
}


/* Przesunięcie slidera w lewo z marginesem */
.left-section {
    margin-left: 5px !important;
}

/* Zwiększenie max-width slidera po usunięciu dużej ikony */
.slider-title {
    max-width: 165px !important;
}


/* Więcej miejsca na slider */
.slider-title {
    max-width: 190px !important;
}

/* Mała żółta ikona fali przy "Więcej" */
.alert-dot-small {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: yellow;
    border-radius: 50%;
    margin-right: 4px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}


/* Slider - wymuszenie szerszej przestrzeni */
.slider-title {
    flex: 0 0 auto !important;
    width: 210px !important;
    max-width: 210px !important;
    overflow: hidden;
    white-space: nowrap;
}

/* Mini ikona fali przy "Więcej" */
.alert-wave-small {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url('wave-icon-small-yellow.png') no-repeat center center;
    background-size: contain;
    margin-right: 4px;
}


/* Usunięcie zbędnego paddingu przy logo */
.left-section {
    margin-left: 5px !important;
    padding-right: 0 !important;
}

/* Poszerzenie slidera do maksimum */
.slider-title {
    flex: 0 0 auto !important;
    width: 210px !important;
    max-width: 210px !important;
    overflow: hidden;
    white-space: nowrap;
}

/* Mała ikona fali w CSS (żółta) */
.alert-wave-small {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, yellow 40%, transparent 70%);
    box-shadow: 0 0 5px yellow;
    animation: wave-pulse 1.5s infinite;
    vertical-align: middle;
}

@keyframes wave-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

/* Wyrównanie "Więcej" */
.more-text {
    display: inline-flex;
    align-items: center;
}

/* v12.62 - final slider fix */
/* 1) Remove fixed widths */
.alert-texts,
.slider-mask {
  padding-right: 0 !important;
  width: auto !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: visible !important;
}

/* 2) Slider mask full width minus buffer */
.slider-mask {
  width: calc(100% - 30px) !important;
  overflow: hidden !important;
}

/* 3) Slider title ellipsis */
.text-wrapper,
.slider-title {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 4) Buffer before logo for ellipsis */
.alert-texts {
  padding-right: 30px !important;
}

/* 5) Lower "Więcej" by 2px */
.more-text {
  margin-top: 8px !important;
}

/* 6) Slim wave animation */
.alert-wave-small {
  position: relative;
  width: 8px;
  height: 8px;
  background: yellow;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.alert-wave-small::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border: 1px solid yellow;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  animation: wave-slim 1.3s ease-out infinite;
}
@keyframes wave-slim {
  0% { transform: translate(-50%,-50%) scale(0.3); opacity:0.8;}
  80% { transform: translate(-50%,-50%) scale(1.3); opacity:0;}
  100%{ transform: translate(-50%,-50%) scale(1.3); opacity:0;}
}

/* v12.63 - raise "Więcej" by 2px and restore wave propagation animation */
/* 1) Move "Więcej" up by reducing margin-top */
.more-text {
  margin-top: 6px !important;
}

/* 2) Slim wave propagation for alert icon */
.alert-wave-small {
  position: relative !important;
  width: 8px !important;
  height: 8px !important;
  background: yellow !important;
  border-radius: 50% !important;
  margin-right: 4px !important;
  vertical-align: middle !important;
}
.alert-wave-small::before,
.alert-wave-small::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 8px !important;
  height: 8px !important;
  border: 2px solid yellow !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) scale(0) !important;
  opacity: 0 !important;
  animation: wave-propagate 1.2s ease-out infinite !important;
}
.alert-wave-small::after {
  animation-delay: 0.6s !important;
}
@keyframes wave-propagate {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity:0.8; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity:0; }
}

/* Updated: buffer before logo and mask width */
.alert-texts {
    padding-right: 30px !important;
}
.slider-mask {
    width: calc(100% - 30px) !important;
    overflow: hidden !important;
}
.logo-center {
    z-index: 10 !important;
}


/* v12.63-reels-border — rotating edge around reels icon and text label */
.reels-label{
  margin-right: 6px;
  font-weight: 600;
  text-transform: lowercase;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Make the reels icon circle container explicit (non-intrusive sizes) */
.tiktok-icon{
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Subtle static inner border (optional, very faint) */
.tiktok-icon{
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset;
}

/* Rotating highlight along the edge */
.tiktok-icon::after{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(255,255,255,0.9);
  border-right-color: rgba(255,255,255,0.4);
  border-left-color: rgba(255,255,255,0.15);
  animation: reelsEdgeSpin 3.2s linear infinite;
  pointer-events: none;
}

/* Icon size inside */
.tiktok-icon i.fas.fa-film{
  font-size: 14px;
  line-height: 1;
}

/* Spin keyframes */
@keyframes reelsEdgeSpin{
  from{ transform: rotate(0deg); }
  to{   transform: rotate(360deg); }
}


/* v12.63-reels-border-fixed */
/* Reels label on the RIGHT of the icon */
.reels-label{
  margin-left: 6px !important;
  margin-right: 0 !important;
  color: #ffffff !important;
  font-size: calc(1em + 1px) !important; /* +1px względem bieżącej wielkości fontu */
  font-weight: 600;
  text-transform: lowercase;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Subtler rotating edge in grey */
.tiktok-icon{
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.tiktok-icon::after{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid transparent;              /* cieńsza krawędź */
  border-top-color: rgba(187,187,187,0.8);    /* #bbb */
  border-right-color: rgba(187,187,187,0.35);
  border-left-color: rgba(187,187,187,0.2);
  animation: reelsEdgeSpinSoft 4.5s linear infinite; /* wolniej i subtelniej */
  pointer-events: none;
}

.tiktok-icon i.fas.fa-film{
  font-size: 14px;
  line-height: 1;
}

@keyframes reelsEdgeSpinSoft{
  from{ transform: rotate(0deg); }
  to{   transform: rotate(360deg); }
}


/* v12.63-reels-border-fixed2 */
/* Keep icon in place; label to the RIGHT */
.tiktok-icon{
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  vertical-align: middle !important;
}
.reels-label{
  margin-left: 6px !important;
  color: #ffffff !important;
  font-size: calc(1em + 1px) !important;
  font-weight: 600 !important;
  text-transform: lowercase !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* More visible rotating gray edge */
.tiktok-icon::after{
  content: "" !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: 50% !important;
  border: 2px solid transparent !important;
  border-top-color: rgba(154,160,166,0.95) !important;  /* darker gray */
  border-right-color: rgba(154,160,166,0.55) !important;
  border-left-color: rgba(154,160,166,0.35) !important;
  animation: reelsEdgeSpinSoft 3.8s linear infinite !important;
  pointer-events: none !important;
  box-shadow: 0 0 4px rgba(154,160,166,0.35) !important;
}

.tiktok-icon i.fas.fa-film{
  font-size: 14px !important;
  line-height: 1 !important;
}

@keyframes reelsEdgeSpinSoft{
  from{ transform: rotate(0deg); }
  to{   transform: rotate(360deg); }
}


/* v12.63-reels-border-fixed3 */
.right-section .tiktok-icon{
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;              /* do not push icon right */
  vertical-align: middle !important;
}
.right-section .reels-label{
  display: inline-block !important;
  margin-left: 8px !important;      /* label to the RIGHT */
  color: #ffffff !important;        /* white text */
  font-size: calc(1em + 1px) !important; /* +1px */
  font-weight: 600 !important;
  text-transform: lowercase !important;
  line-height: 1 !important;
}

/* More visible rotating gray edge around icon */
.right-section .tiktok-icon::after{
  content: "" !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: 50% !important;
  border: 2px solid transparent !important;
  border-top-color: #bfc5cf !important;                 /* light gray */
  border-right-color: rgba(154,160,166,0.75) !important;/* darker segment */
  border-left-color: rgba(154,160,166,0.45) !important;
  animation: reelsEdgeSpinStronger 3s linear infinite !important;
  pointer-events: none !important;
  box-shadow: 0 0 6px rgba(154,160,166,0.45) !important; /* subtle glow */
}

@keyframes reelsEdgeSpinStronger{
  from{ transform: rotate(0deg); }
  to{   transform: rotate(360deg); }
}


/* v12.63-reels-filmstripe2 */
/* 1) Remove previous rotating edge animation */
.right-section .tiktok-icon::after{
  content: none !important;
  animation: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* 2) Add inner film stripe moving across the icon (subtle) */
.right-section .tiktok-icon{
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  overflow: hidden !important; /* clip stripe inside the circle */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 10px !important; /* shift icon slightly right */
  margin-right: 0 !important;
}

.right-section .tiktok-icon::before{
  content: "" !important;
  position: absolute !important;
  top: -20% !important;
  left: -40% !important;
  width: 180% !important;
  height: 40% !important;
  background: linear-gradient( to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100% ) !important;
  transform: rotate(12deg) translateX(-120%) !important;
  animation: filmStripeSweep 3.5s ease-in-out infinite !important;
}

@keyframes filmStripeSweep{
  0%   { transform: rotate(12deg) translateX(-120%); opacity: 0; }
  20%  { opacity: .85; }
  50%  { transform: rotate(12deg) translateX(0%); opacity: .65; }
  80%  { opacity: .85; }
  100% { transform: rotate(12deg) translateX(120%); opacity: 0; }
}

/* 3) Bring label closer to the icon */
.right-section .reels-label{
  margin-left: 4px !important;
  color: #ffffff !important;
  font-size: calc(1em + 1px) !important;
  font-weight: 600 !important;
  text-transform: lowercase !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
}


/* v12.63 – filmstrip2-fixed */
/* 1) Turn off any previous rotating edge animation */
.right-section .tiktok-icon::after {
  content: none !important;
  animation: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* 2) Make icon clip its inner effect */
.right-section .tiktok-icon {
  overflow: hidden !important;
  margin-right: 0 !important; /* default */
}

/* Move icon closer to the 'rolki' label */
.right-section .tiktok-icon { margin-right: 4px !important; }
.right-section .reels-label   { margin-left: 4px !important; color: #fff !important; font-size: calc(1em + 1px) !important; font-weight: 600 !important; text-transform: lowercase !important; line-height: 1 !important; display: inline-flex !important; align-items: center !important;}

/* 3) Add subtle inner filmstrip sweep */
.right-section .tiktok-icon::before {
  content: "" !important;
  position: absolute !important;
  top: -10%;
  bottom: -10%;
  left: -40%;
  width: 30%;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 50%, rgba(255,255,255,0) 100%);
  filter: blur(0.5px);
  animation: filmstripSweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes filmstripSweep {
  0%   { transform: translateX(0);    opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translateX(220%); opacity: .7; }
  90%  { opacity: 0; }
  100% { transform: translateX(220%); opacity: 0; }
}


/* v12.63 – reels-filmstrip2-fixed2 */
/* tighten spacing in right-section */
.right-section{
  display:flex !important;
  align-items:center !important;
  gap: 4px !important;
}

/* icon container */
.right-section .tiktok-icon{
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;            /* for inner sweep */
  margin-right: 0 !important;             /* icon closer to label */
}

/* kill any previous edge animation */
.right-section .tiktok-icon::after{
  content: none !important;
  animation: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* subtle filmstrip sweep inside the circle */
.right-section .tiktok-icon::before{
  content: "" !important;
  position: absolute !important;
  top: -12%;
  bottom: -12%;
  left: -45%;
  width: 32%;
  border-radius: 8px;
  background: linear-gradient(90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.75) 50%,
      rgba(255,255,255,0) 100%);
  filter: blur(0.6px);
  animation: filmstripSweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

/* sweep animation */
@keyframes filmstripSweep {
  0%   { transform: translateX(0);    opacity: 0; }
  12%  { opacity: .95; }
  50%  { transform: translateX(230%); opacity: .7; }
  88%  { opacity: 0; }
  100% { transform: translateX(230%); opacity: 0; }
}

/* label to the RIGHT, white, +1px */
.right-section .reels-label{
  display:inline-flex !important;
  align-items:center !important;
  margin-left: 4px !important;
  color:#fff !important;
  font-size: calc(1em + 1px) !important;
  font-weight:600 !important;
  text-transform: lowercase !important;
  line-height:1 !important;
}


/* === Reels: subtelna animacja taśmy w ikonie (bez JS) === */
.right-section .tiktok-icon{
  position: relative !important;
  overflow: hidden !important;
  border-radius: 50% !important;
}
.right-section .tiktok-icon::after{
  content: "" !important;
  position: absolute !important;
  top: -120%;
  left: 0; width: 100%;
  height: 300%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.18) 0px,
    rgba(255,255,255,0.18) 2px,
    rgba(255,255,255,0)    2px,
    rgba(255,255,255,0)    6px
  );
  animation: reelVerticalSweep 4s linear infinite;
  pointer-events: none !important;
}
.right-section .tiktok-icon i{
  position: relative !important;
  z-index: 1 !important;
}
@keyframes reelVerticalSweep{
  0%   { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}
/* Fallback dla samej ikony (gdyby wrapper miał inną klasę) */
.right-section i.fas.fa-film{
  position: relative;
}
.right-section i.fas.fa-film::after{
  content: "";
  position: absolute;
  top: -120%; left: -10%;
  width: 120%; height: 300%;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.25), rgba(255,255,255,0));
  animation: reelVerticalSweep 4s linear infinite;
  pointer-events: none;
}


/* === Reels: pionowe przesuwanie samej ikony w kółku (slow) === */
.right-section .tiktok-icon{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

.right-section .tiktok-icon i{
  position: relative !important;
  display: inline-block !important;
  z-index: 1 !important;
  transform-origin: center center !important;
  animation: reelIconBob 3.8s ease-in-out infinite !important; /* wolno i płynnie */
  will-change: transform;
  line-height: 1 !important;
}

/* delikatny ruch góra-dół */
@keyframes reelIconBob {
  0%   { transform: translateY(-2px); }
  50%  { transform: translateY( 2px); }
  100% { transform: translateY(-2px); }
}

/* Wyłącz "błysk/taśmę" jeśli gdzieś jeszcze została */
.right-section .tiktok-icon::after,
.right-section .tiktok-icon::before{
  content: none !important;
  animation: none !important;
}


/* === SHINE fix: remove vertical bobbing and add pronounced diagonal shine === */

/* 1) Wyłączamy przewijanie góra-dół na samej ikonie */
.right-section .tiktok-icon i{
  animation: none !important;
  transform: translateY(0) !important;
}

/* 2) Przygotowanie kontenera pod efekt błysku */
.right-section .tiktok-icon{
  position: relative !important;
  overflow: hidden !important;
  border-radius: 50% !important;
}

/* 3) Mocniejszy, diagonalny „błysk” przesuwający się przez kółko */
.right-section .tiktok-icon::after{
  content: "" !important;
  position: absolute !important;
  top: -40% !important;
  left: -80% !important;
  width: 45% !important;
  height: 180% !important;
  transform: rotate(24deg) !important;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0.85) 50%,
    rgba(255,255,255,0.15) 80%,
    rgba(255,255,255,0) 100%
  ) !important;
  animation: reelsShineSweep 3.8s ease-in-out infinite !important;
  pointer-events: none !important;
  mix-blend-mode: screen;
}

/* 4) Keyframes: powolny przejazd błysku przez środek kółka */
@keyframes reelsShineSweep{
  0%   { transform: rotate(24deg) translateX(0);    opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: rotate(24deg) translateX(220%); opacity: .9; }
  90%  { opacity: 0; }
  100% { transform: rotate(24deg) translateX(220%); opacity: 0; }
}


/* v12.63 – PLAY ICON + animated progress arc (no shine) */
.right-section .tiktok-icon{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  overflow: visible !important;
}

/* ensure icon itself is centered and not animated */
.right-section .tiktok-icon i.fas.fa-circle-play{
  position: relative !important;
  z-index: 2 !important;
  line-height: 1 !important;
  transform: none !important;
  animation: none !important;
  font-size: 16px !important;
}

/* remove previous shine sweep if present */
.right-section .tiktok-icon::after{
  content: none !important;
  animation: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* animated arc on the rim using conic-gradient + mask ring */
.right-section .tiktok-icon::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  background: conic-gradient(#ffcc00 0deg, #ffcc00 90deg, transparent 90deg 360deg) !important;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0) !important;
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0) !important;
  z-index: 1 !important;
  animation: arcSpin 2.6s linear infinite !important;
  pointer-events: none !important;
}

@keyframes arcSpin{
  to { transform: rotate(360deg); }
}


/* v12.63 – STRICT arc ring bound to icon circle only */
.right-section .tiktok-icon,
.right-section .video-icon,
.right-section .play-icon{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  overflow: hidden !important; /* clip everything to the circle */
  margin: 0 !important;
}

/* the icon itself centered, no animations */
.right-section .tiktok-icon i.fas.fa-circle-play,
.right-section .video-icon i.fas.fa-circle-play,
.right-section .play-icon i.fas.fa-circle-play{
  position: relative !important;
  z-index: 2 !important;
  line-height: 1 !important;
  font-size: 16px !important;
  transform: none !important;
  animation: none !important;
}

/* kill any previous shimmer/shine attached to the icon container */
.right-section .tiktok-icon::after,
.right-section .video-icon::after,
.right-section .play-icon::after{
  content: none !important;
  animation: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* arc ring ONLY on the icon circle */
.right-section .tiktok-icon::before,
.right-section .video-icon::before,
.right-section .play-icon::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;                 /* exactly the circle bounds */
  border-radius: 50% !important;
  background: conic-gradient(#ffcc00 0deg, #ffcc00 90deg, transparent 90deg 360deg) !important;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0) !important;
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  animation: arcSpin 2.6s linear infinite !important;
}

@keyframes arcSpin{ to { transform: rotate(360deg); } }


/* v12.63 – SVG arc ring (robust) */
.right-section .tiktok-icon{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}
/* Ensure the play icon sits above the arc */
.right-section .tiktok-icon i.fas.fa-circle-play{
  position: relative !important;
  z-index: 2 !important;
  line-height: 1 !important;
  font-size: 16px !important;
}
/* SVG arc positioned absolutely to match the circle */
.right-section .tiktok-icon .play-arc{
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
/* Animate the stroke to create rotating arc */
@keyframes arcDash {
  to { stroke-dashoffset: -225; }
}
.right-section .tiktok-icon .play-arc .ring{
  animation: arcDash 2.6s linear infinite !important;
}
/* Kill any previous ::before/::after effects that might conflict */
.right-section .tiktok-icon::before,
.right-section .tiktok-icon::after{
  content: none !important;
  animation: none !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* v12.63 – inner spinning ring inside play icon */
.right-section .tiktok-icon{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

.right-section .tiktok-icon i.fas.fa-circle-play{
  position: relative !important;
  z-index: 2 !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.right-section .tiktok-icon .inner-orbit{
  position: absolute !important;
  inset: 3px !important;               /* mniejszy od pełnego koła, robi „obwodzik” w środku */
  z-index: 1 !important;
  pointer-events: none !important;
}

@keyframes orbitSpin { to { transform: rotate(360deg); } }
.right-section .tiktok-icon .inner-orbit{
  transform-origin: 50% 50%;
  animation: orbitSpin 2.8s linear infinite;
}

/* wyłącz poprzednie pseudo-elementy, żeby nic nie nachodziło */
.right-section .tiktok-icon::before,
.right-section .tiktok-icon::after{
  content: none !important;
  animation: none !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* v12.63 – Triangle-only soft pulse inside the play icon */
.right-section .tiktok-icon{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  overflow: hidden !important; /* stay inside circle */
}

/* make sure glyph stays above the triangle background */
.right-section .tiktok-icon i.fas.fa-circle-play{
  position: relative !important;
  z-index: 2 !important;
  line-height: 1 !important;
  font-size: 16px !important;
}

/* remove any previous pseudo-elements we might have used */
.right-section .tiktok-icon::before{ content:none !important; animation:none !important; box-shadow:none !important; }

/* TRIANGLE PULSE: a clipped triangle behind the glyph */
.right-section .tiktok-icon::after{
  content: "" !important;
  position: absolute !important;
  width: 42% !important;                /* triangle span relative to circle */
  height: 40% !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-42%, -50%) scale(1) !important;  /* slight left bias like FA triangle */
  transform-origin: 50% 50% !important;
  background: rgba(255, 213, 79, 0.28) !important;       /* soft yellow behind triangle */
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%) !important;/* right-pointing triangle */
  z-index: 1 !important;                                  /* under the glyph, above the disc */
  pointer-events: none !important;
  animation: trianglePulse 2.4s ease-in-out infinite !important;
}

@keyframes trianglePulse{
  0%, 100% { opacity: .25; transform: translate(-42%, -50%) scale(0.96); }
  50%      { opacity: .85; transform: translate(-42%, -50%) scale(1.05); }
}
