/* push&pull — style.css
   fait main. inspi : les sites perso / mags en ligne de 2001-2006.
   lime + bleu pervenche + gris, trames de points, coins coupés, police pixel. */

:root {
  --lime: #b5c33b; --lime-d: #8b9720; --lime-l: #e3e9ab;
  --peri: #7f9fe4; --peri-d: #5274c8; --peri-l: #cbd8f6;
  --grey: #6b727b; --grey-d: #3a3e44; --grey-l: #c9ccd1;
  --bg: #e7e8ea; --paper: #f7f7f5;
  --ink: #1d1f22;
  --pix: "Silkscreen", "Courier New", monospace;
  --round: "Quicksand", "Arial Rounded MT Bold", Verdana, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0 0 40px;
  background: var(--bg);
  background-image: radial-gradient(#d3d6da 1px, transparent 1.2px);
  background-size: 6px 6px;
  font: 11px/1.45 Verdana, Tahoma, Geneva, sans-serif;
  color: var(--ink);
}
a { color: var(--peri-d); }
a:visited { color: #7b55b8; }
a:hover { color: #000; background: var(--lime-l); }
img { border: 0; max-width: 100%; }
[hidden] { display: none !important; }
.tiny { font-size: 9px; color: #777; }
.new { font: 8px var(--pix); color: #e0261b; text-transform: uppercase; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { visibility: hidden; } }

#site { width: 1010px; max-width: 100%; margin: 0 auto; background: var(--paper); box-shadow: 0 0 0 1px #c3c6cb, 0 6px 30px rgba(0,0,0,.08); }

/* ── barre du haut + onglets ── */
.top { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; background: linear-gradient(#c4d14f, var(--lime) 60%, #a8b52f); border-bottom: 1px solid var(--lime-d); }
.top-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--lime-d); font: 700 10px/1 var(--round); letter-spacing: -0.5px; box-shadow: inset 0 0 0 2px var(--lime-d); }
.top-name { font: 500 21px/1 var(--round); color: #fff; letter-spacing: -0.3px; text-shadow: 0 1px 0 var(--lime-d); }
.top-url { margin-left: auto; font: 8px var(--pix); color: #fff; opacity: .85; }

.tabs { display: flex; background: #d9dbde; border-bottom: 1px solid #a9adb3; }
.tabs a {
  flex: 1; display: flex; align-items: center; gap: 5px; padding: 4px 6px 3px;
  font: 8px var(--pix); text-transform: lowercase; color: var(--grey-d); text-decoration: none;
  border-right: 1px solid #b3b7bc; background: linear-gradient(#f2f3f4, #d6d9dc);
}
.tabs a:hover { background: var(--lime-l); color: #000; }
.tabs a.on { background: var(--paper); color: #000; box-shadow: inset 0 2px 0 var(--lime); }
.ic { width: 11px; height: 11px; flex: none; border: 1px solid var(--grey-d); background: #fff; position: relative; }
.ic::after { content: ""; position: absolute; inset: 2px; background: var(--grey-d); }
.ic-home::after { clip-path: polygon(50% 0, 100% 50%, 80% 50%, 80% 100%, 20% 100%, 20% 50%, 0 50%); }
.ic-note::after { clip-path: polygon(40% 0, 100% 0, 100% 25%, 60% 25%, 60% 85%, 30% 100%, 10% 85%, 40% 70%); }
.ic-q::after { inset: 3px; border-radius: 50%; }
.ic-cal::after { clip-path: polygon(0 20%, 100% 20%, 100% 100%, 0 100%, 0 40%, 100% 40%, 100% 30%, 0 30%); }
.ic-cam::after { clip-path: polygon(0 25%, 30% 25%, 40% 10%, 60% 10%, 70% 25%, 100% 25%, 100% 100%, 0 100%); }
.ic-book::after { clip-path: polygon(0 0, 45% 10%, 45% 100%, 0 90%, 0 0, 55% 10%, 100% 0, 100% 90%, 55% 100%); }
.ic-link::after { border-radius: 50%; background: none; box-shadow: inset 0 0 0 2px var(--grey-d); }

/* ── cadre : rail + contenu ── */
.frame { display: grid; grid-template-columns: 34px 1fr; }
.rail { background: var(--grey-d); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0 14px; }
.rail-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e9eaec; color: var(--grey-d); font: bold 13px/1 Verdana; text-decoration: none; box-shadow: inset 0 0 0 2px #9aa0a7; }
.rail-ic, .rail-ic:visited { color: var(--peri); }
.rail-ic:hover { background: var(--lime); color: #fff; }
.rail-txt { writing-mode: vertical-rl; transform: rotate(180deg); margin-top: 22px; font: 8px var(--pix); letter-spacing: 3px; color: #c9ccd1; text-transform: lowercase; }
.rail-dots { display: grid; gap: 6px; margin-top: 18px; }
.rail-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 -2px 0 var(--lime-d); }

.content { min-width: 0; }

/* ── bannière ── */
.hero { position: relative; height: 174px; overflow: hidden; border-bottom: 1px dashed #9aa0a7; background: var(--paper); }
.hero-dots {
  position: absolute; inset: 0 210px 34px 0;
  background-image: radial-gradient(circle, #a9bdf0 36%, transparent 40%);
  background-size: 10px 10px;
  -webkit-mask: radial-gradient(130% 100% at 20% 40%, #000 30%, transparent 75%);
          mask: radial-gradient(130% 100% at 20% 40%, #000 30%, transparent 75%);
}
.hero-title {
  position: absolute; left: 34px; top: 40px; margin: 0;
  font: 300 78px/1 var(--round); letter-spacing: -1px; color: var(--peri);
  text-shadow: 0 0 0 transparent;
}
.hero-title a, .hero-title a:visited, .hero-title a:hover, .hero-title a:active { color: inherit; text-decoration: none; background: none; cursor: pointer; outline: none; }
/* logo + nom de la barre du haut : lien invisible vers l'accueil */
.top-home, .top-home:visited, .top-home:hover, .top-home:active { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; background: none; cursor: pointer; outline: none; }
.hero-title sup { font-size: 46px; vertical-align: 26px; color: inherit; }
.hero-code { position: absolute; left: 46px; top: 128px; width: 238px; }
.barcode { height: 22px; background: repeating-linear-gradient(90deg, #333 0 1px, transparent 1px 3px, #333 3px 5px, transparent 5px 6px, #333 6px 7px, transparent 7px 10px, #333 10px 13px, transparent 13px 14px); }
.code-row { display: flex; gap: 6px; margin-top: 2px; }
.code-row span { font: 8px var(--pix); border: 1px solid #555; padding: 1px 4px; background: #fff; }
.code-row span:last-child { flex: 1; }
.code-row #code-n { flex: none; width: 28px; text-align: center; }   /* même case pour 001 → 007 */
/* grille de carrés : style repris de la v3 */
.hero-grid { position: absolute; right: 18px; top: 14px; display: grid; grid-template-columns: repeat(3, 52px); gap: 6px; }
.hero-grid i { height: 44px; border-radius: 4px; display: grid; place-items: center; color: #fff; font: 300 30px/1 var(--round); font-style: normal; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.08); }
.hero-grid .b { background: linear-gradient(#93adec, #86a2e6); }
.hero-grid .w { background: #fff; box-shadow: inset 0 0 0 1.5px #b6c2d8; }
.hero-grid .g { background: linear-gradient(#c6d253, #b8c63e); }
.hero-cap { position: absolute; left: 0; right: 0; bottom: 6px; margin: 0; text-align: center; font: 8px var(--pix); color: var(--grey); text-transform: uppercase; letter-spacing: .5px; }

/* ── ticker + bandeau de page ── */
.ticker { overflow: hidden; white-space: nowrap; background: var(--grey-d); color: var(--lime); font: 8px/1 var(--pix); padding: 5px 0 4px; }
/* chaque message est suivi du même séparateur « +++ », y compris à la jonction de la boucle */
.tk-track { display: inline-flex; animation: tk 42s linear infinite; }
.tk-track i { font-style: normal; flex: none; }
.tk-track i::after { content: "+++"; margin: 0 2em; }
@keyframes tk { to { transform: translateX(-50%); } }
.strip { margin: 10px 10px 0; padding: 5px 10px; background: linear-gradient(90deg, var(--lime) 0 280px, #d4dcd0 280px); color: #fff; font: 8px var(--pix); text-transform: uppercase; letter-spacing: 0; }
.strip b { color: #fff; }

/* ── colonnes ── */
.cols { display: grid; grid-template-columns: 275px minmax(0, 1fr) 184px; gap: 10px; padding: 10px; align-items: start; }
.col-l { position: sticky; top: 8px; }

/* boîtes vertes (humanfinny) */
.lbox { --cut: var(--lime-d); position: relative; margin-top: 8px; background: var(--lime-l); border: 1px solid var(--lime-d); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
/* trait sur la diagonale du coin coupé (même couleur et épaisseur que la bordure) */
.lbox::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: 2;
  background: linear-gradient(to top left, transparent calc(50% - .2px), var(--cut) calc(50% - .2px) calc(50% + 1.1px), transparent calc(50% + 1.1px)) right bottom / 10px 10px no-repeat;
}
.lbox-h { background: var(--lime); color: #fff; font: 8px var(--pix); text-transform: uppercase; padding: 4px 6px 3px; border-bottom: 1px solid var(--lime-d); }
.lbox-h::before { content: "▪ "; }
.lbox-b { padding: 6px 8px 10px; }
.lbox-b p { margin: 0 0 5px; }
/* status + compteur : même bleu que « derniers messages » */
.lbox--blue { --cut: var(--peri-d); background: var(--peri-l); border-color: var(--peri-d); }
.lbox--blue .lbox-h { background: var(--peri); border-bottom-color: var(--peri-d); }
.counter { text-align: center; }
.counter b { display: inline-block; font: bold 14px "Courier New", monospace; background: #0d1d3a; color: #9fc0ff; padding: 1px 5px; letter-spacing: 2px; }
.best { text-align: center; font-size: 9px; color: #888; margin-top: 10px; }

/* boîte bleue arrondie (news) */
.nbox { background: var(--peri-l); border: 1px solid var(--peri-d); border-radius: 0 10px 0 0; overflow: hidden; }
.nbox-h { background: var(--peri); color: #fff; font: 8px var(--pix); text-transform: uppercase; padding: 4px 6px 3px; }
.nbox-h i { font-style: normal; font-family: Verdana; font-weight: bold; margin-right: 3px; }
.last { list-style: none; margin: 0; padding: 4px 7px; }
.last li { padding: 4px 0; border-bottom: 1px dotted var(--peri-d); font-size: 10px; line-height: 1.3; }
.last b { color: var(--peri-d); }
.check { display: block; text-align: right; padding: 3px 7px 5px; font: 8px var(--pix); text-transform: uppercase; color: var(--grey-d); text-decoration: none; }

/* panneaux à coins coupés (experimental mag) */
.pnl {
  position: relative; background: #fff; margin-bottom: 10px;
  border: 1px solid #8f969e;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.pnl::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(to bottom left, transparent calc(50% - .2px), #8f969e calc(50% - .2px) calc(50% + 1.1px), transparent calc(50% + 1.1px)) right top / 14px 14px no-repeat,
    linear-gradient(to top right, transparent calc(50% - .2px), #8f969e calc(50% - .2px) calc(50% + 1.1px), transparent calc(50% + 1.1px)) left bottom / 14px 14px no-repeat;
}
.pnl-h {
  display: flex; justify-content: space-between; align-items: baseline;
  background: linear-gradient(90deg, var(--grey) 0 60%, #a6acb3); color: #fff;
  font: 8px var(--pix); text-transform: uppercase; letter-spacing: .5px; padding: 4px 20px 3px 8px;
}
.pnl-h span { opacity: .8; }
.pnl-b { padding: 8px 10px 14px; }
.pnl--sm .pnl-b { padding: 6px 8px 14px; }

#main { position: relative; min-height: 620px; }
.ghost { position: relative; display: block; width: 470px; max-width: 110%; margin: -90px -30px 0 auto; opacity: .16; mix-blend-mode: multiply; pointer-events: none; z-index: 0; }
.pg { position: relative; z-index: 1; }

.intro { margin: 0 0 8px; }
.post { border: 1px dotted #8f969e; margin-bottom: 9px; background: #fbfbfa; }
.post-h { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 3px 6px; background: #eef0f2; border-bottom: 1px dotted #8f969e; }
.post-h span { font-size: 9px; color: #666; }
.post p { margin: 6px 8px; text-align: justify; }
.post-f { text-align: right; padding: 2px 8px 4px; font: 8px var(--pix); text-transform: uppercase; }
.post-f a { text-decoration: none; }

/* commentaires dépliables sous les posts */
.cm-tog { font: inherit; text-transform: inherit; color: var(--peri-d); background: none; border: 0; padding: 0; cursor: pointer; }
.cm-tog:hover { color: #000; background: var(--lime-l); }
.cm-tog[aria-expanded="true"]::after { content: " ▴"; }
.cm-tog[aria-expanded="false"]::after { content: " ▾"; }
.cm { margin: 0 8px 8px; border-top: 1px dotted #8f969e; padding-top: 6px; }
.cm-item { display: grid; grid-template-columns: 26px 1fr; gap: 7px; padding: 5px 4px; border-bottom: 1px dotted #d3d6da; }
.cm-item:nth-child(even) { background: #f3f5f8; }
.cm-av { width: 26px; height: 26px; display: grid; place-items: center; font: 300 13px/1 var(--round); color: #fff; border: 1px solid #fff; box-shadow: 0 0 0 1px #8f969e; background: #9aa0a7; }
.cm-meta { font-size: 9px; color: #777; }
.cm-meta b { font-size: 11px; color: #000; }
.cm-txt { margin: 1px 0 0; font-size: 11px; line-height: 1.4; }
.cm-item.mine { box-shadow: inset 2px 0 0 var(--peri-d); }
.cm-form { display: grid; grid-template-columns: 110px 1fr auto; gap: 5px; margin-top: 7px; }
.cm-form input { font: 11px Verdana; border: 1px solid #8f969e; padding: 3px 4px; min-width: 0; }
.emo { height: 20px; vertical-align: middle; display: inline; }
.u-abel { color: #a07b00 !important; font-weight: bold; }
.u-leo { color: var(--peri-d) !important; font-weight: bold; }
.u-tim { color: #a0a !important; font-weight: bold; }
.wip { display: inline-block; font: 8px var(--pix); padding: 1px 5px; color: #fff; text-transform: uppercase; background: repeating-linear-gradient(45deg, #e6c400 0 6px, #222 6px 12px); text-shadow: 0 0 2px #000, 0 0 2px #000; }

.btn { font: 8px var(--pix); text-transform: uppercase; color: var(--grey-d); background: linear-gradient(#fff, #d5d8dc); border: 1px solid #8f969e; padding: 3px 10px 2px; cursor: pointer; }
.btn:hover { background: var(--lime-l); }
.btn:disabled { opacity: .5; cursor: default; }

/* sons */
.tracks { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.tracks th { background: #eef0f2; text-align: left; font: 8px var(--pix); text-transform: uppercase; color: var(--grey-d); padding: 4px 5px 3px; border-bottom: 1px solid #8f969e; }
.tracks td { border-bottom: 1px dotted #b3b8be; padding: 5px; vertical-align: middle; }
.tracks tr.playing td { background: var(--peri-l); font-weight: bold; }
.tracks tr.playing td:first-child { box-shadow: inset 3px 0 0 var(--peri-d); }
.tracks td:first-child { font: 8px var(--pix); color: #888; width: 22px; }
.tracks td.n { font-variant-numeric: tabular-nums; color: #555; white-space: nowrap; }
.tracks .btn { white-space: nowrap; }
.deco-boom { width: 190px; margin: 8px 0 0 auto; display: block; transform: rotate(-3deg); }

/* bio */
.bio { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 9px; }
.bio-card { border: 1px dotted #8f969e; padding: 7px; background: #fbfbfa; }
.bio-card h3 { margin: 6px 0 0; font: 300 24px/1 var(--round); }
.bio-card p { margin: 4px 0; }
.noimg { height: 120px; border: 1px solid #b3b8be; background: repeating-linear-gradient(45deg, #f3f4f5 0 6px, #eceef0 6px 12px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #999; font-size: 10px; }
.noimg span::before { content: "✕ "; color: #c00; border: 1px solid #ccc; background: #fff; padding: 0 2px; font-size: 9px; }

/* dates */
.dates { width: 100%; border-collapse: collapse; }
.dates td { border-bottom: 1px dotted #b3b8be; padding: 6px 5px; vertical-align: top; }
.dates td:first-child { font: 8px var(--pix); text-transform: uppercase; white-space: nowrap; width: 100px; padding-top: 8px; }
.dates td:last-child { width: 105px; font-size: 9px; color: #777; }
.dates tr.next td { background: var(--lime-l); }
.deco-speaker { width: 80px; display: block; margin: 8px 0 0 auto; transform-origin: 50% 70%; }

/* photos */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gallery figure { margin: 0; border: 1px dotted #8f969e; padding: 5px; text-align: center; background: #fbfbfa; }
.gallery img { height: 90px; width: 100%; object-fit: contain; }
.gallery .noimg { height: 90px; }
.photos { display: grid; gap: 14px; }
.photos .photo { margin: 0; padding: 8px 8px 10px; background: #fff; border: 1px dotted #8f969e; }
.photos .photo img { display: block; width: 100%; height: auto; border: 1px solid #b3b8be; }
.photos figcaption { margin-top: 7px; font-size: 11px; color: #555; text-align: center; }
.gallery figcaption { font-size: 9px; color: #666; margin-top: 3px; line-height: 1.25; }

/* livre d'or */
.gb-form { display: grid; gap: 6px; margin-bottom: 10px; padding: 7px; background: #eef0f2; border: 1px dotted #8f969e; }
.gb-form label { display: grid; gap: 2px; font: 8px var(--pix); text-transform: uppercase; }
.gb-form input, .gb-form textarea { font: 11px Verdana; border: 1px solid #8f969e; padding: 3px; background: #fff; }
.gb { border: 1px dotted #8f969e; margin-bottom: 6px; background: #fbfbfa; }
.gb-h { padding: 2px 6px; font-size: 9px; color: #666; background: #eef0f2; border-bottom: 1px dotted #b3b8be; }
.gb-h b { font-size: 11px; color: #000; }
.gb p { margin: 5px 8px; }
.gb.mine { border-color: var(--peri-d); }

/* liens */
.links { padding-left: 16px; margin: 0; }
.links li { margin-bottom: 6px; }
.webring { margin-top: 14px; text-align: center; border: 1px dashed #8f969e; padding: 6px; font-size: 10px; }

/* droite */
.friends { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.friends a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; text-decoration: none; color: var(--grey-d); }
.av { width: 50px; height: 50px; display: grid; place-items: center; font: 300 24px var(--round); color: #fff; border: 2px solid #fff; box-shadow: 0 0 0 1px #8f969e; }
.av-abel { background: #e3b40b; } .av-leo { background: var(--peri-d); }
.av-tim { background: #9b4fb3; } .av-sofia { background: #9aa0a7; }
.av-kim { background: #d9544a; } .av-baby { background: #e58fbf; }
.av-clara { background: #76b37a; } .av-marie { background: #e8964a; }
.poll p { margin: 0 0 4px; font-weight: bold; }
.poll label { display: block; font-size: 10px; }
.poll .btn { margin-top: 5px; }
#poll-res { margin-top: 6px; font-size: 10px; }
#poll-res i { display: block; height: 6px; background: var(--lime); margin: 1px 0 4px; }
.col-r > * { margin-bottom: 10px; }
.col-r .lbox { margin-top: 0; }

.foot { text-align: center; padding: 12px; border-top: 1px dashed #9aa0a7; font-size: 10px; color: #777; }

/* téléphone (ça existait pas en 2006 mais bon) */
@media (max-width: 1000px) {
  .cols { grid-template-columns: 275px minmax(0, 1fr); }
  .col-r { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .col-r > * { margin: 0; }
}
@media (max-width: 720px) {
  .frame { grid-template-columns: 1fr; }
  .rail { display: none; }
  .tabs { flex-wrap: wrap; }
  .tabs a { flex: 1 1 33%; }
  .top-url { display: none; }
  body { overflow-x: hidden; }
  .hero { height: 132px; }
  .hero-cap { display: none; }
  .hero-title { font-size: 50px; left: 16px; top: 30px; }
  .hero-title sup { font-size: 30px; vertical-align: 16px; }
  .hero-code { left: 18px; top: 92px; width: 180px; }
  .hero-grid { grid-template-columns: repeat(3, 26px); gap: 3px; right: 10px; }
  .hero-grid i { height: 22px; font-size: 16px; border-radius: 3px; }
  .cols { grid-template-columns: 1fr; }
  .col-l { position: static; }
  .col-l #amp { margin: 0 auto; }
  .col-r { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

/* photos de profil */
.av, .cm-av { overflow: hidden; }
.av img, .cm-av img { display: block; width: 100%; height: 100%; object-fit: cover; }

.poll-undo { display: inline-block; margin-top: 2px; font-size: 9px; }
