/* Pages Avis / Galerie et fenêtres plein cadre de la vitrine, dans le langage de l’accueil :
   titre Arial Black italique en dégradé, photo assombrie à gauche, micro-libellés espacés,
   filets fins, flèches cerclées. Téléphone : zones réservées --safe-top / --safe-bottom (ui.css). */
.hero-eyebrow,
.micro-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.display-number,
.sheet-title {
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1;
  color: #f7f7ff;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .display-number,
  .sheet-title {
    background: linear-gradient(105deg, #fff 4%, var(--accent) 48%, #fff 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
@media (forced-colors: active) {
  .display-number,
  .sheet-title {
    background: none;
    color: CanvasText;
  }
}

/* ——— Bandeau des pages intérieures : photo et titre seuls, plus compact que l’accueil ——— */
.page-hero {
  min-height: min(440px, 62dvh);
  justify-content: flex-end;
}
.page-hero .hero-copy {
  padding: 0 0 40px;
}
.arena-hero.page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 68px);
}
/* Sous-titre des bandeaux : petites capitales espacées, trait violet. */
.arena-hero .hero-copy > p.page-subtitle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 0;
  max-width: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c6cbdc;
}
.page-subtitle::before {
  content: "";
  flex: none;
  width: 32px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px #989bfb;
}
.page-subtitle:empty {
  display: none;
}
.list-actions {
  display: flex;
  align-items: center;
  gap: 8px 26px;
  flex-wrap: wrap;
}
.list-actions .link-arrow {
  justify-self: auto;
}

/* ——— Contenu ——— */
.community-content {
  padding: 60px var(--showcase-gutter) 70px;
  scroll-margin-top: calc(var(--safe-top) + 20px);
}
.list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.list-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* Avis : tableau de score */
.rating-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 60px;
}
.rating-score {
  display: flex;
  align-items: flex-end;
  gap: 22px;
}
.rating-score .display-number {
  font-size: clamp(64px, 6vw, 96px);
  padding-right: 0.08em;
}
.rating-score > div {
  padding-bottom: 16px;
  display: grid;
  gap: 8px;
}
.rating-score .stars,
.review-item .stars {
  color: var(--yellow);
  letter-spacing: 4px;
  font-size: 20px;
}
.micro {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.micro.accent {
  color: var(--accent);
}
.rating-bars {
  display: grid;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.rating-bars > div {
  display: grid;
  grid-template-columns: 34px 1fr 28px;
  gap: 12px;
  align-items: center;
}
.rating-bars .bar {
  height: 2px;
  background: var(--line);
}
.rating-bars .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 8px #989bfb88;
}
.rating-mine {
  display: grid;
  gap: 12px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.mine-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.link-arrow {
  justify-self: start;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #e2e4ef;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.link-arrow:hover {
  color: var(--accent);
}
.community .badge {
  --badge-tone: #c3c6ff;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--badge-tone) 60%, transparent);
  border-radius: 3px;
  color: var(--badge-tone);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
}
.community .badge.approved {
  --badge-tone: var(--green);
}
.community .badge.pending {
  --badge-tone: var(--yellow);
}
.community .badge.rejected {
  --badge-tone: var(--red);
}
.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  column-gap: 50px;
}
.review-item {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.review-item blockquote {
  margin: 0;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-author strong {
  display: block;
  font-size: 14px;
}
.review-author small {
  color: var(--muted);
  font-size: 12px;
}

/* Galerie : mur de photos */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 14px;
}
.wall-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--panel);
}
.wall-tile.big {
  grid-column: span 2;
  grid-row: span 2;
}
.wall-tile.tall {
  grid-row: span 2;
}
.wall-tile.wide {
  grid-column: span 2;
}
.wall-tile .photo-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.wall-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.wall-tile .photo-open:hover img,
.wall-tile .photo-open:focus-visible img {
  transform: scale(1.04);
}
.wall-tile figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: 42px 18px 16px;
  background: linear-gradient(0deg, #0a0e1bee, transparent);
  pointer-events: none;
}
.wall-tile figcaption strong {
  font-size: 15px;
}
.wall-tile.big figcaption strong {
  font-size: 19px;
}
.wall-tile figcaption small {
  color: #c6cbdc;
  font-size: 12px;
}
.photo-wall.mine {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: 240px;
}
.photo-wall.mine figcaption {
  pointer-events: auto;
}

/* Pagination en micro-libellés */
.micro-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 34px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.micro-pager button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.micro-pager button:hover:not(:disabled) {
  color: #fff;
}
.micro-pager button:disabled {
  opacity: 0.3;
  cursor: default;
}
.micro-pager strong {
  color: #fff;
}
.community .site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.community .site-footer {
  align-items: center;
}
.community .site-footer a {
  order: 2;
  margin-left: auto;
}
.community .site-footer small {
  width: auto;
}
.community .site-footer small {
  font-size: 10px;
  letter-spacing: 0.13em;
}

