/* photo-identite.io : styles
   Polices : pile système (aucun appel à Google Fonts, donc pas de souci RGPD).
   Pour une police perso, hébergez-la vous-même dans /assets/fonts/ et déclarez-la avec @font-face. */
:root {
  --bg: #F3F5FD; --surface: #FFFFFF; --ink: #14183A; --muted: #575D86; --line: #DADFF2;
  --primary: #2B3FD6; --primary-ink: #FFFFFF; --primary-soft: #E6E9FC;
  --accent: #FFD84D; --accent-ink: #3A2E00;
  --ok: #0B8A5F; --ok-soft: #DDF5EB; --warn: #9A5B00; --warn-soft: #FFF0D6;
  --head-bg: var(--surface); --head-ink: var(--ink);
  --foot-bg: var(--surface); --foot-ink: var(--muted);
  --btn-bg: var(--primary); --btn-ink: var(--primary-ink); --btn-radius: 10px;
  --ghost-ink: var(--ink); --ghost-line: var(--line);
  --display: "Avenir Next", "Segoe UI Variable Display", "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", sans-serif;
  --shadow-sm: 0 1px 2px rgba(20, 24, 58, .06), 0 1px 3px rgba(20, 24, 58, .08);
  --shadow-md: 0 6px 16px rgba(20, 24, 58, .10), 0 2px 6px rgba(20, 24, 58, .06);
  --shadow-lg: 0 18px 40px rgba(20, 24, 58, .16), 0 4px 12px rgba(20, 24, 58, .08);
  --radius-lg: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-scheme="light"]) {
    --bg: #0D1027; --surface: #161A3A; --ink: #EEF0FF; --muted: #A5ABD3; --line: #2A3060;
    --primary: #8391FF; --primary-ink: #0D1027; --primary-soft: #232A66;
    --ok: #3DD6A0; --ok-soft: #12352B; --warn: #FFB84D; --warn-soft: #3A2A0C;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, .45);
    --shadow-lg: 0 20px 44px rgba(0, 0, 0, .55);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.4vw, 50px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
a { color: var(--primary); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { inset-inline-start: 8px; }

.bar { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.block { padding-block: 34px; }
.narrow { max-width: 780px; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.note { font-size: 13px; color: var(--muted); }
.grow { flex: 1; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }

/* En-tête et pied */
.sitehead { background: var(--head-bg); color: var(--head-ink); border-bottom: 1px solid var(--ghost-line); box-shadow: var(--shadow-sm); position: relative; z-index: 5; }
.sitehead .bar { display: flex; align-items: center; gap: 22px; padding-block: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--head-ink); text-decoration: none; }
.nav { margin-inline-start: auto; }
.nav a { color: var(--head-ink); opacity: .72; text-decoration: none; font-weight: 500; }
.nav a:hover { opacity: 1; }
.langs { position: relative; font-size: 14px; }
.langs-current { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 2px; color: var(--head-ink); font: inherit; font-weight: 700; cursor: pointer; }
.langs-current svg { opacity: .6; transition: transform .15s ease; }
.langs-current[aria-expanded="true"] svg { transform: rotate(180deg); }
.langs-menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; background: var(--head-bg); border: 1px solid var(--ghost-line); border-radius: 10px; box-shadow: var(--shadow-md); padding: 6px; display: flex; flex-direction: column; min-width: 140px; z-index: 20; }
.langs-menu a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--head-ink); opacity: .82; text-decoration: none; font-weight: 500; }
.langs-menu a:hover { opacity: 1; background: var(--ghost-line); }
.sitefoot { background: var(--foot-bg); border-top: 1px solid var(--ghost-line); margin-top: 40px; font-size: 14px; color: var(--foot-ink); }
.sitefoot .bar { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-block: 22px; }
.sitefoot a { color: var(--foot-ink); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-ink); padding: 11px 20px; border-radius: var(--btn-radius); font-weight: 600; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn:not([disabled]):hover { transform: translateY(-1.5px); box-shadow: var(--shadow-md); filter: brightness(1.04); }
.btn:not([disabled]):active { transform: translateY(0); filter: brightness(.97); }
.btn.ghost { background: var(--surface); color: var(--ghost-ink); border-color: var(--ghost-line); }
.btn.ghost:not([disabled]):hover { border-color: var(--btn-bg); }

/* Badges de confiance (accueil, page outil) : réutilise .trust */
.badges { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0 0 1em; padding: 0; }
.badges li { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.badges svg { color: var(--ok); flex: none; }
.btn.sm { padding: 7px 14px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--ink); font-size: 15px; }
.chip:hover { border-color: var(--primary); }
.chip.alt { background: var(--primary-soft); border-color: transparent; font-weight: 600; }

