/* GÉNÉRÉ par outils/accueil/construire-accueil.py depuis artichou-home-wordpress.html : ne pas modifier ici. */

/*
  Remise a zero : dans la page WordPress, les styles du theme (taille et graisse du texte,
  titres en 750, liens verts sans soulignement) ne doivent pas deteindre sur l'application.
  Specificite (0,1,0) : bat les regles d'elements de WordPress, perd contre celles de l'accueil.
*/
.artichou-home {
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
  letter-spacing: normal;
  text-align: left;
}

.artichou-home :where(h1, h2, h3, h4, h5, h6) {
  font-family: inherit;
  font-weight: bold;
  letter-spacing: normal;
  line-height: normal;
  text-wrap: wrap;
}

.artichou-home :where(h1) { font-size: 2em; }
.artichou-home :where(h2) { font-size: 1.5em; }
.artichou-home :where(h3) { font-size: 1.17em; }
.artichou-home :where(h4) { font-size: 1em; }
.artichou-home :where(p) { text-wrap: wrap; }
.artichou-home :where(a) { color: revert; text-decoration: revert; }
.artichou-home :where(figure) { margin: 0; }

/* Admin connecte : la barre d'administration mange 32 px (46 px sur telephone). */
.admin-bar .artichou-home .artichou-app {
  max-height: calc(100svh - var(--wp-admin--admin-bar--height, 32px));
}

.artichou-home {
      --artichou-ink: #193625;
      --artichou-muted: #5e7465;
      --artichou-leaf: #5fb347;
      --artichou-leaf-deep: #267044;
      --artichou-leaf-dark: #184b32;
      --artichou-mint: #dff5dc;
      --artichou-yellow: #ffd66b;
      --artichou-pink: #f59abb;
      --artichou-purple: #a98ae8;
      --artichou-glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(236, 255, 228, 0.24));
      --artichou-glass-border: rgba(255, 255, 255, 0.46);
      --artichou-glass-shadow: 0 14px 30px -22px rgba(15, 57, 35, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.48), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
      --artichou-radius: 18px;
    }

    @font-face {
      font-family: "Nunito";
      font-style: normal;
      font-weight: 400 900;
      font-display: swap;
      src: url("fonts/nunito-latin.woff2") format("woff2");
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

    .artichou-home,
.artichou-home * {
      box-sizing: border-box;
    }

    .artichou-home,
.artichou-home {
      min-height: 100%;
      margin: 0;
    }

    .artichou-home {
      font-family: "Avenir Next Rounded", "Nunito", "Trebuchet MS", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: #153421;
      color: var(--artichou-ink);
    }

    .artichou-home {
      min-height: 100svh;
      display: grid;
      place-items: center;
      padding: 0;
      background:
        radial-gradient(circle at 20% 15%, rgba(151, 220, 128, 0.34), transparent 34%),
        linear-gradient(135deg, #102d1d 0%, #235f3e 48%, #0f2418 100%);
      isolation: isolate;
      overflow: hidden;
    }

    .artichou-home .artichou-app {
      position: relative;
      width: min(100%, 430px);
      height: 100svh;
      max-height: none;
      overflow: hidden;
      background: #f7e7bf;
      box-shadow: 0 18px 56px rgba(5, 28, 16, 0.42);
    }

    @media (min-width: 560px) {
      .artichou-home {
        padding: 18px;
      }

      .artichou-home .artichou-app {
        height: min(860px, calc(100svh - 36px));
        border: 1px solid rgba(255, 255, 255, 0.52);
        border-radius: 32px;
      }
    }

    .artichou-home .classroom-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
      display: block;
      pointer-events: none;
    }

    .artichou-home .classroom-photo {
      position: absolute;
      inset: 0;
      z-index: 0;
      display: block;
      width: 100%;
      height: 100%;
      overflow: hidden;
      pointer-events: none;
    }

    .artichou-home .classroom-photo img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center top;
    }

    .artichou-home .classroom-vignette {
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        linear-gradient(180deg, rgba(255, 250, 226, 0.06) 0%, rgba(21, 78, 44, 0.11) 100%),
        radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.16), transparent 44%),
        radial-gradient(circle at 50% 100%, rgba(10, 45, 24, 0.2), transparent 62%);
      pointer-events: none;
    }

    .artichou-home .app-content {
      position: relative;
      z-index: 2;
      height: 100%;
      overflow-y: auto;
      scrollbar-width: none;

      padding: max(14px, env(safe-area-inset-top)) 14px calc(136px + env(safe-area-inset-bottom));
    }

    .artichou-home .app-content::-webkit-scrollbar {
      display: none;
    }

    .artichou-home .glass {
      background: var(--artichou-glass-bg);
      -webkit-backdrop-filter: blur(18px) saturate(142%);
      backdrop-filter: blur(18px) saturate(142%);
      border: 1px solid var(--artichou-glass-border);
      box-shadow: var(--artichou-glass-shadow);
      border-radius: var(--artichou-radius);
    }

    .artichou-home button,
.artichou-home .button-like {
      font: inherit;
      transition: all 0.3s ease;
      -webkit-tap-highlight-color: transparent;
    }

    .artichou-home button:hover,
.artichou-home .button-like:hover {
      opacity: 0.96;
      transform: scale(1.02);
    }

    .artichou-home button:active,
.artichou-home .button-like:active {
      opacity: 1;
      transform: scale(0.98);
    }

    .artichou-home button:focus-visible,
.artichou-home .button-like:focus-visible {
      outline: 3px solid rgba(255, 214, 107, 0.95);
      outline-offset: 3px;
    }

    .artichou-home .app-header {
      display: grid;
      grid-template-columns: minmax(0, 1.38fr) minmax(116px, 0.62fr);
      gap: 9px;
      align-items: stretch;
    }

    .artichou-home .profile-card,
