La zone ci-dessous contient le code complet. Faites défiler vers le bas pour voir la suite, puis sélectionnez et copiez le code pour l'installer dans votre gadget HTML/JavaScript Blogger.
<!-- =====================================================
ESPACE TO GO — WIDGET PERSONNEL ---
6 onglets — bouton cœur lumineux
===================================================== -->
<style>
#ast-panel, #ast-panel * { box-sizing:border-box; }
#ast-trigger {
position:fixed; right:22px; bottom:22px; z-index:100002;
width:76px; height:76px; border:3px solid #00d4ff;
border-radius:50%;
background:radial-gradient(circle at 35% 25%,var(--ast-trigger-button-color,#7040bf),var(--ast-trigger-button-color,#231155) 72%);
color:#ff5ca8; font-size:45px; line-height:1;
cursor:pointer; display:flex; align-items:center; justify-content:center;
box-shadow:0 0 10px #00d4ff,0 0 22px #9350ec,inset 0 0 12px #ffffff30;
transition:transform .25s ease,box-shadow .25s ease;
}
#ast-trigger:hover {
transform:scale(1.12);
box-shadow:0 0 15px #00d4ff,0 0 32px #ff5ca8,inset 0 0 15px #ffffff50;
}
#ast-overlay {
display:none; position:fixed; inset:0; z-index:100000;
background:#0009;
}
#ast-panel {
position:fixed; z-index:100001; top:0; right:0;
height:100vh; height:100dvh; width:440px; max-width:96vw;
display:flex; background:#17132b; color:#eee;
border-left:2px solid #9350ec;
transform:translateX(105%); transition:transform .3s ease;
font-family:Arial,sans-serif; box-shadow:-8px 0 25px #0008;
}
#ast-panel.open { transform:translateX(0); }
#ast-rail {
width:56px; min-width:56px; display:flex; flex-direction:column;
align-items:stretch; justify-content:space-around;
background:#17102d; border-right:1px solid #6336a5;
padding:7px 0;
}
.ast-tab {
flex:1; min-height:0; width:100%; position:relative;
border:0; background:transparent; color:#fff; cursor:pointer;
display:flex; flex-direction:column; align-items:center; justify-content:center;
padding:4px 0; font-size:12px; line-height:1.05;
font-weight:900; letter-spacing:0; text-align:center;
z-index:0;
}
.ast-tab::before {
content:""; position:absolute; z-index:-1;
left:7px; right:0; top:50%; transform:translateY(-50%);
height:66px; max-height:calc(100% - 8px);
border-radius:0 13px 13px 0;
box-shadow:2px 3px 7px #0007, inset 0 1px 0 #ffffff55;
border:1px solid #ffffff55; border-left:0;
}
.ast-tab.active::before {
filter:brightness(1.2); right:-1px;
box-shadow:3px 3px 9px #0009, inset 0 1px 0 #ffffff77;
}
.ast-tab.tab-amis::before { background:linear-gradient(135deg,#9b65df,#6330a8); }
.ast-tab.tab-sites::before { background:linear-gradient(135deg,#f078b5,#b83278); }
.ast-tab.tab-emojis::before { background:linear-gradient(135deg,#35c5d8,#007b91); }
.ast-tab.tab-date::before { background:linear-gradient(135deg,#6d98f1,#3156ad); }
.ast-tab.tab-note::before { background:linear-gradient(135deg,#a4d96c,#4b872c); }
.ast-tab.tab-outils::before { background:linear-gradient(135deg,#b18ae8,#7140ad); }
#ast-main { min-width:0; flex:1; display:flex; flex-direction:column; }
#ast-head {
padding:14px 15px; background:#231155; border-bottom:1px solid #9350ec;
display:flex; justify-content:space-between; align-items:center;
}
#ast-head strong { color:#00d4ff; font-size:16px; letter-spacing:1px; }
#ast-close { background:none; border:0; color:#fff; font-size:26px; cursor:pointer; }
#ast-content { flex:1; min-height:0; overflow:auto; padding:14px; }
.ast-page { display:none; }
.ast-page.active { display:block; }
#ast-panel h3 { color:#00d4ff; font-size:14px; margin:14px 0 9px; }
#ast-panel p { color:#c8c2d9; font-size:12px; }
#ast-panel input:not([type="checkbox"]):not([type="color"]),
#ast-panel select, #ast-panel textarea {
width:100%; padding:9px; margin:4px 0 8px;
border:1px solid #6336a5; border-radius:6px;
background:#211b38; color:#fff; font:13px Arial;
}
#ast-panel textarea { min-height:90px; resize:vertical; }
.ast-btn {
border:1px solid #6336a5; background:#5422a5; color:#fff;
border-radius:6px; padding:8px 11px; cursor:pointer;
margin:3px 2px; font-size:12px;
}
.ast-btn:hover { background:#7040bf; }
.ast-btn.small { padding:5px 8px; }
.ast-muted { color:#aaa; font-size:11px; }
.ast-grid {
display:grid; grid-template-columns:repeat(8,minmax(0,1fr));
gap:5px; margin:10px 0;
}
.ast-emoji {
min-width:0; aspect-ratio:1; display:grid; place-items:center;
background:#28213e; border:1px solid #ffffff18; border-radius:6px;
font-size:22px; cursor:pointer;
}
.ast-emoji:hover { border-color:#00d4ff; background:#40305e; }
.ast-category { color:#c6a9ff; font-size:12px; margin:15px 0 5px; }
.ast-personal-gallery{
margin-top:18px;padding:12px;border:1px solid #8050c9;border-radius:12px;
background:linear-gradient(145deg,#211735,#171229);
box-shadow:inset 0 1px #ffffff12;
}
.ast-personal-gallery h3{margin:2px 0 8px;color:#d9c2ff;}
.ast-personal-gallery input{
width:100%;box-sizing:border-box;margin:5px 0;padding:9px 10px;
border:1px solid #62458e;border-radius:7px;background:#120e20;color:#fff;
}
.ast-personal-media-list{
display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;
max-height:280px;overflow:auto;padding-right:4px;
}
.ast-personal-media-card{
min-width:0;padding:7px;border-radius:9px;background:#2a2040;
border:1px solid #ffffff20;overflow:hidden;
}
.ast-personal-media-card img{
display:block;width:100%;height:90px;object-fit:contain;background:#100d1b;border-radius:6px;
}
.ast-personal-media-title{
display:block;margin:6px 0 3px;color:#e9ddff;font-size:11px;
white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ast-personal-media-actions{display:flex;gap:4px;flex-wrap:wrap;}
.ast-personal-media-actions .ast-btn{flex:1;margin:2px 0;padding:5px 4px;font-size:10px;}
.ast-personal-empty{grid-column:1/-1;padding:12px;text-align:center;color:#bcaed1;font-size:12px;}
.ast-item {
padding:10px; margin:8px 0; background:#25203a;
border:1px solid #ffffff18; border-radius:8px;
}
.ast-item strong { color:#e8dfff; }
.ast-postit {
position:fixed;
z-index:100004;
width:270px;
max-width:86vw;
padding:13px 12px 12px;
margin:0;
border-radius:2px 2px 9px 2px;
min-height:155px;
box-shadow:2px 5px 11px #0008, inset 0 1px 0 #ffffff80;
color:#222;
background:#fff2a8;
transform:rotate(-0.35deg);
border:1px solid #00000018;
cursor:grab;
pointer-events:auto;
touch-action:pan-y;
user-select:none;
}
.ast-postit::before{
content:"";
position:absolute;
top:-7px;
left:calc(50% - 34px);
width:68px;
height:15px;
background:#ffffff70;
border:1px solid #ffffff55;
transform:rotate(-2deg);
box-shadow:0 1px 2px #0002;
}
.ast-postit::after{
content:"";
position:absolute;
right:0;
bottom:0;
width:18px;
height:18px;
background:linear-gradient(135deg,transparent 49%,#00000018 50%,#ffffff88 100%);
pointer-events:none;
}
.ast-postit.style-tape::before{
content:"";top:-8px;left:calc(50% - 31px);width:62px;height:17px;
background:linear-gradient(135deg,#ffffffb8,#d8e4c8a8);
border:1px solid #ffffff80;transform:rotate(-3deg);
}
.ast-postit.style-pin::before{
content:"";top:-10px;left:calc(50% - 7px);width:14px;height:14px;
border-radius:50%;
background:radial-gradient(circle at 35% 30%,#ffb6b6 0 12%,#e3264c 35%,#8b102e 78%);
border:1px solid #8b102e;box-shadow:1px 2px 3px #0007;
}
.ast-postit.style-plain::before{display:none;}
.ast-postit.style-plain::after{display:none;}
.ast-note-message{
user-select:text;
cursor:text;
display:block;
width:100%;
min-height:112px;
box-sizing:border-box;
padding:9px 7px;
margin:5px 0 8px;
background:transparent;
color:inherit;
border:0;
outline:0;
resize:vertical;
white-space:pre-wrap;
overflow-wrap:anywhere;
font-size:15px;
line-height:1.45;
font-family:Arial,sans-serif;
cursor:text;
}
.ast-note-message:empty:before{
content:attr(data-placeholder);
color:#514b43a8;
font-style:italic;
pointer-events:none;
}
.ast-note-message:focus{
outline:1px dashed #00000035;
outline-offset:2px;
}
.ast-postit .ast-row{gap:7px;align-items:center;}
.ast-postit.is-dragging{z-index:100010;cursor:grabbing;box-shadow:4px 10px 22px #000a;}
.ast-postit.is-dragging .ast-note-message{pointer-events:none;}
.ast-postit .ast-btn.small{font-size:11px;padding:4px 7px;min-height:25px;}
.ast-postit select { background:#ffffffbb; color:#222; border-color:#777; }
.ast-note-setting{
display:flex;
flex-direction:column;
align-items:center;
gap:3px;
flex:1 1 75px;
min-width:65px;
color:#30243d;
font-size:11px;
font-weight:600;
}
.ast-note-setting input[type="color"]{
width:38px;
height:30px;
padding:2px;
border:1px solid #777;
border-radius:6px;
background:#ffffffbb;
cursor:pointer;
}
.ast-note-setting select{
width:100%;
min-width:80px;
min-height:30px;
font-size:11px;
}
.ast-row { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.ast-row > * { flex:1; min-width:80px; }
.ast-clock {
display:flex; flex-direction:column; align-items:center;
justify-content:center; gap:7px;
background:linear-gradient(145deg,#29213f,#211a35);
border:1px solid #8d63c966; border-radius:12px;
padding:13px 8px; min-width:0; min-height:88px;
margin:0; box-shadow:inset 0 1px 0 #ffffff12,0 4px 12px #0003;
}
.ast-clock b {
order:2; color:#00d4ff; font-size:25px; line-height:1.1;
letter-spacing:1px; white-space:nowrap;
text-shadow:0 0 9px #00d4ff55;
}
.ast-clock span {
order:1; writing-mode:horizontal-tb; font-size:12px;
font-weight:700; letter-spacing:1px; color:#e9dcff;
text-transform:uppercase; text-align:center;
}
.ast-clock .ast-btn{order:3;align-self:center;}
.ast-link { color:#00d4ff; text-decoration:none; overflow-wrap:anywhere; }
.ast-link:hover { text-decoration:underline; }
.ast-tool-result { color:#9bd713; font-weight:bold; margin:8px 0; }
@media(max-width:480px) {
#ast-panel { width:100vw; max-width:100vw; }
#ast-rail { width:50px; min-width:50px; }
.ast-grid { grid-template-columns:repeat(8,minmax(0,1fr)); gap:3px; }
.ast-emoji { font-size:19px; }
}
/* ===== ONGLETS CLASSEUR : arrondi à gauche, tailles selon le titre ===== */
#ast-rail{
width:62px !important;
min-width:62px !important;
padding:14px 0 !important;
gap:9px !important;
justify-content:flex-start !important;
align-items:stretch !important;
background:linear-gradient(90deg,#100a22,#21133e) !important;
border-right:1px solid #6b48a2 !important;
}
.ast-tab{
flex:0 0 auto !important;
width:100% !important;
min-height:0 !important;
height:auto !important;
padding:9px 0 !important;
font-size:12px !important;
line-height:1.22 !important;
font-weight:700 !important;
letter-spacing:.25px !important;
text-align:center !important;
color:#fff !important;
border:0 !important;
border-radius:0 !important;
margin:0 !important;
position:relative !important;
isolation:isolate !important;
text-shadow:0 1px 2px #241238 !important;
transition:transform .18s ease,filter .18s ease !important;
}
.ast-tab::before{
content:"";
position:absolute;
z-index:-1;
left:8px !important;
right:-1px !important;
top:0 !important;
bottom:0 !important;
height:auto !important;
max-height:none !important;
transform:none !important;
border-radius:13px 0 0 13px !important;
border:1px solid #ffffff75 !important;
border-right:0 !important;
box-shadow:-2px 3px 7px #0008,inset 0 1px 0 #ffffff55 !important;
}
.ast-tab.active{
transform:translateX(-2px) !important;
filter:brightness(1.12) !important;
}
.ast-tab.active::before{
left:5px !important;
box-shadow:-3px 4px 10px #000a,inset 0 1px 0 #ffffff88 !important;
}
.ast-tab.tab-amis::before{background:linear-gradient(145deg,#b27bed 0%,#7138b5 55%,#51258d 100%) !important;}
.ast-tab.tab-sites::before{background:linear-gradient(145deg,#ff8fc7 0%,#d44891 58%,#a72b70 100%) !important;}
.ast-tab.tab-emojis::before{background:linear-gradient(145deg,#52d8e5 0%,#079eb1 58%,#087285 100%) !important;}
.ast-tab.tab-date::before{background:linear-gradient(145deg,#8db2ff 0%,#4778d5 58%,#2c4d9e 100%) !important;}
.ast-tab.tab-note::before{background:linear-gradient(145deg,#c0ef79 0%,#79bf45 58%,#4c8b2d 100%) !important;}
.ast-tab.tab-outils::before{background:linear-gradient(145deg,#c7a2f5 0%,#9361d0 58%,#6840a6 100%) !important;}
@media(max-width:480px){
#ast-rail{width:58px !important;min-width:58px !important;gap:7px !important;}
.ast-tab{padding:8px 0 !important;font-size:11px !important;line-height:1.2 !important;}
}
/* ===== FINITION DES INTERCALAIRES ===== */
#ast-rail{
width:68px !important;
min-width:68px !important;
padding:15px 0 !important;
gap:12px !important;
background:linear-gradient(90deg,#100a22 0%,#21133e 100%) !important;
border-right:1px solid #8060b5 !important;
}
.ast-tab{
padding:10px 0 !important;
font-family:"Trebuchet MS",Arial,sans-serif !important;
font-size:12px !important;
line-height:1.23 !important;
font-weight:800 !important;
letter-spacing:.8px !important;
color:#21152f !important;
text-shadow:0 1px 0 #ffffff9c, 0 -1px 0 #ffffff40 !important;
}
.ast-tab::before{
left:8px !important;
right:-1px !important;
border-radius:14px 0 0 14px !important;
border:1.5px solid #ffffffb0 !important;
border-right:0 !important;
box-shadow:
-2px 3px 7px #0009,
inset 0 1px 0 #ffffffb0,
inset 0 -2px 3px #24123844 !important;
}
.ast-tab.active{
transform:translateX(-3px) !important;
}
.ast-tab.active::before{
left:5px !important;
border-color:#ffffffdf !important;
box-shadow:
-3px 4px 10px #000a,
inset 0 1px 0 #ffffffd0,
inset 0 -2px 3px #24123855 !important;
}
/* Give the tabs breathing room like real divider tabs */
.ast-tab.tab-amis{margin-bottom:1px !important;}
.ast-tab.tab-sites{margin-bottom:1px !important;}
.ast-tab.tab-emojis{margin-bottom:1px !important;}
.ast-tab.tab-date{margin-bottom:1px !important;}
.ast-tab.tab-note{margin-bottom:1px !important;}
.ast-tab.tab-outils{margin-bottom:1px !important;}
@media(max-width:480px){
#ast-rail{width:64px !important;min-width:64px !important;gap:10px !important;}
.ast-tab{font-size:11px !important;letter-spacing:.7px !important;}
}
/* ===== TYPO IMPACT + INTERCALAIRES PLUS ÉLANCÉS ===== */
#ast-rail{
gap:11px !important;
padding-top:15px !important;
padding-bottom:15px !important;
}
.ast-tab{
font-family:Arial,Helvetica,sans-serif !important;
font-size:13px !important;
font-weight:900 !important;
letter-spacing:1px !important;
line-height:1.18 !important;
padding:13px 0 !important;
color:#21152f !important;
text-shadow:0 1px 0 #ffffffb5, 0 -1px 0 #ffffff55 !important;
}
/* Les onglets courts gagnent un peu de hauteur pour mieux remplir le classeur. */
.ast-tab.tab-amis{min-height:88px !important;}
.ast-tab.tab-sites{min-height:100px !important;}
.ast-tab.tab-emojis{min-height:116px !important;}
.ast-tab.tab-date{min-height:90px !important;}
.ast-tab.tab-note{min-height:90px !important;}
.ast-tab.tab-outils{min-height:116px !important;}
.ast-tab::before{
top:0 !important;
bottom:0 !important;
height:auto !important;
border-radius:15px 0 0 15px !important;
}
@media(max-width:480px){
.ast-tab{
font-size:12px !important;
letter-spacing:.9px !important;
padding:12px 0 !important;
}
.ast-tab.tab-amis{min-height:84px !important;}
.ast-tab.tab-sites{min-height:94px !important;}
.ast-tab.tab-emojis{min-height:108px !important;}
.ast-tab.tab-date,.ast-tab.tab-note{min-height:86px !important;}
.ast-tab.tab-outils{min-height:108px !important;}
}
/* Agrandir les lettres des intercalaires */
.ast-tab{
font-size:15px !important;
font-weight:800 !important;
letter-spacing:1px !important;
line-height:1.16 !important;
}
@media(max-width:480px){
.ast-tab{font-size:14px !important;letter-spacing:.9px !important;}
}
/* ===== ONGLET PLUS + BARRES DE DÉFILEMENT ===== */
.ast-tab.tab-plus::before{
background:linear-gradient(145deg,#c7a2f5 0%,#9361d0 58%,#6840a6 100%) !important;
}
.ast-tab.tab-plus{
min-height:100px !important;
}
/* Le panneau entier défile si une page est longue. */
#ast-content{
overflow-y:auto !important;
overflow-x:hidden !important;
scrollbar-width:thin;
scrollbar-color:#8050c9 #1a1230;
}
/* Horloges : cartes larges, noms horizontaux et heure bien lisible. */
#ast-clocks{
display:grid !important;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:10px;
max-height:320px;
padding:4px 5px 8px 0;
}
@media(min-width:560px){
#ast-clocks{grid-template-columns:repeat(3,minmax(0,1fr));}
}
/* Les longues listes ont aussi leur propre défilement automatique. */
#ast-friends-list,
#ast-links-list,
#ast-custom-list,
#ast-birthday-list,
#ast-notes-list,
#ast-emoji-library,
#ast-clocks{
max-height:320px;
overflow-y:auto;
overflow-x:hidden;
overscroll-behavior:contain;
scrollbar-width:thin;
scrollbar-color:#8050c9 #1a1230;
padding-right:5px;
}
/* Survol et barre visible dans les navigateurs Chromium. */
#ast-content::-webkit-scrollbar,
#ast-friends-list::-webkit-scrollbar,
#ast-links-list::-webkit-scrollbar,
#ast-custom-list::-webkit-scrollbar,
#ast-birthday-list::-webkit-scrollbar,
#ast-notes-list::-webkit-scrollbar,
#ast-emoji-library::-webkit-scrollbar,
#ast-clocks::-webkit-scrollbar{
width:7px;
}
#ast-content::-webkit-scrollbar-track,
#ast-friends-list::-webkit-scrollbar-track,
#ast-links-list::-webkit-scrollbar-track,
#ast-custom-list::-webkit-scrollbar-track,
#ast-birthday-list::-webkit-scrollbar-track,
#ast-notes-list::-webkit-scrollbar-track,
#ast-emoji-library::-webkit-scrollbar-track,
#ast-clocks::-webkit-scrollbar-track{
background:#1a1230;
border-radius:10px;
}
#ast-content::-webkit-scrollbar-thumb,
#ast-friends-list::-webkit-scrollbar-thumb,
#ast-links-list::-webkit-scrollbar-thumb,
#ast-custom-list::-webkit-scrollbar-thumb,
#ast-birthday-list::-webkit-scrollbar-thumb,
#ast-notes-list::-webkit-scrollbar-thumb,
#ast-emoji-library::-webkit-scrollbar-thumb,
#ast-clocks::-webkit-scrollbar-thumb{
background:linear-gradient(#a16be0,#59339b);
border-radius:10px;
border:1px solid #c8a9ed55;
}
/* Lettres plus nettes : retrait du contour/halo blanc */
.ast-tab{
color:#241633 !important;
text-shadow:none !important;
}
.ast-tab::before{
border:0 !important;
box-shadow:0 3px 7px #0008 !important;
}
.ast-tab.active::before{
border:0 !important;
box-shadow:0 4px 9px #0009 !important;
}
/* Finition des languettes : fin liseré bleu + dégradés doux */
.ast-tab::before{
border:1px solid #20cfff !important;
border-right:0 !important;
box-shadow:0 3px 8px #0008, inset 0 1px 0 #ffffff28 !important;
}
.ast-tab.active::before{
border-color:#48dcff !important;
box-shadow:0 4px 10px #0009, inset 0 1px 0 #ffffff35 !important;
}
.ast-tab.tab-amis::before{
background:linear-gradient(145deg,#c08aff 0%,#9250d2 48%,#632da4 100%) !important;
}
.ast-tab.tab-sites::before{
background:linear-gradient(145deg,#ff9acb 0%,#e653a0 48%,#ad2d75 100%) !important;
}
.ast-tab.tab-emojis::before{
background:linear-gradient(145deg,#62f2ef 0%,#19cbd7 48%,#078baf 100%) !important;
}
.ast-tab.tab-date::before{
background:linear-gradient(145deg,#a5c9ff 0%,#5c91ed 48%,#3159b7 100%) !important;
}
.ast-tab.tab-note::before{
background:linear-gradient(145deg,#c7f58a 0%,#8ed34d 48%,#55952f 100%) !important;
}
.ast-tab.tab-plus::before{
background:linear-gradient(145deg,#d3a9ff 0%,#a36cde 48%,#7143ad 100%) !important;
}
/* ===== NAVIGATION PAR ICÔNES : AMIS, SITES, AGENDA, PLUS, ÉMOJIS ===== */
#ast-rail{gap:12px !important;padding:15px 0 !important;}
.ast-tab.icon-tab{
flex:0 0 92px !important; min-height:92px !important; height:92px !important;
display:flex !important; align-items:center !important; justify-content:center !important;
padding:0 !important; font-family:Arial,sans-serif !important;
font-size:37px !important; font-weight:400 !important; line-height:1 !important;
letter-spacing:0 !important; color:#fff !important; text-shadow:0 2px 5px #17102d99 !important;
cursor:pointer !important;
}
.ast-tab.icon-tab::before{
left:8px !important; right:-1px !important; top:0 !important; bottom:0 !important;
height:auto !important; max-height:none !important; transform:none !important;
border:1px solid #20cfff !important; border-right:0 !important;
border-radius:16px 0 0 16px !important;
box-shadow:0 3px 8px #0008,inset 0 1px 0 #ffffff28 !important;
}
.ast-tab.icon-tab.active{transform:translateX(-3px) !important;filter:brightness(1.12) !important;}
.ast-tab.tab-amis::before{background:linear-gradient(145deg,#ff9bd2 0%,#dc4d9d 48%,#92245f 100%) !important;}
.ast-tab.tab-sites::before{background:linear-gradient(145deg,#8edfff 0%,#348fe9 48%,#174eaa 100%) !important;}
.ast-tab.tab-date::before{background:linear-gradient(145deg,#d6a6ff 0%,#9654dc 48%,#5b2b9d 100%) !important;}
.ast-tab.tab-plus::before{background:linear-gradient(145deg,#6cf4ff 0%,#16bfdc 48%,#0875ad 100%) !important;}
.ast-tab.tab-emojis::before{background:linear-gradient(145deg,#ffe08a 0%,#f2a72e 48%,#bb651b 100%) !important;}
.ast-agenda-divider{height:1px;margin:22px 0;background:linear-gradient(90deg,transparent,#20cfff99,#a66bff99,transparent);}
@media(max-width:480px){
#ast-rail{width:68px !important;min-width:68px !important;gap:10px !important;}
.ast-tab.icon-tab{flex-basis:82px !important;height:82px !important;min-height:82px !important;font-size:33px !important;}
}
/* ===== REFONTE FANTASIE NEON : FINITION ORNEMENTALE ===== */
#ast-panel{
background:
radial-gradient(ellipse at 82% 3%,rgba(112,55,185,.24),transparent 36%),
radial-gradient(ellipse at 10% 92%,rgba(0,212,255,.10),transparent 32%),
linear-gradient(155deg,#100b20 0%,#1b1233 48%,#100d25 100%) !important;
border-left:1px solid #25d9ff !important;
box-shadow:-14px 0 38px #000b, -2px 0 18px #00d4ff44, inset 1px 0 0 #b68aff55 !important;
}
#ast-panel::before{
content:""; position:absolute; pointer-events:none; z-index:4;
inset:7px; border:1px solid #9d68e65c; border-radius:15px;
box-shadow:inset 0 0 18px #6b36a522,0 0 12px #00d4ff12;
}
#ast-rail{
position:relative !important; z-index:5 !important;
background:linear-gradient(180deg,#10091f,#20123c 48%,#10091f) !important;
border-right:1px solid #8d5bd6 !important;
box-shadow:inset -1px 0 #20dfff44,5px 0 18px #0005 !important;
padding-top:24px !important; padding-bottom:24px !important;
}
#ast-rail::before,#ast-rail::after{
content:"✦ · ✦"; position:absolute; left:0; right:0; text-align:center;
color:#53eaff; font-size:10px; letter-spacing:2px; opacity:.8;
text-shadow:0 0 8px #00d4ff;
}
#ast-rail::before{top:7px;} #ast-rail::after{bottom:7px;}
.ast-tab.icon-tab{position:relative !important; isolation:isolate !important;}
.ast-tab.icon-tab::before{
border:1px solid #35dcff !important; border-right:0 !important;
border-radius:17px 0 0 17px !important;
box-shadow:0 5px 12px #0009,inset 0 1px 0 #ffffff55,inset 0 -5px 12px #170b3455 !important;
}
.ast-tab.icon-tab::after{
content:""; position:absolute; z-index:-1; left:12px; right:5px; top:5px; height:38%;
border-radius:14px 0 0 8px; background:linear-gradient(180deg,#ffffff45,transparent);
pointer-events:none;
}
.ast-tab.icon-tab.active::before{
border-color:#a4f4ff !important;
box-shadow:0 0 0 1px #00d4ff55,0 0 17px #00d4ff66,0 6px 14px #000a,inset 0 1px 0 #ffffff77 !important;
}
.ast-tab.icon-tab{font-size:39px !important; filter:drop-shadow(0 3px 3px #080516) !important;}
.ast-tab.tab-amis::before{background:linear-gradient(145deg,#ffb5df 0%,#ec5bb1 40%,#8e246b 100%) !important;}
.ast-tab.tab-sites::before{background:linear-gradient(145deg,#b8f4ff 0%,#42b9ed 42%,#174a9c 100%) !important;}
.ast-tab.tab-date::before{background:linear-gradient(145deg,#e5c5ff 0%,#a36be9 42%,#512b9b 100%) !important;}
.ast-tab.tab-plus::before{background:linear-gradient(145deg,#a8ffff 0%,#20d5e7 42%,#08739e 100%) !important;}
.ast-tab.tab-emojis::before{background:linear-gradient(145deg,#fff0a8 0%,#ffc34d 42%,#bd681e 100%) !important;}
.ast-tab.tab-tips::before{background:linear-gradient(145deg,#fff39a 0%,#ffd23f 48%,#d98b16 100%) !important;}
#ast-head{
position:relative !important; overflow:hidden !important;
padding:19px 17px !important;
background:linear-gradient(110deg,#241044 0%,#3b1b68 48%,#17102e 100%) !important;
border-bottom:1px solid #26dfff !important;
box-shadow:0 5px 20px #0005,inset 0 1px 0 #ffffff22 !important;
}
#ast-head::before{
content:"✧ ✦ ✧"; position:absolute; right:48px; top:50%; transform:translateY(-50%);
color:#d7aaff; font-size:17px; letter-spacing:7px; opacity:.75;
text-shadow:0 0 8px #a65cff,0 0 16px #00d4ff;
}
#ast-head strong{
color:#8cf5ff !important; font-family:Georgia,serif !important;
font-size:17px !important; letter-spacing:1.7px !important;
text-shadow:0 0 7px #00d4ff99,0 0 15px #8b4cff88 !important;
}
#ast-close{position:relative;z-index:1;color:#f4c9ff !important;text-shadow:0 0 9px #d45cff;}
#ast-content{
background-image:radial-gradient(#a77aff19 .8px,transparent .8px);
background-size:19px 19px;
scrollbar-color:#9861d9 #160e2a !important;
}
#ast-panel h3{
color:#9df5ff !important; font-family:Georgia,serif !important;
font-size:16px !important; letter-spacing:.7px !important;
padding:0 0 9px !important; margin:20px 0 12px !important;
border-bottom:1px solid transparent !important;
border-image:linear-gradient(90deg,#00d4ff,#9c5bdf,#ff6cbd,transparent) 1 !important;
text-shadow:0 0 9px #00d4ff55 !important;
}
#ast-panel input:not([type="checkbox"]):not([type="color"]),#ast-panel select,#ast-panel textarea{
border:1px solid #8052bd !important; border-radius:10px !important;
background:linear-gradient(145deg,#211638,#171027) !important;
box-shadow:inset 0 2px 6px #0007,0 0 0 1px #ffffff08 !important;
}
#ast-panel input:focus,#ast-panel select:focus,#ast-panel textarea:focus{
outline:none !important;border-color:#20dfff !important;box-shadow:0 0 0 2px #20dfff33,0 0 12px #20dfff33 !important;
}
.ast-btn{
border:1px solid #37dfff !important; border-radius:10px !important;
background:linear-gradient(135deg,#8751c8 0%,#552a91 55%,#34205e 100%) !important;
box-shadow:0 4px 10px #0007,inset 0 1px 0 #ffffff45 !important;
padding:9px 13px !important; font-weight:700 !important;
}
.ast-btn:hover{filter:brightness(1.18) !important;box-shadow:0 0 12px #00d4ff66,0 4px 10px #0007 !important;}
#ast-trigger{
border:2px solid #55eaff !important;
background:radial-gradient(circle at 32% 24%,#ff8acb 0%,#963fc4 38%,#28104f 78%) !important;
color:#fff0fa !important;
text-shadow:0 2px 5px #451044,0 0 12px #ff6fc7 !important;
box-shadow:0 0 0 4px #8b4be633,0 0 18px #00d4ff99,0 0 34px #a34cff88,inset 0 2px 7px #ffffff66,inset 0 -7px 12px #160725 !important;
}
#ast-trigger:hover{transform:scale(1.08) rotate(-5deg) !important;}
@media(max-width:480px){#ast-head{padding:16px 13px !important;}#ast-head strong{font-size:15px !important;}}
/* ===== ENTETE ESPACE PERSONNEL : EMBLEME GEOMETRIQUE ===== */
#ast-head{
min-height:68px !important;
box-sizing:border-box !important;
display:flex !important; align-items:center !important; justify-content:center !important;
text-align:center !important; position:relative !important; isolation:isolate !important;
overflow:hidden !important; padding:8px 54px !important;
/* On conserve la bande dégradée cyan-violet */
background:linear-gradient(100deg,#075c91 0%,#087fae 18%,#16cde2 42%,#536ee0 70%,#672b9d 100%) !important;
border-bottom:2px solid #73f3ff !important;
box-shadow:0 4px 18px #00d4ff55,inset 0 1px 0 #ffffff80,inset 0 -5px 12px #170b3b55 !important;
}
/* Grandes courbes décoratives, asymétriques et très discrètes */
#ast-head::before{
content:"" !important; position:absolute !important; z-index:0 !important;
width:190px !important; height:120px !important; left:-54px !important; top:-70px !important;
border:1px solid #b9faffaa !important; border-radius:50% !important;
box-shadow:0 0 0 7px #a7f7ff18,0 0 0 15px #f6baff16,0 0 15px #8cf5ff66 !important;
transform:rotate(-24deg) !important; background:transparent !important; pointer-events:none !important;
}
#ast-head::after{
content:"" !important; position:absolute !important; z-index:0 !important;
width:220px !important; height:145px !important; right:-78px !important; bottom:-105px !important;
border:1px solid #ffc7f5a6 !important; border-radius:50% !important;
box-shadow:0 0 0 8px #d9c1ff20,0 0 0 17px #78f4ff18,0 0 16px #ff9de966 !important;
transform:rotate(28deg) !important; background:transparent !important; pointer-events:none !important;
}
#ast-head strong{
position:relative !important; z-index:2 !important; display:inline-block !important;
width:auto !important; margin:0 auto !important; padding:7px 27px !important;
color:#f5ffff !important; font-family:Georgia,'Times New Roman',serif !important;
font-size:18px !important; font-weight:700 !important; letter-spacing:1.7px !important;
line-height:1.2 !important; text-align:center !important; white-space:nowrap !important;
border:1px solid #b4faffb8 !important; border-left:0 !important; border-right:0 !important;
background:linear-gradient(90deg,#ffffff00,#ffffff20 18%,#ffffff12 82%,#ffffff00) !important;
text-shadow:0 1px 2px #10275d,0 0 7px #fff,0 0 15px #00eaff !important;
box-shadow:inset 0 1px 0 #ffffff44,inset 0 -1px 0 #ffffff33 !important;
}
/* Petits accents obliques de chaque côté du nom, façon logo de template */
#ast-head strong::before,#ast-head strong::after{
content:"" !important; position:absolute !important; top:50% !important;
width:19px !important; height:19px !important; margin:0 !important;
border:1px solid #d8faffd9 !important; border-radius:5px 12px 5px 12px !important;
background:linear-gradient(135deg,#ffffff55,#00dfff18 55%,#ff9be933) !important;
box-shadow:0 0 8px #00eaff99,inset 0 0 7px #ffffff55 !important;
transform:translateY(-50%) rotate(45deg) !important;
}
#ast-head strong::before{left:-34px !important;}
#ast-head strong::after{right:-34px !important;}
#ast-close{
position:absolute !important; right:13px !important; top:50% !important;
transform:translateY(-50%) !important; z-index:3 !important;
color:#fff !important; text-shadow:0 0 8px #ff9ce8,0 0 13px #00dfff !important;
}
@media(max-width:480px){
#ast-head{min-height:82px !important;padding:9px 42px 9px 38px !important;}
#ast-head strong{font-size:14px !important;letter-spacing:1px !important;padding:9px 13px !important;}
#ast-head strong::before{left:-25px !important;width:14px !important;height:14px !important;}
#ast-head strong::after{right:-25px !important;width:14px !important;height:14px !important;}
}
/* Retirer uniquement les deux petits ovales de chaque cote du titre.
Le grand decor en arc, les lignes et le degrade du bandeau restent intacts. */
#ast-head strong::before,
#ast-head strong::after{
content:none !important;
display:none !important;
}
/* AMIS : formulaire séparé visuellement de la liste enregistrée */
.ast-friends-entry{
padding:9px 11px 8px;
margin:0 0 10px;
border:1px solid #7045ad;
border-radius:11px;
background:linear-gradient(145deg,#21183b 0%,#19142e 100%);
box-shadow:inset 0 1px 0 #ffffff12,0 5px 14px #0003;
}
.ast-friends-entry h3{margin:0 0 4px !important;position:relative;top:-6px;}
.ast-friends-entry p{margin:0 0 6px;line-height:1.3;}
.ast-friends-entry input{display:block;margin-top:5px !important;padding-top:8px !important;padding-bottom:8px !important;}
.ast-friends-entry .ast-btn{margin-top:1px;padding-top:7px !important;padding-bottom:7px !important;}
.ast-friends-saved-title{
margin:5px 1px 9px;
padding:0 0 8px;
color:#cba9ff;
font-size:12px;
font-weight:700;
letter-spacing:.8px;
border-bottom:1px solid #7045ad;
}
/* Liste AMIS compacte : une seule ligne par blog, actions en petites icônes */
#ast-friends-list .ast-friend-item{display:flex;align-items:center;gap:6px;min-height:40px;padding:5px 7px;margin:5px 0;border:1px solid #ffffff18;border-radius:8px;background:linear-gradient(110deg,#28213e,#211a35);}
#ast-friends-list .ast-friend-info{display:flex;align-items:baseline;gap:7px;flex:1;min-width:0;overflow:hidden;}
#ast-friends-list .ast-friend-info strong{flex:0 1 auto;min-width:0;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e8dfff;font-size:12px;}
#ast-friends-list .ast-friend-info a{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.3;}
#ast-friends-list .ast-friend-actions{display:flex;align-items:center;justify-content:center;gap:4px;flex:0 0 auto;margin-left:3px;}
#ast-friends-list .ast-friend-action{flex:0 0 23px;width:23px;height:23px;padding:0;margin:0;display:grid;place-items:center;align-items:center;justify-items:center;text-align:center;border-radius:7px;font-size:15px;line-height:1;}
#ast-friends-list .ast-friend-edit{color:#fff;background:linear-gradient(145deg,#8d61ce,#5422a5);border-color:#c9b5ff;font-size:18px;text-shadow:0 0 5px #fff;}
#ast-links-list .ast-friend-edit{color:#fff;background:linear-gradient(145deg,#8d61ce,#5422a5);border-color:#c9b5ff;font-size:18px;text-shadow:0 0 5px #fff;}
#ast-friends-list .ast-friend-delete{color:#fff;background:linear-gradient(145deg,#625078,#352344);border-color:#a994c5;font-size:19px;font-weight:bold;line-height:1;}
#ast-links-list .ast-friend-delete{color:#fff;background:linear-gradient(145deg,#625078,#352344);border-color:#a994c5;font-size:19px;font-weight:bold;line-height:1;}
#ast-links-list .ast-link-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:6px;}
#ast-friends-list .ast-friend-hint{margin:4px 0 8px;font-size:10px;color:#a99ac5;}
@media(max-width:480px){#ast-friends-list .ast-friend-item{gap:4px;padding:5px;min-height:38px;}#ast-friends-list .ast-friend-info{gap:5px;}#ast-friends-list .ast-friend-info strong{max-width:38%;font-size:11px;}#ast-friends-list .ast-friend-info a{font-size:10px;}#ast-friends-list .ast-friend-action{flex-basis:22px;width:22px;height:22px;}}
#ast-friends-list{overflow:visible;max-height:none;}
#ast-friends-list.ast-friends-scroll{
max-height:calc(100dvh - 410px);
min-height:100px;
overflow-y:auto;
overflow-x:hidden;
padding:0 6px 5px 0;
overscroll-behavior:contain;
scrollbar-width:thin;
scrollbar-color:#9861d9 #1a1230;
}
#ast-friends-list.ast-friends-scroll::-webkit-scrollbar{width:7px;}
#ast-friends-list.ast-friends-scroll::-webkit-scrollbar-track{background:#1a1230;border-radius:8px;}
#ast-friends-list.ast-friends-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#00d4ff,#9350ec);border-radius:8px;}
/* Ajustements AMIS : remonter le formulaire et afficher le defilement des 6 blogs */
#page-favorites .ast-friends-entry{
padding:4px 11px 6px;
margin-top:-4px;
margin-bottom:8px;
}
#page-favorites .ast-friends-entry p{margin-bottom:5px;line-height:1.25;}
#page-favorites .ast-friends-entry input{margin-top:4px !important;padding-top:7px !important;padding-bottom:7px !important;}
#page-favorites .ast-friends-saved-title{margin-top:4px;margin-bottom:7px;padding-bottom:6px;}
#ast-friends-list.ast-friends-scroll{
max-height:calc(100dvh - 405px);
min-height:90px;
}
#ast-trigger{width:55px !important;height:55px !important;font-size:0 !important;}
#ast-trigger .ast-trigger-symbol{
display:grid !important;
place-items:center;
width:32px;
height:32px;
max-width:32px;
max-height:32px;
overflow:hidden;
box-sizing:border-box;
font-family:Arial,sans-serif;
font-size:26px !important;
font-weight:700;
line-height:1;
text-align:center;
white-space:nowrap;
color:var(--ast-trigger-symbol-color,#ffffff);
text-shadow:0 2px 4px #0008;
}
#ast-trigger .ast-favorite-tall-heart{display:block;width:32px;height:34px;overflow:visible;}
#ast-trigger .ast-trigger-heart{
display:block !important;
width:30px !important;height:30px !important;
overflow:visible;
filter:drop-shadow(0 2px 3px #4b123f99) drop-shadow(0 0 5px #ff80cb88);
transition:transform .22s ease,filter .22s ease;
}
#ast-trigger:hover .ast-trigger-heart{
transform:scale(1.08);
filter:drop-shadow(0 2px 4px #4b123fbb) drop-shadow(0 0 8px #ff80cbcc);
}
/* Marqueurs personnalisés des anniversaires dans le calendrier */
#ast-calendar-grid .ast-calendar-day{
min-height:49px !important;
display:flex !important;
flex-direction:column !important;
align-items:center !important;
justify-content:center !important;
gap:2px !important;
line-height:1.05 !important;
padding:5px 2px !important;
}
#ast-calendar-grid .ast-calendar-marker{
display:block;
font-size:15px;
line-height:1;
font-weight:900;
min-height:15px;
text-shadow:0 0 5px currentColor;
}
#ast-calendar-grid .ast-calendar-marker.square{
width:10px;height:10px;min-height:10px;
border-radius:2px;
box-shadow:0 0 6px currentColor;
}
#ast-birthday-color{cursor:pointer;}
#ast-birthday-marker{
background:#211b38 !important;
color:#ffffff !important;
border:1px solid #7650b8 !important;
color-scheme:dark;
}
#ast-birthday-marker option{
background:#211b38 !important;
color:#ffffff !important;
}
#ast-birthday-custom-wrap{margin:7px 0;}
#ast-birthday-custom{background:#211b38 !important;color:#fff !important;border:1px solid #7650b8 !important;}
/* ===== POST-IT PAPIER REALISTE : attaches visibles ===== */
.ast-postit{
width:265px !important; min-height:205px !important;
padding:34px 17px 25px !important; border:0 !important;
border-radius:1px 1px 3px 1px !important;
background-image:linear-gradient(135deg,#ffffff30,transparent 42%),repeating-linear-gradient(0deg,#00000005 0 1px,transparent 1px 4px) !important;
box-shadow:2px 8px 15px #0005,0 2px 3px #0002,inset 0 0 22px #ffffff30 !important;
transform-origin:center center; cursor:grab;
overflow:visible !important;
}
.ast-postit::before{display:none !important;}
/* Ruban adhésif translucide au bord supérieur */
.ast-postit.style-tape::before{
display:block !important;content:"" !important;position:absolute !important;
top:-10px !important;left:calc(50% - 39px) !important;width:78px !important;height:25px !important;
background:linear-gradient(135deg,#fff8dccc 0%,#e8dfc5c9 48%,#ffffffd9 100%) !important;
border:1px solid #c9bd9d !important;transform:rotate(-4deg) !important;
box-shadow:0 2px 5px #0003 !important;z-index:9 !important;
}
/* Punaise rouge en relief */
.ast-postit .ast-postit-pin{
display:none;position:absolute !important;z-index:12 !important;
top:-13px !important;left:calc(50% - 10px) !important;
width:20px !important;height:20px !important;border-radius:50% !important;
background:radial-gradient(circle at 30% 25%,#fff0ee 0 8%,#ff9292 17%,#e51f45 48%,#8c0928 82%) !important;
border:1px solid #8b102e !important;
box-shadow:1px 3px 5px #0007, inset -2px -3px 4px #62051d88 !important;
}
.ast-postit.style-pin .ast-postit-pin{display:block !important;}
.ast-postit.style-plain::before,.ast-postit.style-plain::after{display:none !important;}
.ast-postit-header{position:absolute;top:7px;right:7px;display:flex;gap:5px;z-index:7;}
.ast-postit-gear,.ast-postit-delete{
width:25px;height:25px;padding:0;border:0;border-radius:50%;
background:#ffffffa8;color:#514735;font-size:15px;line-height:1;cursor:pointer;
box-shadow:0 1px 3px #0002;
}
.ast-postit-delete{font-size:19px;font-weight:bold;}
.ast-postit-gear.active{background:#ffffffed;color:#6a4b16;}
.ast-postit-settings{
display:flex;flex-wrap:wrap;gap:5px;padding:7px;margin:0 0 8px;
border:1px dashed #665b453d;border-radius:5px;background:#ffffff55;
}
.ast-postit-settings[hidden]{display:none !important;}
.ast-postit-settings .ast-note-setting{color:#413a30;font-size:10px;min-width:48px;}
.ast-postit-settings input[type=color]{width:30px;height:25px;padding:1px;}
.ast-postit-settings select{font-size:10px;min-width:70px;max-width:100%;padding:4px;background:#ffffffc9;color:#29251f;border:1px solid #999;}
.ast-postit .ast-note-message{
min-height:135px !important;padding:7px 5px !important;margin:0 !important;
color:inherit !important;background:transparent !important;border:0 !important;
font-family:Georgia,serif; font-size:16px;line-height:1.5;
}
.ast-postit .ast-note-message:focus{outline:1px dashed #594a333d;outline-offset:2px;}
.ast-postit-rotate{
position:absolute;right:7px;bottom:6px;z-index:20;
display:grid;place-items:center;
width:32px;height:32px;padding:0;
border:1px solid #6b5b4480;border-radius:50%;
background:#ffffffed;color:#514735;font-size:22px;line-height:1;
cursor:grab;touch-action:none;user-select:none;
box-shadow:0 2px 5px #0003;
pointer-events:auto;
}
.ast-postit-rotate:active{cursor:grabbing;background:#fff;}
.ast-postit.is-rotating{z-index:100011 !important;user-select:none;}
.ast-postit.is-dragging{cursor:grabbing;box-shadow:4px 12px 22px #0008 !important;}
/* ===== GRIMOIRE DES ASTUCES : rubriques compactes et colorées ===== */
.ast-tip-feature{
position:relative;padding:14px;margin:10px 0 12px;border-radius:14px;
background:radial-gradient(ellipse at 90% 0%,#00d4ff22,transparent 48%),
linear-gradient(145deg,#292044,#171229);
border:1px solid #8d65d9;box-shadow:0 0 16px #00d4ff1c,inset 0 1px #ffffff18;
}
.ast-tip-kicker{font-size:12px;font-weight:800;letter-spacing:1.5px;color:#7cefff;margin-bottom:8px;}
.ast-tip-feature-title{font-size:17px;font-weight:800;color:#f0ddff;margin-bottom:6px;}
.ast-tip-feature-text{font-size:13px;line-height:1.45;color:#eee8fa;}
.ast-tip-shortcut{
display:inline-block;margin:10px 0;padding:7px 11px;border-radius:8px;
color:#8ff5ff;background:#100d20;border:1px solid #00d4ff88;
font-weight:800;letter-spacing:.4px;box-shadow:0 0 10px #00d4ff22;
}
.ast-tip-select-label{display:block;margin:12px 0 5px;color:#d9c8ff;font-size:12px;font-weight:800;letter-spacing:.4px;}
.ast-tip-select{
width:100%;padding:10px 12px;border-radius:10px;border:1px solid #8d65d9;
background:#211735;color:#fff;font-size:13px;font-weight:700;outline:none;
}
.ast-tip-select option{background:#211735;color:#fff;}
.ast-tip-list-scroll{
max-height:330px;overflow-y:auto;overscroll-behavior:contain;
padding:2px 5px 4px 0;margin-top:8px;scrollbar-width:thin;
scrollbar-color:#8d65d9 #171229;
}
.ast-tip-list-scroll::-webkit-scrollbar{width:7px;}
.ast-tip-list-scroll::-webkit-scrollbar-track{background:#171229;border-radius:8px;}
.ast-tip-list-scroll::-webkit-scrollbar-thumb{background:#8d65d9;border-radius:8px;}
.ast-tip-card{
--tip-accent:#00d4ff;--tip-bg:#142b38;
margin:7px 0;padding:10px 11px;border-radius:10px;
background:linear-gradient(135deg,var(--tip-bg),#211a35 78%);
border:1px solid color-mix(in srgb,var(--tip-accent) 65%,transparent);
border-left:4px solid var(--tip-accent);
}
.ast-tip-card[data-category="shortcuts"]{--tip-accent:#00d4ff;--tip-bg:#12313d;}
.ast-tip-card[data-category="computer"]{--tip-accent:#9bd713;--tip-bg:#26351b;}
.ast-tip-card[data-category="internet"]{--tip-accent:#8085f5;--tip-bg:#24234a;}
.ast-tip-card[data-category="capture"]{--tip-accent:#ff70b7;--tip-bg:#42213b;}
.ast-tip-card[data-category="blogger"]{--tip-accent:#c18aff;--tip-bg:#352044;}
.ast-tip-card strong{display:block;color:var(--tip-accent);margin-bottom:5px;font-size:13px;}
.ast-tip-card p{margin:0 0 7px;font-size:12.5px;line-height:1.45;color:#eee8fa;}
.ast-tip-card code{display:inline-block;padding:4px 8px;border-radius:6px;background:#100d20;color:var(--tip-accent);border:1px solid color-mix(in srgb,var(--tip-accent) 55%,transparent);font-weight:700;font-size:12px;}
.ast-tip-empty{color:#c8b9df;text-align:center;padding:14px;font-size:13px;}
/* Menus et conversions : contraste lisible, fini le blanc sur blanc. : contraste lisible, fini le blanc sur blanc. */
#ast-panel select,
#ast-panel option{
background-color:#211b38 !important;
color:#f5efff !important;
}
#ast-panel select:focus,
#ast-panel input:focus{
outline:2px solid #00d4ff88;
border-color:#00d4ff !important;
}
.ast-conversions{
margin:12px 0;
border:1px solid #7650ae;
border-radius:10px;
background:linear-gradient(145deg,#211832,#171226);
overflow:hidden;
}
.ast-conversions summary{
cursor:pointer;
list-style:none;
padding:12px 13px;
color:#e8d8ff;
font-weight:800;
font-size:13px;
background:linear-gradient(90deg,#38205e,#20203f);
}
.ast-conversions summary::-webkit-details-marker{display:none;}
.ast-conversions summary::after{content:none !important;display:none !important;}
.ast-conversions[open] summary::after{content:none !important;display:none !important;}
.ast-conversions-body{padding:10px;max-height:390px;overflow-y:auto;}
.ast-conversions-body h3{margin-top:10px !important;}
.ast-conversions-body .ast-muted{color:#c9bddc !important;}
.ast-conversions-body .ast-tool-result{
color:#a9ed42 !important;
background:#121020;
border:1px solid #4e3c70;
border-radius:7px;
padding:8px;
}
/* ÉMOJIS : zone de défilement plus courte pour remonter la galerie du bas */
#ast-emoji-library{
max-height:210px !important;
overflow-y:auto !important;
overflow-x:hidden !important;
}
/* MON ESPACE TO GO */
#page-space #ast-media-search,
#page-space #ast-media-filter{
width:100%;box-sizing:border-box;margin-top:8px;
background:#121020;color:#f4efff;border:1px solid #4e3c70;
border-radius:7px;padding:9px;
}
#page-space .ast-personal-gallery>h3{color:#b99cff;}
#page-space .ast-muted{line-height:1.45;}
/* ===== PALETTE ARC-EN-CIEL : UNE COULEUR DISTINCTE PAR ONGLET ===== */
.ast-tab.tab-amis::before{
background:linear-gradient(145deg,#ffb5df 0%,#ec5bb1 42%,#9b286e 100%) !important;
}
.ast-tab.tab-sites::before{
background:linear-gradient(145deg,#ffd09a 0%,#ff8b45 45%,#c84d27 100%) !important;
}
.ast-tab.tab-date::before{
background:linear-gradient(145deg,#fff0a8 0%,#f4c542 45%,#bd861c 100%) !important;
}
.ast-tab.tab-tips::before{
background:linear-gradient(145deg,#c8f59a 0%,#75cb58 45%,#36834a 100%) !important;
}
.ast-tab.tab-emojis::before{
background:linear-gradient(145deg,#a8f5f2 0%,#36c9c9 45%,#087d91 100%) !important;
}
/* RÉSERVE : violet lumineux, distinct du bleu et du jaune */
.ast-tab[data-tab="space"]::before{
background:linear-gradient(145deg,#d7b4ff 0%,#a56bea 45%,#6330a8 100%) !important;
}
.ast-tab.tab-plus::before{
background:linear-gradient(145deg,#b9c5ff 0%,#6685ef 45%,#3446a8 100%) !important;
}
/* ===== FINITION LUSTRÉE / EFFET ÉMAIL BRILLANT ===== */
.ast-tab.icon-tab{
filter:drop-shadow(0 4px 5px #05020d) !important;
transition:filter .22s ease, transform .22s ease !important;
}
.ast-tab.icon-tab::before{
border:1px solid #ffffffa8 !important;
border-right:0 !important;
box-shadow:
inset 0 2px 2px #ffffffa8,
inset 0 -7px 12px #16072988,
inset 2px 0 5px #ffffff35,
0 0 0 1px #ffffff24,
0 6px 12px #000b !important;
background-blend-mode:screen !important;
}
.ast-tab.icon-tab::after{
content:"" !important;
position:absolute !important;
z-index:2 !important;
left:7px !important; right:10px !important; top:5px !important;
height:43% !important;
border-radius:13px 0 0 9px !important;
background:linear-gradient(180deg,#ffffffa8 0%,#ffffff4a 38%,#ffffff08 100%) !important;
box-shadow:0 1px 2px #ffffff55 !important;
pointer-events:none !important;
}
.ast-tab.icon-tab:hover{
transform:translateX(-4px) scale(1.035) !important;
filter:brightness(1.16) saturate(1.18) drop-shadow(0 0 9px #ffffff55) drop-shadow(0 5px 5px #000b) !important;
}
.ast-tab.icon-tab.active{
transform:translateX(-4px) !important;
filter:brightness(1.18) saturate(1.2) drop-shadow(0 0 10px #ffffff55) drop-shadow(0 5px 6px #000b) !important;
}
.ast-tab.icon-tab.active::before{
border-color:#ffffff !important;
box-shadow:
inset 0 2px 3px #ffffffc9,
inset 0 -7px 12px #16072988,
0 0 0 1px #ffffff55,
0 0 16px #ffffff66,
0 0 22px currentColor,
0 7px 14px #000c !important;
}
/* Couleurs arc-en-ciel plus riches et brillantes */
.ast-tab.tab-amis::before{
background:linear-gradient(145deg,#ffd5ed 0%,#ff80c8 22%,#ed3f9d 58%,#9e1d68 100%) !important;
}
.ast-tab.tab-sites::before{
background:linear-gradient(145deg,#d5f8ff 0%,#78dcff 22%,#2799ef 58%,#174baf 100%) !important;
}
.ast-tab.tab-date::before{
background:linear-gradient(145deg,#f1dcff 0%,#c28aff 22%,#934be5 58%,#54239e 100%) !important;
}
.ast-tab.tab-tips::before{
background:linear-gradient(145deg,#e5ffc2 0%,#a8ef69 22%,#65c83e 58%,#347b2b 100%) !important;
}
.ast-tab.tab-emojis::before{
background:linear-gradient(145deg,#d1ffff 0%,#70f4ec 22%,#21c5c9 58%,#087589 100%) !important;
}
.ast-tab[data-tab="space"]::before{
background:linear-gradient(145deg,#f0d8ff 0%,#c18aff 22%,#9850e9 58%,#54218f 100%) !important;
}
.ast-tab.tab-plus::before{
background:linear-gradient(145deg,#d9e5ff 0%,#9eb8ff 22%,#6488f0 58%,#3544a7 100%) !important;
}
/* ===== FINITION NÉON : reflets blancs retirés, contours lumineux colorés ===== */
.ast-tab.icon-tab{
filter:drop-shadow(0 4px 5px #05020d) !important;
transition:filter .22s ease, transform .22s ease !important;
}
.ast-tab.icon-tab::before{
border:1px solid currentColor !important;
border-right:0 !important;
box-shadow:
inset 0 0 9px #ffffff20,
inset 0 -8px 13px #16072988,
0 0 0 1px #0008,
0 6px 12px #000b !important;
background-blend-mode:normal !important;
}
.ast-tab.icon-tab::after{
content:none !important;
display:none !important;
}
.ast-tab.tab-amis{color:#ff72c6 !important;}
.ast-tab.tab-sites{color:#42caff !important;}
.ast-tab.tab-date{color:#c58aff !important;}
.ast-tab.tab-tips{color:#a7f45b !important;}
.ast-tab.tab-emojis{color:#45eee5 !important;}
.ast-tab[data-tab="space"]{color:#c18aff !important;}
.ast-tab.tab-plus{color:#91aaff !important;}
.ast-tab.icon-tab:hover{
transform:translateX(-4px) scale(1.035) !important;
filter:brightness(1.12) saturate(1.15)
drop-shadow(0 0 5px currentColor)
drop-shadow(0 0 11px currentColor)
drop-shadow(0 5px 5px #000b) !important;
}
.ast-tab.icon-tab.active{
transform:translateX(-4px) !important;
filter:brightness(1.14) saturate(1.16)
drop-shadow(0 0 5px currentColor)
drop-shadow(0 0 12px currentColor)
drop-shadow(0 5px 6px #000b) !important;
}
.ast-tab.icon-tab.active::before{
border-color:currentColor !important;
box-shadow:
inset 0 0 10px #ffffff26,
inset 0 -8px 13px #16072988,
0 0 0 1px currentColor,
0 0 8px currentColor,
0 0 16px color-mix(in srgb, currentColor 65%, transparent),
0 7px 14px #000c !important;
}
/* ===== MENTIONS, CRÉDITS ET CONDITIONS D'UTILISATION ===== */
.ast-credits{
margin:18px 2px 8px;
padding:12px;
border:1px solid #7650a8;
border-radius:12px;
background:linear-gradient(145deg,#211438,#171027);
box-shadow:inset 0 0 12px #8b55d522,0 0 10px #8b55d51a;
}
.ast-credits > h3{
margin:2px 0 12px !important;
color:#d9c5ff !important;
text-align:center;
letter-spacing:1px;
}
.ast-credits details{
margin:7px 0;
border:1px solid #493264;
border-radius:8px;
background:#211733;
overflow:hidden;
}
.ast-credits summary{
padding:10px 12px;
color:#d8c5f3;
font-weight:700;
cursor:pointer;
list-style:none;
}
.ast-credits summary::-webkit-details-marker{display:none;}
.ast-credits summary::after{
content:"+";
float:right;
color:#00d4ff;
font-size:17px;
line-height:1;
}
.ast-credits details[open] summary::after{content:"-";}
.ast-credits .ast-credit-body{
padding:0 12px 12px;
color:#d5cbe3;
font-size:12px;
line-height:1.55;
}
.ast-credits .ast-credit-body p{margin:7px 0;}
.ast-credits .ast-credit-body strong{color:#fff;}
.ast-credits .ast-credit-version{
text-align:center;
color:#bda5e8;
font-size:11px;
margin:0 0 10px;
}
/* ===== SAUVEGARDE ET RESTAURATION ===== */
.ast-backup{
margin:18px 2px 16px;
padding:14px;
border:1px solid #7650a8;
border-radius:12px;
background:linear-gradient(145deg,#211438,#171027);
box-shadow:inset 0 0 12px #8b55d522,0 0 10px #8b55d51a;
}
.ast-backup h3{
margin:2px 0 9px !important;
color:#d9c5ff !important;
text-align:center;
letter-spacing:.7px;
}
.ast-backup p{
color:#d5cbe3;
font-size:12px;
line-height:1.5;
text-align:center;
}
.ast-backup-actions{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:9px;
margin:12px 0;
}
.ast-backup-actions .ast-btn{
flex:1 1 190px;
min-width:0;
}
.ast-backup .ast-backup-note{
margin:8px 0 0;
color:#bdaed0;
font-size:11px;
}
/* ===== NOUVEAUX ONGlets : PERSONNALISATION ET INFORMATIONS ===== */
.ast-tab.tab-personal::before{
background:linear-gradient(145deg,#b7f0c8 0%,#58bd8b 48%,#267653 100%) !important;
}
.ast-tab.tab-info::before{
background:linear-gradient(145deg,#ffd7a6 0%,#e9a45e 48%,#9c5c2d 100%) !important;
}
/* Réduire légèrement la hauteur de chaque intercalaire pour accueillir les nouveaux onglets. */
#ast-rail{
gap:7px !important;
padding-top:10px !important;
padding-bottom:10px !important;
overflow-y:auto !important;
scrollbar-width:thin;
}
.ast-tab{
min-height:0 !important;
height:70px !important;
padding:6px 0 !important;
}
.ast-tab.tab-plus,
.ast-tab.tab-personal,
.ast-tab.tab-info{
min-height:70px !important;
}
.ast-tab.icon-tab::before{
left:7px !important;
right:-1px !important;
}
@media(max-width:480px){
.ast-tab{height:64px !important;padding:5px 0 !important;}
.ast-tab.tab-plus,.ast-tab.tab-personal,.ast-tab.tab-info{min-height:64px !important;}
}
/* Couleurs personnalisables des listes, du calendrier et des horloges */
#ast-panel{--ast-name:#e8dfff;--ast-link:#00d4ff;--ast-friend-name:var(--ast-name);--ast-friend-link:var(--ast-link);--ast-site-name:var(--ast-name);--ast-site-link:var(--ast-link);--ast-date:#eeeeee;--ast-calendar-bg:#29213f;--ast-calendar-accent:#00d4ff;--ast-hour:#00d4ff;}
#ast-friends-list .ast-friend-info strong{color:var(--ast-friend-name)!important;}
#ast-friends-list .ast-friend-info a{color:var(--ast-friend-link)!important;}
#ast-links-list .ast-item strong{color:var(--ast-site-name)!important;}
#ast-links-list .ast-item .ast-link{color:var(--ast-site-link)!important;}
#ast-calendar-month{color:var(--ast-calendar-accent)!important;}
#ast-calendar-grid>div>div{color:var(--ast-date)!important;}
#ast-calendar-grid .ast-calendar-day{background:var(--ast-calendar-bg)!important;color:var(--ast-date)!important;border-color:var(--ast-calendar-accent)!important;}
.ast-clock .ast-clock-name{color:var(--ast-name)!important;}
.ast-clock b{color:var(--ast-hour)!important;text-shadow:0 0 9px var(--ast-hour)!important;}
/* PERSONNALISATION : réglages visuels et onglets personnels */
.ast-personal-box{margin:12px 0;padding:12px;border:1px solid #7654a5;border-radius:12px;background:#211936;}
.ast-personal-box h4{margin:0 0 10px;color:#00d4ff;font-size:14px;}
.ast-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.ast-setting{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;color:#eee;}
.ast-setting input[type=color]{width:100%;height:34px;padding:2px;border:1px solid #7654a5;border-radius:7px;background:#17132b;}
.ast-setting select,.ast-setting input[type=text]{width:100%;min-width:0;padding:7px;border:1px solid #7654a5;border-radius:7px;background:#17132b;color:#fff;}
.ast-personal-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.ast-user-tab{background:linear-gradient(145deg,#c9a6ff,#7140ad)!important;}
.ast-user-tab::before{background:linear-gradient(145deg,#c9a6ff 0%,#9361d0 55%,#6840a6 100%)!important;}
.ast-user-page textarea{width:100%;min-height:180px;resize:vertical;padding:10px;border:1px solid var(--ast-user-border,#7654a5);border-radius:9px;background:var(--ast-user-bg,#17132b);color:var(--ast-user-text,#eee);font:inherit;}
#ast-rail{overflow-y:auto!important;justify-content:flex-start!important;scrollbar-width:thin;}
@media(max-width:480px){.ast-settings-grid{grid-template-columns:1fr 1fr;gap:8px;}}
/* ===== AJUSTEMENT FINAL DES INTERCALAIRES ===== */
#ast-rail{
gap:6px !important;
padding-top:8px !important;
padding-bottom:8px !important;
overflow-y:auto !important;
overflow-x:hidden !important;
}
.ast-tab{
height:70px !important;
min-height:70px !important;
padding:5px 2px !important;
}
.ast-tab.ast-user-tab{
height:70px !important;
min-height:70px !important;
max-height:70px !important;
padding:4px 3px !important;
font-size:10px !important;
line-height:1.05 !important;
letter-spacing:0 !important;
white-space:normal !important;
overflow:hidden !important;
overflow-wrap:anywhere !important;
text-shadow:0 1px 2px #241238 !important;
}
@media(max-width:480px){
.ast-tab{height:64px !important;min-height:64px !important;padding:4px 2px !important;}
.ast-tab.ast-user-tab{height:64px !important;min-height:64px !important;max-height:64px !important;font-size:9px !important;}
}
/* ===== ONGlets PERSONNELS : MINI-BOUTONS NUMÉROTÉS ===== */
.ast-tab.ast-user-tab{
flex:0 0 42px !important;
width:42px !important;
min-width:42px !important;
height:42px !important;
min-height:42px !important;
max-height:42px !important;
margin:2px auto !important;
padding:0 !important;
border:1px solid #b99aff !important;
border-radius:11px !important;
background:linear-gradient(145deg,#40305d 0%,#241936 100%) !important;
color:#e7d6ff !important;
font-family:Arial,sans-serif !important;
font-size:17px !important;
font-weight:800 !important;
line-height:40px !important;
letter-spacing:0 !important;
text-align:center !important;
text-shadow:0 1px 3px #080516 !important;
box-shadow:inset 0 1px 5px #c8a5ff55,0 2px 5px #080516aa !important;
overflow:hidden !important;
}
.ast-tab.ast-user-tab::before{
inset:0 !important;
border-radius:10px !important;
background:linear-gradient(145deg,#6d4d91 0%,#453064 52%,#241936 100%) !important;
opacity:1 !important;
}
.ast-tab.ast-user-tab::after{display:none !important;}
.ast-tab.ast-user-tab.active{
border-color:#55eaff !important;
color:#ffffff !important;
box-shadow:0 0 0 1px #55eaff88,inset 0 1px 6px #ffffff55,0 0 9px #20d5e766 !important;
transform:translateX(-2px) !important;
}
.ast-tab.ast-user-tab.active::before{
background:linear-gradient(145deg,#9870c4 0%,#65458d 55%,#35234f 100%) !important;
}
/* ===== ÉQUILIBRE FINAL : ONGLET ORIGINAUX + AJOUTS SÉPARÉS ===== */
/* Original tabs: preserve their full width, shape, gradient, shine and borders.
Reduce only their vertical padding by about 4–5 px overall. */
#ast-rail > .ast-tab:not(.ast-user-tab){
width:100% !important;
min-width:100% !important;
padding-top:7.5px !important;
padding-bottom:7.5px !important;
}
/* Personal tabs are grouped at the very bottom, after a subtle separator. */
.ast-user-divider{
flex:0 0 1px !important;
width:72% !important;
height:1px !important;
min-height:1px !important;
margin:7px auto 5px !important;
background:linear-gradient(90deg,transparent,#8b6ab8 22%,#d5c2f2 50%,#8b6ab8 78%,transparent) !important;
box-shadow:0 0 4px #b994ec66 !important;
}
#ast-rail > .ast-tab.ast-user-tab{
flex:0 0 44px !important;
width:44px !important;
min-width:44px !important;
height:44px !important;
min-height:44px !important;
max-height:44px !important;
margin:3px auto !important;
padding:0 !important;
border:1px solid #b99aff !important;
border-radius:12px !important;
background:linear-gradient(145deg,#40305d 0%,#241936 100%) !important;
color:#e7d6ff !important;
font-family:Arial,sans-serif !important;
font-size:17px !important;
font-weight:800 !important;
line-height:42px !important;
letter-spacing:0 !important;
text-align:center !important;
text-shadow:0 1px 3px #080516 !important;
box-shadow:inset 0 1px 5px #c8a5ff55,0 2px 5px #080516aa !important;
}
#ast-rail > .ast-tab.ast-user-tab::before{
inset:0 !important;
border-radius:11px !important;
background:linear-gradient(145deg,#6d4d91 0%,#453064 52%,#241936 100%) !important;
opacity:1 !important;
}
#ast-rail > .ast-tab.ast-user-tab::after{display:none !important;}
#ast-rail > .ast-tab.ast-user-tab.active{
border-color:#55eaff !important;
color:#fff !important;
box-shadow:0 0 0 1px #55eaff88,inset 0 1px 6px #ffffff55,0 0 9px #20d5e766 !important;
}
@media(max-width:480px){
#ast-rail > .ast-tab:not(.ast-user-tab){padding-top:7px !important;padding-bottom:7px !important;}
#ast-rail > .ast-tab.ast-user-tab{flex-basis:42px !important;width:42px !important;min-width:42px !important;height:42px !important;min-height:42px !important;max-height:42px !important;line-height:40px !important;}
}
/* ===== FINITION DE LA BARRE : LARGEUR ET ARC-EN-CIEL DISTINCT ===== */
#ast-rail{
width:80px !important;
min-width:80px !important;
padding-left:0 !important;
padding-right:0 !important;
}
.ast-tab{
width:100% !important;
text-align:center !important;
}
.ast-tab.icon-tab{
padding-left:0 !important;
padding-right:0 !important;
}
.ast-tab.icon-tab::before{
left:8px !important;
right:0 !important;
}
/* Une teinte distincte par étiquette : rose, bleu, jaune, vert, aqua, orange, violet, émeraude, parchemin. */
.ast-tab.tab-amis::before{
background:linear-gradient(145deg,#ff9bd8 0%,#f04ba9 48%,#a91f78 100%) !important;
}
.ast-tab.tab-sites::before{
background:linear-gradient(145deg,#91e4ff 0%,#299bdc 48%,#14508e 100%) !important;
}
.ast-tab.tab-date::before{
background:linear-gradient(145deg,#fff39a 0%,#ffc83d 48%,#d98718 100%) !important;
}
.ast-tab.tab-tips::before{
background:linear-gradient(145deg,#c5f78d 0%,#78c83f 48%,#37813a 100%) !important;
}
.ast-tab.tab-emojis::before{
background:linear-gradient(145deg,#a6fff0 0%,#39d6c9 48%,#087f88 100%) !important;
}
.ast-tab[data-tab="space"]::before{
background:linear-gradient(145deg,#ffd09b 0%,#f18b3d 48%,#a94720 100%) !important;
}
.ast-tab.tab-plus::before{
background:linear-gradient(145deg,#ffaaa0 0%,#ed625e 48%,#a92e55 100%) !important;
}
.ast-tab.tab-personal::before{
background:linear-gradient(145deg,#b8f0cf 0%,#59bf91 48%,#267653 100%) !important;
}
.ast-tab.tab-info::before{
background:linear-gradient(145deg,#ffe0ad 0%,#d9a15d 48%,#92552e 100%) !important;
}
@media(max-width:480px){
#ast-rail{width:80px !important;min-width:80px !important;}
}
/* ===== FINITION VERRE : REFLETS DOUX ET ESPACEMENT ===== */
#ast-rail{
gap:9px !important; /* 2 px de plus entre les étiquettes */
}
.ast-tab.icon-tab{
position:relative !important;
isolation:isolate !important;
overflow:hidden !important;
border-radius:21px 0 21px 21px !important;
margin:0 !important;
transform:none !important;
filter:drop-shadow(0 4px 5px #05020d) !important;
}
.ast-tab.icon-tab::before{
border-radius:inherit !important;
background-blend-mode:screen,normal !important;
}
.ast-tab.icon-tab::after{
content:"" !important;
position:absolute !important;
z-index:0 !important;
inset:2px 2px 48% 2px !important;
border:1px solid #ffffff65 !important;
border-bottom:0 !important;
border-radius:18px 0 55% 12px !important;
background:linear-gradient(
155deg,
#ffffff72 0%,
#ffffff32 24%,
#ffffff0d 58%,
transparent 100%
) !important;
box-shadow:inset 0 1px 2px #ffffff66 !important;
opacity:.78 !important;
pointer-events:none !important;
}
.ast-tab.icon-tab > *{
position:relative !important;
z-index:1 !important;
}
/* Ne pas donner l'impression qu'un onglet est enfoncé : l'actif reste lumineux, pas creusé. */
.ast-tab.icon-tab.active{
transform:none !important;
filter:brightness(1.06) saturate(1.08) drop-shadow(0 4px 5px #05020d) !important;
}
.ast-tab.icon-tab.active::before{
box-shadow:
inset 0 1px 7px #ffffff55,
inset 0 -5px 9px #16072955,
0 0 0 1px #ffffff22 !important;
}
.ast-tab.icon-tab:hover{
transform:translateY(-1px) !important;
filter:brightness(1.09) saturate(1.08) drop-shadow(0 5px 6px #05020d) !important;
}
@media(max-width:480px){
#ast-rail{gap:9px !important;}
}
/* ===== RETOUR AUX ÉTIQUETTES ARRONDIES : VERRE COLORÉ VIF ===== */
#ast-rail{
gap:9px !important;
}
.ast-tab.icon-tab{
border-radius:0 !important;
margin:0 !important;
transform:none !important;
filter:none !important;
overflow:visible !important;
transition:filter .18s ease !important;
}
.ast-tab.icon-tab::before{
left:5px !important;
right:2px !important;
top:0 !important;
bottom:0 !important;
height:auto !important;
max-height:none !important;
transform:none !important;
border:1px solid #ffffffa8 !important;
border-radius:22px !important;
box-shadow:
inset 0 2px 3px #ffffff8c,
inset 0 -7px 10px #16072966,
0 4px 8px #05020dbb !important;
background-blend-mode:normal !important;
}
.ast-tab.icon-tab::after{
content:"" !important;
position:absolute !important;
z-index:0 !important;
left:9px !important;
right:6px !important;
top:4px !important;
bottom:52% !important;
border:1px solid #ffffff75 !important;
border-bottom:0 !important;
border-radius:17px 17px 45% 45% !important;
background:linear-gradient(165deg,#ffffff9c 0%,#ffffff55 22%,#ffffff15 72%,transparent 100%) !important;
box-shadow:inset 0 2px 3px #ffffff66 !important;
opacity:.95 !important;
pointer-events:none !important;
}
/* L'onglet actif est simplement lumineux : aucun déplacement ni effet de bouton enfoncé. */
.ast-tab.icon-tab.active,
.ast-tab.icon-tab.active::before{
transform:none !important;
}
.ast-tab.icon-tab.active{
filter:brightness(1.08) saturate(1.12) !important;
}
.ast-tab.icon-tab:hover{
transform:none !important;
filter:brightness(1.12) saturate(1.12) !important;
}
.ast-tab.icon-tab:active{
transform:none !important;
filter:brightness(1.04) !important;
}
/* Couleurs vives et distinctes, avec dégradés profonds pour un vrai effet verre. */
.ast-tab.tab-amis::before{
background:linear-gradient(145deg,#ff9df0 0%,#ff35bd 43%,#b90078 100%) !important;
}
.ast-tab.tab-sites::before{
background:linear-gradient(145deg,#9cf0ff 0%,#21b9ff 43%,#0757bd 100%) !important;
}
.ast-tab.tab-date::before{
background:linear-gradient(145deg,#fff6a0 0%,#ffd52f 43%,#e78a08 100%) !important;
}
.ast-tab.tab-tips::before{
background:linear-gradient(145deg,#d4ff8a 0%,#7fe52d 43%,#27933b 100%) !important;
}
.ast-tab.tab-emojis::before{
background:linear-gradient(145deg,#a2fff3 0%,#29e4d4 43%,#008b9c 100%) !important;
}
.ast-tab[data-tab="space"]::before{
background:linear-gradient(145deg,#ffd18e 0%,#ff9635 43%,#bd4c16 100%) !important;
}
.ast-tab.tab-plus::before{
background:linear-gradient(145deg,#ffaaa8 0%,#ff4e64 43%,#b91d4d 100%) !important;
}
.ast-tab.tab-personal::before{
background:linear-gradient(145deg,#baffdf 0%,#4bd69b 43%,#087d62 100%) !important;
}
.ast-tab.tab-info::before{
background:linear-gradient(145deg,#ffe0a6 0%,#e7a65b 43%,#98502c 100%) !important;
}
@media(max-width:480px){
#ast-rail{gap:9px !important;}
}
/* ===== RETOUR À L'EFFET CHEMISE DE CLASSEUR ===== */
/* Silhouette d'origine : côté gauche droit, côté droit arrondi,
comme une chemise qui dépasse du classeur. */
.ast-tab.icon-tab{
border-radius:0 !important;
overflow:visible !important;
transform:none !important;
filter:none !important;
}
.ast-tab.icon-tab::before{
left:7px !important;
right:0 !important;
top:50% !important;
bottom:auto !important;
height:66px !important;
max-height:calc(100% - 8px) !important;
transform:translateY(-50%) !important;
border-radius:0 14px 14px 0 !important;
border:1px solid #ffffff75 !important;
border-left:0 !important;
box-shadow:2px 3px 7px #0007,inset 0 1px 0 #ffffff77 !important;
}
.ast-tab.icon-tab::after{
left:10px !important;
right:4px !important;
top:calc(50% - 29px) !important;
bottom:auto !important;
height:21px !important;
border-radius:0 12px 45% 0 !important;
border:0 !important;
background:linear-gradient(180deg,#ffffff72 0%,#ffffff25 60%,transparent 100%) !important;
box-shadow:inset 0 1px 0 #ffffff66 !important;
opacity:.8 !important;
}
/* L'actif reprend le léger relief de l'ancien classeur, sans glissement latéral. */
.ast-tab.icon-tab.active{
transform:none !important;
filter:brightness(1.12) saturate(1.08) !important;
}
.ast-tab.icon-tab.active::before{
right:-1px !important;
box-shadow:3px 3px 9px #0009,inset 0 1px 0 #ffffff88 !important;
}
.ast-tab.icon-tab:hover,
.ast-tab.icon-tab:active{
transform:none !important;
}
/* Le bouton PLUS retrouve son violet : il ne doit pas hériter du bleu générique. */
.ast-tab.tab-plus::before{
background:linear-gradient(135deg,#c7a2f5 0%,#9361d0 58%,#6840a6 100%) !important;
}
/* ===== REFLET BRILLANT SUR LES FICHES ===== */
.ast-tab.icon-tab::before{
background-image:
linear-gradient(165deg,
rgba(255,255,255,.62) 0%,
rgba(255,255,255,.28) 13%,
rgba(255,255,255,.06) 31%,
rgba(255,255,255,0) 48%,
rgba(0,0,0,.04) 66%,
rgba(0,0,0,.30) 100%),
linear-gradient(135deg,
var(--tab-glass-light, rgba(255,255,255,.18)) 0%,
var(--tab-glass-mid, rgba(255,255,255,.02)) 42%,
var(--tab-glass-dark, rgba(0,0,0,.24)) 100%) !important;
background-blend-mode:screen,normal !important;
}
.ast-tab.icon-tab::after{
height:25px !important;
background:
linear-gradient(180deg,
rgba(255,255,255,.82) 0%,
rgba(255,255,255,.40) 24%,
rgba(255,255,255,.12) 66%,
rgba(255,255,255,0) 100%) !important;
border-top:1px solid rgba(255,255,255,.85) !important;
box-shadow:
inset 0 1px 2px rgba(255,255,255,.9),
0 1px 3px rgba(255,255,255,.18) !important;
opacity:.95 !important;
}
.ast-tab.icon-tab.active::before{
background-blend-mode:screen,normal !important;
filter:saturate(1.08) brightness(1.06) !important;
}
/* ===== FINITION DES FICHES : MAUVE, NEON ET ARRONDI À GAUCHE ===== */
/* Retirer les petites décorations turquoise au haut et au bas de la barre. */
#ast-rail::before,
#ast-rail::after{
content:none !important;
display:none !important;
}
/* Les fiches gardent leur forme de classeur, avec le côté arrondi à gauche. */
.ast-tab.icon-tab{
border-radius:0 !important;
overflow:visible !important;
transform:none !important;
filter:none !important;
}
.ast-tab.icon-tab::before{
left:0 !important;
right:0 !important;
top:50% !important;
bottom:auto !important;
height:calc(100% - 2px) !important;
max-height:none !important;
transform:translateY(-50%) !important;
border:2px solid var(--tab-neon,#d58cff) !important;
border-right:0 !important;
border-radius:20px 0 0 20px !important;
box-shadow:
inset 0 1px 5px #ffffff88,
inset 0 -7px 10px #16072966,
0 3px 8px #0009,
0 0 7px var(--tab-neon,#d58cff) !important;
background-image:
linear-gradient(160deg,
rgba(255,255,255,.62) 0%,
rgba(255,255,255,.20) 18%,
rgba(255,255,255,.02) 43%,
rgba(0,0,0,.08) 72%,
rgba(0,0,0,.26) 100%),
linear-gradient(135deg,var(--tab-top,#e9b5ff) 0%,var(--tab-mid,#a96be0) 54%,var(--tab-bottom,#59317f) 100%) !important;
background-blend-mode:screen,normal !important;
}
.ast-tab.icon-tab::after{
left:5px !important;
right:5px !important;
top:calc(50% - 31px) !important;
bottom:auto !important;
height:24px !important;
border:0 !important;
border-radius:16px 0 55% 15px !important;
background:linear-gradient(180deg,
rgba(255,255,255,.82) 0%,
rgba(255,255,255,.34) 36%,
rgba(255,255,255,0) 100%) !important;
box-shadow:inset 0 1px 2px #ffffffaa !important;
opacity:.9 !important;
pointer-events:none !important;
}
.ast-tab.icon-tab.active,
.ast-tab.icon-tab:hover,
.ast-tab.icon-tab:active{
transform:none !important;
}
.ast-tab.icon-tab.active{
filter:brightness(1.08) saturate(1.08) !important;
}
.ast-tab.icon-tab.active::before{
border-width:2px !important;
box-shadow:
inset 0 1px 6px #ffffff99,
inset 0 -7px 10px #16072966,
0 3px 9px #0009,
0 0 10px var(--tab-neon,#d58cff) !important;
}
/* Une palette arc-en-ciel : chaque fiche a sa propre teinte, avec un fond mauve profond. */
.ast-tab.tab-amis{--tab-top:#ffb4ef;--tab-mid:#ed42b9;--tab-bottom:#70245f;--tab-neon:#ff64d4;}
.ast-tab.tab-sites{--tab-top:#a8eaff;--tab-mid:#3ca9e8;--tab-bottom:#234a83;--tab-neon:#35d9ff;}
.ast-tab.tab-date{--tab-top:#fff2a8;--tab-mid:#e8bd42;--tab-bottom:#79501d;--tab-neon:#ffe05a;}
.ast-tab.tab-tips{--tab-top:#d5ff9e;--tab-mid:#78c83d;--tab-bottom:#315c32;--tab-neon:#a6ff4d;}
.ast-tab.tab-emojis{--tab-top:#aafff3;--tab-mid:#35cfc2;--tab-bottom:#155e68;--tab-neon:#45fff0;}
.ast-tab[data-tab="space"]{--tab-top:#ffd0a0;--tab-mid:#e9954d;--tab-bottom:#74442d;--tab-neon:#ffad65;}
.ast-tab.tab-plus{--tab-top:#d5baff;--tab-mid:#9364d5;--tab-bottom:#4b327c;--tab-neon:#b78aff;}
.ast-tab.tab-personal{--tab-top:#c8f5dc;--tab-mid:#65bd91;--tab-bottom:#285d4b;--tab-neon:#72e6ad;}
.ast-tab.tab-info{--tab-top:#ffe0ae;--tab-mid:#d7a064;--tab-bottom:#70452d;--tab-neon:#ffd08a;}
/* ===== CADRE ARC-EN-CIEL ET RESPIRATION DU CLASSEUR ===== */
#ast-panel{
position:fixed !important;
isolation:isolate !important;
background:#17102d !important;
}
#ast-panel::before,
#ast-panel::after{
content:"" !important;
position:absolute !important;
left:0 !important;
right:0 !important;
height:4px !important;
z-index:20 !important;
pointer-events:none !important;
background:linear-gradient(90deg,
#ff4fc8 0%,
#ff9a42 16%,
#ffe34f 32%,
#70e85b 48%,
#35e7df 64%,
#459cff 80%,
#b36aff 100%) !important;
box-shadow:0 0 5px #ffffff55,0 0 9px #a65dff66 !important;
}
#ast-panel::before{top:0 !important;}
#ast-panel::after{bottom:0 !important;}
/* Un peu d'air au-dessus du premier onglet pour équilibrer le bandeau à droite. */
#ast-rail{
padding-top:16px !important;
padding-bottom:16px !important;
background:#17102d !important;
}
/* Le panneau de droite garde son mauve foncé uni. */
#ast-main,
#ast-content{
background:#211936 !important;
}
/* ===== CORRECTION FINALE DES FICHES : FOND MAUVE + CONTOUR NEON ===== */
/* Le rail reste mauve foncé uni. Les couleurs ne servent qu'aux contours. */
#ast-rail{background:#17102d !important;}
.ast-tab.icon-tab{
position:relative !important;
background:transparent !important;
border:0 !important;
border-radius:0 !important;
overflow:visible !important;
transform:none !important;
filter:none !important;
transition:transform .18s ease,filter .18s ease !important;
}
.ast-tab.icon-tab::before{
content:"" !important;
position:absolute !important;
left:0 !important;
right:0 !important;
top:50% !important;
bottom:auto !important;
height:calc(100% - 2px) !important;
max-height:none !important;
transform:translateY(-50%) !important;
/* Mauve sombre uni, avec seulement un reflet discret */
background:linear-gradient(145deg,#302044 0%,#211631 58%,#180f28 100%) !important;
border:7px solid var(--tab-neon,#c58aff) !important;
border-right:0 !important;
border-radius:20px 0 0 20px !important;
box-shadow:
inset 0 1px 5px #ffffff35,
inset 0 -6px 10px #08041188,
0 0 7px var(--tab-neon,#c58aff),
0 3px 7px #0009 !important;
}
.ast-tab.icon-tab::after{
content:"" !important;
position:absolute !important;
left:5px !important;
right:5px !important;
top:calc(50% - 30px) !important;
bottom:auto !important;
height:22px !important;
border:0 !important;
border-radius:14px 0 55% 12px !important;
background:linear-gradient(180deg,#ffffff65 0%,#ffffff20 42%,transparent 100%) !important;
opacity:.8 !important;
pointer-events:none !important;
}
/* Couleurs néon différentes sur les bordures seulement. */
.ast-tab.tab-amis{--tab-neon:#ff42c8;}
.ast-tab.tab-sites{--tab-neon:#28d9ff;}
.ast-tab.tab-date{--tab-neon:#ffe04a;}
.ast-tab.tab-tips{--tab-neon:#9cff3d;}
.ast-tab.tab-emojis{--tab-neon:#28f2df;}
.ast-tab[data-tab="space"]{--tab-neon:#ff9b43;}
.ast-tab.tab-plus{--tab-neon:#a978ff;}
.ast-tab.tab-personal{--tab-neon:#52e5a5;}
.ast-tab.tab-info{--tab-neon:#ffc47a;}
/* Au survol, la fiche sort vers la gauche; elle revient à sa place ensuite. */
.ast-tab.icon-tab:hover{
transform:translateX(-7px) !important;
filter:brightness(1.12) !important;
}
.ast-tab.icon-tab:active,
.ast-tab.icon-tab.active{
filter:brightness(1.08) !important;
}
.ast-tab.icon-tab.active::before{
box-shadow:
inset 0 1px 5px #ffffff40,
inset 0 -6px 10px #08041188,
0 0 9px var(--tab-neon,#c58aff),
0 3px 8px #0009 !important;
}
/* Petit retrait à gauche des fiches pour créer un espace visuel de 3 px. */
.ast-tab.icon-tab::before{
left:3px !important;
}
.ast-tab.icon-tab::after{
left:8px !important;
}
/* ===== CORRECTION : LES FICHES NE SE CHEVAUCHENT PLUS ===== */
/* L'onglet sélectionné reste à sa place et ne grossit pas. */
.ast-tab.icon-tab{
z-index:1 !important;
transform:none !important;
transition:transform .18s ease, filter .18s ease !important;
}
.ast-tab.icon-tab.active{
z-index:3 !important;
transform:none !important;
filter:brightness(1.12) !important;
}
/* Seul le survol fait ressortir légèrement la fiche vers la gauche,
sans agrandissement ni déplacement vertical. */
.ast-tab.icon-tab:hover{
z-index:4 !important;
transform:translateX(-3px) !important;
filter:brightness(1.12) !important;
}
.ast-tab.icon-tab:active{
transform:none !important;
}
.ast-tab.icon-tab.active::before{
transform:translateY(-50%) !important;
}
/* ===== CADRE ARC-EN-CIEL COMPLET + SÉPARATION SOUS LE BANDEAU ===== */
#ast-panel{
border:4px solid transparent !important;
border-image:linear-gradient(90deg,
#ff4fc8 0%,
#ff9a42 16%,
#ffe34f 32%,
#70e85b 48%,
#35e7df 64%,
#459cff 80%,
#b36aff 100%) 1 !important;
background-clip:padding-box !important;
}
/* Le cadre arc-en-ciel reste au-dessus du contenu, sans gêner les clics. */
#ast-panel::after{
content:"" !important;
position:absolute !important;
inset:0 !important;
z-index:100 !important;
pointer-events:none !important;
border:4px solid transparent !important;
border-image:linear-gradient(135deg,
#ff4fc8 0%,
#ff9a42 16%,
#ffe34f 32%,
#70e85b 48%,
#35e7df 64%,
#459cff 80%,
#b36aff 100%) 1 !important;
box-shadow:inset 0 0 5px #ffffff20 !important;
}
/* Ligne arc-en-ciel complète juste sous le bandeau, y compris devant la barre d'onglets. */
#ast-head{
position:relative !important;
border-bottom:4px solid transparent !important;
border-image:linear-gradient(90deg,
#ff4fc8 0%,
#ff9a42 16%,
#ffe34f 32%,
#70e85b 48%,
#35e7df 64%,
#459cff 80%,
#b36aff 100%) 1 !important;
}
/* Prolonge exactement la séparation sous le bandeau sur toute la largeur du rail. */
#ast-rail{
padding-top:20px !important;
background:
linear-gradient(90deg,
#ff4fc8 0%,
#ff9a42 16%,
#ffe34f 32%,
#70e85b 48%,
#35e7df 64%,
#459cff 80%,
#b36aff 100%) top 68px left / 100% 4px no-repeat,
#17102d !important;
}
/* Garde le premier onglet sous le bord supérieur et lui donne un espacement net. */
.ast-tab.icon-tab:first-child{
margin-top:0 !important;
}
/* ===== AJUSTEMENT SYMETRIQUE DU HAUT UNIQUEMENT ===== */
/* Bordure supérieure de même finesse que les autres côtés. */
#ast-panel{
border-top:3px solid transparent !important;
}
/* L'espace au-dessus du premier onglet reste inchangé.
On donne au bandeau droit le même espace mauve avant son départ. */
#ast-head{
margin-top:24px !important;
box-sizing:border-box !important;
border-top:0 !important;
}
/* La bordure arc-en-ciel supérieure garde une épaisseur régulière. */
#ast-panel::before{
inset:0 !important;
border:3px solid transparent !important;
border-image:linear-gradient(90deg,
#ff4fc8 0%,
#ff9a42 16%,
#ffe34f 32%,
#70e85b 48%,
#35e7df 64%,
#459cff 80%,
#b36aff 100%) 1 !important;
border-radius:0 !important;
box-shadow:none !important;
}
/* Le cadre extérieur reste propre, régulier et sans seconde ligne épaisse. */
#ast-panel::after{
inset:0 !important;
border:0 !important;
box-shadow:none !important;
}
/* ===== ENTETE FIXE, ARRONDI UNIQUEMENT EN HAUT, TITRE MULTICOLORE ===== */
#ast-head{
position:sticky !important;
top:0 !important;
z-index:30 !important;
margin-top:24px !important;
min-height:68px !important;
box-sizing:border-box !important;
border-radius:30px 30px 0 0 !important;
overflow:hidden !important;
background:linear-gradient(100deg,
#075c91 0%,#087fae 18%,#16cde2 42%,#536ee0 70%,#672b9d 100%) !important;
border:0 !important;
border-bottom:3px solid transparent !important;
border-image:linear-gradient(90deg,
#ff4fc8 0%,#ff9a42 16%,#ffe34f 32%,#70e85b 48%,
#35e7df 64%,#459cff 80%,#b36aff 100%) 1 !important;
box-shadow:0 4px 16px #0005,inset 0 1px 0 #ffffff70 !important;
}
/* Garder les motifs du bandeau discrets et contenus dans ses coins arrondis. */
#ast-head::before,
#ast-head::after{
z-index:0 !important;
pointer-events:none !important;
}
/* Titre en dégradé multicolore, sans plaque supplémentaire autour. */
#ast-head strong{
position:relative !important;
z-index:2 !important;
display:inline-block !important;
width:auto !important;
max-width:calc(100% - 70px) !important;
margin:0 auto !important;
padding:7px 18px !important;
border:0 !important;
border-radius:0 !important;
background:linear-gradient(90deg,
#ff72d2 0%,#ffb65c 18%,#fff078 34%,#8dff83 50%,
#66f5ff 66%,#8aa8ff 82%,#e29aff 100%) !important;
-webkit-background-clip:text !important;
background-clip:text !important;
color:transparent !important;
-webkit-text-fill-color:transparent !important;
font-family:Arial,sans-serif !important;
font-size:20px !important;
font-weight:900 !important;
letter-spacing:2px !important;
line-height:1.2 !important;
text-align:center !important;
white-space:nowrap !important;
text-shadow:0 2px 3px #160b2a88 !important;
box-shadow:none !important;
}
#ast-close{
z-index:4 !important;
}
@media(max-width:480px){
#ast-head{min-height:68px !important;padding:8px 42px !important;}
#ast-head strong{font-size:15px !important;letter-spacing:1px !important;padding:6px 8px !important;}
}
/* ===== FINITION ENTETE : MARGES EGALES ET TITRE CENTRE ===== */
#ast-main{
min-width:0 !important;
overflow:hidden !important;
}
#ast-head{
position:relative !important;
top:auto !important;
flex:0 0 auto !important;
margin:30px 10px 0 10px !important;
width:calc(100% - 20px) !important;
min-height:76px !important;
padding:10px 48px !important;
display:flex !important;
align-items:center !important;
justify-content:center !important;
text-align:center !important;
border-radius:30px 30px 0 0 !important;
overflow:hidden !important;
border:0 !important;
border-bottom:4px solid transparent !important;
border-image:linear-gradient(90deg,
#ff4fc8 0%,#ff9a42 16%,#ffe34f 32%,#70e85b 48%,
#35e7df 64%,#459cff 80%,#b36aff 100%) 1 !important;
background:linear-gradient(100deg,
#075c91 0%,#087fae 18%,#16cde2 42%,#536ee0 70%,#672b9d 100%) !important;
box-shadow:0 4px 16px #0005,inset 0 1px 0 #ffffff70 !important;
}
#ast-head strong{
position:relative !important;
z-index:2 !important;
display:block !important;
flex:0 1 auto !important;
width:max-content !important;
max-width:100% !important;
margin:0 auto !important;
padding:5px 12px !important;
border:0 !important;
background:linear-gradient(90deg,
#ff72d2 0%,#ffb65c 18%,#fff078 34%,#8dff83 50%,
#66f5ff 66%,#8aa8ff 82%,#e29aff 100%) !important;
-webkit-background-clip:text !important;
background-clip:text !important;
color:transparent !important;
-webkit-text-fill-color:transparent !important;
text-align:center !important;
text-shadow:0 2px 3px #160b2a88 !important;
white-space:nowrap !important;
}
#ast-close{
position:absolute !important;
right:12px !important;
top:50% !important;
transform:translateY(-50%) !important;
z-index:5 !important;
}
@media(max-width:480px){
#ast-head{
margin:30px 7px 0 !important;
width:calc(100% - 14px) !important;
min-height:70px !important;
padding:8px 38px !important;
border-radius:25px 25px 0 0 !important;
}
#ast-head strong{font-size:15px !important;letter-spacing:1px !important;}
}
/* Ajustement demandé : remonter le bandeau sous la ligne arc-en-ciel */
#ast-head{
margin-top:0 !important;
}
@media(max-width:480px){
#ast-head{
margin-top:0 !important;
}
}
/* ===== ENTETE MAUVE, CONTOUR AQUA NEON ET TITRE ARC-EN-CIEL ===== */
#ast-main{
min-width:0 !important;
overflow:hidden !important;
}
#ast-head{
box-sizing:border-box !important;
position:relative !important;
display:flex !important;
align-items:center !important;
justify-content:center !important;
width:100% !important;
max-width:100% !important;
min-width:0 !important;
height:88px !important;
min-height:88px !important;
margin:0 !important;
padding:10px 54px !important;
overflow:hidden !important;
border:6px solid #00eaff !important;
border-bottom-width:6px !important;
border-image:none !important;
border-radius:30px 30px 0 0 !important;
background:#231735 !important;
box-shadow:
0 0 7px #00eaff,
0 0 15px #00dfff99,
inset 0 0 8px #00eaff33 !important;
}
#ast-head::before,
#ast-head::after{
content:none !important;
display:none !important;
}
#ast-head strong{
box-sizing:border-box !important;
position:relative !important;
display:block !important;
flex:0 1 auto !important;
width:auto !important;
max-width:100% !important;
margin:0 auto !important;
padding:4px 0 !important;
overflow:hidden !important;
border:0 !important;
border-radius:0 !important;
background:linear-gradient(90deg,
#ff5bc8 0%,#ff9a45 17%,#ffe65c 33%,#83ee65 49%,
#35e6dc 65%,#579cff 81%,#c17aff 100%) !important;
-webkit-background-clip:text !important;
background-clip:text !important;
color:transparent !important;
-webkit-text-fill-color:transparent !important;
font-family:"Arial Black",Arial,sans-serif !important;
font-size:clamp(17px,4vw,25px) !important;
font-weight:900 !important;
letter-spacing:clamp(1px,0.5vw,3px) !important;
line-height:1.15 !important;
text-align:center !important;
white-space:nowrap !important;
text-shadow:0 1px 2px #09031699 !important;
box-shadow:none !important;
}
#ast-close{
position:absolute !important;
right:10px !important;
top:50% !important;
transform:translateY(-50%) !important;
z-index:5 !important;
color:#ffffff !important;
}
@media(max-width:480px){
#ast-head{
height:76px !important;
min-height:76px !important;
padding:8px 40px !important;
border-width:5px !important;
border-radius:25px 25px 0 0 !important;
}
#ast-head strong{
font-size:clamp(15px,4.2vw,20px) !important;
letter-spacing:1px !important;
}
#ast-close{right:7px !important;}
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
.ast-favorite-symbols{display:flex;flex-direction:column;gap:12px;margin:8px 0 4px;}
.ast-symbol-category{display:flex;flex-direction:column;gap:6px;}
.ast-symbol-category-title{font-size:11px;font-weight:700;letter-spacing:.08em;color:#b9aecb;}
.ast-symbol-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;}
.ast-symbol-choice{min-width:0;min-height:43px;border:1px solid #7654a5;border-radius:8px;background:#29213f;color:#fff;font-size:25px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:2px;font-family:"Segoe UI Symbol","Arial Unicode MS",Arial,sans-serif;font-weight:600;}
.ast-symbol-choice:not(:has(svg)){font-variant-emoji:normal;}
.ast-symbol-choice svg{width:27px;height:27px;display:block;color:currentColor;}
.ast-symbol-choice:hover,.ast-symbol-choice.selected{border-color:#00d4ff;background:#40305e;box-shadow:0 0 8px #00d4ff66;}
.ast-tall-heart-preview{display:block;width:24px;height:30px;max-width:28px;max-height:32px;color:currentColor;transform:scaleX(.72) scaleY(1.08);}
.ast-trigger-size-settings{margin-top:12px;}
.ast-trigger-size-settings select{width:100%;min-width:0;padding:9px 8px;border:1px solid #7654a5;border-radius:8px;background:#29213f;color:#fff;font:inherit;}
</style>
<button id="ast-trigger" type="button" aria-label="Ouvrir le panneau" title="Ouvrir le panneau">
<svg class="ast-trigger-heart" viewBox="0 0 48 48" aria-hidden="true" focusable="false">
<defs>
<linearGradient id="astHeartGradient" x1="8" y1="5" x2="38" y2="44" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fff0fa"/>
<stop offset=".32" stop-color="#ff9bd2"/>
<stop offset=".72" stop-color="#ed4fae"/>
<stop offset="1" stop-color="#a91f78"/>
</linearGradient>
<linearGradient id="astHeartShine" x1="13" y1="7" x2="26" y2="27" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fff" stop-opacity=".9"/>
<stop offset="1" stop-color="#fff" stop-opacity="0"/>
</linearGradient>
<filter id="astHeartShadow" x="-30%" y="-25%" width="160%" height="165%">
<feGaussianBlur in="SourceAlpha" stdDeviation="1.1"/>
<feOffset dy="1.2"/>
<feComponentTransfer><feFuncA type="linear" slope=".42"/></feComponentTransfer>
<feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
</defs>
<path d="M24 41.2 7.2 24.7C-1.2 15.8 11.1 2.2 21.1 10.1L24 12.5l2.9-2.4c10-7.9 22.3 5.7 13.9 14.6Z"
fill="url(#astHeartGradient)" stroke="#ffd9f0" stroke-width="1.25" stroke-linejoin="round" filter="url(#astHeartShadow)"/>
<path d="M9.1 20.4c.1-6.7 7.1-10.5 12.2-6.5 1.1.9 1.8 1.9 2.7 3.1-4.4-2.5-8.7-.9-10.7 3.6-1.1 2.5-.7 5.4.5 7.8-3.1-2-4.8-4.7-4.7-8Z"
fill="url(#astHeartShine)" opacity=".85"/>
<path d="M29.1 11.3c3.7-1.5 7.4.4 8.8 3.5" fill="none" stroke="#fff" stroke-opacity=".72" stroke-width="1.5" stroke-linecap="round"/>
</svg>
</button>
<div id="ast-overlay"></div>
<div id="ast-panel">
<nav id="ast-rail">
<button class="ast-tab tab-amis icon-tab" data-tab="favorites" aria-label="Amis et favoris" title="Amis et favoris">💗</button>
<button class="ast-tab tab-sites icon-tab" data-tab="links" aria-label="Sites et liens" title="Sites et liens">🌐</button>
<button class="ast-tab tab-date icon-tab" data-tab="calendar" aria-label="Agenda" title="Agenda">📅</button>
<button class="ast-tab tab-tips icon-tab" data-tab="tips" aria-label="Astuces et raccourcis" title="Astuces et raccourcis">💡</button>
<button class="ast-tab tab-emojis icon-tab" data-tab="emojis" aria-label="Émojis" title="Émojis">😊</button>
<button class="ast-tab icon-tab" data-tab="space" aria-label="Réserve de fichiers" title="RÉSERVE">📂</button>
<button class="ast-tab tab-plus icon-tab" data-tab="tools" aria-label="Plus : horloges et conversions" title="PLUS – Horloges et conversions">✚</button>
<button class="ast-tab tab-personal icon-tab" data-tab="personal" aria-label="Personnalisation et sauvegarde" title="Personnalisation et sauvegarde">⚙️</button>
<button class="ast-tab tab-info icon-tab" data-tab="info" aria-label="Informations et conditions" title="Informations et conditions">📜</button>
</nav>
<main id="ast-main">
<header id="ast-head">
<strong>ESPACE TO GO</strong>
<button id="ast-close" type="button" aria-label="Fermer">×</button>
</header>
<div id="ast-content">
<!-- AMIS : blogs des amies -->
<section class="ast-page active" id="page-favorites">
<div class="ast-friends-entry">
<h3>MES AMIS</h3>
<p>Enregistre ici les blogs de tes amies pour les retrouver facilement.</p>
<input id="ast-friend-name" placeholder="Nom de ton amie ou du blog" />
<input id="ast-friend-url" placeholder="Adresse du blog (https://...)" />
<button class="ast-btn" id="ast-add-friend" type="button">Ajouter à mes amis</button>
</div>
<div class="ast-friends-saved-title">MES AMIS ENREGISTRÉS</div>
<div class="ast-friend-hint">☆ Modifier · × Supprimer</div>
<div id="ast-friends-list"></div>
</section>
<!-- ÉMOJIS -->
<section class="ast-page" id="page-emojis">
<h3>ÉMOJIS</h3>
<input id="ast-emoji-search" placeholder="Rechercher un émoji..." />
<div id="ast-emoji-library"></div>
</section>
<!-- MON ESPACE TO GO : liens vers les fichiers hébergés -->
<section class="ast-page" id="page-space">
<div class="ast-personal-gallery">
<h3>LA RESERVE</h3>
<p class="ast-muted">Rassemble ici les liens de tes créations et fichiers hébergés : images, GIF, PSD, ZIP, RAR, musique, vidéos et autres formats.</p>
<input id="ast-media-name" type="text" placeholder="Nom du fichier (facultatif)" />
<input id="ast-media-url" type="url" placeholder="Colle ici le lien hébergé (https://...)" />
<button class="ast-btn" id="ast-add-media" type="button">+ Ajouter à mon espace</button>
<input id="ast-media-search" type="search" placeholder="Rechercher dans mon espace..." />
<select id="ast-media-filter" aria-label="Filtrer les fichiers">
<option value="all">Tous les fichiers</option>
<option value="image">Images</option>
<option value="gif">GIF / animations</option>
<option value="psd">Créations PSD</option>
<option value="archive">Archives ZIP / RAR / 7Z</option>
<option value="audio">Musique / audio</option>
<option value="video">Vidéos</option>
<option value="other">Autres formats</option>
</select>
<div id="ast-personal-media-list" class="ast-personal-media-list"></div>
<p class="ast-muted">Les liens restent hébergés sur les services d’origine : cet espace mémorise les adresses, pas les fichiers. La disponibilité et les droits d’utilisation des fichiers dépendent de leur hébergeur et de toi. Un lien peut rester public selon les réglages de l’hébergement.</p>
<p class="ast-muted"><strong>À noter :</strong> le contenu enregistré ici demeure sous la responsabilité de son utilisateur.</p>
</div>
</section>
<!-- DATE -->
<section class="ast-page" id="page-calendar">
<h3>AGENDA</h3>
<div id="ast-calendar-month"></div>
<div class="ast-row">
<button class="ast-btn" id="ast-prev-month" type="button">‹ Mois précédent</button>
<button class="ast-btn" id="ast-next-month" type="button">Mois suivant ›</button>
</div>
<div id="ast-calendar-grid"></div>
<h3>ANNIVERSAIRES </h3>
<div class="ast-birthday-form" style="display:grid;grid-template-columns:1fr;gap:9px;padding:12px;border:1px solid #7654a5;border-radius:12px;background:rgba(35,17,85,.28);margin:10px 0 14px">
<label class="ast-muted" for="ast-birthday-type">Type de date</label>
<select id="ast-birthday-type" style="width:100%">
<option value="birthday">🎂 Anniversaire</option>
<option value="holiday">🎉 Fête</option>
<option value="important">📌 Date importante</option>
</select>
<label class="ast-muted" for="ast-birthday-name">Nom</label>
<input id="ast-birthday-name" placeholder="Nom de la personne ou événement" />
<label class="ast-muted" for="ast-birthday-date" id="ast-birthday-date-label">Date de naissance</label>
<input id="ast-birthday-date" type="date" />
<label class="ast-muted" for="ast-birthday-color">Couleur du repère dans le calendrier</label>
<input id="ast-birthday-color" type="color" value="#287ee8" style="width:54px;height:36px;padding:3px;background:#211b38;border:1px solid #6336a5;border-radius:7px" />
<label class="ast-muted" style="display:flex;align-items:center;gap:7px">
<input id="ast-birthday-repeat" type="checkbox" style="width:auto" checked />
<span id="ast-birthday-repeat-label">Répéter chaque année (rappel d'anniversaire)</span>
</label>
<button class="ast-btn" id="ast-add-birthday" type="button">+ Ajouter à la liste</button>
</div>
<div id="ast-birthday-list"></div>
<div class="ast-agenda-divider"></div>
<h3>NOTES</h3>
<p>Tes post-it sont sauvegardés automatiquement sur cet appareil.</p>
<button class="ast-btn" id="ast-add-note" type="button">+ Ajouter un post-it</button>
<div id="ast-notes-list"></div>
</section>
<!-- SITES -->
<section class="ast-page" id="page-links">
<h3>SITES</h3>
<p>Enregistre les blogs, sites et ressources que tu visites souvent.</p>
<input id="ast-link-name" placeholder="Nom du site ou du blog" />
<input id="ast-link-url" placeholder="Adresse du site (https://...)" />
<input id="ast-link-category" placeholder="Catégorie (blogs, créations, outils...)" />
<button class="ast-btn" id="ast-add-link" type="button">Ajouter le lien</button>
<div id="ast-links-list"></div>
</section>
<!-- ASTUCES & RACCOURCIS -->
<section class="ast-page" id="page-tips">
<h3>ASTUCES</h3>
<p>Des petits trucs pratiques pour ton ordinateur, Internet et ton blog.</p>
<div class="ast-tip-feature" id="ast-tip-feature">
<div class="ast-tip-kicker">✨ LE SAVAIS-TU ?</div>
<div class="ast-tip-feature-title" id="ast-tip-title">Rouvrir un onglet fermé</div>
<div class="ast-tip-feature-text" id="ast-tip-text">Tu as fermé un onglet par erreur ? Essaie Ctrl + Maj + T.</div>
<div class="ast-tip-shortcut" id="ast-tip-shortcut">Ctrl + Maj + T</div>
<button class="ast-btn" id="ast-tip-next" type="button">✨ Une autre astuce !</button>
</div>
<input id="ast-tip-search" type="search" placeholder="🔎 Rechercher une astuce..." />
<label class="ast-tip-select-label" for="ast-tip-category">Choisir une rubrique</label>
<select id="ast-tip-category" class="ast-tip-select">
<option value="all">✨ Toutes les astuces</option>
<option value="shortcuts">⌨️ Raccourcis clavier</option>
<option value="computer">💻 Dépannage Windows</option>
<option value="internet">🌐 Internet et navigateurs</option>
<option value="capture">🎥 Captures d’écran et vidéos</option>
<option value="blogger">📝 Blogger et HTML</option>
</select>
<div id="ast-tip-list" class="ast-tip-list-scroll"></div>
</section>
<!-- OUTILS -->
<section class="ast-page" id="page-tools">
<h3>HORLOGES DU MONDE</h3>
<p>Les heures locales, toujours à jour automatiquement.</p>
<div id="ast-clocks" class="ast-row"></div>
<h3>Ajouter une ville</h3>
<input id="ast-city-name" placeholder="Nom de la ville" />
<select id="ast-city-zone">
<option value="America/Toronto" />Québec / Montréal
<option value="Europe/Paris" />Paris
<option value="America/New_York" />New York
<option value="America/Bogota" />Bogotá
<option value="Europe/London" />Londres
<option value="Asia/Shanghai" />Shanghai
<option value="Pacific/Honolulu" />Honolulu
<option value="America/Los_Angeles" />Los Angeles
</select>
<button class="ast-btn" id="ast-add-city" type="button">Ajouter une horloge</button>
<details class="ast-conversions">
<summary>CONVERSIONS — ouvrir le menu</summary>
<div class="ast-conversions-body">
<h3>CONVERTISSEUR DE MESURES</h3>
<input id="ast-metric-value" type="number" placeholder="Valeur à convertir" />
<div class="ast-row">
<select id="ast-metric-from" aria-label="Unité de départ">
<option value="mm">Millimètre (mm)</option>
<option value="cm">Centimètre (cm)</option>
<option value="m" selected>Mètre (m)</option>
<option value="km">Kilomètre (km)</option>
<option value="in">Pouce (po)</option>
<option value="ft">Pied (pi)</option>
<option value="yd">Verge (vg)</option>
<option value="mi">Mille (mi)</option>
</select>
<select id="ast-metric-to" aria-label="Unité d'arrivée">
<option value="mm">Millimètre (mm)</option>
<option value="cm">Centimètre (cm)</option>
<option value="m">Mètre (m)</option>
<option value="km">Kilomètre (km)</option>
<option value="in" selected>Pouce (po)</option>
<option value="ft">Pied (pi)</option>
<option value="yd">Verge (vg)</option>
<option value="mi">Mille (mi)</option>
</select>
</div>
<button class="ast-btn" id="ast-metric-convert" type="button">Convertir</button>
<div class="ast-tool-result" id="ast-metric-result"></div>
<h3>CONVERTISSEUR DE DEVISES</h3>
<input id="ast-money-value" type="number" placeholder="Montant" />
<div class="ast-row">
<select id="ast-money-from">
<option value="CAD">CAD</option><option value="USD">USD</option><option value="EUR">EUR</option>
<option value="GBP">GBP</option><option value="AUD">AUD</option><option value="JPY">JPY</option>
<option value="CHF">CHF</option><option value="NZD">NZD</option><option value="MXN">MXN</option>
<option value="COP">COP</option><option value="CNY">CNY</option><option value="INR">INR</option><option value="BRL">BRL</option>
</select>
<select id="ast-money-to">
<option value="USD">USD</option><option value="CAD">CAD</option><option value="EUR">EUR</option>
<option value="GBP">GBP</option><option value="AUD">AUD</option><option value="JPY">JPY</option>
<option value="CHF">CHF</option><option value="NZD">NZD</option><option value="MXN">MXN</option>
<option value="COP">COP</option><option value="CNY">CNY</option><option value="INR">INR</option><option value="BRL">BRL</option>
</select>
</div>
<button class="ast-btn" id="ast-money-convert" type="button">Convertir au taux du jour</button>
<div class="ast-tool-result" id="ast-money-result"></div>
<p class="ast-muted">Les taux de change fluctuent et peuvent changer à tout moment. Le résultat est indicatif : le taux de ta banque ou du bureau de change peut être différent et inclure des frais.</p>
</div>
</details>
</section>
<!-- PERSONNALISATION ET SAUVEGARDE -->
<section class="ast-page" id="page-personal">
<h3>PERSONALISER</h3>
<p>Choisis les couleurs, le symbole de tes favoris et l'apparence générale de ton espace.</p>
<section class="ast-personal-box">
<h4>BOUTON ET FAVORIS</h4>
<div class="ast-settings-grid">
<div class="ast-setting ast-symbol-setting">Choisir un symbole pour les favoris
<label class="ast-custom-symbol-toggle" style="display:flex;align-items:center;gap:9px;margin:10px 0 12px;cursor:pointer;">
<input type="checkbox" id="ast-use-custom-symbol">
Afficher le symbole choisi à la place du cœur
</label>
<div class="ast-favorite-symbols" id="ast-favorite-symbols" role="group" aria-label="Symboles disponibles pour les favoris et le bouton flottant">
<div class="ast-symbol-category"><div class="ast-symbol-category-title">BLOGGER — symbole compatible</div><div class="ast-symbol-grid">
<button type="button" class="ast-symbol-choice" data-symbol="♥" aria-label="Cœur">♥</button>
</div></div>
<div class="ast-symbol-category"><div class="ast-symbol-category-title">SITES WEB — 32 symboles décoratifs</div><div class="ast-symbol-grid">
<button type="button" class="ast-symbol-choice" data-symbol="⛤" aria-label="Étoile décorative à cinq branches">⛤</button>
<button type="button" class="ast-symbol-choice" data-symbol="★" aria-label="Étoile pleine">★</button>
<button type="button" class="ast-symbol-choice" data-symbol="✤" aria-label="Fleur géométrique">✤</button>
<button type="button" class="ast-symbol-choice" data-symbol="✽" aria-label="Fleur étoilée">✽</button>
<button type="button" class="ast-symbol-choice" data-symbol="≛" aria-label="Ornement">≛</button>
<button type="button" class="ast-symbol-choice" data-symbol="⚝" aria-label="Étoile contour">⚝</button>
<button type="button" class="ast-symbol-choice" data-symbol="♥" aria-label="Cœur">♥</button>
<button type="button" class="ast-symbol-choice" data-symbol="✿" aria-label="Fleur 1">✿</button>
<button type="button" class="ast-symbol-choice" data-symbol="❀" aria-label="Fleur 2">❀</button>
<button type="button" class="ast-symbol-choice" data-symbol="❁" aria-label="Fleur 3">❁</button>
<button type="button" class="ast-symbol-choice" data-symbol="❃" aria-label="Fleur 4">❃</button>
<button type="button" class="ast-symbol-choice" data-symbol="❋" aria-label="Fleur ornementale">❋</button>
<button type="button" class="ast-symbol-choice" data-symbol="❊" aria-label="Rosace">❊</button>
<button type="button" class="ast-symbol-choice" data-symbol="❉" aria-label="Rosace fleurie">❉</button>
<button type="button" class="ast-symbol-choice" data-symbol="✾" aria-label="Fleur décorative">✾</button>
<button type="button" class="ast-symbol-choice" data-symbol="✥" aria-label="Fleur géométrique">✥</button>
<button type="button" class="ast-symbol-choice" data-symbol="♣" aria-label="Trèfle plein">♣</button>
<button type="button" class="ast-symbol-choice" data-symbol="♧" aria-label="Trèfle contour">♧</button>
<button type="button" class="ast-symbol-choice" data-symbol="☘" aria-label="Trèfle à trois feuilles">☘</button>
<button type="button" class="ast-symbol-choice" data-symbol="❄" aria-label="Flocon 1">❄</button>
<button type="button" class="ast-symbol-choice" data-symbol="❅" aria-label="Flocon 2">❅</button>
<button type="button" class="ast-symbol-choice" data-symbol="❆" aria-label="Flocon 3">❆</button>
<button type="button" class="ast-symbol-choice" data-symbol="❈" aria-label="Flocon décoratif">❈</button>
<button type="button" class="ast-symbol-choice" data-symbol="☁" aria-label="Nuage">☁</button>
<button type="button" class="ast-symbol-choice" data-symbol="☂" aria-label="Parapluie décoratif">☂</button>
<button type="button" class="ast-symbol-choice" data-symbol="✦" aria-label="Éclat">✦</button>
<button type="button" class="ast-symbol-choice" data-symbol="✧" aria-label="Éclat fin">✧</button>
<button type="button" class="ast-symbol-choice" data-symbol="✩" aria-label="Étoile contour">✩</button>
<button type="button" class="ast-symbol-choice" data-symbol="✪" aria-label="Étoile cerclée">✪</button>
<button type="button" class="ast-symbol-choice" data-symbol="✫" aria-label="Étoile brillante">✫</button>
<button type="button" class="ast-symbol-choice" data-symbol="✵" aria-label="Étoile rayonnante">✵</button>
<button type="button" class="ast-symbol-choice" data-symbol="✶" aria-label="Étoile à six pointes">✶</button>
</div></div>
</div>
</div>
<label class="ast-setting">Couleur du symbole choisi<input type="color" id="ast-color-symbol" value="#ffffff"></label>
<label class="ast-setting">Couleur de la lueur néon<input type="color" id="ast-color-glow" value="#00d4ff"></label>
<label class="ast-setting">Intensité de la lueur
<select id="ast-glow-mode">
<option value="none">X — Aucune</option>
<option value="soft">Légère</option>
<option value="neon" selected>Néon</option>
<option value="strong">Très lumineuse</option>
</select>
</label>
<label class="ast-setting">Couleur de la bordure<input type="color" id="ast-color-triggerBorder" value="#55eaff"></label>
<label class="ast-setting">Épaisseur de la bordure
<select id="ast-trigger-border-width">
<option value="0">X — Aucune</option>
<option value="1">Fine — 1 px</option>
<option value="2" selected>Moyenne — 2 px</option>
<option value="3">Épaisse — 3 px</option>
<option value="4">Très épaisse — 4 px</option>
</select>
</label>
<label class="ast-setting">Couleur du contour du symbole<input type="color" id="ast-color-symbolOutline" value="#ffffff"></label>
<label class="ast-setting">Épaisseur du contour du symbole
<select id="ast-symbol-outline-width">
<option value="0" selected>X — Aucun contour</option>
<option value="1">Fin — 1 px</option>
<option value="2">Moyen — 2 px</option>
<option value="3">Épais — 3 px</option>
<option value="4">Très épais — 4 px</option>
</select>
</label>
<label class="ast-setting">Couleur du cœur original<input type="color" id="ast-color-heart" value="#ed4fae"></label>
<label class="ast-setting">Couleur du bouton<input type="color" id="ast-color-trigger" value="#7040bf"></label>
</div>
<div class="ast-settings-grid ast-trigger-size-settings">
<label class="ast-setting">Taille du bouton et du symbole
<select id="ast-trigger-size">
<option value="45">Petit — 45 px</option>
<option value="60" selected>Moyen — 60 px</option>
<option value="75">Grand — 75 px</option>
</select>
</label>
</div>
<div class="ast-trigger-size-settings" style="margin-top:10px;">
<p class="ast-muted">Déplace le bouton en le faisant glisser avec la souris ou le doigt. Il restera à cet endroit sur ton écran.</p>
<button type="button" id="ast-trigger-reset-position" class="ast-action-btn">Replacer en bas à droite</button>
</div>
<p class="ast-muted">La taille du symbole s'ajuste automatiquement à celle du bouton pour rester bien centré.</p>
<p class="ast-muted">Le symbole choisi apparaît sur le bouton de ton espace. Tu peux le changer quand tu veux.</p>
</section>
<section class="ast-personal-box">
<h4>FONDS ET CADRE</h4>
<div class="ast-settings-grid">
<label class="ast-setting">Fond du panneau<input type="color" id="ast-color-panel" value="#17132b"></label>
<label class="ast-setting">Fond des pages<input type="color" id="ast-color-page" value="#211936"></label>
<label class="ast-setting">Texte général<input type="color" id="ast-color-text" value="#eeeeee"></label>
<label class="ast-setting">Titres<input type="color" id="ast-color-title" value="#00d4ff"></label>
<label class="ast-setting">Bordures<input type="color" id="ast-color-border" value="#7654a5"></label>
<label class="ast-setting">Couleur des onglets<input type="color" id="ast-color-tabs" value="#9361d0"></label>
</div>
</section>
<section class="ast-personal-box">
<h4>LIENS ET NOMS</h4>
<div class="ast-settings-grid">
<label class="ast-setting">Couleur des noms (Amis, Sites et villes/pays)<input type="color" id="ast-color-name" value="#e8dfff"></label>
<label class="ast-setting">Couleur de tous les liens / URL (Amis et Sites)<input type="color" id="ast-color-link" value="#00d4ff"></label>
<label class="ast-setting">Taille des noms (Amis et Sites)
<select id="ast-friend-site-name-size">
<option value="10">10 px</option><option value="12">12 px</option><option value="14">14 px</option><option value="16" selected>16 px</option><option value="18">18 px</option><option value="20">20 px</option><option value="22">22 px</option>
</select>
</label>
<label class="ast-setting">Taille des liens / URL (Amis et Sites)
<select id="ast-friend-site-link-size">
<option value="10">10 px</option><option value="12">12 px</option><option value="14" selected>14 px</option><option value="16">16 px</option><option value="18">18 px</option><option value="20">20 px</option><option value="22">22 px</option>
</select>
</label>
</div>
<p class="ast-muted">Tu peux choisir séparément la taille des noms et celle des adresses Web.</p>
</section>
<section class="ast-personal-box">
<h4>DATES ET HEURES</h4>
<p class="ast-muted" style="margin:0 0 8px;font-weight:700;">CALENDRIER — réglages indépendants</p>
<div class="ast-settings-grid">
<label class="ast-setting">Couleur des dates<input type="color" id="ast-color-date" value="#eeeeee"></label>
<label class="ast-setting">Fond des jours<input type="color" id="ast-color-calendarBg" value="#29213f"></label>
<label class="ast-setting">Accent du calendrier<input type="color" id="ast-color-calendarAccent" value="#00d4ff"></label>
</div>
<p class="ast-muted" style="margin:10px 0 8px;font-weight:700;">HORLOGES — noms et heures</p>
<div class="ast-settings-grid">
<label class="ast-setting">Couleur des heures<input type="color" id="ast-color-hour" value="#00d4ff"></label>
</div>
</section>
<section class="ast-personal-box">
<h4>TEXTES, POLICE ET TAILLE</h4>
<div class="ast-settings-grid">
<label class="ast-setting">Police<select id="ast-font-family"><option value="Arial, sans-serif">Arial</option><option value="Verdana, sans-serif">Verdana</option><option value="Georgia, serif">Georgia</option><option value="'Trebuchet MS', sans-serif">Trebuchet MS</option><option value="'Comic Sans MS', cursive">Comic Sans MS</option></select></label>
<label class="ast-setting">Taille du texte<select id="ast-font-size"><option value="12">12 px</option><option value="13">13 px</option><option value="14" selected>14 px</option><option value="15">15 px</option><option value="16">16 px</option><option value="18">18 px</option><option value="20">20 px</option><option value="22">22 px</option><option value="24">24 px</option><option value="26">26 px</option></select></label>
<label class="ast-setting">Taille des titres<select id="ast-title-size"><option value="14">14 px</option><option value="16">16 px</option><option value="18" selected>18 px</option><option value="20">20 px</option><option value="22">22 px</option><option value="24">24 px</option><option value="26">26 px</option><option value="28">28 px</option><option value="30">30 px</option></select></label>
</div>
</section>
<section class="ast-personal-box ast-reset-box">
<h4>↺ RETABLIR</h4>
<p class="ast-muted">Rétablir les couleurs et les réglages visuels d'origine. Tes amis, liens et notes ne seront pas supprimés.</p>
<div class="ast-personal-actions"><button class="ast-btn" id="ast-reset-appearance" type="button">↺ RÉINITIALISER L'APPARENCE</button></div>
</section>
<section class="ast-backup" aria-label="Sauvegarde et restauration">
<h3>SAUVEGARDE ET RESTAURATION</h3>
<p>Conserve une copie de tes informations sur ton ordinateur. Tu pourras la réimporter pour retrouver ton espace.</p>
<div class="ast-backup-actions">
<button class="ast-btn" id="ast-export-backup" type="button">⬇️ EXPORTER / SAUVEGARDER</button>
<button class="ast-btn" id="ast-import-backup" type="button">⬆️ IMPORTER / RESTAURER</button>
<input id="ast-backup-file" type="file" accept=".json,application/json" hidden />
</div>
<p class="ast-backup-note">La sauvegarde est un fichier JSON téléchargé sur ton appareil. Garde-le dans un endroit sûr. L'importation remplace les données actuellement enregistrées dans ce panneau.</p>
</section>
</section>
<!-- MENTIONS, CONDITIONS ET INFORMATIONS -->
<section class="ast-page" id="page-info">
<section class="ast-credits" aria-label="Mentions, conditions et informations">
<h3>MENTIONS, CONDITIONS ET INFORMATIONS</h3>
<div class="ast-credit-body">
<p><strong>INFORMATIONS</strong></p>
<p>Création originale de Sorcière Corbeau · 2026. Fonctionne sur les plateformes et sites Web prenant en charge HTML, CSS et JavaScript.</p>
<p><strong>DROITS ET CONDITIONS D’UTILISATION</strong></p>
<p>Le design, la structure et les éléments graphiques sont la propriété de la créatrice. L’utilisation est personnelle seulement. Toute reproduction, redistribution ou modification du code HTML, en tout ou en partie, est interdite sans autorisation écrite préalable. La personnalisation se fait directement dans l’interface, sans toucher au code. En cas de non-respect de ces conditions, ma collaboration prendra fin sans préavis.
<p><strong>CONFIDENTIALITÉ ET SAUVEGARDE</strong></p>
<p>Les données que vous ajoutez sont enregistrées localement sur votre appareil, dans le navigateur utilisé. Elles restent associées à votre profil de navigateur et ne sont pas partagées avec les autres personnes qui utilisent le widget sur leur propre appareil.</p>
<p>Si vous changez d’appareil ou de navigateur, réinitialisez votre navigateur ou effacez ses données, vos informations pourraient être perdues.</p>
<p>Pensez à exporter régulièrement vos données et à conserver une copie de sauvegarde en lieu sûr.</p>
<p><strong>RESPONSABILITÉ</strong></p>
<p>Vous êtes responsable des textes, images, liens et fichiers que vous ajoutez au widget, ainsi que des droits nécessaires à leur utilisation. La créatrice décline toute responsabilité quant aux contenus ajoutés par les utilisateurs et aux sites externes qu’ils choisissent de consulter.</p>
</div>
</section>
</section>
</div>
</main>
</div>
<script>
(function(){
"use strict";
const $ = id => document.getElementById(id);
const KEY = "astucesBloggerPanel_v1";
let saved = {};
try { saved = JSON.parse(localStorage.getItem(KEY) || "{}"); } catch(e) {}
const data = Object.assign({
friends:[], customEmojis:[], customMedia:[], notes:[], birthdays:[], links:[],
appearance:{panel:"#17132b",page:"#211936",text:"#eeeeee",title:"#00d4ff",border:"#7654a5",tabs:"#17132b",trigger:"#7040bf",heart:"#ed4fae",symbol:"#ffffff",glow:"#00d4ff",glowMode:"neon",triggerBorder:"#55eaff",triggerBorderWidth:"2",symbolOutline:"#ffffff",symbolOutlineWidth:"0",favoriteSymbol:"original",useCustomSymbol:false,triggerSize:"60",name:"#e8dfff",link:"#00d4ff",date:"#eeeeee",calendarBg:"#29213f",calendarAccent:"#00d4ff",hour:"#00d4ff",rainbow:true,font:"Arial, sans-serif",size:14,titleSize:18},
cities:[
{name:"Québec",zone:"America/Toronto"},
{name:"Paris",zone:"Europe/Paris"},
{name:"New York",zone:"America/New_York"},
{name:"Bogotá",zone:"America/Bogota"},
{name:"Londres",zone:"Europe/London"},
{name:"Shanghai",zone:"Asia/Shanghai"}
]
}, saved);
// Sécurise les anciennes sauvegardes : les listes doivent toujours être des tableaux.
if (!Array.isArray(data.birthdays)) data.birthdays = [];
// Migration: shared categories keep previous saved preferences when available.
if (data.appearance) {
if (saved.appearance && saved.appearance.calendarText && !saved.appearance.date) data.appearance.date = saved.appearance.calendarText;
if (saved.appearance && saved.appearance.clockTime && !saved.appearance.hour) data.appearance.hour = saved.appearance.clockTime;
if (!data.appearance.name) data.appearance.name = data.appearance.friendName || data.appearance.siteName || "#e8dfff";
if (!data.appearance.link) data.appearance.link = data.appearance.friendLink || data.appearance.siteLink || "#00d4ff";
if (!data.appearance.date) data.appearance.date = data.appearance.calendarText || "#eeeeee";
if (!data.appearance.hour) data.appearance.hour = data.appearance.clockTime || "#00d4ff";
delete data.appearance.friendName; delete data.appearance.siteName;
delete data.appearance.friendLink; delete data.appearance.siteLink;
delete data.appearance.calendarText; delete data.appearance.clockName; delete data.appearance.clockTime;
}
function save(){ localStorage.setItem(KEY,JSON.stringify(data)); }
function exportBackup(){
try{
const backup={
app:"ESPACE TO GO",
formatVersion:1,
exportedAt:new Date().toISOString(),
data:JSON.parse(JSON.stringify(data))
};
const blob=new Blob([JSON.stringify(backup,null,2)],{type:"application/json;charset=utf-8"});
const url=URL.createObjectURL(blob);
const a=document.createElement("a");
const stamp=new Date().toISOString().slice(0,10);
a.href=url;
a.download="ESPACE_TO_GO_SAUVEGARDE_"+stamp+".json";
document.body.appendChild(a);
a.click();
a.remove();
setTimeout(()=>URL.revokeObjectURL(url),1000);
toast("Sauvegarde téléchargée !");
}catch(e){
toast("Impossible de créer la sauvegarde.");
}
}
function importBackupFile(file){
if(!file)return;
const reader=new FileReader();
reader.onload=()=>{
try{
const parsed=JSON.parse(String(reader.result||""));
const incoming=(parsed && parsed.app==="ESPACE TO GO" && parsed.data)
? parsed.data : parsed;
if(!incoming || typeof incoming!=="object" || Array.isArray(incoming)){
throw new Error("Format invalide");
}
const arrayKeys=["friends","customEmojis","customMedia","notes","birthdays","links"];
for(const key of arrayKeys){
if(incoming[key]!==undefined && !Array.isArray(incoming[key])){
throw new Error("Données invalides");
}
}
if(incoming.cities!==undefined && !Array.isArray(incoming.cities)){
throw new Error("Données invalides");
}
const restored={
friends:Array.isArray(incoming.friends)?incoming.friends:[],
customEmojis:Array.isArray(incoming.customEmojis)?incoming.customEmojis:[],
customMedia:Array.isArray(incoming.customMedia)?incoming.customMedia:[],
notes:Array.isArray(incoming.notes)?incoming.notes:[],
birthdays:Array.isArray(incoming.birthdays)?incoming.birthdays:[],
links:Array.isArray(incoming.links)?incoming.links:[],
appearance:incoming.appearance && typeof incoming.appearance==="object" ? incoming.appearance : {panel:"#17132b",page:"#211936",text:"#eeeeee",title:"#00d4ff",border:"#7654a5",tabs:"#17132b",font:"Arial, sans-serif",size:14,titleSize:18},
userTabs:Array.isArray(incoming.userTabs)?incoming.userTabs.slice(0,3):[],
cities:Array.isArray(incoming.cities)?incoming.cities:[
{name:"Québec",zone:"America/Toronto"},
{name:"Paris",zone:"Europe/Paris"},
{name:"New York",zone:"America/New_York"},
{name:"Bogotá",zone:"America/Bogota"},
{name:"Londres",zone:"Europe/London"},
{name:"Shanghai",zone:"Asia/Shanghai"}
]
};
if(restored.cities.some(c=>!c || typeof c.name!=="string" || typeof c.zone!=="string")){
throw new Error("Liste de villes invalide");
}
if(!confirm("Restaurer cette sauvegarde ? Les données actuellement dans ESPACE TO GO seront remplacées.")){
$("ast-backup-file").value="";
return;
}
/* Enregistrer puis vérifier la sauvegarde avant de modifier l'espace affiché. */
const serialized=JSON.stringify(restored);
localStorage.setItem(KEY,serialized);
const verification=localStorage.getItem(KEY);
if(verification!==serialized){
throw new Error("Le navigateur n'a pas conservé les données dans le stockage local.");
}
/* Mettre à jour l'objet déjà utilisé par les fonctions du widget.
Aucun rechargement : les données réapparaissent immédiatement. */
Object.keys(data).forEach(key=>delete data[key]);
Object.assign(data,restored);
applyAppearance();
["panel","page","text","title","border","tabs","trigger","heart","symbol","glow","triggerBorder","name","link","date","calendarBg","calendarAccent","hour"].forEach(key=>{
const field=$("ast-color-"+key);
if(field && data.appearance && data.appearance[key]) field.value=data.appearance[key];
});
const rainbow=$("ast-rainbow-default");
if(rainbow) rainbow.checked=data.appearance.rainbow!==false;
if($("ast-glow-mode"))$("ast-glow-mode").value=data.appearance.glowMode||"neon";
if($("ast-trigger-border-width"))$("ast-trigger-border-width").value=String(data.appearance.triggerBorderWidth??2);
if($("ast-color-symbolOutline"))$("ast-color-symbolOutline").value=data.appearance.symbolOutline||"#ffffff";
if($("ast-symbol-outline-width"))$("ast-symbol-outline-width").value=String(data.appearance.symbolOutlineWidth??0);
const font=$("ast-font-family");
if(font) font.value=data.appearance.font||"Arial, sans-serif";
const size=$("ast-font-size");
if(size) size.value=String(data.appearance.size||14);
renderFriends();
renderEmojiLibrary();
renderPersonalMedia();
renderNotes();
renderCalendar();
renderLinks();
renderClocks();
toast("Sauvegarde restaurée ! Tes données sont de retour.");
$("ast-backup-file").value="";
}catch(e){
console.error("Erreur de restauration ESPACE TO GO :",e);
const message=e && e.message ? e.message : "Erreur inconnue";
toast("Restauration impossible : "+message);
$("ast-backup-file").value="";
}
};
reader.onerror=()=>{
toast("Impossible de lire ce fichier.");
$("ast-backup-file").value="";
};
reader.readAsText(file);
}
function shadeHex(hex, amount){
const n=parseInt(String(hex).replace("#",""),16);
if(!Number.isFinite(n))return hex;
const r=Math.max(0,Math.min(255,((n>>16)&255)+amount));
const g=Math.max(0,Math.min(255,((n>>8)&255)+amount));
const b=Math.max(0,Math.min(255,(n&255)+amount));
return "#"+[r,g,b].map(v=>v.toString(16).padStart(2,"0")).join("");
}
function lightenHex(hex,amount){return shadeHex(hex,amount);}
function darkenHex(hex,amount){return shadeHex(hex,-amount);}
function applyAppearance(){
const a=data.appearance || {};
const panel=$("ast-panel"), main=$("ast-main"), content=$("ast-content"), head=$("ast-head");
const trigger=$("ast-trigger");
if(trigger){
const borderWidth=[0,1,2,3,4].includes(Number(a.triggerBorderWidth))?Number(a.triggerBorderWidth):2;
const borderColor=a.triggerBorder||"#55eaff";
trigger.style.setProperty("border",borderWidth+"px solid "+(borderWidth?borderColor:"transparent"),"important");
const glowColor=a.glow||"#00d4ff";
const glowMode=["none","soft","neon","strong"].includes(a.glowMode)?a.glowMode:"neon";
const glowShadows={
none:"none",
soft:"0 0 3px "+glowColor+"66, 0 0 7px "+glowColor+"44",
neon:"0 0 5px "+glowColor+", 0 0 12px "+glowColor+"bb, 0 0 22px "+glowColor+"88",
strong:"0 0 7px "+glowColor+", 0 0 16px "+glowColor+", 0 0 30px "+glowColor+"cc, 0 0 42px "+glowColor+"77"
};
trigger.style.setProperty("box-shadow",glowShadows[glowMode],"important");
const buttonColor=a.trigger||"#7040bf";
trigger.style.setProperty("--ast-trigger-button-color",buttonColor);
trigger.style.setProperty("background","radial-gradient(circle at 35% 25%, "+lightenHex(buttonColor,22)+", "+darkenHex(buttonColor,28)+" 78%)","important");
if(Number.isFinite(Number(a.triggerLeft)) && Number.isFinite(Number(a.triggerTop)) && a.triggerLeft!==undefined && a.triggerTop!==undefined){
trigger.style.setProperty("left",Math.max(0,Number(a.triggerLeft))+"px","important");
trigger.style.setProperty("top",Math.max(0,Number(a.triggerTop))+"px","important");
trigger.style.setProperty("right","auto","important");
trigger.style.setProperty("bottom","auto","important");
}else{
trigger.style.removeProperty("left");trigger.style.removeProperty("top");
trigger.style.removeProperty("right");trigger.style.removeProperty("bottom");
}
const buttonSize=[45,60,75].includes(Number(a.triggerSize))?Number(a.triggerSize):60;
const symbolSize=Math.round(buttonSize*0.48);
const symbolBox=Math.round(buttonSize*0.72);
trigger.style.setProperty("width",buttonSize+"px","important");
trigger.style.setProperty("height",buttonSize+"px","important");
trigger.style.setProperty("display","flex","important");
trigger.style.setProperty("align-items","center","important");
trigger.style.setProperty("justify-content","center","important");
trigger.style.setProperty("--ast-trigger-symbol-size",symbolSize+"px");
const symbol=trigger.querySelector(".ast-trigger-symbol");
if(symbol){
symbol.style.setProperty("display","flex","important");
symbol.style.setProperty("align-items","center","important");
symbol.style.setProperty("justify-content","center","important");
symbol.style.setProperty("width",symbolBox+"px","important");
symbol.style.setProperty("height",symbolBox+"px","important");
symbol.style.setProperty("max-width",symbolBox+"px","important");
symbol.style.setProperty("max-height",symbolBox+"px","important");
symbol.style.setProperty("font-size",symbolSize+"px","important");
symbol.style.setProperty("line-height","1","important");
}
const heart=trigger.querySelector(".ast-trigger-heart");
if(heart){
const heartSize=Math.round(buttonSize*0.58);
heart.style.setProperty("width",heartSize+"px","important");
heart.style.setProperty("height",heartSize+"px","important");
}
const tall=trigger.querySelector(".ast-favorite-tall-heart");
if(tall){tall.style.width=symbolBox+"px";tall.style.height=symbolBox+"px";}
}
const allowedFavoriteSymbols=["original","♥","⛤","★","✤","✽","≛","⚝","✿","❀","❁","❃","❋","❊","❉","✾","✥","♣","♧","☘","❄","❅","❆","❈","☁","☂","✦","✧","✩","✪","✫","✵","✶"];
let selectedFavoriteSymbol=a.favoriteSymbol||"original";
if(!allowedFavoriteSymbols.includes(selectedFavoriteSymbol)){selectedFavoriteSymbol="original";data.appearance.favoriteSymbol="original";}
const useCustomSymbol= a.useCustomSymbol===true;
const favoriteSymbol=useCustomSymbol?selectedFavoriteSymbol:"original";
const symbolToggle=$("ast-use-custom-symbol");
if(symbolToggle)symbolToggle.checked=useCustomSymbol;
const originalHeart=` <svg class="ast-trigger-heart" viewBox="0 0 48 48" aria-hidden="true" focusable="false">
<defs>
<linearGradient id="astHeartGradient" x1="8" y1="5" x2="38" y2="44" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fff0fa"/>
<stop offset=".32" stop-color="#ff9bd2"/>
<stop offset=".72" stop-color="#ed4fae"/>
<stop offset="1" stop-color="#a91f78"/>
</linearGradient>
<linearGradient id="astHeartShine" x1="13" y1="7" x2="26" y2="27" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#fff" stop-opacity=".9"/>
<stop offset="1" stop-color="#fff" stop-opacity="0"/>
</linearGradient>
<filter id="astHeartShadow" x="-30%" y="-25%" width="160%" height="165%">
<feGaussianBlur in="SourceAlpha" stdDeviation="1.1"/>
<feOffset dy="1.2"/>
<feComponentTransfer><feFuncA type="linear" slope=".42"/></feComponentTransfer>
<feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
</defs>
<path d="M24 41.2 7.2 24.7C-1.2 15.8 11.1 2.2 21.1 10.1L24 12.5l2.9-2.4c10-7.9 22.3 5.7 13.9 14.6Z"
fill="url(#astHeartGradient)" stroke="#ffd9f0" stroke-width="1.25" stroke-linejoin="round" filter="url(#astHeartShadow)"/>
<path d="M9.1 20.4c.1-6.7 7.1-10.5 12.2-6.5 1.1.9 1.8 1.9 2.7 3.1-4.4-2.5-8.7-.9-10.7 3.6-1.1 2.5-.7 5.4.5 7.8-3.1-2-4.8-4.7-4.7-8Z"
fill="url(#astHeartShine)" opacity=".85"/>
<path d="M29.1 11.3c3.7-1.5 7.4.4 8.8 3.5" fill="none" stroke="#fff" stroke-opacity=".72" stroke-width="1.5" stroke-linecap="round"/>
</svg>`;
if(trigger){
if(favoriteSymbol==="original"){
if(!trigger.querySelector(".ast-trigger-heart"))trigger.innerHTML=originalHeart;
}else{
let symbolNode=trigger.querySelector(".ast-trigger-symbol");
if(!symbolNode){trigger.innerHTML='<span class="ast-trigger-symbol" aria-hidden="true"></span>';symbolNode=trigger.querySelector(".ast-trigger-symbol");}
if(favoriteSymbol==="loopFlower"){
symbolNode.innerHTML='<svg viewBox="0 0 100 100" aria-hidden="true"><g fill="none" stroke="currentColor" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"><path d="M50 48 C42 42 35 38 35 28 C35 18 42 12 50 12 C58 12 65 18 65 28 C65 38 58 42 50 48Z"/><path d="M52 50 C58 42 62 35 72 35 C82 35 88 42 88 50 C88 58 82 65 72 65 C62 65 58 58 52 50Z"/><path d="M50 52 C58 58 65 62 65 72 C65 82 58 88 50 88 C42 88 35 82 35 72 C35 62 42 58 50 52Z"/><path d="M48 50 C42 58 38 65 28 65 C18 65 12 58 12 50 C12 42 18 35 28 35 C38 35 42 42 48 50Z"/></g></svg>';
}else symbolNode.textContent=favoriteSymbol;
symbolNode.style.color=a.symbol||"#ffffff";
const glowColor=a.glow||"#00d4ff";
const glowMode=["none","soft","neon","strong"].includes(a.glowMode)?a.glowMode:"neon";
const symbolGlow={
none:{filter:"none",text:"none"},
soft:{filter:"drop-shadow(0 0 3px "+glowColor+"88)",text:"0 0 3px "+glowColor+"88"},
neon:{filter:"drop-shadow(0 0 3px "+glowColor+") drop-shadow(0 0 8px "+glowColor+"bb)",text:"0 0 3px "+glowColor+", 0 0 8px "+glowColor},
strong:{filter:"drop-shadow(0 0 5px "+glowColor+") drop-shadow(0 0 12px "+glowColor+") drop-shadow(0 0 20px "+glowColor+"cc)",text:"0 0 5px "+glowColor+", 0 0 12px "+glowColor+", 0 0 20px "+glowColor}
}[glowMode];
symbolNode.style.setProperty("filter",symbolGlow.filter);
symbolNode.style.setProperty("text-shadow",symbolGlow.text);
/* Contour de découpe autour de la silhouette du glyphe ou du symbole SVG. */
const outlineWidth=[0,1,2,3,4].includes(Number(a.symbolOutlineWidth))?Number(a.symbolOutlineWidth):0;
const outlineColor=a.symbolOutline||"#ffffff";
symbolNode.style.setProperty("-webkit-text-stroke",outlineWidth+"px "+outlineColor);
symbolNode.style.setProperty("paint-order","stroke fill");
const outlinePaths=symbolNode.querySelectorAll("svg path");
outlinePaths.forEach(path=>{
path.setAttribute("stroke",outlineWidth?outlineColor:"none");
path.setAttribute("stroke-width",String(outlineWidth*2));
path.setAttribute("stroke-linejoin","round");
path.setAttribute("paint-order","stroke fill");
});
const buttonSize=[45,60,75].includes(Number(a.triggerSize))?Number(a.triggerSize):60;
const symbolSize=Math.round(buttonSize*0.48);
const symbolBox=Math.round(buttonSize*0.72);
symbolNode.style.setProperty("display","flex","important");
symbolNode.style.setProperty("align-items","center","important");
symbolNode.style.setProperty("justify-content","center","important");
symbolNode.style.setProperty("width",symbolBox+"px","important");
symbolNode.style.setProperty("height",symbolBox+"px","important");
symbolNode.style.setProperty("max-width",symbolBox+"px","important");
symbolNode.style.setProperty("max-height",symbolBox+"px","important");
let adjustedSymbolSize=symbolSize;
if(favoriteSymbol==="heartTall") adjustedSymbolSize=Math.round(symbolSize*0.86);
else if(["♡","☻","♠︎"].includes(favoriteSymbol)) adjustedSymbolSize=symbolSize+4;
symbolNode.style.setProperty("font-size",adjustedSymbolSize+"px","important");
symbolNode.style.setProperty("line-height","1","important");
const tall=symbolNode.querySelector(".ast-favorite-tall-heart");
if(tall){tall.style.width=symbolBox+"px";tall.style.height=symbolBox+"px";}
trigger.style.setProperty("--ast-trigger-symbol-color",a.symbol||"#ffffff");
}
}
document.querySelectorAll(".ast-symbol-choice").forEach(btn=>btn.classList.toggle("selected",btn.dataset.symbol===selectedFavoriteSymbol));
const heartColor=a.heart||"#ed4fae";
const heartStops=trigger ? trigger.querySelectorAll("linearGradient#astHeartGradient stop") : [];
if(heartStops.length>=4){
heartStops[0].setAttribute("stop-color",lightenHex(heartColor,48));
heartStops[1].setAttribute("stop-color",lightenHex(heartColor,20));
heartStops[2].setAttribute("stop-color",heartColor);
heartStops[3].setAttribute("stop-color",darkenHex(heartColor,45));
}
const originalHeartPath=trigger?trigger.querySelector(".ast-trigger-heart > path:first-of-type"):null;
if(originalHeartPath){
const outlineWidth=[0,1,2,3,4].includes(Number(a.symbolOutlineWidth))?Number(a.symbolOutlineWidth):0;
originalHeartPath.setAttribute("stroke",outlineWidth?(a.symbolOutline||"#ffffff"):"#ffd9f0");
originalHeartPath.setAttribute("stroke-width",outlineWidth?String(outlineWidth*2):"1.25");
originalHeartPath.setAttribute("stroke-linejoin","round");
originalHeartPath.setAttribute("paint-order","stroke fill");
}
const extraColors={name:"#e8dfff",link:"#00d4ff",date:"#eeeeee",calendarBg:"#29213f",calendarAccent:"#00d4ff",hour:"#00d4ff"};
Object.keys(extraColors).forEach(k=>panel.style.setProperty("--ast-"+k.replace(/[A-Z]/g,m=>"-"+m.toLowerCase()),a[k]||extraColors[k]));
const friendSiteNameSize=[10,12,14,16,18,20,22].includes(Number(a.friendSiteNameSize))?Number(a.friendSiteNameSize):16;
const friendSiteLinkSize=[10,12,14,16,18,20,22].includes(Number(a.friendSiteLinkSize))?Number(a.friendSiteLinkSize):14;
panel.style.setProperty("--ast-friend-site-name-size",friendSiteNameSize+"px");
panel.style.setProperty("--ast-friend-site-link-size",friendSiteLinkSize+"px");
panel.querySelectorAll("#ast-friends-list .ast-friend-info strong,#ast-links-list .ast-site-info strong").forEach(el=>el.style.setProperty("font-size",friendSiteNameSize+"px","important"));
panel.querySelectorAll("#ast-friends-list .ast-friend-info a,#ast-links-list .ast-site-info a.ast-link").forEach(el=>el.style.setProperty("font-size",friendSiteLinkSize+"px","important"));
const panelBg=a.panel||"#17132b";
const pageBg=a.page||"#211936";
const textColor=a.text||"#eeeeee";
const titleColor=a.title||"#00d4ff";
const borderColor=a.border||"#7654a5";
const tabsColor=a.tabs||"#17132b";
/* La couleur couvre toute la languette visible (::before), pas seulement son fond transparent.
Le cadre arc-en-ciel extérieur n'est pas ciblé. */
let tabColorStyle=$("ast-tab-color-style");
if(!tabColorStyle){tabColorStyle=document.createElement("style");tabColorStyle.id="ast-tab-color-style";document.head.appendChild(tabColorStyle);}
tabColorStyle.textContent="#ast-rail .ast-tab::before{background:linear-gradient(145deg,"+tabsColor+" 0%,#100a22 100%) !important;}";
/* Plusieurs règles du thème arc-en-ciel utilisent !important.
Les réglages personnels doivent donc aussi être appliqués en important. */
panel.style.setProperty("background",panelBg,"important");
panel.style.fontFamily=a.font||"Arial, sans-serif";
const rail=$("ast-rail");
if(rail)rail.style.setProperty("background",panelBg,"important");
if(main)main.style.setProperty("background",pageBg,"important");
content.style.setProperty("background",pageBg,"important");
document.querySelectorAll(".ast-page").forEach(page=>page.style.setProperty("background",pageBg,"important"));
content.style.setProperty("color",textColor,"important");
const bodySize=Math.min(26,Math.max(12,Number(a.size)||14));
const titleSize=Math.min(30,Math.max(14,Number(a.titleSize)||18));
let generalTextStyle=$("ast-general-text-style");
if(!generalTextStyle){generalTextStyle=document.createElement("style");generalTextStyle.id="ast-general-text-style";document.head.appendChild(generalTextStyle);}
/* Couleur générale appliquée aux textes ordinaires, sans écraser les réglages dédiés. */
generalTextStyle.textContent=[
/* Tailles séparées : le texte courant et les titres ont chacun leur réglage. */
"#ast-content p:not(.ast-muted),#ast-content li,#ast-content label,#ast-content small,#ast-content .ast-description,#ast-content .ast-hint,#ast-content .ast-empty,#ast-content .ast-setting,#ast-content .ast-card p{font-size:"+bodySize+"px !important;}",
"#ast-content h1,#ast-content h2,#ast-content h3,#ast-content h4,#ast-content h5,#ast-content h6,.ast-page .ast-section-title{font-size:"+titleSize+"px !important;}",
/* Texte général: contenu ordinaire; les dates, noms et heures ont leurs catégories dédiées. */
"#ast-content p:not(.ast-muted):not(#page-calendar *), #ast-content li:not(#page-calendar *), #ast-content label:not(#page-calendar *), #ast-content small:not(#page-calendar *), #ast-content span:not(.ast-tab-label):not(.ast-clock-name):not(#page-calendar *), #ast-content .ast-description:not(#page-calendar *), #ast-content .ast-hint:not(#page-calendar *), #ast-content .ast-empty:not(#page-calendar *), #ast-content .ast-setting:not(#page-calendar *), #ast-content .ast-card p:not(#page-calendar *) {color:"+textColor+" !important;}",
"#ast-content .ast-clock .ast-clock-name{color:var(--ast-name,#e8dfff) !important;}",
"#ast-content input:not([type=color]):not(#page-calendar *), #ast-content textarea:not(#page-calendar *), #ast-content select:not(#page-calendar *) {color:"+textColor+";}",
"#page-calendar #ast-calendar-month{color:var(--ast-calendar-accent,#00d4ff) !important;}",
"#page-calendar #ast-calendar-grid>div>div{color:var(--ast-date,#eeeeee) !important;}",
"#page-calendar #ast-calendar-grid .ast-calendar-day{background:var(--ast-calendar-bg,#29213f) !important;color:var(--ast-date,#eeeeee) !important;border-color:var(--ast-calendar-accent,#00d4ff) !important;}",
"#page-calendar #ast-calendar-grid .ast-calendar-marker{color:inherit;}"
].join("\\n");
head.style.setProperty("background",panelBg,"important");
head.style.setProperty("border-bottom-color",borderColor,"important");
panel.style.setProperty("border-left-color",borderColor,"important");
panel.style.setProperty("--ast-user-bg",pageBg);
panel.style.setProperty("--ast-user-text",textColor);
panel.style.setProperty("--ast-user-border",borderColor);
const title=$("ast-head").querySelector("strong"); if(title)title.style.setProperty("color",titleColor,"important");
document.querySelectorAll(".ast-page h3,.ast-page h4").forEach(el=>{el.style.setProperty("color",titleColor,"important");});
document.querySelectorAll(".ast-friend-name,.ast-site-name,.ast-clock-name").forEach(el=>el.style.setProperty("color",a.name||"#e8dfff","important"));
document.querySelectorAll(".ast-friend-link,.ast-site-link").forEach(el=>el.style.setProperty("color",a.link||"#00d4ff","important"));
document.querySelectorAll(".ast-page details,.ast-personal-box,.ast-backup,.ast-credits").forEach(el=>{el.style.setProperty("border-color",borderColor,"important");});
let themeStyle=$("ast-user-theme-style");
if(!themeStyle){themeStyle=document.createElement("style");themeStyle.id="ast-user-theme-style";document.head.appendChild(themeStyle);}
/* Les éléments arc-en-ciel gardent toujours leurs couleurs originales.
Aucun réglage de fond ou de couleur générale ne les recolore. */
const rainbow=true;
themeStyle.textContent="";
["panel","page","text","title","border","tabs","trigger","heart","symbol","glow","triggerBorder","name","link","date","calendarBg","calendarAccent","hour"].forEach(k=>{const el=$("ast-color-"+k);if(el)el.value=a[k]||({panel:"#17132b",page:"#211936",text:"#eeeeee",title:"#00d4ff",border:"#7654a5",tabs:"#17132b",trigger:"#7040bf",heart:"#ed4fae",symbol:"#ffffff",glow:"#00d4ff",triggerBorder:"#55eaff",symbolOutline:"#ffffff",symbolOutlineWidth:"0",favoriteSymbol:"original",useCustomSymbol:false,triggerSize:"60",name:"#e8dfff",link:"#00d4ff",date:"#eeeeee",calendarBg:"#29213f",calendarAccent:"#00d4ff",hour:"#00d4ff"}[k]);});
if($("ast-trigger-size"))$("ast-trigger-size").value=String([45,60,75].includes(Number(a.triggerSize))?Number(a.triggerSize):60);
if($("ast-glow-mode"))$("ast-glow-mode").value=["none","soft","neon","strong"].includes(a.glowMode)?a.glowMode:"neon";
if($("ast-trigger-border-width"))$("ast-trigger-border-width").value=String([0,1,2,3,4].includes(Number(a.triggerBorderWidth))?Number(a.triggerBorderWidth):2);
if($("ast-color-symbolOutline"))$("ast-color-symbolOutline").value=a.symbolOutline||"#ffffff";
if($("ast-symbol-outline-width"))$("ast-symbol-outline-width").value=String([0,1,2,3,4].includes(Number(a.symbolOutlineWidth))?Number(a.symbolOutlineWidth):0);
if($("ast-font-family"))$("ast-font-family").value=a.font||"Arial, sans-serif";
if($("ast-friend-site-name-size"))$("ast-friend-site-name-size").value=String(friendSiteNameSize);
if($("ast-friend-site-link-size"))$("ast-friend-site-link-size").value=String(friendSiteLinkSize);
if($("ast-font-size"))$("ast-font-size").value=String(Math.min(26,Math.max(12,Number(a.size)||14)));
if($("ast-title-size"))$("ast-title-size").value=String(Math.min(30,Math.max(14,Number(a.titleSize)||18)));
}
function renderUserTabs(){ /* Onglets personnels supplémentaires retirés. */ }
function activateTab(id,btn){
document.querySelectorAll(".ast-tab").forEach(b=>b.classList.remove("active"));
document.querySelectorAll(".ast-page").forEach(p=>p.classList.remove("active"));
btn.classList.add("active");const page=$("page-"+id);if(page)page.classList.add("active");
if(id==="calendar"){renderCalendar();renderNotes();}if(id==="tools")renderClocks();
}
function initPersonalization(){
applyAppearance();
["panel","page","text","title","border","tabs","trigger","heart","symbol","glow","triggerBorder","name","link","date","calendarBg","calendarAccent","hour"].forEach(k=>{const el=$("ast-color-"+k);if(!el)return;const update=()=>{data.appearance[k]=el.value;applyAppearance();save();};el.addEventListener("input",update);el.addEventListener("change",()=>{if(data.appearance[k]!==el.value)update();});});
$("ast-favorite-symbols")?.addEventListener("click",e=>{
const btn=e.target.closest(".ast-symbol-choice");
if(!btn)return;
// Choisir un symbole active aussi son affichage sur le bouton flottant.
// Le crochet reste synchronisé avec ce choix.
data.appearance.favoriteSymbol=btn.dataset.symbol;
data.appearance.useCustomSymbol=true;
const toggle=$("ast-use-custom-symbol");
if(toggle)toggle.checked=true;
applyAppearance();
save();
});
$("ast-use-custom-symbol")?.addEventListener("change",e=>{data.appearance.useCustomSymbol=e.target.checked;applyAppearance();save();});
$("ast-trigger-size")?.addEventListener("change",e=>{data.appearance.triggerSize=e.target.value;applyAppearance();save();});
$("ast-glow-mode")?.addEventListener("change",e=>{data.appearance.glowMode=e.target.value;applyAppearance();save();});
$("ast-trigger-border-width")?.addEventListener("change",e=>{data.appearance.triggerBorderWidth=e.target.value;applyAppearance();save();});
$("ast-color-symbolOutline")?.addEventListener("input",e=>{data.appearance.symbolOutline=e.target.value;applyAppearance();save();});
$("ast-symbol-outline-width")?.addEventListener("change",e=>{data.appearance.symbolOutlineWidth=e.target.value;applyAppearance();save();});
$("ast-trigger-reset-position")?.addEventListener("click",()=>{delete data.appearance.triggerLeft;delete data.appearance.triggerTop;applyAppearance();save();toast("Bouton replacé en bas à droite.");});
$("ast-font-family")?.addEventListener("change",e=>{data.appearance.font=e.target.value;applyAppearance();save();});
$("ast-font-size")?.addEventListener("change",e=>{data.appearance.size=Math.min(26,Math.max(12,Number(e.target.value)||14));applyAppearance();save();});
$("ast-title-size")?.addEventListener("change",e=>{data.appearance.titleSize=Math.min(30,Math.max(14,Number(e.target.value)||18));applyAppearance();save();});
$("ast-friend-site-name-size")?.addEventListener("change",e=>{data.appearance.friendSiteNameSize=[10,12,14,16,18,20,22].includes(Number(e.target.value))?Number(e.target.value):16;applyAppearance();save();});
$("ast-friend-site-link-size")?.addEventListener("change",e=>{data.appearance.friendSiteLinkSize=[10,12,14,16,18,20,22].includes(Number(e.target.value))?Number(e.target.value):14;applyAppearance();save();});
$("ast-reset-appearance")?.addEventListener("click",()=>{data.appearance={panel:"#17132b",page:"#211936",text:"#eeeeee",title:"#00d4ff",border:"#7654a5",tabs:"#17132b",trigger:"#7040bf",heart:"#ed4fae",symbol:"#ffffff",glow:"#00d4ff",triggerBorder:"#55eaff",favoriteSymbol:"original",triggerSize:"60",name:"#e8dfff",link:"#00d4ff",date:"#eeeeee",calendarBg:"#29213f",calendarAccent:"#00d4ff",hour:"#00d4ff",friendSiteNameSize:16,friendSiteLinkSize:14,rainbow:true,font:"Arial, sans-serif",size:14,titleSize:18};applyAppearance();save();toast("Apparence réinitialisée.");});
/* Les onglets personnels ont été retirés volontairement.
Ne pas rechercher leur ancien contrôle : cela interrompait
l'initialisation des autres réglages de personnalisation. */
}
function esc(s){
return String(s ?? "").replace(/[&<>"']/g,c=>({
"&":"&","<":"<",">":">",'"':""","'":"'"
}[c]));
}
function make(tag,cls,html){
const e=document.createElement(tag);
if(cls)e.className=cls;
if(html!==undefined)e.innerHTML=html;
return e;
}
let toastTimer;
function toast(msg){
let t=$("ast-toast");
if(!t){
t=make("div");t.id="ast-toast";
t.style.cssText="position:fixed;z-index:100003;bottom:110px;right:20px;background:#231155;color:white;padding:10px 15px;border:1px solid #00d4ff;border-radius:8px";
document.body.appendChild(t);
}
t.textContent=msg;t.style.display="block";
clearTimeout(toastTimer);
toastTimer=setTimeout(()=>t.style.display="none",1600);
}
/* OUVERTURE ET FERMETURE */
function openPanel(){
$("ast-panel").classList.add("open");
$("ast-overlay").style.display="block";
$("ast-trigger").style.display="none";
}
function closePanel(){
$("ast-panel").classList.remove("open");
$("ast-overlay").style.display="none";
$("ast-trigger").style.display="flex";
}
$("ast-trigger").addEventListener("click",openPanel);
// Déplacement libre du bouton flottant, avec mémorisation de sa position
(()=>{
const el=$("ast-trigger"); if(!el)return;
let startX=0,startY=0,originX=0,originY=0,moved=false,dragging=false;
el.style.touchAction="none";
el.addEventListener("pointerdown",e=>{
if(e.button!==undefined && e.button!==0)return;
const r=el.getBoundingClientRect();startX=e.clientX;startY=e.clientY;originX=r.left;originY=r.top;moved=false;dragging=true;
try{el.setPointerCapture(e.pointerId);}catch(_){}
});
el.addEventListener("pointermove",e=>{
if(!dragging)return;
const dx=e.clientX-startX,dy=e.clientY-startY;
if(Math.abs(dx)+Math.abs(dy)>5)moved=true;
if(!moved)return;
const x=Math.max(0,Math.min(window.innerWidth-el.offsetWidth,originX+dx));
const y=Math.max(0,Math.min(window.innerHeight-el.offsetHeight,originY+dy));
el.style.setProperty("left",x+"px","important");el.style.setProperty("top",y+"px","important");
el.style.setProperty("right","auto","important");el.style.setProperty("bottom","auto","important");
});
const finish=e=>{
if(!dragging)return;dragging=false;
if(moved){const r=el.getBoundingClientRect();data.appearance.triggerLeft=Math.round(r.left);data.appearance.triggerTop=Math.round(r.top);save();el.dataset.dragged="1";setTimeout(()=>delete el.dataset.dragged,250);}
};
el.addEventListener("pointerup",finish);el.addEventListener("pointercancel",finish);
el.addEventListener("click",e=>{if(moved || el.dataset.dragged==="1"){e.preventDefault();e.stopImmediatePropagation();moved=false;}},true);
})();
$("ast-close").addEventListener("click",closePanel);
$("ast-overlay").addEventListener("click",closePanel);
document.addEventListener("keydown",e=>{
if(e.key==="Escape")closePanel();
});
/* ONGLETs */
document.querySelectorAll(".ast-tab:not(.ast-user-tab)").forEach(btn=>{
btn.addEventListener("click",()=>activateTab(btn.dataset.tab,btn));
});
/* GRIMOIRE DES ASTUCES */
const astTips = [
/* RACCOURCIS CLAVIER */
{c:"shortcuts",t:"Annuler une action",d:"Tu as effacé ou déplacé quelque chose par erreur ? Ce raccourci annule la dernière action dans la plupart des logiciels.",s:"Ctrl + Z"},
{c:"shortcuts",t:"Rétablir ce que tu viens d’annuler",d:"Tu as annulé trop vite ? Rétablis l’action précédente.",s:"Ctrl + Y"},
{c:"shortcuts",t:"Couper, copier et coller",d:"Coupe un élément pour le déplacer, copie-le pour le reproduire, puis colle-le à l’endroit voulu.",s:"Ctrl + X • Ctrl + C • Ctrl + V"},
{c:"shortcuts",t:"Tout sélectionner",d:"Sélectionne rapidement tout le texte ou tous les éléments de la zone active.",s:"Ctrl + A"},
{c:"shortcuts",t:"Fermer l’onglet actuel",d:"Ferme l’onglet actif du navigateur. Pour récupérer un onglet fermé par erreur : Ctrl + Maj + T.",s:"Ctrl + W"},
{c:"shortcuts",t:"Retrouver un onglet fermé",d:"Rouvre le dernier onglet fermé. Répète le raccourci pour retrouver plusieurs onglets.",s:"Ctrl + Maj + T"},
{c:"shortcuts",t:"Rechercher un mot dans une page",d:"Ouvre la petite barre de recherche du navigateur ou de nombreux logiciels.",s:"Ctrl + F"},
{c:"shortcuts",t:"Enregistrer rapidement",d:"Enregistre ton document ou tes changements dans le logiciel utilisé.",s:"Ctrl + S"},
{c:"shortcuts",t:"Agrandir ou réduire une page",d:"Change le zoom du navigateur. Utilise Ctrl + 0 pour revenir à la taille normale.",s:"Ctrl + + • Ctrl + - • Ctrl + 0"},
{c:"shortcuts",t:"Passer d’une fenêtre à l’autre",d:"Garde Alt enfoncée et appuie sur Tab pour passer à une autre application ouverte.",s:"Alt + Tab"},
{c:"shortcuts",t:"Fermer la fenêtre active",d:"Ferme la fenêtre ou l’application active. Enregistre ton travail avant.",s:"Alt + F4"},
{c:"shortcuts",t:"Afficher le bureau",d:"Masque temporairement les fenêtres ouvertes pour afficher le bureau. Appuie de nouveau pour revenir.",s:"Windows + D"},
{c:"shortcuts",t:"Ouvrir l’explorateur de fichiers",d:"Accède rapidement à tes dossiers, images et documents.",s:"Windows + E"},
{c:"shortcuts",t:"Verrouiller l’ordinateur",d:"Verrouille ta session quand tu quittes ton ordinateur quelques minutes.",s:"Windows + L"},
{c:"shortcuts",t:"Ouvrir le Gestionnaire des tâches",d:"Affiche les applications et processus en cours. Tu peux sélectionner un programme bloqué et choisir Fin de tâche.",s:"Ctrl + Maj + Échap"},
{c:"shortcuts",t:"Ouvrir une nouvelle fenêtre privée",d:"Dans les navigateurs compatibles, ouvre une fenêtre de navigation privée.",s:"Ctrl + Maj + N (Chrome / Edge)"},
{c:"shortcuts",t:"Actualiser une page",d:"Recharge la page affichée dans ton navigateur.",s:"F5"},
{c:"shortcuts",t:"Recharger sans utiliser le cache",d:"Demande au navigateur de recharger la page en récupérant à nouveau ses ressources. Utile pour vérifier une modification web.",s:"Ctrl + F5"},
{c:"shortcuts",t:"Passer en plein écran",d:"Masque une partie de l’interface du navigateur. Appuie de nouveau sur F11 pour quitter.",s:"F11"},
/* DÉPANNAGE WINDOWS */
{c:"computer",t:"Un programme ne répond plus ?",d:"Ouvre le Gestionnaire des tâches avec Ctrl + Maj + Échap. Sélectionne le programme indiqué comme ne répondant pas, puis choisis Fin de tâche. Les changements non enregistrés peuvent être perdus.",s:"Ctrl + Maj + Échap"},
{c:"computer",t:"L’ordinateur semble complètement figé",d:"Attends quelques instants et vérifie si le voyant du disque travaille. Essaie ensuite Ctrl + Alt + Suppr. Si rien ne répond, le redémarrage forcé est un dernier recours et peut faire perdre le travail non enregistré.",s:"Ctrl + Alt + Suppr"},
{c:"computer",t:"Le clavier écrit des caractères étranges",d:"Vérifie la langue du clavier près de l’horloge Windows. Tu peux aussi basculer entre les dispositions installées avec Windows + Espace.",s:"Windows + Espace"},
{c:"computer",t:"Le son a disparu",d:"Clique sur l’icône du haut-parleur, vérifie le volume et assure-toi que la bonne sortie audio est sélectionnée (haut-parleurs ou casque).",s:"Icône 🔊 dans la barre des tâches"},
{c:"computer",t:"Une fenêtre a disparu de l’écran",d:"Utilise Alt + Tab pour vérifier si la fenêtre est encore ouverte. Si elle est sélectionnée, essaie Windows + Flèche gauche ou droite pour la replacer.",s:"Alt + Tab"},
{c:"computer",t:"Faire apparaître le menu de sécurité Windows",d:"Affiche les options pour verrouiller la session, changer d’utilisateur ou ouvrir le Gestionnaire des tâches.",s:"Ctrl + Alt + Suppr"},
/* INTERNET */
{c:"internet",t:"Une page semble figée",d:"Essaie d’abord Échap, puis attends quelques secondes. Si seul l’onglet est bloqué, ferme-le avec Ctrl + W et rouvre-le. Si tout le navigateur est bloqué, utilise le Gestionnaire des tâches.",s:"Échap • Ctrl + W"},
{c:"internet",t:"Une page ne montre pas tes dernières modifications",d:"Recharge la page avec Ctrl + F5. Cela force un rechargement plus complet que F5 dans les navigateurs courants.",s:"Ctrl + F5"},
{c:"internet",t:"Rouvrir un onglet fermé par accident",d:"Récupère rapidement le dernier onglet fermé, même si tu l’as fermé sans le vouloir.",s:"Ctrl + Maj + T"},
{c:"internet",t:"Retrouver un site visité",d:"Ouvre l’historique de navigation pour retrouver une page consultée récemment.",s:"Ctrl + H"},
{c:"internet",t:"Télécharger un fichier",d:"Ouvre la liste des téléchargements du navigateur pour retrouver un fichier téléchargé.",s:"Ctrl + J"},
{c:"internet",t:"Ouvrir un lien dans un nouvel onglet",d:"Clique sur un lien avec la molette de la souris, ou utilise Ctrl + clic gauche.",s:"Ctrl + clic • clic molette"},
{c:"internet",t:"Vider le cache du navigateur",d:"Dans Chrome et Edge, ouvre les paramètres de suppression des données de navigation. Choisis les fichiers en cache; attention, ne coche pas les mots de passe si tu veux les conserver.",s:"Ctrl + Maj + Suppr"},
{c:"internet",t:"Zoomer sans modifier les réglages",d:"Agrandis ou réduis temporairement l’affichage d’une page, puis réinitialise avec Ctrl + 0.",s:"Ctrl + + • Ctrl + - • Ctrl + 0"},
/* CAPTURES ET VIDÉOS */
{c:"capture",t:"Capturer seulement une partie de l’écran",d:"L’écran devient gris et tu peux tracer un rectangle autour de la zone à capturer. L’image est copiée dans le presse-papiers; colle-la avec Ctrl + V.",s:"Windows + Maj + S"},
{c:"capture",t:"Faire une capture de tout l’écran",d:"La touche Impr écran copie généralement l’écran dans le presse-papiers. Colle ensuite l’image dans Paint, un document ou une conversation.",s:"Impr écran (PrtScn)"},
{c:"capture",t:"Enregistrer une vidéo de l’écran",d:"Sur Windows 10/11, la Xbox Game Bar peut enregistrer une application ou une fenêtre compatible. Appuie sur le raccourci pour démarrer ou arrêter l’enregistrement.",s:"Windows + Alt + R"},
{c:"capture",t:"Ouvrir les commandes d’enregistrement",d:"Affiche la Xbox Game Bar. Selon la version de Windows et l’application, certaines zones du bureau ne peuvent pas être enregistrées.",s:"Windows + G"},
{c:"capture",t:"Faire une capture et l’enregistrer automatiquement",d:"Sur de nombreux PC Windows, ce raccourci enregistre une capture complète dans le dossier Images > Captures d’écran.",s:"Windows + Impr écran"},
/* BLOGGER ET HTML */
{c:"blogger",t:"Retrouver un mot dans le code HTML Blogger",d:"Dans l’éditeur HTML du thème, utilise la recherche pour retrouver un identifiant, un titre ou un morceau de code. Fais une sauvegarde du thème avant les grosses modifications.",s:"Ctrl + F"},
{c:"blogger",t:"Revenir en arrière dans une modification",d:"Dans l’éditeur, essaie Ctrl + Z juste après une erreur. Le comportement peut varier selon l’éditeur et l’action effectuée.",s:"Ctrl + Z"},
{c:"blogger",t:"Prévisualiser avant de publier",d:"Utilise l’aperçu de Blogger pour vérifier la mise en page sur ordinateur et mobile avant de publier.",s:"Bouton Aperçu"},
{c:"blogger",t:"Retrouver rapidement un réglage dans Blogger",d:"Dans les paramètres ou menus longs, utilise la recherche du navigateur avec Ctrl + F et tape le nom du réglage.",s:"Ctrl + F"},
{c:"blogger",t:"Faire une sauvegarde du thème",d:"Dans Blogger, ouvre Thème puis le menu de personnalisation/sauvegarde et télécharge une copie du thème avant de modifier le code.",s:"Blogger → Thème → Sauvegarder"}
];
const astTipCategorySelect = $("ast-tip-category");
let astTipCategory = astTipCategorySelect ? astTipCategorySelect.value : "all";
function renderAstTips(){
const box=$("ast-tip-list"); if(!box)return;
const search=$("ast-tip-search");
const q=(search && search.value ? search.value : "").toLocaleLowerCase();
box.innerHTML="";
const matches=astTips.filter(x=>(astTipCategory==="all"||x.c===astTipCategory)&&
(x.t+" "+x.d+" "+x.s).toLocaleLowerCase().includes(q));
if(!matches.length){box.appendChild(make("div","ast-tip-empty","Aucune astuce trouvée."));return;}
matches.forEach(x=>{
const card=make("div","ast-tip-card");
card.dataset.category=x.c;
const title=make("strong","",x.t);
const desc=make("p","",x.d);
const shortcut=make("code","",x.s);
card.append(title,desc,shortcut);box.appendChild(card);
});
}
function showRandomAstTip(){
const tip=astTips[Math.floor(Math.random()*astTips.length)];
$("ast-tip-title").textContent=tip.t;
$("ast-tip-text").textContent=tip.d;
$("ast-tip-shortcut").textContent=tip.s;
}
$("ast-tip-next").addEventListener("click",showRandomAstTip);
$("ast-tip-search").addEventListener("input",renderAstTips);
if(astTipCategorySelect){
astTipCategorySelect.addEventListener("change",()=>{
astTipCategory=astTipCategorySelect.value;
renderAstTips();
});
}
renderAstTips();
/* ÉMOJIS — LISTE DU WIDGET FLOTTANT DE L'UTILISATRICE */
const emojiGroups=[
["Émojis Blogger", ["😀", "😁", "😂", "😃", "😄", "😅", "😆", "😇", "😈", "😉", "😊", "😋", "😌", "😍", "😎", "😏", "😐", "😑", "😒", "😓", "😔", "😕", "😖", "😗", "😘", "😙", "😛", "😚", "😜", "😝", "😞", "😟", "😠", "😡", "😢", "😣", "😤", "😥", "😦", "😧", "😨", "😩", "😪", "😫", "😬", "😶", "😵", "😴", "😳", "😲", "😱", "😰", "😯", "😮", "😭", "😷", "😸", "😹", "😺", "😻", "😼", "😽", "😾", "😿", "🙀", "🙅", "🙆", "🙇", "🙈", "🙉", "🙊", "🙋", "🙌", "🙍", "🙎", "🙏", "☝", "✊", "✋", "✌", "❤", "👀", "👂", "👃", "👄", "👎", "👍", "👌", "👋", "👊", "👉", "👈", "👇", "👆", "👅", "👏", "👐", "👤", "👥", "👦", "👧", "👨", "👩", "👪", "👫", "👵", "👴", "👳", "👲", "👱", "👰", "👯", "👮", "👭", "👬", "👶", "👷", "👸", "👹", "👺", "👻", "👼", "👽", "👾", "👿", "💑", "💏", "💋", "💇", "💆", "💅", "💃", "💂", "💁", "💀", "💓", "💔", "💕", "💖", "💗", "💘", "💙", "💚", "💛", "💜", "💨", "💧", "💦", "💥", "💤", "💣", "💢", "💟", "💞", "💝", "💩", "💪", "💫", "💬", "💭", "☕", "🌰", "🌱", "🌲", "🌳", "🌴", "🌵", "🌷", "🌸", "🌹", "🍃", "🍂", "🍁", "🍀", "🌿", "🌾", "🌽", "🌼", "🌻", "🌺", "🍄", "🍅", "🍆", "🍇", "🍈", "🍉", "🍊", "🍋", "🍌", "🍍", "🍗", "🍖", "🍕", "🍔", "🍓", "🍒", "🍑", "🍐", "🍏", "🍎", "🍚", "🍛", "🍜", "🍝", "🍞", "🍟", "🍠", "🍡", "🍫", "🍪", "🍩", "🍨", "🍧", "🍦", "🍥", "🍤", "🍣", "🍢", "🍬", "🍭", "🍮", "🍯", "🍰", "🍱", "🍲", "🍳", "🍴", "🍵", "🐁", "🐀", "🎂", "🍼", "🍻", "🍺", "🍹", "🍸", "🍷", "🍶", "🐂", "🐃", "🐄", "🐅", "🐆", "🐇", "🐈", "🐉", "🐊", "🐋", "🐌", "🐍", "🐎", "🐏", "🐐", "🐑", "🐒", "🐓", "🐔", "🐕", "🐖", "🐗", "🐘", "🐙", "🐚", "🐛", "🐜", "🐝", "🐞", "🐟", "🐠", "🐡", "🐢", "🐣", "🐤", "🐥", "🐦", "🐧", "🐨", "🐩", "🐪", "🐫", "🐬", "🐭", "🐮", "🐯", "🐰", "🐱", "🐲", "🐳", "🐴", "🐵", "🐶", "🐷", "🐸", "🐹", "🐺", "🐻", "🐼", "🐽", "🐾", "⌚", "⌛", "⏰", "⏳", "☎", "⚓", "✂", "✉", "✏", "🎀", "🎁", "👑", "👒", "👓", "👔", "👕", "👖", "👗", "👘", "👙", "👚", "👛", "👜", "👝", "👞", "👟", "👠", "👡", "👢", "👣", "💄", "💉", "💊", "💌", "💍", "💎", "💐", "💠", "💡", "💣", "💮", "💰", "💱", "💲", "💳", "💴", "💵", "💶", "💷", "💸", "💹", "💺", "💻", "💼", "💽", "💾", "💿", "📀", "📁", "📂", "📃", "📄", "📅", "📆", "📇", "📈", "📉", "📊", "📋", "📌", "📍", "📎", "📏", "📐", "📑", "📒", "📓", "📔", "📕", "📖", "📗", "📘", "📙", "📚", "📛", "📜", "📝", "📞", "📟", "📠", "📡", "📢", "📣", "📤", "📥", "📦", "📧", "📨", "📩", "📪", "📫", "📬", "📭", "📮", "📯", "📰", "📱", "📲", "📳", "📴", "📵", "📶", "📷", "📹", "📺", "📻", "📼", "🔋", "🔌", "🔍", "🔎", "🔏", "🔐", "🔑", "🔒", "🔔", "🔔", "🔕", "🔖", "🔗", "🔦", "🔧", "🔨", "🔩", "🔪", "🔫", "🔬", "🔭", "🔭", "🔮", "🕐", "🕑", "🕚", "🕙", "🎃", "🎄", "🎅", "🎆", "🎇", "🎈", "🎉", "🎊", "🎋", "🎌", "🎍", "🎎", "🎏", "🎐", "🎑", "🎒", "🎓", "🎠", "🎡", "🎢", "🎣", "🎤", "🎥", "🎦", "🎧", "🎨", "🎩", "🎪", "🎫", "🎬", "🎭", "🎮", "🎯", "🎰", "🎱", "🎲", "🎳", "🎴", "🎵", "🎶", "🎷", "🎸", "🎹", "🎺", "🎻", "🎼", "🎽", "🎾", "🎿", "🏀", "🏁", "🏂", "🏃", "🏄", "🏆", "🏇", "🏈", "🏉", "🏊", "💒", "♨", "♻", "♿", "⚠", "⚡", "⛏", "⛐", "⛑", "⛒", "⛓", "⛔", "⛕", "⛖", "⛗", "⛘", "⛙", "⛚", "⛛", "⛜", "⛟", "⛞", "⛠", "⛡", "⛨", "⛩", "⛪", "⛫", "⛬", "⛮", "⛯", "⛰", "⛱", "⛲", "⛳", "⛴", "帆", "⛵", "⛶", "⛷", "⛸", "⛹", "⛺", "⛻", "⛼", "⛽", "⛾", "⛿", "✈", "🏠", "🏡", "🏢", "🏤", "🏥", "バ", "ン", "ク", "🏧", "🏨", "🏩", "🏪", "🏫", "🏬", "🏭", "🏮", "🏯", "🏰", "💈", "🗻", "🗼", "🗼", "🗽", "🗾", "🗿", "🚀", "🚁", "🚂", "🚃", "🚄", "🚅", "🚆", "🚇", "🚈", "🚉", "🚊", "🚋", "🚌", "🚍", "🚎", "🚏", "🚐", "🚑", "🚒", "🚓", "🚔", "🚕", "🚖", "🚗", "🚘", "🚚", "🚙", "🚛", "🚜", "🚝", "🚞", "🚟", "🚠", "🚡", "🚢", "🚣", "🚤", "🚥", "🚦", "🚧", "🚨", "🚩", " ", "D", "O", "O", "R", "🚫", "🚬", "🚭", "🚮", "🚯", "🚰", "🚱", "🚲", "🚳", "🚴", "🚵", "🚶", "🚷", "🚸", "🚹", "🚺", "🚻", "🚼", "🚽", "🚾", "🚿", "🛀", "🛁", "🛂", "🛃", "🛄", "🛅", "☀", "☁", "☃", "☂", "☃", "☄", "★", "☆", "☇", "☈", "☉", "☊", "☋", "☌", "☍", "☔", "♈", "♉", "♊", "♋", "♌", "♍", "♎", "♏", "♐", "♑", "♒", "♓", "⛄", "⛅", "⛆", "⛇", "⛈", "⛎", "✨", "🌀", "🌁", "🌂", "🌃", "🌄", "🌅", "🌆", "🌇", "🌈", "🌉", "🌊", "🌋", "🌌", "🌍", "🌎", "🌏", "🌐", "🌑", "🌒", "🌓", "🌔", "🌕", "🌖", "🌗", "🌘", "🌙", "🌚", "🌛", "🌜", "🌝", "🌞", "🌟", "🌠", "🔥", "✅", "❌", "❓", "❗", "➕", "➖", "➗", "➰", "〰", "💯", "🔀", "🔁", "🔂", "🔃", "🔄", "🔅", "🔆", "🔋", "🔌", "🔍", "🔎", "🔏", "🔐", "🔑", "🔒", "🔓", "🔔", "🔕", "🔖", "🔗", "🔘", "🔙", "🔚", "🔛", "🔜", "🔝", "🔞", "🔟", "🔠", "🔡", "🔢", "🔣"]]
];
/* Blogger peut convertir les émojis du code collé en entités HTML.
On les reconvertit en vrais caractères avant l'affichage et la copie. */
function decodeBloggerEmoji(value){
let result=String(value);
for(let i=0;i<3;i++){
const decoder=document.createElement("textarea");
decoder.innerHTML=result;
const decoded=decoder.value;
if(decoded===result)break;
result=decoded;
}
return result;
}
emojiGroups.forEach(group=>{
group[1]=group[1]
.map(decodeBloggerEmoji)
.filter(e=>!/[A-Za-z\\u3040-\\u30ff\\u3400-\\u9fff]/u.test(e));
});
/* Déduplique toute la bibliothèque sans couper la liste à 400 éléments. */
(()=>{
const seen=new Set();
emojiGroups.forEach(group=>{
group[1]=group[1].filter(e=>{
if(seen.has(e))return false;
seen.add(e);return true;
});
});
})();
function copyEmoji(e){
if(navigator.clipboard && navigator.clipboard.writeText){
navigator.clipboard.writeText(e).then(()=>toast("Émoji copié !")).catch(()=>fallbackCopy(e));
}else fallbackCopy(e);
}
function fallbackCopy(e){
const t=document.createElement("textarea");t.value=e;
document.body.appendChild(t);t.select();
try{document.execCommand("copy");toast("Émoji copié !");}
catch(err){toast("Copie impossible");}
t.remove();
}
function emojiButton(emoji){
const b=make("button","ast-emoji");
b.textContent=emoji;
b.type="button";b.title="Cliquer pour copier";
b.addEventListener("click",()=>copyEmoji(emoji));
return b;
}
function renderEmojiLibrary(filter=""){
const box=$("ast-emoji-library");box.innerHTML="";
emojiGroups.forEach(([name,items])=>{
const found=items.filter(e=>!filter||e.includes(filter));
if(!found.length)return;
box.appendChild(make("div","ast-category",esc(name)));
const grid=make("div","ast-grid");
found.forEach(e=>{
const wrap=make("div");wrap.appendChild(emojiButton(e));grid.appendChild(wrap);
});
box.appendChild(grid);
});
}
$("ast-emoji-search").addEventListener("input",e=>renderEmojiLibrary(e.target.value.trim()));
/* MON ESPACE TO GO : mémorise les liens hébergés, sans bloquer les extensions */
function mediaCategory(url){
const path=(url.split(/[?#]/)[0]||"").toLowerCase();
const ext=(path.match(/\.([a-z0-9]+)$/)||[])[1]||"";
if(ext==="gif") return "gif";
if(/^(png|jpe?g|webp|bmp|avif|svg)$/.test(ext)) return "image";
if(ext==="psd") return "psd";
if(/^(zip|rar|7z|tar|gz|bz2|xz)$/.test(ext)) return "archive";
if(/^(mp3|wav|ogg|m4a|aac|flac|wma|aiff)$/.test(ext)) return "audio";
if(/^(mp4|webm|mov|avi|mkv|m4v|mpeg|mpg)$/.test(ext)) return "video";
return "other";
}
function mediaLabel(category){
return ({image:"IMAGE",gif:"GIF / ANIMATION",psd:"FICHIER PSD",archive:"ARCHIVE",
audio:"FICHIER AUDIO",video:"FICHIER VIDÉO",other:"LIEN / FICHIER"})[category]||"LIEN / FICHIER";
}
function mediaIcon(category){
return ({image:"🖼️",gif:"🎞️",psd:"🖌️",archive:"🗜️",audio:"🎵",video:"🎬",other:"📎"})[category]||"📎";
}
function renderPersonalMedia(){
const box=$("ast-personal-media-list");if(!box)return;
box.innerHTML="";
if(!Array.isArray(data.customMedia))data.customMedia=[];
const query=(($("ast-media-search")||{}).value||"").trim().toLowerCase();
const filter=(($("ast-media-filter")||{}).value||"all");
const matches=data.customMedia.map((item,index)=>({item,index,category:mediaCategory(item.url||"")}))
.filter(x=>(filter==="all"||x.category===filter)&&
(!query||((x.item.name||"").toLowerCase().includes(query)||(x.item.url||"").toLowerCase().includes(query))));
if(!matches.length){
box.appendChild(make("div","ast-personal-empty",data.customMedia.length?"Aucun fichier ne correspond à ta recherche.":"Ton espace est vide pour le moment."));
return;
}
matches.forEach(({item,index,category})=>{
const card=make("div","ast-personal-media-card");
const ext=((item.url||"").split(/[?#]/)[0].split(".").pop()||"").toUpperCase();
const isImage=category==="image"||category==="gif";
if(isImage){
const img=document.createElement("img");
img.src=item.url;img.alt=item.name||"Aperçu personnel";img.loading="lazy";
img.referrerPolicy="no-referrer";
img.addEventListener("error",()=>{img.alt="Aperçu indisponible — ouvre le lien pour vérifier";img.removeAttribute("src");});
card.appendChild(img);
}else{
card.appendChild(make("div","ast-personal-file-icon",mediaIcon(category)));
card.appendChild(make("small","ast-personal-file-type",mediaLabel(category)+(ext?" · "+ext:"")+" — ouvrir le lien pour consulter"));
}
const title=make("span","ast-personal-media-title",esc(item.name||mediaLabel(category)));
const actions=make("div","ast-personal-media-actions");
const open=document.createElement("a");
open.className="ast-btn small";open.textContent="Ouvrir";
open.href=item.url;open.target="_blank";open.rel="noopener noreferrer";
const copy=make("button","ast-btn small","Copier URL");
copy.type="button";copy.addEventListener("click",()=>copyText(item.url));
const remove=make("button","ast-btn small","Supprimer");
remove.type="button";remove.addEventListener("click",()=>{
data.customMedia.splice(index,1);save();renderPersonalMedia();toast("Retiré de ton espace");
});
actions.append(open,copy,remove);card.append(title,actions);box.appendChild(card);
});
}
function copyText(value){
if(navigator.clipboard&&navigator.clipboard.writeText){
navigator.clipboard.writeText(value).then(()=>toast("Adresse copiée !")).catch(()=>fallbackCopy(value));
}else fallbackCopy(value);
}
$("ast-add-media").addEventListener("click",()=>{
const name=$("ast-media-name").value.trim();
const raw=$("ast-media-url").value.trim();
if(!raw){toast("Colle d’abord une adresse URL");return;}
let url;
try{url=new URL(raw);}catch(e){toast("Cette adresse URL ne semble pas valide");return;}
if(url.protocol!=="http:"&&url.protocol!=="https:"){toast("Utilise une adresse qui commence par http:// ou https://");return;}
if(!Array.isArray(data.customMedia))data.customMedia=[];
if(data.customMedia.some(x=>x.url===url.href)){toast("Cette adresse est déjà dans ton espace");return;}
data.customMedia.push({name:name||"",url:url.href});
try{save();}catch(e){data.customMedia.pop();toast("Le navigateur ne peut plus enregistrer de données. Libère un peu d’espace.");return;}
$("ast-media-name").value="";$("ast-media-url").value="";
renderPersonalMedia();toast("Ajouté à la RÉSERVE !");
});
$("ast-media-search").addEventListener("input",renderPersonalMedia);
$("ast-media-filter").addEventListener("change",renderPersonalMedia);
/* POST-IT */
const noteColors=["#fff2a8","#ffd9e8","#d8f0ff","#dff4d2","#eadcff","#ffe2c4"];
function decodeVisibleEntities(value){
// Corrige aussi les entités qui ont été encodées plusieurs fois dans les anciennes données.
return String(value ?? "").replace(/&(?:amp;)*#(8230|x2026|183|xB7);/gi, (entity, code) => {
return /^(8230|x2026)$/i.test(code) ? "…" : "·";
});
}
function renderNotes(){
const box=$("ast-notes-list");box.innerHTML="";
document.querySelectorAll(".ast-postit[data-floating-note='1']").forEach(el=>el.remove());
data.notes.forEach((n,i)=>{
const card=make("div","ast-postit");
card.dataset.floatingNote="1";
card.style.background=n.bg||noteColors[i%noteColors.length];
card.style.color=n.color||"#302b25";
card.style.fontFamily=n.font||"Georgia";
const defaultLeft=24+(i%3)*28, defaultTop=110+(i%4)*28;
const left=Number.isFinite(Number(n.x))&&n.x!==undefined?Number(n.x):defaultLeft;
const topPos=Number.isFinite(Number(n.y))&&n.y!==undefined?Number(n.y):defaultTop;
card.style.left=Math.max(8,Math.min(left,window.innerWidth-290))+"px";
card.style.top=Math.max(8,Math.min(topPos,window.innerHeight-210))+"px";
n.rotation=Number.isFinite(Number(n.rotation))?Number(n.rotation):-1.5;
card.style.transform="rotate("+n.rotation+"deg)";
card.classList.add("style-"+(n.style||"tape"));
const pin=make("span","ast-postit-pin");
pin.setAttribute("aria-hidden","true");
card.appendChild(pin);
const header=make("div","ast-postit-header");
const gear=make("button","ast-postit-gear","⚙");
gear.type="button";gear.title="Réglages du post-it";
const del=make("button","ast-postit-delete","×");
del.type="button";del.title="Supprimer ce post-it";
del.addEventListener("click",()=>{
if(confirm("Supprimer ce post-it ?")){data.notes.splice(i,1);save();renderNotes();}
});
header.append(gear,del);card.appendChild(header);
const settings=make("div","ast-postit-settings");
settings.hidden=true;
const colorWrap=make("label","ast-note-setting","Papier");
const color=make("input");color.type="color";color.value=n.bg||noteColors[i%noteColors.length];
color.addEventListener("input",()=>{n.bg=color.value;card.style.background=n.bg;save();});
colorWrap.appendChild(color);
const inkWrap=make("label","ast-note-setting","Texte");
const ink=make("input");ink.type="color";ink.value=n.color||"#302b25";
ink.addEventListener("input",()=>{n.color=ink.value;card.style.color=n.color;save();});
inkWrap.appendChild(ink);
const fontWrap=make("label","ast-note-setting","Écriture");
const font=make("select");
["Georgia","Arial","Courier New","Verdana","Trebuchet MS"].forEach(v=>{const o=make("option","",v);o.value=v;font.appendChild(o);});
font.value=n.font||"Georgia";
font.addEventListener("change",()=>{n.font=font.value;txt.style.fontFamily=n.font;save();});
fontWrap.appendChild(font);
const styleWrap=make("label","ast-note-setting","Attache");
const style=make("select");
[["tape","Ruban adhésif"],["pin","Punaise"],["plain","Aucune"]].forEach(([v,t])=>{const o=make("option","",t);o.value=v;style.appendChild(o);});
style.value=n.style||"tape";
style.addEventListener("change",()=>{n.style=style.value;card.classList.remove("style-tape","style-pin","style-plain");card.classList.add("style-"+n.style);save();});
styleWrap.appendChild(style);
settings.append(colorWrap,inkWrap,fontWrap,styleWrap);
gear.addEventListener("click",()=>{settings.hidden=!settings.hidden;gear.classList.toggle("active",!settings.hidden);});
card.appendChild(settings);
const txt=make("div","ast-note-message");
txt.contentEditable="true";txt.setAttribute("role","textbox");txt.setAttribute("aria-label","Texte du post-it");
txt.dataset.placeholder="";txt.textContent=decodeVisibleEntities(n.text||"");
txt.style.fontFamily=n.font||"Georgia";
txt.addEventListener("input",()=>{n.text=txt.innerText;save();});
card.appendChild(txt);
const rotate=make("button","ast-postit-rotate","↻");
rotate.type="button";rotate.title="Incliner le post-it en glissant";
card.appendChild(rotate);
// Rotation robuste : cliquer-garder sur ↻ puis faire glisser autour du centre.
let rotating=false, rotationOffset=0, activeRotatePointer=null;
const rotationCenter=()=>{
// Les post-it sont en position fixed : offsetLeft/Top donnent le centre
// sans que la rotation courante fausse les coordonnées.
return {
x:card.offsetLeft+card.offsetWidth/2,
y:card.offsetTop+card.offsetHeight/2
};
};
const updateRotation=e=>{
if(!rotating || (activeRotatePointer!==null && e.pointerId!==activeRotatePointer))return;
const c=rotationCenter();
const angle=Math.atan2(e.clientY-c.y,e.clientX-c.x)*180/Math.PI;
n.rotation=Math.round((angle+rotationOffset)*10)/10;
card.style.transform="rotate("+n.rotation+"deg)";
};
const stopRotation=e=>{
if(!rotating || (e && activeRotatePointer!==null && e.pointerId!==activeRotatePointer))return;
rotating=false;activeRotatePointer=null;
card.classList.remove("is-rotating");
document.removeEventListener("pointermove",updateRotation,true);
document.removeEventListener("pointerup",stopRotation,true);
document.removeEventListener("pointercancel",stopRotation,true);
save();
};
rotate.addEventListener("pointerdown",e=>{
if(e.button!==0)return;
e.preventDefault();e.stopPropagation();
const c=rotationCenter();
const angle=Math.atan2(e.clientY-c.y,e.clientX-c.x)*180/Math.PI;
rotationOffset=n.rotation-angle;
rotating=true;activeRotatePointer=e.pointerId;
card.classList.add("is-rotating");
try{rotate.setPointerCapture(e.pointerId);}catch(_){}
document.addEventListener("pointermove",updateRotation,true);
document.addEventListener("pointerup",stopRotation,true);
document.addEventListener("pointercancel",stopRotation,true);
});
// Déplacement du papier sans interférer avec l'écriture, les réglages ou la rotation.
let dragStart=null;
card.addEventListener("pointerdown",e=>{
if(e.target.closest("input,select,button,[contenteditable='true'],textarea,a"))return;
if(e.button!==0)return;
dragStart={x:e.clientX,y:e.clientY,baseX:card.offsetLeft,baseY:card.offsetTop};
card.classList.add("is-dragging");card.setPointerCapture(e.pointerId);e.preventDefault();
});
card.addEventListener("pointermove",e=>{
if(!dragStart)return;
const dx=e.clientX-dragStart.x,dy=e.clientY-dragStart.y;
n.x=Math.max(8,Math.min(Math.round(dragStart.baseX+dx),window.innerWidth-card.offsetWidth-8));
n.y=Math.max(8,Math.min(Math.round(dragStart.baseY+dy),window.innerHeight-card.offsetHeight-8));
card.style.left=n.x+"px";card.style.top=n.y+"px";
});
const stopDrag=()=>{if(dragStart){dragStart=null;card.classList.remove("is-dragging");save();}};
card.addEventListener("pointerup",stopDrag);card.addEventListener("pointercancel",stopDrag);
document.body.appendChild(card);
});
}
$("ast-add-note").addEventListener("click",()=>{
data.notes.push({
text:"",bg:noteColors[data.notes.length%noteColors.length],
color:"#302b25",font:"Georgia",style:"tape",rotation:-1.5,
x:24+(data.notes.length%3)*28,y:110+(data.notes.length%4)*28
});
save();renderNotes();
});
/* DATE */
let calDate=new Date();
const birthdaySymbols={
square:"",heart:"♥",star:"★",clover:"♣",
spade:"♠",crown:"♛",diamond:"♦",flower:"✿"
};
function birthdaySymbolFor(person){
if((person.marker || "square")==="custom") return (person.customSymbol || "★").trim();
return birthdaySymbols[person.marker || "square"] || "★";
}
function birthdayMatchesDate(b,date){
if(!b.date)return false;
return b.date===date || (b.repeat && b.date.slice(5)===date.slice(5));
}
function renderCalendar(){
const y=calDate.getFullYear(),m=calDate.getMonth();
$("ast-calendar-month").innerHTML=
"<h3>"+calDate.toLocaleDateString("fr-CA",{month:"long",year:"numeric"})+"</h3>";
const first=new Date(y,m,1).getDay();
const days=new Date(y,m+1,0).getDate();
const names=["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"];
const grid=make("div");
grid.style.cssText="display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center";
names.forEach(n=>grid.appendChild(make("div","ast-muted",n)));
for(let i=0;i<first;i++)grid.appendChild(make("div"));
for(let d=1;d<=days;d++){
const date=y+"-"+String(m+1).padStart(2,"0")+"-"+String(d).padStart(2,"0");
const dayBirthdays=data.birthdays.filter(x=>birthdayMatchesDate(x,date));
const b=make("button","ast-btn ast-calendar-day");
b.type="button";
b.style.margin="0";
b.appendChild(make("span","",String(d)));
if(dayBirthdays.length){
const markerWrap=make("span");
markerWrap.style.cssText="display:flex;align-items:center;justify-content:center;gap:2px;min-height:15px";
dayBirthdays.slice(0,3).forEach(person=>{
const marker=make("span","ast-calendar-marker square");
const color=person.color || "#287ee8";
marker.style.backgroundColor=color;
marker.style.color=color;
marker.title=person.name || "Date importante";
markerWrap.appendChild(marker);
});
b.appendChild(markerWrap);
b.style.borderColor="#00d4ff";
b.title=dayBirthdays.map(x=>x.name).join(", ");
}
b.addEventListener("click",()=>{
$("ast-birthday-date").value=date;
$("ast-birthday-name").focus();
});
grid.appendChild(b);
}
$("ast-calendar-grid").innerHTML="";
$("ast-calendar-grid").appendChild(grid);
renderBirthdays();
}
$("ast-prev-month").addEventListener("click",()=>{
calDate.setMonth(calDate.getMonth()-1);renderCalendar();
});
$("ast-next-month").addEventListener("click",()=>{
calDate.setMonth(calDate.getMonth()+1);renderCalendar();
});
function formatAgendaDate(value, includeYear=true){
if(!value) return "Date non précisée";
const parts=value.split("-").map(Number);
if(parts.length!==3 || !parts[0] || !parts[1] || !parts[2]) return value;
const date=new Date(parts[0],parts[1]-1,parts[2],12);
return date.toLocaleDateString("fr-CA",includeYear?{day:"numeric",month:"long",year:"numeric"}:{day:"numeric",month:"long"});
}
function updateBirthdayTypeFields(){
const type=$("ast-birthday-type").value;
const label=$("ast-birthday-date-label");
const repeat=$("ast-birthday-repeat");
const repeatLabel=$("ast-birthday-repeat-label");
if(type==="birthday"){
label.textContent="Date de naissance (avec l'année de naissance)";
repeat.checked=true; repeatLabel.textContent="Répéter chaque année (rappel d'anniversaire)";
}else if(type==="holiday"){
label.textContent="Date de la fête";
repeat.checked=true; repeatLabel.textContent="Répéter cette fête chaque année";
}else{
label.textContent="Date de l'événement";
repeat.checked=false; repeatLabel.textContent="Répéter cette date chaque année";
}
}
function renderBirthdays(){
const box=$("ast-birthday-list");
if(!box) return;
box.innerHTML="";
if(!Array.isArray(data.birthdays)) data.birthdays=[];
if(!data.birthdays.length){
box.appendChild(make("p","ast-muted","Aucune date enregistrée pour le moment."));
return;
}
data.birthdays.forEach((b,i)=>{
const item=make("div","ast-item");
const color=b.color || "#287ee8";
const marker=make("span","ast-calendar-marker square");
marker.style.cssText="display:inline-block;flex:0 0 13px;width:13px;height:13px;margin:0 8px 0 2px;border-radius:3px;background:"+color+";box-shadow:0 0 6px "+color;
const info=make("div"); info.style.cssText="flex:1;min-width:0;display:flex;flex-direction:column;gap:3px";
const typeLabels={birthday:"🎂 Anniversaire",holiday:"🎉 Fête",important:"📌 Date importante"};
const type=make("small","ast-muted",typeLabels[b.type||"birthday"]||"📌 Date importante");
const name=make("strong"); name.textContent=decodeVisibleEntities(b.name||"Sans nom");
const details=make("div","ast-muted");
details.textContent=decodeVisibleEntities(formatAgendaDate(b.date,true)+(b.repeat?" · Chaque année":" · Date unique"));
info.append(type,name,details);
const del=make("button","ast-btn small ast-birthday-delete","×");
del.type="button"; del.title="Supprimer";
del.setAttribute("aria-label","Supprimer : "+(b.name||"cette date"));
del.style.cssText="min-width:28px;width:28px;height:28px;padding:0;font-size:18px;line-height:1;border-radius:50%;flex:0 0 28px";
del.addEventListener("click",()=>{data.birthdays.splice(i,1);save();renderCalendar();});
item.style.cssText="display:flex;align-items:center;gap:8px;margin:7px 0;padding:9px 10px;border:1px solid rgba(128,80,201,.45);border-radius:9px;background:rgba(33,25,54,.45)";
item.append(marker,info,del); box.appendChild(item);
});
}
$("ast-birthday-type").addEventListener("change",updateBirthdayTypeFields);
updateBirthdayTypeFields();
$("ast-add-birthday").addEventListener("click",()=>{
try{
const name=$("ast-birthday-name").value.trim();
const date=$("ast-birthday-date").value;
const type=$("ast-birthday-type").value||"birthday";
if(!name||!date){toast("Entre un nom et une date avant d'ajouter.");return;}
if(!Array.isArray(data.birthdays)) data.birthdays=[];
data.birthdays.push({name,date,type,repeat:$("ast-birthday-repeat").checked,marker:"square",color:$("ast-birthday-color").value||"#287ee8"});
save();
$("ast-birthday-name").value="";
renderCalendar();
toast("Date ajoutée à la liste !");
}catch(error){
console.error("Erreur lors de l'ajout d'une date :",error);
toast("Impossible d'ajouter cette date. Vérifie le stockage du navigateur.");
}
});
/* HORLOGES */
function renderClocks(){
const box=$("ast-clocks");box.innerHTML="";
data.cities.forEach((c,i)=>{
const clock=make("div","ast-clock");
const name=make("span","ast-clock-name",esc(c.name));
const time=make("b","","00:00");
clock.append(name,time);
if(i>=6){
const del=make("button","ast-btn small","×");
del.type="button";
del.addEventListener("click",()=>{
data.cities.splice(i,1);save();renderClocks();
});
clock.appendChild(del);
}
box.appendChild(clock);
try{
time.textContent=new Intl.DateTimeFormat("fr-CA",{
timeZone:c.zone,hour:"2-digit",minute:"2-digit",
hour12:false
}).format(new Date());
}catch(e){time.textContent="--:--";}
});
}
$("ast-add-city").addEventListener("click",()=>{
const name=$("ast-city-name").value.trim();
const zone=$("ast-city-zone").value;
if(!name){toast("Écris le nom de la ville");return;}
if(data.cities.length>=8){toast("Maximum de 8 villes");return;}
data.cities.push({name,zone});
$("ast-city-name").value="";save();renderClocks();
});
setInterval(renderClocks,15000);
/* Déplacement par glisser-déposer des cartes Amis et Sites. */
function enableCardReordering(container, collection, render){
let draggingIndex=null;
Array.from(container.children).forEach((card,index)=>{
if(!card.classList.contains("ast-friend-item") && !card.classList.contains("ast-item"))return;
card.draggable=true;
card.style.cursor="grab";
card.addEventListener("dragstart",e=>{
draggingIndex=index;card.classList.add("ast-card-dragging");
e.dataTransfer.effectAllowed="move";
try{e.dataTransfer.setData("text/plain",String(index));}catch(_){}
});
card.addEventListener("dragover",e=>{if(draggingIndex!==null){e.preventDefault();e.dataTransfer.dropEffect="move";}});
card.addEventListener("drop",e=>{
e.preventDefault();
const from=draggingIndex,to=index;
if(from===null||from===to)return;
const moved=collection.splice(from,1)[0];collection.splice(to,0,moved);
draggingIndex=null;save();render();
});
card.addEventListener("dragend",()=>{draggingIndex=null;card.classList.remove("ast-card-dragging");});
});
}
/* AMIS — BLOGS DES AMIES */
function renderFriends(){
const box=$("ast-friends-list");box.innerHTML="";
if(!data.friends.length){box.classList.remove("ast-friends-scroll");box.appendChild(make("p","ast-muted","Aucun blog ajouté pour le moment."));return;}
box.classList.toggle("ast-friends-scroll",data.friends.length>=6);
data.friends.forEach((f,i)=>{
const item=make("div","ast-friend-item"),info=make("div","ast-friend-info");
const title=make("strong");title.textContent=f.name;title.title=f.name;
const a=make("a","ast-link");a.textContent=f.url;a.href=f.url;a.target="_blank";a.rel="noopener noreferrer";a.title=f.url;
info.append(title,a);
const actions=make("div","ast-friend-actions");
const edit=make("button","ast-btn ast-friend-action ast-friend-edit","☆");edit.type="button";edit.title="Modifier";edit.setAttribute("aria-label","Modifier "+f.name);
edit.addEventListener("click",()=>{$("ast-friend-name").value=f.name;$("ast-friend-url").value=f.url;data.friends.splice(i,1);save();renderFriends();$("ast-friend-name").focus();});
const del=make("button","ast-btn ast-friend-action ast-friend-delete","×");del.type="button";del.title="Supprimer";del.setAttribute("aria-label","Supprimer "+f.name);
del.addEventListener("click",()=>{if(confirm("Supprimer le blog de "+f.name+" ?")){data.friends.splice(i,1);save();renderFriends();}});
actions.append(edit,del);
item.append(info,actions);box.appendChild(item);
});
enableCardReordering(box,data.friends,renderFriends);
}
$("ast-add-friend").addEventListener("click",()=>{
const name=$("ast-friend-name").value.trim(),raw=$("ast-friend-url").value.trim();
if(!name||!raw){toast("Entre le nom et l'adresse du blog");return;}
let url;try{url=new URL(/^https?:\/\//i.test(raw)?raw:"https://"+raw).href;}catch(e){toast("Adresse invalide");return;}
data.friends.push({name,url});save();$("ast-friend-name").value="";$("ast-friend-url").value="";renderFriends();toast("Blog ajouté !");
});
/* SITES */
let editingLinkIndex=null;
function renderLinks(){
const box=$("ast-links-list");box.innerHTML="";
data.links.forEach((l,i)=>{
const item=make("div","ast-item ast-link-item");
const info=make("div","ast-friend-info ast-site-info");
const title=make("strong");title.textContent=l.name||l.url;title.title=l.name||l.url;
const a=make("a","ast-link");a.textContent=l.url;
a.href=l.url;a.target="_blank";a.rel="noopener noreferrer";
a.title=l.url;
info.append(title,a);
item.appendChild(info);
const actions=make("div","ast-link-actions ast-friend-actions");
const edit=make("button","ast-btn ast-friend-action ast-friend-edit ast-link-edit","☆");
edit.type="button";edit.title="Modifier";edit.setAttribute("aria-label","Modifier "+(l.name||"le site"));edit.addEventListener("click",()=>{
$("ast-link-name").value=l.name||"";
$("ast-link-url").value=l.url||"";
$("ast-link-category").value=l.category||"";
editingLinkIndex=i;
const addButton=$("ast-add-link");if(addButton)addButton.textContent="Enregistrer les modifications";
$("ast-link-name").focus();
});
const del=make("button","ast-btn ast-friend-action ast-friend-delete ast-link-delete","×");
del.type="button";del.title="Supprimer";del.setAttribute("aria-label","Supprimer "+(l.name||"le site"));
del.addEventListener("click",()=>{
if(confirm("Supprimer le site « "+(l.name||l.url)+" » ?")){
data.links.splice(i,1);save();renderLinks();
}
});
actions.append(edit,del);item.appendChild(actions);box.appendChild(item);
});
enableCardReordering(box,data.links,renderLinks);
}
$("ast-add-link").addEventListener("click",()=>{
const name=$("ast-link-name").value.trim();
const url=$("ast-link-url").value.trim();
const category=$("ast-link-category").value.trim();
if(!name||!url){toast("Entre le nom et l'adresse du site");return;}
let safe;
try{safe=new URL(/^https?:\/\//i.test(url)?url:"https://"+url);}
catch(e){toast("Adresse invalide");return;}
if(!["http:","https:"].includes(safe.protocol)){
toast("Adresse invalide");return;
}
const updated={name,url:safe.href,category};
if(editingLinkIndex!==null){data.links[editingLinkIndex]=updated;editingLinkIndex=null;$("ast-add-link").textContent="Ajouter le lien";}
else data.links.push(updated);
save();
$("ast-link-name").value="";
$("ast-link-url").value="";
$("ast-link-category").value="";
renderLinks();toast("Lien ajouté !");
});
/* OUTILS */
function result(id,text){$(id).textContent=text;}
function num(id){return Number($(id).value);}
function convert(value,from,to,units){
return value*units[from]/units[to];
}
// Facteurs exprimés en mètres : unités métriques et impériales.
const metricUnits={mm:0.001,cm:0.01,m:1,km:1000,in:0.0254,ft:0.3048,yd:0.9144,mi:1609.344};
const metricNames={mm:"mm",cm:"cm",m:"m",km:"km",in:"po",ft:"pi",yd:"vg",mi:"mi"};
$("ast-metric-convert").addEventListener("click",()=>{
const v=num("ast-metric-value");
const from=$("ast-metric-from").value;
const to=$("ast-metric-to").value;
if(!Number.isFinite(v)||$("ast-metric-value").value.trim()===""){
result("ast-metric-result","Entre une valeur à convertir.");return;
}
const converted=convert(v,from,to,metricUnits);
result("ast-metric-result",
converted.toLocaleString("fr-CA",{maximumFractionDigits:6})+" "+metricNames[to]);
});
$("ast-money-convert").addEventListener("click",async()=>{
const v=num("ast-money-value");
const from=$("ast-money-from").value;
const to=$("ast-money-to").value;
if(!Number.isFinite(v)){
result("ast-money-result","Entre un montant valide.");return;
}
if(from===to){result("ast-money-result",v.toFixed(2)+" "+to);return;}
result("ast-money-result","Récupération du taux...");
try{
const response=await fetch(
"https://api.frankfurter.dev/v1/latest?base="+
encodeURIComponent(from)+"&symbols="+encodeURIComponent(to)
);
if(!response.ok)throw new Error();
const json=await response.json();
const rate=json.rates[to];
if(!rate)throw new Error();
result("ast-money-result",
(v*rate).toLocaleString("fr-CA",{maximumFractionDigits:2})+
" "+to+" (taux du "+json.date+")"
);
}catch(e){
result("ast-money-result","Taux indisponible. Réessaie plus tard.");
}
});
/* SAUVEGARDE / RESTAURATION */
$("ast-export-backup").addEventListener("click",exportBackup);
$("ast-import-backup").addEventListener("click",()=>$("ast-backup-file").click());
$("ast-backup-file").addEventListener("change",e=>{
const file=e.target.files && e.target.files[0];
importBackupFile(file);
});
/* INITIALISATION */
/* Afficher la bibliothèque avant les réglages de personnalisation. */
renderEmojiLibrary();
initPersonalization();
renderFriends();
renderPersonalMedia();
/* Les post-it sauvegardés ne se dessinent pas au chargement du fichier.
Ils seront affichés quand l'utilisateur ouvrira l'onglet Agenda. */
renderCalendar();
renderLinks();
renderClocks();
})();
</script>
<style>
/* ===== Bordure néon 2 px et halo très fin ===== */
.ast-tab.icon-tab::before{
border:2px solid currentColor !important;
border-right:0 !important;
box-shadow:
inset 0 0 5px #ffffff18,
inset 0 -7px 12px #16072988,
0 0 2px currentColor,
0 5px 10px #000b !important;
}
.ast-tab.icon-tab{
filter:drop-shadow(0 0 2px currentColor)
drop-shadow(0 4px 5px #05020d) !important;
}
.ast-tab.icon-tab:hover,
.ast-tab.icon-tab.active{
filter:brightness(1.12) saturate(1.12)
drop-shadow(0 0 2px currentColor)
drop-shadow(0 0 5px currentColor)
drop-shadow(0 5px 5px #000b) !important;
}
.ast-tab.icon-tab.active::before{
border:2px solid currentColor !important;
border-right:0 !important;
box-shadow:
inset 0 0 6px #ffffff20,
inset 0 -7px 12px #16072988,
0 0 2px currentColor,
0 0 5px currentColor,
0 6px 12px #000c !important;
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
</style>
<style>
/* ===== Correction : la lueur reste à l'intérieur des onglets ===== */
.ast-tab.icon-tab{
filter:drop-shadow(0 4px 5px #05020d) !important;
}
.ast-tab.icon-tab::before{
box-shadow:
inset 0 0 5px #ffffff18,
inset 0 -7px 12px #16072988,
0 5px 10px #000b !important;
}
.ast-tab.icon-tab:hover,
.ast-tab.icon-tab.active{
filter:brightness(1.12) saturate(1.12)
drop-shadow(0 5px 5px #000b) !important;
}
.ast-tab.icon-tab.active::before{
box-shadow:
inset 0 0 7px currentColor,
inset 0 0 5px #ffffff20,
inset 0 -7px 12px #16072988,
0 6px 12px #000c !important;
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
</style>
<style>
/* ===== Titre ESPACE TO GO : plus grand, sans les deux filets ===== */
#ast-head strong{
font-size:27px !important;
letter-spacing:2px !important;
padding:7px 0 !important;
border:0 !important;
background:transparent !important;
box-shadow:none !important;
text-shadow:0 1px 2px #10275d,0 0 5px #ffffffaa,0 0 13px #00eaff !important;
}
@media(max-width:480px){
#ast-head strong{
font-size:22px !important;
letter-spacing:1.5px !important;
padding:7px 0 !important;
}
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
</style>
<style>
/* ===== Titre plus élégant : typographie douce et teinte aqua-lavande ===== */
#ast-head strong{
font-family: Georgia, "Palatino Linotype", "Book Antiqua", serif !important;
font-size:27px !important;
font-weight:600 !important;
letter-spacing:1.4px !important;
color:#b9e8f4 !important;
-webkit-text-fill-color:#b9e8f4 !important;
text-shadow:
0 0 3px #56dfff88,
0 0 8px #8268e866 !important;
}
@media(max-width:480px){
#ast-head strong{
font-size:23px !important;
letter-spacing:1px !important;
}
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
</style>
<style>
/* ===== Titre métallique chic : dégradé argent, perle et lavande ===== */
#ast-head strong{
font-family:"Palatino Linotype","Book Antiqua",Georgia,serif !important;
font-size:28px !important;
font-weight:700 !important;
font-style:normal !important;
letter-spacing:2px !important;
line-height:1.15 !important;
color:#d8d8ef !important;
background:linear-gradient(
180deg,
#ffffff 0%,
#d9e7f5 20%,
#a9b9d8 42%,
#eee0f5 57%,
#b7a8d9 76%,
#eef5ff 100%
) !important;
-webkit-background-clip:text !important;
background-clip:text !important;
-webkit-text-fill-color:transparent !important;
text-shadow:
0 1px 0 #34265f,
0 2px 2px #08051a,
0 0 7px #8d8bff55 !important;
letter-spacing:2px !important;
padding:7px 0 !important;
border:0 !important;
box-shadow:none !important;
}
@media(max-width:480px){
#ast-head strong{
font-size:23px !important;
letter-spacing:1.3px !important;
}
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
</style>
<style>
/* ===== ESPACE TO GO : lettres raffinées, dégradé sombre multicolore ===== */
#ast-head strong{
font-family:"Palatino Linotype", "Book Antiqua", "URW Palladio L", Georgia, serif !important;
font-size:29px !important;
font-weight:600 !important;
font-style:italic !important;
letter-spacing:1.5px !important;
line-height:1.15 !important;
color:#594078 !important;
background:linear-gradient(
100deg,
#42265f 0%,
#31517f 28%,
#286b78 52%,
#59417e 76%,
#35234f 100%
) !important;
-webkit-background-clip:text !important;
background-clip:text !important;
-webkit-text-fill-color:transparent !important;
text-shadow:
0 1px 1px #c3b9ed55,
0 2px 3px #09051caa,
0 0 5px #33235b55 !important;
padding:7px 0 !important;
border:0 !important;
box-shadow:none !important;
}
@media(max-width:480px){
#ast-head strong{
font-size:24px !important;
letter-spacing:1px !important;
}
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
</style>
<style>
/* ===== Lettres individuelles : bleu nuit, mauve, prune et rose profond ===== */
#ast-head strong{
display:inline-flex !important;
align-items:center !important;
gap:0 !important;
white-space:nowrap !important;
font-family:"Palatino Linotype","Book Antiqua",Georgia,serif !important;
font-size:29px !important;
font-weight:700 !important;
font-style:normal !important;
letter-spacing:0 !important;
line-height:1.15 !important;
padding:7px 0 !important;
border:0 !important;
background:none !important;
box-shadow:none !important;
-webkit-text-fill-color:initial !important;
text-shadow:none !important;
}
#ast-head strong .ast-title-letter{
display:inline-block !important;
color:var(--letter-color) !important;
-webkit-text-fill-color:var(--letter-color) !important;
-webkit-text-stroke:.35px #b39acb !important;
border:1px solid color-mix(in srgb, var(--letter-color) 78%, #c8b4e6) !important;
border-radius:3px !important;
padding:0 1px 1px !important;
margin:0 .5px !important;
text-shadow:0 1px 1px #070316, 0 0 4px color-mix(in srgb, var(--letter-color) 35%, transparent) !important;
box-shadow:inset 0 1px 0 #ffffff18, 0 1px 2px #0008 !important;
}
@media(max-width:480px){
#ast-head strong{font-size:23px !important;}
#ast-head strong .ast-title-letter{padding:0 .5px 1px !important;}
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
</style>
<style>
/* ===== Titre simple et affirmé : Arial Black, mauve profond ===== */
#ast-head strong{
display:inline-block !important;
font-family:"Arial Black", Arial, sans-serif !important;
font-size:25px !important;
font-weight:900 !important;
font-style:normal !important;
letter-spacing:3px !important;
line-height:1.2 !important;
color:#35164f !important;
-webkit-text-fill-color:#35164f !important;
background:none !important;
-webkit-background-clip:border-box !important;
background-clip:border-box !important;
-webkit-text-stroke:0 !important;
text-shadow:0 1px 0 #b9a0d6, 0 2px 3px #12082099 !important;
border:0 !important;
box-shadow:none !important;
padding:7px 0 !important;
}
@media(max-width:480px){
#ast-head strong{
font-size:20px !important;
letter-spacing:2px !important;
}
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
</style>
<style>
/* ===== CORRECTION FINALE DE LA BANNIERE ESPACE TO GO ===== */
/* On conserve une marge visible de chaque cote de la banniere. */
#ast-head{
box-sizing:border-box !important;
width:auto !important;
max-width:none !important;
min-width:0 !important;
margin:0 10px !important;
height:88px !important;
min-height:88px !important;
padding:10px 48px !important;
border:3px solid #00d4ff !important;
border-bottom-width:3px !important;
border-image:none !important;
border-radius:27px 27px 0 0 !important;
background:#231735 !important;
box-shadow:
0 0 5px #00d4ff99,
0 0 11px #00d4ff55,
inset 0 0 7px #00d4ff20 !important;
display:flex !important;
align-items:center !important;
justify-content:center !important;
overflow:hidden !important;
}
/* Titre raffine : serif, relief metallique mauve-lavande, sans lettres encadrees. */
#ast-head strong{
display:inline-block !important;
width:auto !important;
max-width:100% !important;
margin:0 auto !important;
padding:5px 0 !important;
border:0 !important;
border-radius:0 !important;
box-shadow:none !important;
background:linear-gradient(
180deg,
#d8c6ee 0%,
#a98acb 24%,
#76558f 48%,
#c1a5dc 68%,
#8d70ad 86%,
#d2bee8 100%
) !important;
-webkit-background-clip:text !important;
background-clip:text !important;
color:transparent !important;
-webkit-text-fill-color:transparent !important;
-webkit-text-stroke:0 !important;
font-family:"Palatino Linotype","Book Antiqua",Georgia,serif !important;
font-size:27px !important;
font-weight:600 !important;
font-style:italic !important;
letter-spacing:1.5px !important;
line-height:1.2 !important;
text-align:center !important;
white-space:nowrap !important;
text-shadow:
0 1px 1px #090516,
0 0 5px #9d75c955 !important;
}
#ast-close{
right:9px !important;
}
@media(max-width:480px){
#ast-head{
margin:0 7px !important;
height:76px !important;
min-height:76px !important;
padding:8px 38px !important;
border-width:2px !important;
border-radius:23px 23px 0 0 !important;
}
#ast-head strong{
font-size:clamp(18px,5vw,23px) !important;
letter-spacing:1px !important;
}
#ast-close{right:6px !important;}
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
</style>
<style>
/* Alignement vertical : le haut de la banniere rejoint le haut du premier onglet. */
#ast-head{
margin-top:20px !important;
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
</style>
<style>
/* ===== CADRE ARC-EN-CIEL : MEME EPAISSEUR EN HAUT ET EN BAS ===== */
#ast-panel{
box-sizing:border-box !important;
border:4px solid transparent !important;
border-image:linear-gradient(90deg,
#ff4fc8 0%, #ff9a42 16%, #ffe34f 32%, #70e85b 48%,
#35e7df 64%, #459cff 80%, #b36aff 100%) 1 !important;
}
/* Retire les anciens pseudo-cadres superposes qui epaississaient le haut. */
#ast-panel::before,
#ast-panel::after{
display:none !important;
content:none !important;
}
/* ===== TITRE ESPACE TO GO : DEGRADE ARC-EN-CIEL SUR LES LETTRES ===== */
#ast-head strong{
background:linear-gradient(90deg,
#ff65c8 0%,
#ffad55 17%,
#fff078 32%,
#8ff27a 47%,
#58e8e8 62%,
#70aaff 78%,
#c18aff 91%,
#ff65c8 100%) !important;
background-size:100% 100% !important;
background-clip:text !important;
-webkit-background-clip:text !important;
color:transparent !important;
-webkit-text-fill-color:transparent !important;
-webkit-text-stroke:0 !important;
text-shadow:0 1px 2px #09051699, 0 0 7px #a875ff66 !important;
}
/* Bibliothèque d’émojis : grandes vignettes et espace vertical mieux utilisé. */
#page-emojis #ast-emoji-library{
max-height:calc(100dvh - 235px) !important;
min-height:360px;
overflow-y:auto !important;
overflow-x:hidden !important;
padding:2px 7px 12px 0;
}
#page-emojis .ast-grid{
grid-template-columns:repeat(6,minmax(0,1fr));
gap:7px;
margin:9px 0 14px;
}
#page-emojis .ast-emoji{
width:100%;
min-height:48px;
font-size:32px;
border-radius:9px;
}
@media(max-width:520px){
#page-emojis #ast-emoji-library{max-height:calc(100dvh - 225px) !important;min-height:300px;}
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;}
#page-emojis .ast-emoji{min-height:44px;font-size:29px;}
}
/* CORRECTION AFFICHAGE EMOJIS : fond opaque pour masquer le contenu du blog derriere */
#page-emojis{
background:#211735 !important;
isolation:isolate;
}
#page-emojis #ast-emoji-library{
background:#211735 !important;
opacity:1 !important;
position:relative;
z-index:1;
padding:8px 8px 16px 2px !important;
border-radius:10px;
}
#page-emojis .ast-category{
position:relative;
z-index:2;
background:#211735 !important;
padding:5px 4px;
margin:13px 0 7px !important;
}
#page-emojis .ast-grid{
position:relative;
z-index:2;
background:#211735 !important;
grid-template-columns:repeat(6,minmax(0,1fr)) !important;
gap:8px !important;
}
#page-emojis .ast-grid > div{
min-width:0;
min-height:58px;
display:grid;
place-items:center;
background:#28213e !important;
border:1px solid #ffffff24;
border-radius:10px;
overflow:hidden;
}
#page-emojis .ast-emoji{
width:100%;
height:58px;
min-height:58px !important;
aspect-ratio:auto !important;
display:grid;
place-items:center;
background:#28213e !important;
color:#fff;
font-size:38px !important;
line-height:1.15;
border:0 !important;
border-radius:9px;
overflow:hidden;
}
#page-emojis .ast-emoji:hover{
background:#40305e !important;
border:1px solid #00d4ff !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div,#page-emojis .ast-emoji{min-height:54px;height:54px;}
#page-emojis .ast-emoji{font-size:35px !important;}
}
/* Réglages finaux de la bibliothèque : exactement 5 émojis par rangée */
#page-emojis #ast-emoji-library{
box-sizing:border-box !important;
overflow-y:auto !important;
overflow-x:hidden !important;
padding:10px 8px 18px 4px !important;
scroll-padding-top:10px !important;
}
#page-emojis .ast-grid{
display:grid !important;
grid-template-columns:repeat(5,minmax(0,1fr)) !important;
gap:9px !important;
align-items:stretch !important;
}
#page-emojis .ast-grid > div{
min-width:0 !important;
min-height:66px !important;
height:66px !important;
overflow:hidden !important;
background:#28213e !important;
border:1px solid #ffffff30 !important;
border-radius:11px !important;
}
#page-emojis .ast-emoji{
display:grid !important;
place-items:center !important;
width:100% !important;
height:64px !important;
min-height:64px !important;
padding:0 !important;
font-size:42px !important;
line-height:1 !important;
background:#28213e !important;
color:#fff !important;
-webkit-text-fill-color:initial !important;
text-shadow:none !important;
overflow:hidden !important;
}
@media(max-width:520px){
#page-emojis .ast-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:7px !important;}
#page-emojis .ast-grid > div{height:58px !important;min-height:58px !important;}
#page-emojis .ast-emoji{height:56px !important;min-height:56px !important;font-size:36px !important;}
}
</style>
<style id="ast-title-rainbow-light-medium-bold">
/* Titre ESPACE TO GO : arc-en-ciel plus clair et lettres un peu plus épaisses */
#ast-head strong{
font-family:"Palatino Linotype","Book Antiqua","URW Palladio L",Georgia,serif !important;
font-weight:700 !important;
font-style:italic !important;
background:linear-gradient(90deg,
#ff9bdd 0%,
#ffc18a 17%,
#fff6a0 32%,
#baff9b 47%,
#9af4f2 62%,
#a8caff 78%,
#d8b0ff 91%,
#ff9bdd 100%) !important;
background-size:100% 100% !important;
background-clip:text !important;
-webkit-background-clip:text !important;
color:transparent !important;
-webkit-text-fill-color:transparent !important;
-webkit-text-stroke:0 !important;
text-shadow:
0 1px 1px #09051688,
0 0 5px #ffffff55,
0 0 9px #a875ff55 !important;
}
</style>
<style id="ast-title-rainbow-extra-bright">
/* Même épaisseur de lettres, dégradé arc-en-ciel encore plus lumineux */
#ast-head strong{
font-weight:700 !important;
background:linear-gradient(90deg,
#ffb8e8 0%,
#ffd0a8 16%,
#fffdb0 32%,
#d5ffad 47%,
#b8ffff 62%,
#c3dcff 78%,
#edc8ff 91%,
#ffb8e8 100%) !important;
background-size:100% 100% !important;
background-clip:text !important;
-webkit-background-clip:text !important;
color:transparent !important;
-webkit-text-fill-color:transparent !important;
-webkit-text-stroke:0 !important;
text-shadow:
0 1px 1px #09051666,
0 0 7px #ffffff88,
0 0 13px #d9faff66 !important;
}
</style>
<style id="ast-title-rainbow-no-blur">
/* Lettres arc-en-ciel nettes : aucun halo ni flou */
#ast-head strong{
font-weight:700 !important;
text-shadow:none !important;
-webkit-text-stroke:0 !important;
}
</style>
<style id="ast-sites-one-line-layout">
/* SITES : nom et URL visibles, avec les mêmes tailles que l'ancienne liste AMIS */
#ast-links-list .ast-link-item{
display:flex !important;align-items:center !important;gap:8px !important;
min-width:0 !important;padding:8px 9px !important;
}
#ast-links-list .ast-site-info{
display:flex !important;align-items:baseline !important;gap:7px !important;
flex:1 !important;min-width:0 !important;overflow:hidden !important;
}
#ast-links-list .ast-site-info strong{
flex:0 1 auto !important;min-width:0 !important;max-width:42% !important;
overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;
color:var(--ast-site-name,var(--ast-name)) !important;font-size:var(--ast-friend-site-name-size,16px) !important;
}
#ast-links-list .ast-site-info a.ast-link{
display:block !important;flex:1 !important;min-width:0 !important;margin:0 !important;
overflow:hidden !important;white-space:nowrap !important;text-overflow:ellipsis !important;
overflow-wrap:normal !important;color:var(--ast-site-link,var(--ast-link)) !important;
font-size:var(--ast-friend-site-link-size,14px) !important;line-height:1.3 !important;
}
#ast-links-list .ast-link-actions{
display:flex !important;flex:0 0 auto !important;align-items:center !important;
justify-content:flex-end !important;gap:4px !important;margin:0 !important;
}
#ast-links-list .ast-link-actions .ast-friend-action{
flex:0 0 23px !important;width:23px !important;height:23px !important;
margin:0 !important;padding:0 !important;
}
/* AMIS : +1 px pour les noms et les adresses, plus lisibles */
#ast-friends-list .ast-friend-info strong{font-size:13px !important;}
#ast-friends-list .ast-friend-info a{font-size:12px !important;}
@media(max-width:480px){
#ast-links-list .ast-site-info strong{max-width:38% !important;font-size:12px !important;}
#ast-links-list .ast-site-info a.ast-link{font-size:11px !important;}
#ast-friends-list .ast-friend-info strong{font-size:12px !important;}
#ast-friends-list .ast-friend-info a{font-size:11px !important;}
}
</style>