/* Sunao, le site. Les couleurs et les polices de l'app en skin Suno : encre, papier, et la fraise pour ce
   qu'on peut faire (télécharger, publier, voter). Instrument Serif pour ce qu'on lit, Instrument Sans pour
   le reste (OFL, copiées de l'app). */

@font-face { font-family: "Sunao Sans"; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url(/fonts/instrument-sans-latin-standard-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sunao Sans"; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url(/fonts/instrument-sans-latin-ext-standard-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sunao Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/instrument-serif-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sunao Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/instrument-serif-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #101012;
  --ink-2: #141416;
  --graphite: #1c1c1f;
  --smoke: #252529;
  --ash: #2e2e33;
  --paper: #f7f4ef;
  --paper-2: #c2c2c1;
  --paper-3: #919093;
  --paper-4: #6a6a72;
  --hair: rgba(247, 244, 239, .09);
  --hair-2: rgba(247, 244, 239, .16);
  --wash: rgba(247, 244, 239, .05);
  --berry: #fd429c;
  --berry-deep: #de1677;
  --berry-soft: #ff78b9;
  --sans: "Sunao Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Sunao Serif", "New York", ui-serif, Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1160px;
  --out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

/* écritures que les polices Instrument ne couvrent pas : les polices du système, sans resserrer les lettres */
html[lang=ru] { --sans: system-ui, -apple-system, "Segoe UI", sans-serif; --serif: Georgia, "Times New Roman", serif; }
html[lang=ar] { --sans: "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", system-ui, sans-serif; --serif: "Noto Naskh Arabic", "Geeza Pro", "Times New Roman", serif; }
html[lang=hi] { --sans: "Kohinoor Devanagari", "Noto Sans Devanagari", "Nirmala UI", system-ui, sans-serif; --serif: var(--sans); }
html[lang=bn] { --sans: "Kohinoor Bangla", "Noto Sans Bengali", "Nirmala UI", system-ui, sans-serif; --serif: var(--sans); }
html[lang=zh-Hans] { --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; --serif: "Songti SC", "Noto Serif SC", "SimSun", serif; }
html:is([lang=ar], [lang=hi], [lang=bn], [lang=zh-Hans]) :is(h1, h2, .logo span, .more-grid dt, .tile-meta b, .foot-brand b) { letter-spacing: 0; }
html:is([lang=hi], [lang=bn]) :is(h1, h2) { line-height: 1.25; }
html[lang=zh-Hans] .hero h1 { line-height: 1.15; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: rgba(253, 66, 156, .38); }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 16px; top: 12px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 8px; translate: 0 -200%; }
.skip:focus { translate: 0 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.center { text-align: center; justify-content: center; }
.lede { font-size: 20px; line-height: 1.55; color: var(--paper-2); max-width: 40em; margin-top: 18px; }
.note { color: var(--paper-3); font-size: 14.5px; margin-top: 18px; }
.empty { color: var(--paper-3); padding: 40px 0; }
.empty.small { padding: 12px 0; font-size: 15px; }

/* --- boutons : la fraise pour agir, le trait pour le reste */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15.5px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--out), color .15s var(--out), box-shadow .2s var(--out), scale .32s var(--spring);
}
.btn:active { scale: .96; transition-duration: .08s; }
.btn.primary { background: var(--berry); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(253, 66, 156, .7); }
.btn.primary:hover { background: var(--berry-soft); color: var(--ink); }
.btn.ghost { background: none; color: var(--paper); box-shadow: inset 0 0 0 1px var(--hair-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px rgba(247, 244, 239, .45); }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.danger { background: #c32906; color: var(--paper); }
.btn.off { cursor: default; opacity: .55; flex-direction: column; gap: 3px; height: 56px; }
.btn.off small { font-size: 11.5px; font-weight: 500; color: inherit; opacity: .8; }
.btn.off:active { scale: 1; }
.btn.vote.on { background: rgba(253, 66, 156, .14); color: var(--berry-soft); box-shadow: inset 0 0 0 1px rgba(253, 66, 156, .5); }
button.link { background: none; border: 0; padding: 0; color: var(--paper-3); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
button.link:hover { color: var(--paper); }
.dl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fine { color: var(--paper-3); font-size: 14px; margin-top: 14px; }
.fine a { color: var(--paper-2); text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 3px; }
.fine a:hover { text-decoration-color: currentColor; }
/* numéro de version : simple repère, en retrait sous « Gratuit » */
.release { color: var(--paper-4); font-size: 12px; margin-top: 6px; font-variant-numeric: tabular-nums; }

/* --- en-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(16, 16, 18, .72); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { border-radius: 7px; }
.logo span { font: 400 27px/1 var(--serif); letter-spacing: -.01em; }
.links { display: flex; gap: 4px; }
.links a, .quiet { color: var(--paper-3); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.links a:hover, .quiet:hover, .links a.on, .quiet.on { color: var(--paper); }
.top-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.flash { max-width: var(--wrap); margin: 16px auto 0; padding: 12px 18px; border-radius: 12px; background: var(--graphite); box-shadow: inset 0 0 0 1px var(--hair); font-size: 15px; }
.flash.warn { background: rgba(245, 217, 7, .08); box-shadow: inset 0 0 0 1px rgba(245, 217, 7, .25); }
.wrap > .flash { margin: 0 0 20px; }

/* --- accueil : le titre, puis l'app, grande */
.hero { position: relative; padding: 96px 0 0; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1100px; z-index: -1; pointer-events: none;
  background: radial-gradient(48% 38% at 50% 62%, rgba(222, 22, 119, .34), transparent 70%), radial-gradient(30% 26% at 28% 70%, rgba(255, 140, 60, .18), transparent 70%);
}
.hero-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font: 400 clamp(54px, 8vw, 112px)/.94 var(--serif); letter-spacing: -.025em; max-width: 12em; text-wrap: balance; }
.hero .lede { text-align: center; text-wrap: pretty; max-width: 34em; }
.hero .dl { justify-content: center; }
.frame { margin: 0; border-radius: 16px; overflow: hidden; background: var(--ink-2); box-shadow: 0 0 0 1px var(--hair-2), 0 40px 100px -30px rgba(0, 0, 0, .9); }
.frame-bar { display: flex; gap: 7px; padding: 0 0 0 16px; height: 0; position: relative; z-index: 1; }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(247, 244, 239, .18); margin-top: 17px; }
.hero-shot { max-width: 1240px; margin: 72px auto 0; width: calc(100% - 48px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .8s var(--out) both; }
  .hero-text > :nth-child(2) { animation-delay: .06s; }
  .hero-text > :nth-child(3) { animation-delay: .12s; }
  .hero-text > :nth-child(4) { animation-delay: .16s; }
  .hero-shot { animation: rise 1.1s var(--out) .18s both; }
}
@keyframes rise { from { opacity: 0; translate: 0 18px; } }

/* --- fonctionnalités : texte et capture, en alternance */
.features { padding-top: 140px; display: flex; flex-direction: column; gap: 140px; }
.feat { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: center; }
.feat.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.feat.flip .feat-text { order: 2; }
.feat h2, .more h2, .skins-text h2, .faq h2, .final h2 { font: 400 clamp(38px, 4.4vw, 60px)/1 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.feat p { color: var(--paper-2); font-size: 18.5px; line-height: 1.6; margin-top: 20px; max-width: 30em; }

.more { padding-top: 150px; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 48px; margin: 48px 0 0; }
.more-grid div { border-top: 1px solid var(--hair-2); padding-top: 20px; }
.more-grid dt { font: 400 26px/1.1 var(--serif); }
.more-grid dd { margin: 10px 0 0; color: var(--paper-2); font-size: 16px; }

.skins-band { margin-top: 150px; padding: 110px 0; background: radial-gradient(60% 80% at 85% 20%, rgba(222, 22, 119, .16), transparent 70%), var(--ink-2); border-block: 1px solid var(--hair); }
.skins-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.skins-text p { color: var(--paper-2); font-size: 18.5px; margin-top: 20px; max-width: 32em; }
.tree { margin: 0; display: grid; gap: 14px; }
.tree pre { margin: 0; padding: 22px 24px; border-radius: 14px; background: var(--graphite); box-shadow: inset 0 0 0 1px var(--hair); font: 14.5px/1.7 var(--mono); color: var(--paper); overflow-x: auto; }
.tree b { font-weight: 600; color: var(--paper); }
.tree span { color: var(--paper-4); }
.tree .json i { font-style: normal; color: var(--berry-soft); }

.faq { padding-top: 140px; max-width: 860px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--hair-2); }
.faq summary { list-style: none; cursor: pointer; padding-block: 22px; padding-inline: 0 40px; font-size: 19px; font-weight: 550; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--paper-3); border-bottom: 1.5px solid var(--paper-3); rotate: 45deg; transition: rotate .3s var(--spring), margin .3s var(--out); }
.faq details[open] summary::after { rotate: 225deg; margin-top: -2px; }
.faq details p { color: var(--paper-2); padding: 0 0 24px; max-width: 42em; }

