body {
     background-color: #0f0c29;
     background: linear-gradient(to right, #24243e, #302b63, #0f0c29);
     color: white;
     font-family: 'Montserrat', sans-serif;
     min-height: 100dvh;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow-y: auto;
     overflow-x: hidden;
     margin: 0;
     transition: background 0.5s ease;
     padding: 20px 0;
}
 .settings-list {
     max-width: 650px;
     margin: 0 auto;
     text-align: left;
}
 .settings-row {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 12px 0;
     border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
 .settings-row:last-child {
     border-bottom: none;
}
 .settings-label {
     font-weight: 600;
     font-size: 1rem;
     display: flex;
     align-items: center;
     gap: 10px;
}
 .settings-label i {
     font-size: 1.1rem;
     color: #00d2ff;
}
 .settings-sub-panel {
     background: rgba(255, 255, 255, 0.05);
     border-radius: 15px;
     padding: 10px 14px 5px 14px;
     margin-top: 1px;
}
 body.default {
     background: linear-gradient(to right, #4568dc, #b06ab3);
     --accent: #ffd166;
    /* exempel: varm gul accent för tema 2 */
     --accent-rgb: 255,209,102;
}
 body.theme-2 {
     background: linear-gradient(to right, #4568dc, #b06ab3);
     --accent: #00d2ff;
     !important;
    /* exempel: varm gul accent för tema 2 */
     --accent-rgb: 255,209,102;
}
 body.theme-3 {
     background: linear-gradient(to right, #243B55, #141E30);
     --accent: #a5dbe6;
    /* exempel: cyan accent för tema 3 */
     --accent-rgb: 0,210,255;
}
 body.theme-4 {
     background: linear-gradient(to right, #C04848, #480048);
     --accent: #ff6b6b;
    /* exempel: röd accent för tema 4 */
     --accent-rgb: 255,107,107;
}
/* Exempelregler som använder accentfärgen */
 .accent {
     color: var(--accent) !important;
}
 .form-check-input:checked {
     background-color: var(--accent) !important;
     border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.form-check-input:focus {
  box-shadow: none !important;
  outline: none !important;



}
 .form-range::-webkit-slider-thumb {
     background-color: var(--accent) !important;
}
 .form-range::-moz-range-thumb {
     background-color: var(--accent) !important;
}
 .game-container {
     width: 100%;
     max-width: 900px;
     padding: 10px;
     text-align: center;
     position: relative;
}
 :fullscreen .game-container {
     max-width: 95vw;
     display: flex;
     flex-direction: column;
     justify-content: center;
     height: 100vh;
}
 :fullscreen .card-display {
     min-height: 70vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
}
 :fullscreen .question-text {
     font-size: 5rem;
}
 :fullscreen .prefix-text {
     font-size: 2.5rem;
}
 :fullscreen .drink-warning {
     font-size: 3rem;
}
 :fullscreen .drink-prefix {
     font-size: 1.8rem;
}
 .card-display {
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(15px);
     border-radius: 40px;
     padding: 40px;
     box-shadow: 0 20px 50px rgba(0,0,0,0.6);
     min-height: 380px;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     border: 1px solid rgba(255,255,255,0.1);
     position: relative;
     overflow: hidden;
     width: 100%;
     margin-bottom: 20px;
     transition: all 0.3s ease;
}
 .card-display.mode-who {
     border: 1px solid #00d2ff;
     box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}
 .prefix-text {
     font-size: 1.4rem;
     text-transform: uppercase;
     letter-spacing: 2px;
     opacity: 0.8;
     margin-bottom: 10px;
}
 .question-text {
     font-size: 2.8rem;
     font-weight: 800;
     line-height: 1.1;
     margin-bottom: 30px;
}
 .drink-container {
     margin-top: 10px;
}
 .drink-prefix {
     font-size: 1rem;
     font-weight: 700;
     text-transform: uppercase;
     opacity: 0.9;
     margin-bottom: 5px;
     color: #ffbc00;
}
 .drink-warning {
     color: #ff4757;
     font-weight: 900;
     text-transform: uppercase;
     font-size: 1.5rem;
     padding: 10px 20px;
     border-radius: 15px;
     background: rgba(255, 71, 87, 0.1);
     display: inline-block;
     animation: none;
}
 .drink-warning.extreme-warning {
     font-size: 1.6rem;
     color: #ff3333;
     text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
     background: rgba(255, 0, 0, 0.15);
     animation: pulse 1.5s infinite;
}
 @keyframes pulse {
     0% {
         transform: scale(1);
    }
     50% {
         transform: scale(1.05);
    }
     100% {
         transform: scale(1);
    }
}
 .btn-custom {
     border-radius: 50px;
     padding: 12px 30px;
     font-weight: bold;
     text-transform: uppercase;
     transition: all 0.3s;
}
 .category-btn {
     margin: 4px;
     background: transparent;
     border: 1px solid rgba(255,255,255,0.12);
     color: #ededed;
     padding: 8px 16px;
     font-size: 0.85rem;
     border-radius: 20px;
     line-height: 1;
     transition: all 0.3s ease;
}
 .category-btn:hover {
     transition: all 0.3s ease;
	 background: rgba(255, 255, 255, 0.1);
	 border: border: 1px solid rgba(255, 255, 255, 0.12);
}
 .category-btn.active {
     background: rgba(255, 255, 255, 0.2);
     color: #ffffff;
     border: 1px solid rgba(255, 255, 255, 0.62);
}
 .uploaded-count-badge {
     padding: 2px 5px;
     font-weight: 700;
     font-size: 0.65rem !important;
}
 .settings-area {
     background: rgba(0, 0, 0, 0.2);
     padding: 25px;
     border-radius: 30px;
     margin-bottom: 30px;
     border: 1px solid rgba(255,255,255,0.05);
}
 .modal-content {
     background: rgba(15, 12, 41, 0.95);
     backdrop-filter: blur(20px);
     color: white;
     border: 1px solid rgba(255,255,255,0.2);
     border-radius: 10px;
}
 .group-title {
     font-size: 0.8rem;
     text-transform: uppercase;
     font-weight: 700;
     opacity: 0.6;
     display: block;
     margin-bottom: 10px;
}
 .timer-bar {
     height: 8px;
     background: var(--accent) !important;
     width: 0%;
     position: absolute;
     bottom: 0;
     left: 0;
     transition: none;
}
 .theme-dot {
     width: 35px;
     height: 35px;
     border-radius: 50%;
     display: inline-block;
     margin: 5px;
     cursor: pointer;
     border: 2px solid white;
     transition: transform 0.2s;
}
 .theme-dot:hover {
     transform: scale(1.2);
}
 .hidden {
     display: none !important;
}
 .controls-row {
     display: flex;
     justify-content: center;
     gap: 10px;
     flex-wrap: wrap;
}
 .game-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 15px;
     padding: 0 5px;
     position: relative;
}
 .active-categories-display {
     display: flex;
     gap: 5px;
     flex-wrap: wrap;
     justify-content: flex-start;
}
 .header-actions {
     display: flex;
     gap: 8px;
}
 .category-badge {
     background: rgba(255, 255, 255, 0.15);
     backdrop-filter: blur(5px);
     padding: 4px 12px;
     border-radius: 20px;
     font-size: 0.7rem;
     font-weight: 700;
     text-transform: uppercase;
     border: 1px solid rgba(255, 255, 255, 0.2);
     letter-spacing: 1px;
     color: rgba(255,255,255,0.9);
     transition: all 220ms ease;
     display: inline-flex;
     align-items: center;
     gap: 6px;
}
 .category-badge.badge-who {
     border-color: rgba(0,210,255,0.15);
     color: rgba(0,210,255,0.95);
     background: rgba(0,210,255,0.02);
}
 .category-badge.current {
     color: #fff;
     border-width: 1px;
}
 .category-badge[data-cat="allmänt"].current {
     border-color: rgba(255,255,255,0.55);
}
 .category-badge[data-cat="fest"].current {
     border-color: rgba(255,255,255,0.55);
     color: #fff;
}
 .category-badge[data-cat="18"].current {
     border-color: rgba(255,255,255,0.55);
     color: #fff;
}
 .category-badge[data-cat="specialkort"].current {
     border-color: rgba(215,102,255,0.95);
     color: #fff;
}
 .category-badge.badge-who.current {
     border-color: rgba(0,210,255,0.95);
     color: #fff;
     background: rgba(0,210,255,0.03);
}
 .btn-icon-only {
     width: 40px;
     height: 40px;
     padding: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.2);
     color: white;
     transition: all 0.2s;
}
 .btn-icon-only:hover {
     background: rgba(255, 255, 255, 0.2);
     transform: scale(1.1);
}
 .btn-icon-settings {
     width: 32px;
     height: 32px;
     padding: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     border: 1px solid rgba(255, 255, 255, 0.2);
     color: white;
     transition: all 0.2s;
}
 .btn-icon-settings:hover {
     background: rgba(255, 255, 255, 0.1);
     border-color: rgba(255, 255, 255, 0.3);
}
 #pauseBtn {
     font-size: 1.2rem;
     min-width: 60px;
}
 .question-animate {
     animation: slideFromLeft 600ms ease-out forwards;
}
 @keyframes slideFromLeft {
     0% {
         transform: translateX(-20px);
         opacity: 0;
    }
     100% {
         transform: translateX(0);
         opacity: 1;
    }
}
 .first-tip {
     position: absolute;
     left: 50%;
     width: 100%;
     transform: translateX(-50%);
     top: -68px;
     font-size: 0.85rem;
     color: rgba(255,255,255,0.95);
     opacity: 0;
     transition: opacity 220ms ease, transform 220ms ease;
     pointer-events: none;
}
 .first-tip.show {
     opacity: 1;
     transform: translateX(-50%) translateY(0);
     pointer-events: auto;
}
 .first-tip.hide {
     opacity: 0;
     transform: translateX(-50%) translateY(-6px);
     pointer-events: none;
}
 .card-category {
     position: absolute;
     top: 18px;
     left: 24px;
     padding: 6px 10px;
     border-radius: 999px;
     font-size: 0.75rem;
     text-transform: uppercase;
     letter-spacing: 0.6px;
     color: rgba(255,255,255,0.3);
     z-index: 5;
}
 .card-category.who {
     color: #00d2ff;
     border-color: rgba(0,210,255,0.18);
     background: rgba(0,210,255,0.03);
}
/* NY FOOTER STYLE */
 .game-footer {
     margin-top: 30px;
     padding: 15px;
     display: flex;
     justify-content: center;
     gap: 20px;
     flex-wrap: wrap;
     opacity: 0.5;
     transition: opacity 0.3s ease;
}
 .game-footer:hover {
     opacity: 1;
}
 .footer-link {
     color: rgba(255, 255, 255, 0.8);
     text-decoration: none;
     font-size: 0.75rem;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 1px;
     display: flex;
     align-items: center;
     gap: 6px;
     cursor: pointer;
}
 .footer-link:hover {
     color: var(--accent) !important;
}
 @media (max-width: 767px) {
     .card-display {
         padding: 25px 15px;
         min-height: 320px;
         border-radius: 30px;
    }
     .prefix-text {
         font-size: 1rem;
         margin-bottom: 5px;
    }
     .question-text {
         font-size: 1.8rem;
         line-height: 1.2;
         margin-bottom: 20px;
    }
     .drink-warning {
         font-size: 1.2rem;
         padding: 8px 15px;
    }
     .drink-warning.extreme-warning {
         font-size: 1.2rem;
    }
     .btn-custom {
         padding: 10px 20px;
         font-size: 0.9rem;
    }
     .game-footer {
         gap: 15px;
         margin-top: 20px;
    }
     .footer-link {
         font-size: 0.65rem;
    }
}
 .stats-card {
     background: rgba(255, 255, 255, 0.05);
     border-radius: 25px;
     padding: 20px;
     margin: 0 auto 20px;
     max-width: 600px;
     width: 90%;
     border: 1px solid rgba(255,255,255,0.1);
}
 .stat-item {
     text-align: center;
}
 .stat-value {
     font-size: 2rem;
     font-weight: 900;
     display: block;
}
 .stat-label {
     font-size: 0.7rem;
     text-transform: uppercase;
     opacity: 0.6;
     letter-spacing: 1px;
}
 @media (prefers-reduced-motion: reduce) {
     .question-animate, .drink-warning.extreme-warning {
         animation: none !important;
         transition: none !important;
    }
}
 ´ 
/* ============================================================ MODERN DROPDOWN - MATCHAD MED KATEGORIER & SETTINGS ============================================================ */
/* Behållaren */
 .playmode-dropdown {
     position: relative;
     display: inline-block;
}
/* Själva knappen (Toggle) */
 .playmode-dropdown .dropdown-toggle {
     background: transparent;
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.12);
     color: rgba(255, 255, 255, 0.9);
     font-family: 'Montserrat', sans-serif;
     font-size: 0.85rem;
     font-weight: 700;
     padding: 6px 12px;
     border-radius: 20px;
    /* Samma som .category-badge */
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 8px;
     min-width: 120px;
     transition: all 0.25s ease;
     cursor: pointer;
}
/* Ta bort Bootstraps inbyggda pil */
 .playmode-dropdown .dropdown-toggle::after {
     display: none !important;
}
/* Din egen ikon i knappen */
 .playmode-dropdown .dropdown-toggle i {
     font-size: 0.75rem;
     opacity: 0.6;
     transition: transform 0.2s ease;
}
/* Hover-tillstånd */
 .playmode-dropdown .dropdown-toggle:hover, .playmode-dropdown .dropdown-toggle:focus {
     background: rgba(255, 255, 255, 0.1);
     border-color: rgba(255, 255, 255, 0.3);
     color: #ffffff;
     outline: none;
     box-shadow: none;
}
/* När menyn är öppen - rotera pilen */
 .playmode-dropdown .show.dropdown-toggle i {
     transform: rotate(180deg);
}
/* Själva rullgardinsmenyn */
 .playmode-dropdown .dropdown-menu {
     background: rgba(15, 12, 41, 0.98);
    /* Mörk bas som matchar modal/body */
     backdrop-filter: blur(20px);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 15px;
     padding: 6px;
     margin-top: 8px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
     min-width: 100%;
    /* Samma bredd som knappen */
     z-index: 1050;
}
/* Varje val i listan (Item) */
 .playmode-dropdown .dropdown-item {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 10px 12px;
     color: #ffffff;
     font-family: 'Montserrat', sans-serif;
     font-size: 0.85rem;
     font-weight: 500;
     border-radius: 10px;
     transition: all 0.15s ease;
     cursor: pointer;
}
/* Hover på val i listan */
 .playmode-dropdown .dropdown-item:hover {
     background: rgba(255, 255, 255, 0.08);
     color: #ffffff !important;
}
/* Aktivt/Valt läge - Matchar .category-btn.active */
 .playmode-dropdown .dropdown-item.active {
     background: rgba(255, 255, 255, 0.06);
     color: var(--accent) !important;
}
/* Checkmark-ikonen inuti listan */
 .playmode-item .check {
     font-size: 1rem;
     color: var(--accent) !important;
     opacity: 0;
     transition: opacity 0.2s ease;
}
 .playmode-dropdown .dropdown-item.active .check {
     opacity: 1;
}
/* Beskrivningstext (om du använder .meta) */
 .playmode-item .meta {
     display: block;
     font-size: 0.75rem;
     text-transform: none;
    /* Inte versaler på beskrivningar */
     font-weight: 400;
     opacity: 0.5;
     margin-top: 2px;
     color: #ffffff;
}
 #consentBanner {
     position: fixed;
     left: 50%;
     transform: translateX(-50%);
     bottom: 18px;
     background: rgba(15, 12, 41, 0.85);
     backdrop-filter: blur(20px);
     color: #fff;
     padding: 20px;
    /* Lite mer padding ser ofta bättre ut när det är staplat */
     border-radius: 12px;
     border: 1px solid rgba(255, 255, 255, 0.12);
     box-shadow: 0 8px 24px rgba(0,0,0,0.6);
     z-index: 1055;
     max-width: 500px;
    /* Sänkte max-bredden något så den inte blir för bred på desktop */
     width: calc(100% - 40px);
    /* Ändringarna här: */
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 15px;
}
 #consentBanner .consent-text {
     font-size: 14px;
     color: #dbe6f5;
     text-align: center;
    /* Gör texten centrerad */
     line-height: 1.5;
    /* Gör texten mer lättläst */
}
 #consentBanner .consent-actions {
     display: flex;
     gap: 10px;
     justify-content: center;
}
/* Footer Info Sektion */
.footer-title {
    letter-spacing: 1px;
}

