:root {
            --bg-pattern: radial-gradient(#cbd5e1 1px, transparent 1px);
        }
        body {
            font-family: 'Inter', sans-serif;
            background-color: #f8fafc;
            background-image: var(--bg-pattern);
            background-size: 22px 22px;
            color: #0f172a;
            overflow-x: hidden;
        }
        h1, h2, h3, .font-display {
            font-family: 'Fredoka', sans-serif;
        }
        body.bg-candy { background-color: #fff1f2; background-image: radial-gradient(#fecdd3 1.5px, transparent 1.5px); }
        body.bg-sky { background-color: #f0f9ff; background-image: radial-gradient(#bae6fd 1.5px, transparent 1.5px); }
        body.bg-mint { background-color: #ecfdf5; background-image: radial-gradient(#a7f3d0 1.5px, transparent 1.5px); }
        body.bg-midnight { background-color: #0f172a; background-image: radial-gradient(#334155 1px, transparent 1px); color: #f8fafc; }
        body.bg-custom-photo { background-size: cover; background-position: center; background-attachment: fixed; }

        .wheel-stage-card {
            transition: background-image 0.3s ease, background-color 0.3s ease;
            background-size: cover;
            background-position: center;
        }
        .custom-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
        .custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
        .custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 9999px; }

/* Hide ugly horizontal scrollbars on mobile/tablet navigation bars */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

        .tab-btn.active {
            background: linear-gradient(135deg, #4f46e5, #6366f1);
            color: #ffffff;
            box-shadow: 0 6px 16px -3px rgba(79, 70, 229, 0.45);
        }
        @keyframes pulseSubtle {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.03); }
        }
        .animate-pulse-subtle { animation: pulseSubtle 2.4s infinite ease-in-out; }

.modal-backdrop > * { cursor: default; }

/* Embed Mode Optimizations for iframes */
body.embed-mode {
    background-color: transparent !important;
    background-image: none !important;
    min-height: auto !important;
}
body.embed-mode #hostMainWorkspace {
    padding: 0.5rem !important;
    max-width: 100% !important;
}

/* Clean Projector / Zen Presentation Mode */
body.zen-mode #leftAdAside,
body.zen-mode #rightEntriesSidebar,
body.zen-mode #bottomAdSection,
body.zen-mode #useCasesSection,
body.zen-mode #faqSection,
body.zen-mode footer,
body.zen-mode #participantQrSection {
    display: none !important;
}

body.zen-mode #centerToolColumn {
    grid-column: span 12 / span 12 !important;
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

body.zen-mode #exitZenBtn {
    display: flex !important;
}

/* Layout grid definitions for full-width tool panels when right entries sidebar is hidden */
@media (min-width: 1024px) {
    .lg\:col-span-10 {
        grid-column: span 10 / span 10 !important;
    }
    .lg\:col-span-12 {
        grid-column: span 12 / span 12 !important;
    }
}

/* Custom Utility Fallbacks */
.shadow-xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-2xs { box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.04); }
.backdrop-blur-xs { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.hover\:scale-102:hover { transform: scale(1.02); }
.drop-shadow-\[0_2px_10px_rgba\(0\,0\,0\,0\.5\)\] { filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5)); }
.shadow-\[0_0_35px_rgba\(255\,0\,128\,0\.85\)\,inset_0_0_18px_rgba\(0\,240\,255\,0\.7\)\] { box-shadow: 0 0 35px rgba(255,0,128,0.85), inset 0 0 18px rgba(0,240,255,0.7); }
.shadow-\[0_0_60px_rgba\(251\,191\,36\,0\.45\)\] { box-shadow: 0 0 60px rgba(251,191,36,0.45); }
@keyframes popScale {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.animate-\[popScale_0\.32s_cubic-bezier\(0\.175\,0\.885\,0\.32\,1\.275\)\] {
    animation: popScale 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.animate-\[popScale_0\.25s_ease-out\] {
    animation: popScale 0.25s ease-out;
}
.animate-\[popScale_0\.22s_ease-out\] {
    animation: popScale 0.22s ease-out;
}

/* Modal viewport centering & small-screen safety */
.modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

/* Always keep toast notifications above all modals and backdrops */
.z-\[9999\],
#spinklasToast,
#pwaUpdateToast {
    z-index: 9999 !important;
}

/* Confetti overlay canvas must never block modal button clicks */
body > canvas {
    pointer-events: none !important;
}

/* Keep FAQ 2-column grid cards independent in height */
#faqSection .grid {
    align-items: start !important;
}

