/* arsaniann.gpotatu.com : mise en page du portail de jeu 2010 (barre portail, grand visuel, menu a bouton Telecharger, 3 colonnes) */
:root {
  --nuit: #0b1d38;
  --panneau: #10294d;
  --panneau2: #091931;
  --bord: #6f9fd0;
  --texte: #dfe8f5;
  --encre: #183a66;
  --beige: #efe4c6;
  --or: #b9a978;
  --rouge: #a3241c;
}
* { box-sizing: border-box; }
html { background: var(--nuit); }
body {
  margin: 0;
  color: var(--texte);
  font: 12px/1.45 Tahoma, Verdana, Geneva, sans-serif;
  background:
    linear-gradient(to bottom, rgba(11, 29, 56, 0) 300px, var(--nuit) 740px),
    linear-gradient(to right, var(--nuit), rgba(11, 29, 56, 0) 12%, rgba(11, 29, 56, 0) 88%, var(--nuit)) center top / 1600px 740px no-repeat,
    url(fond.jpg) center top / 1600px auto no-repeat,
    var(--nuit);
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 930px; margin-inline: auto; }

/* barre du portail */
.topbar { background: linear-gradient(#162c4d, #0a1a33); border-bottom: 1px solid #2d4f7d; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 36px; padding-inline: 8px; }
.gp { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; padding-block: 3px; }
.gp img { height: 20px; width: auto; }
.gp span { font: bold 7px Tahoma, sans-serif; letter-spacing: 1.5px; color: #9fb7d6; margin-top: 2px; }
.topbar nav { display: flex; }
.topbar nav a { font: bold 11px Tahoma, sans-serif; letter-spacing: .5px; text-decoration: none; padding: 0 12px; color: #dfe8f5; }
.topbar nav a + a { border-left: 1px solid #3a5a86; }
.topbar nav a:hover { color: #fff; text-decoration: underline; }

/* visuel + logo */
.tete { display: flex; justify-content: center; height: 214px; padding-top: 6px; }
.logo img { display: block; width: 210px; height: 210px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }

/* menu principal a bouton central */
.menu .barre {
  display: grid; grid-template-columns: 1fr 1fr 236px 1fr 1fr; align-items: center; text-align: center;
  height: 52px; padding-inline: 10px;
  background: linear-gradient(rgba(44, 86, 138, .88), rgba(8, 24, 48, .94));
  border: 1px solid rgba(160, 200, 240, .6); border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 18px rgba(0, 0, 0, .55);
}
.menu a { font: 900 20px 'Cinzel', 'Trajan Pro', Georgia, serif; letter-spacing: 1px; color: #fff; text-decoration: none;
  text-shadow: 0 0 2px #000, 0 2px 3px #000; }
.menu a:hover, .menu a:focus-visible { color: #ffe9a8; }
.menu .dl {
  display: flex; flex-direction: column; justify-content: center; height: 80px; margin: -14px 6px;
  background: linear-gradient(#3c3c3c, #111 55%, #222);
  border: 3px solid var(--or); border-radius: 12px;
  box-shadow: 0 0 0 2px #262626, 0 8px 18px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.menu .dl b { font-size: 22px; color: #f1e6c2; line-height: 1.1; }
.menu .dl small { font: bold 10px Tahoma, sans-serif; letter-spacing: 2px; color: #cfc3a0; text-shadow: none; }

/* 3 colonnes */
.cols { display: grid; grid-template-columns: 190px minmax(0, 1fr) 210px; gap: 12px; margin-top: 30px; align-items: start; }

.login {
  background: linear-gradient(rgba(16, 41, 77, .94), rgba(9, 25, 49, .96));
  border: 1px solid var(--bord); border-radius: 6px; padding: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 4px 12px rgba(0, 0, 0, .45);
}
.form-login { display: grid; grid-template-columns: 1fr 66px; gap: 4px 5px; }
.form-login input {
  width: 100%; height: 22px; padding: 2px 5px; font: 11px Tahoma, sans-serif;
  background: #2a0f0f; color: #ffe0d8; border: 1px solid #7b2a22; border-radius: 2px;
}
.form-login input::placeholder { color: #e2705f; font-weight: bold; }
.form-login input:focus { outline: 1px solid #ffb3a6; }
.form-login button {
  grid-column: 2; grid-row: 1 / span 2; cursor: pointer;
  font: bold 10px Tahoma, sans-serif; color: #fff; letter-spacing: .3px;
  background: linear-gradient(#cf3f32, #7a140f); border: 1px solid #e0786a; border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.form-login button:hover { background: linear-gradient(#e04c3e, #8d1a13); }
.form-login button:focus-visible, .pager button:focus-visible { outline: 2px solid #ffe9a8; outline-offset: 1px; }
.erreur { margin: 6px 0 0; color: #ffb3a6; font-size: 11px; }
.salut { margin: 0 0 6px; font-size: 12px; }
.liens { list-style: none; margin: 8px 0 0; padding: 0; font-size: 11px; }
.liens li::before { content: "▸ "; color: #e0786a; }
.liens a { color: #fff; }

.raccourcis { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.raccourcis a {
  display: flex; align-items: center; height: 52px; padding: 0 40px 0 12px; line-height: 1.1;
  font: 900 15px 'Cinzel', Georgia, serif; color: #fff; text-decoration: none;
  text-shadow: 0 0 3px #000, 1px 1px 0 #000;
  background: linear-gradient(#21497c, #0d2546); border: 1px solid #5d8cc0; border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 3px 8px rgba(0, 0, 0, .4);
}
.raccourcis a:hover { background: linear-gradient(#2b5a96, #123058); color: #ffe9a8; }

/* diaporama */
.pager { display: flex; justify-content: center; gap: 3px; margin-bottom: 6px; }
.pager button {
  width: 18px; height: 18px; padding: 0; cursor: pointer; border-radius: 50%;
  font: bold 10px Tahoma, sans-serif; color: #fff; background: #12305a; border: 1px solid #9cc3ea;
}
.pager .actif { background: #fff; color: var(--encre); }
.pager .fleche { border-color: transparent; background: none; font-size: 12px; }
.diapo {
  position: relative; aspect-ratio: 990 / 560; max-width: 100%; overflow: hidden;
  border: 2px solid #8fb3da; border-radius: 4px; outline: 3px solid #0a1a33;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .6);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; text-decoration: none; }
.slide.actif { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.legende {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px;
  background: linear-gradient(rgba(5, 14, 30, 0), rgba(5, 14, 30, .9)); font-size: 12px; color: #dfe8f5;
}
.legende b { display: block; font: 900 21px 'Cinzel', Georgia, serif; color: #fff; text-shadow: 0 2px 3px #000; }

/* boites (colonne droite + actualites) */
.boite {
  background: linear-gradient(var(--panneau), var(--panneau2)); border: 1px solid var(--bord); border-radius: 6px;
  overflow: hidden; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, .45);
}
.boite h2 {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 10px;
  font: 900 13px 'Cinzel', Georgia, serif; letter-spacing: .3px; color: #fff; text-shadow: 0 0 2px #000, 0 1px 2px #000;
  background: linear-gradient(#2c578d, #11305a); border-bottom: 1px solid #4f7fb4;
}
.cadran { position: relative; flex: none; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50%; }
.cadran::before, .cadran::after { content: ""; position: absolute; left: 6px; bottom: 6px; width: 2px; background: #fff; transform-origin: bottom; }
.cadran::before { height: 6px; }
.cadran::after { height: 5px; transform: rotate(110deg); }
.horloge p {
  margin: 8px; padding: 5px; text-align: center; font: bold 11px Tahoma, sans-serif; font-variant-numeric: tabular-nums;
  color: #3a2a10; background: linear-gradient(#f6edd3, #e2d3aa); border: 1px solid #9c8752; border-radius: 3px;
}
.patchs ul { list-style: none; margin: 0; padding: 6px; }
.patchs li, .actus article {
  background: linear-gradient(#f3f7fc, #d9e6f4); border: 1px solid #a9c2df; border-radius: 2px; color: var(--encre);
}
.patchs li { margin-bottom: 4px; padding: 5px 7px; }
.patchs li b { display: block; font-size: 11px; }
.patchs li small, .actus small { font-size: 10px; color: #5a6f8a; font-weight: normal; }
.actus { margin-top: 14px; }
.actus article { margin: 6px; padding: 8px 10px; }
.actus h3 { margin: 0 0 3px; font-size: 13px; }
.actus p { margin: 0; }

footer { margin-top: 24px; border-top: 1px solid #2d4f7d; padding: 16px; text-align: center; color: #8ea6c6; font-size: 11px; }

@media (max-width: 940px) {
  .wrap { padding-inline: 16px; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .topbar nav a { padding: 0 7px; font-size: 10px; }
  .menu .barre { grid-template-columns: 1fr 1fr; height: auto; gap: 6px; padding: 8px; border-radius: 14px; }
  .menu .dl { grid-column: 1 / -1; order: -1; height: 64px; margin: 0; }
  .menu a { font-size: 16px; }
  .tete { height: 170px; }
  .logo img { width: 160px; height: 160px; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* langues (31/10) : FR | EN au bout de la barre du haut, comme le portail Gpotatu */
.topbar .langues { display: flex; border-left: 1px solid #3a5a86; }
.topbar .langues a { padding: 0 7px; color: #9fb7d6; }
.topbar .langues a.actif { color: #ffe9a8; }
@media (max-width: 520px) {
  .topbar nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 4px; }
  .topbar nav a { padding: 0 5px; }
}

/* ARSANIANN_SITE_1101 (01/11) : pages classement / mes personnages / boutique */
.page { margin-top: 26px; }
.page h1 { margin: 10px 0 12px; font: 900 24px 'Cinzel', Georgia, serif; color: #fff; text-shadow: 0 0 3px #000, 0 2px 3px #000; }
.sous-menu { display: flex; gap: 6px; flex-wrap: wrap; }
.sous-menu a, .onglets > a {
  padding: 5px 12px; font: bold 11px Tahoma, sans-serif; color: #dfe8f5; text-decoration: none;
  background: linear-gradient(#21497c, #0d2546); border: 1px solid #5d8cc0; border-radius: 4px;
}
.sous-menu a.actif, .onglets > a.actif, .sous-menu a:hover, .onglets > a:hover { color: #ffe9a8; background: linear-gradient(#2b5a96, #123058); }
.contenu { padding: 12px; }
.contenu a { color: #ffe9a8; }
.onglets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.filtre { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.filtre select, .filtre button { font: 11px Tahoma, sans-serif; padding: 3px; background: #0b1d38; color: #dfe8f5; border: 1px solid #5d8cc0; border-radius: 3px; }
.aide { color: #9fb7d6; font-size: 11px; margin: 6px 0; }
.annonce { padding: 8px 10px; background: rgba(185, 169, 120, .15); border: 1px solid var(--or); border-radius: 4px; color: #f1e6c2; }
.table { overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th { text-align: left; padding: 6px; font: bold 11px Tahoma, sans-serif; color: #fff; background: linear-gradient(#2c578d, #11305a); }
.table td { padding: 5px 6px; border-bottom: 1px solid #23436d; }
.table tr:nth-child(even) td { background: rgba(255, 255, 255, .03); }
.table small { color: #9fb7d6; }
.pastille { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ecf5a; box-shadow: 0 0 4px #3ecf5a; vertical-align: middle; }
.produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 10px 0; }
.produit { display: grid; gap: 6px; padding: 12px; text-align: center; background: linear-gradient(#f3f7fc, #d9e6f4);
  border: 1px solid #a9c2df; border-radius: 4px; color: var(--encre); }
.produit b { font: 900 15px 'Cinzel', Georgia, serif; }
.produit .prix { font-weight: bold; color: var(--rouge); }
.produit button { font: bold 11px Tahoma, sans-serif; padding: 5px; color: #fff; background: #7a8796; border: 0; border-radius: 3px; }
.produit.absent { opacity: .6; }
.ico { vertical-align: -3px; image-rendering: pixelated; }
.produit .icone { justify-self: center; width: 64px; height: 64px; image-rendering: pixelated; }

/* ARSANIANN_DESIGN_1101 (Chris 01/11 18:00) : fond plein ecran (calque fixe : tient aussi sur mobile, ou background-attachment
   fixed est ignore), logo Gpotatu du portail en haut, colonne de boutons images sur toutes les pages */
html { background: var(--nuit); }
body { background: none; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(rgba(5, 13, 28, .30), rgba(5, 13, 28, .62)), url(fond-fantasy.jpg) center / cover no-repeat;
}
.gp img { height: 32px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.gp:hover img { filter: brightness(1.15); }
.boutons { display: grid; gap: 6px; margin-top: 8px; }
.boutons a, .boutons .bientot { position: relative; display: block; line-height: 0; }
.boutons img { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .55)); transition: transform .15s, filter .15s; }
.boutons a:hover img, .boutons a:focus-visible img { transform: translateX(3px); filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .55)) brightness(1.12); }
.boutons a:focus-visible { outline: 2px solid #ffe9a8; outline-offset: 2px; border-radius: 10px; }
.boutons .bientot img { filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .55)) saturate(.5) brightness(.75); }
.boutons .bientot em {
  position: absolute; right: 8%; bottom: 10%; padding: 2px 6px; line-height: 1.2; font: bold 9px Tahoma, sans-serif; font-style: normal;
  letter-spacing: 1px; text-transform: uppercase; color: #3a2a10; background: linear-gradient(#f6edd3, #e2d3aa); border: 1px solid #9c8752; border-radius: 3px;
}
.cols2 { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; margin-top: 26px; align-items: start; }
.cols2 .page { margin-top: 0; }
.cols2 .page h1 { margin-top: 8px; }
footer { background: rgba(5, 13, 28, .78); }
@media (max-width: 940px) {
  .boutons { grid-template-columns: 1fr 1fr; }
  .cols2 { grid-template-columns: minmax(0, 1fr); }
  .cols2 > .gauche { order: 2; }
}

/* ARSANIANN_PATCHER_PC_1101 : bouton TELECHARGER PC (colonne de gauche) et page telecharger.php = style du bouton TELECHARGER */
.boutons a.pc, .telecharger a.dl {
  display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 62px; padding: 6px 8px;
  line-height: 1.15; text-align: center; text-decoration: none; background: linear-gradient(#3c3c3c, #111 55%, #222);
  border: 3px solid var(--or); border-radius: 12px; transition: transform .15s, filter .15s;
  box-shadow: 0 0 0 2px #262626, 0 6px 14px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.boutons a.pc { grid-column: 1 / -1; }
.boutons a.pc:hover, .boutons a.pc:focus-visible, .telecharger a.dl:hover { transform: translateX(3px); filter: brightness(1.15); }
.boutons a.pc b, .telecharger a.dl b { font: 900 17px 'Cinzel', 'Trajan Pro', Georgia, serif; letter-spacing: 1px; color: #f1e6c2;
  text-shadow: 0 0 2px #000, 0 2px 3px #000; }
.boutons a.pc small, .telecharger a.dl small { margin-top: 3px; font: bold 9px Tahoma, sans-serif; letter-spacing: 1px; color: #cfc3a0; }
.telecharger { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.telecharger article { padding: 12px 16px; color: #f1e6c2; background: rgba(5, 13, 28, .72); border: 1px solid var(--or); border-radius: 6px; }
.telecharger h2 { margin: 0 0 10px; font: 900 18px 'Cinzel', Georgia, serif; color: #fff; }
.telecharger a.dl { max-width: 320px; margin: 0 0 10px; }
.telecharger ol { padding-left: 20px; line-height: 1.5; }
.telecharger .note { font-size: 12px; color: #cfc3a0; }
@media (max-width: 700px) { .telecharger { grid-template-columns: 1fr; } }

/* ARSANIANN_ACHAT_1101 / ARSANIANN_MENTION_1101 (01/11) : achat en runes, mention de marque en pied de page */
.produit .achat { display: grid; gap: 5px; }
.produit select { font: 11px Tahoma, sans-serif; padding: 3px; color: var(--encre); border: 1px solid #a9c2df; border-radius: 3px; }
.produit .achat button { cursor: pointer; background: linear-gradient(#cf3f32, #7a140f); border: 1px solid #e0786a; }
.produit .achat button:disabled { cursor: not-allowed; background: #7a8796; border-color: #7a8796; }
.sous-titre { margin: 16px 0 6px; font: 900 15px 'Cinzel', Georgia, serif; color: #fff; }
footer .mention { margin: 6px auto 0; max-width: 720px; font-size: 10px; color: #6f86a6; }
/* RUNES_ENTETE_1102 : solde de runes du compte (icone rune Haradon World) dans la barre du haut */
.topbar nav a.runes { display: inline-flex; align-items: center; gap: 4px; color: #8fdcff; }
.topbar nav a.runes img { width: 16px; height: 16px; }
/* ARSANIANN_AVIS_1104 : avis des joueurs (accueil #avis, inc/avis.php) ; etoiles en 2 couches (remplissage partiel), aucun JS */
.avis { scroll-margin-top: 12px; }
.avis-corps { padding: 8px 10px 10px; }
.avis .etoiles { position: relative; display: inline-block; color: #5d7699; letter-spacing: 1px; line-height: 1; white-space: nowrap; }
.avis .etoiles span { position: absolute; left: 0; top: 0; overflow: hidden; color: #f2b544; }
.avis-resume { margin: 0 0 8px; font-size: 13px; }
.avis-resume .etoiles { font-size: 18px; vertical-align: -2px; }
.avis-liste { list-style: none; margin: 0; padding: 0; }
.avis-liste li { margin: 0 0 6px; padding: 7px 10px; background: linear-gradient(#f3f7fc, #d9e6f4); border: 1px solid #a9c2df; border-radius: 2px; color: var(--encre); }
.avis-liste .etoiles { color: #a9c2df; }
.avis-liste .etoiles span { color: #c98a10; }
.avis-tete { margin: 0 0 3px; overflow-wrap: anywhere; }
.avis-tete b { margin: 0 5px; }
.avis-tete small { font-size: 10px; color: #5a6f8a; }
.avis-txt { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.avis-long summary { cursor: pointer; list-style: none; }
.avis-long summary::-webkit-details-marker { display: none; }
.avis-long summary .avis-txt { display: inline; }
.avis-long .lire { color: var(--rouge); text-decoration: underline; white-space: nowrap; }
.avis-long summary:focus-visible { outline: 2px solid var(--rouge); outline-offset: 2px; }
.avis-long[open] summary { display: none; }
.avis-pages { margin: 6px 0; font-size: 11px; }
.avis-pages a, .avis-pages b { padding: 0 3px; }
.avis-pages a, .avis .aide a { color: #ffe9a8; }
.avis .annonce, .avis .erreur { margin: 0 0 8px; }
.avis .erreur { font-size: 12px; }
.avis-form { margin-top: 10px; }
.avis-form h3 { margin: 0 0 4px; font: 900 14px 'Cinzel', Georgia, serif; color: #fff; text-shadow: 0 0 2px #000, 0 1px 2px #000; }
.avis-form label[for="avis-texte"] { display: block; margin: 6px 0 3px; }
.avis-form textarea { width: 100%; padding: 6px; font: 12px Tahoma, Verdana, sans-serif; color: #dfe8f5; background: #0b1d38;
  border: 1px solid #5d8cc0; border-radius: 3px; resize: vertical; }
.avis-form textarea:focus { outline: 1px solid #ffe9a8; }
.avis-form button { cursor: pointer; padding: 6px 14px; font: bold 11px Tahoma, sans-serif; color: #fff; letter-spacing: .3px;
  background: linear-gradient(#cf3f32, #7a140f); border: 1px solid #e0786a; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.avis-form button:hover { background: linear-gradient(#e04c3e, #8d1a13); }
.avis-form button:focus-visible { outline: 2px solid #ffe9a8; outline-offset: 1px; }
.choix-etoiles { margin: 0; padding: 0; border: 0; }
.choix-etoiles legend { padding: 0; }
.choix-etoiles .radios { display: inline-flex; flex-direction: row-reverse; }
.choix-etoiles input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choix-etoiles label { padding: 0 2px; font-size: 28px; line-height: 1.1; color: #5d7699; cursor: pointer; }
.choix-etoiles input:checked ~ label, .choix-etoiles label:hover, .choix-etoiles label:hover ~ label { color: #f2b544; }
.choix-etoiles input:focus-visible + label { outline: 2px solid #ffe9a8; outline-offset: 1px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
