
@font-face {
  font-family: "Fredoka Local";
  src: url("../fonts/FredokaOne.otf") format("opentype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --sky-1: #dff3ff;
  --sky-2: #f0f8ff;
  --sky-3: #cbe7ff;
  --card-border: #d3e6f5;
  --blue: #4a73db;
  --blue-dark: #2f5fc7;
  --red: #e25c67;
  --gray: #9aa0a8;
  --green: #39b65b;
  --green-dark: #2f8d48;
  --neutral: #94a3b8;
  --ink: #35526d;
  --shadow: 0 16px 40px rgba(92, 132, 176, 0.16);
  --frame-border: #a4b6c6;
  --frame-fill: #ffffff;
  --accent-yellow: #ffe28b;
  --accent-pink: #ffd2ea;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Fredoka Local', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.98) 0 6%, transparent 20%),
    radial-gradient(circle at 85% 8%, rgba(255,255,255,.88) 0 8%, transparent 22%),
    radial-gradient(circle at 52% 0%, rgba(255, 228, 139, .18) 0 10%, transparent 24%),
    linear-gradient(180deg, #d9efff 0%, #eef8ff 42%, #fffdf4 100%);
}
button, input { font: inherit; }
img { max-width: 100%; display: block; }
.app-shell { position: relative; min-height: 100%; overflow: hidden; padding: 20px clamp(12px, 2vw, 28px) 34px; }
.bg-shape { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(2px); opacity: .38; }
.bg-shape-1 { width: 300px; height: 300px; left: -70px; top: 80px; background: radial-gradient(circle, rgba(255, 236, 158, .95) 0 22%, transparent 70%); }
.bg-shape-2 { width: 360px; height: 360px; right: -110px; top: 76px; background: radial-gradient(circle, rgba(198, 231, 255, .95) 0 20%, transparent 68%); }
.bg-shape-3 { width: 320px; height: 320px; right: 10%; bottom: -130px; background: radial-gradient(circle, rgba(255, 217, 238, .88) 0 18%, transparent 70%); }
.school-icon {
  position: absolute; pointer-events: none; opacity: .18; font-size: clamp(44px, 5vw, 68px);
  filter: drop-shadow(0 10px 16px rgba(86, 116, 146, .08));
}
.school-icon-1 { left: 5%; top: 160px; transform: rotate(-12deg); }
.school-icon-2 { right: 8%; top: 190px; transform: rotate(10deg); }
.school-icon-3 { left: 9%; bottom: 80px; transform: rotate(-10deg); }
.school-icon-4 { right: 11%; bottom: 120px; transform: rotate(14deg); }

.hero { max-width: 1040px; margin: 0 auto 20px; text-align: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,255,.92)); border: 2px solid #dcecf8; box-shadow: var(--shadow);
  font-size: clamp(14px, 2vw, 18px); letter-spacing: .04em;
}

.hero-home {
  padding-top: 12px;
}
.hero-home h1 {
  margin-top: 16px;
}
.hero-school-motifs {
  position: relative;
  max-width: 640px;
  height: 72px;
  margin: 8px auto 0;
}
.motif-chip {
  position: absolute;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  border: 2px solid #dbeaf7;
  box-shadow: 0 10px 18px rgba(89, 132, 179, .10);
  font-size: 28px;
}
.motif-chip-1 { left: 8%; top: 10px; transform: rotate(-10deg); }
.motif-chip-2 { left: 29%; top: 0; transform: rotate(8deg); }
.motif-chip-3 { right: 28%; top: 2px; transform: rotate(-7deg); }
.motif-chip-4 { right: 8%; top: 12px; transform: rotate(9deg); }
.hero h1 { margin: 14px 0 10px; font-size: clamp(34px, 6vw, 64px); line-height: .95; color: #2f618c; text-shadow: 0 2px 0 rgba(255,255,255,.72); }
.hero p, .hero-subtitle { max-width: 760px; margin: 0 auto; font-size: clamp(17px, 2.5vw, 22px); color: #436887; }
.hero-compact { margin-bottom: 16px; }
.game-topbar {
  display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 14px;
}
.medal-track {
  display: inline-flex; gap: 10px; align-items: center; background: rgba(255,255,255,.86);
  border: 2px solid #d8e9f6; border-radius: 999px; padding: 8px 12px; box-shadow: var(--shadow);
}
.medal-dot {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255,255,255,.8); font-size: 26px; filter: grayscale(1) saturate(.2); opacity: .45; transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}
.medal-dot.is-earned { filter: none; opacity: 1; transform: translateY(-2px) scale(1.06); box-shadow: 0 10px 18px rgba(228, 182, 46, .22); }

.intro-screen, .game-screen { position: relative; z-index: 1; }
.intro-grid {
  max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 18px; align-items: stretch;
}
.intro-card {
  background: rgba(255,255,255,.93); border: 2px solid var(--card-border); border-radius: 34px;
  box-shadow: 0 14px 30px rgba(92, 132, 176, 0.12); padding: clamp(18px, 2vw, 28px); position: relative; overflow: hidden;
}
.intro-card::before {
  content: ''; position: absolute; inset: auto auto -55px -55px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,226,139,.45) 0, transparent 70%); pointer-events: none;
}
.intro-main h2, .settings-title {
  margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); color: #315f8a;
}
.intro-main p { margin: 0 0 14px; font-size: clamp(17px, 2vw, 21px); line-height: 1.45; }
.intro-illustration {
  display: flex; gap: 14px; justify-content: center; margin-bottom: 12px;
}
.intro-illustration span {
  width: 74px; height: 74px; display: inline-flex; align-items: center; justify-content: center; border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #eef8ff); border: 2px solid #d5e9f8; box-shadow: 0 10px 18px rgba(89, 132, 179, .12);
  font-size: 38px;
}
.intro-bullets { margin: 0 0 18px; padding-left: 20px; font-size: clamp(16px, 2vw, 20px); line-height: 1.55; }
.intro-bullets li + li { margin-top: 6px; }