#langDropdownMenu {
    left: 0 !important;
    right: auto !important;
    width: 12.5rem;
    max-height: min(75vh, 480px) !important;
}

html[dir="rtl"] #langDropdownMenu {
    left: auto !important;
    right: 0 !important;
}

/* Pastikan seluruh 6 tab Quick Guide tampil utuh dan pas tanpa terpotong */
#quickGuideModal > div {
    max-width: 48rem !important;
}

#quickGuideTabs {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 0.25rem !important;
}

#quickGuideTabs button {
    padding: 0.375rem 0.65rem !important;
    font-size: 0.75rem !important;
}

/* Cegah tombol kanan header terpotong di layar HP sempit */
header > div > div:last-child {
    flex-wrap: wrap;
}

/* Rapatkan Baris 1 kontrol Spin Wheel agar 5 tombol pas 1 baris di desktop */
#panel-wheel > div:first-child > div:first-child {
    gap: 0.35rem !important;
}

#panel-wheel > div:first-child > div:first-child > button,
#panel-wheel #wheelVisualDropdownBtn,
#panel-wheel > div:first-child > div:first-child > select {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
}

#panel-wheel #soundFxSelect {
    max-width: 8.75rem;
    text-overflow: ellipsis;
}

#wheelVisualPopover {
    top: 100%;
    width: 15.5rem;
    min-width: 15.5rem;
}

html[dir="rtl"] #wheelVisualPopover {
    left: auto;
    right: 0;
    text-align: right;
}

