/* MrNerdyVibes Twitch Landing Page Styles */

:root{
  --bg: #070712;
  --bg-soft: #0b1024;
  --panel: rgba(255, 255, 255, 0.1);
  --panel-strong: rgba(11, 16, 36, 0.86);
  --border: rgba(255, 255, 255, 0.14);
  --border-cyan: rgba(34, 211, 238, 0.28);
  --border-purple: rgba(168, 85, 247, 0.3);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --muted-soft: rgba(255, 255, 255, 0.45);
  --purple: #a855f7;
  --purple-light: #d8b4fe;
  --cyan: #22d3ee;
  --cyan-light: #a5f3fc;
  --yellow: #fef08a;
  --red: #f87171;
  --shadow-purple: 0 24px 80px rgba(88, 28, 135, 0.45);
  --shadow-cyan: 0 24px 80px rgba(8, 145, 178, 0.22);
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --max-width: 1280px;
}

.danger-button{
  background: #ff3b5c;
}

.announcement-card{
  width: 100%;
  max-width: 520px;
}

.announcement-card input, .announcement-card textarea{
  width: 100%;
  box-sizing: border-box;
}

.announcement-card textarea{
  min-height: 180px;
}

.admin-card.announcement-card{
  grid-column: 1 / -1;
}

.announcement-strip{
  margin: 24px auto;
  max-width: 1100px;
  border: 1px solid rgba(145, 70, 255, 0.35);
  border-radius: 18px;
  background: rgba(15, 15, 25, 0.85);
  overflow: hidden;
}

.announcement-strip-header{
  padding: 12px 18px;
  font-weight: 800;
  color: #fff;
  background: rgba(145, 70, 255, 0.25);
}

.announcement-scroll{
  overflow: hidden;
  white-space: nowrap;
}

.announcement-track{
  display: inline-flex;
  gap: 14px;
  padding: 14px;
  animation: announcementScroll 35s linear infinite;
}

.home-announcement-card{
  min-width: 280px;
  max-width: 280px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  white-space: normal;
}

.home-announcement-card h3{
  margin: 0 0 6px;
  font-size: 1rem;
}