.settings-card .setting-group + .setting-group { margin-top: 18px; }
.setting-label { font-size: 18px; margin-bottom: 10px; color: #496986; }
.option-pill {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px;
  background: #f7fbff; border: 2px solid #d7ebf9; cursor: pointer; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.option-pill + .option-pill { margin-top: 10px; }
.option-pill:hover { transform: translateY(-1px); box-shadow: 0 10px 18px rgba(84, 126, 171, .10); }
.option-pill input { accent-color: #4d86e8; }
.option-pill:has(input:checked) { border-color: #67a3ff; box-shadow: 0 0 0 4px rgba(103, 163, 255, .13); }
.option-pill span { font-size: 17px; }

.toggle-row {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 12px 14px;
  border-radius: 20px; background: #f7fbff; border: 2px solid #d7ebf9; cursor: pointer;
}
.toggle-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-ui {
  width: 64px; height: 38px; border-radius: 999px; background: #d1d9e2; position: relative; transition: background .18s ease;
}
.toggle-ui::after {
  content: ''; position: absolute; width: 28px; height: 28px; left: 5px; top: 5px; border-radius: 50%;
  background: #fff; box-shadow: 0 6px 12px rgba(72, 93, 117, .16); transition: transform .18s ease;
}
.toggle-row input:checked + .toggle-ui { background: #68c47a; }
.toggle-row input:checked + .toggle-ui::after { transform: translateX(26px); }
.setting-note { margin-top: 14px; font-size: 15px; color: #6f86a0; }

.cta-btn {
  border: none; cursor: pointer; border-radius: 999px; min-height: 62px; padding: 14px 24px;
  background: linear-gradient(180deg, #7ab7ff, #4f8ef0); color: #fff; box-shadow: 0 18px 28px rgba(74, 115, 219, .24);
  border: 2px solid #4a82db; font-size: clamp(18px, 2vw, 24px);
}
.cta-btn:hover { transform: translateY(-1px); }
.cta-btn:active { transform: translateY(0); }
.cta-btn:disabled, .cta-btn.is-disabled { opacity: .55; cursor: not-allowed; filter: saturate(.75); box-shadow: none; }

.game-wrap { max-width: 1120px; margin: 0 auto; }
.visual-board {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,250,255,.99));
  border: 2px solid var(--card-border); border-radius: 36px; box-shadow: 0 20px 38px rgba(92, 132, 176, 0.16);
  padding: clamp(16px, 2vw, 24px); overflow: hidden;
}
.visual-board::before, .visual-board::after { content: ''; position: absolute; border-radius: 50%; opacity: .24; pointer-events: none; }
.visual-board::before { width: 220px; height: 220px; background: radial-gradient(circle, rgba(255, 221, 165, .55) 0, transparent 70%); top: -40px; left: -40px; }
.visual-board::after { width: 260px; height: 260px; background: radial-gradient(circle, rgba(216, 236, 255, .82) 0, transparent 70%); right: -70px; bottom: -70px; }

.series-ribbon {
  display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 999px;
  background: #eef7ff; border: 2px solid #d5e9f8; font-size: 14px; color: #537495; margin-bottom: 12px;
}
.image-wrap {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,253,255,.96)); border: 3px solid #efd37a; border-radius: 30px;
  min-height: clamp(230px, 35vw, 370px); display: grid; place-items: center; padding: 18px; margin-bottom: 14px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.95);
}
.image-wrap img { max-height: clamp(190px, 30vw, 320px); width: auto; object-fit: contain; }
.prompt-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap;
}
.prompt-bubble {
  display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; background: linear-gradient(180deg, #ffffff, #f8fcff);
  border: 2px solid #deecf7; border-radius: 999px; box-shadow: 0 10px 18px rgba(99, 145, 103, .10);
  font-size: clamp(16px, 2vw, 22px); flex: 1 1 360px;
}
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }
.actions-row-inline { margin-top: 0; justify-content: flex-end; flex: 0 0 auto; }

.scatter-area {
  position: relative; min-height: clamp(240px, 31vw, 300px); border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(237,246,255,.92)),
    repeating-linear-gradient(45deg, rgba(102,165,255,.06), rgba(102,165,255,.06) 12px, transparent 12px, transparent 24px);
  border: 2px dashed #c4def3; overflow: hidden;
}
.drop-frame {
  position: relative; margin-top: 18px; border-radius: 24px; border: 3px solid var(--frame-border);
  background: linear-gradient(180deg, #ffffff, #fbfdff); min-height: 104px; padding: 16px 18px; box-shadow: inset 0 2px 0 rgba(255,255,255,.96);
}
.drop-frame.is-hover { border-color: #6aa9ff; box-shadow: 0 0 0 5px rgba(106, 169, 255, .12), inset 0 2px 0 rgba(255,255,255,.95); }
.drop-frame.is-error { animation: shake .28s linear 1; }
.assembled-pieces { min-height: 66px; display: flex; align-items: center; justify-content: flex-start; align-content: flex-start; flex-wrap: wrap; gap: 12px; width: 100%; }
.assembled-pieces.is-guided { gap: 10px; }
.frame-guide-wrap { margin-top: 12px; }
.frame-guide-slots { display: flex; align-items: center; justify-content: flex-start; align-content: flex-start; flex-wrap: wrap; gap: 12px; width: 100%; }
.frame-guide-slot {
  width: var(--guide-width, 60px); height: 46px; border-radius: 16px; border: 2px dashed #cfdef0; background: rgba(255,255,255,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95); opacity: .95; flex: 0 0 auto; position: relative;
}
.frame-guide-slot::after {
  content: ''; position: absolute; inset: 8px; border-radius: 10px; background: rgba(255,255,255,.38);
}
.frame-guide-slot.guide-vert, .frame-slot-inline.guide-vert { border-color: rgba(84, 185, 117, .85); background: rgba(84, 185, 117, .14); }
.frame-guide-slot.guide-vert-sapin, .frame-slot-inline.guide-vert-sapin { border-color: rgba(53, 133, 73, .85); background: rgba(53, 133, 73, .14); }
.frame-guide-slot.guide-gris, .frame-slot-inline.guide-gris { border-color: rgba(156, 166, 177, .9); background: rgba(156, 166, 177, .16); }
.frame-guide-slot.guide-bleu, .frame-slot-inline.guide-bleu { border-color: rgba(77, 134, 232, .85); background: rgba(77, 134, 232, .14); }
.frame-guide-slot.guide-rouge, .frame-slot-inline.guide-rouge { border-color: rgba(228, 102, 91, .82); background: rgba(228, 102, 91, .14); }
.frame-guide-slot.guide-neutral, .frame-slot-inline.guide-neutral { border-color: rgba(186, 201, 219, .9); background: rgba(226, 235, 245, .42); }
.frame-slot-inline {
  width: var(--guide-width, 60px); min-height: 70px; border-radius: 18px; border: 2px dashed #cfdef0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95); flex: 0 0 auto; position: relative;
  display: flex; align-items: center; justify-content: center; padding: 4px;
}
.frame-slot-inline::after {
  content: ''; position: absolute; inset: 8px; border-radius: 12px; background: rgba(255,255,255,.32); pointer-events: none;
}
.frame-slot-inline.is-filled::after { background: rgba(255,255,255,.18); }
.feedback {
  min-height: 42px; display: flex; align-items: center; justify-content: center; margin-top: 16px;
  color: #4e7091; font-size: clamp(20px, 2.2vw, 26px); text-align: center;
}
.bottom-actions { min-height: 78px; display: flex; align-items: center; justify-content: center; margin-top: 12px; }
.bottom-listen { min-width: 110px; }
.card-copyright { margin-top: 10px; text-align: right; color: #8f949a; font-size: 12px; }

.action-btn {
  border: none; cursor: pointer; border-radius: 999px; background: #fff; border: 2px solid #d8eaf6; box-shadow: var(--shadow);
  color: #2f70b1; min-height: 56px; padding: 12px 18px; font-size: clamp(17px, 2vw, 22px);
}
.action-btn.action-icon { min-width: 88px; min-height: 72px; padding: 8px 16px; font-size: clamp(34px, 4vw, 44px); line-height: 1; }
.action-primary { background: linear-gradient(180deg, #82bcff, #5c96f0); border-color: #4a82db; color: #fff; }
.action-ear { background: linear-gradient(180deg, #fff8ee, #ffe5c2); border-color: #f0c98f; color: #8a5a12; }
.action-help { background: linear-gradient(180deg, #fffdf0, #ffe7a8); border-color: #efd06a; color: #8a6610; }
.action-btn.action-icon.action-icon-small { min-width: 74px; min-height: 64px; padding: 8px 12px; font-size: clamp(28px, 3.5vw, 36px); }
.action-listen { background: linear-gradient(180deg, #fff5c8, #ffeaa0); border-color: #efd37a; color: #6c5610; }
.action-btn:disabled { opacity: .55; cursor: default; }

.piece {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 0;
  min-width: 62px; min-height: 68px; padding: 12px 16px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(247,251,255,.96));
  border: 2px solid rgba(196, 217, 238, .95); box-shadow: 0 12px 20px rgba(92, 131, 171, .14); user-select: none;
  touch-action: none; -webkit-user-select: none; font-size: clamp(34px, 4.8vw, 50px); line-height: 1; cursor: grab;
  will-change: transform, left, top; transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
}
.piece.in-frame { position: relative !important; left: auto !important; top: auto !important; transform: none !important; cursor: pointer; }
.piece.in-frame.piece-guided {
  width: 100%; min-width: 0; min-height: 60px; height: 100%; padding: 10px 12px; border-radius: 14px;
  border-color: transparent; box-shadow: none; background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,251,255,.94));
}
.piece.in-frame.piece-guided::after { inset: 4px; border-radius: 11px; opacity: .65; }
.piece.dragging { cursor: grabbing; transform: translate(-50%, -50%) scale(1.08) !important; box-shadow: 0 16px 24px rgba(58, 103, 156, .22); z-index: 50; }
.piece::after {
  content: ''; position: absolute; inset: 6px; border-radius: 15px;
  background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0)); pointer-events: none;
}
.piece span { position: relative; z-index: 1; }
body[data-case="lower"] .piece span,
body[data-case="lower"] .feedback,
body[data-case="lower"] .prompt-bubble,
body[data-case="lower"] .series-ribbon {
  text-transform: lowercase;
}
.c-vert { color: var(--green); }
.c-vert-sapin { color: var(--green-dark); }
.c-gris { color: var(--gray); }
.c-rouge { color: var(--red); }
.c-bleu { color: var(--blue); }
.c-noir { color: #202c39; }
.c-neutral { color: var(--neutral); }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(34, 55, 83, .38); display: grid; place-items: center;
  padding: 18px; z-index: 60;
}
.modal-card {
  width: min(92vw, 500px); background: linear-gradient(180deg, #ffffff, #f8fcff); border: 2px solid #d8eaf6; border-radius: 34px; box-shadow: 0 22px 36px rgba(58, 90, 129, .22);
  padding: 24px; text-align: center; position: relative; overflow: hidden;
}
.modal-card::before { content: ''; position: absolute; inset: auto auto -60px -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,226,139,.38) 0, transparent 70%); pointer-events: none; }
.modal-card::after { content: ''; position: absolute; inset: -24px -18px auto auto; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(206,232,255,.45) 0, transparent 70%); pointer-events: none; }
.modal-emoji { font-size: 58px; margin: 0 auto 10px; min-height: 66px; display: grid; place-items: center; }
.modal-card h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 38px); color: #315f8a; }
.modal-card p { margin: 0 0 18px; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.modal-btn { min-width: 210px; }

@keyframes shake { 0% { transform: translateX(0); } 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-4px); } 100% { transform: translateX(0); } }
.success-burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.success-burst span { position: absolute; font-size: 24px; animation: burst 1.4s ease forwards; }
@keyframes burst { 0% { transform: translateY(0) scale(.5); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(120px) scale(1.3) rotate(25deg); opacity: 0; } }

[hidden] { display: none !important; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app-shell { padding: 14px 10px 24px; }
  .prompt-row { align-items: stretch; }
  .prompt-bubble { width: 100%; flex-basis: 100%; }
  .actions-row-inline { width: 100%; justify-content: center; }
  .scatter-area { min-height: 216px; }
  .piece {
    min-width: 54px; min-height: 60px; padding: 9px 12px; border-radius: 18px; font-size: clamp(28px, 7vw, 40px);
  }
  .drop-frame { min-height: 96px; padding: 12px; }
  .frame-guide-slot { height: 42px; border-radius: 14px; }
  .action-btn.action-icon { min-width: 76px; min-height: 66px; font-size: clamp(30px, 8vw, 40px); }
  .school-icon { display: none; }
}


.action-help { box-shadow: 0 8px 18px rgba(239,208,106,.28); }
#vocabBtn { min-width: 74px; font-size: 1.55rem; }
.actions-row-inline { gap: 10px; }

.intro-cta-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.cta-btn-secondary {
  background: linear-gradient(180deg, #8fd3b4, #5eb98b);
  border-color: #4d9d74;
  box-shadow: 0 18px 28px rgba(60, 146, 109, .20);
}
.cta-btn-soft {
  background: linear-gradient(180deg, #ffffff, #eef7ff);
  border-color: #cfe2f2;
  color: #34658f;
  box-shadow: 0 14px 24px rgba(92, 132, 176, .12);
}
.modal-card-wide { width: min(92vw, 680px); }
.modal-card-xl { width: min(96vw, 1080px); max-height: 88vh; overflow: auto; }
.modal-actions-2 { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.profile-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.profile-entry {
  display: grid;
  gap: 8px;
}
.profile-inline-details {
  border: 2px solid #e7f0f8;
  background: #f8fbff;
  border-radius: 18px;
  padding: 10px 12px 12px;
}
.profile-inline-details summary {
  cursor: pointer;
  color: #456b8a;
  font-size: 16px;
  font-weight: 700;
}
.profile-inline-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.selection-level-card.is-active-level {
  border-color: #c6ddf8;
  box-shadow: 0 10px 20px rgba(92, 132, 176, .08);
}
.profile-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #cfe2f4;
  background: #eef6ff;
  color: #40698e;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.profile-btn {
  border: 2px solid #d8eaf6;
  background: linear-gradient(180deg, #ffffff, #f1f8ff);
  border-radius: 22px;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.profile-btn strong { display: block; font-size: 24px; color: #315f8a; }
.profile-btn span { display: block; margin-top: 6px; font-size: 16px; color: #6883a1; }
.profile-empty {
  padding: 18px;
  border-radius: 20px;
  background: #f7fbff;
  border: 2px dashed #d7ebf9;
  color: #6984a0;
  text-align: center;
}
.parent-create-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.parent-input {
  min-height: 60px;
  border-radius: 18px;
  border: 2px solid #d7ebf9;
  background: #fff;
  padding: 12px 16px;
  font-size: 20px;
  color: var(--ink);
}
.parent-profiles {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.parent-profile-card {
  background: #fdfefe;
  border: 2px solid #d7ebf9;
  border-radius: 26px;
  padding: 18px;
}
.parent-profile-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.parent-profile-head h3 { margin: 0; font-size: 30px; color: #315f8a; }
.profile-date { font-size: 15px; color: #6f86a0; margin-top: 6px; }
.parent-profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.parent-level-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.parent-level-card {
  background: #f8fbff;
  border: 2px solid #e1eef8;
  border-radius: 22px;
  padding: 14px;
}
.parent-level-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.parent-level-top h4 { margin: 0; font-size: 19px; color: #3d6b93; }
.parent-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 16px;
}
.parent-progress-bar {
  margin-top: 10px;
  height: 14px;
  border-radius: 999px;
  background: #deedf8;
  overflow: hidden;
}
.parent-progress-bar span,
.tracked-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7cc9a3, #4f9ee8);
}
.parent-progress-text { margin-top: 8px; font-size: 14px; color: #6a85a0; }
.word-list-details {
  margin-top: 12px;
  background: #fff;
  border: 2px solid #e7f0f8;
  border-radius: 16px;
  padding: 10px 12px;
}
.word-list-details summary { cursor: pointer; color: #456b8a; }
.word-chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.word-chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid #d9e7f3;
  background: #fff;
}
.word-chip.acquired { background: #ecfff2; border-color: #b8e7c7; color: #2f8d48; }
.word-chip.current { background: #eef6ff; border-color: #c6ddf8; color: #2f6fb0; }
.word-chip.review { background: #fff5e8; border-color: #f4d8aa; color: #a06d1a; }
.word-chip.remaining { background: #f5f8fc; border-color: #d7e3ef; color: #597188; }
.mini-btn {
  border: 2px solid #d8eaf6;
  background: #fff;
  color: #40698e;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.tracked-banner {
  max-width: 840px;
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tracked-pill {
  background: rgba(255,255,255,.92);
  border: 2px solid #d8eaf6;
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}
.tracked-progress {
  min-width: min(520px, 92vw);
  background: rgba(255,255,255,.92);
  border: 2px solid #d8eaf6;
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}
.tracked-progress-bar {
  height: 14px;
  border-radius: 999px;
  background: #e4eef7;
  overflow: hidden;
}
.tracked-progress-text {
  margin-top: 8px;
  text-align: center;
  font-size: 15px;
  color: #567594;
}
@media (max-width: 900px) {
  .parent-level-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .parent-create-row { grid-template-columns: 1fr; }
  .parent-profile-head, .parent-level-top { flex-direction: column; align-items: stretch; }
  .tracked-progress { min-width: 0; width: 100%; }
}


.intro-grid-single { max-width: 760px; grid-template-columns: 1fr; }
.intro-main-simple { text-align: center; }
.intro-main-simple .intro-illustration { margin-bottom: 18px; }
.intro-main-simple .intro-cta-stack { max-width: 420px; margin: 18px auto 0; }
.intro-mini-note { margin-top: 14px; color: #6c88a3; font-size: 16px; }
.settings-card-modal { margin-top: 14px; text-align: left; }

.profile-btn.is-selected {
  border-color: #67a3ff;
  box-shadow: 0 0 0 4px rgba(103,163,255,.13), var(--shadow);
  transform: translateY(-1px);
}

.tracked-banner {
  max-width: 760px;
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.session-jar {
  background: rgba(255,255,255,.94);
  border: 2px solid #d8eaf6;
  border-radius: 24px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  min-width: min(460px, 92vw);
}
.session-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  min-height: 34px;
}
.session-star {
  font-size: 24px;
  filter: grayscale(1) saturate(.2);
  opacity: .45;
  transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}
.session-star.is-earned {
  filter: none;
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}
.session-progress-text {
  margin-top: 8px;
  text-align: center;
  font-size: 15px;
  color: #567594;
}
@media (max-width: 640px) {
  .session-jar { min-width: 0; width: 100%; }
}

.title-decor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px auto 2px;
}
.title-decor-compact {
  margin-top: 2px;
  margin-bottom: 6px;
}
.title-decor-icon,
.title-letter {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  border: 2px solid #dbeaf7;
  box-shadow: 0 10px 18px rgba(89, 132, 179, .12);
}
.title-decor-icon { font-size: 22px; }
.title-letter {
  font-size: 22px;
  color: #4871b5;
  background: linear-gradient(180deg, #ffffff, #eef7ff);
}
.hero-game { display: grid; justify-items: center; }
.hero-game h1 { margin-top: 8px; }
.game-topbar-simple {
  margin-top: 8px;
  width: 100%;
  max-width: 1220px;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 860px);
  justify-content: center;
  align-items: center;
}
.game-topbar-simple > * {
  grid-column: 2;
  justify-self: center;
}
.game-wrap {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 860px);
  gap: 20px;
  align-items: start;
  justify-content: center;
}
.game-header-bar {
  width: min(100%, 1220px);
  margin: 0 auto 8px;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 860px);
  justify-content: center;
  align-items: center;
}
.game-topbar-game-only {
  grid-column: 2;
  width: 100%;
  max-width: 860px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0;
}
.game-card { min-width: 0; }
.garden-panel {
  position: sticky;
  top: 16px;
}
.garden-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,250,255,.98));
  border: 2px solid #dbeaf7;
  border-radius: 28px;
  box-shadow: 0 14px 24px rgba(92, 132, 176, .12);
  padding: 14px 12px 16px;
}
.garden-card::after { display: none; }
.garden-card-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 10px;
}
.garden-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  border: 2px solid #dcebf7;
  box-shadow: 0 8px 16px rgba(92, 132, 176, .10);
  text-align: center;
  font-size: 17px;
}
.garden-pill-soft {
  min-width: 78px;
  background: linear-gradient(180deg, #fffef5, #fff7d8);
  border-color: #f0dfa0;
  color: #8a6910;
}
.garden-scene,
.garden-summary-card {
  display: none;
}
.garden-beds {
  position: relative;
  z-index: 1;
}
.star-garden-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 14px 12px 12px;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  border: 2px solid #d9eaf7;
}
.star-garden-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 219, 121, .22) 0, transparent 22%),
    radial-gradient(circle at 82% 22%, rgba(163, 199, 255, .20) 0, transparent 18%),
    radial-gradient(circle at 50% 78%, rgba(181, 223, 255, .18) 0, transparent 24%);
  pointer-events: none;
}
.star-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.star-slot {
  position: relative;
  min-height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,247,255,.94));
  border: 2px solid #dceaf7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.star-slot-icon {
  position: relative;
  z-index: 1;
  font-size: 28px;
  filter: grayscale(1) saturate(.1) brightness(1.1);
  opacity: .28;
  transform: scale(.92);
  transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}
.star-slot-glow {
  position: absolute;
  inset: 6px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(255, 228, 131, .45) 0, rgba(255, 228, 131, 0) 72%);
  opacity: 0;
  transition: opacity .2s ease;
}
.star-slot.is-earned {
  border-color: #f0d37d;
  background: linear-gradient(180deg, #fffef8, #fff6d4);
  box-shadow: 0 10px 16px rgba(233, 197, 91, .15), inset 0 1px 0 rgba(255,255,255,.92);
}
.star-slot.is-earned .star-slot-icon {
  opacity: 1;
  filter: none;
  transform: scale(1.04);
}
.star-slot.is-earned .star-slot-glow { opacity: 1; }
.star-slot.is-milestone .star-slot-icon { font-size: 31px; }
.star-rewards {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}
.star-reward {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(237,246,255,.94));
  border: 2px solid #dbeaf7;
  box-shadow: 0 10px 16px rgba(92, 132, 176, .10);
}
.star-reward-icon {
  font-size: 30px;
  filter: grayscale(1) saturate(.08) brightness(1.1);
  opacity: .3;
}
.star-reward.is-earned {
  background: linear-gradient(180deg, #fffef7, #ffeeb2);
  border-color: #efcf74;
  box-shadow: 0 12px 20px rgba(233, 197, 91, .18);
}
.star-reward.is-earned .star-reward-icon {
  filter: none;
  opacity: 1;
}
.series-ribbon {
  background: linear-gradient(180deg, #eef8ff, #f8fcff);
  color: #4d7293;
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 980px) {
  .game-wrap {
    grid-template-columns: 1fr;
  }
  .garden-panel {
    position: static;
  }
  .game-topbar-simple,
  .modal-backdrop-game {
    grid-template-columns: 1fr;
    max-width: 860px;
  }
  .game-topbar-simple > *,
  .modal-backdrop-game .modal-card {
    grid-column: 1;
    justify-self: center;
  }
}
@media (max-width: 640px) {
  .title-decor { gap: 8px; }
  .title-decor-icon,
  .title-letter {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    font-size: 19px;
  }
  .garden-pill { font-size: 15px; }
  .star-track { gap: 8px; }
  .star-slot { min-height: 52px; border-radius: 16px; }
  .star-slot-icon { font-size: 24px; }
  .star-reward { width: 48px; height: 48px; }
  .star-reward-icon { font-size: 26px; }
}


.hero-school-motifs,
.intro-illustration,
.intro-mini-note {
  pointer-events: none;
}

.intro-cta-stack,
.intro-cta-stack .cta-btn {
  position: relative;
  z-index: 2;
}


.intro-card::before { pointer-events: none; }
.intro-card, .intro-main-simple, .intro-cta-stack, .intro-cta-stack .cta-btn { position: relative; z-index: 3; }
.cta-btn { touch-action: manipulation; }


.intro-cta-stack .cta-btn,
.modal-actions-2 .cta-btn,
.cta-btn {
  pointer-events: auto !important;
  cursor: pointer;
}

.intro-main-simple .intro-cta-stack {
  isolation: isolate;
}


.star-reward-icon { line-height: 1; transform: translateY(1px); }


.feedback[data-state="success"] {
  color: #355d1d;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.feedback[data-state="progress"] { color: #4e7091; }
.feedback[data-state="idle"] { color: #4e7091; }

.visual-board.is-solved .image-wrap {
  border-color: #f3d77a;
  box-shadow: 0 0 0 6px rgba(243, 215, 122, .18);
}

.action-listen.is-solved-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: listenPulse 1.15s ease-in-out infinite;
  box-shadow: 0 14px 24px rgba(233, 197, 91, .24);
}

.action-primary.is-solved-visible {
  box-shadow: 0 14px 24px rgba(74, 115, 219, .24);
}

.success-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(94%, 340px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 8px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 7;
}
.success-overlay.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.success-badge {
  min-width: 190px;
  text-align: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff9d9, #ffe89c);
  border: 2px solid #efcf74;
  color: #7c6110;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(233, 197, 91, .26);
}
.success-icons {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 2px solid rgba(220,234,247,.95);
  box-shadow: 0 10px 18px rgba(92, 132, 176, .12);
}
.success-icons span {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1;
}
.success-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 6;
}
.success-burst span {
  position: absolute;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  text-shadow: 0 6px 12px rgba(0,0,0,.08);
  animation: childBurst 1.6s ease-out forwards;
}

@keyframes childBurst {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(.4) rotate(0deg);
  }
  12% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--burst-x, 0), var(--burst-y, 120px), 0) scale(1.08) rotate(var(--burst-rotate, 0deg));
  }
}

@keyframes listenPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (max-width: 640px) {
  .success-overlay { top: 52%; width: min(92%, 300px); }
  .success-badge { min-width: 148px; padding: 10px 18px; }
  .success-icons { gap: 10px; }
}

.modal-emoji-stack { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.modal-emoji-stack-fireworks span:nth-child(2) { transform: translateY(-10px) scale(.9); }
.modal-backdrop .modal-card { transform: translateY(-8px); }
.modal-backdrop[hidden] .modal-card { transform: translateY(0); }

.modal-backdrop-game {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 860px);
  justify-content: center;
  align-items: center;
}
.modal-backdrop-game .modal-card {
  grid-column: 2;
  justify-self: center;
}


.cta-btn, .action-primary { background-image: linear-gradient(180deg, #8cc4ff, #5c96f0); }
.cta-btn-secondary { background-image: linear-gradient(180deg, #93ddb5, #61bf8f); }
.cta-btn-soft { background-image: linear-gradient(180deg, #ffffff, #f3faff); }
.garden-card { background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(246,250,255,.99)); }
.garden-pill-soft { background: linear-gradient(180deg, #fffef5, #fff3c2); }
.action-btn { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.action-btn:hover:not(:disabled) { transform: translateY(-1px) scale(1.01); }
.visual-board, .garden-card, .intro-card { backdrop-filter: blur(6px); }


/* v53 centering aligned to the main game card + level 2 free mode visual distinction */
.hero-game {
  width: min(100%, 1220px);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 860px);
  justify-content: center;
  align-items: start;
}
.hero-game .title-decor,
.hero-game h1,
.hero-game .game-topbar-simple {
  grid-column: 2;
  justify-self: center;
}
.hero-game .title-decor {
  width: auto;
}
.hero-game h1 {
  width: 100%;
  max-width: 860px;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
}
.game-topbar-simple {
  width: 100%;
  max-width: 860px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.game-topbar-simple > * {
  grid-column: auto;
  justify-self: auto;
}
.modal-backdrop-game {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 860px);
  justify-content: center;
  align-items: center;
}
.modal-backdrop-game .modal-card {
  grid-column: 2;
  justify-self: center;
}
.success-overlay {
  top: 38%;
  width: min(90%, 300px);
}
@media (max-width: 980px) {
  .game-header-bar {
    width: min(100%, 860px);
    grid-template-columns: 1fr;
    margin-bottom: 6px;
  }
  .game-topbar-game-only {
    grid-column: 1;
    max-width: 100%;
    justify-content: center;
  }
  .hero-game {
    width: min(100%, 860px);
    grid-template-columns: 1fr;
  }
  .hero-game .title-decor,
  .hero-game h1,
  .hero-game .game-topbar-simple,
  .modal-backdrop-game .modal-card {
    grid-column: 1;
  }
  .modal-backdrop-game {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hero-game h1 {
    font-size: clamp(30px, 9vw, 52px);
  }
  .success-overlay {
    top: 34%;
    width: min(90%, 260px);
  }
}

/* v47 design joyeux - base mauve douce + images école décoratives */
:root {
  --sky-1: #f4edff;
  --sky-2: #fdf9ff;
  --sky-3: #ebe1ff;
  --card-border: #ddd7f6;
  --ink: #435d8f;
  --frame-border: #aeb7d8;
  --frame-fill: #ffffff;
  --shadow: 0 18px 38px rgba(125, 111, 176, 0.14);
}
body {
  background:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.72) 0 7%, transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(255,255,255,.56) 0 8%, transparent 23%),
    linear-gradient(180deg, #f4eefc 0%, #f6f2fd 42%, #fcf8ff 100%);
}
.app-shell::before,
.app-shell::after {
  content: none;
  display: none;
}
.hero {
  position: relative;
}
.hero::before,
.hero::after {
  content: none;
  display: none;
}
.hero-badge {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,241,255,.94));
  border-color: #e4daf8;
  color: #6c5897;
  box-shadow: 0 14px 28px rgba(123, 103, 178, .12);
}
.hero h1 {
  color: #4a6297;
  text-shadow: 0 3px 0 rgba(255,255,255,.82), 0 16px 24px rgba(137, 116, 180, .10);
}
.hero-subtitle,
.hero p {
  color: #5b6f98;
}
.motif-chip,
.title-decor-icon,
.title-letter {
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,242,255,.95));
  border-color: #e3daf7;
  box-shadow: 0 12px 22px rgba(127, 111, 177, .14);
}
.title-letter {
  color: #6a78cc;
}
.intro-card,
.visual-board,
.garden-card,
.modal-card,
.parent-profile-card,
.parent-level-card,
.profile-inline-details,
.word-list-details,
.session-jar,
.tracked-pill,
.tracked-progress {
  border-color: #ddd7f6;
  box-shadow: 0 18px 36px rgba(126, 112, 178, .14);
}
.intro-card,
.visual-board,
.garden-card,
.modal-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,245,255,.96)),
    linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,0));
}
.intro-card {
  overflow: hidden;
}
.intro-card::after {
  content: none;
  display: none;
}
.intro-illustration span {
  background: linear-gradient(180deg, #ffffff, #f7f1ff);
  border-color: #e3daf7;
  box-shadow: 0 12px 20px rgba(127, 111, 177, .12);
}
.intro-mini-note,
.setting-note,
.profile-btn span,
.parent-progress-text,
.tracked-progress-text,
.session-progress-text,
.word-list-details summary,
.profile-inline-details summary,
.setting-label {
  color: #6f7fa5;
}
.cta-btn {
  background: linear-gradient(180deg, #88a8ff, #6e87f0);
  border-color: #6780de;
  box-shadow: 0 18px 30px rgba(110, 135, 240, .24);
}
.cta-btn-secondary {
  background: linear-gradient(180deg, #9adcb8, #68c18f);
  border-color: #57a97d;
}
.cta-btn-soft {
  background: linear-gradient(180deg, #ffffff, #f4efff);
  border-color: #ddd7f6;
  color: #5373a5;
}
.visual-board::before {
  width: 220px;
  height: 220px;
  top: -36px;
  left: -32px;
  background:
    radial-gradient(circle, rgba(255, 224, 162, .48) 0, transparent 72%),
    url('../images/decor_school_left.svg') center / 86% no-repeat;
  opacity: .30;
}
.visual-board::after {
  width: 260px;
  height: 260px;
  right: -74px;
  bottom: -72px;
  background:
    radial-gradient(circle, rgba(228, 220, 255, .85) 0, transparent 72%),
    url('../images/decor_school_right.svg') center / 88% no-repeat;
  opacity: .26;
}
.image-wrap,
.drop-frame,
.scatter-area,
.star-garden-shell,
.profile-btn,
.parent-input,
.option-pill,
.toggle-row {
  border-color: #ddd7f6;
}
.image-wrap {
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.9) 0 18%, transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(253,249,255,.96));
}
.image-wrap::before,
.image-wrap::after,
.scatter-area::before,
.scatter-area::after {
  content: '';
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .78;
}
.image-wrap::before {
  width: clamp(68px, 8vw, 98px);
  height: clamp(68px, 8vw, 98px);
  left: 18px;
  top: 18px;
  background-image: url('../images/decor_school_left.svg');
}
.image-wrap::after {
  width: clamp(74px, 8.4vw, 104px);
  height: clamp(74px, 8.4vw, 104px);
  right: 16px;
  bottom: 14px;
  background-image: url('../images/decor_school_right.svg');
}
.scatter-area::before {
  width: 168px;
  height: 64px;
  right: 14px;
  top: 10px;
  background-image: url('../images/decor_school_bottom.svg');
  opacity: .56;
}
.scatter-area::after {
  width: 76px;
  height: 76px;
  left: 18px;
  bottom: 12px;
  background-image: url('../images/decor_school_left.svg');
  opacity: .44;
}
.prompt-bubble,
.garden-pill,
.series-ribbon,
.profile-level-badge,
.word-chip {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,240,255,.95));
  border-color: #ddd7f6;
}
.action-btn {
  border-color: #ddd7f6;
  box-shadow: 0 14px 24px rgba(126, 112, 178, .14);
}
.action-primary {
  background: linear-gradient(180deg, #8ab6ff, #708ef4);
  border-color: #6880df;
}
.action-help {
  background: linear-gradient(180deg, #fff9e8, #ffe9a9);
}
.action-listen {
  background: linear-gradient(180deg, #fff7cd, #ffe28f);
}
.garden-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,243,255,.97));
}
.star-garden-shell {
  background:
    linear-gradient(180deg, #fefcff, #f5f0ff),
    url('../images/decor_school_bottom.svg') center bottom / 88% auto no-repeat;
}
.modal-card::before {
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(255, 227, 139, .34) 0, transparent 70%);
}
.modal-card::after {
  width: 136px;
  height: 136px;
  background: radial-gradient(circle, rgba(225, 214, 255, .55) 0, transparent 72%);
}
.feedback {
  color: #5b6f98;
}
.card-copyright {
  color: #9b90ad;
}
@keyframes floatSticker {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@media (max-width: 980px) {
  .app-shell::before,
  .app-shell::after,
  .hero::before,
  .hero::after {
    opacity: .56;
    width: 120px;
  }
}
@media (max-width: 640px) {
  .app-shell::before,
  .app-shell::after,
  .hero::before,
  .hero::after,
  .image-wrap::before,
  .image-wrap::after,
  .scatter-area::before,
  .scatter-area::after {
    display: none;
  }
  .intro-card::after {
    width: 168px;
    height: 64px;
    right: 10px;
    bottom: 10px;
  }
  body {
    background-attachment: scroll;
  }
}


/* v48 decor allégé : suppression des dessins éparpillés, fond mauve doux conservé */
body {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.78) 0 8%, transparent 24%),
    radial-gradient(circle at 82% 8%, rgba(255,255,255,.62) 0 9%, transparent 25%),
    linear-gradient(180deg, #f2eaff 0%, #f7f1ff 45%, #fdf9ff 100%) !important;
}
.app-shell::before,
.app-shell::after,
.hero::before,
.hero::after,
.intro-card::after,
.image-wrap::before,
.image-wrap::after,
.scatter-area::before,
.scatter-area::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
}
.visual-board::before {
  background: radial-gradient(circle, rgba(255, 224, 162, .20) 0, transparent 72%) !important;
  opacity: .22 !important;
}
.visual-board::after {
  background: radial-gradient(circle, rgba(228, 220, 255, .42) 0, transparent 72%) !important;
  opacity: .18 !important;
}
.star-garden-shell {
  background: linear-gradient(180deg, #fefcff, #f5f0ff) !important;
}
@media (max-width: 640px) {
  body {
    background-attachment: scroll !important;
  }
}


/* v58 design épuré et plus doux : suppression des décors criards, palette mauve claire */
:root {
  --sky-1: #f3eeff;
  --sky-2: #faf7ff;
  --sky-3: #e8defd;
  --card-border: #ddd3f6;
  --ink: #556892;
  --shadow: 0 18px 42px rgba(125, 108, 173, 0.12);
  --frame-border: #b4b3dd;
  --frame-fill: #ffffff;
}
body {
  background:
    radial-gradient(circle at 14% 11%, rgba(255,255,255,.92) 0 7%, transparent 23%),
    radial-gradient(circle at 84% 9%, rgba(255,255,255,.76) 0 8%, transparent 24%),
    linear-gradient(180deg, #f3edff 0%, #f8f4ff 48%, #fdfbff 100%) !important;
  color: var(--ink);
}
.bg-shape {
  opacity: .16;
  filter: blur(6px);
}
.bg-shape-1 { background: radial-gradient(circle, rgba(255, 218, 143, .82) 0 20%, transparent 72%); }
.bg-shape-2 { background: radial-gradient(circle, rgba(211, 224, 255, .88) 0 18%, transparent 70%); }
.bg-shape-3 { background: radial-gradient(circle, rgba(238, 209, 255, .82) 0 18%, transparent 72%); }
.school-icon,
.hero-school-motifs,
.title-decor,
.intro-illustration {
  display: none !important;
}
.hero {
  max-width: 980px;
  margin-bottom: 22px;
}
.hero-badge {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,241,255,.95));
  border: 2px solid #e6dcf8;
  color: #7b67a4;
  box-shadow: 0 14px 30px rgba(124, 105, 174, .10);
  padding: 9px 18px;
}
.hero h1 {
  color: #5f6fba;
  text-shadow: 0 2px 0 rgba(255,255,255,.88);
  letter-spacing: .01em;
  margin-top: 18px;
}
.hero p,
.hero-subtitle {
  color: #6f7ea8;
}
.intro-card,
.visual-board,
.garden-card,
.modal-card,
.parent-profile-card,
.parent-level-card,
.profile-inline-details,
.word-list-details,
.session-jar,
.tracked-pill,
.tracked-progress {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,247,255,.97)) !important;
  border-color: #ddd3f6 !important;
  box-shadow: 0 20px 40px rgba(124, 106, 172, .11) !important;
}
.intro-main h2,
.settings-title {
  color: #5b6dad;
}
.intro-main p,
.setting-label,
.intro-mini-note,
.setting-note,
.profile-btn span,
.parent-progress-text,
.tracked-progress-text,
.session-progress-text,
.word-list-details summary,
.profile-inline-details summary {
  color: #7686ae;
}
.cta-btn {
  background: linear-gradient(180deg, #8fa8ff, #7588ef) !important;
  border-color: #6f81de !important;
  box-shadow: 0 18px 30px rgba(117, 136, 239, .22) !important;
}
.cta-btn-secondary {
  background: linear-gradient(180deg, #98dcb2, #6ec08f) !important;
  border-color: #63af84 !important;
}
.cta-btn-soft {
  background: linear-gradient(180deg, #ffffff, #f5f0ff) !important;
  border-color: #ddd3f6 !important;
  color: #5a73a2 !important;
}
.visual-board::before {
  background: radial-gradient(circle, rgba(255, 226, 160, .18) 0, transparent 72%) !important;
  opacity: .18 !important;
}
.visual-board::after {
  background: radial-gradient(circle, rgba(221, 210, 255, .26) 0, transparent 72%) !important;
  opacity: .16 !important;
}
.image-wrap {
  background: linear-gradient(180deg, #ffffff, #fcf9ff) !important;
  border-color: #f0d27d !important;
}
.scatter-area {
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(245,240,255,.92)),
    repeating-linear-gradient(45deg, rgba(156, 138, 233, .05), rgba(156, 138, 233, .05) 12px, transparent 12px, transparent 24px) !important;
  border-color: #d7cdf2 !important;
}
.drop-frame {
  border-color: #aeb1dd !important;
  background: linear-gradient(180deg, #ffffff, #fcfbff) !important;
}
.prompt-bubble,
.garden-pill,
.series-ribbon,
.profile-level-badge,
.word-chip,
.option-pill,
.toggle-row,
.parent-input {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,242,255,.96)) !important;
  border-color: #ddd3f6 !important;
}
.action-btn {
  border-color: #ddd3f6 !important;
  box-shadow: 0 14px 24px rgba(124, 106, 172, .12) !important;
}
.action-primary {
  background: linear-gradient(180deg, #8daeff, #748aef) !important;
  border-color: #6f81de !important;
}
.action-help,
.action-listen {
  background: linear-gradient(180deg, #fffaf0, #ffe7a8) !important;
  border-color: #efd48a !important;
  color: #83631e !important;
}
.star-garden-shell {
  background: linear-gradient(180deg, #fffefe, #f7f2ff) !important;
}
.garden-pill-soft {
  background: linear-gradient(180deg, #fffef6, #fff3c9) !important;
  border-color: #efdba0 !important;
  color: #8a6a15 !important;
}
.feedback {
  color: #6173a4 !important;
}
@media (max-width: 640px) {
  .hero {
    margin-bottom: 18px;
  }
}


/* v59 fond école léger + titre enrichi */
body {
  background:
    linear-gradient(180deg, rgba(255,255,255,.54), rgba(255,255,255,.34)),
    url('../images/bg_school_pattern.svg') center top / cover no-repeat fixed,
    linear-gradient(180deg, #f2ecff 0%, #f8f4ff 52%, #fdfbff 100%) !important;
}
.hero-badge {
  display: none !important;
}
.hero {
  max-width: 1040px;
}
.hero h1 {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.title-line-2 {
  display: block;
  max-width: 18ch;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  border: 2px solid #e6dcf8;
  box-shadow: 0 12px 26px rgba(124, 105, 174, .10);
  color: #7080bf;
  font-size: clamp(14px, 1.8vw, 20px);
  line-height: 1.2;
  letter-spacing: .03em;
}
.title-line-2-game {
  max-width: 26ch;
  font-size: clamp(12px, 1.35vw, 16px);
  padding: 8px 14px;
}
.hero-subtitle {
  max-width: 820px;
  padding: 0 12px;
  color: #6d7ea8;
}
.intro-card,
.visual-board,
.garden-card,
.modal-card {
  backdrop-filter: blur(1.5px);
}
.series-ribbon,
.prompt-bubble,
.garden-pill {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,241,255,.95));
}
@media (max-width: 980px) {
  body {
    background-attachment: scroll !important;
    background-position: center top;
  }
  .title-line-2 {
    max-width: 24ch;
  }
}
@media (max-width: 640px) {
  .title-line-2 {
    max-width: 22ch;
    font-size: clamp(13px, 3.2vw, 16px);
    padding: 9px 14px;
  }
  .title-line-2-game {
    max-width: 24ch;
    font-size: 12px;
    padding: 7px 12px;
  }
}


/* v60 vrai titre principal + fond école épuré */
body {
  background:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.70) 0 7%, transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(255,255,255,.54) 0 8%, transparent 23%),
    linear-gradient(180deg, #f4eefc 0%, #f6f2fd 42%, #fcf8ff 100%) !important;
}
.hero {
  max-width: 1080px;
}
.hero h1 {
  display: block !important;
  width: min(100%, 980px);
  margin: 0 auto 16px;
  padding: clamp(14px, 2.2vw, 22px) clamp(18px, 3vw, 28px);
  border-radius: 28px;
  text-align: center;
  line-height: 1.08;
  letter-spacing: .02em;
  font-size: clamp(26px, 4.1vw, 56px) !important;
  color: #5f63bf;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.80));
  border: 2px solid rgba(219, 209, 248, .95);
  box-shadow: 0 16px 34px rgba(120, 104, 173, .12);
}
.hero h1 .title-main {
  display: block;
}
.hero h1 .hero-script {
  display: block;
  margin-top: .12em;
  color: #b86f97;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: .92em;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  vertical-align: baseline;
  text-shadow: 0 2px 0 rgba(255,255,255,.88);
}
.title-line-2,
.title-line-2-game {
  display: none !important;
}
.hero-subtitle {
  max-width: 860px;
  margin-inline: auto;
  padding: 8px 16px 0;
  font-size: clamp(14px, 1.8vw, 20px);
  color: #6a739c;
}
.intro-card,
.visual-board,
.garden-card,
.modal-card {
  box-shadow: 0 18px 40px rgba(92, 86, 145, .10);
}
@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 16% 10%, rgba(255,255,255,.66) 0 7%, transparent 23%),
      radial-gradient(circle at 84% 8%, rgba(255,255,255,.48) 0 8%, transparent 24%),
      linear-gradient(180deg, #f4eefc 0%, #f7f3fd 48%, #fcf9ff 100%) !important;
  }
  .hero h1 {
    width: min(100%, 94vw);
    border-radius: 24px;
    font-size: clamp(22px, 6.2vw, 34px) !important;
  }
  .hero h1 .hero-script {
    margin-top: .08em;
    font-size: .98em;
    white-space: normal;
  }
}


/* v74 accueil : cartes dispersées sans chevauchement et sans symétrie */
.home-stage {
  position: relative;
  max-width: 1500px;
  min-height: 1460px;
  margin: 0 auto;
  padding: 8px 0 64px;
}
.home-stage-content {
  position: relative;
  z-index: 2;
}
.home-pelmel {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.pelmel-card {
  --pelmel-w: clamp(132px, 10.4vw, 174px);
  position: absolute;
  width: var(--pelmel-w);
  padding: 10px 10px 12px;
  border-radius: 28px;
  border: 2px solid rgba(221, 211, 246, .94);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,243,255,.86));
  box-shadow: 0 20px 34px rgba(114, 102, 165, .11);
  opacity: .98;
}
.pelmel-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(112, 101, 163, .10));
}
.pelmel-word {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0;
  width: 100%;
  margin-top: 6px;
  padding: 8px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.97);
  border: 1.5px solid rgba(222, 212, 246, .95);
  font-size: clamp(16px, 1.18vw, 21px);
  line-height: 1;
  letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96);
}
.pelmel-word span {
  display: inline-block;
  flex: 0 0 auto;
  min-width: auto;
  text-align: center;
}
.pelmel-card-1  { --pelmel-w: clamp(128px, 9.8vw, 154px); left: 2.8%;  top: 154px;  transform: rotate(-7deg); }
.pelmel-card-2  { --pelmel-w: clamp(126px, 9.5vw, 150px); left: 6.2%;  top: 408px;  transform: rotate(6deg); }
.pelmel-card-7  { --pelmel-w: clamp(136px, 10.6vw, 168px); left: 8.8%;  top: 708px;  transform: rotate(-10deg); }
.pelmel-card-3  { --pelmel-w: clamp(136px, 10.8vw, 166px); left: 2.0%;  top: 1128px; transform: rotate(8deg); }
.pelmel-card-10 { --pelmel-w: clamp(130px, 10.1vw, 160px); left: 16.0%; top: 948px;  transform: rotate(5deg); }
.pelmel-card-9  { --pelmel-w: clamp(142px, 11vw, 172px); left: 28.4%; top: 1042px; transform: rotate(-8deg); }
.pelmel-card-13 { --pelmel-w: clamp(132px, 10.2vw, 156px); left: 41.8%; top: 1190px; transform: rotate(4deg); }
.pelmel-card-14 { --pelmel-w: clamp(130px, 10.1vw, 158px); left: 54.0%; top: 1186px; transform: rotate(-6deg); }
.pelmel-card-11 { --pelmel-w: clamp(128px, 9.9vw, 150px); left: 66.5%; top: 1046px; transform: rotate(7deg); }
.pelmel-card-12 { --pelmel-w: clamp(142px, 11vw, 174px); left: 77.8%; top: 938px;  transform: rotate(-6deg); }
.pelmel-card-6  { --pelmel-w: clamp(132px, 10.2vw, 158px); left: 84.7%; top: 1200px; transform: rotate(-8deg); }
.pelmel-card-8  { --pelmel-w: clamp(130px, 10vw, 154px); left: 84.8%; top: 716px;  transform: rotate(4deg); }
.pelmel-card-5  { --pelmel-w: clamp(128px, 9.7vw, 150px); left: 83.1%; top: 408px;  transform: rotate(-5deg); }
.pelmel-card-4  { --pelmel-w: clamp(124px, 9.3vw, 144px); left: 86.2%; top: 142px;  transform: rotate(7deg); }
.hero-home,
.intro-grid-single {
  position: relative;
  z-index: 2;
}
.hero-home {
  margin-bottom: 18px;
}
.intro-grid-single {
  max-width: 760px;
}

