.aw-wait[hidden],.aw-privacy[hidden]{display:none!important}
/* Loader Artworks : cadre du logo qui se dessine, trois touches de couleur, phrase d'atelier. */
.aw-wait{position:fixed;inset:0;z-index:10000;pointer-events:none;font-family:var(--sans,system-ui,sans-serif)}
.aw-wait__stroke{position:absolute;top:0;left:0;right:0;height:3px;overflow:hidden;background:color-mix(in srgb,var(--bronze,#7053b7) 14%,transparent)}
.aw-wait__stroke::before{content:"";position:absolute;inset:0 auto 0 0;width:38%;border-radius:0 3px 3px 0;background:linear-gradient(90deg,transparent,var(--bronze,#7053b7),var(--rose,#ad537e),transparent);animation:aw-brush 1.6s cubic-bezier(.6,0,.3,1) infinite}
.aw-wait__card{position:absolute;right:clamp(12px,2.5vw,28px);bottom:clamp(14px,3vw,30px);display:flex;align-items:center;gap:.7rem;max-width:min(26rem,calc(100vw - 24px));padding:.6rem 1.05rem .6rem .65rem;border:1px solid color-mix(in srgb,var(--bronze,#7053b7) 28%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface,#fff) 88%,transparent);color:var(--ink,#211c30);box-shadow:var(--shadow,0 20px 65px -35px #2e174c45),0 0 0 6px var(--glow,#a68be84d);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:aw-rise .45s cubic-bezier(.2,.8,.2,1) both}
.aw-wait__mark{flex:none;width:2.3rem;height:2.3rem;overflow:visible}
.aw-wait__frame{fill:none;stroke:url(#aw-wait-g);stroke-width:3.2;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;animation:aw-frame 2.4s ease-in-out infinite}
.aw-wait__mark text{font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-size:31px;fill:var(--ink,#211c30);animation:aw-letter 2.4s ease-in-out infinite}
.aw-wait__dots{display:inline-flex;gap:.22rem;flex:none}
.aw-wait__dots b{width:.42rem;height:.42rem;border-radius:50% 45% 55% 50%;background:var(--bronze,#7053b7);animation:aw-dab 1.2s ease-in-out infinite}
.aw-wait__dots b:nth-child(2){background:var(--rose,#ad537e);animation-delay:.15s}
.aw-wait__dots b:nth-child(3){background:color-mix(in srgb,var(--bronze,#7053b7) 45%,var(--rose,#ad537e));animation-delay:.3s}
.aw-wait__text{font-family:var(--serif,"Cormorant Garamond",Georgia,serif);font-style:italic;font-size:1.08rem;line-height:1.25;letter-spacing:.01em}
/* Changement de page : voile léger et carte centrée, plus grande. */
.aw-wait--page{background:color-mix(in srgb,var(--paper,#f8f6fb) 55%,transparent);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:aw-veil .35s ease both}
.aw-wait--page .aw-wait__card{left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);flex-direction:column;gap:.85rem;padding:1.6rem 2.2rem 1.4rem;border-radius:calc(var(--radius,14px) + 6px);text-align:center;animation:aw-pop .5s cubic-bezier(.2,.8,.2,1) both}
.aw-wait--page .aw-wait__mark{width:4.2rem;height:4.2rem}
.aw-wait--page .aw-wait__text{font-size:1.35rem}
@keyframes aw-brush{from{transform:translateX(-110%)}to{transform:translateX(320%)}}
@keyframes aw-frame{0%{stroke-dashoffset:100}45%,60%{stroke-dashoffset:0}100%{stroke-dashoffset:-100}}
@keyframes aw-letter{0%,20%{opacity:.25}45%,70%{opacity:1}100%{opacity:.25}}
@keyframes aw-dab{0%,100%{transform:translateY(0) scale(.85);opacity:.55}40%{transform:translateY(-.32rem) scale(1.1);opacity:1}}
@keyframes aw-rise{from{opacity:0;transform:translateY(10px)}}
@keyframes aw-pop{from{opacity:0;transform:translate(-50%,-46%) scale(.96)}}
@keyframes aw-veil{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.aw-wait *,.aw-wait,.aw-wait__stroke::before{animation:none!important}.aw-wait__frame{stroke-dashoffset:0}.aw-wait__mark text{opacity:1}.aw-wait__stroke::before{width:100%;opacity:.6}}
@media print{.aw-wait{display:none!important}}
.aw-privacy{position:fixed;bottom:80px;left:16px;width:min(370px,calc(100vw - 32px));z-index:9000;padding:20px;border:1px solid #ae946960;border-radius:16px;background:var(--surface,var(--paper,#faf8f5));color:var(--ink,#29242b);box-shadow:0 8px 40px #0002;font:14px/1.5 system-ui,sans-serif}
.aw-privacy p{margin:10px 0}.aw-privacy>div{display:flex;gap:8px;flex-wrap:wrap}.aw-privacy button{border:1px solid #ae946980;background:transparent;color:inherit;padding:9px 12px;border-radius:8px;cursor:pointer;font:inherit}
.aw-privacy-open{position:fixed;bottom:7px;left:12px;z-index:200;padding:4px 9px;border:1px solid #ae946940;border-radius:12px;background:var(--surface,var(--paper,#faf8f5));color:var(--ink,#29242b);font:11px system-ui;cursor:pointer}.nav .count{display:inline-grid;place-items:center;min-width:1.35em;height:1.35em;padding:0 .35em;margin-left:.15em;border-radius:999px;background:linear-gradient(90deg,var(--bronze,#7053b7),var(--rose,#ad537e));color:#fff;font-size:.75em;font-weight:600;line-height:1}
/* Avis : étoiles (saisie et affichage) */
.review-stars{border:0;padding:0;margin:0}.review-question{font-family:var(--serif,Georgia,serif);font-size:1.35rem;line-height:1.3;margin-bottom:.6rem;color:var(--ink,#211c30)}
.stars-input{display:inline-flex;flex-direction:row-reverse;gap:.25rem}
.stars-input input{position:absolute;opacity:0;width:1px;height:1px}
.stars-input label{cursor:pointer;display:grid;place-items:center;width:2.75rem;height:2.75rem;border-radius:12px;transition:transform .15s ease}
.stars-input label svg{width:2.1rem;height:2.1rem;fill:transparent;stroke:var(--quiet,#6a6179);stroke-width:1.5;stroke-linejoin:round;transition:fill .15s ease,stroke .15s ease}
.stars-input label:hover,.stars-input input:focus-visible+label{transform:scale(1.08)}
.stars-input input:focus-visible+label{outline:2px solid var(--bronze,#7053b7);outline-offset:2px}
.stars-input label:hover svg,.stars-input label:hover~label svg,.stars-input input:checked~label svg{fill:#e2a93b;stroke:#c98b1d}
.stars-display{display:inline-flex;gap:.1rem;vertical-align:middle}.stars-display svg{width:var(--s,1rem);height:var(--s,1rem);fill:transparent;stroke:#c98b1d;stroke-width:1.6}.stars-display svg.on{fill:#e2a93b}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.review-card{border:1px solid var(--line,#dfd9e8);border-radius:var(--radius,14px);background:var(--surface,#fff);padding:1.4rem 1.5rem}
.review-card blockquote{margin:.7rem 0 1rem;font-family:var(--serif,Georgia,serif);font-size:1.15rem;line-height:1.45}
.review-card cite{font-style:normal;font-size:.92rem;color:var(--quiet,#6a6179)}
.review-prompt{border:1px solid var(--line,#dfd9e8);border-radius:calc(var(--radius,14px) + 4px);padding:1.4rem 1.6rem;margin:1.5rem 0;background:linear-gradient(135deg,color-mix(in srgb,var(--bronze,#7053b7) 8%,var(--surface,#fff)),var(--surface,#fff))}

/* -- Artworks Partners : formulaires de candidature (page publique et Collectors Network) */
.pp-form { display: grid; gap: 1.4rem; padding: clamp(1.25rem, 4vw, 2.25rem); }
.pp-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .9rem; min-width: 0; }
.pp-form legend { font-family: var(--serif, inherit); font-size: 1.15rem; font-weight: 600; margin-bottom: .2rem; padding: 0; }
.pp-form .pp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.pp-form .pp-grid .field { margin: 0; }
.pp-form .pp-grid .wide { grid-column: 1 / -1; }
.pp-form .field input, .pp-form .field select, .pp-form .field textarea { width: 100%; min-height: 3rem; }
.pp-form .field textarea { min-height: 7rem; }
.pp-form .check { align-items: flex-start; line-height: 1.5; }
.pp-form .check input { margin-top: .2rem; }
.pp-form .pp-submit { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.pp-form .pp-submit .small { margin: 0; }
.pp-form .req { color: var(--accent, #7053b7); }
@media (max-width: 640px) {
  .pp-form .pp-grid { grid-template-columns: 1fr; }
  .pp-form .pp-submit .btn { width: 100%; justify-content: center; }
}

/* -- Formulaires : cases et boutons radio à la charte V4 (partout sur le site public) */
.check input[type=checkbox], .check input[type=radio] {
  -webkit-appearance: none; appearance: none; flex: none; width: 1.35rem; height: 1.35rem; min-width: 1.35rem; min-height: 1.35rem;
  margin: .1rem 0 0; border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 7px;
  background: var(--field) center / 70% no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.check input[type=radio] { border-radius: 50%; }
.check input:hover { border-color: #7053b7; }
.check input:checked { background-color: #7053b7; border-color: #7053b7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.check input[type=radio]:checked { background-image: radial-gradient(circle, #fff 0 32%, transparent 36%); background-size: 100%; }
.check input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(112, 83, 183, .25); }
.check { align-items: flex-start; line-height: 1.5; cursor: pointer; }

/* Choix présentés en cartes (situations, besoins, engagements) */
.choices { display: grid; gap: .55rem; }
.choices .check { margin: 0; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 14px; background: var(--field);
  transition: border-color .15s, background-color .15s, box-shadow .15s; }
.choices .check:hover { border-color: rgba(112, 83, 183, .55); }
.choices .check:has(input:checked) { border-color: #7053b7; background: color-mix(in srgb, #7053b7 8%, var(--field));
  box-shadow: 0 0 0 1px #7053b7 inset; }
.choices.cols { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
fieldset.subgroup { border: 0; padding: 0; margin: .4rem 0 0; display: grid; gap: .55rem; }
fieldset.subgroup > legend { margin-bottom: .4rem; }

/* Formulaires en étapes (forms.js) */
.is-wizard > fieldset { border: 0; padding: 0; margin: 0; }
.wz-progress { list-style: none; display: flex; gap: .35rem; padding: 0; margin: 0 0 1.4rem; counter-reset: wz; }
.wz-progress li { flex: 1; counter-increment: wz; font-size: .78rem; color: var(--quiet); position: relative; padding-top: .9rem; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-progress li::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 99px; background: var(--line); }
.wz-progress li.done::before, .wz-progress li[aria-current]::before { background: linear-gradient(90deg, #7053b7, #ad537e); }
.wz-progress li[aria-current] { color: var(--ink); font-weight: 600; }
.wz-count { font-size: .8rem; color: var(--quiet); margin: -.8rem 0 1rem; }
.wz-nav { display: flex; gap: .7rem; justify-content: space-between; align-items: center; margin-top: 1.4rem; flex-wrap: wrap; }
.wz-nav .wz-next { margin-left: auto; }
.is-wizard legend:focus { outline: none; }
@media (max-width: 640px) { .wz-progress li { font-size: 0; } .wz-nav .btn { flex: 1; justify-content: center; } }

/* Fenêtre modale des formulaires (Partners, Collectors) */
dialog.form-modal { width: min(760px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 24px; background: var(--paper, #fff);
  color: var(--ink); box-shadow: 0 40px 120px -30px rgba(29, 22, 48, .55); overflow: auto; }
dialog.form-modal::backdrop { background: rgba(29, 22, 48, .55); backdrop-filter: blur(6px); }
dialog.form-modal[open] { animation: fm-in .25s ease-out; }
@keyframes fm-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.form-modal__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.5rem; background: linear-gradient(120deg, #1d1630, #7053b7 70%, #ad537e); color: #fff; }
.form-modal__head h2 { margin: 0; font-size: 1.35rem; color: #fff; }
.form-modal__head p { margin: .15rem 0 0; font-size: .85rem; opacity: .85; }
.form-modal__close { border: 0; background: rgba(255, 255, 255, .15); color: #fff; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  font-size: 1.4rem; line-height: 1; cursor: pointer; flex: none; }
.form-modal__close:hover { background: rgba(255, 255, 255, .28); }
dialog.form-modal form.card { border: 0; box-shadow: none; margin: 0; background: transparent; }
.form-launch { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 22px; background: linear-gradient(120deg, #f4f0fa, #fff); border: 1px solid var(--line); }
:root[data-theme="dark"] .form-launch { background: linear-gradient(120deg, #1d1630, #141210); }
@media (max-width: 640px) {
  dialog.form-modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
}
.pp-submit .wz-back ~ .btn { margin-left: auto; }
.pp-submit > p { flex-basis: 100%; }

/* -- Accueil : nouveautés de la semaine */
.fresh-count { background: linear-gradient(120deg, #7053b7, #ad537e); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.fresh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem 1.1rem; margin-top: 1.4rem; }
.fresh-card { display: flex; flex-direction: column; gap: .55rem; text-decoration: none; color: inherit; min-width: 0; }
.fresh-card__img { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--wall, #f4f0fa); border: 1px solid var(--line); }
.fresh-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.fresh-card:hover .fresh-card__img img, .fresh-card:focus-visible .fresh-card__img img { transform: scale(1.04); }
.fresh-card__meta { display: grid; grid-template-columns: 1fr auto; gap: 0 .6rem; font-size: .88rem; line-height: 1.35; }
.fresh-card__meta b { grid-column: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fresh-card__meta span { grid-column: 1; color: var(--quiet); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fresh-card__meta time { grid-column: 2; grid-row: 1; font-size: .75rem; color: var(--quiet); }
@media (max-width: 900px) {
  .fresh-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: .6rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .fresh-card { scroll-snap-align: start; }
}
@media (min-width: 640px) and (max-width: 900px) { .fresh-grid { grid-auto-columns: 38%; } }

/* -- J'aime et commentaires */
.work-social { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.like-form { margin: 0; }
.like-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--field); color: var(--ink); font: inherit; font-weight: 600; transition: border-color .2s, background .2s; }
.like-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; transition: fill .2s, stroke .2s, transform .2s; }
.like-btn:hover { border-color: #ad537e; }
.like-btn.is-liked { border-color: #ad537e; background: color-mix(in srgb, #ad537e 10%, var(--field)); color: #ad537e; }
.like-btn.is-liked svg { fill: #ad537e; stroke: #ad537e; }
.like-btn.pop svg { animation: like-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes like-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.work-social__comments { font-size: .9rem; color: var(--quiet); }
.comments h2 { display: flex; align-items: center; gap: .6rem; }
.comments-count { font-size: .9rem; font-family: inherit; padding: .1rem .55rem; border-radius: 999px; background: color-mix(in srgb, #7053b7 12%, transparent); color: #7053b7; }
.comment-list { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 1rem; }
.comment { display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; }
.comment__avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600;
  background: linear-gradient(135deg, #7053b7, #ad537e); }
.comment__body { background: var(--field); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: .75rem 1rem; min-width: 0; }
.comment__head { margin: 0 0 .25rem; display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; font-size: .9rem; }
.comment__head time { color: var(--quiet); font-size: .78rem; margin-left: auto; }
.comment__text { margin: 0; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.6; }
.comment__tools { margin-top: .3rem; text-align: right; }
.comment-form { display: grid; gap: .6rem; margin-top: 1rem; }
.comment-form__foot { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; }
.join { margin-top: 1.2rem; display: grid; gap: .9rem; transition: box-shadow .3s; }
.join h3 { margin: 0; }
.join.is-flash { box-shadow: 0 0 0 3px rgba(112, 83, 183, .45); }
.join__ways { display: flex; flex-wrap: wrap; gap: .6rem; }
.google-btn { display: inline-flex; align-items: center; gap: .55rem; }
.join__email { display: grid; gap: .7rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.join__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.join__fields .field { margin: 0; }
@media (max-width: 620px) { .join__fields { grid-template-columns: 1fr; } .join__ways .btn { width: 100%; justify-content: center; } }
.google-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: .6rem; }
.or-sep { display: flex; align-items: center; gap: .8rem; color: var(--quiet); font-size: .8rem; margin: .9rem 0; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* -- Certificat d'authenticité */
.cert-card { display: grid; gap: 1rem; margin-top: 1.2rem; }
.cert-card img { width: 100%; max-height: 420px; object-fit: contain; background: var(--wall, #f4f0fa); border-radius: 14px; }
.cert-card dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; margin: 0; }
.cert-card dt { color: var(--quiet); font-size: .85rem; }
.cert-card dd { margin: 0; }

/* -- Profil public d'artiste */
.profile-hero { position: relative; overflow: hidden; isolation: isolate; }
.profile-id { display: flex; align-items: center; gap: 1.2rem; }
.profile-avatar { flex: none; width: clamp(72px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  border: 3px solid var(--paper); box-shadow: 0 14px 30px -16px rgba(31, 27, 22, .55); background: linear-gradient(135deg, #8a6a4c, #5c4634);
  color: #fff; font-size: 2.2rem; font-weight: 600; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-id h1 { margin: .15rem 0 0; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.02; }
.profile-id .kicker { margin-bottom: .4rem; }
.profile-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 1.1rem 0 0; font-size: .92rem; color: var(--quiet); }
.profile-meta span + span::before { content: "·"; margin-right: 1rem; opacity: .6; }
.profile-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

/* -- En-tête du profil (identité seule) ; la présentation des œuvres est la galerie cinématique : css/cine.css. */
.profile-head__inner { display: grid; gap: 1rem; padding-block: 1.2rem 1.5rem; }
.profile-head__id { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who actions" "meta actions"; gap: 0 2rem; align-items: end; }
.profile-head__id > .profile-id { grid-area: who; }
.profile-head__id > .profile-meta { grid-area: meta; margin-top: .7rem; }
.profile-head__id > .profile-actions { grid-area: actions; margin-top: 0; justify-content: flex-end; }
.profile-head .profile-id h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.profile-head .profile-avatar { width: clamp(64px, 6.5vw, 88px); }
@media (max-width: 900px) {
  .profile-head__id { grid-template-columns: minmax(0, 1fr); grid-template-areas: "who" "meta" "actions"; }
  .profile-head__id > .profile-actions { justify-content: flex-start; margin-top: 1rem; }
}
@media (max-width: 620px) { /* téléphone : l'identité reste compacte pour que la galerie apparaisse dès l'arrivée */
  .profile-head__inner { padding-block: .4rem 1rem; gap: .6rem; }
  .profile-head .crumbs { margin-bottom: .2rem; }
  .profile-head .profile-id { gap: .85rem; }
  .profile-head .profile-avatar { width: 56px; font-size: 1.5rem; }
  .profile-head .profile-id h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .profile-head__id > .profile-meta { margin-top: .5rem; font-size: .84rem; gap: .2rem .8rem; }
  .profile-head .profile-meta span + span::before { margin-right: .8rem; }
  .profile-head__id > .profile-actions { flex-wrap: nowrap; gap: .4rem; margin-top: .8rem; }
  .profile-head .profile-actions .btn { min-height: 2.6rem; padding: .45rem .6rem; font-size: .76rem; line-height: 1.2; }
}
.profile-tabs-bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper, #fff) 88%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.profile-tabs { display: flex; gap: .4rem; }
.profile-tabs a { position: relative; padding: 1rem 1rem .9rem; text-decoration: none; color: var(--quiet); font-weight: 600; }
.profile-tabs a span { font-weight: 500; font-size: .8rem; margin-left: .25rem; opacity: .75; }
.profile-tabs a[aria-selected="true"] { color: var(--ink); }
.profile-tabs a[aria-selected="true"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -1px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #7053b7, #ad537e); }
.profile-panel { padding-top: 2rem; }
.g-grid { columns: 4 15rem; column-gap: 1.1rem; }
.g-tile { display: block; break-inside: avoid; margin-bottom: 1.1rem; text-decoration: none; color: inherit; border-radius: 14px; overflow: hidden;
  background: var(--field); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; content-visibility: auto; contain-intrinsic-size: auto 320px; }
.g-tile:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(33, 28, 48, .45); }
.g-tile__img { display: block; background: var(--wall, #f4f0fa); }
.g-tile__img img { width: 100%; height: auto; display: block; }
.g-tile__cap { display: grid; gap: .1rem; padding: .7rem .85rem .8rem; font-size: .85rem; }
.g-tile__cap b { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-tile__cap span { color: var(--quiet); }
.g-tile__stats { font-size: .78rem; color: #ad537e !important; }
.g-more { text-align: center; margin: 1.6rem 0 0; }
.profile-about { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.profile-statement { white-space: pre-line; line-height: 1.85; font-size: 1.05rem; }
.profile-facts dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1rem; margin: 0 0 1rem; }
.profile-facts dt { color: var(--quiet); font-size: .85rem; }
.profile-facts dd { margin: 0; }
.profile-links { display: flex; flex-wrap: wrap; gap: .5rem .9rem; font-size: .9rem; }
@media (max-width: 760px) {
  .profile-about { grid-template-columns: 1fr; }
  .g-grid { columns: 2 9rem; column-gap: .7rem; }
  .g-tile { margin-bottom: .7rem; border-radius: 12px; }
  .g-tile__cap { padding: .5rem .6rem .6rem; font-size: .78rem; }
  .profile-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* -- Fluidité : transitions douces entre les pages (navigateurs compatibles), sans gêner les réglages d'accessibilité */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
.join, .comment-form { padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: 18px; border: 1px solid var(--line); background: var(--paper, #fff); }
