.twomey-network-wrap{
  max-width: 1240px;
}

.network-header{
  margin-bottom: 6px;
}

.network-brand{
  gap: 16px;
}

.network-nav{
  margin-bottom: 22px;
}

.nav-btn-disabled{
  opacity: .48;
  cursor: default;
  pointer-events: none;
}

.network-hero{
  background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.58));
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  overflow: hidden;
  margin-bottom: 26px;
}

.network-hero-inner{
  padding: 28px;
}

.network-kicker{
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #444;
}

.network-hero h1{
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.network-hero p{
  margin: 0;
  max-width: 760px;
  font-size: 1.04rem;
  line-height: 1.7;
  color: #2d2d2d;
}

.network-featured-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.network-row{
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.55));
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(0,0,0,.14);
  padding: 20px;
  margin-bottom: 22px;
}

.network-row-head{
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.network-row-head h2{
  margin: 0;
  font-size: 1.35rem;
}

.network-row-head p{
  margin: 6px 0 0;
  font-size: .94rem;
  color: #444;
}

.network-rail{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.network-card{
  scroll-snap-align: start;
}

.video-card-button{
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.52);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,.15);
  text-align: left;
  cursor: pointer;
}

.video-card-button:hover .network-thumb,
.video-card-button:focus-visible .network-thumb{
  transform: scale(1.03);
}

.video-card-button:focus-visible{
  outline: 3px solid rgba(0,0,0,.35);
  outline-offset: 3px;
}

.network-thumb-wrap{
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.network-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .22s ease;
}

.play-badge,
.type-badge{
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.78);
}

.play-badge{
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.type-badge{
  left: 12px;
  top: 12px;
  padding: 7px 11px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.network-copy{
  display: block;
  padding: 14px 14px 16px;
}

.network-title{
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.network-meta,
.network-desc{
  display: block;
  color: #474747;
}

.network-meta{
  margin-top: 6px;
  font-size: .9rem;
}

.network-desc{
  margin-top: 10px;
  font-size: .94rem;
  line-height: 1.55;
}

.hero-card .video-card-button{
  height: 100%;
}

.network-empty{
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.54));
  border: 1px dashed rgba(0,0,0,.18);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 26px rgba(0,0,0,.11);
}

.network-empty h2{
  margin: 0 0 10px;
}

.network-empty p{
  margin: 0;
  line-height: 1.7;
}

.video-modal[hidden]{
  display: none;
}

.video-modal{
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.video-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
}

.video-modal-panel{
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 28px));
  margin: 34px auto;
  background: #101114;
  color: #f2f2f2;
  border-radius: 20px;
  padding: 18px 18px 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.38);
}

.video-modal-panel h2{
  margin: 0 48px 14px 0;
  font-size: 1.05rem;
}

.video-modal-close{
  position: absolute;
  right: 12px;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.video-modal-frame-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.video-modal-frame-wrap iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.network-footer-note{
  margin: 24px 0 0;
  text-align: center;
  color: #222;
  font-size: .95rem;
}

@media (max-width: 980px){
  .network-featured-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px){
  .network-hero-inner,
  .network-row{
    padding: 18px;
  }

  .network-featured-grid{
    grid-template-columns: 1fr;
  }

  .network-rail{
    grid-auto-columns: minmax(240px, 270px);
  }

  .video-modal-panel{
    margin: 18px auto;
    width: min(1100px, calc(100% - 16px));
  }
}


.network-front-hero{
  margin-bottom: 22px;
}

.network-front-stats,
.channel-mini-stats{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.network-front-stat,
.channel-mini-stat{
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.network-front-stat strong,
.channel-mini-stat strong{
  display: block;
  margin-top: 4px;
  font-size: 1.4rem;
}

.network-front-stat-label,
.channel-mini-label{
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #4d4d4d;
}

.network-channel-band{
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.56));
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(0,0,0,.14);
  padding: 20px;
  margin-bottom: 22px;
}

.network-band-head h2,
.channel-hub-card h3{
  margin: 0;
}

.network-channel-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.channel-hub-card{
  min-height: 100%;
}

.channel-hub-link{
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.channel-hub-link:hover,
.channel-hub-link:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,.16);
  background: rgba(255,255,255,.7);
  outline: none;
}