@media (max-width: 1320px) {
  .home-stage {
    max-width: 1360px;
    min-height: 1380px;
  }
  .pelmel-card { --pelmel-w: clamp(118px, 9.2vw, 150px); }
  .pelmel-card-1  { left: 2.0%; top: 162px; }
  .pelmel-card-2  { left: 4.8%; top: 412px; }
  .pelmel-card-7  { left: 6.8%; top: 694px; }
  .pelmel-card-10 { left: 14.0%; top: 922px; }
  .pelmel-card-3  { left: 1.8%; top: 1100px; }
  .pelmel-card-9  { left: 27.6%; top: 1008px; }
  .pelmel-card-13 { left: 40.8%; top: 1152px; }
  .pelmel-card-14 { left: 53.6%; top: 1144px; }
  .pelmel-card-11 { left: 65.8%; top: 1012px; }
  .pelmel-card-12 { left: 76.6%; top: 912px; }
  .pelmel-card-6  { left: 83.6%; top: 1150px; }
  .pelmel-card-8  { left: 84.0%; top: 700px; }
  .pelmel-card-5  { left: 81.8%; top: 406px; }
  .pelmel-card-4  { left: 85.4%; top: 150px; }
}

@media (max-width: 1080px) {
  .home-stage {
    min-height: 1160px;
    padding-bottom: 28px;
  }
  .pelmel-card {
    width: 120px;
  }
  .pelmel-word {
    font-size: 15px;
  }
  .pelmel-card-1  { left: 1%; top: 118px; }
  .pelmel-card-2  { left: 2%; top: 376px; }
  .pelmel-card-7  { left: 3%; top: 632px; }
  .pelmel-card-3  { left: 1%; top: 918px; }
  .pelmel-card-10,
  .pelmel-card-9,
  .pelmel-card-13 { display: none; }
  .pelmel-card-4  { left: auto; right: 1%; top: 118px; }
  .pelmel-card-5  { left: auto; right: 1%; top: 376px; }
  .pelmel-card-8  { left: auto; right: 3%; top: 650px; }
  .pelmel-card-6  { left: auto; right: 1%; top: 920px; }
  .pelmel-card-12,
  .pelmel-card-11,
  .pelmel-card-14 { display: none; }
}

