html, 
body{
  margin:0;
  padding:0;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

body{
  overflow-x:hidden;
  background:#f3f3f3;
  color:#111;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

button,
input,
textarea,
select{
  font-family:inherit;
}

/* ================= HEADER ================= */

#header.header_logo_main{
  position:fixed;
  top:0;
  right:0;
  left:0;
  z-index:9999;

  height:60px;

  background:#050505;
  border-bottom:1px solid rgba(255,255,255,.08);
}

#header.header_logo_main .top{
  display:flex;
  align-items:center;

  height:60px;
  padding:0 14px;

  background:#050505!important;
}

#header.header_logo_main .top.row{
  margin:0;
}

#header.header_logo_main .top.row > *{
  padding:0;
}

#header.header_logo_main .col-12.flex.d-flex{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:16px;

  width:100%;
  height:60px;
}

/* ================= LOGO ================= */

#header.header_logo_main a.logo{
  display:flex;
  flex:0 0 auto;
  align-items:center;

  width:95px;
  min-width:95px;
  height:26px;
  min-height:26px;

  margin-left:8px;
  padding:0;

  overflow:visible;
  line-height:0;
  text-decoration:none;
}

#header.header_logo_main a.logo img.febspot-logo{
  display:block;
  flex:0 0 auto;

  width:95px;
  min-width:95px;
  max-width:none;

  height:26px;
  max-height:none;

  object-fit:contain;
  object-position:left center;

  pointer-events:none;
  user-select:none;
  -webkit-user-select:none;
  -webkit-user-drag:none;
}

/* ================= SEARCH ================= */

#header.header_logo_main .header-search{
  display:flex;
  flex:1;
  align-items:center;

  min-width:0;
  margin-left:12px;
}

#header.header_logo_main .header-search input{
  width:100%;
  max-width:360px;
  height:36px;

  padding:0 14px;

  color:#fff;
  font-size:16px;

  background:transparent;
  border:0;
  border-radius:0;
  outline:0;
  box-shadow:none;
}

#header.header_logo_main .header-search input::placeholder{
  color:rgba(255,255,255,.78);
}

/* ================= LOGIN ================= */

#header.header_logo_main .header-login{
  flex:0 0 auto;

  margin-right:10px;
  margin-left:12px;

  color:#fff;
  font-size:22px;
  line-height:1;
  text-decoration:none;

  opacity:.9;
}

#header.header_logo_main .header-login:hover{
  opacity:.72;
}

/* ================= PAGE ================= */

.video-page{
  min-height:100vh;
  padding-top:60px;
  background:#f3f3f3;
}

.video-stage{
  position:relative;

  width:100%;
  margin:0;
  padding:22px 16px 0;

  background:#f3f3f3;
}

.video-player-card{
  position:relative;

  width:100%;
  max-width:1180px;

  margin:0 auto;
  padding:0;

  overflow:visible;

  background:transparent;
  border:0;
  line-height:0;
}

/* ================= PLAYER BASE ================= */

.fs-player{
  position:relative;
  display:block;
  isolation:isolate;

  width:min(1100px,calc(100vw - 32px));
  max-width:100%;

  margin:0 auto;
  padding:0;

  overflow:hidden;

  aspect-ratio:16 / 9;

  background:transparent;
  border-radius:14px;

  user-select:none;
  -webkit-user-select:none;
  -webkit-tap-highlight-color:transparent;
}

.fs-player video{
  display:block;

  width:100%;
  height:100%;

  max-width:100%;
  max-height:100%;

  margin:0;
  padding:0;

  object-fit:contain;
  object-position:center;

  background:transparent;
  border:0;
  border-radius:inherit;
}

/* ================= VIDEO ORIENTATION ================= */

.fs-player.fs-video-landscape{
  width:min(1100px,calc(100vw - 32px));
  height:auto;
  max-height:calc(100vh - 110px);

  aspect-ratio:var(--fs-video-ratio,16 / 9);
}

.fs-player.fs-video-square{
  width:min(760px,calc(100vw - 32px));
  height:auto;
  max-height:calc(100vh - 110px);

  aspect-ratio:var(--fs-video-ratio,1 / 1);
}

.fs-player.fs-video-portrait{
  width:auto;
  height:min(calc(100vh - 110px),900px);

  min-height:520px;
  max-width:calc(100vw - 32px);
  max-height:900px;

  aspect-ratio:var(--fs-video-ratio,9 / 16);
}

.fs-player.fs-video-landscape video,
.fs-player.fs-video-square video,
.fs-player.fs-video-portrait video{
  object-fit:contain;
  object-position:center;
}