.channel-hub-top{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-hub-top p{
  margin: 0;
  color: #444;
  line-height: 1.55;
  font-size: .95rem;
}

.channel-count{
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.channel-preview-thumb-wrap{
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.channel-preview-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.channel-preview-title,
.channel-preview-empty{
  display: block;
  font-weight: 600;
  line-height: 1.45;
}

.channel-preview-empty{
  padding: 18px 0 4px;
  color: #555;
}

.network-channel-row .network-row-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  background: rgba(0,0,0,.08);
}

.network-channel-row .network-row-link:hover,
.network-channel-row .network-row-link:focus-visible{
  background: rgba(0,0,0,.14);
  outline: none;
}

@media (max-width: 1120px){
  .network-channel-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px){
  .network-channel-band{
    padding: 18px;
  }

  .network-channel-grid{
    grid-template-columns: 1fr;
  }

  .network-row-head{
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
}


.module-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.module-grid-tight{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.module-card{
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
  padding: 18px;
}

.module-card-link{
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.module-card-link:hover,
.module-card-link:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,.16);
  background: rgba(255,255,255,.7);
}

.module-card h3,
.module-head h2{
  margin: 10px 0 8px;
}

.module-card p,
.module-head p{
  margin: 0;
  color: #3e3e3e;
  line-height: 1.6;
}

.module-tag,
.module-status{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.68);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.module-link-text{
  display:inline-block;
  margin-top: 14px;
  font-weight: 700;
}

.module-shell{
  display:grid;
  gap: 16px;
}

.module-head{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  align-items:flex-start;
}

.games-controls{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.games-controls button{
  appearance:none;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.75);
  color: #111;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.games-controls button:hover{ background: rgba(255,255,255,0.95); }

.games-hud{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.games-pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.62);
}

.games-note{
  margin: 0;
  font-size: 13px;
  color:#4b4b4b;
}

.game-stage{ position:relative; }
.game-canvas{
  display:block;
  width: 100%;
  max-width: 940px;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
  touch-action: none;
}

.game-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0,0,0,0.24);
  color: rgba(255,255,255,0.94);
  font-weight: 900;
  pointer-events:none;
  opacity: 1;
  transition: opacity .18s ease;
}
.game-overlay small{ display:block; margin-top:8px; font-weight:700; opacity:.86; }
.game-stage.active .game-overlay{ opacity: 0; }
.game-canvas:focus{ outline: 3px solid rgba(0,0,0,.25); outline-offset: 2px; }

html.no-scroll, body.no-scroll{ overflow:hidden; overscroll-behavior:none; }
#gameChomp{
  background:
    radial-gradient(1100px 520px at 50% 0%, rgba(255,110,25,.18), rgba(0,0,0,0)),
    radial-gradient(900px 480px at 10% 10%, rgba(110,150,255,.12), rgba(0,0,0,0)),
    linear-gradient(#050611, #070910 55%, #070910);
}
#gameInvaders{
  background:
    radial-gradient(1200px 520px at 50% 0%, rgba(255,100,20,.20), rgba(0,0,0,0)),
    radial-gradient(900px 480px at 10% 10%, rgba(110,150,255,.12), rgba(0,0,0,0)),
    linear-gradient(#050611, #070910 55%, #070910);
}
#gamePong{
  background:
    radial-gradient(1200px 520px at 50% 0%, rgba(110,150,255,.16), rgba(0,0,0,0)),
    radial-gradient(900px 480px at 10% 10%, rgba(255,110,25,.12), rgba(0,0,0,0)),
    linear-gradient(#050611, #070910 55%, #070910);
}

.ticker{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:9999;
  background:rgba(8,10,18,0.95);
  border-top:1px solid rgba(255,255,255,0.12);
  overflow:hidden;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ticker__track{ display:flex; width:max-content; animation:ticker-move 38s linear infinite; }
.ticker__content{ display:inline-flex; align-items:center; gap:18px; padding:12px 18px; white-space:nowrap; font-weight:800; font-size:14px; letter-spacing:.35px; }
.ticker__content a{ color:rgba(170,205,255,0.95); text-decoration:none; }
.ticker__content a:hover{ opacity:.7; }
.ticker__sep{ opacity:.35; }
@keyframes ticker-move{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
body{ padding-bottom: 64px; }

.shop-grid{ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.shop-card{ padding: 0; overflow:hidden; }
.shop-card-media{ aspect-ratio: 4 / 3; background:#f3f3f3; }
.shop-card-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.shop-card-copy{ padding: 16px; }
.shop-feature-shell{ display:flex; justify-content:center; }
.featured-slideshow{ display:flex; justify-content:center; align-items:center; min-height: 420px; }
.compact-empty h3{ margin:0 0 8px; }
.compact-empty p{ margin:0; }

@media (max-width: 720px){
  .module-head{ flex-direction:column; }
  .games-controls, .games-hud{ justify-content:flex-start; }
}

.network-front-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.front-action-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}

.front-action-btn-secondary{
  background:rgba(255,255,255,.62);
  color:#171717;
  border:1px solid rgba(0,0,0,.08);
}

.network-hub-row{
  padding-bottom:24px;
}

.channel-hub-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.channel-hub-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
  border-radius:18px;
  text-decoration:none;
  color:inherit;
  background:rgba(255,255,255,.56);
  box-shadow:0 12px 26px rgba(0,0,0,.12);
}

.channel-hub-card:hover .channel-hub-media img,
.channel-hub-card:focus-visible .channel-hub-media img{
  transform:scale(1.03);
}

.channel-hub-card:focus-visible{
  outline:3px solid rgba(0,0,0,.3);
  outline-offset:3px;
}

.channel-hub-media{
  aspect-ratio:16/9;
  background:#000;
  overflow:hidden;
}

.channel-hub-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .22s ease;
}

.channel-hub-copy{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px;
}

.channel-hub-copy h3{
  margin:0;
  font-size:1.1rem;
}

.channel-hub-copy p{
  margin:0;
  color:#414141;
  line-height:1.55;
}

.utility-card{
  justify-content:center;
  background:linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.56));
}

.module-link-text{
  font-weight:700;
}

.shop-feature-shell{
  display:flex;
  justify-content:center;
  padding-top:10px;
}

.shop-card-copy{
  min-height:140px;
}

@media (max-width: 980px){
  .channel-hub-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 720px){
  .network-front-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .channel-hub-grid{
    grid-template-columns:1fr;
  }
}
