/* Approved museum component mapping from design-options.html: night2 and warm3.
   These selectors preserve the gallery's exact color, border, radius and icon treatments;
   only the app's existing grid dimensions are retained for fit. */
body[data-theme="night"] #museumPage .museum-category{background:#f7edda;border:1px dashed #7e826e;border-radius:4px;box-shadow:inset 0 0 0 3px #efe1c4}
body[data-theme="night"] #museumPage .museum-category:nth-child(3n+2){border-radius:11px 3px 11px 3px}
body[data-theme="night"] #museumPage .museum-category.expanded{background:#fff7e7}
body[data-theme="night"] #museumPage .category-tile{width:100%;height:100%;min-width:0;border:0;background:transparent;color:inherit;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:6px 3px}
body[data-theme="night"] #museumPage .cat-icon{width:33px;height:33px;padding:3px;border:1px dashed #6a755c;transform:rotate(-5deg);display:grid;place-items:center}
body[data-theme="night"] #museumPage .cat-icon svg{stroke:#46594b;fill:none;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
body[data-theme="night"] #museumPage .cat-icon svg .fill{fill:#46594b;stroke:none}
body[data-theme="night"] #museumPage .category-tile b{color:#303b32;font-family:Georgia,"Microsoft YaHei",serif}
body[data-theme="night"] #museumPage .category-tile small{color:#5b6659}
body[data-theme="night"] #museumPage .museum-category.expanded .category-tile{height:48px;min-height:48px;flex-direction:row;justify-content:flex-start;text-align:left;padding:7px 10px;background:#efe5ca;border-bottom:1px dashed #7a7b60}
body[data-theme="night"] #museumPage .category-list{max-height:0;padding:0 9px;opacity:0;transition:max-height .3s,padding .3s,opacity .2s;scrollbar-width:thin}
body[data-theme="night"] #museumPage .museum-category.expanded .category-list{max-height:137px;padding:0 9px 8px;opacity:1}
body[data-theme="night"] #museumPage .category-entry{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;justify-content:initial;gap:7px;min-height:33px;padding:8px 3px;border:0;border-bottom:1px dashed #7a7b604a;border-radius:0;background:transparent;color:#323b32;font-size:15px;line-height:1.2;text-align:left;box-shadow:none}
body[data-theme="night"] #museumPage .category-entry.locked{opacity:.42}
body[data-theme="night"] #museumPage .entry-title{min-width:0;white-space:normal;overflow-wrap:anywhere}
body[data-theme="night"] #museumPage .entry-status{white-space:nowrap;flex:none;font-size:12px;color:#46594b}
body[data-theme="night"] #museumPage .favorite-marker{width:16px;height:16px;display:grid;place-items:center;color:#8b7042;flex:none}
body[data-theme="night"] #museumPage .favorite-marker svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round}
body[data-theme="night"] #museumPage .favorites-open{color:#3e4b40;border:1px solid #7a896d;border-radius:4px 13px 4px 13px;background:#f7edda;box-shadow:inset 0 0 0 3px #efe1c4}
body[data-theme="night"] #favoritesDrawer{background:#e8ddc2;color:#2d322e;border:1px solid #fff5d8;box-shadow:inset 0 0 0 5px #c4ae7b66,0 13px 25px #070e19}
body[data-theme="night"] #favoritesDrawer .favorites-drawer-head h2{color:#344439;font-family:Georgia,serif}
body[data-theme="night"] #favoritesDrawer .favorite-entry{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:8px 3px;border:0;border-bottom:1px dashed #7a7b604a;border-radius:0;background:transparent;color:#323b32;box-shadow:none;text-align:left}
body[data-theme="night"] #favoritesDrawer .favorite-entry .favorite-icon{width:33px;height:33px;border:1px dashed #6a755c;border-radius:0;padding:3px;transform:rotate(-5deg);background:#f7edda;color:#46594b;display:grid;place-items:center}
body[data-theme="night"] #favoritesDrawer .favorite-entry .favorite-icon svg{width:24px;height:24px;stroke:#46594b;fill:none;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
body[data-theme="night"] #favoritesDrawer .favorite-copy{min-width:0}
body[data-theme="night"] #favoritesDrawer .favorite-copy b{color:#303b32;font:15px Georgia,"Microsoft YaHei",serif;white-space:normal;overflow-wrap:anywhere}
body[data-theme="night"] #favoritesDrawer .favorite-copy small{color:#5b6659;white-space:nowrap}
body[data-theme="night"] #favoritesDrawer .favorite-marker{color:#8b7042;display:grid;place-items:center}
body[data-theme="night"] #favoritesDrawer .favorite-marker svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round}
body[data-theme="night"] #favoritesDrawer .favorite-open-state{white-space:nowrap;color:#46594b}