.final { padding: 150px 0 140px; text-align: center; position: relative; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 45%, rgba(222, 22, 119, .2), transparent 70%); }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final img { width: 112px; height: 112px; margin-bottom: 26px; filter: drop-shadow(0 18px 40px rgba(222, 22, 119, .45)); }
.final .dl { justify-content: center; }

/* --- pied */
.foot { border-top: 1px solid var(--hair); padding: 40px 0 56px; color: var(--paper-3); font-size: 14px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { border-radius: 6px; }
.foot-brand b { font: 400 21px/1 var(--serif); color: var(--paper); }
.foot-links { display: flex; gap: 20px; justify-content: flex-end; }
.foot-links a { color: var(--paper-3); text-decoration: none; }
.foot-links a:hover { color: var(--paper); }
.langs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--hair); }
.langs a { color: var(--paper-3); text-decoration: none; font-size: 13.5px; }
.langs a:hover { color: var(--paper); }
.langs a[aria-current] { color: var(--paper); font-weight: 600; }
.legal { grid-column: 1 / -1; color: var(--paper-4); font-size: 13px; max-width: 60em; }

/* --- en-têtes de page */
.page-head { padding-top: 72px; padding-bottom: 36px; }
.page-head h1 { font: 400 clamp(48px, 6vw, 80px)/.98 var(--serif); letter-spacing: -.02em; }
.page-head.center { display: flex; flex-direction: column; align-items: center; padding-top: 120px; padding-bottom: 120px; }

