/* Points Frigo — un socle + 6 thèmes pilotés par variables CSS */
@font-face { font-family: "Fredoka"; src: url(fonts/Fredoka.ttf); font-weight: 300 700; }
@font-face { font-family: "PressStart"; src: url(fonts/PressStart2P.ttf); }
@font-face { font-family: "Silkscreen"; src: url(fonts/Silkscreen.ttf); }
@font-face { font-family: "ComicNeue"; src: url(fonts/ComicNeue-Bold.ttf); font-weight: 700; }

:root, [data-theme="pastel"] {
  --bg: #fdf4ff;
  --bg-img: radial-gradient(circle at 10% 10%, #ffe1ef 0 18%, transparent 19%),
            radial-gradient(circle at 90% 30%, #dff4ff 0 22%, transparent 23%),
            radial-gradient(circle at 30% 95%, #e6ffe9 0 20%, transparent 21%);
  --card: #ffffffee; --ink: #4a3d5c; --muted: #9a8bb0;
  --accent: #ff8fb8; --accent-ink: #fff; --accent2: #8fd0ff; --ok: #6fd6a2;
  --top: linear-gradient(90deg, #ffc4dd, #c8e6ff); --top-ink: #4a3d5c;
  --radius: 22px; --border: 0 solid transparent; --shadow: 0 8px 24px #b48cdc33;
  --btn: #f4ecff; --btn-ink: #4a3d5c; --btn-shadow: 0 4px 0 #e2d4f5;
  --font: "Fredoka", system-ui, sans-serif; --title-font: var(--font); --fs: 1rem;
}
[data-theme="pixel"] {
  --bg: #17183a; --bg-img: linear-gradient(#ffffff08 2px, transparent 2px) 0 0/24px 24px,
                           linear-gradient(90deg, #ffffff08 2px, transparent 2px) 0 0/24px 24px;
  --card: #262863; --ink: #f2f2ff; --muted: #9ea3ff;
  --accent: #ff3d7f; --accent-ink: #fff; --accent2: #36f2ff; --ok: #4dff88;
  --top: #000; --top-ink: #ffe14d;
  --radius: 0; --border: 4px solid #000; --shadow: 6px 6px 0 #000;
  --btn: #3a3d8f; --btn-ink: #fff; --btn-shadow: 4px 4px 0 #000;
  --font: "PressStart", monospace; --title-font: var(--font); --fs: .72rem;
}
[data-theme="blocs"] {
  --bg: #79553a;
  --bg-img: conic-gradient(from 90deg at 50% 50%, #6b4a32 25%, #8a6142 0 50%, #7a5639 0 75%, #936a4a 0) 0 0/32px 32px;
  --card: #c6c6c6; --ink: #3f3f3f; --muted: #5f5f5f;
  --accent: #5daa2f; --accent-ink: #fff; --accent2: #3fb8d8; --ok: #5daa2f;
  --top: linear-gradient(#6fbf3a 0 70%, #866043 70%); --top-ink: #fff;
  --radius: 0; --border: 4px solid; --shadow: 0 0 0 3px #000;
  --btn: #8b8b8b; --btn-ink: #fff; --btn-shadow: inset -4px -4px 0 #555, inset 4px 4px 0 #bdbdbd;
  --font: "Silkscreen", monospace; --title-font: var(--font); --fs: .95rem;
}
[data-theme="plombier"] {
  --bg: #5c94fc;
  --bg-img: radial-gradient(ellipse 60px 22px at 15% 12%, #fff 98%, transparent),
            radial-gradient(ellipse 80px 28px at 75% 22%, #fff 98%, transparent),
            radial-gradient(ellipse 50px 18px at 45% 40%, #fff 98%, transparent);
  --card: #fff; --ink: #222; --muted: #6a6a6a;
  --accent: #e52521; --accent-ink: #fff; --accent2: #fbd000; --ok: #43b047;
  --top: #e52521; --top-ink: #fff;
  --radius: 10px; --border: 4px solid #000; --shadow: 0 5px 0 #000;
  --btn: #fbd000; --btn-ink: #000; --btn-shadow: inset -4px -4px 0 #c08a00, 0 4px 0 #000;
  --font: "Fredoka", sans-serif; --title-font: "PressStart", monospace; --fs: 1rem;
}
[data-theme="dresseur"] {
  --bg: #f4f4f4;
  --bg-img: radial-gradient(circle at 50% 50%, transparent 0 9px, #e8e8e8 9px 11px, transparent 11px) 0 0/60px 60px;
  --card: #fff; --ink: #222; --muted: #777;
  --accent: #ee1515; --accent-ink: #fff; --accent2: #ffcb05; --ok: #3b4cca;
  --top: linear-gradient(#ee1515 0 46%, #222 46% 54%, #fff 54%); --top-ink: #3b4cca;
  --radius: 18px; --border: 3px solid #222; --shadow: 0 4px 0 #222;
  --btn: #fff; --btn-ink: #222; --btn-shadow: 0 4px 0 #222;
  --font: "Fredoka", sans-serif; --title-font: var(--font); --fs: 1rem;
}
[data-theme="bd"] {
  --bg: #bfe2ff;
  --bg-img: radial-gradient(#8cc6f5 1.6px, transparent 1.8px) 0 0/12px 12px;
  --card: #fff; --ink: #111; --muted: #555;
  --accent: #2f6fd6; --accent-ink: #fff; --accent2: #ff5252; --ok: #2f6fd6;
  --top: #fff; --top-ink: #2f6fd6;
  --radius: 22px 14px 26px 12px; --border: 3px solid #111; --shadow: 5px 5px 0 #111;
  --btn: #fff7c2; --btn-ink: #111; --btn-shadow: 3px 3px 0 #111;
  --font: "ComicNeue", "Comic Sans MS", sans-serif; --title-font: var(--font); --fs: 1.05rem;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0; min-height: 100vh; padding-bottom: 92px;
  background: var(--bg-img), var(--bg); background-attachment: fixed;
  color: var(--ink); font-family: var(--font); font-size: var(--fs); line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--title-font); margin: 0; }
small { color: var(--muted); display: block; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px 18px; background: var(--top); color: var(--top-ink); border-bottom: var(--border); }
.top h1 { font-size: 1.5em; }
[data-theme="pixel"] .top h1, [data-theme="plombier"] .top h1 { font-size: 1.1rem; text-shadow: 3px 3px 0 #000; }
[data-theme="dresseur"] .top h1 { -webkit-text-stroke: 1.5px #ffcb05; paint-order: stroke; font-weight: 700; font-size: 1.8rem;
  text-shadow: 3px 3px 0 #2a3a99; color: #ffcb05; }
[data-theme="blocs"] .top h1 { text-shadow: 3px 3px 0 #3f3f3f; }
[data-theme="bd"] .top { border-bottom: 3px solid #111; }
.badge { background: var(--card); color: var(--ink); padding: 6px 12px; border-radius: 999px; border: var(--border); white-space: nowrap; }
[data-theme="pixel"] .badge, [data-theme="blocs"] .badge { border-radius: 0; }

main { max-width: 920px; margin: 0 auto; padding: 16px; }

.card { background: var(--card); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px; margin-bottom: 16px; }
[data-theme="blocs"] .card, [data-theme="blocs"] .badge { border-color: #fff #555 #555 #fff; }
[data-theme="dresseur"] .card { border-top-width: 10px; border-top-color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; cursor: pointer; text-decoration: none;
  background: var(--btn); color: var(--btn-ink); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--btn-shadow); padding: 10px 18px; font-weight: 600; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.danger { background: #e53935; color: #fff; }
.btn:active, .task:active, .kid:active { transform: translateY(3px); }
[data-theme="blocs"] .btn, [data-theme="blocs"] .task { border-color: #000; text-shadow: 2px 2px 0 #3f3f3f; }
[data-theme="blocs"] .btn.primary { background: var(--accent); box-shadow: inset -4px -4px 0 #3d7a1c, inset 4px 4px 0 #8fdc5c; }

/* Enfants */
.kids { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; }
.kid { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 14px; cursor: pointer;
  background: var(--card); border: var(--border); border-radius: 999px; box-shadow: var(--shadow); opacity: .7; }
.kid.on { opacity: 1; outline: 4px solid var(--accent); outline-offset: 0; }
[data-theme="pixel"] .kid, [data-theme="blocs"] .kid { border-radius: 0; }
.kid-emoji { font-size: 1.6em; }

/* Carte principale */
.hero { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; }
.hero-emoji { font-size: 4.5rem; line-height: 1; }
.hero h2 { font-size: 1.6em; }
.counter { font-size: 3.6rem; font-weight: 700; line-height: 1.05; font-family: var(--title-font); display: flex; align-items: center; gap: .15em; }
[data-theme="pixel"] .counter, [data-theme="plombier"] .counter { font-size: 2.4rem; }
.counter span { font-size: .7em; }
.counter.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.25); } 60% { transform: scale(.95); } }
.hero .next { grid-column: 1 / -1; }
.next { margin-top: 6px; }
.next span { display: block; margin-top: 6px; color: var(--muted); }
.bar { height: 18px; background: #0001; border-radius: 999px; overflow: hidden; border: var(--border); border-width: 2px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: inherit; transition: width .6s; }
[data-theme="pixel"] .bar, [data-theme="blocs"] .bar, [data-theme="pixel"] .bar i, [data-theme="blocs"] .bar i { border-radius: 0; }
[data-theme="blocs"] .bar i { background: repeating-linear-gradient(90deg, #5daa2f 0 12px, #4a8f22 12px 16px); }

/* Tâches */
.section-title { margin: 22px 4px 12px; font-size: 1.15em; }
[data-theme="plombier"] .section-title, [data-theme="blocs"] .section-title { color: #fff; text-shadow: 2px 2px 0 #000; }
.tasks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.task { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px 14px;
  min-height: 130px; cursor: pointer; text-align: center;
  background: var(--btn); color: var(--btn-ink); border: var(--border); border-radius: var(--radius); box-shadow: var(--btn-shadow); }
.task-emoji { font-size: 2.6rem; line-height: 1; }
.task-name { font-weight: 600; }
.task-pts { position: absolute; top: 8px; right: 10px; background: var(--accent); color: var(--accent-ink);
  border-radius: 999px; padding: 1px 9px; font-size: .9em; }
[data-theme="pixel"] .task-pts, [data-theme="blocs"] .task-pts { border-radius: 0; }
.task.free { background: var(--card); color: var(--ink); border-style: dashed; }
[data-theme="plombier"] .task:not(.free) { /* rivets du bloc ? */
  background: radial-gradient(circle at 10px 10px, #a06e00 3px, transparent 4px),
    radial-gradient(circle at 10px calc(100% - 10px), #a06e00 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #a06e00 3px, transparent 4px), var(--btn); }

/* Récompenses */
.goal { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.goal-emoji { font-size: 2.6rem; }
.goal-main { display: grid; gap: 4px; }
.goal.ok { outline: 4px solid var(--ok); }
.missing { color: var(--muted); white-space: nowrap; }

/* Listes */
.list h3 { margin-bottom: 10px; }
.row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #0002; }
.row:last-of-type { border-bottom: 0; }
.row-emoji { font-size: 1.6em; width: 1.6em; text-align: center; }
.grow { flex: 1; min-width: 0; }
.hist b { color: var(--ok); font-size: 1.1em; }
.hist.neg b { color: var(--accent2); }
[data-theme="pastel"] .hist.neg b { color: #e0679a; }
.icon { background: none; border: 0; cursor: pointer; font-size: 1.2em; padding: 6px; opacity: .6; }
.icon:hover { opacity: 1; }
.empty { text-align: center; color: var(--muted); }
.big-emoji { font-size: 4rem; }

/* Réglages */
.edit { flex-wrap: wrap; }
.edit input, .edit select, .form input, .form select, dialog input {
  background: #fff; color: #222; border: 2px solid #0003; border-radius: 10px; padding: 8px 10px; min-width: 0; }
.edit .e { width: 3em; text-align: center; font-size: 1.3em; padding: 4px; }
.edit .n { width: 4.6em; }
.edit .grow { flex: 1 1 100px; }
.edit .icon { margin-left: auto; }
[data-theme="bd"] .top h1 { font-size: 1.9rem; transform: rotate(-2deg); text-shadow: 3px 3px 0 #ffd84d; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 4px; }
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.theme-pick { display: grid; justify-items: center; gap: 2px; padding: 12px 8px; cursor: pointer;
  background: var(--bg-img), var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--fs);
  border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.theme-pick b { background: var(--card); padding: 2px 8px; border-radius: 6px; }
.theme-pick small { background: var(--card); padding: 0 6px; border-radius: 6px; }
.theme-pick.on { outline: 4px solid #22c55e; outline-offset: 2px; }
.theme-emoji { font-size: 2rem; }
.units { display: flex; flex-wrap: wrap; gap: 8px; }
.unit-pick { display: flex; align-items: center; gap: 6px; padding: 8px 12px; cursor: pointer;
  background: var(--btn); color: var(--btn-ink); border: var(--border); border-width: 2px; border-radius: 999px; }
.unit-pick span { font-size: 1.4em; }
.unit-pick.on { background: var(--accent); color: var(--accent-ink); }

/* Personnages */
[hidden] { display: none !important; }
.av { display: inline-block; line-height: 1; }
img.av { width: 1.1em; height: 1.1em; object-fit: cover; border-radius: 28%; vertical-align: middle; }
.av-pick { font-size: 1.8em; width: 2em; height: 2em; padding: 0; cursor: pointer; background: #fff;
  border: 2px dashed #0004; border-radius: 14px; }
dialog.wide { width: min(760px, 96vw); max-height: 88vh; overflow: auto; text-align: left; padding-top: 16px; }
dialog.wide h2 { margin-top: 0; }
dialog .close { float: right; position: sticky; top: 0; font-size: 1.4em; opacity: .8; outline: none; }
.av-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; position: sticky; top: -16px; z-index: 1;
  padding: 10px 0; background: inherit; }
.av-tools input[type=search] { flex: 1 1 220px; font-size: 1rem; }
.av-group h3 { margin: 14px 0 8px; font-size: 1em; }
.av-group h3 small { display: inline; margin-left: 6px; font-weight: 400; }
.av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.av-item { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 10px 4px; cursor: pointer;
  background: var(--btn); color: var(--btn-ink); border: var(--border); border-width: 2px; border-radius: var(--radius); }
.av-item span { font-size: 2.3rem; line-height: 1; }
.av-item small { font-size: .7em; line-height: 1.15; text-align: center; color: inherit; opacity: .8; }
.av-item.on { outline: 4px solid var(--accent); }

/* Barre d'onglets */
.tabs { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 4px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--card); border-top: var(--border);
  box-shadow: 0 -4px 20px #0002; backdrop-filter: blur(8px); z-index: 5; }
.tabs button { flex: 1; max-width: 160px; display: grid; justify-items: center; gap: 2px; padding: 6px; cursor: pointer;
  background: none; border: 0; border-radius: 14px; color: var(--muted); font-size: .8em; }
.tabs button span { font-size: 1.6rem; }
.tabs button.on { color: var(--ink); background: #0000000d; font-weight: 700; }

/* Modale */
dialog { border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card);
  color: var(--ink); padding: 24px; width: min(420px, 92vw); text-align: center; font-family: var(--font); }
[data-theme="pastel"] dialog { background: #fff; }
dialog::backdrop { background: #0007; backdrop-filter: blur(3px); }
dialog[open] { animation: pop .25s ease-out; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
dialog h2 { font-size: 1.3em; margin: 6px 0 14px; }
dialog p { color: var(--muted); }
dialog #lbl { width: 100%; margin-bottom: 12px; }
.modal-emoji { font-size: 4rem; line-height: 1; }
.stepper { display: flex; justify-content: center; align-items: center; gap: 10px; }
.stepper button { width: 56px; height: 56px; font-size: 1.8rem; cursor: pointer; border: var(--border); border-radius: var(--radius);
  background: var(--btn); color: var(--btn-ink); box-shadow: var(--btn-shadow); }
.stepper input { width: 110px; text-align: center; font-size: 2rem; font-weight: 700; }
menu { display: flex; flex-direction: row-reverse; justify-content: center; gap: 12px; padding: 0; margin: 18px 0 0; }

/* Toast + effets */
#toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); z-index: 20; display: flex; gap: 12px; align-items: center;
  background: #222; color: #fff; padding: 10px 16px; border-radius: 999px; box-shadow: 0 6px 20px #0005; }
#toast[hidden] { display: none; }
#toast button { background: #fff; color: #222; border: 0; border-radius: 999px; padding: 4px 12px; cursor: pointer; font-weight: 700; }
#fx span { position: fixed; z-index: 30; font-size: 2rem; pointer-events: none; animation: fly 1.2s ease-out forwards; }
@keyframes fly { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(.4); opacity: 0; } }

@media (max-width: 520px) {
  .hero-emoji { font-size: 3.2rem; }
  .counter { font-size: 2.8rem; }
  .tasks { grid-template-columns: repeat(2, 1fr); }
  .goal { grid-template-columns: auto 1fr; }
  .goal > .btn, .goal > .missing { grid-column: 1 / -1; }
}

/* Sélecteur d'image d'une tâche (dans la modale) */
.av-pick.small { width: auto; height: auto; padding: 4px 8px; font-size: 1.4em; border-radius: 10px; }
.emoji-grid { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); margin-top: 12px; }
.emoji-grid .av-item { padding: 8px 4px; }
.emoji-free { display: flex; gap: 8px; margin-top: 14px; }
.emoji-free input { flex: 1; min-width: 0; font-size: 1.2rem; }

/* Thème par enfant */
.theme-for { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; cursor: pointer; border-radius: 999px;
  background: var(--btn); color: var(--btn-ink); border: 2px solid #0002; }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.chip img.av { width: 1.3em; height: 1.3em; }
.hint { margin: 4px 0 12px; color: var(--muted); font-size: .9em; }

/* Compte */
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
/* Reste en pastel même si l'enfant affiché a un autre thème. */
.demo-bar { position: sticky; top: 0; z-index: 8; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: flex-end; gap: 12px; padding: 10px 18px;
  background: linear-gradient(100deg, #ffe1ef, #f4e8ff 48%, #dff4ff);
  box-shadow: 0 8px 22px #b48cdc40; color: #4a3d5c;
  font-family: "Fredoka", system-ui, sans-serif; font-size: 1rem; line-height: 1.3; }
.demo-bar[hidden] { display: none; }
.demo-bar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
body .demo-bar a.btn { font-family: inherit; font-size: 1rem; text-shadow: none; border: 0; border-radius: 999px;
  padding: 10px 18px; background: #fff; color: #4a3d5c; box-shadow: 0 3px 0 #e7d6f6; }
body .demo-bar a.btn.primary { background: #ff8fb8; color: #fff; box-shadow: 0 3px 0 #e278a4; }
@media (max-width: 560px) {
  .demo-bar { justify-content: center; }
  .demo-bar-actions { width: 100%; }
  .demo-bar-actions .btn { flex: 1; }
}

/* Page de connexion */
body.auth { padding-bottom: 24px; }
.auth-wrap { max-width: 440px; padding-top: 28px; }
.auth-hero { text-align: center; margin-bottom: 18px; }
.auth-hero h1 { font-size: 2.3rem; font-weight: 700; margin: 4px 0 6px;
  background: linear-gradient(90deg, #ff7aa8, #8f8cff 55%, #58b8f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-hero p { color: var(--muted); margin: 0 auto; max-width: 32ch; }
.auth-logo { font-size: 2.6rem; display: flex; justify-content: center; gap: 4px; }
.auth-logo span { display: inline-block; animation: bob 2.4s ease-in-out infinite; }
.auth-logo span:nth-child(2) { animation-delay: .3s; font-size: 3.4rem; }
.auth-logo span:nth-child(3) { animation-delay: .6s; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .auth-logo span { animation: none; } }
.auth-card { padding: 20px; }
.auth-card h3 { font-size: 1.2em; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px;
  background: var(--btn); border-radius: 999px; }
.auth-tabs[hidden], .auth form[hidden] { display: none; }
.auth-tabs button { border: 0; background: none; padding: 9px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 600; }
.auth-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px #b48cdc40; }
.auth .form input { padding: 12px 14px; font-size: 1rem; border-color: #e2d4f5; border-radius: 14px; width: 100%; }
.auth .form input:focus { outline: 3px solid #ffc4dd; border-color: var(--accent); }
.auth .form .muted { color: var(--muted); margin: 0; }
.pw { position: relative; display: block; }
.pw input { padding-right: 46px !important; }
.eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer;
  font-size: 1.1rem; opacity: .55; padding: 6px; }
.eye:hover { opacity: 1; }
.btn.big { padding: 13px 20px; font-size: 1.05em; width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.link { border: 0; background: none; color: var(--muted); cursor: pointer; text-decoration: underline; justify-self: center; padding: 4px; }
.auth-msg { margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; background: #ffe1ec; color: #a8325e; }
.auth-msg.ok { background: #dcf8e8; color: #22744a; }
.auth-msg[hidden] { display: none; }
.auth-demo { display: grid; gap: 12px; text-align: center;
  background: linear-gradient(135deg, #fff7d6, #e6f6ff); }
.auth-demo small { margin-top: 2px; }
.auth-demo .btn { background: #fff; box-shadow: 0 4px 0 #f2dc8a; }
.auth-privacy { padding: 4px 8px; color: var(--muted); font-size: .92em; }
.auth-privacy h3 { font-size: 1em; color: var(--ink); margin-bottom: 6px; }
.auth-privacy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