.home-announcement-card p{
  margin: 0 0 8px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.home-announcement-card small{
  opacity: 0.6;
}

.announcement-track:hover{
  animation-play-state: paused;
}

@keyframes announcementScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.admin-card{
  background: rgba(15, 15, 25, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 28px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-card h2{
  font-size: 2rem;
  margin: 0;
}

.admin-card p{
  color: #b8b8c7;
  margin: 0;
}

.admin-card input, .admin-card textarea{
  width: 100%;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 12px;

  padding: 14px;
  color: white;

  font-size: 1rem;
}

.admin-card textarea{
  min-height: 140px;
  resize: vertical;
}

.admin-card button{
  width: fit-content;
}

.admin-card button{
  width: fit-content;

  background: linear-gradient(
    135deg,
    #9146FF,
    #A970FF
  );

  border: none;
  border-radius: 12px;

  padding: 14px 22px;

  color: white;
  font-weight: 700;
  font-size: 1rem;

  cursor: pointer;

  transition: 0.2s ease;
}

.admin-card button:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(145,70,255,0.35);
}

.setting-toggle{
  display: flex;
  align-items: center;
  gap: 12px;
}

.announcement-toggle{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-weight: 700;
  color: #fff;
}

.announcement-toggle input{
  width: 18px;
  height: 18px;
  accent-color: #9146FF;
}

.admin-page{
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
}

.admin-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-header h1{
  margin: 0;
  font-size: 36px;
}

.admin-header p{
  margin-top: 8px;
  opacity: 0.75;
}

.reports-stats{
  display: grid;
  grid-template-columns: repeat(2, 220px);
  gap: 18px;
  margin-bottom: 32px;
}

.report-actions{
  margin-top: 18px;
}

.close-report-btn{
  background: #e74c3c;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
}

.closed-label{
  color: #2ecc71;
  font-weight: bold;
}

.stat-card, .admin-report-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 22px;
}

.stat-card span{
  display: block;
  opacity: 0.75;
  margin-bottom: 8px;
}

.stat-card strong{
  font-size: 34px;
}

.reports-grid{
  display: grid;
  gap: 18px;
}

.admin-report-top{
  display: flex;
  align-items: center;
  gap: 14px;
}

.report-avatar{
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.report-message{
  margin-top: 18px;
  line-height: 1.6;
}

.report-meta{
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  opacity: 0.75;
  font-size: 14px;
}

.activity-side-card{
  max-height: 520px;
  overflow: hidden;
  min-width: 200px;
  grid-column:1;
}

.mod-live-layout{
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  align-items: start;
}

.activity-side-card, .chat-panel, .stream-player{
  min-height: 520px;
}

.stream-player{
  width: 100%;
  min-width: 0;
}

.activity-side-card{
  overflow: hidden;
}

.activity-feed{
  max-height: 430px;
  overflow-y: auto;
}


@media (max-width: 1200px) {
  .mod-live-layout{
    grid-template-columns: 1fr;
  }

  .stream-player{
    height: auto;
  }
}

*{
  box-sizing: border-box;
}

.activity-feed{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.activity-item{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.activity-item strong{
  display: block;
  color: white;
}

.activity-item span{
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  opacity: 0.55;
}

.stream-controls-card, .info-card{
  overflow: visible;
}

.category-wrapper{
  position: relative;
  z-index: 1000;
}

.category-results:empty{
  display: none;
}

.report-select{
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035)),
    #2f2a3f;

  color: white;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
}

.report-select:focus{
  outline: none;
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow:
    0 0 0 3px rgba(34, 211, 238, 0.12),
    0 0 28px rgba(34, 211, 238, 0.18);
}

.report-select option{
  background: #181423;
  color: white;
}

.category-results{
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;

  max-height: 280px;
  overflow-y: auto;

  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(8, 12, 26, 0.96);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.category-results::-webkit-scrollbar{
  width: 6px;
}

.category-results::-webkit-scrollbar-thumb{
  background: rgba(34, 211, 238, 0.45);
  border-radius: 999px;
}

.category-result{
  display: flex;
  align-items: center;
  gap: 14px;

  width: 100%;

  padding: 12px 14px;

  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      rgba(16, 23, 42, 0.96),
      rgba(8, 12, 26, 0.98)
    );

  backdrop-filter: blur(14px);

  color: white;

  cursor: pointer;

  transition:
    transform 140ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;

  text-align: left;
}

.category-result:hover{
  transform: translateY(-2px);

  border-color: rgba(34, 211, 238, 0.55);

  background:
    linear-gradient(
      180deg,
      rgba(18, 30, 52, 0.98),
      rgba(10, 18, 36, 0.98)
    );

  box-shadow:
    0 10px 30px rgba(34, 211, 238, 0.16),
    0 0 20px rgba(34, 211, 238, 0.10);
}

.category-result img{
  width: 44px;
  height: 60px;

  object-fit: cover;

  border-radius: 10px;

  border: 1px solid rgba(255,255,255,0.08);

  flex-shrink: 0;
}

.category-result span{
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.3;
}

.brand-icon img{
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(145, 70, 255, 0.6));
}

.mod-dashboard-layout{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.mod-main-content{
  min-width: 0;
}

.active-staff-sidebar{
  position: sticky;
  top: 24px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(8, 145, 178, 0.18);
}

.active-mods-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.active-mod-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(11, 16, 36, 0.72);
}

.active-mod-card img{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #22d3ee;
}

.active-mod-name{
  font-weight: 800;
}

.active-mod-username{
  font-size: 0.85rem;
  opacity: 0.6;
}

.active-mod-status{
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.8);
}

@media (max-width: 1100px) {
  .mod-dashboard-layout{
    grid-template-columns: 1fr;
  }

  .active-staff-sidebar{
    position: static;
  }
}

/* =========================
   REPORT FORM
========================= */

.report-form{
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.report-input, .report-textarea{
  width: 100%;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 1rem;
  font-family: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.report-input::placeholder, .report-textarea::placeholder{
  color: rgba(255, 255, 255, 0.4);
}

.report-input:focus, .report-textarea:focus{
  outline: none;
  border-color: rgba(34, 211, 238, 0.7);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 3px rgba(34, 211, 238, 0.12),
    0 0 28px rgba(34, 211, 238, 0.18);
}

.report-textarea{
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}

.report-submit-row{
  display: flex;
  justify-content: flex-end;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.35), transparent 35%),
    radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.24), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: Inter, Rajdhani, Orbitron, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: -1;
}

a{
  color: inherit;
  text-decoration: none;
}

img, iframe{
  max-width: 100%;
}

.page{
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 32px 0 40px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(216, 180, 254, 0.3);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.25);
  color: var(--cyan-light);
}

.brand-title{
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-subtitle{
  margin: 2px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.8);
}

.hero{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 80px 0;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-light);
  font-size: 0.92rem;
}

