/* Shared visual details and day/night palette. */
.theme-quick{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:#ebe4da;color:#765337;font:23px/1 system-ui;padding:0}.appearance-settings{padding:0 0 19px;margin-bottom:19px;border-bottom:1px solid #eee5dc}.appearance-settings h3{font-size:15px;margin:0 0 12px}.theme-segments{display:flex;gap:5px;padding:5px;background:#f2ece4;border-radius:14px}.panel .theme-segments button{flex:1;background:transparent;color:#8f7c69;padding:9px 6px;border-radius:10px;font-size:13px}.panel .theme-segments button.selected{background:#fff;color:#765030;box-shadow:0 2px 7px #6950370d}.appearance-settings .note{font-size:11px;margin-bottom:0}.contact-field-tools{display:flex;gap:7px}.contact-field-tools button{font-size:12px;padding:7px 11px!important;min-height:34px}.contact-help-link{display:inline-block;font-size:12px;color:#9c6539;text-underline-offset:3px;margin:0 0 13px}.contact-editor #saveContacts{display:block;margin-top:10px;min-height:43px}.panel .contact-setup-link{background:transparent!important;color:#a37d58;padding:4px 0;font-size:11px;text-decoration:underline;text-underline-offset:3px;display:block;margin:6px 0}.chat-quick-title{font-size:10px;color:#b49a7c;margin:12px 0 5px;padding-left:3px}.chat-quick{margin-top:0}.chat-quick button{transition:transform .12s,background .16s}.chat-quick button:active{transform:scale(.95)}.chat-actions .chat-sticker{display:grid;place-items:center;width:43px;min-width:43px;min-height:43px;flex:none;background:#f6ead8!important;color:#b6844a!important;border:1px solid #efdfca;border-radius:15px!important;padding:6px!important;transform:rotate(-4deg);transition:transform .16s}.chat-actions .chat-sticker:active{transform:rotate(5deg) scale(.92)}.chat-composer-hint{font-size:9px;text-align:center;color:#b6a791;margin:0 0 6px}.message-group .bubble{transition:box-shadow .2s}.message-group .bubble:active{box-shadow:0 2px 10px #bd8c4a12}#messages.chat{background-color:#f5f1ea;background-image:radial-gradient(circle at 14px 22px,#c9ac7c20 1px,transparent 1.4px),radial-gradient(circle at 48px 55px,#c9ac7c12 1px,transparent 1.4px);background-size:66px 76px}.hero-actions button:active{transform:translateY(1px)}.pm-owner-actions button:active{transform:scale(.98)}
html[data-theme=dark]{color-scheme:dark;--ink:#f1e8de;--soft:#b3b4bd;--line:#333542;--wash:#222834;background:#131823;color:#eee9e3}html[data-theme=dark] body{background:#131823;color:#eee9e3}html[data-theme=dark] .app-shell{background:#171c27;box-shadow:0 0 48px #0002}html[data-theme=dark] .pm-head{background:#171c27;border-color:#2d3340}html[data-theme=dark] .brand-words>span{color:#f4e9dc}html[data-theme=dark] .brand-words small{color:#c29a75}html[data-theme=dark] .search-wrap{background:#222835;border-color:#343947}html[data-theme=dark] .search-wrap input{color:#f2e9de}html[data-theme=dark] .search-wrap input::placeholder{color:#929aa8}html[data-theme=dark] .theme-quick{background:#35313a;color:#ecc18b}html[data-theme=dark] #searchButton{color:#b6a992}html[data-theme=dark] #lang,html[data-theme=dark] .account-icon{background:#232934;color:#e4ddd4;border-color:#3d3b40}html[data-theme=dark] #lang option{background:#232934;color:#eee}html[data-theme=dark] .location-chip{background:#af7549;border-color:#af7549;color:#fff1e1}
html[data-theme=dark] .pang-store-hero.winter-hero{background:#29242a!important;border-color:#4b3b32}html[data-theme=dark] .pang-store-hero:after{background:linear-gradient(90deg,#24232e 0%,#24232ef2 24%,#24232e94 44%,transparent 70%)}html[data-theme=dark] .hero-store-art{filter:brightness(.74) saturate(.8)}html[data-theme=dark] .pang-store-hero .hero-copy strong{color:#ffead1!important}html[data-theme=dark] .pang-store-hero .hero-copy>span{color:#e0c7ac!important}html[data-theme=dark] .pang-store-hero .hero-copy>small{color:#cb9e6c}html[data-theme=dark] .hero-actions button{background:#d6a16c;color:#231f23}html[data-theme=dark] .hero-actions #heroSell{color:#e2b78b;background:transparent}
html[data-theme=dark] .listings-header h1{color:#eee7de}html[data-theme=dark] .nearby-note,html[data-theme=dark] .see-all{color:#b4aa9b}html[data-theme=dark] .filter-pills .pill,html[data-theme=dark] .filter-pills select{background:#242b37;border-color:#353d49;color:#c5c2bd}html[data-theme=dark] .filter-pills .pill.active{background:#d2a06e;border-color:#d2a06e;color:#211d1c}html[data-theme=dark] .grid>.item{background:#1b222e!important;color:#e8e2d8}html[data-theme=dark] .item h3,html[data-theme=dark] .item .price{color:#f0e7dd}html[data-theme=dark] .item .muted{color:#a7a8ad}html[data-theme=dark] .item .pm-image-wrap{background:#29313f}html[data-theme=dark] .load-more button{background:#28313f;color:#ded7cd}html[data-theme=dark] footer{color:#9d9ca1}html[data-theme=dark] .bottom-nav{background:#171c27f5;border-color:#303541;box-shadow:0 -4px 20px #0002}html[data-theme=dark] .bottom-nav button{color:#9299a5}html[data-theme=dark] .bottom-nav button.active{color:#e3b27d}html[data-theme=dark] .bottom-nav .nav-add .nav-icon{background:#bc8556;color:#fff4e7}
html[data-theme=dark] .panel,html[data-theme=dark] #chatPanel{background:#1b212d;color:#f0e7dd;border-color:#343b48}html[data-theme=dark] .panel-x{background:#2b3342;color:#ddd5cc}html[data-theme=dark] .fields label,html[data-theme=dark] .contact-editor label{color:#d4cbc0}html[data-theme=dark] .fields input,html[data-theme=dark] .fields select,html[data-theme=dark] .fields textarea,html[data-theme=dark] .contact-editor input{background:#242c3a;border-color:#3a4351;color:#eee7dd}html[data-theme=dark] .fields select option{background:#242c3a}html[data-theme=dark] .panel .note,html[data-theme=dark] .status{color:#b5ada3}html[data-theme=dark] .status.error{color:#ffa8a0}html[data-theme=dark] .panel button.secondary{background:#2a3341;color:#d8cfc4}html[data-theme=dark] .bar #loginBtn{background:#b88859;color:#171c27}html[data-theme=dark] .bar #signupBtn{background:#333039;border-color:#6c5140;color:#e3b382}html[data-theme=dark] .avatar-editor,html[data-theme=dark] .contact-editor,html[data-theme=dark] .appearance-settings{border-color:#39404a}html[data-theme=dark] .theme-segments{background:#141b28}html[data-theme=dark] .panel .theme-segments button{background:transparent;color:#b5ada5}html[data-theme=dark] .panel .theme-segments button.selected{background:#39404b;color:#f0c494}html[data-theme=dark] .contact-help-link{color:#deb17f}
html[data-theme=dark] .pm-detail-dialog{background:#1b222e;color:#eee6dc;border-color:#3c4350}html[data-theme=dark] .pm-detail-price{color:#f1d2aa}html[data-theme=dark] .pm-detail-photo-wrap{background:#101723}html[data-theme=dark] .pm-detail-tag{background:#30303a;color:#d5ba9b}html[data-theme=dark] .pm-detail-meta,html[data-theme=dark] .pm-detail-source-note,html[data-theme=dark] .pm-detail-copy-hint{color:#aaa7a4}html[data-theme=dark] .pm-detail-copy{background:#2c3543;border-color:#424b58;color:#d5cec5}html[data-theme=dark] .pm-detail-chat{background:#b88758;color:#181b23}html[data-theme=dark] .pm-owner-actions{border-color:#3c414c}html[data-theme=dark] .pm-owner-actions button{background:#322f34;border-color:#5c4a3d;color:#dfbc93}html[data-theme=dark] .pm-owner-actions button.danger{background:#3a2930;color:#edaaa0;border-color:#70433e}
html[data-theme=dark] .thread-swipe{background:#202937;border-color:#37404e}html[data-theme=dark] .thread-card{background:#202937!important;color:#e8dfd5}html[data-theme=dark] .thread-swipe .thread-options{background:#202937!important;color:#aeaaa7}html[data-theme=dark] .thread-heading strong{color:#f0e5d8}html[data-theme=dark] .thread-content .thread-product{color:#bf9d79}html[data-theme=dark] .thread-content .thread-preview{color:#b2b1b1}html[data-theme=dark] .member-avatar{background:linear-gradient(140deg,#554237,#393137);border-color:#6a5140;color:#e6be8b}html[data-theme=dark] .room-open>.row{border-color:#343c49}html[data-theme=dark] .chat-peer-names #chatProduct{color:#ada395}html[data-theme=dark] .panel #chatListing.chat-listing{background:#242d3a!important;color:#e8dccd!important;border-color:#3a414a}html[data-theme=dark] .chat-listing-photo{background:#313a47;color:#b9a68b}html[data-theme=dark] .chat-listing-text>span{color:#dfb47e}html[data-theme=dark] .chat-privacy{color:#a99b88}html[data-theme=dark] #messages.chat{background-color:#151e2c;background-image:radial-gradient(circle at 14px 22px,#e9c78b18 1px,transparent 1.4px),radial-gradient(circle at 48px 55px,#e9c78b0e 1px,transparent 1.4px)}html[data-theme=dark] #messages .bubble{background:#2a3545;color:#e6e1da;box-shadow:0 2px 3px #0001}html[data-theme=dark] #messages .bubble.mine{background:#8d603f;color:#fff0de}html[data-theme=dark] .message-group time{color:#999ca3}html[data-theme=dark] .chat-date{background:#2d3340;color:#bcb3a8}html[data-theme=dark] .chat-quick-title{color:#b1a08a}html[data-theme=dark] .panel .chat-quick button{background:#272c36;color:#c9b79e;border-color:#51483d}html[data-theme=dark] .chat-actions{background:#1b212d}html[data-theme=dark] .chat-actions input{background:#252f3f;color:#eee4d8;border-color:#3e4654}html[data-theme=dark] .chat-actions .chat-sticker{background:#3a3030!important;border-color:#5e4938;color:#deb47d!important}html[data-theme=dark] .panel .chat-actions #sendBtn{background:#b88656;color:#171c27}html[data-theme=dark] .chat-empty{color:#c2ae94}html[data-theme=dark] .chat-empty-mark{background:#2e3541;color:#c6a57d}html[data-theme=dark] .chat-composer-hint{color:#a69a88}html[data-theme=dark] .chat-manage{border-color:#37404a}html[data-theme=dark] .language-dialog{background:#222a37;color:#e4d5c3;border-color:#5c4a3d}html[data-theme=dark] .language-dialog button{background:#32303a;color:#e4c49f;border-color:#5a493b}html[data-theme=dark] .toast-notice{background:#2e2b31;color:#efd4b1;border-color:#7c5f42}html[data-theme=dark] .support-card,html[data-theme=dark] .support-reply{background:#242d3b;color:#ddd4ca;border-color:#414754}
/* The retained shop/admin pages share the same explicit preference. */
html[data-legacy][data-theme=dark] .legacy-theme-button{background:#303747!important;color:#edc694!important}html[data-legacy][data-theme=light]{color-scheme:light!important;background:#f7f5f0!important;color:#302b27!important}html[data-legacy][data-theme=light] body{background:#f7f5f0!important;color:#302b27!important}html[data-legacy][data-theme=light] header{background:linear-gradient(130deg,#fff6e9,#f6e4cf)!important;color:#33281e!important;border-color:#e4d5c5!important}html[data-legacy][data-theme=light] .item,html[data-legacy][data-theme=light] .product,html[data-legacy][data-theme=light] .panel,html[data-legacy][data-theme=light] .detail-panel,html[data-legacy][data-theme=light] .admin-card,html[data-legacy][data-theme=light] .admin-tools,html[data-legacy][data-theme=light] .dialog{background:#fffdf9!important;color:#312b25!important;border-color:#e7d8c9!important}html[data-legacy][data-theme=light] h1,html[data-legacy][data-theme=light] h2,html[data-legacy][data-theme=light] h3,html[data-legacy][data-theme=light] strong,html[data-legacy][data-theme=light] b{color:#403226!important}html[data-legacy][data-theme=light] p,html[data-legacy][data-theme=light] .sub,html[data-legacy][data-theme=light] .muted,html[data-legacy][data-theme=light] .note,html[data-legacy][data-theme=light] footer{color:#897665!important}html[data-legacy][data-theme=light] input,html[data-legacy][data-theme=light] select,html[data-legacy][data-theme=light] textarea{background:#fff!important;color:#332e28!important;border-color:#d8c9bb!important}html[data-legacy][data-theme=light] .price{color:#a45e2e!important}html[data-legacy][data-theme=light] button.secondary{background:#f0e6d9!important;color:#6e5237!important;border-color:#d9c5af!important}.legacy-theme-button{position:fixed;top:10px;right:113px;z-index:2000;min-width:40px;min-height:40px;font-size:20px;border-radius:10px;border:1px solid #645346}
.chat-actions #sendBtn{display:flex;align-items:center;justify-content:center;gap:6px;transition:transform .12s}.chat-actions #sendBtn:active{transform:scale(.94)}.chat-composer-hint{font-size:10px;color:#8d7b64}.chat-privacy{font-size:11px;color:#8b7763}.chat-quick-title{font-size:11px;color:#8b735b}.message-group time{font-size:10px;color:#7e7162}.thread-heading time{color:#82796d}.contact-help-link:focus-visible,.thread-action:focus-visible,.theme-quick:focus-visible,.chat-sticker:focus-visible{outline:2px solid #cb8b4e;outline-offset:3px}
html[data-theme=dark] .my-sales-entry{background:#302a2c;border-color:#5d4737}html[data-theme=dark] .my-sales-entry-heading h3{color:#e4be94}html[data-theme=dark] .my-sales-entry-heading p{color:#bb9e81}html[data-theme=dark] .panel .my-sales-counts button{background:#252b36;border-color:#51453d;color:#ceaf8b}html[data-theme=dark] .my-sales-counts strong{color:#e4b378}html[data-theme=dark] #mySalesPanel{background:#1b212d}html[data-theme=dark] .my-sales-tabs{background:#141b28}html[data-theme=dark] .panel .my-sales-tabs button{background:transparent;color:#a99b8c}html[data-theme=dark] .panel .my-sales-tabs button.selected{background:#353c48;color:#e1ba8c}html[data-theme=dark] .my-sales-card{background:#242c39;border-color:#3c4350}html[data-theme=dark] .panel .my-sales-open{background:#242c39;color:#e7dccf}html[data-theme=dark] .my-sales-photo{background:#343a45;color:#b4a08a}html[data-theme=dark] .my-sales-price{color:#e2bb8e}html[data-theme=dark] .my-sales-content>small{color:#b3a08b}html[data-theme=dark] .my-sales-actions{border-color:#41434c}html[data-theme=dark] .panel .my-sales-actions button{background:#292d38;color:#cbb090}html[data-theme=dark] .panel .my-sales-actions button+button{border-color:#41434c}html[data-theme=dark] .panel .my-sales-actions button.danger{color:#dfa08c}html[data-theme=dark] .my-sales-empty{color:#b5a795}