/* Word Cloud bouncy pop-in & gentle floating animations */
@keyframes cloudPopIn {
    0% { opacity: 0; transform: scale(0.65) translateY(8px); }
    70% { opacity: 1; transform: scale(1.08) translateY(-2px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes cloudFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

.word-cloud-chip {
    animation: cloudPopIn 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) var(--pop-delay, 0s) backwards,
               cloudFloat 3.6s ease-in-out var(--float-delay, 0s) infinite;
    will-change: transform;
}

.word-cloud-chip:hover {
    animation-play-state: paused;
    transform: scale(1.07);
}

/* Extra color utility & large projector timer size for v7.0.3 */
.bg-yellow-50 { background-color: #fefce8; }
.border-yellow-200 { border-color: #fef08a; }

@media (min-width: 768px) {
    .md\:text-8xl {
        font-size: 6rem;
        line-height: 1;
    }
}

/* Compact scoreboard team cards while preserving LEADER header stacking */
#scoreboardGrid .team-score-card {
    padding: 0.75rem 0.9rem !important;
    gap: 0.5rem !important;
}

#scoreboardGrid .team-score-card .team-score-value {
    font-size: 2.25rem;
    line-height: 1.05;
}

/* Custom Winner Message active dot indicator (v7.2.0) */
#winnerMsgActiveDot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #f59e0b;
    border-radius: 9999px;
    flex-shrink: 0;
}

/* Supplemental utility rules for v7.1.0 - v7.3.0 UI controls */
.border-sky-100 { border-color: #e0f2fe; }
.text-sky-700 { color: #0369a1; }
.text-sky-600 { color: #0284c7; }
.bg-teal-600 { background-color: #0d9488; }
.opacity-40 { opacity: 0.4; }
.cursor-not-allowed { cursor: not-allowed; }
.min-w-\[130px\] { min-width: 130px; }
.min-w-\[200px\] { min-width: 200px; }

/* Dark Mode Toggle Icons (v7.4.0) */
#darkModeIconSun { display: none; }
#darkModeIconMoon { display: block; }
body.dark-mode #darkModeIconMoon { display: none !important; }
body.dark-mode #darkModeIconSun { display: block !important; color: #facc15; }

/* High-Contrast Dark Mode Theme (v7.4.0) */
body.dark-mode {
    background-color: #0b1120 !important;
    background-image: radial-gradient(#1e293b 1px, transparent 1px) !important;
    color: #f1f5f9 !important;
}

body.dark-mode header {
    background-color: rgba(15, 23, 42, 0.94) !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

body.dark-mode footer {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

body.dark-mode [class*="bg-white"],
body.dark-mode [class*="bg-slate-50"],
body.dark-mode [class*="bg-slate-100"],
body.dark-mode .modal-card,
body.dark-mode #langDropdownMenu,
body.dark-mode #faqSection details,
body.dark-mode #useCasesSection .use-case-card,
body.dark-mode .team-score-card {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

body.dark-mode #useCasesSection .use-case-card {
    background-color: #0f172a !important;
}

body.dark-mode header .bg-slate-100,
body.dark-mode header #langSelectorBtn,
body.dark-mode header #muteBtn,
body.dark-mode header #headerQuickGuideBtn,
body.dark-mode header #zenModeBtn,
body.dark-mode header #darkModeToggleBtn,
body.dark-mode header #fullscreenBtn {
    background-color: #1e293b !important;
    border-color: #475569 !important;
    color: #f8fafc !important;
}

body.dark-mode header .bg-slate-100:hover,
body.dark-mode header #langSelectorBtn:hover,
body.dark-mode header #darkModeToggleBtn:hover,
body.dark-mode header #fullscreenBtn:hover {
    background-color: #334155 !important;
}

body.dark-mode #headerQuickGuideBtn,
body.dark-mode #headerQuickGuideBtn span {
    color: #f8fafc !important;
}

body.dark-mode #langDropdownMenu a,
body.dark-mode #langDropdownMenu button {
    color: #e2e8f0 !important;
}

body.dark-mode #langDropdownMenu a:hover,
body.dark-mode #langDropdownMenu button:hover {
    background-color: #334155 !important;
}

body.dark-mode [class*="text-slate-900"],
body.dark-mode [class*="text-slate-800"],
body.dark-mode [class*="text-slate-700"] {
    color: #f1f5f9 !important;
}

body.dark-mode [class*="text-slate-600"],
body.dark-mode [class*="text-slate-500"],
body.dark-mode [class*="text-slate-400"] {
    color: #94a3b8 !important;
}

body.dark-mode [class*="text-indigo-9"],
body.dark-mode [class*="text-indigo-8"],
body.dark-mode [class*="text-indigo-7"] {
    color: #a5b4fc !important;
}

body.dark-mode [class*="text-blue-9"],
body.dark-mode [class*="text-blue-8"],
body.dark-mode [class*="text-blue-7"] {
    color: #93c5fd !important;
}

body.dark-mode [class*="text-emerald-9"],
body.dark-mode [class*="text-emerald-8"],
body.dark-mode [class*="text-emerald-7"] {
    color: #6ee7b7 !important;
}

body.dark-mode [class*="text-amber-9"],
body.dark-mode [class*="text-amber-8"],
body.dark-mode [class*="text-amber-7"] {
    color: #fcd34d !important;
}

body.dark-mode [class*="bg-indigo-50"],
body.dark-mode [class*="bg-blue-50"],
body.dark-mode [class*="bg-emerald-50"],
body.dark-mode [class*="bg-amber-50"],
body.dark-mode [class*="bg-rose-50"],
body.dark-mode [class*="bg-sky-50"],
body.dark-mode [class*="bg-purple-50"] {
    background-color: rgba(30, 41, 59, 0.92) !important;
    border-color: #475569 !important;
}

body.dark-mode header [class*="bg-amber-100"] {
    background-color: rgba(180, 83, 9, 0.35) !important;
    border-color: #d97706 !important;
    color: #fde68a !important;
}

body.dark-mode header .tab-btn.active,
body.dark-mode .tab-btn.active,
body.dark-mode .tab-btn.active *,
body.dark-mode .bg-indigo-600,
body.dark-mode .bg-indigo-600 *,
body.dark-mode .bg-emerald-600,
body.dark-mode .bg-rose-600,
body.dark-mode .bg-teal-600 {
    color: #ffffff !important;
}

body.dark-mode [class*="border-slate-200"],
body.dark-mode [class*="border-slate-300"],
body.dark-mode [class*="border-slate-100"],
body.dark-mode [class*="border-indigo-100"],
body.dark-mode [class*="border-indigo-200"] {
    border-color: #334155 !important;
}

body.dark-mode input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
body.dark-mode textarea,
body.dark-mode select {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border-color: #475569 !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #64748b !important;
}

/* Keep QR containers crisp white so phone scanners can always read codes */
body.dark-mode #qrCodeCanvasBox,
body.dark-mode #shareQrCodeContainer {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
}

/* Wheel-Only Fullscreen Mode (v7.4.0) */
body.wheel-fullscreen-mode {
    overflow: hidden !important;
    background: #05000d !important;
}

body.wheel-fullscreen-mode header,
body.wheel-fullscreen-mode #leftAdAside,
body.wheel-fullscreen-mode #rightEntriesSidebar,
body.wheel-fullscreen-mode #bottomAdSection,
body.wheel-fullscreen-mode #useCasesSection,
body.wheel-fullscreen-mode #faqSection,
body.wheel-fullscreen-mode footer,
body.wheel-fullscreen-mode #participantQrSection,
body.wheel-fullscreen-mode #centerToolColumn > h1,
body.wheel-fullscreen-mode #panel-groups,
body.wheel-fullscreen-mode #panel-scoreboard,
body.wheel-fullscreen-mode #panel-board,
body.wheel-fullscreen-mode #panel-poll,
body.wheel-fullscreen-mode #panel-wheel > :not(#wheelStageContainer) {
    display: none !important;
}

body.wheel-fullscreen-mode #hostMainWorkspace {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.wheel-fullscreen-mode #centerToolColumn {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

body.wheel-fullscreen-mode #panel-wheel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.wheel-fullscreen-mode #wheelStageContainer {
    width: 100vw !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
    padding: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.wheel-fullscreen-mode #wheelCanvas {
    width: min(82vh, 88vw) !important;
    height: min(82vh, 88vw) !important;
    max-width: 820px;
    max-height: 820px;
}

