/* Foliocast · « Voir ma grille » (voir-ma-grille.html, see-my-grid.html) · T-1052.
   1. Bandeau « 01 Lire · fait » : coche sur la première ligne du texte, lien à droite centré sur la même ligne quand
      il y a la place ; en petit écran, le lien passe sous le texte, aligné à gauche.
   2. Aperçus en téléphone : cadre arrondi, île, barre d'état, en-tête de profil (nom sur une ligne, points de
      suspension), onglets ; couleurs d'Instagram en mode sombre fixées ici pour rester lisibles en thème clair comme
      en thème sombre ; avatars toujours ronds (logo du site quand le lecteur le donne, sinon initiales). */

/* 1. bandeau « fait » */
.g-done{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:6px 12px}
.g-done .g-check{line-height:inherit}
.g-done .g-done-t{min-width:0}
.g-done .g-done-t .rail-next{display:block}
.g-done .g-jump{margin-left:0;align-self:center;white-space:nowrap}
@media (max-width:640px){
  .g-done{grid-template-columns:auto minmax(0,1fr)}
  .g-done .g-jump{grid-column:2;justify-self:start;align-self:start;white-space:normal}
}

/* 2. téléphones */
.g-phone,.g-post{--ph-fg:#f5f5f5;--ph-dim:#a8a8a8;--ph-line:#262626;position:relative;box-sizing:border-box;padding:0;overflow:hidden;background:#000;color:var(--ph-fg);border:9px solid #161616;border-radius:46px;box-shadow:0 0 0 1px #3b3936,0 2px 4px rgba(18,18,17,.08),0 24px 48px -24px rgba(18,18,17,.45)}
.g-phone::after,.g-post::after{content:"";display:block;width:118px;height:4px;margin:10px auto 8px;border-radius:4px;background:var(--ph-fg);opacity:.9}
.g-sbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:44px;padding:0 24px 0 28px;color:var(--ph-fg)}
.g-sbar .g-time{font:600 15px/1 var(--body);letter-spacing:.01em}
.g-sbar .g-island{width:92px;height:27px;border-radius:999px;background:#000;box-shadow:inset 0 0 0 1px #1f1f1f}
.g-sbar .g-sic{display:flex;gap:5px;align-items:center;justify-content:flex-end}
.g-sbar svg{display:block;fill:currentColor}

.g-phone .g-prof{display:flex;gap:16px;align-items:center;margin:0;padding:8px 16px 14px}
.g-phone .g-prof-t{flex:1 1 auto;min-width:0}
.g-phone .g-prof b{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:600 16px/1.3 var(--body);color:var(--ph-fg)}
.g-phone .g-prof-t span{display:block;margin-top:2px;font:500 13px/1.3 var(--mono);color:var(--ph-dim)}
.g-av,.g-post-h .g-av-s{flex:none;box-sizing:border-box;aspect-ratio:1/1;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#262626;color:var(--ph-fg);border:2px solid var(--accent);box-shadow:inset 0 0 0 2px #000}
.g-phone .g-prof .g-av{display:grid;margin:0;width:64px;height:64px;font:600 20px/1 var(--body);color:var(--ph-fg)}
.g-post-h .g-av-s{width:32px;height:32px;font:600 11px/1 var(--body);font-style:normal}
.g-av.logo,.g-post-h .g-av-s.logo{background:#fff}
.g-av img,.g-av-s img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.g-tabs{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--ph-line);color:var(--ph-dim)}
.g-tabs span{display:grid;place-items:center;height:42px}
.g-tabs span.on{color:var(--ph-fg);box-shadow:inset 0 -1px 0 var(--ph-fg)}
.g-tabs svg{display:block}
.g-phone #g-grid{gap:2px}

.g-post-h{gap:10px;padding:6px 14px 10px;color:var(--ph-fg);min-width:0}
.g-post-h span{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:600 14px/1.3 var(--body)}
.g-post .g-dots{color:var(--ph-dim)}
.g-post p{color:#e0e0e0}
.g-post p b{color:var(--ph-fg)}
.g-side,.g-post{min-width:0}
@media (max-width:780px){.g-phone,.g-post{width:100%;max-width:420px;margin-inline:auto}}
@media (max-width:420px){.g-phone,.g-post{border-width:7px;border-radius:38px}.g-sbar{padding:0 18px 0 22px}.g-sbar .g-island{width:78px;height:24px}.g-phone .g-prof .g-av{width:56px;height:56px;font-size:18px}}
