:root {
    --site-font: 'Inter', sans-serif; 
    --accent-color: #dce4e6;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--site-font);
}
body {
    background-color: #202124;
    color: #e8eaed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.3s, color 0.3s;
    overflow: hidden;
}
body.light {
    background-color: #fff;
    color: #000;
}
body.light .search-bar input,
body.light .buttons button,
body.light .favorite-item,
body.light #menuPanel,
body.light #accountModalInner,
body.light .weather-widget {
    background-color: #f1f3f4;
    color: #000;
}
body.light .favorite-item a { color: #000; }
body.light .favorite-item img {
    background: rgba(0, 0, 0, 0);
}
body.light #suggestions {
    background-color: #f1f3f4;
    color: #000;
}
body.light #suggestions li:hover {
    background-color: #e0e0e0;
}
body.light #suggestions li.selected {
    background-color: #d1d1d1;
}
body.light .logo .logo-name {
    color: #000 !important;
}
.weather-widget {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: rgb(48, 49, 52);
    color: #e8eaed;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-family: var(--site-font);
    max-width: 250px;
    z-index: 1001;
    white-space: normal;
    word-wrap: break-word;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s;
}
body.light .weather-widget {
    background-color: rgba(241, 243, 244, 0.9);
    color: #000;
}
.weather-widget:hover {
    background-color: rgba(60, 64, 67, 0.9);
}
body.light .weather-widget:hover {
    background-color: rgba(224, 224, 224, 0.9);
}
.weather-widget.hidden { display: none; }
.weather-error {
    font-size: 12px;
    color: #ff4444;
    text-align: center;
    padding: 5px 10px;
    background-color: rgba(245, 40, 145, 0);
    border-radius: 5px;
    display: inline-block;
}
body.light .weather-error {
    background-color: rgba(255, 68, 68, 0.05);
    color: #cc0000;
}
#voiceSearchModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background-color: rgb(48, 49, 52);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 10010;
    color: #e8eaed;
    width: 320px;
    text-align: center;
    animation: scaleIn 0.18s ease-out forwards;
}
body.light #voiceSearchModal {
    background-color: rgb(255, 255, 255);
    color: #000;
}
#voiceSearchModal.show {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
#voiceTranscript {
    width: 100%;
    min-height: 0px;
    max-height: 200px;
    padding: 0.75rem;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 30px;
    background: rgb(48, 49, 52);
    color: #fff;
    font-size: 1rem;
}
body.light #voiceTranscript {
    color: #000000;
    background: rgba(241, 243, 244, 0.9);
}
#voiceSearchModal .accent {
    color: white;
    background-color: #202124;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.5rem;
}
#voiceSearchModal .accent:hover {
    transform: scale(1.08);
    background-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