/* Accueil */
.hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding-block: 48px 24px; }
.hero h1 { max-width: 16ch; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { color: var(--ok); }
/* Visuel de l'accueil : photo détourée devant un disque jaune. Elle déborde jusqu'au bord de l'écran (la basket de droite sort du cadre). */
.hero-outer { overflow-x: clip; }
.hero-visual { display: flex; justify-content: flex-end; margin-inline-end: calc((100vw - min(100vw, 1120px)) / -2 - 20px); }
.hv-inner { position: relative; display: inline-block; line-height: 0; }
.hv-img { position: relative; display: block; height: clamp(400px, 58vw, 600px); width: auto; max-width: none; }
.flashdot { position: absolute; left: 50%; top: 52%; width: 118%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); }
html[dir="rtl"] .hv-img { transform: scaleX(-1); }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.feat > div { padding: 18px 0; border-top: 1px solid var(--line); }
.feat p { color: var(--muted); margin: 0; }
details {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 10px; background: var(--surface);
  box-shadow: var(--shadow-sm); transition: border-color .15s ease, box-shadow .15s ease;
}
details:last-of-type { margin-bottom: 0; }
details[open] { border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 650; cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary); font-size: 16px; font-weight: 700; line-height: 1;
}
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin: 10px 0 0; }
.ad { margin: 26px auto; text-align: center; min-height: 90px; }
.ad-placeholder { margin: 26px auto; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); min-height: 90px; display: grid; place-items: center; color: var(--muted); font-size: 13px; background: var(--surface); }

/* Fil d'Ariane */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.crumbs .sep { margin: 0 8px; opacity: .55; }
.crumbs .sep::after { content: "\203A"; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Règles, erreurs et FAQ : cartes cohérentes avec le reste du site */
.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); padding: 24px 26px; }
.panel h2 { font-size: 21px; }
.panel h2:not(:first-child) { margin-top: 26px; }
.errs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink); }
.errs li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); font-size: 14px; line-height: 1.4; }
.errs li::before {
  content: ""; flex: none; margin-top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--warn);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.panel-faq details { padding: 13px 16px; }

