/* One fixed palette, independent of OS and VK theme changes. */
:root{color-scheme:only dark;--ink:#e7eee8;--green:#a3d8ba;--muted:#acbbae;--gold:#f2d89d;--line:#36483e;--bg:#111c17;background:var(--bg)}
body{background:var(--bg);color:var(--ink)}
.sidebar,.topbar{background:#17251e}
.mobile-nav{background:#17251ef5;border-color:var(--line)}
.navigation button,.mobile-nav button{color:#b4c3b7}
.navigation button.active,.filters button.selected,.store-picker button.selected,.group-list-item.selected{background:#304d3c;color:#e3f3e7;border-color:#6b967c}
.mobile-nav button.active{color:#b5e4c4}
.navigation b,h2>span,.mode-badge{background:#344a3c;color:#dbe9de}
.panel,.wish-card,dialog,.empty,.group-list-item,.family-photo,.gift-file{background:#1d2d23;color:var(--ink);border-color:var(--line)}
.game-envelope{background:linear-gradient(160deg,#233b2c,#1b2b22)}
.recipient,.recipient-card,.recipient-address,.invite-member-form,.wish-tip,.family-album{background:#24362a;color:var(--ink);border-color:var(--line)}
.family-intro h2,.wish-tip strong,.incoming-gift p{color:#e0eade}
.logo small,.side-label,.sidebar-bottom p,.account small,.overline,.connection,.connection.connected,.wish-meta,.wish-note,.article-code,.no-link,.empty p,.wish-tip p,.profile-card p,.game-envelope>p,.recipient small,.recipient>span,.profile-stat>span,dialog>p,.field-hint,.privacy-note,.group-list-item span,.group-list-item small,.group-title p,.member-row small,.recipient-notes,.incoming-gift small,.family-intro p,.family-intro .overline,.family-photo figcaption,.family-signature,.recipient-address small,.gift-pickup-shop small,.gift-updates-heading span,.gift-updates li span,.gift-file small{color:#afc0b0}
.primary{background:#3d7855;color:#fff}.primary:hover{background:#498b64!important}
.secondary,.store-picker button{background:#263c2e;color:#e0eadd;border-color:#4a6250}
button.secondary:hover,.icon-button:hover{background:#35503d}
.filters button{color:#c1cebf;border-color:#4a6250}
.icon-button,.card-actions>a{color:#b5d5b5}.icon-button.delete,.form-error{color:#ffa5af}
label,.template-field legend{color:#ceddcc}
input,textarea,select{background-color:#14231a;color:#ecf3eb;border-color:#50634e}
select{background:linear-gradient(45deg,transparent 50%,#b4c9ad 50%) calc(100% - 20px) 50%/6px 6px no-repeat,linear-gradient(135deg,#b4c9ad 50%,transparent 50%) calc(100% - 14px) 50%/6px 6px no-repeat #14231a}
input::placeholder,textarea::placeholder{color:#9eaf99}
input:focus,textarea:focus,select:focus{border-color:#b3d3a2;box-shadow:0 0 0 3px #a3c58d30}
input::file-selector-button{background:#35503d;color:#eef3e9;border:1px solid #6c8360;border-radius:6px;padding:7px 10px;margin-right:10px}
.template-option{border-color:#50634e}.template-option:has(input:checked){background:#35503d;border-color:#afd098}
.template-option img{border-radius:8px}
.wish-picture{background:#2b3c2c}.wish-picture.ozon{background:linear-gradient(135deg,#24384b,#263d3d)}.wish-picture.wb{background:linear-gradient(135deg,#452d41,#332c3d)}.wish-picture.ym{background:linear-gradient(135deg,#433f28,#393c27)}.wish-picture.ga{background:#35462a;color:#d5e8b8}
.picture-label{color:#c2d0b9}.market-label{background:#17251ee8;color:#dbe7db}.favorite{background:#26392e;color:#ffb5be}
.topbar .snow-button{background:#304333;border-color:#52624a}
.gift-status-badge{background:#36523d;color:#dcf2d8}.gift-status-badge.ready{background:#65552b;color:#ffe7a7}.gift-updates li.unread{background:#423c25}
.member-row,.draw-group,.gift-delivery,.incoming-gift,.gift-pickup-shop,.gift-updates li,.card-actions,footer{border-color:var(--line)}
dialog::backdrop{background:#030b08b8}
/* Photos, product imagery and pickup codes retain their original colours. */
.product-photo,.product-preview,.gift-qr img,.pickup-code img{background:#fff}
.family-photo{background:#fffdf6;border-color:#e7e1d3;box-shadow:0 6px 18px #0005}
.family-photo figcaption{color:#58634f}
