body { background-image: url('images/fond.jpg'); background-size: cover; background-position: center; background-attachment: fixed; margin: 0; padding: 0; overflow: hidden; font-family: 'Tahoma', sans-serif; }
.desktop-icon { position: absolute; display: flex; flex-direction: column; align-items: center; width: 80px; padding: 4px; cursor: pointer; color: white; text-shadow: 1px 1px 2px black; font-size: 12px; text-align: center; user-select: none; border: 1px solid transparent; }
.desktop-icon img { width: 48px; height: 48px; margin-bottom: 5px; }
.desktop-icon span { padding: 1px 3px; }
.desktop-icon.selected span { background-color: #316ac5; }
.window { position: absolute; min-width: 200px; min-height: 150px; max-width: 100vw; max-height: calc(100vh - 30px); z-index: 100; display: flex; flex-direction: column; overflow: hidden; }
.window-body { flex-grow: 1; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; }
.window-body iframe { flex-grow: 1; border: none; width: 100%; height: 100%; }
.window.minimized { visibility: hidden; }
.window.maximized { top: 0 !important; left: 0 !important; width: 100vw !important; height: calc(100vh - 30px) !important; transform: none !important; }
.resize-handle { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; cursor: se-resize; z-index: 10; }
.window.maximized .resize-handle { display: none; }
.title-icon { width: 16px; height: 16px; margin-right: 5px; }
.taskbar { position: fixed; bottom: 0; left: 0; width: 100%; height: 30px; background: linear-gradient(to bottom, #245edc 0%, #3f8cf3 9%, #245edc 18%, #245edc 92%, #1941a5 100%); border-top: 1px solid #0055ea; display: flex; align-items: center; padding: 0; box-sizing: border-box; z-index: 1000; }
.start-button { font-weight: bold; font-style: italic; font-size: 14px; display: flex; align-items: center; height: 30px; padding: 0 15px 0 10px; background: linear-gradient(to bottom, #38ba36 0%, #208e22 100%); color: white; border: 1px solid #146118; border-left: none; border-radius: 0 12px 12px 0; box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.6), 2px 0px 3px rgba(0,0,0,0.3); text-shadow: 1px 1px 2px rgba(0,0,0,0.7); cursor: pointer; }
.start-button:hover { background: linear-gradient(to bottom, #4ade4a 0%, #2eab2e 100%); }
.start-button:active { background: linear-gradient(to bottom, #208e22 0%, #38ba36 100%); box-shadow: inset 2px 2px 4px rgba(0,0,0,0.5); }
.taskbar-divider { width: 1px; height: 100%; background: #3c73e7; margin: 0 4px; box-shadow: 1px 0 0 #1b4ab1; }
.taskbar-apps { display: flex; align-items: center; height: 100%; flex-grow: 1; overflow: hidden; }
.task-button { height: 24px; margin: 0 2px; padding: 0 10px; background: linear-gradient(to bottom, #3d80e6, #245edc); color: white; border: 1px solid #103c8c; border-top-color: #82b1f1; border-radius: 2px; display: flex; align-items: center; font-size: 12px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; text-shadow: 1px 1px 1px #103c8c; }
.taskbar-icon { width: 16px; height: 16px; margin-right: 5px; }
.task-button:hover { background: linear-gradient(to bottom, #5d98ea, #3c73e7); }
.task-button.active { background: linear-gradient(to bottom, #1e4a9c, #2358b0); box-shadow: inset 1px 1px 2px rgba(0,0,0,0.4); border-color: #103c8c; border-top-color: #103c8c; }
.taskbar-clock-container { display: flex; align-items: center; margin-left: auto; flex-shrink: 0; }
#lang-switcher { height: 22px; margin-right: 4px; }
#taskbar-clock { color: white; padding: 0 8px; height: 22px; border: 1px solid #1b4ab1; box-shadow: inset 1px 1px 2px rgba(0,0,0,0.4); display: flex; align-items: center; margin-right: 2px; background-color: #0f8dec; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.3); display: flex; justify-content: center; align-items: center; z-index: 2000; }
.modal-window { width: 300px; position: static; }
.paint-container { display: flex; flex-direction: column; height: 100%; background: #808080; align-items: center; }
.paint-toolbar { padding: 5px; background: #ece9d8; border-bottom: 1px solid #999; display: flex; align-items: center; gap: 10px; flex-shrink: 0; width: 100%; box-sizing: border-box; }
.paint-canvas { width: 512px; height: 512px; max-width: 100%; max-height: 100%; cursor: crosshair; background-color: #fff; image-rendering: -moz-crisp-edges; image-rendering: -webkit-crisp-edges; image-rendering: pixelated; image-rendering: crisp-edges; margin-top: 10px; box-shadow: inset 0 0 2px #000; background-image: linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px); background-size: calc(100% / 64) calc(100% / 64); }
.gallery-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; padding: 10px; overflow-y: auto; flex-grow: 1; }
.gallery-item { border: 1px solid #ccc; padding: 5px; display: flex; flex-direction: column; align-items: center; background: #fff; }
.gallery-item img { max-width: 100px; max-height: 100px; object-fit: contain; margin-bottom: 5px; image-rendering: pixelated; }
.gallery-item .button-container { display: flex; gap: 5px; }
.image-viewer-container { flex-grow: 1; display: flex; justify-content: center; align-items: center; background: #333; padding: 10px; }
.image-viewer-container img { max-width: 100%; max-height: 100%; object-fit: contain; image-rendering: pixelated; }
.me-textarea { flex-grow: 1; width: 100%; height: 100%; box-sizing: border-box; resize: none; border: none; padding: 5px; }
.megadrive-launcher { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; width: 100%; padding: 20px; box-sizing: border-box; }
.megadrive-launcher p#rom-name { margin: 10px 0; font-style: italic; color: #333; }
.downloader-container { padding: 5px; background-color: #fff; height: 100%; overflow-y: auto; }
.downloader-item { display: flex; align-items: center; padding: 5px; cursor: pointer; border: 1px solid transparent; }
.downloader-item:hover { background-color: #e8f0fe; border: 1px solid #d4e3fa; }
.downloader-item img { width: 16px; height: 16px; margin-right: 8px; }
.downloader-item a { text-decoration: none; color: #000; }
.downloader-empty { padding: 10px; text-align: center; }
.calculator-container { display: flex; flex-direction: column; height: 100%; width: 100%; background: #ece9d8; }
.calculator-display { background-color: #fff; border: 1px inset #7f9db9; padding: 5px 10px; text-align: right; font-family: 'Lucida Console', monospace; font-size: 1.5em; height: 40px; line-height: 40px; overflow: hidden; margin: 5px; box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2); user-select: text; }
.calculator-buttons { flex-grow: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr); grid-gap: 5px; padding: 5px; }
.calculator-buttons button { font-size: 1.1em; border-radius: 2px; font-family: 'Tahoma', sans-serif; }
.calculator-buttons button:active { box-shadow: inset 1px 1px 2px rgba(0,0,0,0.4); border-style: inset; }
.about-container { display: flex; padding: 15px; user-select: text; width: 100%; height: 100%; box-sizing: border-box; }
.about-left-panel { flex-grow: 1; display: flex; flex-direction: column; }
.about-text-content { flex-grow: 1; }
.about-text-content p { margin-bottom: 1em; }
.about-email { width: 100%; box-sizing: border-box; text-align: center; border: 1px solid #7f9db9; padding: 5px; background-color: #fff; margin-top: 5px; margin-bottom: 1em; }
.about-footer { border-top: 1px solid #7f9db9; padding-top: 10px; margin-top: auto; display: flex; align-items: center; }
.about-footer button { margin-right: 5px; }
.about-png-placeholder { width: 81px; height: 31px; margin-left: 10px; }
.about-right-panel { width: 150px; flex-shrink: 0; margin-left: 15px; display: flex; flex-direction: column; align-items: center; }
.about-clock-box { border: 1px inset #7f9db9; padding: 10px; width: 100%; box-sizing: border-box; text-align: center; background: #fff; margin-bottom: 10px; }
.about-clock { font-family: 'Lucida Console', monospace; font-size: 1.8em; font-weight: bold; }
.about-status { font-style: italic; text-align: center; }
#thumbnail-preview-container { position: fixed; bottom: 35px; padding: 5px; background: #e1e1e1; border: 1px solid #666; border-radius: 3px; z-index: 2000; display: none; box-shadow: 2px 2px 5px rgba(0,0,0,0.5); transition: opacity 0.2s ease-in-out; opacity: 0; }
#thumbnail-preview-container.visible { display: block; opacity: 1; }
.postit-textarea { flex-grow: 1; width: 100%; height: 100%; box-sizing: border-box; resize: none; border: none; padding: 10px; font-family: 'Comic Sans MS', cursive; font-size: 14px; background-color: #fefabc; }
.guestbook-container { display: flex; flex-direction: column; height: 100%; position: relative; }
.guestbook-header { display: flex; justify-content: flex-end; align-items: center; padding: 2px 5px 0; flex-shrink: 0; }
.admin-login-button { border: none; background: none; cursor: pointer; font-size: 16px; opacity: 0.5; padding: 0; }
.admin-login-button:hover { opacity: 1; }
.admin-logout-button { font-size: 11px; }
.guestbook-messages { flex-grow: 1; overflow-y: auto; padding: 5px; background-color: #fff; border: 1px inset #7f9db9; margin: 5px; }
.guestbook-message { display: flex; gap: 8px; margin-bottom: 10px; padding: 5px; border-bottom: 1px solid #eee; }
.guestbook-message.pinned { background-color: #fffbdd; border: 1px solid #f0e68c; border-radius: 3px; }
.guestbook-pfp { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.guestbook-message-content { flex-grow: 1; }
.guestbook-message-header { display: flex; justify-content: space-between; align-items: center; }
.guestbook-message p { margin: 5px 0 0 0; white-space: pre-wrap; word-wrap: break-word; }
.message-actions { display: flex; align-items: center; gap: 5px; }
.guestbook-toolbar { display: flex; gap: 5px; padding: 0 5px 5px; border-bottom: 1px solid #ccc; }
.guestbook-toolbar button { font-size: 16px; width: 30px; height: 30px; }
.guestbook-toolbar input[type="color"] { width: 30px; height: 30px; padding: 0; border: 1px solid #7f9db9; cursor: pointer; }
.guestbook-form { flex-shrink: 0; padding: 5px; display: flex; flex-direction: column; gap: 5px; }
.guestbook-form input, .guestbook-form textarea { width: 100%; box-sizing: border-box; }
.guestbook-form textarea { resize: vertical; min-height: 60px; }
.admin-action { display: none; }
.pin-button, .delete-button { border: none; background: none; cursor: pointer; opacity: 0.6; }
.pin-button { font-size: 16px; }
.delete-button { font-size: 11px; }
.pin-button:hover, .delete-button:hover { opacity: 1; }
.emoji-picker { position: absolute; bottom: 115px; right: 5px; background-color: #fff; border: 1px solid #7f9db9; border-radius: 3px; padding: 5px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; z-index: 10; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); }
.emoji-item { cursor: pointer; padding: 2px; text-align: center; border-radius: 2px; }
.emoji-item:hover { background-color: #e8f0fe; }
.lechat-full-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.update-container { padding: 10px; overflow-y: auto; height: 100%; background-color: #fff; }
.update-admin-panel { margin-bottom: 20px; padding: 10px; border: 1px solid #7f9db9; background-color: #ece9d8; }
.update-admin-panel h3 { margin-top: 0; font-size: 1em; font-weight: bold; }
.update-admin-panel input, .update-admin-panel textarea { width: 100%; margin-bottom: 10px; padding: 5px; box-sizing: border-box; border: 1px inset #7f9db9; }
.update-admin-panel button { display: block; margin-left: auto; }
.update-item { margin-bottom: 20px; border-bottom: 1px solid #d4d0c8; padding-bottom: 10px; }
.update-header { margin-bottom: 10px; }
.update-date { font-size: 0.9em; color: #666; }
.update-title { margin: 0; font-weight: bold; }
.update-body { display: flex; gap: 15px; margin-top: 5px; }
.update-screenshot { max-width: 200px; max-height: 150px; height: auto; border: 1px inset #7f9db9; flex-shrink: 0; }
.update-description { margin: 0; white-space: pre-wrap; word-wrap: break-word; }
.midi-player-container { padding: 10px; display: flex; flex-direction: column; gap: 10px; height: 100%; box-sizing: border-box; }
.midi-player-container .field-row-stacked { display: flex; flex-direction: column; gap: 5px; }
.midi-player-container .status-text { font-size: 0.9em; font-style: italic; color: #555; min-height: 1.2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.midi-controls { display: flex; gap: 10px; margin-top: 10px; }
.midi-controls button { flex-grow: 1; }
.midi-player-container progress { width: 100%; margin-top: auto; }
.win98-window { background-color: #c0c0c0; font-family: 'Tahoma', sans-serif; display: flex; flex-direction: column; height: 100%; padding: 8px; box-sizing: border-box; }
.win98-header { margin-bottom: 5px; padding-bottom: 5px; border-bottom: 2px groove #ffffff; }
.win98-container { display: flex; flex-grow: 1; gap: 10px; margin-top: 5px; height: calc(100% - 30px); }
.win98-sidebar { width: 180px; background: #ffffff; border: 2px inset #ffffff; overflow-y: auto; }
.win98-list { list-style: none; padding: 0; margin: 0; }
.win98-list li { padding: 5px 8px; cursor: pointer; display: flex; align-items: center; gap: 8px; color: #000; font-size: 13px; }
.win98-list li img { width: 16px; height: 16px; image-rendering: pixelated; }
.win98-list li.active { background-color: #000080; color: #ffffff; }
.win98-content { flex-grow: 1; background: #ffffff; display: flex; flex-direction: column; align-items: center; text-align: center; overflow-y: auto; border: 2px inset #ffffff; padding: 15px; }
button.win98-btn { background: #c0c0c0; border: 2px solid; border-color: #ffffff #404040 #404040 #ffffff; padding: 4px 12px; color: black; cursor: pointer; font-family: 'Tahoma', sans-serif; font-size: 12px; outline: none; box-shadow: inset 1px 1px 0px #dfdfdf, inset -1px -1px 0px #808080; border-radius: 0; margin-top: 10px; }
button.win98-btn:active { border-color: #404040 #ffffff #ffffff #404040; box-shadow: inset 1px 1px 0px #000000, inset -1px -1px 0px #dfdfdf; padding: 5px 11px 3px 13px; }
button.win98-btn:disabled { color: #808080; text-shadow: 1px 1px 0px #ffffff; }
.markdown-body { padding: 10px; font-family: 'Segoe UI', Tahoma, sans-serif; line-height: 1.6; color: #333; }
.markdown-body h1, .markdown-body h2 { border-bottom: 1px solid #eee; padding-bottom: 5px; margin-top: 0; }
.markdown-body a { color: #316ac5; text-decoration: none; }
.markdown-body a:hover { text-decoration: underline; }
.markdown-body ul { padding-left: 20px; }
.markdown-body code { background: #f4f4f4; padding: 2px 4px; border-radius: 3px; font-family: 'Lucida Console', monospace; }