body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background:#f4f6fb;
  color:#0b1220;
}

/* LOGIN */
.login-screen{
  display:flex;
  justify-content:center;
  align-items:center;
  height:100vh;
}

.login-box{
  background:white;
  padding:40px;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  display:flex;
  flex-direction:column;
  gap:10px;
  width:320px;
}

/* ADMIN LAYOUT */
.admin-layout{
  display:flex;
  height:100vh;
}

/* SIDEBAR */
.sidebar{
  width:260px;
  background:#0f172a;
  color:white;
  padding:20px;
  display:flex;
  flex-direction:column;
}

.logo{
  margin:0 0 16px 0;
  font-size:18px;
}

.sidebar ul{
  list-style:none;
  padding:0;
  margin:0;
}

.sidebar li{
  padding:12px 10px;
  opacity:0.85;
  cursor:pointer;
  border-radius:10px;
}

.sidebar li.active{
  opacity:1;
  background:rgba(255,255,255,0.08);
  font-weight:bold;
}

.sidebar-footer{
  margin-top:auto;
  padding-top:12px;
}

/* CONTENT */
.content{
  flex:1;
  padding:34px;
  overflow:auto;
}

.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
  gap:12px;
}

.subbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

input, select, textarea{
  border:1px solid #d8deea;
  border-radius:10px;
  padding:10px 12px;
  font-size:14px;
  outline:none;
  background:white;
}

textarea{
  resize:vertical;
}

.check{
  display:flex;
  align-items:center;
  gap:10px;
  user-select:none;
}

/* BUTTONS */
button{
  background:#2563eb;
  color:white;
  border:none;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
}

button.ghost{
  background:transparent;
  color:#2563eb;
  border:1px solid #cfe0ff;
}

button.danger{
  background:#ef4444;
}

button.success{
  background:#16a34a;
}

button.icon{
  padding:8px 10px;
  border-radius:10px;
  background:transparent;
  color:#0b1220;
  border:1px solid #e3e8f4;
}

button.small{
  padding:8px 10px;
  border-radius:10px;
}

/* CARD GRID */
.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:18px;
}

.quiz-card{
  background:white;
  padding:18px;
  border-radius:14px;
  box-shadow:0 6px 20px rgba(0,0,0,0.05);
  border:1px solid #eef2fb;
}

.quiz-card h3{
  margin:0 0 10px 0;
}

.card-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.clickable{
  cursor:pointer;
  transition:transform 0.08s ease, box-shadow 0.08s ease;
}
.clickable:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(0,0,0,0.07);
}

/* TABLE */
.table{
  background:white;
  border:1px solid #eef2fb;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

.table-row{
  display:grid;
  grid-template-columns: 1.4fr 0.9fr 0.6fr 0.7fr;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid #eef2fb;
  align-items:center;
}

.table-row.header{
  background:#f7f9ff;
  font-weight:700;
}

.table-row:last-child{
  border-bottom:none;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#f1f5ff;
  border:1px solid #e0e9ff;
  font-size:12px;
  font-weight:700;
}

.muted{
  opacity:0.75;
}

.row-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:wrap;
}

/* MODAL */
.modal{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.40);
  display:flex;
  justify-content:center;
  align-items:flex-start;      /* statt center */
  padding:18px;
  overflow:auto;               /* <-- wichtig: modal selbst scrollbar */
}

.modal-box{
  background:white;
  padding:22px;
  border-radius:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
  width:380px;
  box-shadow:0 18px 60px rgba(0,0,0,0.25);
  border:1px solid #eef2fb;
  max-height: calc(100vh - 36px); /* 18px padding oben/unten */
  overflow: auto;                 /* <-- wichtig: box scrollbar */
}

.modal-wide{
  width:min(920px, 96vw);
}

.modal-title-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.modal-buttons{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:6px;
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

.field label{
  display:block;
  font-weight:700;
  font-size:12px;
  margin-bottom:6px;
  opacity:0.85;
}

.hint{
  font-size:12px;
  opacity:0.7;
  margin-top:6px;
}

.span-2{
  grid-column: span 2;
}

/* HELPER */
.hidden{ display:none; }

/* =========================
   HOST
========================= */

.host-shell{
  display:flex;
  min-height:100vh;
  background:#f4f6fb;
}

.host-sidebar{
  width:320px;
  background:#0f172a;
  color:white;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.host-main{
  flex:1;
  padding:24px;
  overflow:auto;
}

.host-label{
  display:block;
  font-size:12px;
  opacity:.8;
  margin-bottom:8px;
}

.host-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:18px;
}

.timer-display-wrap{
  background:white;
  border:1px solid #eef2fb;
  border-radius:16px;
  padding:14px 18px;
  min-width:180px;
  text-align:center;
  box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

.timer-label{
  font-size:12px;
  opacity:.7;
  margin-bottom:6px;
}

.timer-display{
  font-size:42px;
  font-weight:800;
  letter-spacing:1px;
  line-height:1;
}

.host-controls{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.host-main-grid{
  display:grid;
  grid-template-columns: 300px minmax(0, 0.85fr) 420px;
  gap:18px;
  align-items:start;
  margin-top:18px;
}

.question-nav{
  max-height:65vh;
  overflow:auto;
}

.host-sidebar-panels{
  display:flex;
  flex-direction:column;
  gap:18px;
}

@media (max-width: 1180px){
  .host-shell{
    flex-direction:column;
  }

  .host-sidebar{
    width:auto;
  }

  .host-sidebar-panels{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
  }

  .host-main-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 760px){
  .host-main{
    padding:14px;
  }

  .host-topbar{
    flex-direction:column;
    align-items:stretch;
  }

  .timer-display-wrap{
    width:100%;
  }

  .timer-display{
    font-size:34px;
  }

  .host-sidebar-panels{
    grid-template-columns:1fr;
  }

  .host-controls{
    flex-direction:column;
  }

  .host-controls button{
    width:100%;
  }
}

/* =========================
   PLAYER / TEILNEHMER
========================= */

.player-app-shell{
  height:100vh;
  width:100%;
  background:#f5f3ee;
  color:#2f2f2f;
  display:flex;
  flex-direction:column;
  box-shadow:0 0 0 1px rgba(0,0,0,0.04);
  position:relative;
  overflow:hidden;
}


.player-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  background:linear-gradient(90deg,#242424,#353535);
  color:white;
  position:sticky;
  top:0;
  z-index:20;
}

.player-header-brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.player-logo{
  height:34px;
  width:auto;
  object-fit:contain;
  display:block;
}

.player-menu-btn{
  background:none;
  border:none;
  color:white;
  font-size:26px;
  line-height:1;
  padding:4px 8px;
  cursor:pointer;
}

.player-main{
  flex:1;
  min-height:0;
  padding:18px 18px 18px 18px;
  margin-bottom:82px;
  overflow:auto;
}

.player-tab{
  display:none;
}

.player-tab.active{
  display:block;
}

.player-hero-icon{
  width:68px;
  height:68px;
  border-radius:50%;
  background:#2f2f31;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  margin:18px auto 14px auto;
}

.player-title{
  text-align:center;
  margin:0;
  font-size:28px;
  font-weight:800;
  color:#1f2a3a;
}

.player-title.secondary{
  font-size:24px;
}

.player-subtitle{
  text-align:center;
  margin:8px 0 26px 0;
  color:#8b6b44;
  font-size:16px;
}

.player-card{
  background:#fbfaf8;
  border:1px solid #e8e1d8;
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
  margin-bottom:18px;
}

.player-thankyou-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:14px;
}

.player-thankyou-link{
  display:block;
  text-align:center;
  padding:12px 14px;
  border-radius:14px;
  background:#f4f0ea;
  border:1px solid #e0d7cb;
  font-weight:700;
  text-decoration:none;
  color:#2f2f2f;
  transition:all .15s ease;
}

.player-thankyou-link:hover{
  background:#eae4dc;
  transform:translateY(-1px);
}

.player-thankyou-hint{
  margin-top:12px;
  font-size:13px;
  color:#8f877c;
  text-align:center;
}

.player-live-layout{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.player-question-card-sticky{
  position:sticky;
  top:0;
  z-index:8;
  margin-bottom:0;
  background:#fbfaf8;
}

.player-answer-card-scroll{
  margin-bottom:0;
  margin-top:2px;
}

.player-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:16px;
}

.player-field label{
  font-size:14px;
  font-weight:700;
  color:#2f2f2f;
}

.player-field-hint{
  font-size:12px;
  color:#9a9388;
  margin-top:0px;
  margin-bottom:0px;
  line-height:1.1;
}

.player-field input{
  height:48px;
  border-radius:18px;
  border:1px solid #ddd3c7;
  background:#f4f0ea;
  padding:0 16px;
  font-size:16px;
  color:#2f2f2f;
}

.player-consent-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:12px;
  font-size:14px;
  line-height:1.5;
  color:#4e4e4e;
  cursor:pointer;
}

.player-consent-row input{
  width:18px;
  height:18px;
  margin-top:2px;
  flex:0 0 auto;
}

.player-consent-row span{
  display:block;
}

.player-consent-row a{
  color:#1f2a3a;
  font-weight:700;
  text-decoration:underline;
}

.player-consent-row a:hover{
  opacity:.8;
}

.player-primary-btn{
  width:100%;
  height:54px;
  border:none;
  border-radius:18px;
  background:#2f2f2f;
  color:white;
  font-size:20px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,0.08);
}

.player-info-box{
  margin-top:14px;
  padding:14px 16px;
  border-radius:14px;
  background:#eef4ff;
  border:1px solid #d8e5ff;
  color:#26436b;
}

.player-status-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#fff7d8;
  color:#7c5f00;
  font-weight:700;
  font-size:13px;
}

.player-status-badge-frei{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#d5fdce;
  color:#007c0a;
  font-weight:700;
  font-size:13px;
}

.player-question-title{
  font-size:24px;
  font-weight:800;
  color:#1f2a3a;
  margin-top:6px;
}

.player-pause-banner{
  background:#fff4d8;
  border:1px solid #f0db9a;
  color:#7b6300;
  padding:12px 14px;
  border-radius:14px;
  margin-bottom:14px;
  font-weight:700;
}

.player-presenting-bar{
  position:fixed;
  left:0;
  right:0;
  bottom:82px;
  z-index:24;
  display:flex;
  justify-content:center;
  pointer-events:none;
  padding:0 12px 4px 12px;
  background:transparent;
}

.player-presenting-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  background:transparent;
  opacity:0.92;
}

.player-presenting-label{
  font-size:18px;
  line-height:1;
  color:rgba(47,47,47,0.68);
  font-family:"Brush Script MT","Segoe Script","Lucida Handwriting",cursive;
  transform:translateX(-26px) rotate(-10deg);
  white-space:nowrap;
}

.player-presenting-logo{
  width:120px;
  max-width:42vw;
  height:auto;
  display:block;
  object-fit:contain;
  transform:translateX(18px);
  opacity:0.92;
}

.player-bottom-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:25;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  padding:8px 10px 10px 10px;
  background:#f5f3ee;
  border-top:1px solid #e3ddd3;
}

.player-nav-item{
  border:1px solid #ded7cb;
  background:#fbfaf8;
  border-radius:14px;
  padding:10px 6px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#454545;
  cursor:pointer;
}

.player-nav-item.active{
  border:2px solid #a7a19a;
  background:#f3efe7;
}

.player-nav-item span{
  font-size:18px;
  line-height:1;
}

.player-nav-item small{
  font-size:12px;
  font-weight:600;
}

.player-menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.28);
  z-index:60;
  display:flex;
  justify-content:flex-end;
}

.player-menu-panel{
  width:100%;
  min-height:100%;
  background:#f5f3ee;
  display:flex;
  flex-direction:column;
}

.player-menu-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 16px;
  background:linear-gradient(90deg,#242424,#353535);
  color:white;
}

.player-menu-top h2{
  margin:0;
  font-size:18px;
}

.player-menu-close{
  background:none;
  border:none;
  color:white;
  font-size:26px;
  cursor:pointer;
}