@supports(height:100svh){
  .fs-player.fs-video-landscape,
  .fs-player.fs-video-square{
    max-height:calc(100svh - 110px);
  }

  .fs-player.fs-video-portrait{
    height:min(calc(100svh - 110px),900px);
  }
}

/* ================= PLAY BUTTON ================= */

.fs-play-center{
  display:none!important;
}

.fs-start-layer{
  position:absolute;
  inset:0;
  z-index:30;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:inherit;
  background:transparent;

  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}

.fs-start-layer.fs-start-layer-hidden{
  display:none;
}

.fs-start-button{
  display:flex;
  align-items:center;
  justify-content:center;

  width:68px;
  height:68px;

  margin:0;
  padding:0;

  color:#fff;

  appearance:none;
  -webkit-appearance:none;

  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;

  cursor:pointer;

  filter:drop-shadow(0 3px 8px rgba(0,0,0,.65));
  transition:transform .15s ease;
}

.fs-start-button:hover{
  transform:scale(1.07);
}

.fs-start-button:active{
  transform:scale(.94);
}

.fs-start-button:focus,
.fs-start-button:focus-visible{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

.fs-start-button svg{
  display:block;

  width:58px;
  height:58px;

  fill:#fff;
  transform:translateX(4px);
}

/* ================= LEGACY CUSTOM CONTROLS ================= */

.fs-video-ui{
  position:absolute;
  inset:0;
  z-index:20;

  pointer-events:none;
}

.fs-video-ui > *{
  pointer-events:auto;
}

.fs-controls{
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  z-index:21;

  display:flex;
  flex-direction:column;
  gap:8px;

  padding:12px 20px 14px;

  background:linear-gradient(
    to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,.4),
    transparent
  );
}

.fs-controls-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.fs-control-btn{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;

  width:38px;
  height:38px;
  padding:0;

  color:#fff;

  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);

  cursor:pointer;
}

.fs-control-btn svg{
  display:block;
  width:18px;
  height:18px;
  fill:currentColor;
}

.fs-icon-play,
.fs-icon-pause{
  display:flex;
  align-items:center;
  justify-content:center;
}

.fs-icon-pause{
  display:none;
}

.fs-controls.is-playing .fs-icon-play{
  display:none;
}

.fs-controls.is-playing .fs-icon-pause{
  display:flex;
}

.fs-time{
  margin-left:auto;

  color:#fff;
  font-size:13px;
  line-height:1;
  white-space:nowrap;
}

.fs-progress{
  position:relative;

  width:100%;
  height:4px;

  overflow:hidden;

  background:rgba(255,255,255,.25);
  cursor:pointer;
}

.fs-progress-fill{
  position:absolute;
  top:0;
  left:0;

  width:0;
  height:100%;

  background:#f00;
}

/* ================= VIDEO CONTENT ================= */

.video-shell{
  max-width:1100px;
  margin:0 auto;
  padding:18px 20px 36px;
}

.video-title{
  margin:10px 0 8px;

  color:#0f172a;
  font-size:22px;
  font-weight:700;
  line-height:1.15;
}

.video-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;

  padding-bottom:12px;

  border-bottom:1px solid #ddd;
}

.video-author{
  color:#555;
  font-size:14px;
}

.video-author-link{
  color:#111;
  font-weight:700;
  text-decoration:none;
}

.video-author-link:hover{
  text-decoration:underline;
}

.video-dot{
  color:#888;
}

.video-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;

  margin-left:auto;
}

.video-stats{
  color:#222;
  font-size:14px;
}

.action-btn{
  padding:8px 14px;

  color:#fff;
  font-size:13px;

  background:#111;
  border:0;

  cursor:pointer;
}

/* ================= DESCRIPTION ================= */

.video-description-wrap{
  margin:16px 0 20px;
}

