/* TEST — globe en plein écran comme la carte de base : sous le bandeau du haut, sans les tuiles du bas */
#gx { padding: 0 0 var(--tb, 64px) 0 !important; }
#gx .gx-info { display: none !important; }
#gx .gx-legend { top: calc(var(--hh, 64px) + 8px) !important; left: 14px !important; }
#gx .gx-z { right: 14px !important; bottom: 96px !important; }
.gx-back { width: 46px; height: 46px; padding: 0 !important; font-size: 24px; line-height: 46px; text-align: center; }
html:not(.dark) #gx { background: linear-gradient(#F7F4EE 0, rgba(247,244,238,0) 140px), radial-gradient(120% 70% at 50% 30%, #FFFFFF 0%, #F7F4EE 55%, #ECE5D8 100%) !important; }
#gx .gx-legend .gx-lp, #gx .gx-legend .gx-lw { width: 10px !important; height: 13px !important; border: 0 !important; border-radius: 0 !important; }
#tc-souv { z-index: 700 !important; } /* 6.16 : le souvenir du jour s’affiche aussi par-dessus le globe */
/* 6.17 bouton Google */
.pm-gbtn{width:100%;margin-top:10px;background:#fff!important;color:#1f1f1f!important;border:1px solid #dadce0!important;font-weight:600}
/* 6.26 : « Pays du jour » toujours lisible (fond plein, la carte ne transparaît plus) */
#p6-potd .card { background: #fffaf2 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; opacity: 1 !important; }
html.dark #p6-potd .card { background: #131c30 !important; }
html.dark .p6-pdt > div, html.dark .p6-pdx span { background: rgba(255,255,255,.07) !important; border-color: rgba(255,255,255,.1) !important; color: var(--ink) !important; }
html.dark .p6-x { background: rgba(255,255,255,.12) !important; color: var(--ink) !important; }
/* 6.27 : la bulle « Ton année est prête » attend que la fiche « Pays du jour » soit fermée */
body:has(#p6-potd.on) .pm-chip, body:has(#sheet.on) .pm-chip { display: none !important; }
/* 6.29 : app Android — l'app réserve déjà la place de la barre d'état et des boutons : on n'en ajoute pas une deuxième */
html.pm-and { --safe-t: 0px !important; --safe-b: 0px !important; }
html.pm-and #p6-potd { bottom: calc(var(--tb,54px) + 30px) !important; }
html.pm-and #tc-selbar { bottom: calc(var(--tb,64px) + 10px) !important; }
html.pm-and #p6-off { top: 6px !important; }
html.pm-and #p6-upd { top: 8px !important; }
html.pm-and #pmp-cd { top: 128px !important; }
/* 6.30 : le style « Classique » n'apparaît plus une fraction de seconde (la liste ne saute plus) */
[data-th="classic"] { display: none !important; }
/* 6.30 : bouton « Ma position » sur la carte */
#pm-loc { position: absolute; right: 10px; bottom: calc(var(--tb, 64px) + 96px); z-index: 650; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(38,70,83,.15); background: rgba(255,255,255,.95); color: #2a7de1; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(38,70,83,.18); }
html.dark #pm-loc { background: #131c30; border-color: rgba(255,255,255,.12); }
html.gx-on #pm-loc { display: none; }
/* 6.32 : ⚽ Matchs réservé au propriétaire, ⭐ Michelin selon l'interrupteur */
html.pm-nomatch [data-sec="matches"], html.pm-nomatch .tc-improw[data-i="futbology"], html.pm-nomatch .tc-colx[data-k="matches"] { display: none !important; }
html.pm-nomich [data-sec="michelin"], html.pm-nomich .tc-improw[data-i="michelin"], html.pm-nomich .tc-improw[data-i="michlist"], html.pm-nomich .tc-restolink { display: none !important; }

/* 6.33 : illustrations des styles Plan détaillé et Google, Plan détaillé en premier */
.themes [data-th="street"] { order: -2; } .themes [data-th="google"] { order: -1; }
.th-prev.tile.street, .th-prev.tile.google { background-size: cover; background-position: center; }
.th-prev.tile.street { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 50' preserveAspectRatio='xMidYMid slice'><rect width='160' height='50' fill='%23fbf6ec'/><path d='M0 34 C30 28 50 44 80 38 S130 26 160 32 V50 H0Z' fill='%23cfe3e6'/><rect x='96' y='4' width='34' height='18' rx='4' fill='%23d8e8cc'/><rect x='10' y='6' width='22' height='12' rx='2' fill='%23efe4d2'/><rect x='40' y='6' width='16' height='12' rx='2' fill='%23efe4d2'/><rect x='62' y='8' width='20' height='10' rx='2' fill='%23efe4d2'/><path d='M0 24 H160' stroke='%23fff' stroke-width='5'/><path d='M0 24 H160' stroke='%23f3d6a8' stroke-width='2.2'/><path d='M36 0 V50 M88 0 V30 M136 0 V50' stroke='%23fff' stroke-width='3'/><circle cx='88' cy='14' r='4.5' fill='%23e76f51' stroke='%23fff' stroke-width='1.5'/></svg>"); }
.th-prev.tile.google { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 50' preserveAspectRatio='xMidYMid slice'><rect width='160' height='50' fill='%23f5f3ee'/><path d='M118 0 C112 18 126 30 120 50 H160 V0Z' fill='%23c9dfe4'/><rect x='8' y='30' width='40' height='16' rx='5' fill='%23d3e6c8'/><g fill='%23e9e4da'><rect x='8' y='6' width='14' height='9' rx='1.5'/><rect x='26' y='6' width='14' height='9' rx='1.5'/><rect x='58' y='32' width='14' height='10' rx='1.5'/><rect x='76' y='32' width='14' height='10' rx='1.5'/><rect x='58' y='4' width='30' height='11' rx='1.5'/></g><path d='M0 22 L160 18' stroke='%23fff' stroke-width='5'/><path d='M0 22 L160 18' stroke='%23f6c86e' stroke-width='3'/><path d='M52 0 V50 M96 0 L104 50' stroke='%23fff' stroke-width='3.5'/><path d='M78 26c-5 0-8 3.6-8 8 0 5.6 8 13 8 13s8-7.4 8-13c0-4.4-3-8-8-8z' transform='translate%280 -24%29' fill='%23e76f51' stroke='%23fff' stroke-width='1.5'/><circle cx='78' cy='10' r='2.6' fill='%23fff'/></svg>"); }
.th-prev.tile.street em, .th-prev.tile.google em { display: none; }