.player-menu-links{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.player-menu-link{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border:1px solid #ddd5ca;
  background:#ebe6dc;
  color:#2f2f2f;
  border-radius:18px;
  padding:16px 16px;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  overflow:hidden;
}

.player-menu-link > span:not(.player-menu-link-label){
  font-size:24px;
  color:#5e5e5e;
}

.player-menu-link-label{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  color:#2f2f2f;
  font-size:18px;
  font-weight:700;
}

.player-menu-link:visited{
  color:#2f2f2f;
}

.player-menu-link-icon{
  width:24px;
  height:24px;
  object-fit:contain;
  flex:0 0 auto;
}

.player-legal-box{
  margin-top:auto;
  padding:18px 14px 22px 14px;
  text-align:center;
}

.player-legal-links{
  display:flex;
  justify-content:center;
  gap:10px;
  color:#9a9a9a;
  font-weight:600;
  margin-bottom:14px;
}

.player-legal-links a{
  color:#9a9a9a;
  text-decoration:none;
  font-weight:600;
}

.player-legal-links a:hover{
  text-decoration:underline;
}

.player-legal-love{
  border:1px solid #ddddea;
  background:#f0f2f7;
  border-radius:16px;
  padding:16px 12px;
  color:#707070;
  line-height:1.5;
  font-weight:500;
}

.player-switcher{
  display:flex;
  background:#ece9e2;
  border-radius:18px;
  padding:4px;
  gap:4px;
  margin-bottom:22px;
}

.player-switch-btn{
  flex:1;
  height:46px;
  border:none;
  background:transparent;
  border-radius:14px;
  font-size:18px;
  font-weight:600;
  color:#6d6d6d;
  cursor:pointer;
}

.player-switch-btn.active{
  background:white;
  color:#2f2f2f;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.player-highscore-headline{
  text-align:center;
  margin-bottom:16px;
}

.player-highscore-headline h3{
  margin:0;
  font-size:28px;
  color:#1f2a3a;
}

.player-highscore-headline p{
  margin:6px 0 0 0;
  color:#7b7b7b;
}

.player-ranking-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.player-highscore-search-wrap{
  margin:0 0 16px 0;
}

.player-highscore-search{
  width:100%;
  box-sizing:border-box;
  height:48px;
  border-radius:16px;
  border:1px solid #ddd3c7;
  background:#f4f0ea;
  padding:0 16px;
  font-size:16px;
  color:#2f2f2f;
}

.player-highscore-search::placeholder{
  color:#8a8a8a;
}

/* Ranking Cards */

.player-rank-card{
  border-radius:18px;
  padding:16px 16px;
  background:#fbfaf8;
  border:1px solid #e2ddd5;
  box-shadow:0 6px 16px rgba(0,0,0,0.05);
  display:grid;
  grid-template-columns:52px 1fr auto auto;
  gap:14px;
  align-items:center;
}

.player-rank-badge{
  width:52px;
  height:52px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:22px;
  background:#f0f0f0;
  color:#5c5c5c;
}

.player-rank-main{
  min-width:0;
}

.player-rank-name{
  font-size:18px;
  font-weight:800;
  color:#2f2f2f;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.player-rank-sub{
  font-size:14px;
  color:#7d7d7d;
  margin-top:2px;
}

.player-rank-points{
  text-align:right;
  min-width:76px;
}

.player-rank-points strong{
  display:block;
  font-size:22px;
  color:#2f2f2f;
}

.player-rank-points span{
  display:block;
  font-size:13px;
  color:#7d7d7d;
}

.player-rank-delta{
  min-width:42px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.player-rank-delta-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:900;
  line-height:1;
}

.player-rank-delta{
  gap:4px;
}

.player-rank-delta-value{
  font-size:16px;
  font-weight:400;
  line-height:1;
  opacity: 0.8
}

.player-rank-delta.up .player-rank-delta-value{
  color:#16a34a;
}

.player-rank-delta.down .player-rank-delta-value{
  color:#dc2626;
}

.player-rank-delta.same .player-rank-delta-value{
  color:#9b9b9b;
}

.player-rank-delta.up .player-rank-delta-icon{
  color:#16a34a;
}

.player-rank-delta.down .player-rank-delta-icon{
  color:#dc2626;
}

.player-rank-delta.same .player-rank-delta-icon{
  color:#9b9b9b;
}

/* Top 3 */

.player-rank-card.rank-1{
  border:2px solid #f2c500;
  background:linear-gradient(180deg,#fff8d6,#fffdf4);
}

.player-rank-card.rank-1 .player-rank-badge{
  background:#f2c500;
  color:white;
}

.player-rank-card.rank-2{
  border:2px solid #b9bcc4;
  background:linear-gradient(180deg,#f7f8fa,#ffffff);
}

.player-rank-card.rank-2 .player-rank-badge{
  background:#b9bcc4;
  color:white;
}

.player-rank-card.rank-3{
  border:2px solid #d4832d;
  background:linear-gradient(180deg,#fff1df,#ffffff);
}

.player-rank-card.rank-3 .player-rank-badge{
  background:#d4832d;
  color:white;
}

.hidden{
  display:none !important;
}

.player-answer-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  width:100%;
}

.player-answer-image{
  width:100%;
  max-height:180px;
  object-fit:contain;
  border-radius:0;
  display:block;
  border:none;
  background:transparent;
}

.player-answer-text{
  width:100%;
  line-height:1.35;
  font-size:16px;
  font-weight:700;
  text-align:left;
}

.player-vote-label .player-answer-content{
  align-items:flex-start;
}

.player-answer-btn,
.player-buzz-btn{
  width:100%;
  border:1px solid #ddd3c7;
  background:#f8f4ed;
  color:#2f2f2f;
  border-radius:16px;
  padding:14px 16px;
  font-size:16px;
  font-weight:700;
  margin-bottom:10px;
  text-align:left;
  cursor:pointer;
}

.player-answer-btn:disabled,
.player-buzz-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.player-buzz-btn{
  text-align:center;
  font-size:24px;
  background:#2f2f31;
  color:white;
}

.player-live-input{
  display:block;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  height:50px;
  border-radius:16px;
  border:1px solid #ddd3c7;
  background:#f4f0ea;
  padding:0 16px;
  font-size:16px;
}

.player-live-input.correct{
  background:#e7f7ec;
  color:#156a2f;
  border-color:#49b36c;
}

.player-live-input.wrong{
  background:#fdeaea;
  color:#a12626;
  border-color:#d65b5b;
}

.player-multi-box{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.player-check-row{
  display:flex;
  align-items:center;
  gap:12px;
  background:#f8f4ed;
  border:1px solid #ddd3c7;
  border-radius:16px;
  padding:14px 16px;
}

/* Host Sidebar Cards: Text sichtbar machen */
.host-sidebar .quiz-card,
.host-sidebar .quiz-card h3,
.host-sidebar .quiz-card label,
.host-sidebar .quiz-card .muted,
.host-sidebar .quiz-card .table,
.host-sidebar .quiz-card .table-row,
.host-sidebar .quiz-card b,
.host-sidebar .quiz-card span,
.host-sidebar .quiz-card div{
  color:#1f2937;
}

.host-sidebar .quiz-card .muted{
  color:#6b7280;
}

.host-sidebar .quiz-card .table{
  background:#ffffff;
}

.host-sidebar .quiz-card .table-row{
  background:#ffffff;
}

.player-answer-btn.selected,
.player-check-row.selected,
.player-buzz-btn.selected{
  background:#3a3f46;
  color:white;
  border-color:#3a3f46;
}

.player-answer-btn.correct,
.player-check-row.correct,
.player-buzz-btn.correct{
  background:#e7f7ec;
  color:#156a2f;
  border-color:#49b36c;
}

.player-answer-btn.wrong,
.player-check-row.wrong,
.player-buzz-btn.wrong{
  background:#fdeaea;
  color:#a12626;
  border-color:#d65b5b;
}

.host-response-row{
  padding:0;
  border-bottom:none;
  background:transparent;
}

.host-response-card{
  width:100%;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px 16px;
}

.host-response-team{
  font-size:18px;
  font-weight:800;
  color:#1f2937;
  margin-bottom:6px;
}

.host-response-answer{
  font-size:16px;
  color:#4b5563;
  line-height:1.4;
  word-break:break-word;
}

.player-countdown-wrap{
  width:100%;
  height:12px;
  border-radius:999px;
  background:#e7e1d8;
  overflow:hidden;
  margin:4px 0 14px 0;
}

.player-countdown-bar{
  height:100%;
  width:100%;
  background:linear-gradient(90deg,#2f2f31,#55595f);
  border-radius:999px;
  transition:width 0.2s linear;
}

.player-media-frame{
  width:100%;
  margin:0 0 16px 0;
  border-radius:18px;
  overflow:hidden;
  background:transparent;
  border:none;
}

.player-media-embed{
  display:block;
  width:100%;
  max-height:300px;
  height:auto;
  background:transparent;
  border:0;
}

img.player-media-embed,
video.player-media-embed{
  object-fit:contain;
}

.player-audio-frame{
  padding:16px;
  background:#f4f0ea;
}

.host-team-input{
  display:block;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin-top:10px;
  height:46px;
  border-radius:12px;
  border:1px solid #d6dde7;
  background:#ffffff;
  padding:0 14px;
  font-size:16px;
  color:#1f2937;
}

.player-sort-known{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:14px;
}

.player-sort-card{
  border:1px solid #ddd3c7;
  background:#f8f4ed;
  border-radius:16px;
  padding:14px 16px;
  font-size:16px;
  font-weight:700;
  color:#2f2f2f;
}

.player-sort-card.anchor{
  background:#eef4ff;
  border-color:#cfe0ff;
  color:#26436b;
}

.player-sort-current{
  margin-bottom:14px;
}

.player-sort-current .player-sort-card{
  background:#3a3f46;
  color:white;
  border-color:#3a3f46;
}

.player-sort-positions{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.player-sort-position-btn{
  width:100%;
  border:1px dashed #b8aea1;
  background:#fffaf2;
  color:#5d5347;
  border-radius:14px;
  padding:10px 12px;
  font-size:14px;
  font-weight:700;
  text-align:center;
}

.player-sort-position-btn:disabled{
  opacity:.55;
}

.player-sort-result{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  font-weight:700;
}

.player-sort-result.correct{
  background:#e7f7ec;
  color:#156a2f;
  border:1px solid #49b36c;
}

.player-sort-result.wrong{
  background:#fdeaea;
  color:#a12626;
  border:1px solid #d65b5b;
}

.player-sort-card.current{
  position:relative;
  background:#3a3f46;
  color:white;
  border-color:#3a3f46;
  padding:14px 62px 14px 16px;
}

.player-sort-current-controls{
  position:absolute;
  top:8px;
  right:8px;
  display:flex;
  gap:6px;
  margin:0;
}

.player-sort-move-btn{
  width:28px;
  height:28px;
  border:none;
  border-radius:8px;
  background:rgba(255,255,255,0.10);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.player-sort-move-btn:disabled{
  opacity:.35;
}

.player-sort-move-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  line-height:1;
  font-size:20px;
  font-weight:900;
}

.player-sort-current-label{
  font-size:16px;
  font-weight:700;
  line-height:1.35;
}

.player-sort-gap{
  height:8px;
}

.player-vote-remaining{
  margin-bottom:12px;
  padding:10px 12px;
  border-radius:14px;
  background:#eef4ff;
  border:1px solid #d8e5ff;
  color:#26436b;
  font-weight:700;
}

.player-vote-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border:1px solid #ddd3c7;
  background:#f8f4ed;
  border-radius:16px;
  padding:14px 16px;
  margin-bottom:10px;
}

.player-vote-row.correct{
  background:#e7f7ec;
  border-color:#49b36c;
  color:#156a2f;
}

.player-vote-row.selected{
  background:#fdeaea;
  border-color:#e05656;
  color:#a11f1f;
}

.player-vote-label{
  flex:1;
  font-size:16px;
  font-weight:700;
  line-height:1.35;
}

.player-vote-controls{
  display:flex;
  align-items:center;
  gap:8px;
}

.player-vote-btn{
  width:34px;
  height:34px;
  border:none;
  border-radius:10px;
  background:#2f2f31;
  color:white;
  font-size:20px;
  font-weight:800;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:0;
  line-height:1;
}

.player-vote-btn:disabled{
  opacity:.35;
}

.player-vote-count{
  min-width:28px;
  text-align:center;
  font-size:18px;
  font-weight:800;
}

.player-buzz-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  padding:10px 0 4px 0;
}

.player-buzz-btn-3d{
  position:relative;
  width:min(82vw, 340px);
  height:min(82vw, 340px);
  border:none;
  background:transparent;
  padding:0;
  cursor:pointer;
}

.player-buzz-btn-3d:disabled{
  cursor:default;
}

.player-buzz-shadow{
  position:absolute;
  left:20px;
  right:20px;
  bottom:16px;
  height:24px;
  border-radius:50%;
  background:rgba(0,0,0,0.20);
  filter:blur(6px);
}

.player-buzz-base{
  position:absolute;
  left:32px;
  right:32px;
  bottom:26px;
  height:64px;
  border-radius:999px;
  background:linear-gradient(180deg,#8a8a8a,#4f4f4f);
  box-shadow:inset 0 4px 8px rgba(255,255,255,0.25);
}

.player-buzz-top{
  position:absolute;
  left:10px;
  right:10px;
  top:18px;
  bottom:46px;
  border-radius:50%;
  background:
    radial-gradient(circle at 35% 30%, #ff8f8f 0%, #ff4c4c 38%, #d51e1e 70%, #971010 100%);
  border:6px solid #b51212;
  box-shadow:
    inset 0 10px 18px rgba(255,255,255,0.28),
    inset 0 -12px 18px rgba(0,0,0,0.20),
    0 12px 18px rgba(0,0,0,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  transform:translateY(0);
  transition:transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.player-buzz-btn-3d:hover .player-buzz-top{
  filter:brightness(1.03);
}

.player-buzz-btn-3d:active .player-buzz-top,
.player-buzz-btn-3d.pressed .player-buzz-top{
  transform:translateY(10px);
  box-shadow:
    inset 0 6px 12px rgba(255,255,255,0.18),
    inset 0 -8px 14px rgba(0,0,0,0.24),
    0 4px 8px rgba(0,0,0,0.16);
}

.player-buzz-label{
  color:white;
  font-size:28px;
  font-weight:900;
  letter-spacing:0.5px;
  text-shadow:0 2px 4px rgba(0,0,0,0.30);
}

.player-buzz-result{
  width:100%;
  box-sizing:border-box;
  padding:14px 16px;
  border-radius:16px;
  background:#eef4ff;
  border:1px solid #d8e5ff;
  color:#26436b;
  font-weight:700;
  text-align:center;
}

.player-buzz-result.winner{
  background:#e7f7ec;
  border-color:#49b36c;
  color:#156a2f;
}

.host-buzz-winner{
  border-color:#49b36c;
  background:#e7f7ec;
}

.player-sort-card.current.correct{
  background:#e7f7ec !important;
  color:#156a2f !important;
  border-color:#49b36c !important;
}

.player-sort-card.current.wrong{
  background:#fdeaea !important;
  color:#a12626 !important;
  border-color:#d65b5b !important;
}

.ranking-team-name{
  min-width:0;
  overflow:hidden;
}

.ranking-team-name b{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ranking-team-points{
  white-space:nowrap;
  text-align:center;
  font-weight:700;
}

.ranking-row-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  min-width:108px;
}

.ranking-row-actions .small{
  width:50px;
  min-width:50px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* =========================
   SCREEN / PRÄSENTATION
========================= */

.screen-body{
  margin:0;
  background:#f5f3ee;
  color:#2f2f2f;
  overflow:hidden;
}

.screen-stage{
  width:100vw;
  height:100vh;
  display:grid;
  grid-template-columns:minmax(0, 1fr) 490px;
  gap:24px;
  padding:24px;
  box-sizing:border-box;
  overflow:hidden;
}

.screen-main-area{
  min-width:0;
  min-height:0;
  overflow:hidden;
}

.screen-ranking-sidebar{
  min-width:0;
  min-height:0;
  background:#fbfaf8;
  border:1px solid #e2ddd5;
  border-radius:24px;
  padding:20px;
  box-sizing:border-box;
  box-shadow:0 10px 24px rgba(0,0,0,0.06);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.screen-ranking-header h2{
  margin:0 0 14px 0;
  font-size:28px;
  color:#1f2a3a;
}

.screen-ranking-list{
  min-height:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.screen-rank-card{
  border-radius:18px;
  padding:12px 14px;
  background:#fbfaf8;
  border:1px solid #e2ddd5;
  box-shadow:0 6px 16px rgba(0,0,0,0.05);
  display:grid;
  grid-template-columns:50px minmax(0,1fr) 64px 34px;
  gap:8px;
  align-items:center;
  min-height:88px;
  box-sizing:border-box;
}

.screen-rank-main{
  flex:1;
  min-width:0;
}

.screen-rank-name{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:normal;
  line-height:1.08;
  max-height:2.16em;
  word-break:break-word;
}

.screen-rank-score{
  min-width:60px;
  text-align:right;
}

.screen-rank-delta{
  min-width:0;
  width:40px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:0px;
}

.screen-rank-badge{
  width:52px;
  height:52px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:22px;
  background:#f0f0f0;
  color:#5c5c5c;
}

.screen-rank-main{
  min-width:0;
}

.screen-rank-name{
  font-size:20px;
  font-weight:800;
  color:#2f2f2f;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:normal;
  line-height:1.08;
  max-height:2.16em;
  word-break:break-word;
}

.screen-rank-name-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:0;
}

.screen-rank-delta{
  flex:0 0 auto;
  width:40px;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.screen-rank-delta-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:500;
  line-height:1;
}

.screen-rank-delta{
  gap:3px;
}

.screen-rank-delta-value{
  font-size:18px;
  font-weight:400;
  line-height:1;
  opacity: 0.8
}

.screen-rank-delta.up .screen-rank-delta-value{
  color:#16a34a;
}

.screen-rank-delta.down .screen-rank-delta-value{
  color:#dc2626;
}

.screen-rank-delta.same .screen-rank-delta-value{
  color:#9b9b9b;
}

.screen-rank-delta.up .screen-rank-delta-icon{
  color:#16a34a;
}

.screen-rank-delta.down .screen-rank-delta-icon{
  color:#dc2626;
}

.screen-rank-delta.same .screen-rank-delta-icon{
  color:#9b9b9b;
}

.screen-rank-score{
  text-align:right;
  min-width:0;
  width:64px;
  font-size:0;
  background:transparent;
  border-radius:0;
  padding:0;
  color:#2f2f2f;
  font-weight:400;
  justify-self:end;
}

.screen-rank-score::before{
  content: attr(data-points);
  display:block;
  font-size:24px;
  font-weight:800;
  color:#2f2f2f;
  line-height:1.05;
}

.screen-rank-score::after{
  content:"Punkte";
  display:block;
  font-size:13px;
  color:#7d7d7d;
  line-height:1.1;
  margin-top:2px;
}

/* Top 3 – ruhiger wie beim Player */

.screen-rank-card.rank-1{
  border:2px solid #f2c500;
  background:linear-gradient(180deg,#fff8d6,#fffdf4);
}

.screen-rank-card.rank-1 .screen-rank-badge{
  background:#f2c500;
  color:white;
}

.screen-rank-card.rank-2{
  border:2px solid #b9bcc4;
  background:linear-gradient(180deg,#f7f8fa,#ffffff);
}

.screen-rank-card.rank-2 .screen-rank-badge{
  background:#b9bcc4;
  color:white;
}

.screen-rank-card.rank-3{
  border:2px solid #d4832d;
  background:linear-gradient(180deg,#fff1df,#ffffff);
}

.screen-rank-card.rank-3 .screen-rank-badge{
  background:#d4832d;
  color:white;
}

.screen-view.hidden{
  display:none !important;
}

.screen-view{
  width:100%;
  height:100%;
  overflow:hidden;
}

.screen-center-stack{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:28px;
}

.screen-brand-logo{
  width:220px;
  max-width:22vw;
  height:auto;
  object-fit:contain;
}

.screen-center-stack-lobby{
  gap:18px;
  justify-content:flex-start;
  padding-top:20px;
}

.screen-brand-logo-lobby{
  margin-top:0;
}

.screen-jackpot-box{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:24px;
  margin-top:-6px;
}

.screen-jackpot-logo{
  width:180px;
  max-width:18vw;
  height:auto;
  object-fit:contain;
}

.screen-jackpot-value{
  font-size:52px;
  line-height:1;
  font-weight:900;
  color:#ce9d42;
  text-shadow:0 8px 18px rgba(215,138,59,0.18);
  white-space:nowrap;
}

.screen-hero-card{
  width:min(100%, 980px);
  min-height:220px;
  background:#fbfaf8;
  border:1px solid #e3ddd3;
  border-radius:28px;
  padding:28px;
  box-sizing:border-box;
  box-shadow:0 14px 28px rgba(0,0,0,0.08);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:14px;
}

.screen-hero-label{
  font-size:26px;
  color:#7b7b7b;
  font-weight:700;
}

.screen-hero-timer{
  font-size:112px;
  line-height:1;
  font-weight:900;
  color:#2f2f2f;
}

.screen-pause-title,
.screen-end-title{
  font-size:52px;
  line-height:1.1;
  font-weight:900;
  text-align:center;
  color:#1f2a3a;
}

.screen-lobby-grid{
  width:min(100%, 980px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.screen-info-card{
  background:#fbfaf8;
  border:1px solid #e3ddd3;
  border-radius:24px;
  padding:24px;
  box-sizing:border-box;
  box-shadow:0 12px 24px rgba(0,0,0,0.08);
  min-height:280px;
}

.screen-info-card h3{
  margin:0 0 14px 0;
  font-size:30px;
  color:#1f2a3a;
}

.screen-qr-image{
  width:220px;
  max-width:100%;
  display:block;
  margin:14px auto 0 auto;
}

.screen-help-steps{
  margin:0;
  padding-left:24px;
  font-size:24px;
  line-height:1.6;
}

.screen-game-headerbar{
  height:88px;
  border-radius:22px;
  background:linear-gradient(90deg,#232323,#363636);
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  padding:0 26px;
  margin-bottom:22px;
  box-shadow:0 12px 26px rgba(0,0,0,0.18);
}

.screen-game-header-logo{
  height:70px;
  width:auto;
  object-fit:contain;
  display:block;
  margin:auto;
}

.screen-game-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:20px;
}

.screen-meta-pill{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  height:46px;
  padding:0 18px;
  border-radius:999px;
  background:#f5f1ea;
  color:#1f2a3a;
  font-size:24px;
  font-weight:800;
  border:1px solid rgba(0,0,0,0.08);
}

.screen-question-timer{
  justify-self:end;
  width:74px;
  height:74px;
  border-radius:50%;
  border:5px solid rgba(255,255,255,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  font-weight:900;
  background:white;
  color:#1f2a3a;
  box-shadow:0 10px 22px rgba(0,0,0,0.25);
}

.screen-game-content{
  height:calc(100% - 116px);
  display:grid;
  grid-template-rows:auto minmax(0, 1fr);
  gap:18px;
  overflow:hidden;
  min-height:0;
  position:relative;
  padding-bottom:26px;
  box-sizing:border-box;
}

.screen-question-shell{
  background:#fbfaf8;
  border:1px solid #e3ddd3;
  border-radius:28px;
  padding:34px 40px;
  box-sizing:border-box;
  box-shadow:0 14px 28px rgba(0,0,0,0.08);
}

.screen-question-text{
  font-size:54px;
  line-height:1.12;
  font-weight:900;
  color:#2f2f2f;
  text-align:center;
}

.screen-question-media{
  margin-top:18px;
}

.screen-media-frame{
  width:100%;
  border-radius:24px;
  overflow:hidden;
  background:transparent;
  border:none;
}

.screen-media-embed{
  display:block;
  width:100%;
  max-height:300px;
  object-fit:contain;
  background:transparent;
}

.screen-answer-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px 14px;
  align-content:stretch;
  align-items:stretch;
  justify-items:stretch;
  overflow:hidden;
  min-height:0;
  height:100%;
  position:relative;
  overflow:visible;
  padding-top:14px;
  padding-bottom:14px;
}

/* Antwortoptionen – immer möglichst flächig */
.screen-answer-grid[data-mode="options"][data-count="1"]{
  grid-template-columns:1fr;
  grid-template-rows:1fr;
}

.screen-answer-grid[data-mode="options"][data-count="2"]{
  grid-template-columns:1fr;
  grid-template-rows:1fr 1fr;
}

.screen-answer-grid[data-mode="options"][data-count="3"]{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-template-rows:repeat(2, 1fr);
}

.screen-answer-grid[data-mode="options"][data-count="4"]{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-template-rows:repeat(2, 1fr);
}

.screen-answer-grid[data-mode="options"][data-count="5"],
.screen-answer-grid[data-mode="options"][data-count="6"]{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  grid-template-rows:repeat(2, 1fr);
}

/* Team-Kacheln – möglichst groß, aber alles sichtbar */
.screen-answer-grid[data-mode="teams"][data-count="1"]{
  grid-template-columns:1fr;
  grid-template-rows:1fr;
}

.screen-answer-grid[data-mode="teams"][data-count="2"]{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-template-rows:1fr;
}

.screen-answer-grid[data-mode="teams"][data-count="3"]{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  grid-template-rows:1fr;
}

.screen-answer-grid[data-mode="teams"][data-count="4"]{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-template-rows:repeat(2, 1fr);
}

.screen-answer-grid[data-mode="teams"][data-count="5"],
.screen-answer-grid[data-mode="teams"][data-count="6"]{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  grid-template-rows:repeat(2, 1fr);
}

.screen-answer-grid[data-mode="teams"][data-count="7"],
.screen-answer-grid[data-mode="teams"][data-count="8"],
.screen-answer-grid[data-mode="teams"][data-count="9"]{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  grid-template-rows:repeat(3, 1fr);
}

.screen-answer-grid[data-mode="teams"][data-count="10"],
.screen-answer-grid[data-mode="teams"][data-count="11"],
.screen-answer-grid[data-mode="teams"][data-count="12"]{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  grid-template-rows:repeat(3, 1fr);
}

.screen-answer-grid[data-mode="sort"]{
  grid-template-columns:1fr;
  grid-auto-rows:auto;
}

.screen-answer-card{
  min-height:0;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align: center;
  gap:14px;
  background:#fbfaf8;
  border:1px solid #e3ddd3;
  border-radius:18px;
  padding:16px 20px;
  box-sizing:border-box;
  box-shadow:0 8px 18px rgba(0,0,0,0.08);
  font-size:clamp(22px, 2vw, 32px);
  font-weight:800;
}

.screen-answer-grid[data-mode="teams"][data-count="1"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="2"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="3"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="4"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="5"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="6"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="7"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="8"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="9"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="10"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="11"] .screen-team-answer-item,
.screen-answer-grid[data-mode="teams"][data-count="12"] .screen-team-answer-item{
  min-height:0;
  height:100%;
}

.screen-answer-inner{
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  min-width:0;
}

.screen-answer-main-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex:1;
  min-width:0;
  width:100%;
  height:100%;
}

.screen-answer-image{
  width:100%;
  max-width:320px;
  max-height:180px;
  object-fit:contain;
  border-radius:0;
  display:block;
  border:none;
  background:transparent;
}

.screen-answer-main{
  min-width:0;
  width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:1.2;
}

.screen-answer-stat{
  flex:0 0 auto;
  min-width:68px;
  text-align:right;
  font-size:clamp(18px, 1.6vw, 24px);
  font-weight:900;
  color:#7b7b7b;
}

.screen-answer-card.correct{
  background:#e7f7ec;
  border-color:#49b36c;
  color:#156a2f;
}

.screen-answer-card.anchor{
  background:#eef4ff;
  border-color:#cfe0ff;
  color:#26436b;
}

.screen-answer-card.current-sort{
  background:#3a3f46;
  border-color:#3a3f46;
  color:white;
}

.screen-team-answer-item{
  position:relative;
  min-height:0;
  height:100%;
  min-width:0;
  overflow:visible;
}

.screen-team-answer-card-inner{
  height:100%;
}

.screen-team-answer-card{
  position:relative;
  min-height:0;
  height:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  background:#fbfaf8;
  border:1px solid #e3ddd3;
  border-radius:18px;
  padding:14px;
  box-sizing:border-box;
  box-shadow:0 8px 18px rgba(0,0,0,0.08);
  overflow:hidden;
}

.screen-team-answer-name{
  flex:0 0 auto;
  min-width:0;
  font-size:clamp(16px, 1.2vw, 22px);
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  line-height:1.1;
}

.screen-team-answer-value{
  flex:1 1 auto;
  min-height:0;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#f4f0ea;
  border:2px solid #b7aea3;
  border-radius:16px;
  padding:10px 14px;
  font-size:clamp(20px, 2.2vw, 40px);
  font-weight:900;
  line-height:1.05;
  word-break:break-word;
  overflow-wrap:anywhere;
  hyphens:auto;
  overflow:hidden;
}

.screen-question-solution{
  margin-top:14px;
  font-size:clamp(20px, 1.8vw, 28px);
  font-weight:800;
  text-align:center;
  color:#156a2f;
  background:#e7f7ec;
  border:2px solid #49b36c;
  border-radius:16px;
  padding:10px 18px;
}

.screen-team-answer-rank-badge{
  min-width:74px;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:clamp(14px, 1vw, 18px);
  font-weight:900;
  background:rgba(255,255,255,0.96);
  color:#2f2f2f;
  box-shadow:0 8px 18px rgba(0,0,0,0.14);
  border:1px solid rgba(0,0,0,0.06);
}

.screen-team-answer-overlay-badge{
  position:absolute;
  top:-12px;
  right:10px;
  z-index:3;
}

.screen-team-answer-points{
  font-size:clamp(16px, 1.2vw, 20px);
  font-weight:900;
  text-align:center;
  border-radius:12px;
  padding:8px 10px;
  background:rgba(255,255,255,0.94);
  box-shadow:0 8px 18px rgba(0,0,0,0.12);
  border:1px solid rgba(0,0,0,0.06);
}

.screen-team-answer-overlay-points{
  position:absolute;
  left:50%;
  bottom:-12px;
  transform:translateX(-50%);
  z-index:3;
  white-space:nowrap;
}

.estimate-rank-1{
  border:4px solid #d8a100;
  background:linear-gradient(180deg,#ffe27a,#f2c300);
}

.estimate-rank-1 .screen-team-answer-name,
.estimate-rank-1 .screen-team-answer-value,
.estimate-rank-1 .screen-team-answer-points{
  color:#3a2a00;
}

.estimate-rank-1 .screen-team-answer-points{
  background:rgba(255,255,255,0.55);
}

.estimate-rank-2{
  border:4px solid #8d96a8;
  background:linear-gradient(180deg,#dbe2ec,#a8b2c1);
}

.estimate-rank-2 .screen-team-answer-name,
.estimate-rank-2 .screen-team-answer-value,
.estimate-rank-2 .screen-team-answer-points{
  color:#1f2a3a;
}

.estimate-rank-2 .screen-team-answer-points{
  background:rgba(255,255,255,0.6);
}

.estimate-rank-3{
  border:4px solid #c96a2a;
  background:linear-gradient(180deg,#ffbf8a,#e98a47);
}

.estimate-rank-3 .screen-team-answer-name,
.estimate-rank-3 .screen-team-answer-value,
.estimate-rank-3 .screen-team-answer-points{
  color:#4a2207;
}

.estimate-rank-3 .screen-team-answer-points{
  background:rgba(255,255,255,0.58);
}

.screen-stats-area{
  display:none !important;
}

.screen-stat-bar span{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#2f2f31,#55595f);
  border-radius:999px;
}

.screen-solution-image-overlay{
  position:absolute;
  inset:0;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
  box-sizing:border-box;
}

.screen-solution-image-backdrop{
  position:absolute;
  inset:0;
  background:rgba(18, 22, 29, 0.72);
  backdrop-filter:blur(2px);
}

.screen-solution-image-box{
  position:relative;
  z-index:1;
  width:min(100%, 1100px);
  height:min(100%, 700px);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fbfaf8;
  border:1px solid #e3ddd3;
  border-radius:28px;
  box-shadow:0 18px 40px rgba(0,0,0,0.22);
  padding:24px;
  box-sizing:border-box;
}

.screen-solution-image{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  border-radius:18px;
}

.screen-progress-bar{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  display:flex;
  gap:10px;
  align-items:center;
  overflow:hidden;
}

.screen-progress-segment{
  flex:1;
  height:10px;
  border-radius:999px;
  background:#ddd3c7;
}

.screen-progress-segment.done{
  background:#8fc79c;
}

.screen-progress-segment.active{
  background:#2f2f31;
}

.screen-ceremony-stack{
  position:relative;
  justify-content:flex-start;
  padding-top:20px;
  gap:26px;
}

.screen-ceremony-badge{
  width:92px;
  height:92px;
  border-radius:50%;
  background:#2f3440;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:44px;
  box-shadow:0 12px 24px rgba(0,0,0,0.12);
}

.screen-ceremony-title{
  font-size:72px;
  font-weight:900;
  color:#1f2a3a;
  line-height:1;
  text-align:center;
  margin-top:-4px;
}

.screen-ceremony-confetti{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  opacity:.9;
}

.screen-ceremony-confetti span{
  position:absolute;
  top:-40px;
  width:10px;
  height:10px;
  border-radius:50%;
  opacity:.65;
  animation:screenConfettiFall linear infinite;
}

.screen-ceremony-confetti span:nth-child(1){ left:8%;  background:#d7dce5; animation-duration:8s;  animation-delay:0s; }
.screen-ceremony-confetti span:nth-child(2){ left:14%; background:#f1c54a; animation-duration:10s; animation-delay:1s; }
.screen-ceremony-confetti span:nth-child(3){ left:22%; background:#d4832d; animation-duration:9s;  animation-delay:2s; }
.screen-ceremony-confetti span:nth-child(4){ left:31%; background:#cfd5df; animation-duration:11s; animation-delay:0.5s; }
.screen-ceremony-confetti span:nth-child(5){ left:39%; background:#e8c866; animation-duration:8.5s; animation-delay:1.2s; }
.screen-ceremony-confetti span:nth-child(6){ left:48%; background:#d7dce5; animation-duration:10.5s; animation-delay:2.2s; }
.screen-ceremony-confetti span:nth-child(7){ left:57%; background:#d4832d; animation-duration:9.5s; animation-delay:0.8s; }
.screen-ceremony-confetti span:nth-child(8){ left:66%; background:#f1c54a; animation-duration:11.5s; animation-delay:1.7s; }
.screen-ceremony-confetti span:nth-child(9){ left:74%; background:#d7dce5; animation-duration:8.8s; animation-delay:0.3s; }
.screen-ceremony-confetti span:nth-child(10){ left:81%; background:#d4832d; animation-duration:10.2s; animation-delay:2.4s; }
.screen-ceremony-confetti span:nth-child(11){ left:89%; background:#f1c54a; animation-duration:9.2s; animation-delay:1.1s; }
.screen-ceremony-confetti span:nth-child(12){ left:94%; background:#cfd5df; animation-duration:10.8s; animation-delay:0.6s; }
.screen-ceremony-confetti span:nth-child(odd){
  width:12px;
  height:12px;
}

.screen-ceremony-confetti span:nth-child(even){
  width:8px;
  height:8px;
}

@keyframes screenConfettiFall{
  0%{
    transform:translateY(-20px) scale(0.9);
    opacity:0;
  }
  10%{
    opacity:.6;
  }
  100%{
    transform:translateY(105vh) scale(1.05);
    opacity:0;
  }
}

.screen-podium-wrap{
  width:min(100%, 1180px);
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:26px;
  align-items:end;
}

.screen-podium-card{
  min-height:320px;
  border-radius:32px;
  padding:28px 24px 26px 24px;
  box-sizing:border-box;
  box-shadow:0 18px 34px rgba(0,0,0,0.14);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:center;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.screen-podium-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:32px;
  pointer-events:none;
}

.screen-podium-card.gold{
  min-height:430px;
  background:linear-gradient(180deg,#262b36 0%, #11151d 100%);
  color:white;
  border:4px solid #f2c500;
}

.screen-podium-card.gold::after{
  box-shadow:inset 0 0 0 2px rgba(255,214,64,0.35);
}

.screen-podium-card.silver{
  min-height:340px;
  background:linear-gradient(180deg,#f8fafc 0%, #edf1f6 100%);
  color:#1f2a3a;
  border:4px solid #b9bcc4;
}

.screen-podium-card.bronze{
  min-height:330px;
  background:linear-gradient(180deg,#fff5ed 0%, #fff0e4 100%);
  color:#4a2207;
  border:4px solid #d4832d;
}

.screen-podium-rank{
  display:none;
}

.screen-podium-card.silver .screen-podium-rank,
.screen-podium-card.bronze .screen-podium-rank{
  background:rgba(0,0,0,0.08);
  color:white;
}

.screen-podium-place-label{
  display:none;
}

.screen-podium-crown{
  position:absolute;
  top:4px;
  left:50%;
  transform:translateX(-50%);
  font-size:90px;
  line-height:1;
  z-index:4;
  animation:screenCrownFloat 2.2s ease-in-out infinite;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,0.24));
}

.screen-podium-medal{
  position:absolute;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  font-size:46px;
  line-height:1;
  z-index:4;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,0.18));
}

.screen-podium-card.silver .screen-podium-medal{
  font-size:72px;
}

.screen-podium-card.bronze .screen-podium-medal{
  font-size:54px;
}

@keyframes screenCrownFloat{
  0%,100%{
    transform:translateX(-50%) translateY(0);
  }
  50%{
    transform:translateX(-50%) translateY(-8px);
  }
}

.screen-podium-name{
  margin-top:76px;
  font-size:30px;
  line-height:1.12;
  font-weight:900;
  max-width:100%;
  word-break:break-word;
}

.screen-podium-score-box{
  margin-top:24px;
  width:78%;
  min-height:108px;
  border-radius:24px;
  background:rgba(255,255,255,0.95);
  border:2px solid rgba(255,255,255,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 22px rgba(0,0,0,0.10);
}

.screen-podium-card.gold .screen-podium-score-box{
  background:#fff;
}

.screen-podium-points{
  font-size:72px;
  font-weight:900;
  color:#111827;
  line-height:1;
}

.screen-ceremony-rest{
  width:min(100%, 1180px);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.screen-ceremony-rest-card{
  background:#fbfaf8;
  border:1px solid #e3ddd3;
  border-radius:18px;
  padding:16px 18px;
  box-sizing:border-box;
  box-shadow:0 10px 22px rgba(0,0,0,0.08);
  display:flex;
  justify-content:space-between;
  gap:16px;
  font-size:22px;
  font-weight:800;
}

.screen-stats-area{
  display:none !important;
}

.podium-1{
  border:4px solid #ff2d2d;
  box-shadow:0 0 18px rgba(255,45,45,0.45);
}

.screen-stage-centered{
  grid-template-columns:minmax(0, 1fr);
}

.screen-stage-centered .screen-ranking-sidebar{
  display:none !important;
}

.screen-stage-centered .screen-main-area{
  width:100%;
}

/* =========================
   LEGAL PAGES
========================= */

.legal-page-shell{
  min-height:100vh;
}

.legal-main{
  padding-bottom:28px;
}

.legal-hero-icon{
  width:68px;
  height:68px;
  border-radius:50%;
  background:#2f2f31;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  margin:18px auto 14px auto;
}

.legal-back-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:rgba(255,255,255,0.14);
  color:white;
  text-decoration:none;
  font-size:24px;
  font-weight:800;
  line-height:1;
}

.legal-card{
  margin-bottom:16px;
}

.legal-card h2{
  margin:0 0 12px 0;
  font-size:20px;
  color:#1f2a3a;
}

.legal-card p{
  margin:0 0 12px 0;
  font-size:16px;
  line-height:1.6;
  color:#4b5563;
}

.legal-card p:last-child{
  margin-bottom:0;
}

.legal-card ul,
.legal-card ol{
  margin:0;
  padding-left:22px;
  color:#4b5563;
}

.legal-card li{
  margin-bottom:10px;
  line-height:1.6;
}

.legal-card li:last-child{
  margin-bottom:0;
}

@media (min-width: 900px){
  .legal-main{
    max-width:900px;
    margin:0 auto;
  }
}

.screen-team-answer-card.correct{
  background:#eefaf1;
  border:2px solid #58b97a;
}

.screen-team-answer-card.wrong{
  background:#fff1f1;
  border:2px solid #de6b6b;
}

/* =========================
   LANDING / EVENTS
========================= */

.landing-body{
  background:#f5f2ec;
  color:#1f2a3a;
}

.landing-header{
  background:linear-gradient(90deg,#262931,#34363f,#262931);
  color:#fff;
  padding:18px 34px;
  box-shadow:0 10px 24px rgba(0,0,0,0.08);
}

.landing-header-inner{
  width:min(1320px, calc(100% - 16px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.landing-brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  color:#fff;
}

.landing-brand-logo-only{
  display:flex;
  align-items:center;
}

.landing-header-logo{
  height:58px;
  width:auto;
  display:block;
  object-fit:contain;
}

.landing-nav{
  display:none;
}

.landing-main{
  width:min(1380px, calc(100% - 40px));
  margin:18px auto 56px auto;
}

.landing-hero{
  text-align:center;
  padding:34px 0 8px;
}

.landing-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#5b5e66;
  color:#fff;
  padding:14px 28px;
  border-radius:999px;
  font-weight:800;
  font-size:18px;
  box-shadow:0 12px 24px rgba(0,0,0,0.12);
}

.landing-jackpot-hero{
  margin:8px 0 30px 0;
  padding:34px 28px 30px 28px;
  border-radius:34px;
  background:
    radial-gradient(circle at top, rgba(242,197,0,0.16), transparent 38%),
    linear-gradient(135deg, #fffaf0 0%, #fbfaf8 52%, #f8f4ec 100%);
  border:1px solid #ecd8a4;
  box-shadow:0 18px 38px rgba(0,0,0,0.08);
  text-align:center;
}

.landing-jackpot-topline{
  font-size:18px;
  font-weight:800;
  color:#8b6b44;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom:0px;
}

.landing-jackpot-big{
  font-size:84px;
  line-height:1;
  font-weight:900;
  color:#ce9d42;
  text-shadow:0 8px 18px rgba(215,138,59,0.18);
}

.landing-jackpot-subline{
  margin-top:12px;
  font-size:22px;
  color:#7a7a7a;
}

.landing-section{
  margin-top:72px;
}

.landing-section-tight{
  margin-top:18px;
}

.landing-section-title{
  text-align:center;
  font-size:46px;
  font-weight:900;
  margin:0 0 8px;
  line-height:1.08;
  letter-spacing:-0.03em;
}

.landing-section-subtitle{
  text-align:center;
  color:#8b8b8b;
  font-size:18px;
  margin:0 0 22px;
}

.landing-city-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(280px, 1fr));
  gap:28px;
}

.landing-city-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-height:220px;
  background:#fbfaf8;
  border:1px solid #e7dfd4;
  border-radius:28px;
  box-shadow:0 14px 30px rgba(0,0,0,0.08);
  padding:30px 28px;
  text-align:center;
  text-decoration:none;
  color:#1f2a3a;
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.landing-city-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 36px rgba(0,0,0,0.10);
  border-color:#d8c9b3;
}

.landing-city-name{
  font-size:34px;
  font-weight:800;
  margin-bottom:10px;
}

.landing-city-meta{
  color:#8b8b8b;
  margin-bottom:22px;
  font-size:19px;
}

.landing-city-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#1f2a3a;
  font-weight:800;
  font-size:18px;
}

.landing-city-link span{
  font-size:20px;
}

.landing-steps-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:26px;
}

.landing-step-card{
  background:#fbfaf8;
  border:1px solid #e7dfd4;
  border-radius:22px;
  box-shadow:0 8px 18px rgba(0,0,0,0.05);
  padding:22px;
}

.landing-step-number{
  width:50px;
  height:50px;
  border-radius:50%;
  background:#72757d;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  font-weight:900;
  margin-bottom:14px;
}

.landing-step-title{
  font-size:20px;
  font-weight:800;
  margin-bottom:8px;
  line-height:1.2;
}

.landing-step-text{
  color:#8b8b8b;
  font-size:15px;
  line-height:1.5;
}

.landing-back-row{
  margin-bottom:20px;
}

.landing-back-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#fbfaf8;
  border:1px solid #e7dfd4;
  border-radius:18px;
  box-shadow:0 14px 30px rgba(0,0,0,0.08);
  padding:14px 22px;
  text-decoration:none;
  color:#1f2a3a;
  font-weight:800;
}

.landing-city-panel{
  background:#fbfaf8;
  border:1px solid #e7dfd4;
  border-radius:34px;
  box-shadow:0 14px 30px rgba(0,0,0,0.08);
  padding:30px;
}

.landing-city-title{
  margin:0 0 22px;
  font-size:44px;
  font-weight:800;
}

.landing-locations-wrap{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.landing-location-block{
  background:#fffdfb;
  border:1px solid #e7dfd4;
  border-radius:28px;
  padding:24px;
}

.landing-location-name{
  font-size:28px;
  font-weight:700;
  margin-bottom:4px;
}

.landing-location-address{
  color:#8b8b8b;
  font-size:18px;
  margin-bottom:18px;
}

.landing-events-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(320px, 1fr));
  gap:18px;
}

.landing-event-card{
  background:linear-gradient(180deg,#fffdfa 0%, #fbfaf8 100%);
  border:1px solid #e7dfd4;
  border-radius:24px;
  padding:22px;
  box-shadow:0 10px 24px rgba(0,0,0,0.05);
}

.landing-event-card.sold-out{
  background:linear-gradient(180deg,#f4f1ec 0%, #efebe5 100%);
  border-color:#ddd4c7;
}

.landing-event-card.sold-out .landing-event-date,
.landing-event-card.sold-out .landing-event-quiz-name,
.landing-event-card.sold-out .landing-event-meta,
.landing-event-card.sold-out .landing-capacity-row span:first-child{
  color:#9a948b;
}

.landing-event-card.sold-out .landing-capacity-bar{
  background:#d8d1c7;
}

.landing-event-date{
  font-size:22px;
  font-weight:700;
  line-height:1.25;
  margin-bottom:10px;
}

.landing-event-meta{
  color:#8b8b8b;
  font-size:18px;
  margin-bottom:12px;
}

.landing-capacity-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:8px;
  font-size:16px;
}

.landing-capacity-free{
  font-weight:800;
}

.landing-capacity-free.good{ color:#409856; }
.landing-capacity-free.low{ color:#d78a3b; }
.landing-capacity-free.zero{ color:#b96a5f; }

.landing-capacity-bar{
  width:100%;
  height:8px;
  border-radius:999px;
  overflow:hidden;
  background:#e8e1d7;
  margin-bottom:18px;
}

.landing-capacity-bar-fill{
  height:100%;
  border-radius:999px;
  background:#5a5d66;
}

.landing-capacity-bar-fill.good{ background:#409856; }
.landing-capacity-bar-fill.low{ background:#d78a3b; }
.landing-capacity-bar-fill.zero{ background:#b0b0b0; }

.landing-btn{
  border:none;
  border-radius:14px;
  padding:12px 18px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:.18s ease;
}

.landing-btn:hover{
  transform:translateY(-1px);
}

.landing-btn:disabled{
  cursor:not-allowed;
  transform:none;
  opacity:.75;
}

.landing-btn-dark{
  background:linear-gradient(90deg,#2f3138,#4b4e56,#2f3138);
  color:#fff;
}

.landing-btn-light{
  background:#f0ebe4;
  color:#1f2a3a;
  border:1px solid #e7dfd4;
}

.landing-btn-full{
  width:100%;
}

.landing-footer{
  background:linear-gradient(90deg,#262931,#34363f,#262931);
  color:#fff;
  padding:34px;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:30px;
}

.landing-footer-title{
  font-size:24px;
  font-weight:800;
  margin-bottom:14px;
}

.landing-footer a,
.landing-footer p{
  display:block;
  color:#fff;
  text-decoration:none;
  opacity:.86;
  margin:8px 0;
  line-height:1.45;
}

.landing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-footer-legal {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex: 1;
}

.landing-footer-legal a {
  white-space: nowrap;
}

.landing-footer-col:last-child {
  text-align: right;
}

.landing-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(20,24,29,.52);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:5000;
}

#successModal{
  z-index:6000;
}

.landing-modal-card{
  width:min(620px, 100%);
  max-height:min(88vh, 900px);
  overflow-y:auto;
  background:#fff;
  border-radius:24px;
  box-shadow:0 26px 50px rgba(0,0,0,0.18);
  padding:26px;
  position:relative;
}

.landing-modal-card-wide{
  width:min(760px, 100%);
}

.landing-modal-title{
  margin:0 0 18px;
  font-size:28px;
  font-weight:800;
  line-height:1.15;
}

.landing-modal-close{
  position:absolute;
  top:14px;
  right:16px;
  border:none;
  background:none;
  color:#666;
  font-size:28px;
  cursor:pointer;
  line-height:1;
}

.landing-event-summary{
  color:#8b8b8b;
  font-size:24px;
  line-height:1.7;
  margin-bottom:24px;
}

.landing-event-summary{
  color:#7f7f7f;
  font-size:15px;
  line-height:1.55;
  margin-bottom:18px;
}

.landing-event-summary-name{
  color:#1f2a3a;
  font-size:22px;
  font-weight:800;
  margin-bottom:6px;
}

.landing-form-label{
  display:block;
  font-size:16px;
  font-weight:700;
  margin:16px 0 8px;
}

.landing-form-input{
  width:100%;
  height:52px;
  border-radius:16px;
  border:1px solid #e7dfd4;
  background:#fbfaf8;
  padding:0 16px;
  font-size:16px;
}

.landing-checkbox-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:16px;
  font-size:14px;
  line-height:1.45;
  color:#4e4e4e;
}

.landing-inline-legal-link{
  font-weight:800;
  text-decoration:underline;
  color:#1f2a3a;
}

.landing-inline-legal-link:hover{
  opacity:.8;
}

.landing-checkbox-row input{
  width:18px;
  height:18px;
  margin-top:1px;
}

.landing-modal-actions{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:22px;
}

.landing-warning-box{
  background:#fff8f3;
  border:1px solid #efc6ab;
  border-radius:18px;
  color:#a8612d;
  padding:16px;
  margin-bottom:18px;
}

.landing-warning-box strong{
  display:block;
  font-size:20px;
  margin-bottom:8px;
}

.landing-warning-box p{
  margin:0;
  font-size:14px;
  line-height:1.55;
}

.landing-payment-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:18px;
}

.landing-payment-column{
  background:#fbfaf8;
  border:1px solid #e7dfd4;
  border-radius:18px;
  padding:18px;
  text-align:center;
}

.landing-payment-head{
  font-size:18px;
  font-weight:800;
  margin-bottom:14px;
}

.landing-payment-qr{
  width:150px;
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto 10px;
}

.landing-payment-small{
  color:#8b8b8b;
  font-size:13px;
  line-height:1.4;
}

.landing-payment-link{
  background:#f1ece5;
  border:1px solid #e7dfd4;
  border-radius:14px;
  padding:12px;
  margin:14px 0;
  font-size:14px;
  word-break:break-all;
}

.landing-payment-details{
  border-top:1px solid #e7dfd4;
  margin-top:6px;
  padding-top:14px;
}

.landing-payment-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:6px 0;
  font-size:15px;
}

.landing-payment-total{
  font-size:22px;
  font-weight:900;
}

.landing-empty-box{
  background:#fbfaf8;
  border:1px solid #e7dfd4;
  border-radius:24px;
  padding:24px;
  color:#8b8b8b;
  text-align:center;
}

.landing-jackpot-logo{
  display:block;
  width:min(280px, 70%);
  height:auto;
  margin:0 auto 14px auto;
  object-fit:contain;
}

.landing-faq-wrap{
  width:min(100%, 980px);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.landing-faq-item{
  background:#fbfaf8;
  border:1px solid #e7dfd4;
  border-radius:22px;
  box-shadow:0 10px 24px rgba(0,0,0,0.06);
  overflow:hidden;
}

.landing-faq-question{
  list-style:none;
  cursor:pointer;
  padding:22px 24px;
  font-size:22px;
  font-weight:800;
  color:#1f2a3a;
  position:relative;
}

.landing-faq-question::-webkit-details-marker{
  display:none;
}

.landing-faq-question::after{
  content:"+";
  position:absolute;
  right:24px;
  top:50%;
  transform:translateY(-50%);
  font-size:28px;
  font-weight:700;
  color:#7a7a7a;
}

.landing-faq-item[open] .landing-faq-question::after{
  content:"–";
}

.landing-faq-answer{
  padding:0 24px 22px 24px;
  font-size:17px;
  line-height:1.6;
  color:#666;
}

.landing-prize-scenarios{
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top:12px;
}

.landing-prize-scenario{
  background:#fff;
  border:1px solid #e7dfd4;
  border-radius:20px;
  padding:20px;
}

.landing-prize-scenario-cancel{
  background:#fff8f8;
  border-color:#efcaca;
}

.landing-prize-scenario-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.landing-prize-team-count{
  font-size:20px;
  font-weight:800;
  color:#1f2a3a;
}

.landing-prize-cancel-badge{
  background:#b85c5c;
  color:#fff;
  font-size:14px;
  font-weight:800;
  letter-spacing:.04em;
  padding:8px 14px;
  border-radius:999px;
}

.landing-prize-scenario-text{
  font-size:15px;
  line-height:1.6;
  color:#6a6a6a;
}

.landing-prize-items-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:14px;
}

.landing-prize-item{
  background:#fbfaf8;
  border:1px solid #ece5da;
  border-radius:16px;
  padding:16px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:140px;
}

.landing-prize-item-title{
  font-size:14px;
  font-weight:800;
  color:#1f2a3a;
  margin-bottom:10px;
  line-height:1.35;
}

.landing-prize-image{
  max-width:100%;
  width:90px;
  height:auto;
  display:block;
  margin:0 auto 8px auto;
}

.landing-prize-image-wide{
  width:135px;
}

.landing-prize-note{
  font-size:13px;
  line-height:1.4;
  color:#666;
  font-weight:700;
}

@media (max-width: 1100px){
  .landing-prize-items-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 760px){
  .landing-prize-scenario-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .landing-prize-items-grid{
    grid-template-columns:1fr;
  }

  .landing-prize-team-count{
    font-size:18px;
  }
}

.landing-why{
  padding-top:40px;
}

.landing-why-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  max-width:1100px;
  margin:0 auto;
}

.landing-why-card{
  background:#ffffff;
  border:1px solid #e7dfd4;
  border-radius:22px;
  padding:26px 22px;
  text-align:center;
  box-shadow:0 10px 28px rgba(0,0,0,0.06);
  transition:.2s ease;
}

.landing-why-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 36px rgba(0,0,0,0.08);
}

.landing-why-icon{
  font-size:28px;
  margin-bottom:12px;
}

.landing-why-title{
  font-size:18px;
  font-weight:800;
  margin-bottom:8px;
  color:#1f2a3a;
}

.landing-why-text{
  font-size:14px;
  color:#777;
  line-height:1.5;
}

@media (max-width: 1100px){
  .landing-city-grid,
  .landing-steps-grid,
  .landing-events-grid,
  .landing-payment-grid{
    grid-template-columns:1fr 1fr;
  }

  .landing-footer{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 900px){
  .landing-modal-card-wide{
    width:min(620px, 100%);
  }

  .landing-payment-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 760px){
  .landing-header-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .landing-nav{
    gap:18px;
    flex-wrap:wrap;
  }

  .landing-main{
    width:min(100%, calc(100% - 24px));
  }

  .landing-hero-title{
    font-size:38px;
  }

  .landing-city-grid,
  .landing-steps-grid,
  .landing-events-grid,
  .landing-payment-grid,
  .landing-footer{
    grid-template-columns:1fr;
  }

  .landing-city-title{
    font-size:36px;
  }

  .landing-jackpot-logo{
  width:min(180px, 72%);
}

.landing-faq-question{
  font-size:18px;
  padding:18px 20px;
}

.landing-faq-answer{
  padding:0 20px 18px 20px;
  font-size:15px;
}

.landing-why-grid{
  grid-template-columns:1fr;
}

.landing-why-card{
  text-align:left;
}

  
.landing-modal-card{
  padding:20px;
  max-height:90vh;
}

.landing-modal-title{
  font-size:24px;
}

.landing-event-summary-name{
  font-size:20px;
}

.landing-form-label{
  font-size:15px;
}

.landing-form-input{
  height:48px;
  font-size:15px;
}

  .landing-modal-actions{
    flex-direction:column;
  }

  .landing-btn{
    width:100%;
  }
}

/* =========================
   PARTNER PAGE
========================= */

.partner-page{
  background:#f5f2ec;
}

.partner-header-logo{
  height:72px;
}

.partner-topnav{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}

.partner-topnav a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  opacity:.9;
}

.partner-topnav a:hover{
  opacity:1;
}

.partner-hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:34px;
  align-items:center;
  padding:34px 0 10px 0;
}

.partner-kicker{
  display:inline-flex;
  align-items:center;
  background:#5b5e66;
  color:#fff;
  padding:10px 18px;
  border-radius:999px;
  font-size:14px;
  font-weight:800;
  margin-bottom:18px;
  box-shadow:0 10px 22px rgba(0,0,0,0.12);
}

.partner-hero-title{
  font-size:56px;
  line-height:1.03;
  font-weight:900;
  margin:0 0 16px 0;
  color:#1f2a3a;
  letter-spacing:-0.03em;
}

.partner-hero-title span{
  display:block;
  color:#5f6470;
}

.partner-hero-text{
  font-size:20px;
  line-height:1.6;
  color:#717171;
  margin:0 0 24px 0;
  max-width:760px;
}

.partner-hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.partner-hero-visual{
  min-width:0;
}

.partner-hero-image-wrap{
  position:relative;
  min-height:480px;
  border-radius:34px;
  box-shadow:0 24px 44px rgba(0,0,0,0.12);
  overflow:hidden;
  padding:30px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
}

.partner-hero-image-bg{
  position:absolute;
  inset:0;
  background-image:url("../img/partner-hero.png");
  background-size:cover;
  background-position:center center;
  transform:scale(1.03);
}

.partner-hero-image-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(24,27,34,0.32) 0%, rgba(24,27,34,0.50) 45%, rgba(24,27,34,0.72) 100%),
    linear-gradient(135deg, rgba(24,27,34,0.42) 0%, rgba(44,48,56,0.18) 100%);
}

.partner-hero-topbadge{
  position:absolute;
  top:22px;
  right:22px;
  z-index:2;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.14);
  backdrop-filter:blur(8px);
  border-radius:18px;
  padding:12px 16px;
  box-shadow:0 10px 24px rgba(0,0,0,0.18);
}

.partner-hero-mini-logo{
  display:block;
  width:140px;
  height:auto;
  opacity:.95;
  filter:drop-shadow(0 4px 18px rgba(0,0,0,0.28));
}

.partner-hero-stage-card{
  position:relative;
  z-index:2;
  width:min(440px, 100%);
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.6);
  border-radius:26px;
  padding:22px;
  box-shadow:0 16px 32px rgba(0,0,0,0.18);
}

.partner-stage-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#eef1f7;
  color:#475066;
  font-size:13px;
  font-weight:800;
  margin-bottom:14px;
}

.partner-stage-title{
  font-size:34px;
  font-weight:900;
  line-height:1.12;
  color:#FFFDD0;
  margin-bottom:16px;
}

.partner-stage-points{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.partner-stage-points span{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:#eef1f7;
}

.partner-stage-points span::before{
  content:"•";
  color:#1f2a3a;
  font-size:24px;
  line-height:1;
}

.partner-highlight-box-wrap{
  margin-top:18px;
}

.partner-highlight-box{
  background:#fbfaf8;
  border:2px solid #4e535d;
  border-radius:30px;
  padding:28px;
  box-shadow:0 14px 30px rgba(0,0,0,0.08);
}

.partner-highlight-head{
  margin-bottom:20px;
}

.partner-highlight-head h2{
  margin:0 0 10px 0;
  font-size:34px;
  line-height:1.1;
  color:#1f2a3a;
}

.partner-highlight-head p{
  margin:0;
  color:#777;
  font-size:18px;
  line-height:1.55;
  max-width:920px;
}

.partner-highlight-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}

.partner-highlight-item{
  background:#fff;
  border:1px solid #e8e0d4;
  border-radius:22px;
  padding:20px;
}

.partner-highlight-icon{
  font-size:28px;
  margin-bottom:10px;
}

.partner-highlight-item h3{
  margin:0 0 10px 0;
  font-size:20px;
  line-height:1.2;
  color:#1f2a3a;
}

.partner-highlight-item p{
  margin:0;
  color:#777;
  line-height:1.5;
  font-size:15px;
}

.partner-benefits-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}

.partner-benefit-card{
  background:#fbfaf8;
  border:1px solid #e7dfd4;
  border-radius:24px;
  padding:24px;
  box-shadow:0 12px 26px rgba(0,0,0,0.06);
}

.partner-benefit-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}

.partner-benefit-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  background:#5b5e66;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  flex:0 0 auto;
}

.partner-benefit-card h3{
  margin:0;
  font-size:22px;
  line-height:1.2;
  color:#1f2a3a;
}

.partner-benefit-card p{
  margin:0;
  color:#777;
  line-height:1.6;
  font-size:16px;
}

.partner-steps-grid{
  margin-top:8px;
}

.partner-audience-panel{
  background:linear-gradient(135deg,#2a2e36 0%, #3a3f49 100%);
  border-radius:26px;
  padding:24px 24px 22px;
  color:#fff;
  box-shadow:0 14px 28px rgba(0,0,0,0.10);
}

.partner-audience-copy{
  max-width:860px;
  margin-bottom:18px;
}

.partner-audience-copy h2{
  margin:0 0 8px 0;
  font-size:32px;
  line-height:1.12;
  font-weight:800;
}

.partner-audience-copy p{
  margin:0;
  max-width:760px;
  color:rgba(255,255,255,0.78);
  font-size:16px;
  line-height:1.5;
}

.partner-audience-cards{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}

.partner-audience-card{
  background:rgba(255,255,255,0.07);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:18px;
  padding:18px 14px;
  text-align:center;
  backdrop-filter:blur(3px);
}

.partner-audience-big{
  font-size:22px;
  font-weight:800;
  margin-bottom:6px;
  letter-spacing:-0.02em;
}

.partner-audience-label{
  font-size:13px;
  line-height:1.4;
  color:rgba(255,255,255,0.76);
}

.partner-requirements-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}

.partner-requirement-card{
  background:#ffffff;
  border:1px solid #e7dfd4;
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 24px rgba(0,0,0,0.06);
}

.partner-requirement-card h3{
  margin:0 0 10px 0;
  font-size:20px;
  color:#1f2a3a;
}

.partner-requirement-card p{
  margin:0;
  color:#777;
  line-height:1.55;
  font-size:15px;
}

.partner-cta-box{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center;
  background:#fbfaf8;
  border:1px solid #e7dfd4;
  border-radius:30px;
  padding:30px;
  box-shadow:0 14px 30px rgba(0,0,0,0.08);
}

.partner-cta-copy h2{
  margin:0 0 12px 0;
  font-size:44px;
  line-height:1.08;
  color:#1f2a3a;
}

.partner-cta-copy p{
  margin:0;
  font-size:18px;
  line-height:1.6;
  color:#777;
  max-width:760px;
}

.partner-cta-actions{
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:stretch;
}

@media (max-width: 1180px){
  .partner-hero,
  .partner-cta-box{
    grid-template-columns:1fr;
  }

  .partner-highlight-grid,
  .partner-audience-cards,
  .partner-requirements-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .partner-benefits-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 760px){
  .partner-topnav{
    gap:14px;
  }

  .partner-hero-title{
    font-size:42px;
  }

  .partner-hero-text{
    font-size:18px;
  }

  .partner-hero-image-wrap{
    min-height:340px;
    padding:18px;
  }

  .partner-stage-title{
    font-size:28px;
  }

  .partner-highlight-box,
  .partner-audience-panel,
  .partner-cta-box{
    padding:22px;
  }

  .partner-highlight-head h2,
  .partner-audience-copy h2,
  .partner-cta-copy h2{
    font-size:30px;
  }

  .partner-highlight-grid,
  .partner-benefits-grid,
  .partner-audience-cards,
  .partner-requirements-grid{
    grid-template-columns:1fr;
  }
}

.landing-event-quiz-name{
  margin-top:6px;
  font-size:16px;
  font-weight:700;
  color:#666;
  text-align:left;
}

.landing-location-phone{
  color:#8b8b8b;
  font-size:16px;
  margin:-8px 0 18px;
}

/* =========================
   MOBILE FIX PARTNER HERO
   ========================= */
@media (max-width: 768px){

  .partner-hero-image-wrap{
    min-height:420px;
    padding:18px;
    display:flex;
    align-items:flex-end;
    justify-content:flex-start;
  }

  .partner-hero-topbadge{
    position:absolute;
    top:18px;
    right:18px;
    left:auto;
    margin:0;
    z-index:4;
    padding:10px 12px;
  }

  .partner-hero-mini-logo{
    width:112px;
  }

  .partner-hero-stage-card{
    position:relative;
    z-index:2;
    width:100%;
    max-width:none;
    margin-top:120px;
    padding:18px;
  }

}

.landing-prize-table-wrap{
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top:10px;
}

.landing-prize-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 20px rgba(0,0,0,0.06);
}

.landing-prize-table th{
  background:#f5f5f5;
  font-weight:600;
  padding:12px;
  text-align:center;
  font-size:14px;
}

.landing-prize-table td{
  padding:12px;
  text-align:center;
  border-top:1px solid #eee;
  font-size:14px;
}

.landing-prize-table td:first-child{
  font-weight:600;
  text-align:left;
}

.landing-prize-cancel-row{
  background:#ffe9e6;
  font-weight:600;
  color:#a33;
}

.landing-prize-note{
  font-size:12px;
  margin-top:10px;
  color:#666;
}

@media (max-width: 768px){

  .landing-prize-table{
    font-size:12px;
  }

  .landing-prize-table th,
  .landing-prize-table td{
    padding:8px;
  }

  /* Tabellen scrollbar machen statt quetschen */
  .landing-prize-table-wrap{
    overflow-x:auto;
  }

  .landing-prize-table{
    min-width:600px;
  }

  /* Erste Spalte fix breiter */
  .landing-prize-table td:first-child,
  .landing-prize-table th:first-child{
    min-width:110px;
  }

  /* ABSAGE optisch klarer */
  .landing-prize-cancel-row{
    font-size:13px;
    text-align:center;
  }

  /* Fußnoten kompakter */
  .landing-prize-note{
    font-size:11px;
    line-height:1.4;
  }

}

/* Overlay rechts neben Antworten */
.sort-overlay {
  position: absolute;
  top: 0;
  right: 8px;
  width: 72px;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

/* Dreieck */
.sort-triangle {
  position: absolute;
  right: 0;
  width: 100px;
  height: 100px;
  transform: translateY(-50%);
  background: transparent;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.sort-triangle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2f3138;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.sort-triangle::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #f5f3ee;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

/* Text im Dreieck */
.sort-triangle span {
  position: absolute;
  top: 50%;
  left: 62px;
  transform: translate(-50%, -50%);
  color: #2f3138;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
}

/* =========================
   SPONSORING PAGE V2
========================= */

.sponsor-page-v2{
  background:#f5f2ec;
  color:#1f2a3a;
}

.sponsor-v2-header{
  position:sticky;
  top:0;
  z-index:120;
}

.sponsor-v2-header-inner{
  gap:24px;
}

.sponsor-v2-logo{
  height:60px;
  width:auto;
  object-fit:contain;
}

.sponsor-v2-nav{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}

.sponsor-v2-nav a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  opacity:.92;
}

.sponsor-v2-nav a:hover{
  opacity:1;
}

.sponsor-v2-main{
  margin:0;
}

/* HERO */
.sponsor-v2-hero{
  position:relative;
  min-height:75vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}

.sponsor-v2-hero-bg{
  position:absolute;
  inset:0;
}

.sponsor-v2-hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:brightness(.55);
}

.sponsor-v2-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(20,24,31,0.20) 0%, rgba(20,24,31,0.46) 50%, rgba(20,24,31,0.68) 100%);
  z-index:1;
}

.sponsor-v2-hero-fade{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:230px;
  background:linear-gradient(180deg, rgba(245,242,236,0) 0%, rgba(245,242,236,1) 100%);
  z-index:2;
}

.sponsor-v2-hero-content{
  position:relative;
  z-index:3;
  width:min(1320px, calc(100% - 48px));
  margin:0 auto;
  padding:0 0 120px 0;
  color:#fff;
}

.sponsor-v2-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.sponsor-v2-scroll-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0% { transform: translateY(0) rotate(45deg); opacity: 0; }
  50% { transform: translateY(10px) rotate(45deg); opacity: 1; }
  100% { transform: translateY(20px) rotate(45deg); opacity: 0; }
}

.sponsor-v2-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.20);
  color:#fff;
  padding:10px 18px;
  border-radius:999px;
  font-size:14px;
  font-weight:800;
  backdrop-filter:blur(6px);
  margin-bottom:18px;
}

.sponsor-v2-title{
  font-size:78px;
  line-height:.96;
  font-weight:900;
  margin:0 0 18px 0;
  letter-spacing:-0.05em;
  max-width:840px;
}

.sponsor-v2-title span{
  display:block;
  color:#f2efe7;
}

.sponsor-v2-text{
  max-width:760px;
  font-size:22px;
  line-height:1.6;
  color:rgba(255,255,255,0.90);
  margin:0 0 28px 0;
}

.sponsor-v2-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.sponsor-v2-actions-left{
  justify-content:flex-start;
}

/* SECTION BASICS */
.sponsor-v2-section{
  padding:88px 0;
}

.sponsor-v2-section-white{
  background:#ffffff;
}

.sponsor-v2-section-beige{
  background:#f5f2ec;
}

.sponsor-v2-section-dark{
  background:linear-gradient(135deg,#2a2e36 0%, #3a3f49 100%);
  color:#fff;
}

.sponsor-v2-section-dark-soft{
  background:linear-gradient(135deg,#353942 0%, #444953 100%);
  color:#fff;
}

.sponsor-v2-container{
  width:min(1320px, calc(100% - 48px));
  margin:0 auto;
}

.sponsor-v2-heading{
  text-align:center;
  margin-bottom:42px;
}

.sponsor-v2-heading h2{
  margin:0 0 10px 0;
  font-size:56px;
  line-height:1.02;
  font-weight:900;
  letter-spacing:-0.04em;
  color:#44506a;
}

.sponsor-v2-heading p{
  margin:0;
  font-size:20px;
  color:#8b8b8b;
}

.sponsor-v2-heading-light h2{
  color:#fff6da;
}

.sponsor-v2-heading-light p{
  color:rgba(255,255,255,0.78);
}

/* SPLIT */
.sponsor-v2-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:center;
}

.sponsor-v2-split-reverse{
  grid-template-columns:1fr 1fr;
}

.sponsor-v2-copy h3{
  margin:0 0 16px 0;
  font-size:42px;
  line-height:1.08;
  font-weight:900;
  letter-spacing:-0.03em;
  color:#44506a;
}

.sponsor-v2-copy p{
  margin:0 0 18px 0;
  font-size:18px;
  line-height:1.75;
  color:#747474;
}

.sponsor-v2-copy p:last-child{
  margin-bottom:0;
}

.sponsor-v2-image-card{
  background:#fff;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(0,0,0,0.10);
  min-height:420px;
}

.sponsor-v2-image-card-large{
  min-height:480px;
}

.sponsor-v2-image-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* STATS IN SPLIT */
.sponsor-v2-stat-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
  margin-top:24px;
}

.sponsor-v2-stat-card{
  background:#fff;
  border:1px solid #ece4d8;
  border-radius:20px;
  padding:22px;
  box-shadow:0 10px 22px rgba(0,0,0,0.05);
}

.sponsor-v2-stat-card strong{
  display:block;
  font-size:34px;
  line-height:1;
  margin-bottom:8px;
  color:#44506a;
}

.sponsor-v2-stat-card span{
  font-size:15px;
  color:#7f7f7f;
  font-weight:700;
}

/* ZIELGRUPPE CARDS */
.sponsor-v2-audience-cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:24px;
}

.sponsor-v2-audience-card{
  background:#fff;
  border:1px solid #ece4d8;
  border-radius:18px;
  padding:16px 18px;
  font-weight:800;
  color:#44506a;
  box-shadow:0 8px 18px rgba(0,0,0,0.05);
}

/* METRICS */
.sponsor-v2-metrics-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
}

.sponsor-v2-metric-box{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:24px;
  padding:28px 24px;
  box-shadow:0 12px 28px rgba(0,0,0,0.12);
  backdrop-filter:blur(4px);
}

.sponsor-v2-metric-box strong{
  display:block;
  font-size:56px;
  line-height:1;
  margin-bottom:10px;
  color:#fff5cf;
}

.sponsor-v2-metric-box span{
  display:block;
  font-size:22px;
  font-weight:800;
  color:#fff;
  margin-bottom:6px;
}

.sponsor-v2-metric-box small{
  display:block;
  color:rgba(255,255,255,0.72);
  font-size:15px;
  line-height:1.45;
}

.sponsor-v2-metric-box.wide{
  grid-column:1 / -1;
}

.sponsor-v2-metric-wide-head{
  font-size:28px;
  font-weight:900;
  margin-bottom:20px;
  color:#fff5cf;
}

.sponsor-v2-quarter-row{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}

.sponsor-v2-quarter-row div{
  background:rgba(255,255,255,0.04);
  border-radius:18px;
  padding:18px;
}

.sponsor-v2-quarter-row b{
  display:block;
  font-size:28px;
  margin-bottom:8px;
  color:#fff;
}

.sponsor-v2-quarter-row span{
  display:block;
  font-size:15px;
  color:rgba(255,255,255,0.74);
}

/* INFO CARDS */
.sponsor-v2-duo-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.sponsor-v2-info-card{
  background:#fbfaf8;
  border:1px solid #ece4d8;
  border-radius:26px;
  padding:30px;
  box-shadow:0 14px 30px rgba(0,0,0,0.06);
}

.sponsor-v2-info-card h3{
  margin:0 0 14px 0;
  font-size:34px;
  color:#44506a;
}

.sponsor-v2-info-card p{
  margin:0;
  font-size:18px;
  line-height:1.75;
  color:#737373;
}

/* PACKAGE GRID */
.sponsor-v2-package-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}

.sponsor-v2-package-card{
  background:#fff;
  border:1px solid #e9e0d4;
  border-radius:28px;
  padding:28px;
  box-shadow:0 14px 30px rgba(0,0,0,0.06);
}

.sponsor-v2-package-card-featured{
  transform:translateY(-8px);
  border:2px solid #596173;
  box-shadow:0 20px 36px rgba(0,0,0,0.10);
}

.sponsor-v2-package-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#5b5e66;
  color:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  margin-bottom:16px;
}

.sponsor-v2-package-card h3{
  margin:0 0 12px 0;
  font-size:30px;
  line-height:1.1;
  color:#44506a;
}

.sponsor-v2-package-card p{
  margin:0 0 18px 0;
  font-size:16px;
  line-height:1.65;
  color:#777;
}

.sponsor-v2-package-card ul{
  margin:0;
  padding-left:20px;
  color:#5e5e5e;
}

.sponsor-v2-package-card li{
  margin-bottom:10px;
  line-height:1.5;
  font-weight:600;
}

/* BENEFITS */
.sponsor-v2-benefit-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
}

.sponsor-v2-benefit-card{
  background:#fbfaf8;
  border:1px solid #ece4d8;
  border-radius:24px;
  padding:26px;
  box-shadow:0 12px 24px rgba(0,0,0,0.05);
}

.sponsor-v2-benefit-card h3{
  margin:0 0 12px 0;
  font-size:24px;
  line-height:1.18;
  color:#44506a;
}

.sponsor-v2-benefit-card p{
  margin:0;
  font-size:16px;
  line-height:1.65;
  color:#767676;
}

/* PROOF */
.sponsor-v2-proof-images{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
  margin-bottom:24px;
}

.sponsor-v2-proof-images img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:22px;
  display:block;
  box-shadow:0 14px 28px rgba(0,0,0,0.16);
}

.sponsor-v2-proof-quotes{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:24px;
}

.sponsor-v2-quote-card{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:24px;
  padding:26px;
  backdrop-filter:blur(4px);
}

.sponsor-v2-quote-card p{
  margin:0 0 14px 0;
  font-size:20px;
  line-height:1.7;
  color:#fff;
}

.sponsor-v2-quote-card span{
  color:rgba(255,255,255,0.72);
  font-size:15px;
  font-weight:700;
}

.sponsor-v2-proof-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}

.sponsor-v2-proof-stats div{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:20px;
  padding:20px;
  text-align:center;
}

.sponsor-v2-proof-stats strong{
  display:block;
  font-size:42px;
  color:#fff5cf;
  line-height:1;
  margin-bottom:8px;
}

.sponsor-v2-proof-stats span{
  display:block;
  color:rgba(255,255,255,0.76);
  font-weight:700;
}

.sponsor-v2-location-card{
  background:#ffffff;
  border:1px solid #e7dfd4;
  border-radius:30px;
  padding:34px 36px;
  box-shadow:0 14px 30px rgba(0,0,0,0.06);
}

.sponsor-v2-location-top{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:28px;
}

.sponsor-v2-location-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  background:#f3eee7;
  color:#5b5e66;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  flex:0 0 auto;
}

.sponsor-v2-location-top h3{
  margin:0;
  font-size:34px;
  line-height:1.1;
  color:#44506a;
  font-weight:900;
}

.sponsor-v2-location-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:28px;
  margin-bottom:30px;
}

.sponsor-v2-location-item{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.sponsor-v2-location-pin{
  width:34px;
  height:34px;
  border-radius:50%;
  background:#f5f2ec;
  color:#5b5e66;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  flex:0 0 auto;
  margin-top:2px;
}

.sponsor-v2-location-item strong{
  display:block;
  font-size:24px;
  line-height:1.2;
  color:#44506a;
  margin-bottom:6px;
}

.sponsor-v2-location-item span{
  display:block;
  font-size:17px;
  line-height:1.45;
  color:#8a8a8a;
}

.sponsor-v2-location-bottom{
  margin:0;
  padding-top:24px;
  border-top:1px solid #eee6da;
  text-align:center;
  font-size:18px;
  line-height:1.65;
  color:#8a8a8a;
}

/* responsive */
@media (max-width: 1180px){
  .sponsor-v2-location-grid{
    grid-template-columns:1fr;
    gap:20px;
  }
}

@media (max-width: 760px){
  .sponsor-v2-location-card{
    padding:24px 22px;
    border-radius:24px;
  }

  .sponsor-v2-location-top{
    align-items:flex-start;
    margin-bottom:22px;
  }

  .sponsor-v2-location-top h3{
    font-size:28px;
  }

  .sponsor-v2-location-item strong{
    font-size:20px;
  }

  .sponsor-v2-location-item span,
  .sponsor-v2-location-bottom{
    font-size:16px;
  }
}

/* CONTACT */
.sponsor-v2-contact-box{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:34px;
  align-items:center;
}

.sponsor-v2-contact-image{
  background:#fff;
  border-radius:28px;
  overflow:hidden;
  min-height:520px;
  box-shadow:0 16px 34px rgba(0,0,0,0.10);
}

.sponsor-v2-contact-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.sponsor-v2-contact-copy h3{
  margin:0 0 8px 0;
  font-size:46px;
  line-height:1.05;
  color:#44506a;
}

.sponsor-v2-contact-role{
  display:block;
  font-size:18px;
  color:#8b8b8b;
  margin-bottom:18px;
  font-weight:700;
}

.sponsor-v2-contact-copy p{
  margin:0 0 20px 0;
  font-size:18px;
  line-height:1.75;
  color:#767676;
}

.sponsor-v2-contact-card{
  background:#fbfaf8;
  border:1px solid #ece4d8;
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 22px rgba(0,0,0,0.05);
  margin-bottom:22px;
}

.sponsor-v2-contact-card div{
  font-size:16px;
  line-height:1.65;
  color:#5f5f5f;
  margin-bottom:10px;
}

.sponsor-v2-contact-card div:last-child{
  margin-bottom:0;
}

.price {
  font-size: 22px;
  font-weight: bold;
  margin: 10px 0;
}

.sponsor-v2-package-card small {
  display: block;
  color: #777;
  margin-bottom: 15px;
}

/* RESPONSIVE */
@media (max-width: 1180px){
  .sponsor-v2-split,
  .sponsor-v2-contact-box,
  .sponsor-v2-duo-cards,
  .sponsor-v2-package-grid,
  .sponsor-v2-benefit-grid,
  .sponsor-v2-proof-quotes{
    grid-template-columns:1fr;
  }

  .sponsor-v2-proof-images{
    grid-template-columns:1fr 1fr;
  }

  .sponsor-v2-metrics-grid{
    grid-template-columns:1fr 1fr;
  }

  .sponsor-v2-metric-box.wide{
    grid-column:auto;
  }

  .sponsor-v2-quarter-row{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 760px){
  .sponsor-v2-header-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .sponsor-v2-nav{
    gap:14px;
  }

  .sponsor-v2-hero{
    min-height:78vh;
  }

  .sponsor-v2-hero-content,
  .sponsor-v2-container{
    width:min(100%, calc(100% - 24px));
  }

  .sponsor-v2-hero-content{
    padding-bottom:86px;
  }

  .sponsor-v2-title{
    font-size:46px;
  }

  .sponsor-v2-text{
    font-size:18px;
  }

  .sponsor-v2-section{
    padding:64px 0;
  }

  .sponsor-v2-heading h2{
    font-size:38px;
  }

  .sponsor-v2-heading p{
    font-size:17px;
  }

  .sponsor-v2-copy h3,
  .sponsor-v2-contact-copy h3{
    font-size:32px;
  }

  .sponsor-v2-stat-grid,
  .sponsor-v2-audience-cards,
  .sponsor-v2-proof-images,
  .sponsor-v2-proof-stats,
  .sponsor-v2-metrics-grid,
  .sponsor-v2-quarter-row{
    grid-template-columns:1fr;
  }

  .sponsor-v2-image-card,
  .sponsor-v2-contact-image{
    min-height:340px;
  }

  .sponsor-v2-metric-box strong{
    font-size:40px;
  }
}

/* =========================================================
   NEWSLETTER BESTÄTIGT
========================================================= */

.landing-newsletter-confirm-wrap{
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 64px;
}

.landing-newsletter-confirm-card{
  width: 100%;
  max-width: 760px;
  background: linear-gradient(180deg, #f8f4ee 0%, #f3ede4 100%);
  border: 1px solid rgba(40, 44, 52, 0.08);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(26, 30, 37, 0.10);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-newsletter-confirm-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.65), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.4), transparent 28%);
  pointer-events: none;
}

.landing-newsletter-confirm-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(44, 48, 58, 0.08);
  color: #2f3138;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-newsletter-confirm-icon{
  width: 86px;
  height: 86px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2f3138 0%, #50545f 100%);
  box-shadow:
    0 12px 28px rgba(31, 35, 42, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.landing-newsletter-confirm-title{
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #1f2430;
}

.landing-newsletter-confirm-text{
  max-width: 640px;
  margin: 0 auto 14px;
  font-size: 18px;
  line-height: 1.6;
  color: #3a3f49;
}

.landing-newsletter-confirm-text-small{
  font-size: 16px;
  color: #5c6470;
}

.landing-newsletter-confirm-actions{
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.landing-newsletter-confirm-actions .landing-btn{
  min-width: 210px;
}

.landing-newsletter-confirm-note{
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(40, 44, 52, 0.08);
  font-size: 14px;
  line-height: 1.6;
  color: #6a7280;
}

@media (max-width: 640px){
  .landing-newsletter-confirm-wrap{
    padding: 28px 16px 44px;
    align-items: flex-start;
  }

  .landing-newsletter-confirm-card{
    border-radius: 22px;
    padding: 28px 18px 24px;
  }

  .landing-newsletter-confirm-icon{
    width: 72px;
    height: 72px;
    font-size: 32px;
    margin-bottom: 18px;
  }

  .landing-newsletter-confirm-title{
    font-size: 32px;
  }

  .landing-newsletter-confirm-text{
    font-size: 16px;
  }

  .landing-newsletter-confirm-text-small{
    font-size: 15px;
  }

  .landing-newsletter-confirm-actions{
    gap: 10px;
  }

  .landing-newsletter-confirm-actions .landing-btn{
    width: 100%;
    min-width: 0;
  }
}

/* =========================
   COOKIE BANNER
========================= */

.cookie-banner{
  position:fixed;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  width:min(90%, 600px);
  background:#ffffff;
  border:1px solid #e7dfd4;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,0.15);
  padding:16px 18px;
  z-index:9999;
}

.cookie-content{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.cookie-content p{
  margin:0;
  font-size:14px;
  line-height:1.5;
  color:#555;
}

.cookie-content a{
  color:#1f2a3a;
  font-weight:700;
  text-decoration:underline;
}

.cookie-content button{
  align-self:flex-end;
  background:#2f3138;
  color:white;
  border:none;
  padding:10px 16px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
}

@media (max-width:600px){
  .cookie-banner{
    bottom:10px;
    width:95%;
    padding:14px;
  }

  .cookie-content button{
    width:100%;
  }
}

button.success {
  border: 1px solid #2ecc71;
  color: #2ecc71;
  background: transparent;
}

button.success:hover {
  background: rgba(46, 204, 113, 0.1);
}

.host-reset-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
}

.host-reset-footer button {
  opacity: 0.8;
}

.host-reset-footer button:hover {
  opacity: 1;
}

.host-sidebar-pause-row{
  display:flex;
  gap:10px;
  margin-top:14px;
}

.host-sidebar-pause-row button{
  flex:1;
}

.host-sidebar-pause-row button {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.host-sidebar-pause-row button:hover {
  background: rgba(255,255,255,0.1);
}

.host-audio-controls{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.host-question-nav-btn.is-active-question{
  border:2px solid #d9a441;
  background:rgba(217, 164, 65, 0.14);
  box-shadow:0 0 0 3px rgba(217, 164, 65, 0.12);
  font-weight:800;
}

.set-usage-overview{
  grid-column:1 / -1;
  margin-bottom:18px;
}

.set-usage-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.set-usage-column{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:16px;
}

.set-usage-column h3{
  margin:0 0 12px 0;
  font-size:18px;
}

.set-usage-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height:320px;
  overflow:auto;
}

.set-usage-item{
  border-radius:10px;
  padding:10px 12px;
  font-size:14px;
  border:1px solid #e5e7eb;
  background:white;
}

.set-usage-item.free{
  border-color:#bbf7d0;
  background:#f0fdf4;
}

.set-usage-item.used{
  border-color:#fecaca;
  background:#fff1f2;
}

.set-usage-item strong{
  display:block;
}

.set-usage-item span{
  display:block;
  margin-top:4px;
  font-size:12px;
  opacity:.7;
}

@media (max-width:760px){
  .set-usage-grid{
    grid-template-columns:1fr;
  }
}

.landing-form-hint {
  font-size: 13px;
  color: #8b8b8b;
  margin: 4px 0 8px 0;
  line-height: 1.4;
}

.screen-social-row{
  width:min(100%, 980px);
  display:flex;
  justify-content:center;
  align-items:center;
  gap:34px;
  margin-top:4px;
}

.screen-social-item{
  display:flex;
  align-items:center;
  gap:12px;
  background:transparent;
  border:1px solid #e3ddd3;
  border-radius:999px;
  padding:12px 22px;
  box-shadow:0 10px 22px rgba(0,0,0,0.07);
  color:#1f2a3a;
  font-size:24px;
  font-weight:400;
}

.screen-social-item img{
  width:34px;
  height:34px;
  object-fit:contain;
  display:block;
}