@media (max-width: 760px) {
  .home-stage {
    min-height: auto;
    padding-bottom: 10px;
  }
  .home-pelmel {
    display: none;
  }
}

/* v82 accueil responsive : cartes jamais masquées par le cadre central */
.home-stage-content {
  position: relative;
  z-index: 2;
}
.intro-grid-single {
  width: min(100%, 760px);
  margin-inline: auto;
}
.intro-grid-single > .intro-card {
  width: min(100%, 760px);
  max-width: 760px;
  margin-inline: auto;
}

@media (min-width: 1081px) and (max-width: 1600px) {
  .home-stage {
    min-height: 1380px;
  }
  .intro-grid-single {
    width: min(100%, 740px);
    max-width: 740px;
  }
  .intro-grid-single > .intro-card {
    width: min(100%, 740px);
    max-width: 740px;
  }
  .pelmel-card {
    width: clamp(112px, 8.8vw, 148px);
  }
  .pelmel-word {
    font-size: clamp(15px, 1.05vw, 19px);
  }
  .pelmel-card-1  { left: 3.2%;  top: 128px; }
  .pelmel-card-2  { left: 4.4%;  top: 390px; }
  .pelmel-card-7  { left: 7.2%;  top: 648px; }
  .pelmel-card-3  { left: 3.0%;  top: 1048px; }
  .pelmel-card-10 { left: 18.4%; top: 920px; }
  .pelmel-card-9  { left: 31.8%; top: 1016px; }
  .pelmel-card-13 { left: 43.6%; top: 1140px; }
  .pelmel-card-14 { left: 56.6%; top: 1122px; }
  .pelmel-card-11 { left: 66.8%; top: 996px; }
  .pelmel-card-12 { left: 77.0%; top: 930px; }
  .pelmel-card-6  { left: 84.8%; top: 1052px; }
  .pelmel-card-8  { left: 84.0%; top: 640px; }
  .pelmel-card-5  { left: 84.6%; top: 382px; }
  .pelmel-card-4  { left: 86.8%; top: 130px; }
}

