/*
* Only for app-specific rules.
*/

@import url("https://use.typekit.net/xnc8tgl.css");

:root {
  --primary: #9D64C2;
  --primary-background: linear-gradient(110deg, #64A6C2, #9D64C2);
  --primary-text: #54456B;
  --secondary: #AEB8DB;
  --secondary-text: #64A6C2;
  --bg-light: #F4EDF4;
  --bg-low: linear-gradient(89deg, #F7F6F9, #F4EDF4);
  --light-border: #F4EDF4;
  --pin: #9D64C2;
  --active-pin: #64A6C2;
  --text: #656565;
  --title: #54456B;
  /*--bg-button: #aa1f22;*/
  --font: "proxima-nova", sans-serif;
  /*--font-text: 'PT Serif', serif;*/
  --font-text: "proxima-nova", sans-serif;
  --font-title: "proxima-nova", sans-serif;
  --status-text: dark;
  --status-background: #F1E9E9;
  --star: var(--primary);
  --max-content-width: 64rem;
}
body {
  opacity: 1;
}
.audio-button {
  background: var(--primary-background);
  color: white;
  border-radius: 1000px;
}
.audio-player {
  background: none;
}
.audio-transcript-button {
  /*background: #F2EAEA;*/
  -webkit-box-shadow: 0 0 6px #FFFFFF4D;
          box-shadow: 0 0 6px #FFFFFF4D;
  /*border-radius: 1000px;*/
}
.bg-light {
  background-color: var(--bg-light);
}
.card {
  border-radius: 32px;
  -webkit-box-shadow: 0 0 40px rgba(0,0,0,.1);
          box-shadow: 0 0 40px rgba(0,0,0,.1);
  margin-bottom: 2rem;
  background: var(--bg-raised);
}
.card-button {
  /*transform:  translateY(2.75rem);*/
  margin-bottom: -1.5rem;
  width: 90%;
  max-width: 12rem;
  margin-left: auto;
  margin-right: auto;
}

.card-image {
  border-radius: 26px 26px 0 0;
}
.card-promo-image {
  border-radius: 26px 26px 0 0;
}
.carousel {
  background: var(--primary-background)
}
.content-width {
  max-width: var(--max-content-width);
}
.channel-acronym {
  background: var(--secondary);
  color: white;
}
.choice {
  border-radius: 17px;
}
.bold, strong {
  font-weight: bold;
}
.button {
  border: none;
}
:root .button-active {
  border: none;
  background: #B593AF;
  border-radius: 1000px;
}
.button-action {
  color: var(--primary-text);
}
.button-bold {
  border: 4px solid;
}
.button-primary, .button-secondary {
  background: var(--primary-background);
  border: 5px solid white;
  line-height: 2;
  color: white;
  border-radius: 1000px;
}
.button-light {
  background: var(--bg-light);
  -webkit-box-shadow: 0 0 6px #FFFFFF4D;
          box-shadow: 0 0 6px #FFFFFF4D;
  border-radius: 1000px;
}
.h5 {
  font-size: 14px;
}
.h6 {
  font-size: 14px;
}
.menu-item .h6 {
  font-size: 12px;
}
.image-empty {
  background-color: #77a3bf;
  background-image: url("../img/image-placeholder-ts.png");
}
.input {
  background: var(--bg-light);
  border-radius: 2rem;
  border: 1px solid var(--bg-light);
  -webkit-box-shadow: none;
          box-shadow: none;
}
.item {
  background-color: #EEE8EE;
  border-radius: 32px;
}
.menu {
  border-top: 0;
}
.menu-item {
  /*filter: invert(100%);*/
  color: #797979;
}
.menu-content {
  -webkit-box-shadow: 0 0 16px rgba(255,255,255,.5);
          box-shadow: 0 0 16px rgba(255,255,255,.5);
}
.menu-item-active {
  color: var(--primary);
}
.row:not(:last-of-type) {
  border-bottom: 1px solid white;
}
.row-bold:not(:last-of-type) {
  border-bottom: 1px solid #5b393a22;
}
.screen {
  background: var(--bg-low);
}
.screen-box {
  background: var(--bg-low);
}
.tabs {
  -webkit-box-shadow: 0 10px 10px #F1E8E8;
          box-shadow: 0 10px 10px #F1E8E8;
}
.title {
  font-weight: normal;
}
.tour-author {
  background: #F2EAEA;
  -webkit-box-shadow: 0 0 6px #FFFFFF4D;
          box-shadow: 0 0 6px #FFFFFF4D;
}
.tour-payment {
  border-color: #EED4D4;
  background-color: #fff;
}
.content-box {
  /*background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXcAAACNBAMAAAC+kCcGAAAAFVBMVEX6+Pjy6ur18PDz7Oz07u738vL49fUvZgrJAAACTklEQVR42tTUwU3EMBCF4b1kziA6eIoLQEsFhgpGOAVYGvdfAhMvJOLCgcPC/yoYf/rly91nqvXt3Mux67c93fb4wx4u9569r187X/B67jz/+di/Od5rxcr3dcXK91qx8ouElbdasfLmwsqbV6y8dQkr76pY+S5h5UPCyi8SVt4krLy5uPIurnyXsPJdwsqHhJVfJKy8SVh5c2HlzYWVty5h5buElQ8JKz8krLxJWHlzYeXNxZV3CSvfJax8SFj5kJza/PCGlTcXVt66534rf/1TeWtFWPnucypA+SilqDDlw3PQ5kfJQZu31tyhzVtLdmjz1nLU5qO1Qm0+0p3a/Ly93EZrfuTp1OY/bz/cSfK2RwNtft4ObX7eTm1+v53a/Gg5aPPzdmjz1nLQ5uft0ObnRwNtft5ObX6/ndp8tG2jNj8iT4c2P1pLeWbzFhEbtfkdHtq8RY7a/EhzavORozY/thy0+Q9q6ZgGQCiAYuD2dP6F8y8BGAga6qBpjuuqmt/7PWp+qJqfR3zVPLLmoWp+qJqHqvkhax5Z81950PyQNf+X98xD1TxUzQ9V80PWPKrmh6r5QdX8UDU/VM0PWfPImoeqeYia31A1P1TND1XzB1Xzg6p5qJp3qJrfoWp+h6r52d1OHZwAEAMxDMxLdeq1/ZdwJE0s5tyBEYM11DwwM5nmb3Mg0zxvuZHm32og0TyQa14n1jwQa16NNe8h1rxqqnmjzWuseT2n5hfMa83f7uvlk8xT8zvmqfn+/N/MU/M1X/M1X/M1X/M1f8d/Z2i5n4Bm5F8AAAAASUVORK5CYII=") no-repeat top left;*/
  background-size: 100% auto;
}
.promo-vote-button {
  background: #133984;
}
.password-input-wrapper {
  position: relative;
}
.password-input-wrapper svg {
  position: absolute;
  right: 1rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  cursor: pointer;
}
.fade-enter-active,
.fade-leave-active {
  -webkit-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
.content-width {
  max-width: 50rem;
  margin: 0 auto;
}

/* Audio visual player */
.av-thumb {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.av-container {
  border-radius: 1rem;
  overflow: hidden;
}

.av-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--primary-background);
}

.av-play-icon {
  display: block;
  width: 7rem;
  height: 7rem;
  padding: 2rem;
  border-radius: 100%;
  background: rgba(0,0,0,.7);
  position: absolute;
  top: 4rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.av-play-icon svg {
  position: absolute;
  inset: 1rem;
  width: 5rem;
  height: 5rem;
}

/* Fullscreen overlay styles */
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
}

/* Vue 2 transition classes for fullscreen */
.fullscreen-enter-active {
  -webkit-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fullscreen-leave-active {
  -webkit-transition: all 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  -o-transition: all 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: all 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

/* Enter transition - starting state */
.fullscreen-enter {
  opacity: 0;
  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
          transform: scale(0.8);
}

/* Enter transition - ending state */
.fullscreen-enter-to {
  opacity: 1;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

/* Leave transition - starting state */
.fullscreen-leave {
  opacity: 1;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

/* Leave transition - ending state */
.fullscreen-leave-to {
  opacity: 0;
  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
          transform: scale(0.8);
}

.fullscreen-content {
  width: 100%;
  height: 100%;
  position: relative;
}

.fullscreen-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.fullscreen-main-image {
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 0.5rem;
}

.fullscreen-content-overlay {
  position: relative;
  width: 100%;
  position: absolute;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 2rem 2rem 0 2rem;
  z-index: 2;
}

.fullscreen-close-btn {
  position: absolute;
  top: 0rem;
  right: 0rem;
  padding: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: white;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  z-index: 10;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.fullscreen-close-btn:hover {
  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
          transform: scale(0.8);
}

.fullscreen-play-area {
  text-align: center;
  color: white;
}

.fullscreen-title {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

.fullscreen-bottom-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2rem;
  background: rgba(138, 23, 151, 0.2);
  background: rgba(0, 83, 160, 0.2);
  background: rgba(256, 256, 256, 0.2);
  background: -o-linear-gradient(14deg,rgba(0,83,160,0.2) 0%,rgba(131,22,100,0.2) 100%);
  background: rgba(0, 0, 0, 0.7);
  background: linear-gradient(76deg,rgba(0,83,160,0.2) 0%,rgba(131,22,100,0.2) 100%);
  border: 1px solid rgb(255 255 255 / 5%);
  padding: 0.5rem 1rem;
  border-radius: 1rem 1rem 0 0;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.fullscreen-progress-container {
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.fullscreen-progress-bar {
  width: 100%;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0.25rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.fullscreen-control-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.fullscreen-control-btn {
  width:  2.5rem;
  height: 2.5rem;
  background: rgba(0, 0, 0, 0.1);
  color: white;
  border: none;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.fullscreen-control-btn:disabled {
  -webkit-transform: scale(1) !important;
      -ms-transform: scale(1) !important;
          transform: scale(1) !important;
}

/* Remove hover effects on touch devices */
@media (hover: none) {
  .fullscreen-control-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
  }
}

/* Add active state for touch feedback */
.fullscreen-control-btn:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.fullscreen-control-btn:disabled svg {
  fill: #515151;
}

/* Image transition styles */
.image-fade-enter-active {
  -webkit-transition: all 0.6s ease-out;
  -o-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}

.image-fade-leave-active {
  -webkit-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.image-fade-enter-from {
  opacity: 0;
  -webkit-transform: translateY(20px) scale(0.95);
      -ms-transform: translateY(20px) scale(0.95);
          transform: translateY(20px) scale(0.95);
}

.image-fade-enter-to {
  opacity: 1;
  -webkit-transform: translateY(0) scale(1);
      -ms-transform: translateY(0) scale(1);
          transform: translateY(0) scale(1);
}

.image-fade-leave-from {
  opacity: 1;
  -webkit-transform: translateY(0) scale(1);
      -ms-transform: translateY(0) scale(1);
          transform: translateY(0) scale(1);
}

.image-fade-leave-to {
  opacity: 0;
  -webkit-transform: translateY(-20px) scale(1.05);
      -ms-transform: translateY(-20px) scale(1.05);
          transform: translateY(-20px) scale(1.05);
}

/* OPTION 1: Slide from right (like a slideshow) */
/* Change transition name to: name="image-slide-right" */
.image-slide-right-enter-active {
  -webkit-transition: all 0.6s ease-out;
  -o-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}

.image-slide-right-leave-active {
  -webkit-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.image-slide-right-enter {
  opacity: 0;
  -webkit-transform: translateX(100px);
      -ms-transform: translateX(100px);
          transform: translateX(100px);
}

.image-slide-right-enter-to {
  opacity: 1;
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
}

.image-slide-right-leave {
  opacity: 1;
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
}

.image-slide-right-leave-to {
  opacity: 0;
  -webkit-transform: translateX(-100px);
      -ms-transform: translateX(-100px);
          transform: translateX(-100px);
}

.image-slide-up-enter-active {
  -webkit-transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-slide-up-leave-active {
  -webkit-transition: all 0.4s ease-in;
  -o-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}

.image-slide-up-enter {
  opacity: 0;
  -webkit-transform: translateY(50px) scale(0.95);
      -ms-transform: translateY(50px) scale(0.95);
          transform: translateY(50px) scale(0.95);
}

.image-slide-up-enter-to {
  opacity: 1;
  -webkit-transform: translateY(0) scale(1);
      -ms-transform: translateY(0) scale(1);
          transform: translateY(0) scale(1);
}

.image-slide-up-leave {
  opacity: 1;
  -webkit-transform: translateY(0) scale(1);
      -ms-transform: translateY(0) scale(1);
          transform: translateY(0) scale(1);
}

.image-slide-up-leave-to {
  opacity: 0;
  -webkit-transform: translateY(-30px) scale(1.05);
      -ms-transform: translateY(-30px) scale(1.05);
          transform: translateY(-30px) scale(1.05);
}

/* zoom and fade in */

.image-slide-enter-active {
  -webkit-transition: all 0.7s ease-out;
  -o-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
}

.image-slide-leave-active {
  -webkit-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

/* Vue 2 uses 'enter' not 'enter-from' */
.image-slide-enter {
  opacity: 0;
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}

.image-slide-enter-to {
  opacity: 1;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

/* Vue 2 uses 'leave' not 'leave-from' */
.image-slide-leave {
  opacity: 1;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

.image-slide-leave-to {
  opacity: 0;
  -webkit-transform: scale(0.95);
      -ms-transform: scale(0.95);
          transform: scale(0.95);
}


/* Responsive design */
@media (max-width: 768px) {
  .fullscreen-content-overlay {
    padding: 1rem;
    padding-bottom: 0;
  }
  
  .fullscreen-play-btn {
    width: 6rem;
    height: 6rem;
  }
  
  .fullscreen-title {
    font-size: 1.5rem;
  }
  
  .fullscreen-bottom-controls {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1rem;
  }
  
  .fullscreen-control-buttons {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

/* Enhanced Progress Bar Styles */

.fullscreen-progress-container {
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  position: relative;
}

.fullscreen-progress-bar-wrapper {
  width: 100%;
  position: relative;
  cursor: pointer;
  padding: 0.5rem 0 0 0;
}

.fullscreen-progress-bar {
  width: 100%;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.25rem;
  overflow: visible;
  position: relative;
}

/* Timestamp sections (chapters) */
.timestamp-section {
  position: absolute;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0.25rem;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.timestamp-section:hover {
  background: rgba(255, 255, 255, 0.6);
}

.timestamp-section.active {
  background: rgba(103, 126, 234, 0.3);
  border-right-color: #667eea;
}

.section-progress-fill {
  height: 100%;
  background: var(--light-border);
  background: var(--primary-background);
  border-radius: 0.25rem;
  -webkit-transition: width 0.1s ease;
  -o-transition: width 0.1s ease;
  transition: width 0.1s ease;
}

/* Progress handle/scrubber */
.progress-handle {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
      -ms-transform: translateY(-50%) translateX(-50%);
          transform: translateY(-50%) translateX(-50%);
  width: 1rem;
  height: 1rem;
  background: var(--light-border);
  background: var(--primary-background);
  border-radius: 50%;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  z-index: 3;
}

.fullscreen-progress-bar-wrapper:hover .progress-handle {
  -webkit-transform: translateY(-50%) translateX(-50%) scale(1.2);
      -ms-transform: translateY(-50%) translateX(-50%) scale(1.2);
          transform: translateY(-50%) translateX(-50%) scale(1.2);
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Timestamp markers */
.timestamp-markers {
  position: relative;
  width: 100%;
  height: 2rem;
}

.timestamp-marker {
  position: absolute;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  z-index: 2;
}

.timestamp-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  margin-bottom: 0.25rem;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.timestamp-marker:hover .timestamp-dot {
  background: #667eea;
  -webkit-transform: scale(1.3);
      -ms-transform: scale(1.3);
          transform: scale(1.3);
}


/* Remove hover effects on touch devices */
@media (hover: none) {
  .timestamp-marker:hover .timestamp-dot {
    background: rgba(255, 255, 255, 0.6);
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
  }
}

/* Add active state for touch feedback */
  .timestamp-marker:active .timestamp-dot {
    background: #667eea;
    -webkit-transform: scale(1.3);
        -ms-transform: scale(1.3);
            transform: scale(1.3);
  }

.timestamp-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  opacity: 0;
  -webkit-transform: translateY(0.5rem);
      -ms-transform: translateY(0.5rem);
          transform: translateY(0.5rem);
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  pointer-events: none;
}

.timestamp-marker:hover .timestamp-label {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

/* Hover preview */
.progress-preview {
  position: absolute;
  bottom: 100%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  margin-bottom: 1rem;
  z-index: 10;
  pointer-events: none;
}

.preview-tooltip {
  background: rgba(0, 0, 0, 0.9);
  border-radius: 0.5rem;
  padding: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-thumbnail {
  width: 120px;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.25rem;
}

.preview-time {
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Time info styling */
.fullscreen-time-info {
  position: relative;
  width: 100%;
  color: white;
  font-size: 0.875rem;
  margin-top: 1rem;
  font-weight: 500;
}

.fullscreen-time-info-content {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fullscreen-progress-bar {
    height: 0.50rem;
  }
  
  .progress-handle {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .preview-thumbnail {
    width: 100px;
    height: 60px;
  }
  
  .timestamp-label {
    font-size: 0.7rem;
  }
  
  /*.timestamp-section:hover {
    -webkit-transform: scaleY(1.5);
        -ms-transform: scaleY(1.5);
            transform: scaleY(1.5);
  }*/
}

/* Touch device optimizations */
@media (hover: none) {
  .timestamp-label {
    opacity: 1;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  
  .progress-handle {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .timestamp-dot {
    width: 0.75rem;
    height: 0.75rem;
  }
}

/* Enhanced progress handle for dragging */
.progress-handle {
  /* ... your existing styles ... */
  cursor: -webkit-grab;
  cursor: grab;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.progress-handle:hover {
  -webkit-transform: translateY(-50%) translateX(-50%) scale(1.2);
      -ms-transform: translateY(-50%) translateX(-50%) scale(1.2);
          transform: translateY(-50%) translateX(-50%) scale(1.2);
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.progress-handle:active,
.progress-handle.dragging {
  cursor: -webkit-grabbing;
  cursor: grabbing;
  -webkit-transform: translateY(-50%) translateX(-50%) scale(1.3);
      -ms-transform: translateY(-50%) translateX(-50%) scale(1.3);
          transform: translateY(-50%) translateX(-50%) scale(1.3);
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

/* Disable transitions during drag for smoother experience */
.progress-handle.dragging {
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

/* Prevent text selection during drag */
.fullscreen-progress-bar-wrapper.dragging {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Enhanced visual feedback */
.progress-handle.dragging + .timestamp-section {
  opacity: 0.7;
}

/* Touch device optimizations */
@media (hover: none) {
  .progress-handle {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer; /* grab cursor doesn't work well on touch */
  }
  
  .progress-handle:active {
    -webkit-transform: translateY(-50%) translateX(-50%) scale(1.4);
        -ms-transform: translateY(-50%) translateX(-50%) scale(1.4);
            transform: translateY(-50%) translateX(-50%) scale(1.4);
  }
}