/* ===== Base ===== */

body {
    background: #0f1117;
    color: #e4e6eb;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.session-title,
.host-badge,
.navbar-brand,
.section-title {
    font-family: 'Orbitron', sans-serif;
}

/* ===== Navbar ===== */

.navbar {
    background: #11131a;
    border-bottom: 1px solid #1f2330;
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 1px;
    color: #7b2ff7 !important;
}

/* ===== Buttons ===== */

.btn-primary {
    background: #7b2ff7;
    border: none;
}

.btn-primary:hover {
    background: #6922d1;
}

.btn-outline-primary {
    border-color: #7b2ff7;
    color: #7b2ff7;
}

.btn-outline-primary:hover {
    background: #7b2ff7;
    color: white;
}

/* ===== Panels ===== */

.panel {
    background: #161a23;
    border: 1px solid #1f2330;
    border-radius: 10px;
    padding: 24px;
}

/* ===== Game Panel ===== */

.game-panel {
    backdrop-filter: blur(12px);
    background: rgba(22, 26, 35, 0.85);
    border: 1px solid rgba(123, 47, 247, 0.3);
    border-radius: 16px;
    padding: 40px;
    animation: slideUp 0.6s ease;
}

/* Slide animation */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== Inputs ===== */

.game-input {
    background: rgba(15, 17, 23, 0.8);
    border: 1px solid #2a2f3d;
    color: #e4e6eb;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.2s ease;
}

.game-input:focus {
    border-color: #7b2ff7;
    box-shadow: 0 0 10px rgba(123, 47, 247, 0.4);
    background: rgba(20, 23, 32, 0.9);
    color: white;
}

/* Fix label color */
.form-label {
    color: #b0b4c3;
}

/* Make button stronger */
.btn-primary {
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== Headings ===== */

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 20px;
}

/* ===== Calendar Overrides ===== */

.fc {
    background: #161a23;
    border-radius: 10px;
    padding: 10px;
}

.fc-toolbar-title {
    font-weight: 600;
}

.fc .fc-toolbar.fc-header-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.fc .fc-toolbar-chunk:last-child {
    display: flex;
    justify-content: flex-end;
}

/* ===== Subtle Divider ===== */

hr {
    border-color: #1f2330;
}

/* ===== Full Center Layout ===== */

.main-wrapper {
    min-height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.content-center {
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

/* Make buttons centered */
.content-center .btn {
    margin: 8px;
}

/* Optional: nicer spacing */
.content-center h1,
.content-center h2,
.content-center p {
    margin-bottom: 20px;
}

/* ===== Background Slideshow ===== */

.bg-slideshow {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.bg-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.6);
}

/* Multiplayer Game Backgrounds (optimized size for faster LCP) */
.bg-slide:nth-child(1) {
    background-image: url("https://images.unsplash.com/photo-1606813907291-d86efa9b94db?auto=format&fit=crop&w=1200");
}

.bg-slide:nth-child(2) {
    background-image: url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1200");
}

.bg-slide:nth-child(3) {
    background-image: url("https://images.unsplash.com/photo-1493711662062-fa541adb3fc8?auto=format&fit=crop&w=1200");
}

.bg-slide.active {
    opacity: 1;
}

/* Dark Overlay for readability */
.bg-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 18, 0.75);
    z-index: -2;
}


/* animations */