@media (min-width: 900px) and (max-width: 1080px) {
  .home-stage {
    min-height: 1260px;
    padding-bottom: 34px;
  }
  .intro-grid-single {
    width: min(100%, 680px);
    max-width: 680px;
  }
  .intro-grid-single > .intro-card {
    width: min(100%, 680px);
    max-width: 680px;
  }
  .pelmel-card {
    width: 112px;
  }
  .pelmel-card-1  { left: 2.2%; top: 126px; }
  .pelmel-card-2  { left: 3.0%; top: 390px; }
  .pelmel-card-7  { left: 4.8%; top: 650px; }
  .pelmel-card-3  { left: 2.2%; top: 1020px; }
  .pelmel-card-10 { left: 20.0%; top: 928px; }
  .pelmel-card-9  { left: 33.0%; top: 1018px; }
  .pelmel-card-13 { left: 46.0%; top: 1130px; }
  .pelmel-card-14 { left: 58.0%; top: 1112px; }
  .pelmel-card-11 { left: 67.5%; top: 1002px; }
  .pelmel-card-12 { left: 78.5%; top: 926px; }
  .pelmel-card-6  { left: 84.5%; top: 1038px; }
  .pelmel-card-8  { left: 84.0%; top: 646px; }
  .pelmel-card-5  { left: 83.8%; top: 392px; }
  .pelmel-card-4  { left: 86.4%; top: 126px; }
}