.video-description{
  margin-top:14px;
  padding:18px;

  color:#1f2937;
  font-size:15px;
  line-height:1.65;

  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;

  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.video-description a.desc-link{
  display:inline-flex;
  align-items:center;
  gap:6px;

  max-width:100%;
  margin:2px 0;
  padding:5px 10px;

  color:#0f62fe;
  font-weight:600;
  text-decoration:none;
  vertical-align:baseline;

  background:#f8fafc;
  border:1px solid #dbe3ee;
  border-radius:999px;

  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

.video-description a.desc-link::before{
  content:"🔗";
  font-size:13px;
  line-height:1;
}

.video-description a.desc-link:hover{
  color:#0043ce;

  background:#e8f1ff;
  border-color:#bcd7ff;

  transform:translateY(-1px);
}

/* ================= LATEST VIDEOS ================= */

.section-title{
  margin:16px 0 8px;

  color:#666;
  font-size:14px;
  font-weight:600;
}

.latest-videos__list{
  margin:0;
  padding:0;

  list-style:none;
}

.latest-videos__item{
  display:flex;
  align-items:flex-start;
  gap:12px;

  margin-bottom:14px;
  padding:5px 0;
}

.latest-videos__article{
  display:block;
  width:100%;
}

.latest-videos__thumb{
  flex:0 0 120px;
  text-decoration:none;
}

.latest-videos__thumb img{
  display:block;

  width:120px;
  height:68px;

  object-fit:cover;
  border-radius:8px;
}

.latest-videos__info{
  flex:1;
  min-width:0;
}

.latest-videos__title{
  display:-webkit-box;
  margin:0;

  overflow:hidden;

  color:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  text-decoration:none;

  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.latest-videos__title a,
.latest-videos__item a{
  color:#222;
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  text-decoration:none;
}

.latest-videos__title:hover,
.latest-videos__title a:hover,
.latest-videos__item a:hover{
  color:#f00;
  text-decoration:underline;
}

.latest-videos__meta{
  display:none!important;
}

.preview__image-wrapper,
.preview__image{
  display:none!important;
}

/* ================= AD BLOCK ================= */

.video-ad-flat{
  display:flex;
  justify-content:center;
  margin:10px 0;
}

.ad-box{
  display:flex;
  flex-direction:column;
  align-items:center;

  margin:24px auto 32px;
}

.ad-label{
  display:inline-block;

  margin-bottom:10px;
  padding:4px 12px;

  color:#fff;
  font-size:10px;
  font-weight:700;
  line-height:1;
  letter-spacing:.8px;
  text-transform:uppercase;

  background:#2563eb;
  border-radius:999px;
}

.ad-card{
  display:flex;
  align-items:center;
  justify-content:center;

  width:324px;
  min-height:274px;
  padding:12px;

  overflow:hidden;

  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;

  box-shadow:
    0 10px 30px rgba(0,0,0,.12),
    0 0 18px rgba(37,99,235,.08);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.ad-card:hover{
  transform:translateY(-2px);

  box-shadow:
    0 18px 40px rgba(0,0,0,.18),
    0 0 24px rgba(37,99,235,.14);
}

.ad-card iframe{
  display:block;
  overflow:hidden;

  border:0;
  border-radius:12px;
}

/* ================= FOOTER ================= */

.f-menu{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;

  padding:8px 12px;

  font-size:12px;
  font-weight:400;
}

.f-menu a{
  color:#666;
  text-decoration:none;
}

.f-menu a:hover{
  color:#444;
}

.footer-copyright{
  color:#666;
  font-size:12px;
}

/* ================= TABLET ================= */

@media (min-width:641px) and (max-width:900px){
  .video-stage{
    padding:18px 12px 0;
  }

  .fs-player{
    border-radius:12px;
  }

  .fs-player.fs-video-landscape{
    width:calc(100vw - 24px);
    max-height:calc(100vh - 96px);
  }

  .fs-player.fs-video-square{
    width:min(680px,calc(100vw - 24px));
    max-height:calc(100vh - 96px);
  }

  .fs-player.fs-video-portrait{
    height:min(calc(100vh - 96px),820px);

    min-height:480px;
    max-width:calc(100vw - 24px);
  }

  @supports(height:100svh){
    .fs-player.fs-video-landscape,
    .fs-player.fs-video-square{
      max-height:calc(100svh - 96px);
    }

    .fs-player.fs-video-portrait{
      height:min(calc(100svh - 96px),820px);
    }
  }
}

/* ================= MOBILE ================= */

@media(max-width:640px){
  #header.header_logo_main,
  #header.header_logo_main .top,
  #header.header_logo_main .col-12.flex.d-flex{
    height:58px;
  }

  #header.header_logo_main .top{
    padding:0 10px;
  }

  #header.header_logo_main .col-12.flex.d-flex{
    gap:10px;
  }

  #header.header_logo_main a.logo{
    width:86px;
    min-width:86px;
    height:24px;
    min-height:24px;

    margin-left:4px;
  }

  #header.header_logo_main a.logo img.febspot-logo{
    width:86px;
    min-width:86px;
    height:24px;
  }

  #header.header_logo_main .header-search{
    display:none;
  }

  #header.header_logo_main .header-login{
    margin-right:6px;
    margin-left:auto;
  }

  .video-page{
    padding-top:58px;
  }

  .video-stage{
    padding:0;
  }

  .video-player-card{
    width:100%;
    max-width:none;
    margin:0;

    overflow:visible;
  }

  .fs-player,
  .fs-player.fs-video-landscape,
  .fs-player.fs-video-square,
  .fs-player.fs-video-portrait{
    max-width:none;
    margin:0;

    border-radius:0;
  }

  .fs-player{
    width:100%;
  }

  /*
   * Vertical video fills the mobile screen.
   * The image can be cropped slightly because cover is used.
   */

  .fs-player.fs-video-portrait{
    width:100%;
    height:calc(100vh - 72px);

    min-height:420px;
    max-height:none;

    aspect-ratio:auto;
    background:#000;
  }

  .fs-player.fs-video-portrait video{
    width:100%;
    height:100%;

    max-width:none;
    max-height:none;

    object-fit:cover;
    object-position:center;

    background:#000;
    border-radius:0;
  }

  /*
   * Landscape and square videos remain fully visible.
   */

  .fs-player.fs-video-landscape{
    width:100%;
    height:auto;
    max-height:72vh;

    aspect-ratio:var(--fs-video-ratio,16 / 9);
  }

  .fs-player.fs-video-square{
    width:100%;
    height:auto;
    max-height:82vh;

    aspect-ratio:var(--fs-video-ratio,1 / 1);
  }

  .fs-player.fs-video-landscape video,
  .fs-player.fs-video-square video{
    width:100%;
    height:100%;

    object-fit:contain;
    object-position:center;

    border-radius:0;
  }

  @supports(height:100svh){
    .fs-player.fs-video-portrait{
      height:calc(100svh - 72px);
    }

    .fs-player.fs-video-landscape{
      max-height:72svh;
    }

    .fs-player.fs-video-square{
      max-height:82svh;
    }
  }

  .fs-start-layer{
    border-radius:0;
  }

  .fs-start-button{
    width:66px;
    height:66px;
  }

  .fs-start-button svg{
    width:56px;
    height:56px;
  }

  .video-shell{
    padding:16px 12px 24px;
  }

  .video-title{
    font-size:20px;
  }

  .video-actions{
    width:100%;
    margin-left:0;
    justify-content:space-between;
  }

  .fs-controls{
    padding:10px 12px 12px;
  }

  .fs-control-btn{
    width:36px;
    height:36px;
  }

  .fs-control-btn svg{
    width:17px;
    height:17px;
  }

  .fs-time{
    font-size:12px;
  }

  .section-title{
    font-size:13px;
  }

  .latest-videos__title,
  .latest-videos__title a,
  .latest-videos__item a{
    font-size:13px;
  }

  .video-description{
    padding:15px;
    font-size:14px;
    border-radius:14px;
  }

  .video-description a.desc-link{
    padding:4px 9px;
    font-size:13px;
  }
}