/* ——— Fenêtre unique de la vitrine : photo + panneau, hauteur selon le contenu ——— */
body.sheet-open {
  overflow: hidden;
}
dialog.card-sheet {
  box-sizing: border-box;
  inset: var(--safe-top) 0 var(--safe-bottom);
  width: min(var(--card-width), calc(100vw - 28px));
  height: fit-content;
  max-width: none;
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 28px);
  margin: auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, var(--art-share)) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #10141e;
  color: var(--text);
  box-shadow: 0 30px 100px #000c;
  overflow: hidden;
  --card-width: 880px;
  --art-share: 1fr;
}
dialog.card-sheet.size-lg {
  --card-width: 1180px;
  --art-share: 0.75fr;
}
dialog.card-sheet::backdrop {
  background: #050608c4;
  backdrop-filter: blur(6px);
}
.sheet-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 460px;
}
.sheet-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #0a0e1bb3 0%, transparent 28%),
    linear-gradient(0deg, #0a0e1bf2 8%, #0a0e1b66 62%, #0a0e1b30);
}
.sheet-art .arena-backdrop {
  z-index: -2;
}
.sheet-art-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 32px 32px;
}
/* Le PNG est carré (500 × 500) avec le logo en bande centrale : on recadre sur cette bande. */
.sheet-logo {
  align-self: flex-start;
  width: 150px;
  height: 50px;
  object-fit: cover;
}
.sheet-art-bottom {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.sheet-title {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  padding-right: 0.1em;
  font-size: clamp(36px, 4vw, 52px);
  text-transform: uppercase;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.sheet-art-text {
  color: #ccd1df;
  font-size: 14px;
  line-height: 1.5;
}
.sheet-facts:empty {
  padding-top: 0;
}
.sheet-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding-top: 14px;
  border-top: 1px solid #ffffff26;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c6cbdc;
}
.sheet-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 0;
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 30px);
  padding: 30px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-left: 1px solid var(--line);
  scrollbar-width: thin;
}
.sheet-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.sheet-panel-head .micro-label {
  color: #8a92a6;
}
.sheet-close {
  flex: none;
  width: 44px;
  height: 44px;
  margin: -10px -10px -10px auto;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #c6cbdc;
  cursor: pointer;
  transition:
    color 0.2s,
    transform 0.2s;
}
.sheet-close:hover {
  color: #fff;
  transform: rotate(90deg);
}
.sheet-close svg {
  stroke-width: 1.4;
}
.sheet-content {
  display: grid;
  gap: 18px;
}
.sheet-content > p {
  margin: 0;
}
.sheet .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.sheet .field > span,
.sheet legend {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c0c4d6;
}
.sheet .field input,
.sheet .field textarea {
  font-size: 16px;
  padding-inline: 0;
}
.auth-sheet .field:has(input[name="character_id"]),
.auth-sheet .field:has(input[name="password"]),
.auth-sheet .field:has(input[name="email"]),
.auth-sheet .field:has(input[name="phone"]),
.auth-sheet .field:has(input[name="code"]) {
  grid-column: 1 / -1;
}
/* Mot de passe oublié : lien sous le bouton, aide et confirmation d’envoi. */
.auth-sheet .text-btn.auth-forgot {
  justify-self: center;
  color: #b9bcfd;
  font-size: 13px;
}
.auth-help {
  margin: 0;
  color: #b6bccb;
  font-size: 14px;
  line-height: 1.6;
}
.auth-sent {
  display: grid;
  justify-items: start;
  gap: 18px;
}
.auth-sent > svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid #989bfb66;
  border-radius: 50%;
  color: var(--accent, #989bfb);
  background: #989bfb14;
}
.auth-sent p {
  margin: 0;
  color: #b6bccb;
  line-height: 1.6;
}
.auth-sent strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text, #f4f4f8);
  font-size: 18px;
}
.auth-sent .sheet-submit {
  justify-self: stretch;
}
.sheet-footer {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}
.sheet-footer small {
  color: #8a92a6;
  font-size: 12px;
}
.sheet-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.sheet-total strong {
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-size: 30px;
  letter-spacing: 0.03em;
  color: #fff;
}
/* Bouton d’envoi : pilule à contour violet, flèche dans un rond plein. */
.sheet-submit {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 8px 0 24px;
  border: 1px solid var(--accent);
  border-radius: 40px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0 18px #989bfb44;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.sheet-submit:hover:not(:disabled) {
  box-shadow: 0 0 26px #989bfb88;
}
.sheet-submit span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #111529;
  transition: transform 0.2s;
}
.sheet-submit:hover span {
  transform: translateX(3px);
}
.sheet-tabs {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.sheet-tabs button,
.micro-tab {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #8a92a6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.sheet-tabs button[aria-selected="true"],
.micro-tab[aria-pressed="true"] {
  color: #fff;
  border-bottom-color: var(--accent);
}
.sheet-tabs button:hover,
.micro-tab:hover {
  color: #fff;
}
/* Contenus existants rendus dans la fenêtre (fiche activité, profil, avis, photo). */
.sheet .activity-popup > .eyebrow,
.sheet .profile-summary {
  display: none;
}
.sheet .lightbox-image {
  display: none;
}
.sheet .rating-picker {
  border: 0;
  padding: 0;
  margin: 0;
}
.sheet .text-btn {
  justify-self: start;
}
.sheet .form-actions {
  justify-content: stretch;
}
/* Fiche « Plus d’infos » : albums en onglets soulignés, réservation en pilule. */
.sheet .album-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  border-bottom: 1px solid var(--line);
}
.sheet .album-tabs .filter-tab {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: #8a92a6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sheet .album-tabs .filter-tab.active {
  color: #fff;
  border-bottom-color: var(--accent);
}
.sheet .album-tabs {
  margin: 0;
}
.sheet .album-tabs .filter-tab {
  min-height: 38px;
}
.sheet #album-description:empty {
  display: none;
}
.sheet .slideshow-stage {
  height: clamp(220px, 34vh, 330px);
  border-radius: 8px;
  background: #0a0d15;
}
.sheet .slideshow-stage > img {
  object-fit: cover;
}
/* Flèches : un simple chevron sur la photo, sans rond ni contour. */
.slideshow-stage > button {
  display: grid;
  place-items: center;
  top: 0;
  bottom: 0;
  width: 56px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  filter: drop-shadow(0 1px 4px #000c);
  opacity: 0.8;
  cursor: pointer;
}
.slideshow-stage > button:hover:not(:disabled) {
  opacity: 1;
  background: transparent;
}
.slideshow-stage > button:disabled {
  display: none;
}
.slide-prev {
  left: 0;
}
.slide-next {
  right: 0;
}
.sheet .slide-caption {
  padding: 8px 0 0;
}
.sheet .slide-caption p,
.sheet .slide-caption span {
  font-size: 12px;
  color: #a1a9bb;
}
.sheet .slide-thumbs {
  padding: 4px 0 2px;
  max-height: none;
}
.sheet .slide-thumbs button {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: none;
  opacity: 0.55;
}
.sheet .slide-thumbs button.active {
  border-color: var(--accent);
  opacity: 1;
}
.sheet .slide-thumbs img {
  width: 64px;
  height: 42px;
}
.sheet .activity-popup .activity-intro {
  margin: 14px 0 12px;
  line-height: 1.7;
}
/* Rubriques en colonnes à filets fins plutôt qu’en encadrés. */
.sheet .activity-facts {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 22px;
}
.sheet .activity-facts section {
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}
.sheet .activity-facts h3 {
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.sheet .activity-facts p {
  font-size: 13px;
  line-height: 1.6;
}
.sheet .activity-popup-footer {
  margin-top: 16px;
}
.size-lg .sheet-panel {
  position: relative;
  gap: 14px;
  padding-top: 22px;
}
/* Grande fenêtre : pas de ligne d’en-tête, la croix flotte en haut à droite. */
.size-lg .sheet-panel-head {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 2;
}
.size-lg .sheet-panel-head .micro-label {
  display: none;
}
.size-lg .album-tabs {
  padding-right: 48px;
}
dialog.card-sheet:focus {
  outline: none;
}
.sheet .activity-intro {
  font-size: 15px;
  line-height: 1.7;
  color: #ccd1df;
}
.sheet .activity-popup-footer {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.sheet .activity-popup-footer strong {
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.03em;
}
.sheet .activity-popup-footer .btn.primary {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: 40px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0 18px #989bfb44;
}
.sheet .activity-popup-footer .btn.primary:hover {
  box-shadow: 0 0 26px #989bfb88;
}

/* ——— Cartes d’activité ——— */
.micro-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 30px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.xp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 18px;
}
.xp-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.xp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #0a0e1bf7 30%, #0a0e1b99 62%, #0a0e1b26);
}
.xp-card:hover,
.xp-card:focus-within {
  border-color: #989bfb88;
  box-shadow: 0 0 24px #989bfb33;
}
.xp-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.xp-card:hover .xp-image {
  transform: scale(1.05);
}
.xp-copy {
  margin-top: auto;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 26px;
}
.xp-title {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  padding-right: 0.1em;
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-size: clamp(28px, 2.6vw, 36px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  color: #f7f7ff;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .xp-title {
    background: linear-gradient(105deg, #fff 4%, var(--accent) 48%, #fff 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.xp-copy p {
  margin: 0;
  color: #ccd1df;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 12px;
  border-top: 1px solid #ffffff26;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c6cbdc;
}
.xp-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.xp-book {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.circle-arrow {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px #989bfb66;
  transition: transform 0.2s;
}
.xp-book:hover {
  color: var(--accent);
}
.xp-book:hover .circle-arrow {
  transform: translateX(3px);
}
.showcase-home #activities .section-head .hero-agenda {
  align-self: flex-end;
}

/* ——— Tablette ——— */
@media (max-width: 1000px) {
  .rating-board {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .rating-mine {
    grid-column: 1 / -1;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .photo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 200px;
  }
  dialog.card-sheet.size-lg {
    --art-share: 0.8fr;
  }
}

/* ——— Téléphone portrait (414 × 904, zone sûre 414 × 834) ——— */
@media (max-width: 600px) {
  .page-hero {
    min-height: 300px;
  }
  .page-hero .hero-copy {
    padding: 0 0 28px;
  }
  .arena-hero.page-hero h1 {
    font-size: clamp(32px, 10vw, 44px);
  }
  .arena-hero .hero-copy > p.page-subtitle {
    font-size: 10px;
    gap: 10px;
    white-space: normal;
  }
  .page-subtitle::before {
    width: 20px;
  }
  .community-content {
    padding: 40px 22px 50px;
  }
  .rating-board {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 40px;
  }
  .rating-score .display-number {
    font-size: 64px;
  }
  .review-item blockquote {
    font-size: 18px;
  }
  .photo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
    gap: 8px;
  }
  .wall-tile figcaption {
    padding: 30px 10px 10px;
  }
  .wall-tile figcaption small {
    display: none;
  }
  .wall-tile figcaption strong,
  .wall-tile.big figcaption strong {
    font-size: 13px;
  }
  .list-head h2 {
    font-size: 22px;
  }
  .micro-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -22px;
    padding-inline: 22px;
  }
  .micro-tab {
    flex: none;
  }
  .xp-card {
    min-height: 440px;
  }
  .xp-copy {
    padding: 20px;
  }

  /* Croix toujours visible, sur le bandeau photo, sous la zone réservée du haut. */
  .sheet-close {
    position: fixed;
    top: calc(var(--safe-top) + 8px);
    right: 10px;
    z-index: 6;
    margin: 0;
    color: #fff;
    filter: drop-shadow(0 1px 4px #000c);
  }
  .size-lg .album-tabs {
    padding-right: 0;
  }
  /* Fenêtre plein cadre dans la zone sûre : photo en bandeau, envoi toujours visible. */
  dialog.card-sheet {
    width: 100vw;
    height: calc(100dvh - var(--safe-top) - var(--safe-bottom));
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .sheet-art {
    min-height: 0;
  }
  .sheet-art-copy {
    position: relative;
    inset: auto;
    min-height: 214px;
    padding: 14px 22px 16px;
  }
  .sheet-logo {
    width: 114px;
    height: 38px;
  }
  .sheet-title {
    font-size: clamp(30px, 10vw, 42px);
  }
  .sheet-art-text {
    display: none;
  }
  .sheet-facts {
    font-size: 9px;
    padding-top: 10px;
  }
  .sheet-panel {
    max-height: none;
    padding: 16px 22px 0;
    gap: 16px;
    border-left: 0;
  }
  .sheet .form-grid {
    gap: 18px 16px;
  }
  .sheet-footer {
    position: sticky;
    bottom: 0;
    margin-inline: -22px;
    padding: 12px 22px 14px;
    background: #10141e;
    box-shadow: 0 -12px 24px #10141e;
  }
}

/* ——— Téléphone paysage (904 × 414) : côte à côte, panneau défilant ——— */
@media (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  .page-hero {
    min-height: 0;
  }
  .rating-board {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .photo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }
  .xp-card {
    min-height: 380px;
  }
  dialog.card-sheet,
  dialog.card-sheet.size-lg {
    width: 100vw;
    height: calc(100dvh - var(--safe-top) - var(--safe-bottom));
    max-height: none;
    margin: 0;
    border-radius: 0;
    --art-share: 0.62fr;
  }
  .sheet-art {
    min-height: 0;
  }
  .sheet-art-copy {
    padding: 14px 18px;
  }
  .sheet-logo {
    width: 96px;
    height: 32px;
  }
  .sheet-title {
    font-size: clamp(26px, 4.5vw, 38px);
  }
  .sheet-art-text {
    display: none;
  }
  .sheet-panel {
    max-height: none;
    padding: 12px 22px 0;
    gap: 12px;
  }
  .sheet .form-grid {
    gap: 12px 18px;
  }
  .sheet-footer {
    position: sticky;
    bottom: 0;
    padding: 8px 0 10px;
    background: #10141e;
  }
  .sheet-footer small {
    display: none;
  }
  .sheet-submit {
    min-height: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wall-tile img,
  .xp-image,
  .sheet-submit span,
  .circle-arrow {
    transition: none;
  }
}

/* ——— Agenda : affiches à venir et planning de la semaine ——— */
.posters-section {
  padding-bottom: 0;
}
.poster-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 240px);
  gap: 18px;
  margin-top: 22px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.poster {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}
.poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}
.poster:hover img,
.poster:focus-visible img {
  border-color: #989bfb88;
  box-shadow: 0 0 24px #989bfb44;
  transform: translateY(-3px);
}
.poster-date {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.poster strong {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.week-head {
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.week-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.week-nav button:not(.micro-tab) {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #c6cbdc;
  cursor: pointer;
}
.week-nav button:not(.micro-tab):hover {
  color: #fff;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.week-day {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 260px;
  padding: 16px 10px 20px;
  border-right: 1px solid var(--line);
}
.week-day:last-child {
  border-right: 0;
}
.week-day header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.week-day header span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.week-day header strong {
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-size: 26px;
  color: #fff;
}
.week-day.today header span,
.week-day.today header strong {
  color: var(--accent);
}
.week-day.today {
  background: linear-gradient(180deg, #989bfb14, transparent 60%);
}
.week-event {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 10px 10px 12px;
  border: 0;
  border-left: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: #161b27;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.week-event:hover,
.week-event:focus-visible {
  background: #1f2636;
}
.week-event time {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.week-event strong {
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.week-event small {
  color: var(--muted);
  font-size: 11px;
}
.week-empty {
  margin: 0;
  color: #4a5269;
}
.event-description {
  white-space: pre-wrap;
  color: #ccd1df;
  line-height: 1.7;
}
.event-sheet.has-poster .sheet-art .arena-backdrop {
  object-position: center top;
}
@media (max-width: 1000px) {
  .week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .week-day {
    min-height: 0;
    border-bottom: 1px solid var(--line);
  }
  .week-day:nth-child(2n) {
    border-right: 0;
  }
}
@media (max-width: 600px) {
  .week-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .week-day {
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 14px;
    padding: 14px 0;
    border-right: 0;
  }
  .week-day header {
    grid-row: span 6;
    flex-direction: column;
    gap: 0;
  }
  .week-day.today {
    background: none;
  }
  .poster-row {
    grid-auto-columns: 62%;
  }
}
.link-arrow.danger {
  color: var(--red);
}
.link-arrow.danger:hover {
  color: #ffb3bd;
}

/* ——— Stand de tir ——— */
.range-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}
.range-about {
  display: grid;
  gap: 22px;
}
.range-about > p {
  margin: 0;
  color: #ccd1df;
  font-size: 16px;
  line-height: 1.7;
}
.range-lanes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.range-lanes li {
  padding: 6px 12px;
  border: 1px solid #989bfb55;
  border-radius: 3px;
  color: #c3c6ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.range-facts {
  display: grid;
  margin: 0;
}
.range-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.range-facts div:last-child {
  border-bottom: 1px solid var(--line);
}
.range-facts dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.range-facts dd {
  margin: 0;
  font-weight: 600;
}
.range-book {
  justify-self: start;
  min-width: 280px;
}
.range-plan {
  margin: 0;
  display: grid;
  gap: 10px;
}
.range-plan > img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.range-plan figcaption {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.weapon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 16px;
  margin-top: 22px;
}
.weapon-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0d15;
}
/* Photos d’armes en bandeau large : affichées entières, au-dessus du texte. */
.weapon-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  padding: 10px 18px 70px;
  object-fit: contain;
  object-position: center top;
}
.weapon-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #0a0e1bf2 18%, transparent 55%);
}
.weapon-card > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 20px 22px;
  width: 100%;
}
.weapon-card strong {
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-size: 22px;
  color: #fff;
}
.weapon-card strong small {
  font-family: Inter, system-ui, sans-serif;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.period-tabs {
  display: flex;
  gap: 22px;
}
.lane-tabs {
  margin-top: 6px;
}
.ranking {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ranking li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) repeat(3, 110px) 110px;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.ranking.compact li {
  grid-template-columns: minmax(0, 1fr) repeat(2, 110px) 110px;
}
.ranking .rank {
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-size: 26px;
  color: #59617a;
}
.ranking li.podium .rank {
  background: linear-gradient(105deg, #fff 4%, var(--accent) 48%, #fff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 34px;
}
.ranking .shooter {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.ranking .shooter strong {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.ranking .shooter small,
.ranking .stat-cell small {
  color: var(--muted);
  font-size: 11px;
}
.ranking .stat-cell {
  display: grid;
  gap: 2px;
  font-weight: 600;
}
.ranking .stat-cell small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ranking .points {
  text-align: right;
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-size: 24px;
  color: #fff;
}
.ranking .points small {
  margin-left: 4px;
  font-family: Inter, system-ui, sans-serif;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}
.my-best {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 22px 0 6px;
}
.my-best > div {
  display: grid;
  gap: 4px;
}
.my-best strong {
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-size: 30px;
}
.my-best small {
  color: var(--muted);
  font-size: 12px;
}
.range-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.range-photos img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.range-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.range-team article {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.range-team img,
.range-team .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.range-team small {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* Réservation au stand : lignes arme + boîtes. */
.weapon-lines {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}
.weapon-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 36px;
  gap: 12px;
  align-items: end;
}
.line-remove {
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: #c6cbdc;
  cursor: pointer;
}
.line-remove:disabled {
  opacity: 0.25;
  cursor: default;
}
@media (max-width: 1000px) {
  .range-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .ranking li {
    grid-template-columns: 48px minmax(0, 1fr) 90px 90px;
  }
  .ranking li .stat-cell:nth-of-type(n + 4),
  .ranking li .stat-cell:last-of-type {
    display: none;
  }
}
@media (max-width: 600px) {
  .range-photos {
    grid-template-columns: minmax(0, 1fr);
  }
  .range-photos img {
    height: 200px;
  }
  .ranking li,
  .ranking.compact li {
    grid-template-columns: 40px minmax(0, 1fr) 80px;
  }
  .ranking.compact li {
    grid-template-columns: minmax(0, 1fr) 80px;
  }
  .ranking .stat-cell {
    display: none;
  }
  .ranking .rank {
    font-size: 20px;
  }
  .ranking li.podium .rank {
    font-size: 24px;
  }
  .range-book {
    justify-self: stretch;
    min-width: 0;
  }
  .period-tabs {
    gap: 16px;
  }
}

/* ——— Maze Airlines ——— */
.flight-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: end;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #989bfb14, transparent 60%), #0b0e17;
}
.flight-swap {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
}
.flight-swap:hover {
  color: #fff;
}
.flight-price {
  display: grid;
  gap: 4px;
  min-width: 150px;
}
.flight-price strong {
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-size: 20px;
  white-space: nowrap;
}
.flight-search .sheet-submit {
  min-width: 220px;
}
.route-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 22px;
}
.route-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0e17;
  overflow: hidden;
}
.route-group header {
  display: grid;
  gap: 2px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
}
.route-code {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.route-group h3 {
  margin: 0;
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-size: 20px;
  text-transform: uppercase;
}
.route-group ul {
  margin: 0;
  padding: 6px 0;
  list-style: none;
}
.route-group button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  border: 0;
  background: none;
  color: #e7e9f2;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.route-group button:hover {
  background: #989bfb14;
}
.route-to {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.route-to svg {
  color: var(--accent);
}
.route-to small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.route-group strong {
  white-space: nowrap;
}
.fleet-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fleet-grid .weapon-card img {
  padding: 0;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 1000px) {
  .flight-search {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  }
  .flight-price {
    grid-column: 1 / 3;
  }
  .fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .flight-search {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
  .flight-swap {
    justify-self: center;
    transform: rotate(90deg);
    height: 28px;
  }
  .flight-price {
    grid-column: auto;
  }
  .flight-search .sheet-submit {
    min-width: 0;
  }
  .fleet-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ——— Contacts ——— */
.open-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 18px 0 22px;
}

/* ——— Connexion du dashboard : la fiche de la vitrine posée sur la photo ——— */
.login-page {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - var(--safe-top) - var(--safe-bottom));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 40px 20px;
  overflow: hidden;
}
.login-page > .arena-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.login-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 35%, #989bfb2e, transparent 62%),
    linear-gradient(180deg, #0d1018b3, #0d1018 92%);
}
.login-stage {
  width: min(880px, 100%);
}
.login-page dialog.card-sheet {
  position: relative;
  inset: auto;
  width: 100%;
  max-height: none;
  margin: 0;
}
.login-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.login-back:hover {
  color: var(--accent);
}
@media (max-width: 600px), (max-width: 1000px) and (max-height: 500px) {
  .login-page {
    display: block;
    padding: 0;
  }
  .login-page dialog.card-sheet {
    height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 44px);
  }
  .login-back {
    display: flex;
    justify-content: center;
    height: 44px;
  }
}

/* ——— Agenda : événement à venir sans affiche (photo de l’Arena) ——— */
.poster-fallback {
  position: relative;
  display: block;
}
.poster-fallback img {
  filter: saturate(0.7) brightness(0.6);
}
.poster-fallback em {
  position: absolute;
  inset: auto 14px 16px;
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px #000a;
  overflow-wrap: anywhere;
}
.poster small {
  color: var(--muted);
  font-size: 12px;
}

/* ——— Recrutement ——— */
.recruitment-body {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  font-size: 15px;
}
/* Titre de la présentation au style des titres du site (capitales italiques). */
.recruitment-page #recruitment-heading {
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-size: clamp(24px, 2.4vw, 32px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}
/* Photo paysage ou portrait : affichée entière, sans recadrage. */
.recruitment-photo img {
  width: auto;
  max-width: 100%;
  max-height: min(680px, 80vh);
}
.recruitment-apply {
  position: sticky;
  top: 90px;
}
.recruitment-apply .open-status {
  margin: 0;
}
.field-help {
  margin-top: -2px;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 1000px) {
  .recruitment-apply {
    position: static;
  }
}
/* Armes d’un classement : sous les distances, en plus discret. */
.weapon-tabs {
  margin-top: -10px;
  border-bottom: 0;
}
.weapon-tabs .micro-tab {
  font-size: 10px;
  opacity: 0.85;
}
.weapon-tabs .micro-tab[aria-pressed="true"] {
  opacity: 1;
}
.weapon-tabs[hidden] {
  display: none;
}
/* Classements : photo de profil à gauche du nom. */
.ranking .shooter-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ranking .shooter-cell .avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #989bfb55;
  object-fit: cover;
  font-size: 13px;
}
.ranking li.podium .shooter-cell .avatar {
  border-color: var(--accent);
  box-shadow: 0 0 14px #989bfb55;
}
@media (max-width: 600px) {
  .ranking .shooter-cell .avatar {
    width: 36px;
    height: 36px;
  }
}

/* Page des classements du stand de tir : toutes les distances et armes, sans onglets. */
.board-head {
  align-items: center;
}
.board-note {
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 14px;
}
.board-distance + .board-distance {
  margin-top: 44px;
}
.board-distance-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.board-distance-head h3 {
  margin: 0;
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-style: italic;
  font-size: 30px;
  text-transform: uppercase;
  background: linear-gradient(105deg, #fff 10%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.board-distance-head small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 18px;
}
.board-card {
  padding: 18px 20px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, #989bfb10, #ffffff03 55%);
}
.board-card header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.board-card header .micro-label {
  grid-column: 1 / -1;
}
.board-card h4 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.board-card header small {
  color: var(--muted);
  font-size: 12px;
}
.ranking.board-ranking li {
  grid-template-columns: 40px minmax(0, 1fr) 76px 84px;
  gap: 10px;
  padding: 11px 0;
}
.ranking.board-ranking li:last-child {
  border-bottom: 0;
}
.ranking.board-ranking .rank {
  font-size: 20px;
}
.ranking.board-ranking li.podium .rank {
  font-size: 26px;
}
.ranking.board-ranking .points {
  font-size: 20px;
}
@media (max-width: 720px) {
  .board-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .board-card {
    padding: 14px 14px 4px;
  }
  .ranking.board-ranking li {
    grid-template-columns: 30px minmax(0, 1fr) 64px;
  }
  .ranking.board-ranking li .stat-cell {
    display: none;
  }
}
.board-link {
  display: inline-block;
  margin-top: 18px;
}

/* Changement de page fluide : fondu entre les pages, le bandeau du haut reste en
   place (transitions entre documents, navigateurs récents ; ignoré ailleurs). */
@view-transition {
  navigation: auto;
}
.site-nav {
  view-transition-name: site-nav;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.22s;
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

/* Titres de section dans le style du site : italique Archivo, capitales, dégradé
   blanc → violet, comme les titres des bandeaux. */
.section-head h2,
.list-head h2 {
  width: fit-content;
  margin: 0;
  padding: 0.06em 0.1em 0.08em 0;
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-size: clamp(28px, 3.4vw, 46px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #f7f7ff;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .section-head h2,
  .list-head h2 {
    background: linear-gradient(105deg, #fff 4%, var(--accent) 48%, #fff 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.list-head {
  align-items: center;
}
@media (max-width: 600px) {
  .section-head h2,
  .list-head h2 {
    font-size: 26px;
  }
}
/* Catégories d’activités (téléphone) : défilement horizontal, flèches à gauche et à
   droite (.tabs-scroller, posées par showcase-shared.js), masquées au bout. */
.tabs-arrow {
  display: none;
}
.tabs-scroller {
  position: relative;
}
@media (max-width: 1000px) {
  .micro-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .micro-tabs::-webkit-scrollbar {
    display: none;
  }
  .micro-tab {
    flex: none;
  }
  .tabs-arrow {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 1px;
    display: grid;
    place-items: center;
    width: 44px;
    padding: 0;
    border: 0;
    color: #fff;
    cursor: pointer;
  }
  .tabs-arrow[hidden] {
    display: none;
  }
  .tabs-arrow.prev {
    left: 0;
    justify-items: start;
    background: linear-gradient(90deg, var(--bg) 45%, transparent);
  }
  .tabs-arrow.next {
    right: 0;
    justify-items: end;
    background: linear-gradient(270deg, var(--bg) 45%, transparent);
  }
  .tabs-arrow svg {
    width: 26px;
    height: 26px;
    padding: 5px;
    border: 1px solid #989bfb88;
    border-radius: 50%;
    background: #141624;
    color: var(--accent);
    box-shadow: 0 0 12px #989bfb44;
  } /* Bandeau photo des pages : titre centré sur la hauteur de la photo (sous l’en-tête). */
  .page-hero {
    justify-content: center;
    padding-top: 60px;
  }
  .page-hero .hero-copy {
    padding: 0;
  }
}

/* Fenêtres sur téléphone : tout l’écran, photo sous la barre d’état, envoi au-dessus de
   la barre d’accueil. */
@media (max-width: 600px) {
  dialog.card-sheet,
  dialog.card-sheet.size-lg {
    inset: 0;
    height: 100dvh;
  }
  dialog.card-sheet .sheet-art {
    padding-top: var(--safe-top);
  }
  dialog.card-sheet .sheet-panel {
    padding-bottom: var(--safe-bottom);
  }
  dialog.card-sheet .sheet-footer {
    padding-bottom: calc(14px + var(--safe-bottom));
    margin-bottom: calc(-1 * var(--safe-bottom));
  }
}

/* Vitrine : cloche des notifications sans contour. */
.showcase .notif-bell.icon-btn {
  border-color: transparent;
  background: transparent;
}
.showcase .notif-bell.icon-btn:hover {
  background: #ffffff0d;
}
@keyframes open-ping {
  to {
    opacity: 0;
    transform: scale(2.6);
  }
}
/* Numéro : on appuie {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: underline dotted #989bfb99;
  text-underline-offset: 4px;
  cursor: copy;
  transition: color 0.2s;
}
/* Galerie : bouton d’envoi propre, titre sur une ligne. */
.gallery-head {
  flex-wrap: wrap;
  gap: 14px;
}
.gallery-head h2 {
  white-space: nowrap;
}
.gallery-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 600px) {
  .gallery-add {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 1000px) {
  /* Les flèches sont aux bords : la ligne de catégories occupe toute la largeur. */
  .tabs-scroller {
    margin-bottom: 28px;
  }
  .tabs-scroller .micro-tabs {
    margin: 0;
    padding-inline: 0;
  }
}

/* ——— Téléphone : échelle réduite (tout paraissait trop zoomé dans le téléphone en jeu) ——— */
@media (max-width: 600px) {
  :root {
    font-size: 14px;
    --showcase-gutter: 18px;
  }
  body.showcase {
    font-size: 13.5px;
  }
  .site-nav .brand img {
    width: 44px;
    height: 44px;
  }
  body.has-tabbar .site-nav {
    min-height: 52px;
  }
  .site-hero:not(.page-hero).arena-hero h1 {
    font-size: clamp(26px, 8vw, 34px);
  }
  .site-hero:not(.page-hero).arena-hero .hero-copy > .hero-lead {
    font-size: clamp(20px, 6.2vw, 25px);
  }
  .arena-hero .hero-copy > p:not(.hero-lead) {
    font-size: 13px;
  }
  .arena-hero.page-hero h1 {
    font-size: clamp(28px, 8.4vw, 36px);
  }
  .arena-hero .hero-copy > p.page-subtitle {
    font-size: 9px;
  }
  .page-hero {
    min-height: 250px;
  }
  .section-head h2,
  .list-head h2 {
    font-size: 22px;
  }
  .site-section {
    padding: 38px 18px;
  }
  .community-content {
    padding: 32px 18px 40px;
  }
  .micro-tab {
    min-height: 38px;
    font-size: 10px;
  }
  .micro-tabs {
    gap: 4px 22px;
  }
  .xp-card {
    min-height: 380px;
  }
  .xp-title {
    font-size: 24px;
  }
  .xp-copy p {
    font-size: 12.5px;
  }
  .showcase .btn {
    font-size: 12px;
  }
  .tabbar {
    height: 58px;
  }
  .tab {
    font-size: 9.5px;
    gap: 3px;
  }
  .tab-icon {
    width: 34px;
    height: 26px;
  }
  .tab-icon svg {
    width: 17px;
    height: 17px;
  }
  body.has-tabbar {
    padding-bottom: calc(var(--safe-bottom) + 64px) !important;
  }
  .tab-sheet-wrap {
    bottom: calc(var(--safe-bottom) + 58px);
  }
  .tab-tile {
    min-height: 68px;
    font-size: 10.5px;
  }
  .open-banner strong {
    font-size: 17px;
  }
}

/* ——— Téléphone : la photo du bandeau monte sous la barre d’état. La barre d’état
   reste transparente en haut de page, et reprend le fond du site dès qu’on défile. ——— */
@media (max-width: 600px), (max-width: 1000px) and (max-height: 500px) {
  body.showcase::before {
    background: transparent;
    transition: background 0.2s;
  }
  body.showcase.is-scrolled::before {
    background: var(--bg);
  }
  body.showcase .arena-hero {
    margin-top: calc(-1 * var(--safe-top));
    padding-top: calc(var(--safe-top) + 52px);
  }
  .site-hero:not(.page-hero).arena-hero {
    padding-top: calc(var(--safe-top) + 80px);
  }
}

/* ——— Nouveau logo (horizontal) : en-têtes, pied de page, dashboard, fenêtres ——— */
.site-nav .brand img {
  width: auto;
  height: 44px;
  margin: 0;
  object-fit: contain;
}
.site-footer img {
  width: auto;
  height: 52px;
  object-fit: contain;
}
.sidebar .brand img,
body.dashboard .sidebar .brand img {
  width: auto;
  max-width: 190px;
  height: 58px;
  margin-left: 6px;
  object-fit: contain;
}
.sheet-logo {
  object-fit: contain;
}
@media (max-width: 1000px) {
  .site-nav .brand img {
    height: 36px;
  }
  .sidebar .brand img,
  body.dashboard .sidebar .brand img {
    height: 48px;
  }
  /* Téléphone : trait de séparation sous l’en-tête (logo, cloche). */
  body.has-tabbar .site-nav::after {
    content: "";
    position: absolute;
    left: var(--showcase-gutter);
    right: var(--showcase-gutter);
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, #ffffff2e, #989bfb55 50%, #ffffff2e);
  }
}
@media (max-width: 600px) {
  .site-nav .brand img {
    height: 34px;
  }
  body.has-tabbar .site-nav {
    min-height: 60px;
  }
}
/* Téléphone : en-tête plus fin (logo plus petit, trait juste dessous). */
@media (max-width: 600px) {
  .site-nav .brand img {
    height: 26px;
  }
  body.has-tabbar .site-nav {
    min-height: 44px;
    height: 44px;
    padding-block: 0;
  }
  body.has-tabbar .site-nav .brand {
    padding: 0;
  }
  body.has-tabbar #site-bell .notif-bell {
    width: 36px;
    height: 36px;
  }
  body.has-tabbar #site-bell .notif-panel {
    top: calc(var(--safe-top) + 50px);
  }
}
/* Téléphone (style B) : barre d’état + en-tête = un seul bandeau en verre (sombre,
   légèrement transparent, flouté), trait sur toute la largeur dessous. */
@media (max-width: 600px), (max-width: 1000px) and (max-height: 500px) {
  body.showcase::before,
  body.showcase.is-scrolled::before {
    background: #0b0d18b8;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  body.has-tabbar .site-nav {
    background: #0b0d18b8;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  body.has-tabbar .site-nav::after {
    left: 0;
    right: 0;
    background: #989bfb44;
  }
  /* Accueil : moins de vide sous le bandeau. */
  .site-hero:not(.page-hero).arena-hero .hero-copy {
    padding-top: 28px;
  }
}
@media (max-width: 600px), (max-width: 1000px) and (max-height: 500px) {
  /* Le bandeau reste en haut quand on défile (logo et cloche toujours accessibles). */
  body.has-tabbar .site-nav,
  body.has-tabbar.showcase-home .site-nav {
    position: fixed;
    top: var(--safe-top);
    left: 0;
    right: 0;
    z-index: 84;
  }
}
@media (max-width: 600px) {
  /* Accueil : bloc remonté, pied du bandeau au-dessus de la barre d’onglets. */
  .site-hero:not(.page-hero).arena-hero .hero-copy {
    padding-top: 10px;
  }
  body.has-tabbar .site-hero:not(.page-hero).arena-hero {
    min-height: calc(100dvh - var(--safe-bottom) - 64px);
  }
}
@media (max-width: 600px), (max-width: 1000px) and (max-height: 500px) {
  /* Bandeau de verre remonté : il démarre un peu plus haut, plus fin. */
  body.has-tabbar .site-nav,
  body.has-tabbar.showcase-home .site-nav {
    top: max(0px, calc(var(--safe-top) - 8px));
    height: 40px;
    min-height: 40px;
  }
  body.has-tabbar #site-bell .notif-panel {
    top: calc(var(--safe-top) + 40px);
  }
}
@media (max-width: 1000px) {
  /* Barre d’onglets : son fond descend jusqu’en bas de l’écran (sous la barre
     d’accueil du téléphone), les onglets restent au-dessus. */
  .tabbar {
    bottom: 0;
    height: calc(58px + var(--safe-bottom));
    padding-bottom: calc(var(--safe-bottom) + 4px);
  }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .tabbar {
    height: calc(66px + var(--safe-bottom));
  }
}
/* Barre du haut : logo carré (motif seul) sur téléphone et tablette (barre d’onglets
   en bas), à la taille de la cloche ; le logo complet reste sur ordinateur. */
.site-nav .brand .brand-mark {
  display: none;
}
@media (max-width: 1000px) {
  body.has-tabbar .site-nav .brand {
    display: flex;
    align-items: center;
  }
  body.has-tabbar .site-nav .brand img:not(.brand-mark) {
    display: none;
  }
  body.has-tabbar .site-nav .brand .brand-mark {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    object-fit: contain;
  }
}
@media (max-width: 600px) {
  /* Compteur de la cloche entier sous la barre d’état. */
  body.has-tabbar #site-bell .notif-count {
    top: 0;
    right: -2px;
  }
}
@media (max-width: 600px) {
  /* Logo et cloche alignés (même hauteur, même ligne de base). */
  body.has-tabbar .site-nav .brand {
    display: flex;
    align-items: center;
    height: 36px;
  }
  body.has-tabbar .site-nav .brand .brand-mark {
    width: 19px;
    height: 19px;
  }
}
@media (max-width: 600px) {
  /* Même hauteur visible que le dessin de la cloche (16 px sur 18), haut et bas alignés. */
  body.has-tabbar .site-nav .brand .brand-mark {
    width: 16px;
    height: 16px;
    transform: translateY(var(--mark-shift, 0px));
  }
}
@media (max-width: 600px), (max-width: 1000px) and (max-height: 500px) {
  /* Plus de démarcation sous le bandeau : la photo reste visible à travers le verre
     (verre plus léger, sans le dégradé sombre du haut des bandeaux). */
  body.showcase::before,
  body.showcase.is-scrolled::before,
  body.has-tabbar .site-nav {
    background: #0b0d1873;
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
  }
  body.showcase .arena-hero::after {
    background: linear-gradient(90deg, #0a0e1bcc, #0a0e1b40),
      linear-gradient(0deg, #0d1018 0%, transparent 38%);
  }
}
@media (max-width: 600px), (max-width: 1000px) and (max-height: 500px) {
  /* Une seule vitre, du haut de l’écran au trait : pas de double épaisseur. */
  body.showcase::before,
  body.showcase.is-scrolled::before {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.has-tabbar .site-nav,
  body.has-tabbar.showcase-home .site-nav {
    top: 0;
    /* Toujours 40 px pour le logo et la cloche sous la zone réservée (téléphone en
       jeu : 50 px ; vrai téléphone : l’encoche, ou rien dans Safari). */
    height: calc(max(var(--safe-top), 8px) + 32px);
    min-height: 0;
    padding-top: max(0px, calc(var(--safe-top) - 8px));
    box-sizing: border-box;
  }
}

/* Contacts : état d’ouverture de chaque pôle (Maze Airlines, Maze Gun Club {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}
.manager-chip {
  border-color: #989bfb88;
  color: var(--accent);
}

/* Activité publiée mais réservations fermées : mention à la place du bouton. */
.xp-closed {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #ffffff26;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sheet-submit.is-closed {
  opacity: 0.55;
  cursor: default;
}

/* ——— Contacts (répertoire) : état d’ouverture, services, onglets, une ligne par membre ——— */
.contacts-page {
  --ct-on: var(--green, #76d9ae);
}
.ct-status {
  --ct-state: #8b90a3;
  margin: 8px 0 34px;
}
.ct-status.on {
  --ct-state: var(--ct-on);
}
/* Statut en titre : « Ouvert » vert avec un point qui pulse, « Fermé » gris. */
.ct-headline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--ct-state);
  font-family: "Archivo", "Arial Black", Arial, sans-serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.ct-status:not(.on):not(.off) .ct-headline {
  color: var(--text, #fff);
}
.ct-dot {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ct-state);
}
.ct-status.on .ct-dot {
  box-shadow: 0 0 14px var(--ct-on);
}
.ct-status.on .ct-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ct-on);
  animation: ct-pulse 2s ease-out infinite;
}
@keyframes ct-pulse {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(3);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct-status.on .ct-dot::after {
    animation: none;
  }
}
.ct-lead {
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
/* Une ligne par numéro : nom et état à gauche, numéro et bouton d’appel à droite. */
.ct-lines {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.ct-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 42px;
  align-items: center;
  gap: 14px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.ct-line strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
.ct-line small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}
.ct-line small i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b90a3;
}
.ct-line.on small i {
  background: var(--ct-on);
}
.ct-line-num {
  color: var(--text, #fff);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}
.ct-line-call {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--accent, #989bfb);
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.ct-line-call:hover,
.ct-line-call:focus-visible {
  border-color: var(--accent, #989bfb);
  background: color-mix(in srgb, var(--accent, #989bfb) 14%, transparent);
}
.ct-line.main .ct-line-num {
  font-size: 21px;
}
.ct-line.main .ct-line-call {
  border-color: var(--accent, #989bfb);
  background: var(--accent, #989bfb);
  color: #0b0e16;
}
.ct-line.main .ct-line-call:hover,
.ct-line.main .ct-line-call:focus-visible {
  filter: brightness(1.1);
}
.ct-head {
  margin-bottom: 14px;
}
/* Onglets en pastilles qui défilent : aucun libellé coupé sur téléphone. */
.ct-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding-bottom: 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.ct-tabs::-webkit-scrollbar {
  display: none;
}
.ct-tab {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
}
.ct-tab span {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 80%, transparent);
  color: var(--text);
  font-size: 11px;
  text-align: center;
}
.ct-tab[aria-pressed="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--text);
}
.ct-tab[aria-pressed="true"] span {
  background: var(--accent);
  color: #12142a;
}
.ct-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ct-person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.ct-person.on {
  border-color: color-mix(in srgb, var(--ct-on) 35%, var(--line));
}
.ct-person .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  font-size: 16px;
}
.ct-who {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.ct-who strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ct-grade {
  overflow: hidden;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.ct-presence {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.ct-person.on .ct-presence {
  color: var(--ct-on);
}
.ct-presence i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.ct-number {
  justify-self: start;
  margin-top: 2px;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: copy;
}
.ct-number.is-copied {
  border-bottom-style: solid;
  color: var(--accent);
}
.ct-call {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s;
}
.ct-person.on .ct-call {
  border-color: var(--ct-on);
  background: color-mix(in srgb, var(--ct-on) 14%, transparent);
  color: var(--ct-on);
}
.ct-call:hover,
.ct-call:focus-visible {
  background: color-mix(in srgb, var(--accent) 26%, transparent);
}
@media (max-width: 600px) {
  .ct-status {
    padding: 18px 16px;
    margin-bottom: 28px;
  }
  .ct-state strong {
    font-size: 22px;
  }
  .ct-call-main {
    padding: 0 18px;
  }
  .ct-person {
    gap: 12px;
    padding: 12px 14px;
  }
  .ct-person .avatar {
    width: 46px;
    height: 46px;
  }
}
@media (min-width: 901px) {
  .ct-status {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px 32px;
    padding: 24px 28px;
  }
  .ct-call-main {
    width: auto;
    min-width: 300px;
  }
  .ct-services {
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0 40px;
  }
}

/* Maze Airlines · Devenez pilote (demande de licence). */
.pilot-join {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}
.pilot-copy,
.pilot-how {
  display: grid;
  gap: 18px;
}
.pilot-copy h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
}
.pilot-copy > p {
  margin: 0;
  color: #ccd1df;
  font-size: 16px;
  line-height: 1.7;
}
.pilot-ladder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rung;
}
.pilot-ladder li {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  counter-increment: rung;
}
.pilot-ladder li::before {
  content: "Échelon " counter(rung);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.pilot-ladder small {
  color: var(--muted);
}
.pilot-how h3 {
  margin: 0;
  font-size: 18px;
}
.pilot-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.pilot-steps li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
  line-height: 1.5;
}
.pilot-steps li:last-child {
  border-bottom: 1px solid var(--line);
}
.pilot-steps li::before {
  content: counter(step, decimal-leading-zero);
  flex: none;
  font-weight: 700;
  color: var(--accent);
}
.pilot-cta {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.pilot-cta .sheet-submit {
  min-width: 280px;
  text-decoration: none;
}
.pilot-state {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: #ccd1df;
}
.pilot-state svg {
  flex: none;
  color: var(--accent);
}
.pilot-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1000px) {
  .pilot-join {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .pilot-ladder {
    grid-template-columns: minmax(0, 1fr);
  }
  .pilot-cta,
  .pilot-cta .sheet-submit {
    justify-items: stretch;
    min-width: 0;
    width: 100%;
  }
}

/* Mon profil → « Changer mon mot de passe » : même fenêtre, flèche de retour en haut. */
.sheet-back[hidden],
.profile-view[hidden],
.password-view[hidden] {
  display: none !important;
}
.sheet-panel-head .sheet-back {
  width: 40px;
  height: 40px;
  margin-left: -10px;
  border: 0;
  background: none;
  color: var(--text, #fff);
}
.sheet-panel-head .sheet-back:hover {
  color: var(--accent, #989bfb);
}