body.wheel-fullscreen-mode #exitWheelFullscreenBtn {
    display: inline-flex !important;
}

/* Distinct Group Team Card Colors — Light & Dark Mode (v7.4.1) */
#groupsResultGrid .team-card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
#groupsResultGrid .team-card.team-card-v0 { background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%) !important; border-color: #a5b4fc !important; }
#groupsResultGrid .team-card.team-card-v1 { background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%) !important; border-color: #7dd3fc !important; }
#groupsResultGrid .team-card.team-card-v2 { background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%) !important; border-color: #6ee7b7 !important; }
#groupsResultGrid .team-card.team-card-v3 { background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%) !important; border-color: #fcd34d !important; }
#groupsResultGrid .team-card.team-card-v4 { background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%) !important; border-color: #fda4af !important; }
#groupsResultGrid .team-card.team-card-v5 { background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%) !important; border-color: #c4b5fd !important; }
#groupsResultGrid .team-card.team-card-v6 { background: linear-gradient(180deg, #ecfeff 0%, #cffafe 100%) !important; border-color: #67e8f9 !important; }
#groupsResultGrid .team-card.team-card-v7 { background: linear-gradient(180deg, #fdf2f8 0%, #fce7f3 100%) !important; border-color: #f9a8d4 !important; }
#groupsResultGrid .team-card .team-member-pill { background-color: rgba(255, 255, 255, 0.88) !important; }

body.dark-mode #groupsResultGrid .team-card.team-card-v0 { background: linear-gradient(180deg, #1e1b4b 0%, #17153b 100%) !important; border-color: #6366f1 !important; }
body.dark-mode #groupsResultGrid .team-card.team-card-v1 { background: linear-gradient(180deg, #0c2a44 0%, #092035 100%) !important; border-color: #38bdf8 !important; }
body.dark-mode #groupsResultGrid .team-card.team-card-v2 { background: linear-gradient(180deg, #063026 0%, #05251d 100%) !important; border-color: #34d399 !important; }
body.dark-mode #groupsResultGrid .team-card.team-card-v3 { background: linear-gradient(180deg, #33200a 0%, #261807 100%) !important; border-color: #fbbf24 !important; }
body.dark-mode #groupsResultGrid .team-card.team-card-v4 { background: linear-gradient(180deg, #38121f 0%, #2a0e17 100%) !important; border-color: #fb7185 !important; }
body.dark-mode #groupsResultGrid .team-card.team-card-v5 { background: linear-gradient(180deg, #271745 0%, #1d1134 100%) !important; border-color: #a78bfa !important; }
body.dark-mode #groupsResultGrid .team-card.team-card-v6 { background: linear-gradient(180deg, #092e3a 0%, #07232c 100%) !important; border-color: #22d3ee !important; }
body.dark-mode #groupsResultGrid .team-card.team-card-v7 { background: linear-gradient(180deg, #3b112f 0%, #2c0d23 100%) !important; border-color: #f472b6 !important; }