/* Note de source : carte discrète (fonctionne aussi bien pour un court crédit que pour une phrase complète) */
.note.source {
  display: flex; align-items: flex-start; gap: 10px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-sm); font-size: 13px; line-height: 1.55; color: var(--muted);
}
.note.source::before {
  content: ""; flex: none; margin-top: 2px; width: 16px; height: 16px; background: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.note.source a { font-weight: 600; color: var(--primary); }

/* Tableaux */
.tblwrap { overflow-x: auto; margin: 20px 0 8px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th { text-align: start; font-size: 13px; color: var(--muted); padding: 8px 12px; border-bottom: 1.5px solid var(--line); }
td { padding: 14px 12px; border-bottom: 1px solid var(--line); }

/* Page outil */
.spec { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.spec > div { padding: 14px 18px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec > div:nth-child(3n) { border-inline-end: 0; }
.spec > div:nth-last-child(-n+3) { border-bottom: 0; }
.spec dt { font-size: 13px; color: var(--muted); }
.spec dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; align-items: start; }

/* Cookies */
.consent { position: fixed; inset-inline: 12px; bottom: 12px; max-width: 560px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: 0 10px 40px rgba(20, 24, 58, .25); z-index: 40; font-size: 14px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; }

.prose p { color: var(--muted); }

/* Guide photo */
.guide-pos { margin: 28px 0; padding: 0; border: 0; text-align: center; }
.guide-pos svg { width: 100%; max-width: 260px; height: auto; }
.guide-pos img { width: 100%; max-width: 260px; height: auto; border-radius: 10px; box-shadow: var(--shadow-sm); }
.guide-illus { width: 100%; height: auto; border-radius: 10px; margin-bottom: 18px; display: block; }
.seo-article h3 { margin: 28px 0 10px; font-size: 19px; }
.seo-article-img { width: 100%; max-width: 560px; height: auto; border-radius: 10px; box-shadow: var(--shadow-sm); display: block; margin: 16px auto; }
.guide-pos figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 480px; margin-inline: auto; }
.guide-section { margin: 34px 0; padding-top: 18px; border-top: 1px solid var(--ghost-line); }
.guide-section h2 { margin: 0 0 14px; font-size: 20px; }
.guide-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guide-col h3 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.guide-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.guide-col li { display: flex; align-items: flex-start; gap: 8px; }
.guide-do h3 { color: #1a8a4c; }
.guide-do li::before { content: "✓"; color: #1a8a4c; font-weight: 700; flex: none; }
.guide-dont h3 { color: #c62828; }
.guide-dont li::before { content: "✗"; color: #c62828; font-weight: 700; flex: none; }
.guide-cta { text-align: center; margin-top: 40px; }

@media (max-width: 640px) {
  .guide-cols { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .hero { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; padding-block: 32px 0; }
  .hv-img { height: clamp(340px, 60vw, 460px); }
  .feat { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .spec { grid-template-columns: 1fr 1fr; }
  .spec > div:nth-child(3n) { border-inline-end: 1px solid var(--line); }
  .spec > div:nth-child(2n) { border-inline-end: 0; }
  .spec > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .spec > div:nth-last-child(-n+2) { border-bottom: 0; }
  .panel { padding: 18px 16px; }
  .badges li { font-size: 12px; padding: 6px 11px; }
}
@media (prefers-reduced-motion: no-preference) {
}

/* ---- Ajouts : IA, pays, langue, admin ---- */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.suggest { background: var(--primary-soft); font-size: 14px; }
.suggest .bar { display: flex; align-items: center; gap: 12px; padding-block: 8px; flex-wrap: wrap; }
.countrybar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 8px; }
.countrybar label { font-weight: 600; }
.countrybar select, .filter { border: 1.5px solid var(--line); background: var(--surface); border-radius: 10px; padding: 9px 12px; }
.filter { width: 100%; max-width: 420px; margin: 4px 0 6px; }
@supports (color: color-mix(in srgb, red, blue)) {
  :root:not([data-scheme="none"]) { --primary-soft: color-mix(in srgb, var(--primary) 12%, var(--surface)); }
}

/* Drapeaux (SVG : identiques sur tous les appareils) */
.flag { display: inline-block; vertical-align: -3px; width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); margin-inline-end: 8px; flex: none; }
h1 .flag { width: 36px; height: 24px; vertical-align: -2px; }
h2 .flag { width: 28px; height: 19px; vertical-align: -3px; }
.chip { display: inline-flex; align-items: center; }
td a { display: inline-flex; align-items: center; }
.reassure { font-size: 15px; background: var(--primary-soft); color: var(--ink); padding: 12px 16px; border-radius: 12px; margin: 14px 0; }
.note.source { margin: 0 0 16px; }

/* Performance : contenu sous la ligne de flottaison rendu à la demande */
.cols, .sitefoot { content-visibility: auto; contain-intrinsic-size: auto 480px; }

/* Petits écrans : le texte, puis la photo dessous */
@media (max-width: 600px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hv-img { height: clamp(320px, 84vw, 400px); }
}
/* Très grands écrans : la photo reste près du texte ; la basket qui sort du cadre est adoucie au lieu d'être coupée net */
@media (min-width: 1500px) {
  .hero-visual { margin-inline-end: 0; }
  .hv-img { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 14px), transparent); }
  html[dir="rtl"] .hv-img { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 14px), transparent); }
}

/* --- Fiabilité des sources et environnement de test --- */
.staging-banner { background: #FFF3CD; color: #5F4300; border-bottom: 1px solid #E7C766; padding: 9px 16px; text-align: center; font-size: 13px; font-weight: 700; }
.note.source { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.source-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .01em; }
.source-official .source-badge { background: rgba(11,138,95,.11); color: #08764F; }
.source-icao-country .source-badge, .source-unverified .source-badge { background: rgba(154,91,0,.12); color: #875000; }
.source-other_card .source-badge { background: rgba(91,97,136,.12); color: var(--muted); }
.source-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: -8px 0 18px; color: var(--muted); font-size: 12px; }
.report-link { color: var(--primary); font-weight: 700; text-decoration: none; }
.report-link:hover { text-decoration: underline; }
.guide-pos-diagram { display: grid; place-items: center; min-height: 360px; padding: 24px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent); border-radius: 18px; }
.guide-pos-frame { position: relative; width: 220px; height: 300px; border: 3px solid var(--primary); border-radius: 14px; background: linear-gradient(180deg, var(--surface), var(--bg)); box-shadow: var(--shadow-md); }
.guide-pos-head { position: absolute; left: 50%; top: 58px; width: 112px; height: 154px; transform: translateX(-50%); border: 3px solid var(--ink); border-radius: 48% 48% 46% 46%; }
.guide-pos-eye { position: absolute; top: 125px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.guide-pos-eye-a { left: 91px; } .guide-pos-eye-b { right: 91px; }
.guide-pos-label { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; color: var(--muted); white-space: nowrap; background: var(--surface); padding: 2px 5px; border-radius: 5px; }
.guide-pos-label-top { top: 25px; } .guide-pos-label-eyes { top: 145px; } .guide-pos-label-bottom { bottom: 22px; }
.original-only-note { margin: 0 0 16px; padding: 12px 14px; border: 1px solid rgba(154,91,0,.25); border-radius: 12px; background: rgba(154,91,0,.08); color: var(--ink); font-size: 13px; line-height: 1.55; }
.original-only-note strong { display: inline-block; margin-right: 6px; color: #875000; }


/* ---------- Transfert QR : téléphone → éditeur ---------- */
.transfer-modal[hidden] { display: none !important; }
.transfer-modal {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  padding: 20px; background: rgba(11, 14, 35, .58); backdrop-filter: blur(4px);
}
.transfer-dialog {
  width: min(92vw, 430px); max-height: min(88vh, 720px); overflow: auto;
  background: var(--surface, #fff); color: var(--ink, #14183A);
  border: 1px solid var(--line, #dfe3f1); border-radius: 20px;
  padding: 22px; box-shadow: 0 24px 80px rgba(20,24,58,.28); text-align: center;
}
.transfer-dialog h3 { margin: 0 0 6px; font-size: 20px; }
.transfer-dialog > p { margin: 0 auto 14px; max-width: 34ch; color: var(--muted, #575d86); font-size: 13px; line-height: 1.45; }
.transfer-qr {
  display: grid; place-items: center; width: min(72vw, 280px); aspect-ratio: 1;
  margin: 14px auto; padding: 14px; background: #fff; border-radius: 14px;
  border: 1px solid var(--line, #dfe3f1); box-shadow: 0 8px 30px rgba(20,24,58,.08);
}
.transfer-qr svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.transfer-code {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 auto 10px;
  padding: 7px 10px; border-radius: 999px; background: var(--primary-soft, #eef0ff);
  color: var(--ink, #14183A); font-size: 12px; font-weight: 700;
}
.transfer-countdown { min-height: 18px; font-size: 12px; color: var(--muted, #575d86); }
.transfer-close { margin-top: 12px; min-width: 130px; }
.transfer-page {
  min-height: 100svh; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(circle at 50% 0%, #eef0ff 0, transparent 42%), var(--bg, #f7f8fc);
}
.transfer-card {
  width: min(100%, 520px); background: var(--surface, #fff); border: 1px solid var(--line, #dfe3f1);
  border-radius: 24px; padding: clamp(22px, 6vw, 38px); box-shadow: 0 18px 60px rgba(20,24,58,.12);
  text-align: center;
}
.transfer-logo {
  width: 58px; height: 58px; margin: 0 auto 14px; display: grid; place-items: center;
  border-radius: 50%; background: var(--primary-soft, #eef0ff); color: var(--primary, #2b3fd6);
  font-size: 30px; font-weight: 800;
}
.transfer-card h1 { margin: 0 0 8px; font-size: clamp(24px, 7vw, 34px); }
.transfer-lead { max-width: 42ch; margin: 0 auto 22px; color: var(--muted, #575d86); line-height: 1.55; }
.transfer-pick {
  display: grid; gap: 5px; padding: 20px; border: 2px dashed color-mix(in srgb, var(--primary, #2b3fd6) 35%, var(--line, #dfe3f1));
  border-radius: 16px; cursor: pointer; background: var(--primary-soft, #eef0ff);
}
.transfer-pick:hover { border-color: var(--primary, #2b3fd6); }
.transfer-pick-title { font-weight: 750; font-size: 16px; }
.transfer-pick-hint { color: var(--muted, #575d86); font-size: 12.5px; }
.transfer-pick input { margin-top: 10px; width: 100%; }
.transfer-submit {
  width: 100%; min-height: 46px; margin-top: 10px; border: 0; border-radius: 12px;
  background: var(--primary, #2b3fd6); color: #fff; font: inherit; font-weight: 750; cursor: pointer;
}
.transfer-submit:disabled { opacity: .55; cursor: wait; }
.transfer-status { min-height: 22px; margin: 14px 0 0; font-size: 13px; font-weight: 650; }
.transfer-status.ok { color: var(--ok, #0b8a5f); }
.transfer-status.warn { color: var(--warn, #b46a00); }
.transfer-status.busy { color: var(--primary, #2b3fd6); }
.transfer-privacy { margin: 16px 0 0; color: var(--muted, #575d86); font-size: 11.5px; line-height: 1.45; }

@media (max-width: 520px) {
  .transfer-modal { padding: 10px; }
  .transfer-dialog { padding: 18px; border-radius: 16px; }
}