.content-center {
    animation: fadeInFromBelow 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeInFromBelow {

  0% {
    opacity: 0;
    transform: translateY(200px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.panel {
    transition: transform 0.3s ease;
}

/* Sessions table dark theme */
.sessions-table tbody td {
    background-color: rgba(15, 17, 23, 0.8) !important;
    color: white !important;
}

/* header styling */
.sessions-table thead th {
    background-color: rgba(20, 23, 32, 0.95);
    color: white;
    border-bottom: 1px solid rgba(70, 80, 110, 0.4);
}

/* optional stripe */
.sessions-table tbody tr:nth-child(even) td {
    background-color: rgba(25, 28, 36, 0.85) !important;
}

/* hover effect */
.sessions-table tbody tr:hover td {
    background-color: rgba(40, 45, 60, 0.9) !important;
}

/* Search bar styling */
.session-search {
    background-color: rgba(15, 17, 23, 0.8);
    color: white;
    border: 1px solid rgba(80, 90, 120, 0.4);
}

.session-search::placeholder {
    color: rgba(200, 200, 200, 0.6);
}

.session-search:focus {
    background-color: rgba(15, 17, 23, 0.9);
    color: white;
    border-color: #4c8bf5;
    box-shadow: none;
}

.session-header {
    text-align: center;
    padding: 2.5rem 1rem 1.5rem;
}


.host-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(123, 47, 247, 0.12);
    border: 1px solid rgba(123, 47, 247, 0.35);
    color: #a97ff7;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.host-badge::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #7b2ff7;
    box-shadow: 0 0 8px #7b2ff7;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.session-title {
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.1;
    background: linear-gradient(130deg, #ffffff 30%, #9b6bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Squad cards */
.squad-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.squad-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.squad-pill {
    color: #fff;
    padding: 7px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.confirm-btns {
    display: flex;
    gap: 5px;
}

.confirm-btns button {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid;
    cursor: pointer;
    background: transparent;
    transition: all 0.15s;
    letter-spacing: 0.05em;
}

.btn-yes   { border-color: #22c55e; color: #22c55e; }
.btn-yes:hover   { background: rgba(34,197,94,0.15); }
.btn-maybe { border-color: #eab308; color: #eab308; }
.btn-maybe:hover { background: rgba(234,179,8,0.15); }
.btn-no    { border-color: #ef4444; color: #ef4444; }
.btn-no:hover    { background: rgba(239,68,68,0.15); }

.status-pill {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 999px;
}

.s-yes   { background: rgba(34,197,94,0.15);   color: #4ade80; border: 1px solid rgba(34,197,94,0.35);   }
.s-maybe { background: rgba(234,179,8,0.15);   color: #fbbf24; border: 1px solid rgba(234,179,8,0.35);   }
.s-no    { background: rgba(239,68,68,0.15);   color: #f87171; border: 1px solid rgba(239,68,68,0.35);   }
.s-none  { background: rgba(107,114,128,0.12); color: #9ca3af; border: 1px solid rgba(107,114,128,0.3);  }

/* Final time banner */
.final-time-banner {
    margin: 0 auto 1.5rem;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(123,47,247,0.12), rgba(123,47,247,0.04));
    border: 1px solid rgba(123, 47, 247, 0.3);
}

.final-time-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7b2ff7;
    margin-bottom: 4px;
}

.final-time-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
    margin: 0;
}

/* ===== Game Vote Cards ===== */

.game-vote-card {
    width: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1d27;
    border: 1px solid #2a2f3d;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s, border-color 0.15s;
}

.game-vote-card:hover {
    transform: translateY(-3px);
    border-color: rgba(123, 47, 247, 0.5);
}

.game-vote-card .game-cover-img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    display: block !important;
    background: #12141c;
}

.game-vote-card .game-cover-img[src=""] {
    visibility: hidden;
}

.game-vote-info {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.game-vote-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e4e6eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-vote-count {
    font-size: 0.72rem;
    color: #7b2ff7;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.disclaimer {
    display: flex;
    position: relative;
    flex-direction: column; 
    justify-content: flex-end; 
    align-items: center;
    height: 100%; 
    width: 100%;
    top: 20px;
}

/* Footer */
.disclaimer p {
    text-align: center;
    color: #7b2ff7;
    margin-bottom: 20px;
}

.privacy-notice {
    display: flex;
    flex-direction: column; 
    position: relative;
    justify-content: flex-end; 
    align-items: center;
    height: 100%; 
    width: 100%;
    top: 20px;
}

.privacy-notice p {
    text-align: center;
    color: #7b2ff7;
    margin-bottom: 20px;
}

.footer {
    font-size: 0.9rem;
    color: #777;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #11131a;
    z-index: 100;
    padding: 8px 0;
}

#policyModal .modal-content {
    background: #0f172a;
    color: #e2e8f0;
}


#policyModal .modal-header {
    background-color: #1e1e2f;
    border-bottom: 1px solid #333;
}

#policyModal .modal-title {
    color: #7b2ff7;       
    font-weight: 600;
}

#policyModal .btn-close {
    filter: invert(1);
}

#policyModal .modal-body {
    color: #e2e8f0;
    font-family: sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
}

#policyModal .modal-body strong {
    color: #ffffff;
}

#policyModal .disclaimer p,
#policyModal .privacy-notice p {
    color: #e2e8f0;
    text-align: left;
}

.btn-link{
    color: #7b2ff7;
}

/* Larger touch targets for calendar on mobile */
@media (max-width: 768px) {
    .fc .fc-timegrid-slot {
        height: 2.5rem !important;
    }
    .fc .fc-col-header-cell-cushion {
        padding: 8px 4px;
    }
}

 .dashboard-game {
    background: linear-gradient(135deg, #0f0c29 0%, #1a0a2e 30%, #16213e 60%, #0f3460 100%);
    min-height: 80vh;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
  }
  .dashboard-game::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.06) 0%, transparent 50%);
    pointer-events: none;
  }
  .dashboard-game .dashboard-title {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #00ffff, #ff00aa, #00ff88);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
  }
  .dashboard-game .stat-card {
    background: rgba(15, 20, 45, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
  }
  .dashboard-game .stat-card:hover {
    transform: translateY(-4px);
  }
  .dashboard-game .stat-card.cyan    { box-shadow: 0 0 20px rgba(0, 255, 255, 0.25);   border-color: rgba(0, 255, 255, 0.4); }
  .dashboard-game .stat-card.magenta { box-shadow: 0 0 20px rgba(255, 0, 128, 0.25);   border-color: rgba(255, 0, 128, 0.4); }
  .dashboard-game .stat-card.lime    { box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);   border-color: rgba(0, 255, 136, 0.4); }
  .dashboard-game .stat-card.orange  { box-shadow: 0 0 20px rgba(255, 165, 0, 0.25);   border-color: rgba(255, 165, 0, 0.4); }
  .dashboard-game .stat-card.purple  { box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);  border-color: rgba(168, 85, 247, 0.4); }
  .dashboard-game .stat-card.teal    { box-shadow: 0 0 20px rgba(0, 210, 180, 0.25);   border-color: rgba(0, 210, 180, 0.4); }
  .dashboard-game .stat-card.blue    { box-shadow: 0 0 20px rgba(56, 138, 221, 0.25);  border-color: rgba(56, 138, 221, 0.4); }
  .dashboard-game .stat-card .stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
  .dashboard-game .stat-card.cyan    .stat-label { color: #00ffff; }
  .dashboard-game .stat-card.magenta .stat-label { color: #ff00aa; }
  .dashboard-game .stat-card.lime    .stat-label { color: #00ff88; }
  .dashboard-game .stat-card.orange  .stat-label { color: #ffa500; }
  .dashboard-game .stat-card.purple  .stat-label { color: #a855f7; }
  .dashboard-game .stat-card.teal    .stat-label { color: #00d2b4; }
  .dashboard-game .stat-card.blue    .stat-label { color: #388add; }
  .dashboard-game .stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }
  .dashboard-game .stat-card .stat-hint {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.35rem;
  }

  /* Game bar chart */
  .game-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.6rem;
  }
  .game-bar-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    min-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
  }
  .game-bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
  }
  .game-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #00ffff, #00ff88);
  }
  .game-bar-count {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    min-width: 20px;
    text-align: right;
  }

  /* Confirmation breakdown */
  .confirm-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.6rem;
  }
  .confirm-bar-label {
    font-size: 0.78rem;
    min-width: 50px;
    text-align: left;
  }
  .confirm-bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
  }
  .confirm-bar-count {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    min-width: 20px;
    text-align: right;
  }

  .section-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 1.5rem 0 1rem;
  }
  .section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.75rem;
  }