body.dark-mode #groupsResultGrid .team-card .team-member-pill {
    background-color: rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    color: #f8fafc !important;
}

body.dark-mode #groupsResultGrid .team-card .team-name-input {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #f8fafc !important;
}

body.dark-mode #groupsResultGrid .team-card .team-name-input:focus {
    background-color: rgba(15, 23, 42, 0.78) !important;
    border-color: #818cf8 !important;
}

body.dark-mode #groupsResultGrid .team-card .team-card-count {
    background-color: rgba(15, 23, 42, 0.65) !important;
    color: #e2e8f0 !important;
}

body.dark-mode #muteBtn {
    color: #f8fafc !important;
}

body.dark-mode [class*="from-slate-50"],
body.dark-mode [class*="from-amber-50/"] {
    background-image: none !important;
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

/* Bulletin Board Realistic Corkboard, 12 Sticky Notes, Rotation & 3D Pushpins (v7.4.1) */
#bulletinGrid {
    background-color: #c89b6e !important;
    background-image:
        radial-gradient(rgba(124, 74, 36, 0.22) 1px, transparent 1px),
        radial-gradient(rgba(255, 232, 200, 0.24) 1px, transparent 1px),
        linear-gradient(135deg, rgba(164, 113, 68, 0.22) 0%, rgba(200, 155, 110, 0.08) 50%, rgba(139, 90, 48, 0.22) 100%) !important;
    background-size: 16px 16px, 22px 22px, 100% 100% !important;
    background-position: 0 0, 8px 10px, 0 0 !important;
    border: 10px solid #7c4a24 !important;
    border-radius: 1.25rem !important;
    box-shadow: inset 0 6px 20px rgba(45, 22, 6, 0.45), 0 10px 24px rgba(15, 23, 42, 0.14) !important;
    padding: 1.5rem 1.25rem !important;
    gap: 1.35rem !important;
    min-height: 240px !important;
    align-items: start;
}

body.dark-mode #bulletinGrid {
    background-color: #3a2a1d !important;
    background-image:
        radial-gradient(rgba(15, 9, 4, 0.35) 1px, transparent 1px),
        radial-gradient(rgba(180, 130, 85, 0.12) 1px, transparent 1px),
        linear-gradient(135deg, rgba(25, 16, 10, 0.25) 0%, rgba(58, 42, 29, 0.1) 50%, rgba(18, 11, 6, 0.3) 100%) !important;
    border-color: #23170e !important;
    box-shadow: inset 0 6px 22px rgba(0, 0, 0, 0.65), 0 10px 26px rgba(0, 0, 0, 0.45) !important;
}

#bulletinGrid .sticky-note-card {
    position: relative;
    padding: 1.45rem 1rem 0.9rem !important;
    border-radius: 0.45rem 0.45rem 0.75rem 0.45rem !important;
    border-width: 1.5px !important;
    box-shadow: 0 6px 14px rgba(28, 15, 5, 0.24), 0 2px 4px rgba(0, 0, 0, 0.12) !important;
    transform: rotate(var(--card-tilt, 0deg));
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
    margin-top: 0.35rem;
}

#bulletinGrid .sticky-note-card:hover {
    transform: rotate(0deg) scale(1.02) !important;
    box-shadow: 0 14px 26px rgba(20, 10, 2, 0.32), 0 4px 10px rgba(0, 0, 0, 0.16) !important;
    z-index: 10;
}

.sticky-note-card.sticky-tilt-0 { --card-tilt: -2deg; }
.sticky-note-card.sticky-tilt-1 { --card-tilt: 1.5deg; }
.sticky-note-card.sticky-tilt-2 { --card-tilt: -1deg; }
.sticky-note-card.sticky-tilt-3 { --card-tilt: 2deg; }
.sticky-note-card.sticky-tilt-4 { --card-tilt: 0.8deg; }
.sticky-note-card.sticky-tilt-5 { --card-tilt: -1.8deg; }

/* Realistic 3D Pushpin at top-center of each note */
.sticky-pushpin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 17px;
    height: 17px;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.42), inset 0 -2px 3px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.sticky-pushpin::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    width: 5px;
    height: 5px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
}