/* --- galerie */
.gallery-body { padding-bottom: 96px; }
.gallery-first { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; border-radius: 20px; overflow: hidden; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair); }
.gallery-first img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.gallery-first > div { padding: 36px 40px; }
.gallery-first h2 { font: 400 clamp(30px, 3.4vw, 42px)/1.05 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.gallery-first p { color: var(--paper-2); margin-top: 14px; max-width: 30em; }
.gallery-first .row { margin-top: 24px; }
.gallery-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 48px 0 0; }
.gallery-steps li { counter-increment: step; padding-top: 18px; border-top: 1px solid var(--hair-2); }
.gallery-steps li::before { content: counter(step); display: block; font: 400 44px/1 var(--serif); color: var(--berry); margin-bottom: 10px; }
.gallery-steps b { font: 600 17px/1.3 var(--sans); color: var(--paper); }
.gallery-steps p { margin-top: 6px; color: var(--paper-3); font-size: 15px; line-height: 1.55; }
.gallery-none { padding: 28px 24px; border-radius: 14px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair); color: var(--paper-2); }
.gallery-note { margin-top: 40px; }
.gallery-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--hair); margin-bottom: 32px; }
.tabs { display: flex; gap: 4px; }
.tab { position: relative; color: var(--paper-3); text-decoration: none; padding: 14px 12px; font-size: 15px; font-weight: 550; white-space: nowrap; }
.tab:hover { color: var(--paper); }
.tab.on { color: var(--paper); }
.tab.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--berry); }
.search input { height: 40px; width: 260px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--graphite); color: var(--paper); font: inherit; font-size: 15px; box-shadow: inset 0 0 0 1px transparent; }
.search input:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(247, 244, 239, .35); }
.skin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; }
.skin-tile { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.tile-art { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair), 0 20px 40px -24px rgba(0, 0, 0, .9); transition: translate .35s var(--spring), box-shadow .3s var(--out); aspect-ratio: 16 / 10; background: var(--graphite); }
.tile-art img { width: 100%; height: 100%; object-fit: cover; }
.skin-tile:hover .tile-art { translate: 0 -4px; box-shadow: 0 0 0 1px var(--hair-2), 0 28px 50px -24px rgba(0, 0, 0, .95); }
.tile-meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.tile-meta b { font: 400 23px/1.1 var(--serif); display: flex; align-items: center; gap: 8px; min-width: 0; }
.tile-icon { width: 20px; height: 20px; border-radius: 5px; }
.tile-meta small { color: var(--paper-3); font-size: 14px; grid-column: 1; }
.counts { grid-row: 1 / 3; grid-column: 2; display: flex; gap: 12px; color: var(--paper-3); font-size: 14px; align-self: center; font-variant-numeric: tabular-nums; }