/* ===== Session Page ===== */

.section-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.5rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b9b9b9;
    margin-bottom: 1rem;
}

.section-hint {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
}

/* Join nudge bar */
.join-nudge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.25);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #8bb9fe;
}

.join-nudge-link {
    color: #4d9fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.join-nudge-link:hover {
    color: #7dc3ff;
    text-decoration: underline;
}

/* Chosen game */
.chosen-game-display {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.chosen-game-info {
    display: flex;
    flex-direction: column;
}

.chosen-game-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.chosen-game-cover {
    width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Vote input row */
.vote-input-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.vote-field {
    max-width: 260px;
    flex: 1;
}

/* Game tally grid */
.game-tally-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

/* Join form */
.join-input {
    background: #1e1e2e;
    color: #fff;
    border: 1px solid #3a3a55;
    border-radius: 8px;
    transition: border-color 0.15s;
}

.join-input:focus {
    background: #1e1e2e;
    color: #fff;
    border-color: #7b2ff7;
    box-shadow: 0 0 0 2px rgba(123, 47, 247, 0.15);
}

.join-submit {
    font-size: 1rem;
    letter-spacing: 0.04em;
    border-radius: 8px;
}

.join-input::placeholder {
    color: rgba(255, 255, 255, 0.65);
    opacity: 1; /* important: prevents browser dimming */
}

/* Invite links */
.link-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.link-input {
    background: #1a1a2a;
    color: #aaa;
    border: 1px solid #333;
    border-radius: 6px;
    font-size: 0.8rem;
}

/* Host controls */
.host-controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.host-control-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 1rem;
    align-items: center;
}

@media (max-width: 576px) {
    .host-controls-grid { grid-template-columns: 1fr; }
    .vote-field { max-width: 100%; }
}

.consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 23, 1); /* fully opaque (alpha = 1) */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8vh;
  z-index: 9999;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.consent-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.consent-box {
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 24px;
    border-radius: 12px;
    background: #1c1c1c;
    color: #eee;
    pointer-events: auto;
}