.sticky-pin-0 { background: radial-gradient(circle at 35% 30%, #fca5a5, #dc2626 68%, #991b1b); }
.sticky-pin-1 { background: radial-gradient(circle at 35% 30%, #93c5fd, #2563eb 68%, #1e40af); }
.sticky-pin-2 { background: radial-gradient(circle at 35% 30%, #6ee7b7, #059669 68%, #065f46); }
.sticky-pin-3 { background: radial-gradient(circle at 35% 30%, #fde68a, #d97706 68%, #92400e); }
.sticky-pin-4 { background: radial-gradient(circle at 35% 30%, #c4b5fd, #7c3aed 68%, #4c1d95); }
.sticky-pin-5 { background: radial-gradient(circle at 35% 30%, #f9a8d4, #db2777 68%, #9d174d); }

/* 12 High-Contrast Sticky Note Colors (Light & Dark Corkboard Safe) */
#bulletinGrid .sticky-note-card.sticky-note-pink,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-pink { background: #fce7f3 !important; border-color: #f472b6 !important; }
#bulletinGrid .sticky-note-card.sticky-note-green,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-green { background: #dcfce7 !important; border-color: #4ade80 !important; }
#bulletinGrid .sticky-note-card.sticky-note-purple,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-purple { background: #f3e8ff !important; border-color: #c084fc !important; }
#bulletinGrid .sticky-note-card.sticky-note-yellow,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-yellow { background: #fef08a !important; border-color: #eab308 !important; }
#bulletinGrid .sticky-note-card.sticky-note-orange,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-orange { background: #ffedd5 !important; border-color: #fb923c !important; }
#bulletinGrid .sticky-note-card.sticky-note-sky,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-sky { background: #e0f2fe !important; border-color: #38bdf8 !important; }
#bulletinGrid .sticky-note-card.sticky-note-mint,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-mint { background: #d1fae5 !important; border-color: #34d399 !important; }
#bulletinGrid .sticky-note-card.sticky-note-coral,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-coral { background: #ffe4e6 !important; border-color: #fb7185 !important; }
#bulletinGrid .sticky-note-card.sticky-note-lime,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-lime { background: #ecfccb !important; border-color: #84cc16 !important; }
#bulletinGrid .sticky-note-card.sticky-note-lavender,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-lavender { background: #ede9fe !important; border-color: #a78bfa !important; }
#bulletinGrid .sticky-note-card.sticky-note-peach,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-peach { background: #fed7aa !important; border-color: #f97316 !important; }
#bulletinGrid .sticky-note-card.sticky-note-cyan,
body.dark-mode #bulletinGrid .sticky-note-card.sticky-note-cyan { background: #cffafe !important; border-color: #22d3ee !important; }

/* Guarantee sharp dark-ink legibility inside sticky notes in both Light & Dark Mode */
#bulletinGrid .sticky-note-card,
body.dark-mode #bulletinGrid .sticky-note-card,
#bulletinGrid .sticky-note-card .sticky-note-text,
body.dark-mode #bulletinGrid .sticky-note-card .sticky-note-text {
    color: #0f172a !important;
}

#bulletinGrid .sticky-note-card .sticky-note-meta,
body.dark-mode #bulletinGrid .sticky-note-card .sticky-note-meta {
    color: #334155 !important;
}

#bulletinGrid .sticky-note-card .sticky-note-like,
body.dark-mode #bulletinGrid .sticky-note-card .sticky-note-like {
    background-color: rgba(255, 255, 255, 0.88) !important;
    color: #0f172a !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
}

/* Final 10-Second Fullscreen Stopwatch Overlay (v7.4.2) */
#timerCountdownOverlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background-color: rgba(2, 6, 23, 0.86);
    backdrop-filter: blur(8px);
}

#timerStopwatchClock {
    position: relative;
    width: 18rem;
    height: 19.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
}

@media (min-width: 640px) {
    #timerStopwatchClock {
        width: 24rem;
        height: 26rem;
    }
}

.stopwatch-dial-face {
    fill: #ffffff;
    transition: fill 0.2s ease;
}

body.dark-mode .stopwatch-dial-face {
    fill: #0f172a;
}

.stopwatch-hour-tick {
    stroke: #334155;
    stroke-linecap: round;
}

body.dark-mode .stopwatch-hour-tick {
    stroke: #cbd5e1;
}

#timerOverlayWedge {
    transition: stroke-dashoffset 0.45s linear;
}

#timerOverlayReadout {
    position: absolute;
    top: 54.6%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8.25rem;
    height: 8.25rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.86);
    border: 2px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.14);
    pointer-events: none;
}

@media (min-width: 640px) {
    #timerOverlayReadout {
        width: 10.5rem;
        height: 10.5rem;
    }
}

body.dark-mode #timerOverlayReadout {
    background-color: rgba(15, 23, 42, 0.88) !important;
    border-color: rgba(250, 204, 21, 0.45) !important;
}

