@charset "UTF-8"; html { height: 100%; } body { margin: 0; background-color: #000000; display: flex; justify-content: center; align-items: center; overflow-y: auto; padding: 10px; box-sizing: border-box; font-family: Arial, sans-serif; } #canvas-wrapper { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh; background-color: #000000; outline: none; place-items: center; touch-action: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -khtml-user-select: none; -webkit-user-drag: none; user-drag: none; } #loading-gif-overlay { grid-column: 1 / -1; grid-row: 1 / -1; width: 100%; height: 100%; max-width: calc(100dvh * (640 / 480)); max-height: calc(100dvw * (480 / 640)); aspect-ratio: 640 / 480; box-sizing: border-box; outline: none; } #canvas { display: none !important; grid-column: 1 / -1; grid-row: 1 / -1; background-color: #000000; border: none; z-index: 1; outline: none; } #loading-gif-overlay { background-color: #000000; border: none; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; } .quote-block { max-width: 80%; text-align: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .quote-block .quote-text { font-size: 0.5rem; color: #f0f0f0; margin-bottom: 10px; font-style: italic; line-height: 1.4; } .quote-block .quote-attribution { font-size: 0.4rem; color: #c0c0c0; text-align: right; } .loading-info-text { margin-top: 15px; padding: 10px 15px; max-width: 280px; width: 80%; font-size: 0.8em; color: #b0b0b0; line-height: 1.5; text-align: center; border-top: 1px dashed #444; padding-top: 15px; } .loading-info-text p { margin: 0 0 8px 0; } .loading-info-text p:last-child { margin-bottom: 0; } .status-message-bar { margin-top: 20px; padding: 8px 12px; width: 85%; max-width: 340px; background-color: #181818; color: #c0c0c0; font-family: 'Consolas', 'Menlo', 'Courier New', Courier, monospace; font-size: 0.75em; border-radius: 4px; text-align: center; line-height: 1.4; border: 1px solid #303030; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } .status-message-bar code { color: #FFD700; background-color: #2a2a2a; padding: 1px 5px; border-radius: 3px; font-weight: bold; } #main-container { display: flex; flex-direction: column; align-items: center; gap: 25px; background-color: #000000; padding: 20px; border-radius: 10px; max-width: 95vw; box-shadow: none; width: 900px; max-width: 95vw; touch-action: manipulation; } #top-content { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; width: 100%; } .video-container { position: relative; display: flex; justify-content: center; } #install-video { max-width: 100%; width: 300px; height: auto; display: block; aspect-ratio: 1 / 1; border: none; box-sizing: border-box; } #sound-toggle-emoji { position: absolute; top: 10px; left: 10px; font-size: 26px; color: white; text-shadow: 0 0 3px black; cursor: pointer; opacity: 0.7; transition: opacity 0.2s ease-in-out; z-index: 10; padding: 2px; user-select: none; } #sound-toggle-emoji:hover { opacity: 1; } #island-logo-img { max-width: 100%; width: 400px; height: auto; display: block; aspect-ratio: 567 / 198; } #controls-wrapper { display: flex; justify-content: space-around; align-items: flex-end; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 700px; padding: 10px 0; } .control-img { cursor: pointer; height: auto; max-width: 18%; display: block; transition: transform 0.1s ease-in-out; } #run-game-btn { aspect-ratio: 135 / 164; } #configure-btn { aspect-ratio: 130 / 147; } #free-stuff-btn { aspect-ratio: 134 / 149; } #read-me-btn { aspect-ratio: 134 / 149; } #cancel-btn { aspect-ratio: 93 / 145; } #install-btn { aspect-ratio: 94 / 166; } #uninstall-btn { aspect-ratio: 122 / 144; } .control-img:hover { transform: scale(1.08); } .footer-disclaimer { font-size: 0.7em; color: #888888; text-align: center; line-height: 1.4; max-width: 600px; width: 90%; } .footer-disclaimer p { margin: 4px 0; } .app-footer { width: 100%; text-align: center; padding-top: 15px; border-top: 1px solid #333; } .app-footer p { margin: 0; font-size: 0.8em; color: #777; font-family: 'Consolas', 'Menlo', monospace; } .page-content { display: none; flex-direction: column; align-items: center; justify-content: flex-start; color: #f0f0f0; width: 100%; touch-action: manipulation; } .page-back-button { display: block; width: 100%; text-align: left; font-size: 24px; font-weight: bold; color: white; text-decoration: none; cursor: pointer; opacity: 0.8; transition: all 0.2s ease-in-out; margin-bottom: 20px; } .page-back-button:hover { opacity: 1; color: #FFD700; } .page-inner-content { max-width: 700px; width: 100%; text-align: center; } .page-inner-content h1 { color: #FFD700; /* LEGO yellow */ font-size: 2.5em; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } .page-inner-content p { color: #c0c0c0; line-height: 1.6; font-size: 1.1em; margin-bottom: 15px; text-align: left; } .page-inner-content a { color: #FFD700; text-decoration: none; } .page-inner-content a:hover { text-decoration: underline; } #configure-page .page-inner-content.config-layout { display: flex; background-color: #181818; border: 1px solid #303030; border-radius: 8px; } .config-art-panel { flex: 0 0 200px; border-radius: 8px 0 0 8px; min-height: 420px; } .config-art-panel img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px 0 0 8px; } .config-main { flex-grow: 1; display: flex; flex-direction: column; padding: 20px; min-width: 0; } .config-form { flex-grow: 1; } /* Preset buttons */ .config-presets { display: flex; gap: 10px; margin-bottom: 15px; } .preset-btn { padding: 8px 16px; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); border: 1px solid #444; border-radius: 6px; color: #c0c0c0; font-size: 0.85em; font-weight: bold; cursor: pointer; transition: all 0.2s ease; } .preset-btn:hover { border-color: #FFD700; color: #FFD700; background: linear-gradient(135deg, #333 0%, #222 100%); } .preset-btn:active { transform: scale(0.98); } .preset-btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; } /* Config tabs */ .config-tabs { flex-grow: 1; display: flex; flex-direction: column; } .config-tab-buttons { display: flex; gap: 5px; border-bottom: 1px solid #333; margin-bottom: 15px; } .config-tab-btn { padding: 10px 18px; background: transparent; border: none; border-bottom: 2px solid transparent; color: #888; font-size: 0.9em; font-weight: bold; cursor: pointer; transition: all 0.2s ease; } .config-tab-btn:hover { color: #c0c0c0; } .config-tab-btn.active { color: #FFD700; border-bottom-color: #FFD700; } .config-tab-panel { display: none; } .config-tab-panel.active { display: block; } /* Collapsible section cards */ .config-section-card { background: linear-gradient(135deg, #1e1e1e 0%, #161616 100%); border: 1px solid #2a2a2a; border-radius: 8px; margin-bottom: 12px; } .config-section-card:last-child { margin-bottom: 0; } .config-card-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; color: #FFD700; font-size: 1em; font-weight: bold; cursor: pointer; user-select: none; list-style: none; } .config-card-header::-webkit-details-marker { display: none; } .config-card-header::after { content: '+'; font-size: 1.2em; color: #666; transition: transform 0.2s ease; margin-left: auto; } .config-section-card[open] .config-card-header::after { content: '−'; } .config-card-content { padding: 0 16px 16px 16px; } /* Toggle switches */ .toggle-group { display: flex; flex-direction: column; gap: 12px; } .toggle-switch { display: flex; align-items: center; user-select: none; min-width: 0; } .toggle-switch label { display: flex; align-items: center; cursor: pointer; } .toggle-switch input { position: absolute; opacity: 0; width: 0; height: 0; } .toggle-slider { position: relative; width: 44px; height: 24px; background-color: #333; border-radius: 24px; margin-right: 12px; transition: background-color 0.2s ease; flex-shrink: 0; } .toggle-slider::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background-color: #888; border-radius: 50%; transition: all 0.2s ease; } .toggle-switch input:checked + .toggle-slider { background-color: #3a5f3a; } .toggle-switch input:checked + .toggle-slider::after { left: 23px; background-color: #FFD700; } .toggle-label { color: #c0c0c0; font-size: 0.9em; white-space: nowrap; } @media (max-width: 768px) { .toggle-label { white-space: normal; } } .toggle-switch .tooltip-trigger { margin-left: 8px; flex-shrink: 0; } .toggle-badge { display: inline-block; padding: 2px 6px; margin-left: 8px; background-color: #333; border-radius: 4px; font-size: 0.75em; color: #888; } @media (max-width: 768px) { .toggle-badge { display: none; } } /* Config toast notification */ .config-toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(100px); background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); border: 1px solid #FFD700; border-radius: 8px; padding: 12px 24px; color: #f0f0f0; font-size: 0.9em; font-weight: bold; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 10000; } .config-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; } /* Offline play adjustments */ .offline-note { font-size: 0.75em; color: #666; margin-top: 8px; } .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; } .form-group-label { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #e0e0e0; font-weight: bold; font-size: 0.9em; margin-bottom: 10px; } .tooltip-trigger { position: relative; cursor: pointer; width: 16px; height: 16px; border-radius: 50%; background-color: #444; color: #eee; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; user-select: none; } .tooltip-content { position: absolute; bottom: 140%; left: 50%; transform: translateX(-50%); width: 220px; background-color: #2a2a2a; color: #f0f0f0; padding: 10px; border-radius: 5px; font-size: 0.85em; font-weight: normal; line-height: 1.4; text-align: left; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; pointer-events: none; } .tooltip-trigger:hover>.tooltip-content, .tooltip-trigger.active>.tooltip-content { opacity: 1; visibility: visible; } .option-list { display: flex; flex-direction: column; gap: 12px; } .option-item { display: flex; align-items: center; } .option-item input { position: absolute; opacity: 0; width: 0; height: 0; } .option-item label { display: inline-flex; align-items: center; cursor: pointer; font-size: 0.9em; color: #c0c0c0; } .option-item label::before { content: ''; width: 14px; height: 14px; margin-right: 10px; background-color: #333; border: 1px solid #555; transition: all 0.2s ease; } .option-item input:checked+label::before { background-color: #FFD700; border-color: #fff; box-shadow: 0 0 5px #FFD700; } .radio-group .option-item label::before { border-radius: 50%; } .checkbox-group .option-item label::before { border-radius: 3px; } input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: #444; outline: none; border-radius: 6px; } input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; background: #FFD700; cursor: pointer; border-radius: 50%; border: 2px solid #000; } input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: #FFD700; cursor: pointer; border-radius: 50%; border: 2px solid #000; } .select-wrapper { position: relative; } .select-wrapper::after { content: '▼'; position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: #FFD700; pointer-events: none; } select { -webkit-appearance: none; -moz-appearance: none; appearance: none; display: block; width: 100%; padding: 10px 15px; font-size: 0.9em; color: #c0c0c0; background-color: #333; border: 1px solid #555; border-radius: 4px; cursor: pointer; } .resource-list { display: flex; flex-direction: column; gap: 15px; width: 100%; } .resource-item { display: block; background-color: #1c1c1c; border: 1px solid #333; border-radius: 8px; padding: 20px; text-decoration: none; transition: background-color 0.2s ease, border-color 0.2s ease; } .resource-item:hover { background-color: #252525; border-color: #555; } .resource-item h3 { margin: 0 0 8px 0; color: #FFD700; font-size: 1.2em; } .resource-item p { margin: 0; color: #b0b0b0; font-size: 0.9em; line-height: 1.5; } .error-box { padding: 15px 20px; margin-bottom: 25px; border-left: 3px solid #ff0011; background-color: #1c1c1c; border-radius: 0 8px 8px 0; } .error-box p { font-style: italic; color: #e0e0e0; margin: 0; font-size: 1em; } .offline-play-grid { display: grid; grid-template-columns: 2fr 1fr; align-items: center; } .offline-play-text h4 { color: #FFD700; margin-top: 0; margin-bottom: 10px; } .offline-play-text p { text-align: left; line-height: 1.5; font-size: 0.9em; } .offline-play-controls { display: flex; justify-content: center; align-items: center; min-height: 150px; } #install-btn { max-width: 50%; margin: 0 auto; } #uninstall-btn { max-width: 70%; margin: 0 auto; } .progress-circular { display: none; position: relative; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(#181818 60%, transparent 61%), conic-gradient(#FFD700 0deg, #333 0deg); align-items: center; justify-content: center; color: #f0f0f0; font-size: 1.2em; font-weight: bold; font-family: 'Consolas', 'Menlo', monospace; transition: background 0.2s ease-out; } /* Read Me Tabs */ .readme-tabs { margin-top: 30px; padding-top: 20px; border-top: 1px solid #444; width: 100%; } .tab-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; } .tab-btn { display: flex; align-items: center; gap: 10px; padding: 12px 24px; background-color: #1c1c1c; border: 2px solid #333; border-radius: 8px; color: #888; font-size: 1em; font-weight: bold; cursor: pointer; transition: all 0.2s ease; } .tab-btn:hover { background-color: #252525; border-color: #555; color: #c0c0c0; } .tab-btn.active { background-color: #2a2a00; border-color: #FFD700; color: #FFD700; } .tab-icon { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; border: 1px solid #444; } .tab-btn.active .tab-icon { border-color: #FFD700; } .tab-panel { display: none; text-align: left; } .tab-panel.active { display: block; } .tab-panel > p { color: #c0c0c0; line-height: 1.6; font-size: 1em; margin-bottom: 15px; } .tab-panel > p a { color: #FFD700; text-decoration: none; } .tab-panel > p a:hover { text-decoration: underline; } .tab-panel details { background-color: #1c1c1c; border: 1px solid #333; border-radius: 8px; margin-bottom: 10px; transition: background-color 0.2s ease; } .tab-panel details[open] { background-color: #252525; } .tab-panel summary { padding: 20px; cursor: pointer; font-weight: bold; color: #e0e0e0; font-size: 1.1em; list-style: none; display: flex; justify-content: space-between; align-items: center; } .tab-panel summary::-webkit-details-marker { display: none; } .tab-panel summary::after { content: '+'; font-size: 1.5em; color: #FFD700; transition: transform 0.2s ease-in-out; } .tab-panel details[open] summary::after { transform: rotate(45deg); } .tab-panel details p { padding: 0 20px 20px 20px; margin: 0; color: #b0b0b0; font-size: 0.9em; line-height: 1.5; } .tab-panel details ul { padding: 0 20px 20px 40px; margin: 0; } .tab-panel details li { color: #b0b0b0; font-size: 0.9em; line-height: 1.6; margin-bottom: 8px; } .tab-panel details li:last-child { margin-bottom: 0; } .tab-panel details li strong { color: #FFD700; } /* Manual Section */ .manual-container { display: flex; align-items: center; gap: 15px; } .manual-description { color: #888; font-size: 0.95em; margin: 0; } .manual-open-btn { display: inline-block; padding: 12px 24px; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); border: 1px solid #FFD700; border-radius: 8px; color: #FFD700; font-size: 1em; font-weight: bold; text-decoration: none; transition: all 0.2s ease; } .manual-open-btn:hover { background: linear-gradient(135deg, #333 0%, #222 100%); box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); } /* Voices Section */ .voices-intro { color: #888; font-size: 0.95em; font-style: italic; margin-bottom: 20px; text-align: center; } .voices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; } .voice-card { background-color: #1c1c1c; border: 1px solid #333; border-left: 3px solid #FFD700; border-radius: 0 8px 8px 0; padding: 18px 20px; margin: 0; transition: background-color 0.2s ease, transform 0.2s ease; } .voice-card:hover { background-color: #252525; transform: translateY(-2px); } .voice-card p { color: #c0c0c0; font-size: 0.95em; line-height: 1.6; margin: 0 0 12px 0; font-style: italic; } .voice-card footer { color: #FFD700; font-size: 0.9em; font-weight: bold; text-align: right; } .voice-card footer::before { content: '— '; } /* Requirements Section */ .requirements-section { background-color: #1c1c1c; border: 1px solid #333; border-radius: 8px; padding: 20px; margin-bottom: 15px; } .requirements-section h3 { color: #FFD700; font-size: 1.1em; margin: 0 0 12px 0; } .requirements-section p { color: #c0c0c0; font-size: 0.95em; line-height: 1.6; margin: 0 0 12px 0; } .requirements-section p:last-child { margin-bottom: 0; } .requirements-list { margin: 0; padding-left: 20px; color: #c0c0c0; } .requirements-list li { font-size: 0.95em; line-height: 1.6; margin-bottom: 8px; } .requirements-list li:last-child { margin-bottom: 0; } .requirements-list li strong { color: #e0e0e0; } .requirements-note { font-size: 0.85em !important; color: #888 !important; font-style: italic; } /* Quote panel with side art */ .quote-panel { display: flex; background-color: #1c1c1c; border: 1px solid #333; border-radius: 8px; overflow: hidden; margin-bottom: 15px; } .quote-panel-art { flex: 0 0 auto; display: flex; align-items: center; padding: 15px; background-color: #111; } .quote-panel-art img { width: auto; height: auto; max-width: 180px; border-radius: 4px; display: block; } .quote-panel-content { flex: 1; padding: 20px; margin: 0; display: flex; flex-direction: column; justify-content: center; } .quote-panel-content p { color: #c0c0c0; font-size: 0.95em; line-height: 1.6; margin: 0 0 12px 0; font-style: italic; } .quote-panel-content footer { color: #FFD700; font-size: 0.9em; font-weight: bold; text-align: right; } .quote-panel-content footer::before { content: '— '; } /* Responsive adjustments */ @media (max-width: 768px) { #install-video { width: 260px; } #island-logo-img { width: 360px; } .control-img { max-width: 19%; } #sound-toggle-emoji { font-size: 24px; top: 8px; left: 8px; } .loading-info-text { max-width: 90%; font-size: 0.75em; } .page-inner-content h1 { font-size: 2em; } .page-inner-content p { font-size: 1em; } .config-art-panel { display: none; } #configure-page .page-inner-content.config-layout { background-color: transparent; border: none; padding: 0; } .config-main { background-color: #181818; border: 1px solid #303030; border-radius: 8px; padding: 15px; } .config-presets { flex-wrap: wrap; } .preset-btn { flex: 1; text-align: center; } .config-tab-buttons { flex-wrap: wrap; gap: 0; } .config-tab-btn { flex: 1 1 auto; padding: 8px 12px; font-size: 0.8em; text-align: center; } .form-grid { grid-template-columns: 1fr; } .offline-play-grid { grid-template-columns: 1fr; text-align: center; } .offline-play-text p { text-align: center; } .tab-btn { padding: 10px 18px; font-size: 0.9em; } .tab-icon { width: 42px; height: 42px; } .tab-buttons { flex-wrap: wrap; } .tab-btn { flex: 1 1 calc(50% - 5px); min-width: 0; justify-content: center; } .voices-grid { grid-template-columns: 1fr; } .quote-panel-art { display: none; } } @media (max-width: 480px) { #install-video { width: 90%; max-width: 280px; } #island-logo-img { width: 90%; max-width: 320px; } .control-img { max-width: 45%; margin: 3px 0; } #sound-toggle-emoji { font-size: 22px; top: 6px; left: 6px; } .loading-info-text { max-width: 95%; font-size: 0.7em; margin-top: 10px; padding-top: 10px; } .page-content .page-back-button { font-size: 22px; } .form-grid { grid-template-columns: 1fr; gap: 25px; } .tab-buttons { gap: 8px; } .tab-btn { padding: 8px 14px; font-size: 0.85em; gap: 8px; } .tab-icon { width: 28px; height: 28px; } .tab-btn { padding: 8px 12px; font-size: 0.75em; gap: 6px; } } /* Debug UI Panel */ #debug-ui { display: none; position: fixed; top: 10px; right: 10px; z-index: 1000; font-family: Arial, sans-serif; } #debug-toggle { width: 40px; height: 40px; border-radius: 50%; background-color: rgba(0, 0, 0, 0.7); border: 2px solid #FFD700; color: #FFD700; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; margin-left: auto; } #debug-toggle:hover { background-color: rgba(255, 215, 0, 0.2); transform: rotate(90deg); } #debug-toggle.active { background-color: #FFD700; color: #000; } #debug-panel { display: none; position: absolute; top: 50px; right: 0; width: 280px; max-height: calc(100dvh - 70px); overflow-y: auto; background-color: rgba(24, 24, 24, 0.95); border: 1px solid #444; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); } #debug-panel.open { display: block; } .debug-header { padding: 12px 15px; background-color: #FFD700; color: #000; font-weight: bold; font-size: 14px; border-radius: 7px 7px 0 0; position: sticky; top: 0; z-index: 1; } .debug-section { padding: 10px 12px; border-bottom: 1px solid #333; } .debug-section:last-child { border-bottom: none; } .debug-section-title { color: #FFD700; font-size: 11px; font-weight: bold; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.5px; } #debug-panel button { display: block; width: 100%; padding: 8px 10px; margin-bottom: 4px; background-color: #2a2a2a; border: 1px solid #444; border-radius: 4px; color: #e0e0e0; font-size: 12px; cursor: pointer; text-align: left; transition: all 0.15s ease; } #debug-panel button:last-child { margin-bottom: 0; } #debug-panel button:hover { background-color: #3a3a3a; border-color: #FFD700; } #debug-panel button:active { background-color: #FFD700; color: #000; } #debug-panel button.debug-password { background-color: #3d2a00; border-color: #FFD700; color: #FFD700; } #debug-panel button.debug-password:hover { background-color: #FFD700; color: #000; } #debug-panel button.debug-password.active { background-color: #00aa00; border-color: #00ff00; color: #fff; } #debug-panel button.requires-debug { opacity: 0.5; } #debug-panel button.requires-debug.enabled { opacity: 1; } .debug-location-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; } .debug-location-grid button { text-align: center; padding: 6px 4px; font-size: 11px; font-family: 'Consolas', 'Menlo', monospace; } /* Scrollbar styling for debug panel */ #debug-panel::-webkit-scrollbar { width: 6px; } #debug-panel::-webkit-scrollbar-track { background: #1a1a1a; } #debug-panel::-webkit-scrollbar-thumb { background: #555; border-radius: 3px; } #debug-panel::-webkit-scrollbar-thumb:hover { background: #FFD700; } #debug-animation-select, #debug-location-select { width: 100%; padding: 8px 10px; margin-bottom: 8px; background-color: #2a2a2a; border: 1px solid #444; border-radius: 4px; color: #e0e0e0; font-size: 12px; cursor: pointer; } #debug-animation-select:hover, #debug-location-select:hover { border-color: #FFD700; } #debug-animation-select:focus, #debug-location-select:focus { outline: none; border-color: #FFD700; } #debug-animation-select optgroup, #debug-location-select optgroup { background-color: #1a1a1a; color: #FFD700; font-weight: bold; } #debug-animation-select option, #debug-location-select option { background-color: #2a2a2a; color: #e0e0e0; padding: 4px; } /* Pizza celebration animation for OGEL mode */ .pizza-slice { position: fixed; font-size: 32px; pointer-events: none; z-index: 10000; animation: pizza-fly 1.5s ease-out forwards; } @keyframes pizza-fly { 0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.5); } } /* Notification popup (shared by update and goodbye popups) */ .notification-popup { position: fixed; bottom: 20px; right: 20px; z-index: 10001; display: flex; align-items: flex-end; gap: 0; animation: popup-bounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); } @keyframes popup-bounce { 0% { transform: translateX(120%); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } } .notification-popup-content { position: relative; display: flex; flex-direction: column; align-items: flex-end; } .update-speech-bubble { position: relative; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); border: 2px solid #FFD700; border-radius: 12px; padding: 15px 18px; margin-bottom: 10px; margin-right: -20px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); max-width: 200px; } .update-speech-bubble::after { content: ''; position: absolute; bottom: -12px; right: 30px; border-width: 12px 10px 0 10px; border-style: solid; border-color: #FFD700 transparent transparent transparent; } .update-speech-bubble::before { content: ''; position: absolute; bottom: -8px; right: 32px; border-width: 10px 8px 0 8px; border-style: solid; border-color: #1a1a1a transparent transparent transparent; z-index: 1; } .update-message { color: #f0f0f0; font-size: 0.95em; font-weight: 500; margin: 0 0 12px 0; line-height: 1.4; } .update-reload-btn { width: 100%; padding: 10px 16px; background-color: #FFD700; color: #000; border: none; border-radius: 6px; font-size: 0.9em; font-weight: bold; cursor: pointer; transition: all 0.2s ease; } .update-reload-btn:hover { background-color: #fff; transform: scale(1.03); } .update-dismiss-btn { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; padding: 0; background: #333; color: #888; border: 2px solid #555; border-radius: 50%; font-size: 14px; line-height: 1; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; z-index: 2; } .update-dismiss-btn:hover { color: #fff; border-color: #FFD700; background: #444; } .update-character { width: 120px; height: auto; border-radius: 12px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); animation: character-wave 2s ease-in-out infinite; animation-delay: 0.5s; } @keyframes character-wave { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(2deg); } 75% { transform: rotate(-2deg); } } @media (max-width: 480px) { .notification-popup { bottom: 10px; right: 10px; } .update-speech-bubble { max-width: 160px; margin-right: -15px; } .update-character { width: 90px; } .update-message { font-size: 0.85em; } .update-reload-btn { font-size: 0.85em; padding: 8px 12px; } } /* Goodbye popup progress bar */ .goodbye-progress { width: 100%; height: 4px; background: #333; border-radius: 2px; margin-top: 10px; overflow: hidden; } .goodbye-progress-bar { height: 100%; width: 0%; background: #FFD700; border-radius: 2px; transition: width 0.1s linear; }