.footer-description {
    max-width: 600px;
    line-height: 1.6;
}

.footer-tab-btn {
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease;
}

.footer-tab-btn:hover, 
.footer-tab-btn.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
	color: #fff;
}

.info-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ta bort standard-pilen */
.accordion-button::after {
    display: none !important;
}

/* Valfritt: Om du vill att din egen ikon ska rotera 180 grader när den öppnas */
.accordion-button:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
	
}

.accordion-button:not(.collapsed) {
  font-weight: 600; /* eller bold */
}

/* Gör övergången mjuk */
.bi-chevron-down {
    transition: transform 0.2s ease-in-out;
}


/* Den moderna switchen - Ultra-kompakt */
.modern-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;          /* ⬅️ +2px höjd */
}

.modern-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Själva switch-spåret */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    transition: .3s;
    border-radius: 18px;

    border: 1px solid rgba(255, 255, 255, 0.20);
    box-sizing: border-box;

}

/* Aktiv */
input:checked + .slider {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* Den vita pricken */
.slider:before {
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;

    left: 2px;
    top: 50%;                         /* ⬅️ perfekt vertikal centrering */
    transform: translateY(-50%);

    background-color: #fff;
    transition: .3s;
    border-radius: 50%;
}

/* Flytta pricken horisontellt */
input:checked + .slider:before {
    transform: translate(16px, -50%);
}