.artichou-home .counter-card {
      min-height: 116px;
      padding: 8px;
    }

    .artichou-home .profile-card {
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr);
      gap: 8px;
      align-items: center;
    }

    .artichou-home .avatar-badge {
      width: 58px;
      height: 58px;
      flex: 0 0 auto;
      border-radius: 18px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.34);
      border: 1px solid rgba(255, 255, 255, 0.52);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 7px 16px -14px rgba(23, 75, 47, 0.5);
    }

    .artichou-home .avatar-badge svg,
.artichou-home .avatar-badge img {
      width: 52px;
      height: 52px;
      display: block;
    }

    .artichou-home .profile-name {
      margin: 0 0 5px;
      font-size: clamp(1.08rem, 5.4vw, 1.45rem);
      line-height: 0.95;
      font-weight: 850;
      color: var(--artichou-leaf-dark);
    }

    .artichou-home .profile-summary {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 7px;
    }

    .artichou-home .profile-topline {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .artichou-home .level-chip {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 4px 10px;
      border-radius: 999px;
      color: #ffffff;
      background: linear-gradient(180deg, #7bc957, #3f9a4a);
      font-size: 0.72rem;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
      white-space: nowrap;
    }

    .artichou-home .compact-progress {
      display: grid;
      gap: 4px;
    }

    .artichou-home .compact-progress-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      color: rgba(31, 64, 43, 0.72);
      font-size: 0.63rem;
      font-weight: 850;
      text-transform: uppercase;
    }

    .artichou-home .profile-cta {
      width: max-content;
      min-height: 30px;
      border: 0;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 7px 11px;
      cursor: pointer;
      color: #ffffff;
      background: linear-gradient(180deg, rgba(72, 160, 68, 0.96), rgba(32, 111, 61, 0.96));
      box-shadow: 0 9px 18px -13px rgba(20, 78, 42, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.28);
      font-size: 0.68rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .artichou-home .profile-cta svg {
      width: 17px;
      height: 17px;
      flex: 0 0 auto;
    }

    .artichou-home .counter-card {
      display: grid;
      gap: 0;
    }

    .artichou-home .counter-row {
      display: grid;
      grid-template-columns: 32px minmax(0, 1fr);
      gap: 7px;
      align-items: center;
      min-width: 0;
    }

    .artichou-home .counter-row + .counter-row {
      border-top: 1px solid rgba(28, 79, 47, 0.13);
      padding-top: 6px;
      margin-top: 6px;
    }

    .artichou-home .counter-icon {
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
    }

    .artichou-home .counter-number {
      display: block;
      font-size: clamp(1.14rem, 5.8vw, 1.5rem);
      line-height: 1;
      font-weight: 900;
      color: #243b2c;
      letter-spacing: 0.01em;
    }

    .artichou-home .counter-label {
      display: block;
      margin-top: 2px;
      font-size: 0.61rem;
      font-weight: 850;
      color: rgba(32, 68, 45, 0.7);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .artichou-home .category-bar {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 7px;
      margin: 12px 0 10px;
    }

    .artichou-home .category-item {
      display: grid;
      justify-items: center;
      align-content: start;
      gap: 6px;
      min-width: 0;
    }

    .artichou-home .category-button {
      width: clamp(58px, 17vw, 72px);
      max-width: 100%;
      aspect-ratio: 1;
      border-radius: 50%;
      cursor: pointer;
      color: var(--artichou-ink);
      display: grid;
      place-items: center;
      padding: 0;
    }

    .artichou-home .category-button svg {
      width: 48%;
      height: 48%;
      filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.16));
    }

    .artichou-home .category-button.is-active {
      border-color: rgba(79, 171, 73, 0.96);
      box-shadow:
        var(--artichou-glass-shadow),
        0 0 0 4px rgba(122, 207, 106, 0.24);
    }

    .artichou-home .category-button.reading {
      background: rgba(213, 190, 255, 0.42);
    }

    .artichou-home .category-button.math {
      background: rgba(184, 238, 172, 0.58);
    }

    .artichou-home .category-button.quiz {
      background: rgba(255, 220, 125, 0.5);
    }

    .artichou-home .category-button.writing {
      background: rgba(255, 169, 201, 0.5);
    }

    .artichou-home .category-label {
      min-height: 24px;
      color: #f7fff5;
      font-size: clamp(0.58rem, 2.55vw, 0.68rem);
      line-height: 1.08;
      font-weight: 850;
      text-align: center;
      text-transform: uppercase;
      text-shadow: 0 2px 7px rgba(16, 55, 31, 0.42);
      letter-spacing: 0.01em;
    }

    .artichou-home .progress-track {
      position: relative;
      height: 10px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
      box-shadow: inset 0 1px 4px rgba(25, 67, 41, 0.15);
    }

    .artichou-home .progress-fill {
      width: 0%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #a6df57, var(--artichou-leaf), #2f8d4e);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
      transition: width 520ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .artichou-home .reward-toast {
      position: fixed;
      left: 50%;
      top: 76px;
      z-index: 60;
      display: grid;
      gap: 2px;
      justify-items: center;
      padding: 12px 20px;
      border-radius: var(--artichou-radius);
      background: rgba(24, 75, 50, 0.94);
      border: 1px solid rgba(255, 255, 255, 0.28);
      box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
      color: #ffffff;
      text-align: center;
      opacity: 0;
      transform: translate(-50%, -12px);
      pointer-events: none;
      transition: opacity 220ms ease, transform 220ms ease;
    }

    .artichou-home .reward-toast.is-visible {
      opacity: 1;
      transform: translate(-50%, 0);
    }

    .artichou-home .reward-toast-title {
      font-weight: 900;
      font-size: 0.98rem;
    }

    .artichou-home .reward-toast-detail {
      font-size: 0.84rem;
      color: rgba(255, 255, 255, 0.82);
    }

    @media (prefers-reduced-motion: reduce) {
      .artichou-home .progress-fill,
.artichou-home .reward-toast {
        transition: none;
      }
    }

    .artichou-home .secondary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 10px;
    }

    .artichou-home .mini-card {
      position: relative;
      min-height: 100px;
      padding: 10px 12px;
      overflow: hidden;
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr);
      gap: 10px;
      align-content: center;
      align-items: center;
    }

    .artichou-home .mini-card::after {
      content: "";
      position: absolute;
      right: 12px;
      bottom: 11px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.46);
      background: rgba(255, 255, 255, 0.16);
    }

    .artichou-home .mini-card-icon {
      position: relative;
      z-index: 1;
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
    }

    .artichou-home .mini-card-icon svg {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.16));
    }

    .artichou-home .mini-card-copy {
      position: relative;
      z-index: 1;
      min-width: 0;
    }

    .artichou-home .mini-card-title {
      margin: 0;
      color: var(--artichou-leaf-dark);
      font-size: clamp(0.95rem, 4.35vw, 1.14rem);
      line-height: 1.05;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    .artichou-home .mini-card-text {
      margin: 6px 0 0;
      color: rgba(31, 64, 43, 0.68);
      font-size: 0.72rem;
      line-height: 1.25;
      font-weight: 750;
    }

    .artichou-home .section-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin: 15px 2px 8px;
      color: var(--artichou-leaf-dark);
    }

    .artichou-home .section-title h2,
