<!-- start Simple Custom CSS and JS -->
<style type="text/css">
/* =========================================================
   TQM PLAYER CSS — STABLE LAYOUT (Overlay Anchored Correctly)
   Goal:
   - Video area sized correctly
   - Engine overlays (mute/fullscreen/logo) sit ON the video
   - Mobile + desktop both look premium
   ========================================================= */

:root{
  --tqm-radius: 26px;
  --tqm-gap: 16px;

  /* Overlay tuning */
  --tqm-ctrl-size: 44px;              /* hit area */
  --tqm-ctrl-font: 22px;              /* emoji/icon size */
  --tqm-ctrl-bg: rgba(0,0,0,.18);     /* transparent (no white box) */
  --tqm-ctrl-bg-hover: rgba(0,0,0,.28);
  --tqm-ctrl-shadow: 0 8px 24px rgba(0,0,0,.55);

  /* Underdogs logo overlay tuning */
  --tqm-logo-width: 150px;           /* desktop */
  --tqm-logo-opacity: .55;
}

/* Page bg */
body{
  margin:0;
  background:#000;
}

/* Page container */
.tqm-page{
  width: min(1100px, 96vw);
  margin: 0 auto;
  padding: 14px 0 30px;
}

/* ===== PLAYER WRAPPER (anchor for overlays) ===== */
.tqm-player-wrapper{
  position: relative;          /* REQUIRED */
  width: 100%;
  aspect-ratio: 16 / 9;
  background:#000;
  overflow:hidden;
  border-radius: var(--tqm-radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

/* Video fills wrapper */
#tqmVideo{
  width:100%;
  height:100%;
  display:block;
  object-fit: contain;
  background:#000;
}

/* Overlay root created by engine */
#tqm-overlay-root{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 50;
}

/* ===== 3 LOGO BUTTON ROW ===== */
.tqm-app-row{
  display:flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin: 18px 0 18px;
  position: relative;
}

/* Glow behind the 3 buttons (this is what you said is missing) */
.tqm-app-row::before{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: min(720px, 92vw);
  height: 140px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%,
    rgba(0,190,255,.35) 0%,
    rgba(0,190,255,.18) 35%,
    rgba(0,0,0,0) 70%
  );
  filter: blur(18px);
  opacity: .9;
  z-index: 0;
  pointer-events:none;
}

.tqm-app-btn{
  width: 160px;
  height: 80px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  overflow:hidden;
  position: relative;
  z-index: 1;

  /* extra glow on each button */
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 10px 30px rgba(0,0,0,.55),
    0 0 28px rgba(0,190,255,.18);
}

.tqm-app-btn img{
  width: 62px;
  height: 62px;
  object-fit: contain;
  display:block;
}

/* ===== BIG NAV BUTTONS ===== */
.tqm-links{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.tqm-link-btn{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: #fff;
  text-decoration:none;
  font-size: 18px;
  line-height: 1;
}

.tqm-link-btn:active{
  transform: scale(.99);
}

/* Icon bubble inside nav buttons */
.tqm-ic{
  width: 26px;
  height: 26px;
  display:inline-block;
  border-radius: 8px;
  background: rgba(255,255,255,.10);
}

/* === Use YOUR logo on the four bottom buttons (no emojis) === */
.tqm-link-btn .tqm-ic{
  font-size: 0 !important; /* kills emoji */
  background-image:url("https://topqualitymerchants.com/wp-content/uploads/2025/12/The-Underdogs-Network-Logo-512x512-1.png") !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: rgba(255,255,255,.06) !important;
}

/* ===== Bottom accent logo (not the player overlay logo) ===== */
.tqm-on-accent{
  display:flex;
  justify-content:center;
  margin-top: 18px;
}
.tqm-on-accent-img{
  width: 52vw;
  max-width: 160px;
  height:auto;
  opacity: .35;
}

/* ===== MOBILE ===== */
@media (max-width: 800px){
  :root{
    --tqm-ctrl-size: 42px;
    --tqm-ctrl-font: 21px;
    --tqm-ctrl-bg: rgba(0,0,0,.16);
    --tqm-logo-width: 120px;     /* make logo readable on mobile */
    --tqm-logo-opacity: .60;
  }

  .tqm-page{
    width: 94vw;
    padding-top: 10px;
  }
  .tqm-links{
    grid-template-columns: 1fr;
  }
  .tqm-app-btn{
    width: 110px;
    height: 70px;
  }
  .tqm-app-btn img{
    width: 52px;
    height: 52px;
  }
  .tqm-link-btn{
    font-size: 16px;
    padding: 15px 16px;
  }

  .tqm-app-row::before{
    height: 120px;
    filter: blur(16px);
    opacity: .95;
  }
}

/* ===== OPTIONAL: Mobile Landscape pseudo-fullscreen ===== */
.tqm-mobile-landscape .tqm-page{
  width: 100vw;
  margin:0;
  padding:0;
}
.tqm-mobile-landscape .tqm-player-wrapper{
  position: fixed;
  inset: 0;
  border-radius: 0;
  z-index: 999999;
}
.tqm-mobile-landscape #tqmVideo{
  object-fit: cover;
}

