/* Library UI only. Game palettes and original print rules remain intact. */
@media screen {
 :root, body[data-lele-theme] {
  --background:0 0% 100%; --foreground:0 0% 10%;
  --card:0 0% 100%; --card-foreground:0 0% 10%;
  --popover:0 0% 100%; --popover-foreground:0 0% 10%;
  --primary:3 46% 50%; --primary-foreground:0 0% 100%;
  --secondary:0 0% 97%; --secondary-foreground:0 0% 10%;
  --muted:0 0% 97%; --muted-foreground:0 0% 40%;
  --border:0 0% 88%; --input:0 0% 88%; --ring:3 46% 50%; --radius:14px;
 }
 body[data-lele-theme] #root { font-family:'Noto Sans TC','Noto Sans SC',sans-serif; color:#1a1a1a; }
 #root :is(input:not([type=file]),textarea,select,[role=combobox]) {
  background-color:#f8f8f8; border:1px solid #e0e0e0; border-radius:14px; color:#1a1a1a; min-height:44px; font-size:16px; padding:10px 12px;
 }
 #root button:not(:empty) { min-height:44px; font-size:14px; }
 #root button.bg-primary { background-color:#b94b45; color:#fff; }
 #root button:hover { box-shadow:0 8px 24px rgba(0,0,0,.10); }
 #root :is([class~="bg-card"][class~="border"],[class~="bg-card"][class~="border-2"]) { border-color:#eee; border-width:1px; border-radius:14px; box-shadow:0 2px 10px rgba(0,0,0,.035); }
 #root [role=dialog] { border-radius:16px; }
 #root button[data-state=on] { background:#b94b45 !important; color:#fff !important; }
 #root button[data-state=off] { background:#f8f8f8 !important; color:#666 !important; }
 #root button.bg-primary { background:#b94b45 !important; color:#fff !important; border-radius:20px; font-size:16px; }
 #root button:has(.lucide-plus) { width:44px; height:44px; }
 #root button[style*="background-color: rgb(221, 162, 60)"] { background:#b94b45 !important; color:#fff !important; border:1px solid #b94b45; }
 @media (max-width:600px) {
  #root .flex.items-center.justify-between.mb-4 { flex-wrap:wrap; gap:12px; }
  #root .flex.items-center.justify-between.mb-4 > h2 { flex-basis:100%; }
  #root .flex.items-center.justify-between.mb-4 label { white-space:nowrap; }
 }
 #root .bg-foreground.text-background { background:#fff0e6; color:#1a1a1a; border:1px solid #eee; }
}