.artichou-home .section-title span {
      background: rgba(255, 255, 255, 0.78);
      border-radius: 999px;
      padding: 4px 10px;
      box-shadow: 0 1px 4px rgba(16, 55, 31, 0.12);
    }

    .artichou-home .section-title h2 {
      margin: 0;
      font-size: 0.82rem;
      line-height: 1;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .artichou-home .section-title span {
      font-size: 0.72rem;
      font-weight: 850;
    }

    .artichou-home .section-title .mission-path {
      flex: 0 0 auto;
      gap: 6px;
    }

    .artichou-home .section-title .mission-path li {
      width: 32px;
      height: 32px;
      font-size: 16px;
      background: rgba(255, 255, 255, 0.5);
      border-color: rgba(255, 255, 255, 0.8);
      opacity: 0.7;
    }

    .artichou-home .section-title .mission-path li + li::before {
      left: -7px;
      width: 6px;
    }

    .artichou-home .section-title .mission-path li.is-done,
.artichou-home .section-title .mission-path li.is-current {
      opacity: 1;
    }

    .artichou-home .mission-card.glass {
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(240, 255, 233, 0.66));
    }

    .artichou-home .parents-link {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      width: 100%;
      margin-top: 10px;
      padding: 10px 12px;
      border: 1px solid rgba(255, 255, 255, 0.7);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.78);
      color: var(--artichou-leaf-dark);
      font-size: 0.78rem;
      font-weight: 850;
      cursor: pointer;
    }

    .artichou-home .parents-link[hidden] {
      display: none;
    }

    .artichou-home .parents-link svg {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
    }

    .artichou-home .home-tip {
      position: absolute;
      z-index: 6;
      left: 14px;
      right: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 18px;
      background: #fffdf0;
      color: var(--artichou-leaf-dark);
      box-shadow: 0 16px 34px -16px rgba(5, 28, 16, 0.6), 0 0 0 3px var(--artichou-yellow);
      font-weight: 850;
      font-size: 0.9rem;
      line-height: 1.25;
      animation: home-tip-in 0.4s ease-out both;
    }

    .artichou-home .home-tip[hidden] {
      display: none;
    }

    .artichou-home .home-tip img {
      width: 44px;
      height: 44px;
      flex: 0 0 auto;
    }

    .artichou-home .home-tip button {
      margin-left: auto;
      flex: 0 0 auto;
      width: 36px;
      height: 36px;
      border: 0;
      border-radius: 50%;
      background: rgba(31, 64, 43, 0.08);
      color: inherit;
      font-size: 1.1rem;
      cursor: pointer;
    }

    @keyframes home-tip-in {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .artichou-home .treasure-next {
      margin: 10px 2px 0;
      text-align: center;
      font-size: 0.85rem;
      font-weight: 800;
      color: var(--artichou-leaf-dark);
    }

    .artichou-home .treasure-next:empty {
      display: none;
    }

    .artichou-home .treasure-games-title {
      margin: 14px 2px 6px;
      font-size: 0.82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: var(--artichou-leaf-dark);
    }

    .artichou-home .treasure-games {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 6px;
      max-height: 34svh;
      overflow-y: auto;
    }

    .artichou-home .treasure-games li {
      display: grid;
      grid-template-columns: 30px minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
      padding: 6px 8px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.7);
    }

    .artichou-home .treasure-games .tg-picto {
      font-size: 1.3rem;
      text-align: center;
    }

    .artichou-home .treasure-games strong {
      display: block;
      font-size: 0.85rem;
      color: var(--artichou-ink);
    }

    .artichou-home .treasure-games small {
      display: block;
      font-size: 0.74rem;
      color: rgba(31, 64, 43, 0.8);
    }

    .artichou-home .treasure-games .tg-play {
      border: 0;
      border-radius: 999px;
      padding: 8px 12px;
      min-height: 36px;
      background: linear-gradient(180deg, #6bc45f, #1f6b3d);
      color: #fff;
      font-weight: 850;
      font-size: 0.74rem;
      cursor: pointer;
    }

    @media (min-width: 900px) {
      .artichou-home .artichou-app {
        width: min(100%, 760px);
      }

      .artichou-home .mission-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 10px;
      }

      .artichou-home .mission-card {
        min-height: 112px;
      }

      .artichou-home .mission-card strong {
        font-size: 0.82rem;
      }

      .artichou-home .mission-card small {
        font-size: 0.76rem;
      }

      .artichou-home .artichou-app .bottom-nav {
        left: calc(50% - 280px);
        right: auto;
        width: 560px;
      }

      .artichou-home .games-menu--full .games-choice-grid,
.artichou-home .games-menu--full .games-submenu.is-open {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      }
    }

    .artichou-home .mission-strip {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .artichou-home .mission-card {
      min-width: 0;
      min-height: 92px;
      border: 1px solid var(--artichou-glass-border);
      padding: 9px 7px;
      display: grid;
      justify-items: center;
      align-content: center;
      gap: 6px;
      cursor: pointer;
      color: var(--artichou-leaf-dark);
      text-align: center;
    }

    .artichou-home .mission-card svg {
      width: 38px;
      height: 38px;
      filter: drop-shadow(0 4px 5px rgba(23, 77, 45, 0.15));
    }

    .artichou-home .mission-card strong {
      display: block;
      font-size: 0.75rem;
      overflow-wrap: anywhere;
      line-height: 1.08;
      font-weight: 900;
      text-transform: uppercase;
    }

    .artichou-home .mission-card small {
      display: block;
      color: rgba(31, 64, 43, 0.8);
      font-size: 0.7rem;
      line-height: 1;
      font-weight: 850;
    }

    .artichou-home .mission-card {
      position: relative;
    }

    .artichou-home .mission-card.is-next {
      border-color: var(--artichou-yellow);
      box-shadow: 0 0 0 3px var(--artichou-yellow), 0 10px 24px -14px rgba(23, 77, 45, 0.5);
    }

    .artichou-home .mission-next {
      position: absolute;
      top: -6px;
      right: 6px;
      padding: 4px 8px;
      border-radius: 999px;
      background: var(--artichou-yellow);
      color: var(--artichou-leaf-dark);
      font-size: 0.62rem;
      font-weight: 900;
      font-style: normal;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      line-height: 1;
      box-shadow: 0 2px 6px rgba(16, 55, 31, 0.22);
    }

    .artichou-home .mission-card.mission-card--une {
      grid-column: 1 / -1;
      grid-template-columns: 48px minmax(0, 1fr);
      justify-items: start;
      min-height: 72px;
      padding: 10px 14px;
      gap: 12px;
      text-align: left;
      background: linear-gradient(135deg, rgba(255, 247, 230, 0.94), rgba(223, 245, 220, 0.86));
      border-color: rgba(240, 184, 77, 0.7);
    }

    .artichou-home .mission-card.mission-card--une svg {
      width: 48px;
      height: 48px;
    }

    .artichou-home .mission-une-rang {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: inherit;
    }

    .artichou-home .mission-une-rang .mission-card.mission-card--une {
      grid-column: auto;
    }

    @media (max-width: 559px) {
      .artichou-home .mission-une-rang .mission-card.mission-card--une {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 8px;
        padding: 7px 9px;
      }

      .artichou-home .mission-une-rang .mission-card.mission-card--une svg {
        width: 30px;
        height: 30px;
      }

      .artichou-home .mission-une-rang .mission-card.mission-card--une strong {
        font-size: 0.8rem;
        white-space: nowrap;
      }

      .artichou-home .mission-une-rang .mission-card.mission-card--une small {
        display: none;
      }
    }

    .artichou-home .mission-une-texte {
      display: grid;
      gap: 4px;
      justify-items: start;
      min-width: 0;
    }

    .artichou-home .mission-card.mission-card--une strong {
      font-size: 0.95rem;
    }

    .artichou-home .mission-card.mission-card--une small {
      justify-self: start;
      font-size: 0.74rem;
      line-height: 1.15;
    }

    .artichou-home .mission-une-badge {
      padding: 3px 7px;
      border-radius: 999px;
      background: var(--artichou-yellow);
      color: var(--artichou-leaf-dark);
      font-size: 0.6rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      line-height: 1;
    }

    .artichou-home .theme-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
    }

    .artichou-home .theme-card {
      position: relative;
      min-height: 86px;
      border: 1px solid var(--artichou-glass-border);
      padding: 10px;
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr);
      gap: 9px;
      align-items: center;
      cursor: pointer;
      overflow: hidden;
      color: var(--artichou-leaf-dark);
      text-align: left;
    }

    .artichou-home .theme-card::after {
      content: "";
      position: absolute;
      right: -18px;
      bottom: -26px;
      width: 74px;
      height: 74px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 214, 107, 0.22), transparent 68%);
      pointer-events: none;
    }

    .artichou-home .theme-icon {
      position: relative;
      z-index: 1;
      width: 38px;
      height: 38px;
      border-radius: 13px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.28);
      border: 1px solid rgba(255, 255, 255, 0.48);
    }

    .artichou-home .theme-icon svg {
      width: 28px;
      height: 28px;
      filter: drop-shadow(0 3px 4px rgba(23, 77, 45, 0.14));
    }

    .artichou-home .theme-copy {
      position: relative;
      z-index: 1;
      min-width: 0;
    }

    .artichou-home .theme-copy strong {
      display: block;
      font-size: 0.8rem;
      line-height: 1.05;
      font-weight: 900;
      text-transform: uppercase;
    }

    .artichou-home .theme-copy small {
      display: block;
      margin-top: 4px;
      color: rgba(31, 64, 43, 0.66);
      font-size: 0.64rem;
      line-height: 1.12;
      font-weight: 800;
    }

    .artichou-home .daily-bonus {
      margin-top: 10px;
      min-height: 82px;
      padding: 11px;
      display: grid;
      grid-template-columns: 48px minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      overflow: hidden;
      position: relative;
    }

    .artichou-home .daily-bonus::before {
      content: "";
      position: absolute;
      inset: auto -24px -38px auto;
      width: 118px;
      height: 118px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(166, 223, 87, 0.42), transparent 68%);
      pointer-events: none;
    }

    .artichou-home .bonus-icon {
      position: relative;
      z-index: 1;
      width: 48px;
      height: 48px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.5);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
    }

    .artichou-home .bonus-icon svg {
      width: 34px;
      height: 34px;
    }

    .artichou-home .bonus-copy {
      position: relative;
      z-index: 1;
      min-width: 0;
    }

    .artichou-home .bonus-kicker {
      display: block;
      color: rgba(31, 64, 43, 0.68);
      font-size: 0.62rem;
      line-height: 1;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .artichou-home .bonus-copy strong {
      display: block;
      margin-top: 4px;
      color: var(--artichou-leaf-dark);
      font-size: 0.98rem;
      line-height: 1.05;
      font-weight: 900;
    }

    .artichou-home .bonus-copy small {
      display: block;
      margin-top: 3px;
      color: rgba(31, 64, 43, 0.68);
      font-size: 0.68rem;
      line-height: 1.15;
      font-weight: 800;
    }

    .artichou-home .bonus-action {
      position: relative;
      z-index: 1;
      min-height: 34px;
      border: 0;
      border-radius: 999px;
      padding: 7px 11px;
      cursor: pointer;
      color: #ffffff;
      background: linear-gradient(180deg, #76c95a, #318648);
      box-shadow: 0 8px 18px -12px rgba(20, 78, 42, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
      font-size: 0.66rem;
      font-weight: 900;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .artichou-home .bottom-nav {
      position: absolute;
      z-index: 4;
      left: 14px;
      right: 14px;
      bottom: max(12px, env(safe-area-inset-bottom));
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      align-items: center;
      min-height: 66px;
      padding: 6px;
      border-radius: 20px;
    }

    .artichou-home .nav-tab {
      position: relative;
      border: 0;
      background: transparent;
      color: rgba(31, 64, 43, 0.64);
      display: grid;
      justify-items: center;
      gap: 4px;
      padding: 5px 4px 8px;
      cursor: pointer;
      font-size: 0.63rem;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    .artichou-home .nav-tab + .nav-tab {
      border-left: 1px solid rgba(31, 64, 43, 0.12);
    }

    .artichou-home .nav-tab svg {
      width: 25px;
      height: 25px;
      color: currentColor;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }

    .artichou-home .nav-tab.is-active {
      color: var(--artichou-leaf-deep);
    }

    .artichou-home .nav-tab.is-active::after {
      content: "";
      position: absolute;
      left: 28%;
      right: 28%;
      bottom: 1px;
      height: 4px;
      border-radius: 999px;
      background: #58b947;
      box-shadow: 0 2px 8px rgba(88, 185, 71, 0.44);
    }

    .artichou-home .game-overlay {
      position: absolute;
      inset: 0;
      z-index: 10;
      display: none;
      background: rgba(9, 37, 22, 0.82);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }

    .artichou-home .game-overlay.is-open {
      display: block;
    }

    .artichou-home .games-menu {
      position: absolute;
      inset: 0;
      z-index: 8;
      display: none;
      align-items: flex-end;
      padding: 16px 14px max(92px, env(safe-area-inset-bottom));
      background: rgba(9, 37, 22, 0.18);
      -webkit-backdrop-filter: blur(5px);
      backdrop-filter: blur(5px);
    }

    .artichou-home .games-menu.is-open {
      display: flex;
    }

    .artichou-home .games-sheet {
      width: 100%;
      padding: 13px;
      border-radius: 20px;
    }

    .artichou-home .games-sheet-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }

    .artichou-home .games-sheet-head h2 {
      margin: 0;
      color: var(--artichou-leaf-dark);
      font-size: 0.98rem;
      line-height: 1;
      font-weight: 900;
      text-transform: uppercase;
    }

    .artichou-home .games-sheet-head button {
      width: 32px;
      height: 32px;
      border: 0;
      border-radius: 50%;
      display: grid;
      place-items: center;
      cursor: pointer;
      color: var(--artichou-leaf-dark);
      background: rgba(255, 255, 255, 0.36);
      font-size: 1.2rem;
      font-weight: 900;
      line-height: 1;
    }

    .artichou-home .games-choice-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .artichou-home .games-choice-grid.is-hidden {
      display: none;
    }

    .artichou-home .games-submenu {
      display: none;
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .artichou-home .games-submenu.is-open {
      display: grid;
      max-height: min(68vh, 610px);
      overflow-y: auto;
      overscroll-behavior: contain;
      padding-right: 2px;
      scrollbar-width: none;
    }

    .artichou-home .game-choice.games-back {
      min-height: 46px;
      grid-column: 1 / -1;
    }

    .artichou-home .game-choice {
      min-height: 74px;
      border: 1px solid rgba(255, 255, 255, 0.42);
      border-radius: 16px;
      padding: 9px;
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 8px;
      align-items: center;
      cursor: pointer;
      color: var(--artichou-leaf-dark);
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(236, 255, 228, 0.18));
      text-align: left;
    }

    .artichou-home .game-choice svg {
      width: 32px;
      height: 32px;
      filter: drop-shadow(0 3px 4px rgba(23, 77, 45, 0.14));
    }

    .artichou-home .game-choice strong {
      display: block;
      font-size: 0.76rem;
      line-height: 1.05;
      font-weight: 900;
      text-transform: uppercase;
    }

    .artichou-home .game-choice small {
      display: block;
      margin-top: 3px;
      color: rgba(31, 64, 43, 0.68);
      font-size: 0.62rem;
      line-height: 1.08;
      font-weight: 800;
    }

    .artichou-home .games-menu--full {
      align-items: stretch;
      padding: 0;
    }

    .artichou-home .games-menu--full .games-sheet {
      display: flex;
      flex-direction: column;
      height: 100%;

      background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(240, 252, 234, 0.8));
      padding: max(12px, env(safe-area-inset-top)) 12px max(10px, env(safe-area-inset-bottom));
      border-radius: 0;
    }

    .artichou-home .games-menu--full .games-sheet-head {
      justify-content: flex-start;
      gap: 12px;
      margin-bottom: 8px;
      padding-bottom: 8px;
      border-bottom: 1px solid rgba(31, 64, 43, 0.12);
    }

    .artichou-home .games-sheet-head .games-home {
      flex: 0 0 auto;
      width: auto;
      height: auto;
      min-height: 42px;
      padding: 6px 13px 6px 8px;
      border: 1px solid rgba(255, 255, 255, 0.52);
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(255, 255, 255, 0.44);
      font-size: 0.68rem;
      font-weight: 900;
      text-transform: uppercase;
    }

    .artichou-home .games-home svg {
      width: 26px;
      height: 26px;
      filter: drop-shadow(0 2px 4px rgba(23, 77, 45, 0.14));
    }

    .artichou-home .games-heading {
      min-width: 0;
    }

    .artichou-home .games-heading p {
      margin: 3px 0 0;
      color: rgba(31, 64, 43, 0.75);
      font-size: 0.72rem;
      line-height: 1.1;
      font-weight: 800;
    }

    .artichou-home .games-menu--full .games-choice-grid,
.artichou-home .games-menu--full .games-submenu.is-open {
      flex: 1 1 auto;
      min-height: 0;
      max-height: none;
      align-content: start;

      grid-auto-rows: max-content;
      gap: 6px;
      overflow-y: auto;
      overscroll-behavior: contain;
      padding: 2px 2px 10px;
      scrollbar-width: none;
    }

    .artichou-home .games-intro {
      grid-column: 1 / -1;
      margin: 0 0 8px;
      padding: 10px 12px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.7);
      border: 1px solid rgba(95, 179, 71, 0.25);
      color: rgba(31, 64, 43, 0.85);
      font-size: 0.76rem;
      line-height: 1.3;
      font-weight: 800;
    }

    .artichou-home .games-intro p {
      margin: 0 0 6px;
    }

    .artichou-home .games-intro strong {
      color: var(--artichou-leaf-deep);
    }

    .artichou-home .games-steps {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
    }

    .artichou-home .games-steps li {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 6px 8px;
      border-radius: 10px;
      background: rgba(223, 245, 220, 0.7);
      font-size: 0.72rem;
      line-height: 1.2;
    }

    .artichou-home .games-steps span {
      flex: 0 0 auto;
      font-size: 1.15rem;
      line-height: 1;
    }

    @media (max-width: 340px) {
      .artichou-home .games-steps {
        grid-template-columns: 1fr;
      }
    }

    .artichou-home .games-family {
      grid-column: 1 / -1;
      margin: 10px 0 0;
      padding: 0 4px;
      color: var(--artichou-leaf-deep);
      font-size: 0.72rem;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .artichou-home .games-family:first-child {
      margin-top: 0;
    }

    .artichou-home .games-menu--full .game-choice {
      min-height: 66px;
      grid-template-columns: 44px minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
      padding: 10px 10px 10px 10px;
    }

    .artichou-home .games-menu--full .game-choice::after {
      content: "›";
      color: var(--artichou-leaf-deep);
      font-size: 1.5rem;
      font-weight: 900;
      line-height: 1;
      opacity: 0.55;
    }

    .artichou-home .games-menu--full .game-choice svg {
      width: 40px;
      height: 40px;
    }

    .artichou-home .games-menu--full .game-choice strong {
      font-size: 0.82rem;
      line-height: 1.1;
    }

    .artichou-home .games-menu--full .game-choice small {
      margin-top: 3px;
      font-size: 0.68rem;
      line-height: 1.25;
      font-weight: 700;
    }

    .artichou-home .game-age {
      display: inline-block;
      margin-top: 6px;
      padding: 2px 8px;
      border-radius: 999px;
      background: rgba(95, 179, 71, 0.2);
      color: var(--artichou-leaf-deep);
      font-size: 0.64rem;
      line-height: 1.2;
      font-weight: 900;
      text-transform: uppercase;
    }

    .artichou-home .game-frame {
      width: 100%;
      height: 100%;
      border: 0;
      background: #efe3c4 url("artichou-classroom-bg.webp") center top / cover no-repeat;
    }

    .artichou-home .close-game {
      position: absolute;
      top: max(14px, env(safe-area-inset-top));
      right: 14px;
      z-index: 2;
      width: 56px;
      height: 56px;
      border: 1px solid rgba(255, 255, 255, 0.54);
      border-radius: 50%;
      display: grid;
      place-items: center;
      cursor: pointer;
      color: #ffffff;
      background: rgba(18, 68, 37, 0.5);
      -webkit-backdrop-filter: blur(12px) saturate(124%);
      backdrop-filter: blur(12px) saturate(124%);
      box-shadow: 0 12px 28px -20px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
      font-size: 1.6rem;
      font-weight: 900;
      line-height: 1;

      animation: close-game-secours 0.2s ease-out 1.5s both;
    }

    @keyframes close-game-secours {
      from { opacity: 0; visibility: hidden; }
      to { opacity: 1; visibility: visible; }
    }

    .artichou-home .close-game svg {
      width: 30px;
      height: 30px;
      fill: currentColor;
    }

    .artichou-home .close-game[hidden] {
      display: none;
    }

    .artichou-home .next-mission {
      margin-top: 10px;
      padding: 10px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 48px;
      gap: 8px;
      align-items: center;
    }

    .artichou-home .next-mission-button {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 64px minmax(0, 1fr) 44px;
      align-items: center;
      gap: 12px;
      min-height: 74px;
      padding: 6px 14px 6px 8px;
      border: 0;
      border-radius: 18px;
      background: linear-gradient(135deg, #6bc45f, var(--artichou-leaf-deep));
      color: #ffffff;
      cursor: pointer;
      text-align: left;
      box-shadow: 0 16px 30px -18px rgba(24, 75, 50, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .artichou-home .next-mission-play {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.24);
      display: grid;
      place-items: center;
      animation: next-mission-pulse 1.6s ease-in-out infinite;
    }

    .artichou-home .next-mission-play svg {
      width: 34px;
      height: 34px;
      fill: #ffffff;
    }

    .artichou-home .next-mission-copy {
      min-width: 0;
    }

    .artichou-home .next-mission-copy strong {
      display: block;
      font-size: 1.15rem;
      line-height: 1.05;
      font-weight: 900;
      text-transform: uppercase;
    }

    .artichou-home .next-mission-copy small {
      display: block;
      margin-top: 4px;
      font-size: 0.82rem;
      font-weight: 750;
      opacity: 0.92;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .artichou-home .print-downloads { margin-top: 14px; }

    .artichou-home .print-cta {
      text-decoration: none;
      background: linear-gradient(135deg, #f0b64a, #c9782a);
      box-shadow: 0 16px 30px -18px rgba(120, 70, 10, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .artichou-home .print-cta-icon {
      animation: none;
    }

    .artichou-home .print-cta-icon svg {
      width: 34px;
      height: 34px;
    }

    .artichou-home .next-mission-icon {
      width: 44px;
      height: 44px;
      filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.2));
    }

    .artichou-home .mission-path {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-width: 0;
    }

    .artichou-home .mission-path li {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-size: 20px;
      line-height: 1;
      background: rgba(255, 255, 255, 0.34);
      border: 2px solid rgba(255, 255, 255, 0.5);
      opacity: 0.55;
      position: relative;
    }

    .artichou-home .mission-path li + li::before {
      content: "";
      position: absolute;
      left: -10px;
      top: 50%;
      width: 8px;
      height: 3px;
      background: rgba(255, 255, 255, 0.55);
      border-radius: 2px;
    }

    .artichou-home .mission-path li.is-done {
      opacity: 1;
      background: var(--artichou-yellow);
      border-color: #ffffff;
    }

    .artichou-home .mission-path li.is-current {
      opacity: 1;
      background: rgba(255, 255, 255, 0.7);
      box-shadow: 0 0 0 3px var(--artichou-yellow);
      animation: next-mission-pulse 1.6s ease-in-out infinite;
    }

    .artichou-home .mission-voice {
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.6);
      color: var(--artichou-leaf-dark);
      display: grid;
      place-items: center;
      cursor: pointer;
    }

    .artichou-home .mission-voice svg {
      width: 26px;
      height: 26px;
      fill: currentColor;
    }

    @keyframes next-mission-pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.07); }
    }

    .artichou-home .mini-card {
      border: 1px solid var(--artichou-glass-border);
      cursor: pointer;
      text-align: left;
      color: inherit;
    }

    .artichou-home .mini-card-icon.is-emoji {
      font-size: 34px;
      line-height: 1;
    }

    .artichou-home .treasure-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .artichou-home .treasure-card {
      display: grid;
      justify-items: center;
      gap: 6px;
      padding: 14px 8px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.4);
      text-align: center;
    }

    .artichou-home .treasure-card .treasure-icon {
      font-size: 40px;
      line-height: 1;
    }

    .artichou-home .treasure-card strong {
      font-size: 1.6rem;
      font-weight: 900;
      color: var(--artichou-leaf-dark);
      line-height: 1;
    }

    .artichou-home .treasure-card small {
      font-size: 0.72rem;
      font-weight: 800;
      text-transform: uppercase;
      color: var(--artichou-muted);
    }

    .artichou-home .treasure-stars {
      grid-column: 1 / -1;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 4px;
      padding: 10px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.4);
      min-height: 52px;
    }

    .artichou-home .treasure-stars svg {
      width: 26px;
      height: 26px;
      color: var(--artichou-yellow);
      filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
    }

    .artichou-home .treasure-stars.is-empty::after {
      content: "Joue pour gagner des étoiles !";
      font-size: 0.8rem;
      font-weight: 750;
      color: var(--artichou-muted);
      align-self: center;
    }

    .artichou-home .treasure-mascot {
      width: 72px;
      height: 72px;
      object-fit: contain;
      justify-self: center;
      margin: 0 auto 6px;
      display: block;
    }

    .artichou-home .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    @media (max-width: 390px) {
      .artichou-home .app-content {
        padding-inline: 11px;
      }

      .artichou-home .app-header {
        gap: 8px;
      }

      .artichou-home .profile-card,
.artichou-home .counter-card {
        min-height: 106px;
        padding: 7px;
      }

      .artichou-home .profile-card {
        grid-template-columns: 52px minmax(0, 1fr);
      }

      .artichou-home .avatar-badge {
        width: 52px;
        height: 52px;
        border-radius: 16px;
      }

      .artichou-home .avatar-badge svg,
.artichou-home .avatar-badge img {
        width: 47px;
        height: 47px;
      }

      .artichou-home .level-chip {
        min-height: 25px;
        padding-inline: 9px;
        font-size: 0.67rem;
      }

      .artichou-home .profile-cta {
        min-height: 28px;
        padding: 6px 9px;
        font-size: 0.63rem;
      }

      .artichou-home .counter-row {
        grid-template-columns: 29px minmax(0, 1fr);
        gap: 6px;
      }

      .artichou-home .counter-icon {
        width: 29px;
        height: 29px;
      }

      .artichou-home .counter-number {
        font-size: 1.08rem;
      }

      .artichou-home .mini-card {
        min-height: 118px;
        gap: 8px;
      }

      .artichou-home .mini-card-icon {
        width: 40px;
        height: 40px;
      }

      .artichou-home .mission-card {
        min-height: 84px;
        padding: 8px 5px;
      }

      .artichou-home .daily-bonus {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 8px;
      }

      .artichou-home .bonus-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
      }

      .artichou-home .bonus-icon svg {
        width: 30px;
        height: 30px;
      }

      .artichou-home .bonus-action {
        padding-inline: 9px;
      }

      .artichou-home .theme-grid {
        gap: 8px;
      }

      .artichou-home .theme-card {
        min-height: 80px;
        padding: 9px;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
      }

      .artichou-home .theme-icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
      }

      .artichou-home .theme-icon svg {
        width: 25px;
        height: 25px;
      }

      .artichou-home .games-menu {
        padding-inline: 11px;
      }

      .artichou-home .games-menu--full {
        padding-inline: 0;
      }
    }

    @media (max-width: 340px) {
      .artichou-home .app-header,
.artichou-home .secondary-grid {
        grid-template-columns: 1fr;
      }

      .artichou-home .profile-card {
        grid-template-columns: 52px minmax(0, 1fr);
      }

      .artichou-home .counter-card {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }

      .artichou-home .counter-row + .counter-row {
        border-top: 0;
        border-left: 1px solid rgba(31, 64, 43, 0.14);
        padding-top: 0;
        padding-left: 8px;
        margin-top: 0;
      }

      .artichou-home .category-button {
        width: 54px;
      }

      .artichou-home .mission-strip {
        grid-template-columns: 1fr;
      }

      .artichou-home .mission-une-rang {
        grid-template-columns: 1fr;
      }

      .artichou-home .theme-grid {
        grid-template-columns: 1fr;
      }

      .artichou-home .theme-card {
        min-height: 62px;
      }

      .artichou-home .mission-card {
        min-height: 58px;
        grid-template-columns: 32px minmax(0, 1fr) auto;
        justify-items: start;
        text-align: left;
        padding: 8px 10px;
      }

      .artichou-home .mission-card small {
        justify-self: end;
      }

      .artichou-home .daily-bonus {
        grid-template-columns: 42px minmax(0, 1fr);
      }

      .artichou-home .bonus-action {
        grid-column: 1 / -1;
        width: 100%;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .artichou-home,
.artichou-home *,
.artichou-home *::before,
.artichou-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
      }
    }

    .artichou-home .app-header {
      gap: 8px;
    }

    .artichou-home .profile-card,