/* --- page d'un skin */
.skin-page { padding-top: 56px; }
.skin-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.skin-side h1 { font: 400 clamp(44px, 5vw, 68px)/1 var(--serif); letter-spacing: -.02em; display: flex; align-items: center; gap: 14px; }
.skin-icon-lg { width: 40px; height: 40px; border-radius: 10px; }
.by { color: var(--paper-3); margin-top: 10px; }
.by b { color: var(--paper); font-weight: 550; }
.skin-desc { color: var(--paper-2); margin-top: 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--hair); }
.facts dt { color: var(--paper-3); font-size: 13px; }
.facts dt::first-letter { text-transform: uppercase; }
.facts dd { margin: 2px 0 0; font-weight: 550; font-variant-numeric: tabular-nums; }
.warns { margin-top: 18px; color: var(--paper-3); font-size: 14px; }
.warns summary { cursor: pointer; }
.warns ul { padding-inline-start: 18px; }
.comments { margin-top: 80px; max-width: 760px; }
.comments h2 { font: 400 36px/1 var(--serif); }
.comments h2 small { font: 500 15px var(--sans); color: var(--paper-3); margin-inline-start: 8px; }
.comment-form { display: grid; gap: 12px; margin-top: 22px; justify-items: start; }
textarea, .form input { width: 100%; border: 0; border-radius: 12px; background: var(--graphite); color: var(--paper); font: inherit; font-size: 16px; padding: 12px 14px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s; }
textarea:focus, .form input:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(247, 244, 239, .38); }
textarea { resize: vertical; min-height: 96px; }
.comment-list { list-style: none; padding: 0; margin: 32px 0 0; }
.comment-list li { padding: 18px 0; border-top: 1px solid var(--hair); }
.c-head { display: flex; align-items: baseline; gap: 12px; }
.c-head b { font-weight: 600; }
.c-head time { color: var(--paper-4); font-size: 13px; }
.c-head form { margin-inline-start: auto; }
.comment-list p { color: var(--paper-2); margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* --- formulaires */
.auth { max-width: 460px; padding-top: 80px; padding-bottom: 100px; }
.auth h1 { font: 400 56px/1 var(--serif); letter-spacing: -.02em; margin-bottom: 28px; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14.5px; font-weight: 550; color: var(--paper-2); }
.form input { height: 48px; }
.form label small { font-weight: 400; color: var(--paper-4); font-size: 13px; }
.form .btn { margin-top: 6px; justify-self: start; }
.report { padding: 16px 18px; border-radius: 12px; margin: 0 0 22px; font-size: 15px; }
.report.bad { background: rgba(195, 41, 6, .12); box-shadow: inset 0 0 0 1px rgba(250, 118, 88, .35); }
.report ul { margin: 8px 0; padding-inline-start: 20px; }
.upload { display: grid; gap: 16px; margin-top: 8px; justify-items: start; }
.drop { display: grid; place-items: center; width: 100%; min-height: 150px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair-2); cursor: pointer; text-align: center; padding: 24px; transition: box-shadow .2s, background-color .2s; }
.drop:hover, .drop:focus-within { box-shadow: inset 0 0 0 1px rgba(253, 66, 156, .6); background: rgba(253, 66, 156, .05); }
.drop span { color: var(--paper-2); font-weight: 550; }
.drop input { margin-top: 12px; color: var(--paper-3); font: inherit; font-size: 14px; }
.rules { color: var(--paper-3); font-size: 15px; padding-inline-start: 20px; margin-top: 28px; }
.rules li { margin: 4px 0; }
.narrow h2 { font: 400 34px/1 var(--serif); margin-top: 28px; }