#timerOverlayNumber {
    font-size: 3.75rem;
    line-height: 0.95;
    font-weight: 800;
    color: #0f172a;
}

@media (min-width: 640px) {
    #timerOverlayNumber {
        font-size: 5rem;
    }
}

body.dark-mode #timerOverlayNumber {
    color: #f8fafc !important;
}

#timerCountdownOverlay.is-times-up #timerOverlayNumber,
body.dark-mode #timerCountdownOverlay.is-times-up #timerOverlayNumber {
    color: #ef4444 !important;
}

#timerOverlayUnit {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    margin-top: 0.2rem;
}

body.dark-mode #timerOverlayUnit {
    color: #cbd5e1 !important;
}

#timerOverlayTimesUp {
    color: #facc15 !important;
    text-shadow: 0 2px 12px rgba(250, 204, 21, 0.45);
}

@keyframes timerAlarmShake {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    12% { transform: translate3d(-10px, -3px, 0) rotate(-8deg); }
    24% { transform: translate3d(10px, 2px, 0) rotate(8deg); }
    36% { transform: translate3d(-11px, -2px, 0) rotate(-9deg); }
    48% { transform: translate3d(11px, 3px, 0) rotate(9deg); }
    60% { transform: translate3d(-9px, -2px, 0) rotate(-7deg); }
    72% { transform: translate3d(9px, 2px, 0) rotate(7deg); }
    84% { transform: translate3d(-5px, -1px, 0) rotate(-4deg); }
}

.timer-alarm-ringing {
    animation: timerAlarmShake 0.45s ease-in-out infinite !important;
}

/* 1-Click Zero-Typing Wheel Preset Pills (v7.4.3) */
.wheel-preset-pill {
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    line-height: 1.2;
}
.wheel-preset-pill:hover { transform: translateY(-1px); }
.wheel-preset-emerald { background-color: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.wheel-preset-emerald:hover { background-color: #d1fae5; }
.wheel-preset-sky { background-color: #e0f2fe; color: #0369a1; border-color: #bae6fd; }
.wheel-preset-sky:hover { background-color: #bae6fd; }
.wheel-preset-amber { background-color: #fffbeb; color: #b45309; border-color: #fde68a; }
.wheel-preset-amber:hover { background-color: #fef3c7; }
.wheel-preset-violet { background-color: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.wheel-preset-violet:hover { background-color: #ede9fe; }
.wheel-preset-slate { background-color: #f1f5f9; color: #334155; border-color: #cbd5e1; }
.wheel-preset-slate:hover { background-color: #e2e8f0; }

body.dark-mode .wheel-preset-emerald { background-color: rgba(6, 78, 59, 0.72) !important; color: #6ee7b7 !important; border-color: #10b981 !important; }
body.dark-mode .wheel-preset-sky { background-color: rgba(12, 74, 110, 0.72) !important; color: #7dd3fc !important; border-color: #38bdf8 !important; }
body.dark-mode .wheel-preset-amber { background-color: rgba(120, 53, 15, 0.72) !important; color: #fde68a !important; border-color: #f59e0b !important; }
body.dark-mode .wheel-preset-violet { background-color: rgba(76, 29, 149, 0.72) !important; color: #ddd6fe !important; border-color: #8b5cf6 !important; }
body.dark-mode .wheel-preset-slate { background-color: rgba(51, 65, 85, 0.85) !important; color: #f1f5f9 !important; border-color: #64748b !important; }

/* Pastikan form WebMCP tidak menggeser tombol SPIN! dari tengah roda */
.contents,
#webmcpWheelForm,
#webmcpNamesForm {
    display: contents !important;
    margin: 0;
    padding: 0;
}

/* Clean 1-Row Isolated Host Room Bar on Desktop (v7.5.1) */
.gap-1\.5 { gap: 0.375rem; }
@media (min-width: 1024px) {
    .lg\:flex-nowrap { flex-wrap: nowrap !important; }
}




