/* ASE Jeux — portail, connexion, liste, journal — GROUPE ASE */
[hidden] { display: none !important; }
:root {
  --fond: #0f0d0b; --fond2: #181410; --carte: #1f1a15; --ligne: rgba(232, 200, 140, .16);
  --texte: #f4ece0; --doux: #b9ab97; --or: #d9b46a; --or2: #f0d49a; --rouge: #e04848; --vert: #2fb36a;
  --titre: 'Anton', 'Impact', 'Arial Narrow', sans-serif; --corps: 'Fredoka', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--fond); color: var(--texte); font-family: var(--corps); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--or2); }
.bt { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .62em 1.1em; border-radius: 10px; border: 1px solid transparent; font: 600 15px/1.1 var(--corps); cursor: pointer; text-decoration: none; color: var(--texte); background: transparent; white-space: nowrap; transition: transform .08s, background .15s, border-color .15s; }
.bt:active { transform: scale(.97); }
.bt-or { background: linear-gradient(180deg, var(--or2), var(--or)); color: #1d1405; }
.bt-or:hover { filter: brightness(1.06); }
.bt-discret { border-color: var(--ligne); background: rgba(255,255,255,.03); }
.bt-discret:hover { border-color: rgba(232,200,140,.4); }
input, select, textarea { font: inherit; color: var(--texte); background: #0b0907; border: 1px solid var(--ligne); border-radius: 9px; padding: .6em .75em; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--or); outline-offset: 1px; }
label { display: flex; flex-direction: column; gap: .3em; font-size: 14px; color: var(--doux); }

/* Portail */
.pt-haut, .ad-haut { display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--ligne); }
.pt-marque, .ad-marque { display: flex; align-items: center; gap: 10px; font-family: var(--titre); font-size: 22px; letter-spacing: .04em; color: var(--texte); text-decoration: none; }
.pt-marque img { height: 32px; }
.pt-marque em, .ad-marque em { font-style: normal; color: var(--or); }
.pt { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 60px; }
.pt-hero { padding: clamp(40px, 9vw, 96px) 0 clamp(28px, 5vw, 48px); max-width: 760px; }
.pt-sur { margin: 0 0 14px; color: var(--or); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.pt-hero h1 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: clamp(40px, 7.5vw, 76px); line-height: 1.02; letter-spacing: .005em; }
.pt-hero h1 span { color: var(--or2); }
.pt-intro { margin: 18px 0 0; font-size: clamp(16px, 2vw, 19px); color: var(--doux); max-width: 620px; }
.pt-cartes { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.pt-carte { background: linear-gradient(180deg, var(--carte), var(--fond2)); border: 1px solid var(--ligne); border-radius: 18px; padding: 26px; position: relative; overflow: hidden; }
.pt-carte h2 { margin: 0 0 10px; font-family: var(--titre); font-weight: 400; font-size: 32px; letter-spacing: .01em; }
.pt-carte p { margin: 0 0 14px; color: var(--doux); }
.pt-carte ul { margin: 0; padding: 0 0 0 1.1em; color: var(--texte); }
.pt-carte li { margin: .25em 0; }
.pt-carte-ill { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.pt-carte-ill span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--titre); font-size: 24px; color: #1d1405;
  background: radial-gradient(circle at 34% 28%, #fff, var(--or2) 20%, var(--or) 75%); box-shadow: 0 6px 18px rgba(217,180,106,.25);
  animation: ptb 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .18s); }
.pt-carte-ill span:nth-child(3n) { background: radial-gradient(circle at 34% 28%, #fff, #ffb26b 20%, #e86a12 75%); }
@keyframes ptb { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.pt-carte-bientot { display: flex; flex-direction: column; justify-content: flex-end; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.02) 0 14px, transparent 14px 28px), var(--fond2); }
.pt-contact { margin-top: 26px; padding: 30px; border-radius: 18px; border: 1px solid var(--ligne); background: radial-gradient(120% 140% at 0 0, rgba(217,180,106,.14), transparent 55%), var(--fond2); }
.pt-contact h2 { margin: 0 0 6px; font-family: var(--titre); font-weight: 400; font-size: 30px; }
.pt-contact p { margin: 0 0 16px; color: var(--doux); }
.pt-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pt-pied { text-align: center; color: var(--doux); font-size: 13px; padding: 26px 16px 34px; border-top: 1px solid var(--ligne); }
.pt-pied a { color: var(--doux); text-decoration: none; }
.pt-pied b { color: var(--texte); }
@media (max-width: 760px) { .pt-cartes { grid-template-columns: 1fr; } }

/* Connexion */
.cx { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(80% 60% at 50% 0, rgba(217,180,106,.12), transparent 60%); }
.cx-boite { width: min(380px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 18px; background: var(--carte); border: 1px solid var(--ligne); }
.cx-boite h1 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 34px; }
.cx-boite p { margin: 0; color: var(--doux); }
.cx-retour { font-size: 13px; color: var(--doux); text-decoration: none; }
.cx-err { color: #ff8080 !important; font-weight: 600; }

/* Liste des soirées */
.ad { max-width: 1080px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 40px; display: flex; flex-direction: column; gap: 22px; }
.ad-bloc { background: var(--fond2); border: 1px solid var(--ligne); border-radius: 16px; padding: 22px; }
.ad-bloc h1, .ad-bloc h2, .ad-bloc summary { margin: 0 0 16px; font-family: var(--titre); font-weight: 400; font-size: 28px; letter-spacing: .01em; }
.ad-bloc summary { cursor: pointer; font-size: 22px; margin: 0; }
details[open] summary { margin-bottom: 14px; }
.ad-form { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 900px) { .ad-form { grid-template-columns: 1fr 1fr; } .ad-form .bt { grid-column: 1 / -1; } }
.ad-vide { color: var(--doux); margin: 0; }
.ls-soiree { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--ligne); flex-wrap: wrap; }
.ls-code { font-family: var(--titre); font-size: 26px; letter-spacing: .12em; color: var(--or2); min-width: 92px; }
.ls-info { flex: 1; min-width: 220px; }
.ls-info h3 { margin: 0; font-size: 18px; }
.ls-info p { margin: 2px 0 0; color: var(--doux); font-size: 14px; }
.ls-mini { font-size: 13px !important; }
.ls-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ls-actions form { margin: 0; }
.ls-actions .bt { padding: .5em .85em; font-size: 14px; }

/* Journal */
.jn { max-width: 1100px; margin: 0 auto; padding: 24px clamp(14px, 3vw, 32px); }
.jn-haut { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.jn h1 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: 34px; }
.jn h2 { font-family: var(--titre); font-weight: 400; font-size: 24px; margin: 26px 0 10px; }
.jn-haut p { margin: 4px 0 0; color: var(--doux); }
.jn-bt { display: flex; gap: 8px; }
.jn-partie { border: 1px solid var(--ligne); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: var(--fond2); }
.jn-partie h3 { margin: 0 0 8px; font-size: 18px; }
.jn-partie h3 small { color: var(--doux); font-weight: 400; margin-left: 8px; }
.jn-tires { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.jn-tires span { position: relative; min-width: 38px; text-align: center; padding: 6px 4px 3px; border-radius: 8px; background: rgba(217,180,106,.15); font-weight: 700; }
.jn-tires i { position: absolute; top: -6px; left: 2px; font-size: 9px; font-style: normal; color: var(--doux); font-weight: 400; }
.jn-g { margin: 8px 0 0; color: var(--or2); font-weight: 600; }
.jn-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.jn-t th, .jn-t td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.jn-t th { color: var(--doux); font-weight: 600; }
.jn-t small { color: #ffb36b; }
.jn-t .t-gagnant td { color: var(--or2); font-weight: 700; }
.jn-t .t-annuler td, .jn-t .t-remise td { color: #ff9a9a; }
.jn-pied { color: var(--doux); font-size: 13px; margin-top: 24px; }
@media print {
  body { background: #fff; color: #000; }
  .jn-bt { display: none; }
  .jn-partie { background: #fff; border-color: #ccc; }
  .jn-tires span { background: #eee; }
  .jn-t th, .jn-t td { border-color: #ccc; }
  .jn-t small, .jn-g, .jn-t .t-gagnant td { color: #000; }
  a { color: #000; }
}