/* --- guide (SKINS.md) */
.prose { padding-top: 64px; padding-bottom: 100px; color: var(--paper-2); }
.prose h1 { font: 400 clamp(48px, 6vw, 76px)/1 var(--serif); color: var(--paper); letter-spacing: -.02em; margin-bottom: 24px; }
.prose h2 { font: 400 38px/1.05 var(--serif); color: var(--paper); margin: 56px 0 16px; }
.prose h3 { font-size: 20px; font-weight: 600; color: var(--paper); margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose a { color: var(--berry-soft); }
.prose code { font: 0.88em var(--mono); background: var(--graphite); padding: 2px 6px; border-radius: 6px; color: var(--paper); }
.prose pre { background: var(--graphite); padding: 18px 20px; border-radius: 12px; overflow-x: auto; box-shadow: inset 0 0 0 1px var(--hair); margin: 0 0 18px; }
.prose pre code { background: none; padding: 0; font-size: 14px; line-height: 1.6; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.prose th { color: var(--paper); font-weight: 600; }
.prose input[type=checkbox] { accent-color: var(--berry); }
/* --- page du compte */
.acct { padding-top: 64px; padding-bottom: 112px; }
.acct-head { display: flex; align-items: center; gap: 20px; padding-bottom: 36px; border-bottom: 1px solid var(--hair); }
.acct-avatar { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font: 400 38px/1 var(--serif); color: var(--paper);
  background: radial-gradient(circle at 30% 25%, #ff7ab8, var(--berry) 45%, #4a2140); box-shadow: 0 12px 30px -12px rgba(253, 66, 156, .6); }
.acct-who { flex: 1; min-width: 0; }
.acct-who h1 { font: 400 clamp(36px, 5vw, 52px)/1 var(--serif); letter-spacing: -.02em; overflow-wrap: anywhere; }
.acct-who p { margin-top: 6px; color: var(--paper-3); font-size: 15px; overflow-wrap: anywhere; }
.acct-block { margin-top: 56px; }
.acct-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.acct-title h2 { font: 400 34px/1.05 var(--serif); letter-spacing: -.01em; margin: 0; }
.acct-text { color: var(--paper-2); max-width: 36em; margin: -6px 0 6px; }
.acct-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; }
.acct-badge { margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; font-size: 12px; background: rgba(247, 244, 239, .08); color: var(--paper-2); }
.acct-empty { border-radius: 18px; overflow: hidden; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair); }
.acct-empty img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent); }
.acct-empty > div { padding: 22px 26px 26px; }
.acct-empty h3 { font: 400 28px/1.1 var(--serif); color: var(--paper); }
.acct-empty p { color: var(--paper-2); margin-top: 8px; max-width: 34em; }
.acct-empty .row { margin-top: 18px; }
.acct-danger { border-radius: 14px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair); }
.acct-danger summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; }
.acct-danger summary::-webkit-details-marker { display: none; }
.acct-danger summary > span:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.acct-danger summary small { color: var(--paper-4); font-size: 14px; }
.btn.acct-danger-btn { flex: none; color: #ff8a70; box-shadow: inset 0 0 0 1px rgba(250, 118, 88, .45); }
.acct-danger summary:hover .acct-danger-btn { background: rgba(195, 41, 6, .12); }
.acct-danger[open] .acct-danger-btn { visibility: hidden; }
.acct-danger-body { padding: 4px 18px 18px; }
.acct-danger .form { gap: 14px; max-width: 420px; }
.acct-danger .btn.danger { justify-self: start; }
.token-new { margin: 18px 0; padding: 18px 20px; border-radius: 14px; background: rgba(253, 66, 156, .08); box-shadow: inset 0 0 0 1px rgba(253, 66, 156, .35); }
.token-new pre { margin: 10px 0 12px; padding: 12px 14px; border-radius: 10px; background: var(--graphite); overflow-x: auto; }
.token-new code { font: 14px/1.5 var(--mono); color: var(--paper); }
.token-new [hidden] { display: none; }
.token-list { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 8px; }
.token-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 12px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair); }
.token-list span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.token-list small { color: var(--paper-4); }
.token-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 14px; }
.token-form .btn { height: 48px; }
.token-form label { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; font-size: 14px; color: var(--paper-2); }
.guide-hero { display: block; width: 100%; height: auto; margin: -16px 0 4px; }
.guide-fig { margin: 28px 0 32px; }
.guide-fig img { display: block; width: 100%; height: auto; border-radius: 14px; }
.guide-fig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--paper-4); }
.agent { margin: 4px 0 44px; padding: 22px 24px 18px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.prose .agent-title { font: 600 18px/1.3 var(--sans); color: var(--paper); margin: 0 0 6px; }
.prose .agent > p { margin: 0 0 14px; }
.prose .agent pre { margin: 0; }
.prose .agent pre code { font: 15px/1.6 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--paper); }
.agent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.prose .agent-actions .btn { text-decoration: none; }
.agent-actions .btn[hidden] { display: none; }

/* --- petits écrans */
@media (max-width: 900px) {
  .feat, .feat.flip, .skins-in, .skin-top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feat.flip .feat-text { order: 0; }
  .features { gap: 96px; padding-top: 96px; }
  .more-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .links { display: none; }
  .top-in { gap: 12px; }
  .hero { padding-top: 56px; }
  .hero-shot { margin-top: 48px; width: calc(100% - 32px); }
  .more-grid { grid-template-columns: minmax(0, 1fr); }
  .search, .search input { width: 100%; }
  .tabs { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .tab { padding: 14px 10px; font-size: 14px; }
  .wrap { padding-inline: 16px; }
  .gallery-first { grid-template-columns: minmax(0, 1fr); }
  .gallery-first img { min-height: 0; aspect-ratio: 2.4; }
  .gallery-first > div { padding: 24px 22px 26px; }
  .gallery-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .acct-head { flex-wrap: wrap; }
  .acct-head form { width: 100%; }
  .acct-avatar { width: 56px; height: 56px; font-size: 30px; }
  }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
