/* Thème de la maison : chaleureux (Réglages > Apparence) */
:root { --bg:#1c1916; --bg2:#15120f; --card:#28231e; --card2:#352e27; --on:#4a3f33; --line:#3a3229; --txt:#f4ede4; --mut:#a89a8a; --faint:#75685a; --acc:#ff9f43; --acc2:#ffc78a; --accdk:#4a3420; --onacc:#2a1600; --glow:#2a221b; --pastille:rgba(255,159,67,.16); --grid:#3a3229; --ok:#3ecf8e; --sun:#f5b82e; --ko:#ff5a4f; }
html, body { font-family:"Segoe UI", Roboto, "Noto Sans", -apple-system, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing:antialiased; }
body { background:radial-gradient(ellipse at top left, var(--glow) 0%, var(--bg) 55%) fixed, var(--bg); }
.emo, .ic { font-family:"Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif; }

/* en-tête des pages : même titre et même bouton retour partout */
body > header h1, #add h1 { font-size:22px; font-weight:700; letter-spacing:.2px; }
#back { background:var(--card2) !important; color:var(--txt) !important; border:0; border-radius:12px !important; min-width:44px; height:44px;
        display:inline-flex; align-items:center; justify-content:center; padding:0 12px !important; font-size:22px !important; text-decoration:none; }

/* pastilles de couleur derrière les icônes (écran Plus, appli, réglages) */
.lt .ic, #more .g .emo, .mlist .ic, #more .list.par .emo {
  display:inline-flex; align-items:center; justify-content:center; border-radius:16px; background:var(--pastille); }
.lt .ic { width:68px; height:68px; font-size:38px !important; }
#more .g .emo { width:50px; height:50px; font-size:28px !important; border-radius:14px; }
.mlist .ic, #more .list.par .emo { width:40px !important; height:40px; font-size:22px !important; border-radius:12px; }
#launcher .g:nth-of-type(2) .ic, #more .g:nth-of-type(2) .emo { background:rgba(62,207,142,.15); }
#launcher .g:nth-of-type(3) .ic, #more .list.par .emo { background:rgba(245,184,46,.16); }

/* cartes : léger relief */
.card, .tile, .lt, section, .item, .mlist, #more .g button { box-shadow:0 1px 0 rgba(255,255,255,.04) inset, 0 4px 14px rgba(0,0,0,.18); }

/* barres de défilement discrètes */
* { scrollbar-width:thin; scrollbar-color:var(--on) transparent; }
::-webkit-scrollbar { width:8px; height:8px; } ::-webkit-scrollbar-thumb { background:var(--on); border-radius:8px; } ::-webkit-scrollbar-track { background:transparent; }

input:focus, select:focus, textarea:focus { outline:none; border-color:var(--acc) !important; }
input[type=checkbox] { accent-color:var(--acc); }

.k-parents { display:inline-flex; align-items:center; gap:6px; background:var(--accdk); color:var(--acc2); border-radius:10px; padding:4px 10px; font-size:13px; font-weight:600; }
