/* latin-ext */ @font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; src: url(https://fonts.gstatic.com/s/lato/v25/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; src: url(https://fonts.gstatic.com/s/lato/v25/S6uyw4BMUTPHjx4wXg.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; } /* latin-ext */ @font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh6UVSwaPGR_p.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; src: url(https://fonts.gstatic.com/s/lato/v25/S6u9w4BMUTPHh6UVSwiPGQ.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; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } /* ── Thèmes : palette par variables CSS, basculée via [data-theme] sur la racine app ── Le défaut = palette XIP sombre/néon. Chaque thème ne redéfinit que les surfaces à fort impact (fond, header, bulles, bouton d'envoi). */ :root { --xip-app-bg: #080808; --xip-bg: #090910; --xip-header-bg: #0e0e16; --xip-header-border: #1a1a2a; --xip-bubble-other: #141422; --xip-bubble-other-border: #222236; --xip-bubble-sent: #0e1f30; --xip-bubble-sent-border: #1a3a55; --xip-accent: #00ddff; --xip-send-bg: #004488; --xip-send-fg: #00ddff; } [data-theme="whatsapp"] { --xip-app-bg: #0b141a; --xip-bg: #0b141a; --xip-header-bg: #202c33; --xip-header-border: #2a3942; --xip-bubble-other: #202c33; --xip-bubble-other-border: #2a3942; --xip-bubble-sent: #005c4b; /* vert sortant signature WhatsApp */ --xip-bubble-sent-border: #047857; --xip-accent: #00a884; --xip-send-bg: #00a884; --xip-send-fg: #ffffff; } html, body, #app { height: 100%; overflow: hidden; background: var(--xip-app-bg); font-family: 'Lato', sans-serif; } /* ── Styles partagés des sections « Mes Persos » (shop/persos/*) ── Globaux (non scopés) pour être réutilisés par chaque sous-section sans dupliquer le CSS. Préfixe .pf- (persos-form) pour éviter les collisions. */ .pf-section { background: #101018; border: 1px solid #20203a; border-radius: 10px; padding: 18px 20px; } .pf-section.pf-locked { opacity: 0.6; } .pf-title { font-size: 14px; font-weight: bold; color: #ccccee; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; } .pf-sub { font-size: 11px; color: #5a5a80; margin: 0 0 12px; } .pf-lock { font-size: 10px; font-weight: normal; color: #886644; background: #1a1408; border: 1px solid #44330066; border-radius: 8px; padding: 2px 8px; } .pf-grid { display: flex; flex-wrap: wrap; gap: 8px; } .pf-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #141420; border: 1px solid #222234; border-radius: 8px; padding: 10px 14px; cursor: pointer; transition: border-color 0.1s, background 0.1s; } .pf-tile:hover:not(:disabled) { background: #1a1a2e; border-color: #333355; } .pf-tile--active { border-color: #00ddff; background: #0a1a20; } .pf-tile:disabled { cursor: not-allowed; opacity: 0.5; } .pf-swatch { width: 34px; height: 34px; border-radius: inherit; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; border: 1px solid #ffffff10; } .pf-label { font-size: 10px; color: #8888aa; white-space: nowrap; } .pf-tile--active .pf-label { color: #00ddff; } .pf-dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #ffffff22; } .pf-dot--auto { background: conic-gradient(#00ddff, #ff00cc, #00ee77, #ffdd44, #00ddff); }