.hero-title{
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.gradient-text{
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--purple-light), var(--cyan-light), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy{
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.button-row{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover{
  transform: translateY(-2px);
}

.btn-primary{
  background: var(--cyan);
  color: #07111f;
  box-shadow: 0 14px 35px rgba(34, 211, 238, 0.22);
}

.btn-purple{
  background: var(--purple);
  color: white;
  box-shadow: 0 14px 35px rgba(168, 85, 247, 0.25);
}

.btn-ghost{
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.preview-frame, .stream-card, .info-card, .game-card{
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-purple);
}

.preview-frame{
  padding: 16px;
  border-radius: var(--radius-2xl);
}

.preview-screen{
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border-cyan);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(168, 85, 247, 0.08)),
    var(--bg-soft);
}

.preview-screen::before{
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 18px;
}

.live-dot, .live-pill::before{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.9);
  animation: pulse 1.4s infinite;
}

.live-label{
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fecaca;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preview-content{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.preview-content h2{
  margin: 16px 0 4px;
  font-size: 1.7rem;
}

.preview-content p{
  margin: 0;
  color: var(--muted-soft);
}

.section{
  padding: 48px 0;
}

.section-header{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-kicker{
  margin: 0 0 8px;
  color: var(--cyan-light);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.75rem;
}

.section-title{
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.live-pill{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.25);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
  font-size: 0.9rem;
}

.live-pill::before{
  content: "";
  display: block;
}

.stream-card{
  border-radius: var(--radius-2xl);
  padding: 20px;
  box-shadow: var(--shadow-cyan);
}

.stream-grid{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
}

.report-input, .report-textarea, .report-form select{
  width: 100%;
  background: #262b36;
  color: white;
  border-radius: 18px;
  padding: 16px 20px;
  font-size: 16px;
  outline: none;
}

.report-form select option{
  background: #262b36;
  color: white;
}

.stream-player{
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border-cyan);
  background: black;
}


.stream-player iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 24px;
}



.chat-panel{
  width: 420px;
  min-width: 420px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.chat-panel-mods{
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}


.chat-title{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--purple-light);
  font-weight: 800;
}

.stream-chat{
  width: 100%;
  height: 760px;
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.stream-chat iframe{
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  display: block;
  border-radius: 24px;
}

.embed-note{
  margin: 14px 0 0;
  color: var(--muted-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.embed-note span{
  color: var(--cyan-light);
}

.game-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.game-card, .info-card{
  border-radius: 28px;
  padding: 28px;
}

.card-icon{
  color: var(--cyan);
  margin-bottom: 16px;
}

.game-card h3, .info-card h3{
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
}

.game-card p, .info-card p{
  color: var(--muted-soft);
  line-height: 1.7;
}

.info-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.schedule-list{
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.schedule-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.schedule-day{
  color: var(--cyan-light);
  font-weight: 900;
}

.schedule-time{
  color: rgba(255, 255, 255, 0.76);
}

.social-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.footer{
  padding: 44px 0 12px;
  text-align: center;
  color: var(--muted-soft);
  font-size: 0.9rem;
}

.footer-highlight{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(254, 240, 138, 0.85);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.18);
  }
}

@media (max-width: 1100px) {
  .hero, .stream-grid, .info-grid{
    grid-template-columns: 1fr;
  }


  .game-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .page{
    width: min(100% - 24px, var(--max-width));
    padding-top: 18px;
  }

  .section-header{
    align-items: flex-start;
    flex-direction: column;
  }

  .hero{
    padding: 52px 0;
  }

  .button-row, .social-row{
    width: 100%;
  }

  .btn{
    width: 100%;
  }

  .game-grid{
    grid-template-columns: 1fr;
  }

  .live-pill{
    display: none;
  }

  .stream-card{
    padding: 10px;
  }

  .game-card, .info-card{
    padding: 22px;
  }

  .schedule-item{
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================
   MOD CHAT OVERRIDE / FIX
   Keeps Twitch mod chat tall enough so Twitch does not think it is obscured.
========================= */

.chat-panel-mods{
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  height: 700px;
  min-height: 700px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.chat-panel-mods .stream-chat{
  width: 100%;
  height: 700px !important;
  min-height: 700px !important;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.chat-panel-mods .stream-chat iframe, .chat-panel-mods iframe{
  width: 100% !important;
  height: 100% !important;
  min-height: 700px !important;
  display: block;
  border: 0;
  position: relative;
  z-index: 2;
}

.stream-player, .activity-side-card{
  position: relative;
  z-index: 1;
}

.chat-panel-mods{
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.chat-panel-mods .stream-chat{
  width: 100%;
  height: 700px !important;
  min-height: 700px !important;
  overflow: hidden;
}

.chat-panel-mods .stream-chat iframe{
  width: 100% !important;
  height: 700px !important;
  min-height: 700px !important;
  display: block;
  border: 0;
}

.chat-panel-mods{
  grid-column: 1 / -1;
  width: 100%;
  height: 700px;
  position: relative;
  overflow: visible;
  z-index: 10;
}

.twitch-chat-frame{
  width: 100%;
  height: 700px;
  display: block;
  border: 0;
  border-radius: 0 !important;
  position: relative;
  z-index: 20;
}

.stream-card-no-filter{
  backdrop-filter: none !important;
  overflow: visible !important;
}

.chat-panel-mods{
  margin-top: 28px;
  border-radius: 0;
  overflow: visible;
}

.chat-panel-mods iframe{
  width: 100%;
  height: 700px;
  display: block;
  border: 0;
  border-radius: 0 !important;
}

.live-embeds-row{
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  margin-bottom: 28px;
}

.stream-player{
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.stream-player iframe{
  width: 100%;
  height: 700px;
  border: 0;
  display: block;
}

.chat-panel-mods{
  width: 100%;
  overflow: hidden;
}

.chat-panel-mods iframe{
  width: 100%;
  height: 700px;
  border: 0;
  display: block;
}

@media (max-width: 1200px) {
  .live-embeds-row{
    grid-template-columns: 1fr;
  }

  .chat-panel-mods iframe, .stream-player iframe{
    height: 600px;
  }
}

.mod-live-layout{
  display: block;
}

.activity-side-card{
  width: 100%;
  max-width: none;
  min-height: 360px;
  margin-bottom: 28px;
}

.activity-feed{
  max-height: 300px;
  overflow-y: auto;
}

.stream-controls-card, .title-game-update, .info-card.stream-controls-card{
  width: 100%;
}

.mod-tools-layout{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.activity-side-card{
  width: 100%;
  min-height: 320px;
}

.mod-controls-card{
  width: 100%;
}

/* =========================
   PLAYER + CHAT LAYOUT
========================= */

.live-embeds-row{
  display: flex;
  gap: 24px;
  align-items: flex-start;

  width: 100%;

  margin-bottom: 28px;
}

.stream-player{
  flex: 1;

  min-width: 0;

  overflow: hidden;

  border-radius: 24px;
}

.preview-screen, .player-wrapper{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

#homepage-player{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.stream-player iframe{
  width: 100%;
  height: 700px;

  display: block;

  border: 0;
}

.chat-panel-mods{
  width: 420px;
  min-width: 420px;

  overflow: hidden;
}

.chat-panel-mods iframe{
  width: 100%;
  height: 700px;

  display: block;

  border: 0;
}

/* Responsive */

@media (max-width: 1200px){

  .live-embeds-row {
    flex-direction: column;
  }

  .chat-panel-mods {
    width: 100%;
    min-width: 0;
  }

}
  
  .viewer-directory-note{
  margin: 10px 0 28px;
  padding: 22px;

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(145,70,255,0.12),
      rgba(255,120,40,0.06)
    );

  border: 1px solid rgba(145,70,255,0.2);
}

.viewer-directory-note h3{
  margin: 0 0 10px;
  color: white;
}

.viewer-directory-note p{
  margin: 0 0 18px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

.viewer-home-card{
  position: relative;
}

.viewer-home-search{
  position: relative;
  margin: 18px 0 14px;
}

.viewer-home-search input{
  width: 100%;

  padding: 14px 16px;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);

  background: rgba(255,255,255,0.06);

  color: white;
  font-size: 16px;

  outline: none;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.viewer-home-search input:focus{
  border-color: rgba(145,70,255,0.8);

  background: rgba(255,255,255,0.08);
}

.viewer-suggestions{
  display: none;

  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;

  z-index: 50;

  overflow: hidden;

  border-radius: 18px;

  background: #18181b;

  border: 1px solid rgba(255,255,255,0.1);

  box-shadow:
    0 18px 50px rgba(0,0,0,0.45);
}

.viewer-suggestions.active{
  display: block;
}

.viewer-suggestion{
  width: 100%;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 14px;

  border: none;
  background: transparent;

  color: white;

  cursor: pointer;

  text-align: left;

  transition:
    background 0.15s ease;
}

.viewer-suggestion:hover{
  background: rgba(145,70,255,0.16);
}

.viewer-suggestion img{
  width: 42px;
  height: 42px;

  border-radius: 50%;
  object-fit: cover;

  border: 2px solid rgba(145,70,255,0.6);

  flex-shrink: 0;
}

.viewer-suggestion-info{
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.viewer-suggestion-info strong{
  font-size: 15px;
  color: white;
}

.viewer-suggestion-info span{
  font-size: 13px;
  color: rgba(255,255,255,0.58);
}

.viewer-suggestion.empty{
  padding: 14px;
  color: rgba(255,255,255,0.6);
  cursor: default;
}

.viewer-home-buttons{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

}