#voiceIcon {
    color: white;
    transition: color 0.3s ease;
}
#voiceIcon.active {
    color: red;
}
.voice-icon.active {
    color: red;
}
.accent {
    background-color: #00bcd4;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.info-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(48, 49, 52);
    color: #e8eaed;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 1000;
}
body.light .info-bar {
    background-color: rgba(241, 243, 244, 0.9);
    color: #000;
}
.info-bar.hidden { display: none; }
.url-sidebar {
    position: fixed;
    width: 200px;
    height: calc(100vh - 40px);
    background-color: rgba(48, 49, 52, 0.9);
    color: #e8eaed;
    padding: 10px;
    border-radius: 10px;
    z-index: 1000;
    display: none;
    overflow-y: auto;
}
.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1000;
}
.logo {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo.hidden { display: none; }
.logo img {
    max-height: 80px;
    cursor: pointer;
}
.logo .logo-name {
    font-size: 36px;
    font-weight: bold;
    color: #e8eaed;
}
.search-bar {
    width: 100%;
    max-width: 580px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1002;
}
.search-bar input {
    width: 100%;
    padding: 14px 50px 14px 44px;
    border-radius: 25px;
    border: none;
    background-color: #303134;
    color: #e8eaed;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    will-change: transform, box-shadow;
}
.search-bar input:focus {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
body.light .search-bar input {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
body.light .search-bar input:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.icon-left, .icon-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}
.icon-left {
    left: 12px;
}
.icon-right {
    right: 12px;
}
.icon-left img, .icon-right img {
    width: 24px;
    height: 24px;
}
.buttons {
    margin-bottom: 0;
    z-index: 1001;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.buttons button {
    background-color: #303134;
    color: #e8eaed;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    will-change: transform, box-shadow;
}
.buttons button:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    filter: brightness(1.2);
}
.buttons button:active {
    transform: scale(0.95);
    filter: brightness(0.9);
}
.buttons button:hover {
    transform: scale(1.08);
    background-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.favorites {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 19px;
    flex-wrap: wrap;
    z-index: 1000;
    position: relative;
}
.favorites.hidden { display: none; }
.favorite-item {
    border-radius: 40%;
    width: 60px;
    height: 60px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: move;
    background-color: #3a3b3c;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.favorite-item:hover, #addFavoriteBtn:hover {
    transform: scale(1.08);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.25);
}
.favorite-item:hover a, #addFavoriteBtn:hover {
    color: #ffffff !important;
}
.favorite-item:active, #addFavoriteBtn:active {
    transform: scale(0.96);
    filter: brightness(0.95);
}
.favorite-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background: rgba(245, 40, 145, 0);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}
.favorite-item:hover span {
    opacity: 1;
}
.favorite-item img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(245, 40, 145, 0);
    margin-top: 20px;
}
.favorite-item span { 
    position: absolute;
    top: 40px;
    right: 19px;
    background: rgba(245, 40, 145, 0);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
}
.favorite-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.favorite-item a img {
    margin-bottom: 6px;
}
.favorite-item a span, .favorite-item a {
    position: relative;
    top: 12px;
}
.favorite-item:hover span {
    opacity: 1;
}
.favorite-item a {
    text-decoration: none;
    display: block;
    font-weight: 600;
    font-size: 12px;
    color: #e8eaed;
    text-align: center;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#addFavoriteBtn {
    background-color: var(--accent-color);
    color: #000;
    border-radius: 40%;
    width: 60px;
    height: 60px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    will-change: transform, box-shadow;
    margin-left: 8px;
    margin-right: 8px;
}
#addFavoriteBtn:hover {
    color: #ffffff !important;
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
#addFavoriteBtn:active {
    transform: scale(0.96);
    filter: brightness(0.95);
}
#menuButton {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #303134;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
    z-index: 1001;
    transition: transform 0.2s, box-shadow 0.2s;
    will-change: transform, box-shadow;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}