/* =====================================================
   TQM FINAL ALIGNMENT PATCH (DO NOT MOVE)
   ===================================================== */

/* Make sure wrapper anchors overlays */
#tqm-root .tqm-player-wrapper{
  position:relative !important;
  z-index:10;
}

/* Overlay layer sits ON VIDEO */
#tqm-root #tqm-overlay-root{
  position:absolute !important;
  inset:0 !important;
  z-index:999 !important;
  pointer-events:none !important;
}

/* Allow clicking buttons */
#tqm-root #tqm-overlay-root button,
#tqm-root #tqm-overlay-root a{
  pointer-events:auto !important;
}

/* ===== Overlay buttons: remove “white box” look ===== */
#tqm-root #tqm-mute-btn,
#tqm-root #tqm-fs-btn{
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  outline: none !important;

  width: var(--tqm-ctrl-size) !important;
  height: var(--tqm-ctrl-size) !important;
  padding: 0 !important;
  border-radius: 999px !important;

  background: var(--tqm-ctrl-bg) !important; /* transparent */
  color: #fff !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  font-size: var(--tqm-ctrl-font) !important;
  line-height: 1 !important;

  box-shadow: var(--tqm-ctrl-shadow) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#tqm-root #tqm-mute-btn:hover,
#tqm-root #tqm-fs-btn:hover{
  background: var(--tqm-ctrl-bg-hover) !important;
}

/* FULLSCREEN = TOP RIGHT (transparent) */
#tqm-root #tqm-fs-btn{
  position:absolute !important;
  top:12px !important;
  right:12px !important;
  left:auto !important;
  bottom:auto !important;
}

/* MUTE = BOTTOM LEFT (transparent) */
#tqm-root #tqm-mute-btn{
  position:absolute !important;
  left:12px !important;
  bottom:12px !important;
  top:auto !important;
  right:auto !important;
}

/* Transparent Underdogs Logo = BOTTOM RIGHT (visible but subtle) */
#tqm-root #tqm-logo{
  position:absolute !important;
  right:12px !important;
  bottom:12px !important;
  left:auto !important;
  top:auto !important;

  width: var(--tqm-logo-width) !important;
  height: auto !important;
  opacity: var(--tqm-logo-opacity) !important;

  filter: drop-shadow(0 8px 18px rgba(0,0,0,.55));
  pointer-events: none !important;
}

/* =====================================================
   ALSO REMOVE EMOJIS FROM "CARD" STYLE BUTTONS (if used)
   ===================================================== */
#tqm-root .tqm-card .tqm-ic{
  font-size:0 !important;
  width:22px !important;
  height:22px !important;
  display:inline-block !important;
  margin-right:10px !important;
  background:url("https://topqualitymerchants.com/wp-content/uploads/2025/12/The-Underdogs-Network-Logo-512x512-1.png") center/contain no-repeat !important;
}
/* ================================
   TUNE: Underdogs overlay logo
   - smaller
   - tighter to bottom-right corner
   ================================ */

/* Desktop + default */
:root{
  --tqm-logo-width: 110px;   /* was 150px */
}

/* Mobile Android: slightly smaller than desktop */
@media (max-width: 800px){
  :root{
    --tqm-logo-width: 92px;  /* was 120px */
  }
}

/* Push INTO the corner more (both web + mobile) */
#tqm-root #tqm-logo{
  right: 6px !important;     /* was 12px */
  bottom: 6px !important;    /* was 12px */
}
/* ================================
   FORCE: Glow behind 3 middle buttons
   Works for both layouts:
   - .tqm-app-row (new)
   - .tqm-hero-buttons (your snippet)
   ================================ */

.tqm-app-row,
.tqm-hero-buttons{
  position: relative !important;
}

.tqm-app-row::before,
.tqm-hero-buttons::before{
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width: min(720px, 92vw) !important;
  height: 140px !important;
  transform: translate(-50%, -50%) !important;
  background: radial-gradient(circle at 50% 50%,
    rgba(0,190,255,.38) 0%,
    rgba(0,190,255,.20) 35%,
    rgba(0,0,0,0) 70%
  ) !important;
  filter: blur(18px) !important;
  opacity: .95 !important;
  z-index: 0 !important;
  pointer-events:none !important;
}

/* Keep the buttons ABOVE the glow */
.tqm-app-btn,
.tqm-hero-buttons a,
.tqm-hero-buttons .tqm-btn{
  position: relative !important;
  z-index: 1 !important;
}
</style>
<!-- end Simple Custom CSS and JS -->