.muted {
    color: rgba(255,255,255,0.7);
}

.small-muted {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.consent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.label {
    font-weight: 600;
    color: #00d4ff;
}

/* instruction colors */
.step-dot {
    display:inline-block;
    width:10px;
    height:10px;
    border-radius:50%;
    margin-right:8px;
}

.step-blue { background:#3b82f6; }
.step-green { background:#22c55e; }
.step-yellow { background:#eab308; }
.step-purple { background:#a855f7; }

.instruction-list {
    padding-left: 18px;
    line-height: 1.6;
}

.time-estimate {
    margin-top: 16px;
    color: rgba(255,255,255,0.75);
}

.consent-steps {
  list-style: none;   /* removes default bullets */
  padding-left: 0;
  margin: 0;
}

.consent-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

body.no-consent .panel,
body.no-consent nav {
  pointer-events: none;
  user-select: none;
}

.wrap-text {
  max-width: 220px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

input::placeholder {
  color: #aaa !important;
  opacity: 1 !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-label {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.4rem;
}

.exp-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  background: rgba(0,0,0,0.7);

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.exp-modal.show {
  display: block;
}

.exp-modal-content {
  background: #1e1e1e;
  max-width: 900px;
  width: 90%;

  margin: 40px auto;
  padding: 20px;
  border-radius: 10px;

  max-height: none;
  overflow: visible;
}

/* Make the overlay itself scrollable on mobile */
@media (max-width: 768px) {
    .consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 23, 1);
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4vh 16px;
    }

    .consent-box {
    max-width: 720px;
    max-height: none;        /* no artificial cap — overlay scrolls */
    overflow-y: visible;
    padding: 24px;
    border-radius: 12px;
    background: #1c1c1c;
    color: #eee;
    margin: 0 auto;          /* center horizontally */
    pointer-events: auto;
    }

  .consent-grid {
    grid-template-columns: 1fr;  /* stack the 2-col grid on narrow screens */
  }
}


.exp-detail-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 12px;

  font-size: 0.9rem;
  color: #ddd;
}

.exp-detail-grid b {
  color: #ffffff;
}