:root{color-scheme:light}
.theme-toggle{display:grid;place-items:center;flex:none;width:30px;height:30px;margin:0;padding:5px;border:1px solid transparent;border-radius:7px;background:transparent;color:#7b816e;touch-action:manipulation}
.theme-toggle svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle:hover{background:#f0f2e8;color:#63521d}
.theme-toggle:focus-visible{outline:2px solid #a1801e;outline-offset:2px}
html[data-theme=dark]{color-scheme:dark;--accent:#ffd43b;--accent-soft:#38311b;--accent-border:#78672e;--ink:#e9eddf;--purple:#e3c75d;--purple-dark:#f5d86b;--lavender:#272c24;--border:#363d32;--muted:#aeb6a4;--chart-line:#e7bf45;--surface:#1e221c;--raised:#282e24;--secondary:#c0c8b6;color:var(--ink);background:#151714}
html[data-theme=dark] body{color:var(--ink);background:#151714}
html[data-theme=dark] .brand-signature,html[data-theme=dark] .footer-wordmark{content:url('assets/brand-v8/half-apple-yellow.svg')}
html[data-theme=dark] :is(h1,h2,h3,.detail-title,.spotlight-price>strong,.product-price,.detail-price,.compact-deal-price,.mobile-detail-price>strong){color:var(--ink)}
html[data-theme=dark] :is(p,.modal-copy,.post-full-body,.story-excerpt,.deal-authored-content){color:var(--secondary)}
html[data-theme=dark] :is(.site-header,.bottom-nav){background:#1b1f19;border-color:var(--border);backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme=dark] :is(.desktop-nav a,.bottom-nav a){color:var(--muted)}
html[data-theme=dark] :is(.desktop-nav a,.bottom-nav a)[aria-current=page]{color:var(--accent)}
html[data-theme=dark] .bottom-nav a[aria-current=page] svg{fill:#483c18}
html[data-theme=dark] :is(.header-notice,.icon-button,.search-trigger,.theme-toggle){color:var(--muted)}
html[data-theme=dark] :is(.search-trigger,.icon-button:hover,.theme-toggle:hover){background:var(--raised);border-color:var(--border);color:var(--ink)}
html[data-theme=dark] .theme-toggle[aria-pressed=true]{color:var(--accent)}
html[data-theme=dark] .dialog-close{background:var(--raised);border-color:var(--border);color:var(--secondary)}
html[data-theme=dark] .home-button:not(.is-deal-composer){background:var(--surface);border-color:var(--border);color:var(--accent)}
html[data-theme=dark] :is(.profile-button,.avatar.member){background:#42391c;border-color:#695c29;color:#ffe79a}
html[data-theme=dark] :is(.spotlight-deal,.other-deals,.home-community,.feed-card,.community-board,.owned-page,dialog,#owned-dialog,#social-dialog){background:var(--surface);border-color:var(--border);color:var(--ink);box-shadow:none}
html[data-theme=dark] dialog::backdrop{background:#0009}
html[data-theme=dark] :is(.site-footer,.card-bottom,.detail-byline,.condition-details,.detail-actions,.detail-comment-head,.comments-section,.comment,.community-sample-comment,.community-sample-comments,.home-community-group,.compact-deal-row,.home-community-row,.other-deals-heading,.home-community-group-heading,.community-board-columns,.owned-products article,.owned-ledger>div,.owned-account,.social-legacy,.social-identity){border-color:var(--border)}
html[data-theme=dark] :is(.other-deals-heading,.home-community-group-heading,.community-board-columns){background:#22271f;color:var(--muted)}
html[data-theme=dark] :is(.compact-deal-row,.home-community-row){background:transparent}
html[data-theme=dark] :is(.compact-deal-row:hover,.home-community-row:hover){background:#292f24}
html[data-theme=dark] :is(.home-community-row>strong,.compact-deal-copy>strong,.home-community-group-heading button){color:var(--ink)}
html[data-theme=dark] :is(.home-community-author,.home-community-row>small,.compact-price-line>small,.compact-deal-copy>small,.spotlight-shipping,.spotlight-age,.mobile-detail-terms,.deal-vote-score,.community-page-heading small,.all-deals-page .community-page-heading small,.comment-time,.comment-level,.fine-print,.site-footer,.modal-kicker,.owned-note,.owned-status,.social-status){color:var(--muted)}
html[data-theme=dark] :is(.home-community-category,.badge.post-category,.community-row-topic,.community-detail-tags button,.community-detail-tags .is-topic){background:#303624;color:#d2d8b4}
html[data-theme=dark] :is(.community-row-products,.community-detail-tags>span,.home-community-empty,.community-filter-empty){color:var(--muted)}
html[data-theme=dark] :is(.home-community-replies,.compact-evaluation,.deal-vote-score>strong,.owned-back,.owned-video-original){color:var(--purple)}
html[data-theme=dark] .compact-evaluation.gathering{color:var(--muted)}
html[data-theme=dark] :is(.other-deals-all,.spotlight-top .comment-button,.spotlight-pagination,.vote-question,.vote-total,.vote-question>span){color:var(--secondary)}
html[data-theme=dark] .vote-total>strong{color:var(--ink)}
html[data-theme=dark] :is(.spotlight-pagination button,.periods button){background:var(--raised);border-color:var(--border);color:var(--secondary)}
html[data-theme=dark] :is(.periods button.active,.periods button[aria-pressed=true]){background:var(--accent);border-color:#bda037;color:#30280f}
html[data-theme=dark] .badge.community-choice{background:#40371c;border-color:#8f7834;color:#ffe59a}
html[data-theme=dark] :is(.compact-deal-photo,.product-placeholder){background:#2b3027;color:#a8b298}
html[data-theme=dark] :is(.badge.commercial,.badge.ended,.compact-deal-price>em){background:#2e3329;border-color:var(--border);color:var(--muted)}
html[data-theme=dark] :is(.filter,.community-tag-trigger,.community-topic-choice,.community-tag-option,.community-pagination button,.category-scroll-button,.button.secondary,.menu-options>button,.space-links button,.comment-login,.comment-form textarea,.comment-reply-form,.history-archive,.graph-box,.decision-panel,.profile-progress,.profile-detail-value,.profile-point-totals>div,.points-rules>div,.owned-content-reward,.social-identity button){background:var(--raised);border-color:var(--border);color:var(--secondary)}
html[data-theme=dark] :is(.filter.active,.community-pagination button[aria-current=page],.community-topic-choice[aria-pressed=true],.community-tag-trigger.is-active,.community-tag-option:has(input:checked)){background:var(--accent);border-color:#bda037;color:#30280f}
html[data-theme=dark] :is(.button.primary,.owned-button,.feed-write,.home-button.is-deal-composer){background:var(--accent);border-color:#bda037;color:#30280f}
html[data-theme=dark] :is(.community-tag-picker,.community-product-choices,.campaign-owner-drafts){background:var(--surface);border-color:var(--border);color:var(--ink)}
html[data-theme=dark] .community-tag-picker::backdrop{background:#0007}
html[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:#20261e;border-color:#515b47;color:var(--ink)}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#a2aa97}
html[data-theme=dark] :is(input[type=checkbox],input[type=radio]){accent-color:var(--accent)}
html[data-theme=dark] :is(.field,.field>span,.community-compose-tags legend,.community-compose-topics legend,.community-product-choices summary,.feed-subtoolbar,.feed-subtoolbar select,.open-only){color:var(--secondary)}
html[data-theme=dark] :is(.affiliate-link-wrap .spotlight-purchase,.affiliate-link-wrap::before,.owned-product-address,.owned-products .owned-product-purchase>.owned-product-address){background:#38321d;border-color:#746331;color:#f0d77e}
html[data-theme=dark] .affiliate-link-wrap .spotlight-purchase:hover{background:#494023;border-color:#a58b3f;color:#ffe89d}
html[data-theme=dark] .affiliate-link-wrap::before{background:#38321d;border-color:#746331}
html[data-theme=dark] :is(.affiliate-tooltip,.owned-affiliate-tooltip){background:#292f24;border-color:#786b3b;color:#e1e5d4;box-shadow:0 4px 18px #0006}
html[data-theme=dark] :is(.affiliate-info,.owned-affiliate-info){background:transparent;border-color:#7f784d;color:#d9cc86}
html[data-theme=dark] :is(.detail-title-tools button,.comments-section .comment-actions button){background:var(--raised);border-color:#59624c;color:#c7d0bb}
html[data-theme=dark] :is(.detail-title-tools .report-icon,.comments-section .comment-actions .report-icon){background:#392922;border-color:#795040;color:#efb29a}
html[data-theme=dark] :is(.detail-title-tools .report-icon,.comments-section .comment-actions .report-icon) svg{fill:#674437}
html[data-theme=dark] .comments-section .comment-header .comment-name{color:#d0d9c1}
html[data-theme=dark] .comments-section .comment-time{color:var(--muted)}
html[data-theme=dark] :is(.comments-section .comment-text,.community-sample-comment p){color:var(--ink)}
html[data-theme=dark] :is(.comment-reply-mention,.comment-reply-mark){color:#e1c967}
html[data-theme=dark] .vote.buy{background:#40371c;border-color:#8f7834;color:#ffe59a}
html[data-theme=dark] .vote.wait{background:#272f23;border-color:#69765b;color:#dbe6ce}
html[data-theme=dark] .vote.buy.chosen{background:var(--accent);border-color:#bfa138;color:#30280f}
html[data-theme=dark] .vote.wait.chosen{background:#3b4a2f;border-color:#96a77b;color:#edf5df}
html[data-theme=dark] .detail-current-vote .vote-ratio-bar{background:#394232}
html[data-theme=dark] .detail-current-vote .vote-participation{color:var(--secondary)}
html[data-theme=dark] .detail-current-vote .vote-participation>strong{color:var(--ink)}
html[data-theme=dark] :is(.deal-page-toolbar button,.history-source-badge,.history-selected>time,.history-selected>span,.history-selected>small,.history-record-terms,.history-series-key,.history-info-content){color:var(--muted)}
html[data-theme=dark] :is(.history-selected>strong,.recorded-history-list>button>strong){color:var(--ink)}
html[data-theme=dark] .history-info-content{background:var(--raised)}
html[data-theme=dark] .recorded-periods button{background:var(--raised);border-color:var(--border);color:var(--secondary)}
html[data-theme=dark] .recorded-periods button[aria-pressed=true]{background:var(--accent);border-color:#bda037;color:#30280f}
html[data-theme=dark] :is(.recorded-history,.recorded-history-header,.recorded-history-list>button,.history-info-content){border-color:var(--border);color:var(--secondary)}
html[data-theme=dark] :is(.recorded-price-chart text,.price-chart .axis){fill:#b7c0aa}
html[data-theme=dark] :is(.recorded-price-chart .grid-line,.price-chart .grid-line){stroke:#3c4535}
html[data-theme=dark] :is(.history-product-scope.is-example,.demo-callout,.section-disclosure,.partner-disclosure,.owned-content-reward){background:#34301d;border-color:#6b5f31;color:#e0d4a5}
html[data-theme=dark] .ugreen-page>.partner-disclosure{background:#34301d;border-color:#6b5f31;color:#e0d4a5}
html[data-theme=dark] :is(.owned-products h2,.owned-products strong,.profile-identity h2,.profile-ledger strong,.profile-point-totals strong){color:var(--ink)}
html[data-theme=dark] .campaign-grid>.campaign-card{border-color:var(--border)}
html[data-theme=dark] .campaign-grid .campaign-card-copy>h2{color:var(--campaign-ink)}
html[data-theme=dark] .campaign-grid .campaign-card-copy>p{color:var(--campaign-muted)}
html[data-theme=dark] :is(.owned-period,.owned-product-shipping,.owned-products small,.owned-shipping-note,.profile-status,.profile-sync,.profile-today,.profile-today>span,.profile-metric-caption,.profile-metric-label,.profile-ledger small,.profile-point-totals span){color:var(--muted)}
html[data-theme=dark] .owned-eyebrow{color:#d9c372!important}
html[data-theme=dark] .profile-summary>button,html[data-theme=dark] .profile-summary>button+button{background:var(--raised);border-color:var(--border)}
html[data-theme=dark] .profile-summary .profile-metric-value,html[data-theme=dark] .profile-detail-value>strong{color:#f4d96c}
html[data-theme=dark] .profile-summary :is(.profile-metric-label,.profile-metric-caption){color:var(--muted)}
html[data-theme=dark] .profile-rank>span{color:var(--muted)!important}
html[data-theme=dark] :is(.profile-menu>button,.profile-menu>a,.profile-progress>div,.profile-progress strong,.profile-today strong,.profile-footer button,.profile-back){color:var(--secondary);border-color:var(--border)}
html[data-theme=dark] .profile-progress progress::-webkit-progress-bar{background:#3a4331}
html[data-theme=dark] :is(.profile-identity,.profile-ledger article,.profile-footer,.profile-progress){border-color:var(--border)}
html[data-theme=dark] :is(.form-error,.owned-error,.social-error){color:#f3a28b}
html[data-theme=dark] .social-legacy summary,html[data-theme=dark] #owned-dialog label,html[data-theme=dark] #owned-dialog>[data-owned-close],html[data-theme=dark] #social-dialog [data-social-close]{color:var(--secondary)}
html[data-theme=dark] :focus-visible{outline-color:#e6c452}
html[data-theme=dark] .deal-detail-page .compact-deal-detail.mobile-tight-detail{background:transparent}
@media(max-width:360px){.header-inner{padding-inline:12px;gap:8px}.header-actions{gap:4px}.theme-toggle{width:28px;height:28px}}