#menuButton:hover {
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
#menuButton:active {
    transform: scale(0.96);
    filter: brightness(0.95);
}
#menuButton img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
body.light #menuButton {
    background-color: #f1f3f4;
    color: #000;
}
#accountButton {
    position: fixed;
    top: 20px;
    right: 80px; /* menuButton’dan sonra */
    background: #303134;
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: none;
    padding: 0;
    transition: box-shadow 0.2s, background 0.2s, color 0.2s;
    z-index: 1001;
}
#accountButton:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.16);
    background: #444;
    color: #fff;
}
body.light #accountButton {
    background: #fff;
    color: #000;
}
body.light #accountButton:hover {
    background: #e0e0e0;
    color: #000;
}
#accountButton img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
#menuPanel {
    display: none;
    position: fixed;
    top: 85px;
    right: 20px;
    background-color: #303134;
    color: white;
    padding: 20px;
    border-radius: 20px;
    width: 320px;
    text-align: left;
    z-index: 1005;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #5c5e60 #303134;
    animation: modalFadeIn 0.18s;
    contain: content; /* İçeriğin taşmasını engeller */
}
#menuPanel::-webkit-scrollbar {
    width: 8px;
}
#menuPanel::-webkit-scrollbar-track {
    background: #303134;
}
#menuPanel::-webkit-scrollbar-thumb {
    background: #5c5e60;
}
#menuPanel::-webkit-scrollbar-thumb:hover {
    background: #7a7c80;
}
body.light #menuPanel {
    background-color: #f1f3f4;
    color: #000;
    scrollbar-color: #d1d1d1 #f1f3f4;
}
body.light #menuPanel::-webkit-scrollbar-track {
    background: #f1f3f4;
}
body.light #menuPanel::-webkit-scrollbar-thumb {
    background: #d1d1d1;
}
body.light #menuPanel::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}
.tab-menu {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #444;
}
body.light .tab-menu {
    border-bottom: 2px solid #ccc;
}
.tab-button {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #e8eaed;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
body.light .tab-button {
    color: #000;
}
.tab-button.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}
.tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
}
body.light .tab-button:hover {
    background: rgba(0, 0, 0, 0.1);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
#menuPanel h3 {
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 20px;
    border-bottom: 2px solid #444;
    padding-bottom: 8px;
    font-weight: 600;
}
body.light #menuPanel h3 {
    border-bottom: 2px solid #ccc;
}
#menuPanel label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 14px;
}
#menuPanel input,
#menuPanel select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 10px;
    border: none;
    background-color: #202124;
    color: white;
    font-size: 14px;
}
body.light #menuPanel input,
body.light #menuPanel select {
    background-color: #e0e0e0;
    color: #000;
}
#menuPanel button {
    margin-top: 10px;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 50px;
    background-color: var(--accent-color);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    will-change: transform, box-shadow;
    pointer-events: auto;
}
#menuPanel button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}
#menuPanel button:active {
    transform: scale(0.95);
    filter: brightness(0.9);
}
#colorPalette .color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
}
.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
}
.color-option:hover {
    border: 2px solid #fff;
}
body.light .color-option:hover {
    border: 2px solid #000;
}
#menuPanel input[type="color"] {
    height: 40px;
    padding: 4px;
    cursor: pointer;
    margin-top: 10px;
}
#recentBgList {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#recentBgList .bg-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px;
    border-radius: 15px;
    background-color: #202124;
    transition: background-color 0.2s;
}
#recentBgList .bg-preview:hover {
    background-color: #3c4043;
}
body.light #recentBgList .bg-preview {
    background-color: #e0e0e0;
}
body.light #recentBgList .bg-preview:hover {
    background-color: #d1d1d1;
}
#recentBgList .bg-preview img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
}
#recentBgList .bg-preview span {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
#historyList {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #5c5e60 #303134;
}
#historyList::-webkit-scrollbar {
    width: 8px;
}
#historyList::-webkit-scrollbar-track {
    background: #303134;
    border-radius: 10px;
}
#historyList::-webkit-scrollbar-thumb {
    background: #5c5e60;
    border-radius: 10px;
}
#historyList::-webkit-scrollbar-thumb:hover {
    background: #7a7c80;
}
body.light #historyList {
    scrollbar-color: #d1d1d1 #f1f3f4;
}
body.light #historyList::-webkit-scrollbar-track {
    background: #f1f3f4;
}
body.light #historyList::-webkit-scrollbar-thumb {
    background: #d1d1d1;
}
body.light #historyList::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}
#historyList .history-item {
    padding: 10px;
    background-color: #202124;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}
