/* ============================================================
   MUNKY OBSIDIAN — PAGES DE L'APP
   My Lists · Proxies · Results · Compte · Réglages · Name Watch · Lookup · Paiements · Profil · 404
   Habillage et mise en page seulement : identifiants, formulaires et logique inchangés.
   ============================================================ */

/* ---------- En-tête commun : carte instrument ---------- */
.nm-head, .px-head, .st-head, .wt-head, .lk-head, .ph-head {
  position: relative; isolation: isolate; overflow: hidden; display: flex !important; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  margin-bottom: 22px !important; padding: 30px 32px 30px 136px !important; border-radius: 36px; min-height: 150px; text-align: left !important;
  background: radial-gradient(520px 240px at 0% 0%, rgba(255,255,255,.07), transparent 70%), linear-gradient(180deg, #101114, #060607);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -40px #000; }
.nm-head::after, .px-head::after, .st-head::after, .wt-head::after, .lk-head::after, .ph-head::after {
  content: ''; position: absolute; right: -90px; top: -150px; width: 420px; height: 420px; z-index: -1; border-radius: 50%; opacity: .6; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 38px, rgba(255,255,255,.05) 38px 39px); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.nm-head img.mk-hic, .px-head img.mk-hic, .st-head img.mk-hic, .wt-head img.mk-hic, .lk-head img.mk-hic, .ph-head img.mk-hic {
  position: absolute; left: 32px; top: 50%; width: 80px !important; height: 80px !important; margin: -40px 0 0 !important; padding: 8px; border-radius: 26px; animation: none !important;
  background: radial-gradient(circle at 50% 30%, #34363d, #121317 55%, #07080A) padding-box, conic-gradient(from 220deg, #FFFFFF, #5B5F68 20%, #C9CCD3 45%, #3A3D44 70%, #FFFFFF) border-box !important; border: 1.5px solid transparent;
  box-shadow: 0 0 0 6px #08090A, 0 0 0 7px rgba(255,255,255,.08), 0 20px 40px -14px #000 !important; }
.nm-head .eyebrow, .px-head .eyebrow, .st-head .eyebrow, .wt-head .eyebrow, .lk-head .eyebrow, .ph-head .eyebrow { display: inline-flex !important; }
.nm-head h1, .px-head h1, .st-head h1, .wt-head h1, .lk-head h1, .ph-head h1 {
  margin-top: 8px !important; font-size: clamp(36px, 4.6vw, 60px) !important; line-height: .96 !important; font-weight: 650 !important; letter-spacing: -.055em !important;
  background: linear-gradient(180deg, #fff 30%, #AEB2BC); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nm-head p, .px-head p, .st-head p, .wt-head p, .lk-head p, .ph-head p { margin-top: 12px !important; max-width: 560px; font-size: 15.5px !important; color: var(--text-dim) !important; line-height: 1.55 !important; }
.nm-head > div, .px-head > div, .wt-head > div, .ph-head > div { position: static; }
.eyebrow { font-size: 13.5px !important; }

/* ---------- Titres de section, surfaces ---------- */
.section-head, .panel-header, .sec-top, .card-title, .panel-title { letter-spacing: -.02em; }
.section-head h2, .section-head h3, .panel-title, .card-title { font-weight: 600 !important; }
.panel { border-radius: 30px !important; }
.btn-sm { height: 38px; padding: 0 16px !important; }

/* ---------- Interrupteurs, segments, onglets ---------- */
.switch { background: rgba(255,255,255,.06) !important; border: none !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.switch.on { background: var(--n-silver) !important; box-shadow: inset 0 1px 0 #fff, 0 0 18px -4px rgba(255,255,255,.5); }
.switch::after { background: #fff !important; box-shadow: 0 2px 6px rgba(0,0,0,.5) !important; }
.switch.on::after { background: #050506 !important; }
.seg { border-radius: 999px !important; padding: 4px !important; background: rgba(255,255,255,.03) !important; border: none !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important; }
.seg button, .seg a, .seg .on { border-radius: 999px !important; }
.seg .on, .seg button.on { color: #050506 !important; background: var(--n-silver) !important; box-shadow: inset 0 1px 0 #fff !important; }
.lk-tabs { gap: 8px !important; }
.lk-tab { height: 52px !important; border-radius: 999px !important; border: none !important; background: rgba(255,255,255,.03) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font-weight: 500 !important; }
.lk-tab.on { color: #050506 !important; background: var(--n-silver) !important; box-shadow: inset 0 1px 0 #fff, 0 12px 30px -14px rgba(255,255,255,.5) !important; }
.filters { border-radius: 999px !important; padding: 4px !important; background: rgba(255,255,255,.03) !important; border: none !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.filters button, .filters a { border-radius: 999px !important; }
.filters .on { color: #050506 !important; background: var(--n-silver) !important; }

/* ---------- My Lists : atelier de listes ---------- */
.paste textarea, textarea.paste, .paste-row textarea, .editor textarea, #pasteBox, .app-content textarea, .app-content-narrow textarea {
  font-family: var(--n-mono) !important; font-size: 14px !important; line-height: 1.75 !important; border-radius: 22px !important;
  background: linear-gradient(180deg, #050607, #0A0B0D) !important; border: none !important; box-shadow: inset 0 2px 14px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08) !important; padding: 16px 18px !important; }
.app-content textarea:focus, .app-content-narrow textarea:focus { box-shadow: inset 0 2px 14px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.4), 0 0 0 4px rgba(255,255,255,.04) !important; }
.gen-label { font-size: 12.5px !important; font-weight: 500 !important; letter-spacing: .02em !important; text-transform: none !important; color: var(--text-dim) !important; }
.gen { border: none !important; border-radius: 20px !important; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), inset 0 0 0 1px rgba(255,255,255,.07) !important; transition: box-shadow .3s, transform .3s var(--ease) !important; }
.gen:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.22) !important; }
.gen b { font-weight: 600 !important; }
.gen.hot { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.28) !important; background: radial-gradient(160px 80px at 0% 0%, rgba(255,255,255,.08), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)) !important; }
.gen.hot b::after { color: #fff !important; }
.preview-list { border-radius: 22px; background: linear-gradient(180deg, #050607, #0A0B0D); box-shadow: inset 0 2px 14px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.07); font-family: var(--n-mono); }
.side .panel:first-child { background: radial-gradient(380px 200px at 100% 0%, rgba(255,255,255,.07), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px), linear-gradient(160deg, #18191D, #08090A 60%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.08) !important; }

/* ---------- Proxies : console d'infrastructure ---------- */
.panel.mpx { background: radial-gradient(520px 260px at 0% 0%, rgba(255,255,255,.07), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px), linear-gradient(160deg, #17181C, #07080A 60%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -50px #000 !important; }
.mpx-stat { border: none !important; border-radius: 22px !important; background: rgba(255,255,255,.025) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important; }
.mpx-stat b, .mpx-stat strong { font-family: var(--font) !important; letter-spacing: -.04em; }
.count-card { text-align: left; }

/* ---------- Results : journal des prises ---------- */
.stats-grid { gap: 12px !important; }
.stat-icon { border-radius: 50% !important; border: none !important; color: #fff !important; background: rgba(255,255,255,.06) !important; }
.stat-value { font-weight: 650 !important; letter-spacing: -.045em !important; }
.stat-value.green { color: var(--n-jade) !important; }

/* ---------- Compte, réglages ---------- */
.plan-box { border-radius: 26px !important; border: none !important; background: radial-gradient(340px 160px at 0% 0%, rgba(255,255,255,.07), transparent 70%), linear-gradient(160deg, #18191D, #08090A) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.08) !important; }
.field label, .fld-label, .label { font-size: 13px !important; font-weight: 500 !important; color: var(--text-dim) !important; text-transform: none !important; letter-spacing: 0 !important; }
.shortcut { border: none !important; border-radius: 24px !important; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), inset 0 0 0 1px rgba(255,255,255,.07) !important; }
.shortcut:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.2) !important; }
.status.off { color: var(--text-dim) !important; }
.status.on { color: var(--n-jade) !important; }

/* ---------- Name Watch / Lookup : champs façon capsule ---------- */
.wt-form, .lk-form { gap: 10px !important; }
.wt-form input, .wt-form select, .lk-form input { height: 56px !important; border-radius: 999px !important; padding: 0 22px !important; font-size: 15.5px !important; }
.wt-form .btn, .lk-form .btn { height: 56px !important; padding: 0 28px !important; }
.wt-bar, .wt-meter > div { border-radius: 999px !important; }
.wt-alerts > * { border-radius: 999px !important; }

/* ---------- Historique des paiements ---------- */
.sum-card { border: none !important; border-radius: 26px !important; background: linear-gradient(180deg, #0F1013, #070708) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 0 0 1px rgba(255,255,255,.06) !important; }
.sum-card.gold { background: radial-gradient(300px 140px at 0% 0%, rgba(255,255,255,.08), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px), linear-gradient(160deg, #18191D, #08090A) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.12) !important; }

/* ---------- 404 et profil introuvable ---------- */
.nf-code { font-family: var(--n-serif) !important; font-style: italic !important; font-weight: 400 !important; letter-spacing: -.03em !important; background: linear-gradient(180deg, #fff 20%, #6E727B) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; }

/* ---------- Téléphone ---------- */
@media (max-width: 760px) {
  .nm-head, .px-head, .st-head, .wt-head, .lk-head, .ph-head { padding: 22px 20px 22px !important; padding-top: 100px !important; border-radius: 28px; min-height: 0; }
  .nm-head img.mk-hic, .px-head img.mk-hic, .st-head img.mk-hic, .wt-head img.mk-hic, .lk-head img.mk-hic, .ph-head img.mk-hic { left: 20px; top: 20px; margin: 0 !important; width: 62px !important; height: 62px !important; padding: 6px; border-radius: 20px; }
  .nm-head h1, .px-head h1, .st-head h1, .wt-head h1, .lk-head h1, .ph-head h1 { font-size: 36px !important; }
  .nm-head p, .px-head p, .st-head p, .wt-head p, .lk-head p, .ph-head p { font-size: 14.5px !important; }
  .wt-form input, .wt-form select, .lk-form input, .wt-form .btn, .lk-form .btn { height: 52px !important; }
  .lk-tab { height: 46px !important; }
}

.st-head, .lk-head { flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: 0 !important; }