body[data-theme="warm"] #museumPage .museum-category{background:linear-gradient(135deg,#e5d2a5,#c8d3a4);border:2px solid #897148;border-radius:9px;box-shadow:inset 0 0 0 3px #f4e7c7,0 4px 7px #5c513544}
body[data-theme="warm"] #museumPage .museum-category:nth-child(3n+2){background:linear-gradient(135deg,#e1d3ac,#c4d3ad)}
body[data-theme="warm"] #museumPage .museum-category.expanded{background:linear-gradient(135deg,#f0e4bf,#dce5c4)}
body[data-theme="warm"] #museumPage .category-tile{width:100%;height:100%;min-width:0;border:0;background:transparent;color:inherit;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:6px 3px}
body[data-theme="warm"] #museumPage .cat-icon{position:relative;width:35px;height:35px;background:#f4e8c7;border:1px solid #877148;border-radius:50%;box-shadow:inset 0 0 0 3px #e4d3aa;display:grid;place-items:center}
body[data-theme="warm"] #museumPage .cat-icon::before{content:"";position:absolute;top:2px;right:-1px;width:10px;height:6px;border-radius:8px 8px 2px 2px;background:#d78262;box-shadow:0 1px 0 #8e6343}
body[data-theme="warm"] #museumPage .cat-icon::after{content:"";position:absolute;top:7px;right:3px;width:4px;height:5px;border-radius:1px 1px 3px 3px;background:#fff0d1;box-shadow:1px 1px 0 #896d44}
body[data-theme="warm"] #museumPage .museum-category:nth-child(3n+1) .cat-icon::before{background:#d98264}
body[data-theme="warm"] #museumPage .museum-category:nth-child(3n+2) .cat-icon::before{background:#d9a75d}
body[data-theme="warm"] #museumPage .museum-category:nth-child(3n) .cat-icon::before{background:#b96e5b}
body[data-theme="warm"] #museumPage .cat-icon svg{position:relative;width:20px;height:20px;stroke:#546b47;fill:none;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
body[data-theme="warm"] #museumPage .cat-icon svg .fill{fill:#b78350;stroke:none}
body[data-theme="warm"] #museumPage .category-tile b{font:600 13px Georgia,"Microsoft YaHei",serif;color:#45583d}
body[data-theme="warm"] #museumPage .category-tile small{color:#7a6644}
body[data-theme="warm"] #museumPage .museum-category.expanded .category-tile{height:48px;min-height:48px;flex-direction:row;justify-content:flex-start;text-align:left;padding:7px 10px;background:#eee3c6;border-bottom:1px solid #9ba675}
body[data-theme="warm"] #museumPage .category-list{max-height:0;padding:0 9px;opacity:0;overflow:auto;transition:max-height .3s,padding .3s,opacity .2s;scrollbar-width:thin}
body[data-theme="warm"] #museumPage .museum-category.expanded .category-list{max-height:137px;padding:0 9px 8px;opacity:1}
body[data-theme="warm"] #museumPage .category-entry{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;justify-content:initial;gap:7px;min-height:33px;padding:9px 7px;margin:5px 0;border:1px solid #9ba675;border-radius:7px;background:linear-gradient(100deg,#eee0bd,#dae1c1);color:#4c5e3d;font-size:15px;line-height:1.2;text-align:left;box-shadow:inset 0 1px #fff8df}
body[data-theme="warm"] #museumPage .category-entry.locked{opacity:.48;filter:grayscale(.55);color:#87775e}
body[data-theme="warm"] #museumPage .entry-title{min-width:0;white-space:normal;overflow-wrap:anywhere}
body[data-theme="warm"] #museumPage .entry-status{white-space:nowrap;flex:none;font-size:12px;color:#546b47}
body[data-theme="warm"] #museumPage .favorite-marker{width:16px;height:16px;display:grid;place-items:center;color:#8b6640;flex:none}
body[data-theme="warm"] #museumPage .favorite-marker svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round}
body[data-theme="warm"] #museumPage .favorites-open{background:linear-gradient(#b8774a,#935d38);color:#fff4dc;border:2px solid #e8c991;border-radius:9px;box-shadow:inset 0 0 0 2px #ffffff25}
body[data-theme="warm"] #museumPage .favorites-star{background:#f4e8c7;border:1px solid #877148;border-radius:50%;color:#546b47}
body[data-theme="warm"] #museumPage .favorites-label b{color:#fff4dc}
body[data-theme="warm"] #museumPage .favorites-label small,body[data-theme="warm"] #museumPage .favorites-chevron{color:#f6e4c2}
body[data-theme="warm"] #favoritesDrawer{background:linear-gradient(155deg,#e5dfc2,#d9e3c9);color:#41523b;border:1px solid #97a477;box-shadow:inset 0 0 0 4px #b1bd9144,0 13px 25px #51613c38}
body[data-theme="warm"] #favoritesDrawer .favorites-drawer-head h2{color:#4a6241;font:20px Georgia,"Microsoft YaHei",serif}
body[data-theme="warm"] #favoritesDrawer .favorite-entry{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:9px 7px;margin:5px 0;border:1px solid #9ba675;border-radius:7px;background:linear-gradient(100deg,#eee0bd,#dae1c1);color:#4c5e3d;box-shadow:inset 0 1px #fff8df;text-align:left}
body[data-theme="warm"] #favoritesDrawer .favorite-entry .favorite-icon{width:35px;height:35px;border:1px solid #877148;border-radius:50%;background:#f4e8c7;color:#546b47;box-shadow:inset 0 0 0 3px #e4d3aa;display:grid;place-items:center}
body[data-theme="warm"] #favoritesDrawer .favorite-entry .favorite-icon svg{width:20px;height:20px;stroke:#546b47;fill:none;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
body[data-theme="warm"] #favoritesDrawer .favorite-copy{min-width:0}
body[data-theme="warm"] #favoritesDrawer .favorite-copy b{color:#45583d;font:600 13px Georgia,"Microsoft YaHei",serif;white-space:normal;overflow-wrap:anywhere}
body[data-theme="warm"] #favoritesDrawer .favorite-copy small{color:#7a6644;white-space:nowrap}
body[data-theme="warm"] #favoritesDrawer .favorite-marker{color:#8b6640;display:grid;place-items:center}
body[data-theme="warm"] #favoritesDrawer .favorite-marker svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round}
body[data-theme="warm"] #favoritesDrawer .favorite-open-state{white-space:nowrap;color:#546b47}