#historyList .history-item:hover {
    background-color: #3c4043;
}
body.light #historyList .history-item {
    background-color: #e0e0e0;
}
body.light #historyList .history-item:hover {
    background-color: #d1d1d1;
}
#suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    width: 100%;
    background-color: #303134;
    color: #e8eaed;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1003;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#suggestions[style*="block"] {
    opacity: 1;
}
#suggestions::-webkit-scrollbar {
    width: 8px;
}
#suggestions::-webkit-scrollbar-track {
    background: #303134;
    border-radius: 10px;
}
#suggestions::-webkit-scrollbar-thumb {
    background: #5c5e60;
    border-radius: 10px;
}
#suggestions::-webkit-scrollbar-thumb:hover {
    background: #7a7c80;
}
body.light #suggestions {
    scrollbar-color: #d1d1d1 #f1f3f4;
}
body.light #suggestions::-webkit-scrollbar-track {
    background: #f1f3f4;
}
body.light #suggestions::-webkit-scrollbar-thumb {
    background: #d1d1d1;
}
body.light #suggestions::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}
#suggestions li {
    padding: 12px 16px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
}
#suggestions li:hover {
    background-color: #3c4043;
    transform: scale(1.02);
}
#suggestions li.selected {
    background-color: #4a4e52;
    font-weight: 500;
}
#suggestions li::before {
    content: "";
}
#addFavoriteModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #303134;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    color: #e8eaed;
    width: 320px;
    text-align: center;
    animation: scaleIn 0.18s ease-out forwards;
}
#addFavoriteModal label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
#addFavoriteModal input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 20px;
    border: none;
    background-color: #202124;
    color: white;
}
#addFavoriteModal button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background-color: var(--accent-color);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    will-change: transform, box-shadow;
}
#addFavoriteModal button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
#addFavoriteModal button:active {
    transform: scale(0.95);
}
#addFavoriteModal .close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #e8eaed;
}
#accountModal {
    display: none;
    position: fixed;
    top: 78px;
    right: 20px;
    z-index: 1005;
    width: 320px;
    max-width: 95vw;
    background: none;
    transition: none;
}
#accountModal .accent {
    background-color: #202124;
    border-radius: 20px;
}
#accountModal .accent:hover {
    transform: scale(1.08);
    background-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
#accountModal.active {
    display: block;
}
#accountModalTitle {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 12px;
}
#accountModalInner {
    background-color: #303134;
    color: #fff;
    padding: 20px;
    top: 5px;
    border-radius: 20px;
    width: 100%;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #5c5e60 #303134;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    min-width: 0;
    max-width: 100%;
    animation: modalFadeIn 0.18s;
}
body.light #accountModalInner {
    background-color: #f1f3f4;
    color: #000;
    scrollbar-color: #d1d1d1 #f1f3f4;
}
#accountModalInner::-webkit-scrollbar {
    width: 8px;
}
#accountModalInner::-webkit-scrollbar-track {
    background: #303134;
    border-radius: 10px;
}
#accountModalInner::-webkit-scrollbar-thumb {
    background: #5c5e60;
    border-radius: 10px;
}
#accountModalInner::-webkit-scrollbar-thumb:hover {
    background: #7a7c80;
}
body.light #accountModalInner::-webkit-scrollbar-track {
    background: #f1f3f4;
}
body.light #accountModalInner::-webkit-scrollbar-thumb {
    background: #d1d1d1;
}
body.light #accountModalInner::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}
#accountModalInner .close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 1.7rem;
    color: #888;
    cursor: pointer;
    transition: color 0.15s;
    z-index: 2;
}
#accountModalInner .close:hover {
    color: #202124;
}
#accountForm {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#accountForm input[type="text"],
#accountForm input[type="password"] {
    padding: 8px 12px;
    border-radius: 17px;
    font-size: 1rem;
    outline: none;
    background: #202124;
    color: #222;
    transition: border 0.15s;
}
#accountForm input[type="text"]:focus,
#accountForm input[type="password"]:focus {
    border-color: var(--accent-color);
}
body.light #accountForm input[type="text"],
body.light #accountForm input[type="password"] {
    background: #fff;
    color: #222;
}
#accountForm > div {
    display: flex;
    gap: 8px;
    justify-content: center;
}
#accountForm .accent {
    min-width: 90px;
}
#accountLoggedIn {
    display: none;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
#accountLoggedIn .accent {
    min-width: 90px;
}
#accountWelcome {
    font-weight: 600;
    font-size: 1.1rem;
}
.error-message {
    color: #ff4444;
    font-size: 0.98rem;
    margin-top: 2px;
    display: none;
    text-align: center;
}
body.light .error-message {
    color: #cc0000;
}
@media (max-width: 480px) {
    #accountModalInner {
        min-width: 0;
        width: 98vw;
        padding: 18px 6vw 18px 6vw;
    }
    #accountModal {
        right: 1vw;
        width: 98vw;
        max-width: 98vw;
        top: 60px;
    }
}
#backgroundVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
#backgroundYouTube {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
@keyframes modalFadeIn {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-color, #00bcd4);
}