/* ================= SMALL MOBILE ================= */

@media(max-width:420px){
  #header.header_logo_main a.logo{
    width:82px;
    min-width:82px;
    height:23px;
    min-height:23px;
  }

  #header.header_logo_main a.logo img.febspot-logo{
    width:82px;
    min-width:82px;
    height:23px;
  }

  .latest-videos__thumb{
    flex-basis:108px;
  }

  .latest-videos__thumb img{
    width:108px;
    height:61px;
  }

  .ad-card{
    width:min(324px,calc(100vw - 24px));
  }
}

/* ================= PHONE LANDSCAPE ================= */

@media(max-height:500px) and (orientation:landscape){
  .fs-player.fs-video-landscape,
  .fs-player.fs-video-square,
  .fs-player.fs-video-portrait{
    width:auto;
    height:calc(100vh - 10px);

    min-height:0;
    max-width:100%;
    max-height:none;

    margin:0 auto;

    aspect-ratio:var(--fs-video-ratio,16 / 9);
    background:transparent;
    border-radius:0;
  }

  .fs-player.fs-video-landscape video,
  .fs-player.fs-video-square video,
  .fs-player.fs-video-portrait video{
    width:100%;
    height:100%;

    max-width:100%;
    max-height:100%;

    object-fit:contain;
    object-position:center;

    background:transparent;
    border-radius:0;
  }

  @supports(height:100svh){
    .fs-player.fs-video-landscape,
    .fs-player.fs-video-square,
    .fs-player.fs-video-portrait{
      height:calc(100svh - 10px);
    }
  }
}