@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=Roboto:wght@300;400;700&display=swap');

/* --- CUSTOM FONTS --- */
@font-face {
    font-family: 'FiddlersCove';
    src: url('https://storage.googleapis.com/gemini-web-resources/fiddler.ttf') format('truetype');
}
@font-face {
    font-family: 'PiratesBay';
    src: url('https://storage.googleapis.com/gemini-web-resources/PiratesBay.ttf') format('truetype');
}

/* --- COLOR & THEME VARIABLES --- */
:root {
    --pyke-red: #A31C2D;
    --pyke-gold: #FFD700;
    --text-light: #E0E0E0;
    --text-dim: #A0A0A0;
    --red-dark: #1c0c0e;
    --red-medium: #4A171D;
    --red-accent: #8B0000;
    --pyke-blue-glow: #00BFFF;
    --eye-color: #3d0000;
}

/* --- BASE & BODY STYLES --- */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    background-color: #04080a;
    color: var(--text-light);
    margin: 0;
    padding: 0;
    background-image: linear-gradient(to bottom, #091118, #020405 85%), url('https://storage.googleapis.com/gemini-web-resources/pyke-guide/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative; 
}

body.no-custom-fonts * {
    font-family: 'Roboto', sans-serif !important;
}

/* --- ATMOSPHERIC EFFECTS --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(11,22,33,0) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 0;
    pointer-events: none;
}
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://storage.googleapis.com/gemini-web-resources/pyke-guide/caustics.png");
    background-size: cover;
    opacity: 0.05;
    animation: caustics-animation 30s linear infinite alternate;
    pointer-events: none;
    z-index: 0;
}
@keyframes caustics-animation {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1.1) rotate(5deg); }
}

#dark-sea-movement {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

#deep-sea-fish-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.sea-shadow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 2, 2, 0.2) 0%, rgba(5, 2, 2, 0) 70%);
    animation: move-shadow 25s ease-in-out infinite alternate;
}
#shadow-1 { top: -50%; left: -50%; width: 200%; height: 200%; }
#shadow-2 { bottom: -50%; right: -50%; width: 150%; height: 150%; animation-direction: alternate-reverse; animation-duration: 30s; }

@keyframes move-shadow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    100% { transform: translate(10%, 5%) scale(1.1); opacity: 0.8; }
}

.deep-sea-fish {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 80px; 
    opacity: 0.25;
    filter: blur(4px) brightness(0.4);
    animation-duration: 35s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes swim-right {
    0% { transform: translateX(-250px) translateY(0) scaleX(1); }
    50% { transform: translateX(calc(100vw + 250px)) translateY(50px) scaleX(1); }
    50.01% { transform: translateX(calc(100vw + 250px)) translateY(50px) scaleX(-1); }
    100% { transform: translateX(-250px) translateY(0) scaleX(-1); }
}

@keyframes swim-left {
    0% { transform: translateX(calc(100vw + 250px)) translateY(0) scaleX(-1); }
    50% { transform: translateX(-250px) translateY(-50px) scaleX(-1); }
    50.01% { transform: translateX(-250px) translateY(-50px) scaleX(1); }
    100% { transform: translateX(calc(100vw + 250px)) translateY(0) scaleX(1); }
}

#fog-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}
.fog {
    position: absolute;
    width: 300%; height: 100%;
    background-repeat: repeat-x;
    opacity: 0;
    animation-name: fog-animation;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
#fog-1 { background-image: url('https://storage.googleapis.com/gemini-web-resources/pyke-guide/fog-1.png'); background-size: contain; animation-duration: 120s; opacity: 0.4; }
#fog-2 { background-image: url('https://storage.googleapis.com/gemini-web-resources/pyke-guide/fog-2.png'); background-size: contain; animation-duration: 90s; animation-direction: reverse; opacity: 0.45; }
#fog-3 { background-image: url('https://storage.googleapis.com/gemini-web-resources/pyke-guide/fog-1.png'); background-size: cover; animation-duration: 70s; opacity: 0.5; }
#fog-4 { background-image: url('https://storage.googleapis.com/gemini-web-resources/pyke-guide/fog-2.png'); background-size: cover; animation-duration: 50s; animation-direction: reverse; opacity: 0.55; }
#fog-5 { background-image: url('https://storage.googleapis.com/gemini-web-resources/pyke-guide/fog-1.png'); background-size: contain; animation-duration: 200s; opacity: 0.35; }
@keyframes fog-animation {
    from { transform: translateX(-66.66%); }
    to { transform: translateX(0); }
}

#bubbles-container {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 4; 
    overflow: hidden;
}
.bubble {
    position: absolute;
    bottom: -30px;
    background-color: rgba(10, 80, 110, 0.35);
    border-radius: 50%;
    animation: bubble-rise linear infinite;
    box-shadow: 0 0 6px rgba(0, 150, 200, 0.4), inset 0 0 4px rgba(200, 255, 255, 0.3);
    border: 1px solid rgba(10, 100, 130, 0.6);
}
@keyframes bubble-rise {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-50vh) translateX(30px) scale(1.1); }
    100% { transform: translateY(-110vh) translateX(-30px) scale(0.9); opacity: 0; }
}

#eyes-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}
.eye-pair {
    position: absolute;
    width: 60px; height: 20px;
    opacity: 0;
}
.eye-pair::before, .eye-pair::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15px; height: 15px;
    background-color: var(--eye-color);
    border-radius: 50%;
    box-shadow: 0 0 15px 5px var(--eye-color);
    transition: background-color 0.3s, box-shadow 0.3s;
}
.eye-pair::before { left: 0; }
.eye-pair::after { right: 0; }
@keyframes fade-in-out {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    10%, 90% { opacity: 1; transform: scale(1); }
}

#error-popups-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1002;
}
.error-box {
    position: absolute;
    width: 300px;
    background: #f0f0f0;
    border: 1px solid #a0a0a0;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
    font-family: 'Tahoma', sans-serif;
    color: #000;
    border-radius: 3px;
    animation: fade-in-out 0.5s ease-out;
    pointer-events: all;
    transition: opacity 0.3s ease;
}
.error-title-bar { background: linear-gradient(to bottom, #eff5ff, #dbe8f9); padding: 3px 5px; font-weight: bold; font-size: 13px; border-bottom: 1px solid #a0a0a0; display: flex; justify-content: space-between; align-items: center; }
.error-close-btn { background: #e81123; color: white; border: 1px solid #ad1111; border-radius: 2px; width: 20px; height: 20px; line-height: 18px; text-align: center; cursor: pointer; font-size: 16px; }
.error-content { padding: 20px; display: flex; align-items: center; gap: 15px; }
.error-icon { font-size: 30px; font-weight: bold; color: #f7b731; background: #f7b73133; border-radius: 50%; width: 40px; height: 40px; text-align: center; line-height: 40px; }
.error-buttons { background: #f0f0f0; padding: 10px; text-align: center; border-top: 1px solid #ddd; }
.error-buttons button { min-width: 80px; padding: 5px 15px; margin: 0 5px; border: 1px solid #a0a0a0; background: #e1e1e1; cursor: pointer; }

/* --- PRE-GUIDE SCREENS --- */
.mobile-not-supported-message { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000 url('media/PykeSad.jpg') no-repeat center center; background-size: cover; justify-content: center; align-items: center; z-index: 9999; text-align: center; }
.mobile-not-supported-message .message-content { background-color: rgba(0, 0, 0, 0.85); color: var(--pyke-gold); font-family: 'FiddlersCove', 'Pirata One', cursive; font-size: 2.5em; padding: 30px 40px; border-radius: 15px; border: 3px solid var(--pyke-red); box-shadow: 0 0 40px rgba(0, 0, 0, 0.9); text-shadow: 2px 2px 8px #000; max-width: 90%; line-height: 1.3; }
.loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000 url('media/loadingBackground.jpg') no-repeat center center; background-size: cover; display: flex; justify-content: center; align-items: center; z-index: 1000; transition: opacity 0.5s ease-out; }
.loading-content { text-align: center; }
.loading-text { font-size: 2.2em; color: var(--pyke-gold); margin-bottom: 25px; font-family: 'FiddlersCove', 'Pirata One', cursive; text-shadow: 2px 2px 8px #000; background-color: rgba(0, 0, 0, 0.65); padding: 15px 25px; border-radius: 10px; border: 1px solid rgba(255, 215, 0, 0.3); }
.spinner { width: 60px; height: 60px; border: 5px solid rgba(255, 255, 255, 0.3); border-top: 5px solid var(--pyke-gold); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

#selection-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 900; transition: opacity 0.5s ease-out; }
.role-screen { position: absolute; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background-size: cover; background-position: center; transition: opacity 0.5s ease-out; opacity: 0; padding: 20px; }
#pyke-role-screen { background-image: url('https://storage.googleapis.com/gemini-web-resources/pyke-guide/backgroundWhatRoleIsPyke.jpg'); }
#user-role-screen { background-image: url('https://storage.googleapis.com/gemini-web-resources/pyke-guide/backgroundWhatRoleAreYou.jpg'); }
.selection-box { background-color: rgba(0, 0, 0, 0.75); padding: 40px; border-radius: 15px; border: 2px solid var(--red-accent); box-shadow: 0 0 30px rgba(0,0,0,0.8); backdrop-filter: blur(5px); text-align: center; }
.selection-question { font-size: 3em; color: var(--pyke-gold); margin: 0 0 40px 0; font-family: 'FiddlersCove', 'Pirata One', cursive; text-shadow: 3px 3px 10px #000, -2px -2px 5px #000; }
.role-buttons { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.role-btn { font-family: 'FiddlersCove', 'Pirata One', cursive; font-size: 1.8em; color: var(--text-light); background: transparent; border: none; padding: 0; margin: 0 10px; cursor: pointer; transition: all 0.3s ease; }
.role-btn:hover:not(:disabled) { transform: translateY(-5px) scale(1.05); }
.role-btn:hover:not(:disabled) .role-label { color: var(--pyke-red); }
.role-btn:disabled { filter: grayscale(100%) brightness(0.7); cursor: not-allowed; transform: none; }
.role-label { color: var(--pyke-gold); text-shadow: 1px 1px 4px #000; }

/* --- FLOATING UI CONTROLS --- */
.ui-wrapper { position: fixed; top: 20px; right: 20px; z-index: 1001; display: flex; flex-direction: column; align-items: flex-end; }
body:not(.guide-active) .ui-wrapper { display: none; }
.top-buttons { display: flex; gap: 10px; margin-bottom: 10px; background-color: rgba(10, 10, 10, 0.75); padding: 10px; border-radius: 15px; border: 2px solid var(--red-accent); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); }
#toggle-music-controls-button, #back-role-selection, #toggle-info-button, #toggle-feedback-button, #donation-button, #toggle-settings-button { background-color: rgba(10, 10, 10, 0.7); border: 2px solid var(--pyke-red); color: var(--pyke-gold); font-size: 1.2em; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; box-shadow: 0 0 15px rgba(139, 0, 0, 0.5); transition: all 0.3s ease; text-decoration: none; }
#toggle-music-controls-button:hover, #back-role-selection:hover, #toggle-info-button:hover, #toggle-feedback-button:hover, #donation-button:hover, #toggle-settings-button:hover { background-color: var(--pyke-red); color: white; transform: scale(1.05); box-shadow: 0 0 20px rgba(139, 0, 0, 0.8); }

#music-controls, #info-box, #feedback-box, #settings-box { display: flex; flex-direction: column; gap: 15px; background-color: rgba(10, 10, 10, 0.75); padding: 20px; border-radius: 15px; max-height: 500px; overflow-y: auto; transition: all 0.5s ease-out; border: 2px solid var(--red-accent); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); width: 340px; box-sizing: border-box; margin-top: 10px; }
#music-controls.music-controls-collapsed, #info-box.info-box-collapsed, #feedback-box.feedback-box-collapsed, #settings-box.settings-box-collapsed { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; border-width: 0; margin-top: 0; overflow: hidden; }
#info-box h2, #settings-box h2 { font-family: 'FiddlersCove', 'Pirata One', cursive !important; font-size: clamp(2em, 4vw, 2.5em) !important; color: var(--pyke-gold); margin: 0 0 10px 0; text-shadow: 1px 1px 4px #000; text-align: center; }
#info-box ul { padding: 0; margin: 0; list-style: none; }
#info-box li { font-family: 'PiratesBay', 'Pirata One', cursive !important; font-size: 1.4em !important; margin-bottom: 16px; line-height: 1.5; position: relative; padding-left: 25px; }
#info-box li::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--pyke-gold); }
#feedback-box { text-align: center; font-family: 'Roboto', sans-serif; }
#feedback-box h2 { font-family: 'FiddlersCove', cursive; font-size: 2em; color: var(--pyke-gold); margin: 0 0 10px; }
.close-btn { position: absolute; top: 10px; right: 10px; background: none; border: none; color: var(--text-light); font-size: 1.5em; cursor: pointer; }

/* --- MAIN CONTENT & GUIDE --- */
body:not(.guide-active) #main-header, body:not(.guide-active) .container, body:not(.guide-active) #main-footer { display: none; }
header { text-align: center; padding: 20px; margin-top: 40px; width: 100%; box-sizing: border-box; position: relative; z-index: 10; }
.pyke-header-content { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.title-background { background: rgba(0,0,0,0.7); padding: 10px 30px; border: 3px solid var(--pyke-red); border-radius: 10px; box-shadow: 0 0 20px var(--pyke-red); }
.subtitle-background { background: rgba(0,0,0,0.6); padding: 5px 20px; border: 2px solid var(--red-medium); border-radius: 8px; }
.quote-background { background: rgba(0,0,0,0.5); padding: 8px 15px; border-radius: 6px; margin-top: 5px; border: 1px solid var(--red-dark); }
header h1 { font-family: 'FiddlersCove', 'Pirata One', cursive; font-size: 5.5em; color: var(--pyke-red); text-shadow: 3px 3px 0 #000, 0 0 15px var(--pyke-red); margin: 0; }
header h2 { font-family: 'PiratesBay', 'Pirata One', cursive; font-size: 2.5em; color: var(--pyke-gold); text-shadow: 2px 2px 4px #000; margin: 0; }
#header-quote { font-family: 'PiratesBay', 'Pirata One', cursive; font-size: 1.8em; color: var(--text-dim); margin: 0; text-shadow: 1px 1px 2px #000; }

.container { max-width: 900px; margin: 40px auto; padding: 20px; background-color: rgba(10, 10, 10, 0.15); border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); border: 2px solid var(--red-accent); backdrop-filter: blur(5px); width: 95vw; box-sizing: border-box; position: relative; z-index: 10; background-position: center center; background-repeat: no-repeat; background-size: cover; transition: background-image 1s ease-in-out; }
.guide-section { background-color: rgba(74, 23, 29, 0.65); margin-bottom: 30px; padding: 2vw; border-radius: 10px; border: 1px solid var(--red-accent); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); transition: transform 0.3s ease, box-shadow 0.3s ease; word-break: break-word; animation: pulse-border 4s infinite alternate; }
@keyframes pulse-border { from { border-color: var(--red-accent); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 8px rgba(139, 0, 0, 0.5); } to { border-color: var(--pyke-gold); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 215, 0, 0.4); } }
.guide-section:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(139, 0, 0, 0.6); }
.guide-section h2 { font-family: 'FiddlersCove', 'Pirata One', cursive !important; font-size: clamp(2em, 5vw, 3em) !important; color: var(--pyke-gold); margin: 0 0 15px 0; text-shadow: 1px 1px 4px #000; }
.guide-font { font-family: 'PiratesBay', 'Pirata One', cursive !important; font-size: clamp(1.6em, 2.5vw, 1.9em) !important; line-height: 1.6; }
.guide-text-container p { text-shadow: 1px 1px 4px #000; }
.guide-text-container p:not(:last-child) { margin-bottom: 1em; }
#optimal-picks-list li { display: flex; align-items: center; text-shadow: 1px 1px 4px #000; }
#optimal-picks-list .champion-icon { width: 32px; height: 32px; margin-right: 15px; border-radius: 5px; border: 1px solid var(--pyke-gold); }

/* --- FOOTER --- */
footer { text-align: center; margin: 50px auto; display: none; flex-direction: column; color: var(--text-light); max-width: 1200px; width: 95vw; position: relative; z-index: 10; background: url(media/pykeSwag.jpg) no-repeat center 20%; background-size: cover; background-color: rgba(0,0,0,.3); border: 3px solid var(--red-accent); border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.7); overflow: hidden; }
.useful-links { padding: 35px 20px; }
.useful-links h3 { font-family: 'FiddlersCove', 'Pirata One', cursive; font-size: 2.5em; color: var(--pyke-gold); margin: 0 0 25px 0; text-shadow: 2px 2px 6px #000; }
.useful-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.useful-links li { margin: 0; padding: 0; display: block; }
.footer-button { font-family: 'PiratesBay', 'Pirata One', cursive; font-size: 1.6em; color: var(--text-light); text-decoration: none; background-color: rgba(10, 10, 10, 0.7); padding: 10px 20px; border-radius: 10px; border: 2px solid var(--pyke-red); box-shadow: 0 0 15px rgba(139, 0, 0, 0.5); transition: all 0.3s ease; display: inline-block; }
.footer-button:hover { color: var(--pyke-gold); background-color: var(--pyke-red); transform: scale(1.05) translateY(-3px); box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); border-color: var(--pyke-gold); }
.footer-copyright { padding: 15px 20px; font-size: 0.9em; background-color: rgba(5, 2, 2, 0.9); backdrop-filter: blur(4px); border-top: 3px solid var(--red-accent); }
.footer-copyright p { margin: 0; line-height: 1.5; color: var(--text-dim); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1000px) {
    #desktop-content-wrapper { display: none; }
    .mobile-not-supported-message { display: flex; }
    .useful-links ul { flex-direction: column; }
    header h1 { font-size: 3em; }
    header h2 { font-size: 1.5em; }
}

/* --- NEW & CORRECTED STYLES --- */
#music-controls .song-title-container { text-align: center; }
#music-controls .now-playing-label { display: none; } /* Hide old label */
#current-song-info { font-family: 'PiratesBay', 'Pirata One', cursive; font-size: 1.8em; color: var(--pyke-gold); text-shadow: 1px 1px 3px #000; }

#music-controls .progress-container { display: flex; align-items: center; gap: 10px; width: 100%; }
#music-controls .progress-container span { font-size: 0.9em; color: var(--text-dim); font-family: 'Roboto', sans-serif; }
#music-controls .song-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: rgba(0, 0, 0, 0.5); outline: none; border-radius: 3px; border: 1px solid var(--red-dark); cursor: pointer; }
#music-controls .song-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; background: var(--pyke-gold); cursor: pointer; border-radius: 50%; border: 2px solid var(--red-dark); box-shadow: 0 0 8px var(--pyke-gold); margin-top: -5px; }
#music-controls .song-slider::-moz-range-thumb { width: 16px; height: 16px; background: var(--pyke-gold); cursor: pointer; border-radius: 50%; border: 2px solid var(--red-dark); box-shadow: 0 0 8px var(--pyke-gold); }

#playlist-container { list-style: none; padding: 5px; margin: 0; max-height: 140px; overflow-y: auto; background: rgba(0, 0, 0, 0.3); border-radius: 5px; border: 1px solid rgba(0,0,0,0.5); }
#playlist-container li { font-family: 'PiratesBay', 'Pirata One', cursive; font-size: 1.4em; color: var(--text-dim); padding: 6px 10px; margin-bottom: 4px; border-radius: 4px; cursor: pointer; transition: background-color 0.2s, color 0.2s; text-shadow: 1px 1px 2px #000; }
#playlist-container li:hover { background-color: var(--red-medium); color: var(--text-light); }
#playlist-container li.active { background-color: var(--pyke-red); color: var(--pyke-gold); }

.volume-slider-container { display: flex; align-items: center; gap: 10px; width: 100%; color: var(--text-dim); }
.volume-slider-container i { font-size: 1.2em; }
#volume-slider { width: 100%; }

/* Settings Panel */
.setting-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 1.1em; }
.setting-item.column { flex-direction: column; align-items: flex-start; gap: 10px; }
.switch { position: relative; display: inline-block; width: 50px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 28px; border: 1px solid var(--red-accent); }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 3px; background-color: var(--text-dim); transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--pyke-red); }
input:checked + .slider:before { transform: translateX(22px); background-color: var(--pyke-gold); }

#splash-selector { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; width: 100%; margin-top: 5px; }
.splash-thumb { width: 100%; height: 40px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.3s, transform 0.3s; }
.splash-thumb:hover { transform: scale(1.05); }
.splash-thumb.active { border-color: var(--pyke-gold); }

.error-settings-box { border: 1px solid var(--red-medium); border-radius: 5px; padding: 10px; margin-top: 15px; background: rgba(0,0,0,0.2); }
.error-settings-box h3 { font-family: 'PiratesBay', 'Pirata One', cursive; color: var(--pyke-gold); margin: 0 0 10px; font-size: 1.3em; text-align: center; }
.error-freq-control { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
#error-freq-slider { width: 100%; }
#clear-errors-btn { width: 100%; padding: 8px; margin-top: 10px; background-color: var(--pyke-red); border: 1px solid var(--red-accent); color: var(--text-light); font-family: 'Roboto', sans-serif; cursor: pointer; transition: background-color 0.2s; border-radius: 4px; }
#clear-errors-btn:hover { background-color: var(--red-medium); }