.artichou-home .counter-card {
      min-height: 0;
      padding: 6px 8px;
    }

    .artichou-home .profile-card {
      grid-template-columns: 42px minmax(0, 1fr);
      gap: 8px;
    }

    .artichou-home .avatar-badge {
      width: 42px;
      height: 42px;
      border-radius: 13px;
    }

    .artichou-home .avatar-badge svg,
.artichou-home .avatar-badge img {
      width: 38px;
      height: 38px;
    }

    .artichou-home .profile-summary {
      gap: 4px;
    }

    .artichou-home .profile-topline {
      gap: 6px;
      flex-wrap: nowrap;
    }

    .artichou-home .profile-name {
      margin: 0;
      font-size: 1.05rem;
      line-height: 1;
      white-space: nowrap;
    }

    .artichou-home .level-chip {
      min-height: 0;
      padding: 3px 8px;
      font-size: 0.62rem;
    }

    .artichou-home .compact-progress {
      gap: 3px;
    }

    .artichou-home .compact-progress-meta {
      font-size: 0.6rem;
    }

    .artichou-home .counter-card {
      align-content: center;
    }

    .artichou-home .counter-row {
      grid-template-columns: 20px minmax(0, 1fr);
      gap: 6px;
    }

    .artichou-home .counter-row + .counter-row {
      padding-top: 3px;
      margin-top: 3px;
    }

    .artichou-home .counter-icon {
      width: 20px;
      height: 20px;
    }

    .artichou-home .counter-icon svg {
      width: 20px;
      height: 20px;
    }

    .artichou-home .counter-row > span:last-child {
      display: flex;
      align-items: baseline;
      gap: 4px;
      min-width: 0;
    }

    .artichou-home .counter-number {
      display: inline;
      font-size: 0.98rem;
    }

    .artichou-home .counter-label {
      display: inline;
      margin: 0;
      font-size: 0.56rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .artichou-home .section-title {
      margin: 10px 2px 6px;
    }

    .artichou-home .mission-card.mission-card--une {
      min-height: 0;
      padding: 7px 12px;
      grid-template-columns: 38px minmax(0, 1fr);
      gap: 10px;
    }

    .artichou-home .mission-card.mission-card--une svg {
      width: 38px;
      height: 38px;
    }

    .artichou-home .mission-une-texte {
      gap: 2px;
    }

    .artichou-home .bottom-nav {
      min-height: 54px;
      padding: 4px;
      border-radius: 18px;
    }

    .artichou-home .nav-tab {
      gap: 2px;
      padding: 3px 2px 6px;
    }

    .artichou-home .nav-tab svg {
      width: 21px;
      height: 21px;
    }

    .artichou-home .nav-tab.is-active::after {
      height: 3px;
    }

    .artichou-home .app-content {
      padding-bottom: calc(112px + env(safe-area-inset-bottom));
    }

    .artichou-home .games-menu--full .games-sheet-head {
      margin-bottom: 6px;
      padding-bottom: 6px;
    }

    .artichou-home .games-sheet-head .games-home {
      min-height: 36px;
      padding: 4px 11px 4px 7px;
    }

    .artichou-home .games-home svg {
      width: 22px;
      height: 22px;
    }

    .artichou-home .artichou-app,
.artichou-home .artichou-app * {
      scrollbar-width: none;
    }

    .artichou-home .artichou-app::-webkit-scrollbar,
.artichou-home .artichou-app *::-webkit-scrollbar {
      display: none;
    }
