/* (67, le 30/10/2026 ; la tête : « pirates, donjons, casino et exploits AU STYLE NEUF ») LES PAGES DU JEU AU KIT DE b5 : chargée
   après css/kit.css. Plus de cadre de bois ni de parchemin en pixels, plus de cartes penchées ni de pinces : des cartes droites
   et arrondies, des bandes de nuit en dégradés doux, nos illustrations rendues dans Blockbench (tete_48/illustrations_site) */

/* ---- les bandes : la mer, la nuit, une bande large (le texte et son illustration) ---- */
.mer { background: radial-gradient(80% 40% at 50% 0%, rgba(46, 143, 184, .24), transparent 70%), linear-gradient(180deg, #11263F 0%, #0D1B30 60%, var(--nuit) 100%); }
.bande-k { position: relative; background: var(--nuit); color: #F4EAFF; }
.bande-large { overflow: hidden; background: radial-gradient(60% 90% at 85% 50%, rgba(255, 138, 61, .16), transparent 65%), radial-gradient(55% 90% at 10% 20%, rgba(155, 93, 229, .22), transparent 60%), linear-gradient(180deg, var(--nuit-2), var(--nuit)); }
.large-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 30px; }
.large-grille .tete { text-align: left; margin: 0; max-width: none; }
.large-grille .tete p { font-size: 18px; line-height: 1.6; }
.illu-k { margin: 0; position: relative; display: grid; place-items: center; }
.illu-k img { width: 100%; height: auto; max-width: 460px; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .45)); }
.illu-k::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 6%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); }
.illu-k figcaption { position: relative; margin-top: 4px; font: 400 15px var(--police-bouton); letter-spacing: .4px; color: var(--or-k); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .illu-k.flotte img { animation: illu-flotte 6s ease-in-out infinite; }
  @keyframes illu-flotte { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-10px) rotate(.6deg); } }
}

/* ---- les photos : plus de cadre de bois ; une carte arrondie, sa légende dessous sur la nuit ---- */
.tableau { border: 0; border-image: none; border-radius: 24px; overflow: hidden; image-rendering: auto; background: var(--carte); box-shadow: var(--ombre-douce), 0 0 0 1px rgba(255, 255, 255, .1); }
.tableau figcaption { background: linear-gradient(180deg, var(--carte-2), var(--carte)); color: #F3E7FF; font-weight: 600; font-size: 17px; padding: 14px 22px 15px; }
.tableau.grand figcaption { font-size: 18px; }
.mer .voiles + .galerie.seule { margin-top: 44px; }

/* ---- les cartes : droites ; « mosaique » devient trois cartes égales ---- */
.cartes.mosaique { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
.cartes.mosaique > :nth-child(n) { grid-row: auto; display: block; transform: none; }
.cartes.mosaique > :nth-child(1) h3 { font-size: 27px; }
.cartes.mosaique > :nth-child(1) .signe { font-size: 46px; line-height: 64px; height: 64px; }
.astuces.notes .carte:nth-child(n) { transform: none; }
.astuces.notes .carte:hover { transform: translateY(-4px); }
@media (max-width: 960px) { .cartes.mosaique { grid-template-columns: minmax(0, 1fr); } }

/* ---- les voiles (la mer) : quatre cartes de nuit droites, la vidéo en haut, sans cordage ni pince ---- */
.voiles { padding-top: 0; margin-top: 44px; gap: 20px; align-items: stretch; }
.voiles::before, .voile::before { display: none; }
.voiles .voile:nth-child(n) { margin-top: 0; transform: none; }
.voile { overflow: hidden; border: 1px solid var(--trait); border-radius: 22px; background: linear-gradient(180deg, var(--carte-2), var(--carte)); box-shadow: var(--ombre-douce); }
.voiles .voile:hover { transform: translateY(-5px); }
.voile-ecran { border-bottom: 0; }
.voile .num { display: inline-block; margin: 16px 16px 8px; padding: 3px 11px; border-radius: 999px; background: rgba(143, 227, 255, .14); color: #8FE3FF; }
.voile h3 { color: var(--or-k); }
.voile li::before { border-radius: 50%; transform: none; background: var(--or-k); }
@media (max-width: 960px) { .voiles { padding: 4px 6px 24px; margin-top: 30px; scrollbar-color: var(--or-k) transparent; } }

/* ---- la carte d'un boss sous la mer : son illustration et le chemin des boss ---- */
.boss-k { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 10px 26px; max-width: 760px; margin: 56px auto 0; padding: 18px 26px 18px 14px; }
.boss-k .illu-k img { max-width: 220px; }
.boss-k h3 { margin: 0 0 6px; font-size: 28px; color: var(--titre-creme); }
.boss-k p { margin: 0 0 16px; color: #E4D6F5; }

@media (max-width: 760px) {
  .large-grille { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .large-grille .illu-k { order: -1; }
  .large-grille .illu-k img { max-width: 300px; }
  .large-grille .tete p { font-size: 17px; }
  .boss-k { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 10px 18px 22px; }
  .boss-k .illu-k img { max-width: 190px; }
}

/* ==== LES DONJONS : les deux stèles en cartes arrondies (la mousse et le grès en dégradés doux, plus de joints de pierre en
   lignes), leurs marches en blocs arrondis ; la pile des photos arrondie ; les trois sabliers en cartes crème ==== */
.steles .stele { border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; box-shadow: var(--ombre-douce); }
.steles .stele::before { display: none; }
.steles .stele.temple { background: radial-gradient(90% 70% at 0% 0%, rgba(120, 190, 70, .30), transparent 60%), radial-gradient(70% 60% at 100% 100%, rgba(40, 70, 30, .5), transparent 70%), linear-gradient(180deg, #4C5D46, #2C3829); }
.steles .stele.sanctuaire { border-color: rgba(255, 236, 190, .5); background: radial-gradient(90% 70% at 100% 0%, rgba(255, 236, 170, .7), transparent 60%), linear-gradient(180deg, #EBCF92, #CDA35F); }
.stele .stele-astuce { border-top: 1px solid currentColor; }
.marches li { border: 0; border-radius: 16px; }
.stele.temple .marches li { box-shadow: inset 0 3px 0 rgba(150, 200, 100, .35), 0 5px 0 rgba(0, 0, 0, .3); }
.stele.sanctuaire .marches li { box-shadow: inset 0 3px 0 rgba(255, 245, 210, .7), 0 5px 0 rgba(90, 55, 8, .3); }
.marches b { font-family: var(--police-titre); }
.regles-groupe p { border: 1px solid rgba(255, 207, 90, .3); background: rgba(0, 0, 0, .25); border-radius: 18px; }
.donjon-dedans [data-carrousel] > .vue { border-radius: 20px; border: 1px solid rgba(255, 207, 90, .4); overflow: hidden; }
.trois-sabliers article { border: 0; border-radius: var(--r-carte); background: linear-gradient(180deg, #FFFBF1, #FBF0D9); box-shadow: 0 10px 24px rgba(40, 22, 10, .16), 0 0 0 1px rgba(74, 47, 28, .08); }
.trois-sabliers h3 { font-size: 30px; color: var(--brun); }
.boss-k.desert { margin-top: 46px; }

/* ==== LE CASINO : l'enseigne et ses ampoules gardées, mais arrondie ; les minerais en pilules ; chaque écran, photo, cote et
   borne en carte arrondie au filet d'or fin ; plus rien de penché ==== */
.enseigne { border: 2px solid var(--or-k); border-radius: 30px; box-shadow: inset 0 0 0 5px rgba(43, 6, 13, .55), inset 0 0 40px rgba(0, 0, 0, .3), 0 18px 40px rgba(0, 0, 0, .45); }
.enseigne h2 { text-shadow: 0 3px 0 rgba(60, 0, 10, .6); }
.ampoules { left: 26px; right: 26px; }
.minerais li { border: 0; border-radius: 999px; padding: 8px 16px 8px 10px; box-shadow: 0 4px 0 #5C1020, inset 0 0 0 1px rgba(165, 119, 19, .45); }
.minerais li::before { border-radius: 6px; }
.casino-frise [data-carrousel] > .vue { border-radius: 20px; border: 1px solid rgba(255, 207, 90, .55); overflow: hidden; }
.ecran-casino { border: 1px solid rgba(255, 207, 90, .6); border-radius: 22px; padding: 10px; background: linear-gradient(180deg, #33190B, #241006); }
.ecran-casino img { border-radius: 12px; }
.ecran-casino.stats.vu { transform: none; }
.cotes { border: 1px solid rgba(255, 207, 90, .45); border-radius: 18px; }
.derniers { outline: 0; border: 1px solid rgba(255, 207, 90, .6); border-radius: 18px; overflow: hidden; }
.derniers-bande b { border-radius: 10px; }
.derniers-fenetre::after { border-radius: 10px; }
.tables > img:first-child { border: 1px solid rgba(255, 207, 90, .55); border-radius: 22px; }
.ecran-deco { outline: 0; border: 2px solid var(--or-k); border-radius: 14px; transform: none; animation-name: deco-flotte-k; }
@keyframes deco-flotte-k { from { transform: translateY(0) } to { transform: translateY(-10px) } }
.carte-mini, .carte-mini.rouge { transform: none; border-radius: 8px; border: 0; box-shadow: 0 4px 0 rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(150, 120, 70, .45); }
.casino-bornes [data-carrousel] > .vue.borne { border: 1px solid rgba(255, 207, 90, .55); border-radius: 20px; overflow: hidden; }
.casino-familiers .chances li { border: 0; border-radius: 14px; background: rgba(255, 255, 255, .6); box-shadow: 0 3px 0 rgba(107, 68, 35, .22), inset 0 0 0 1px rgba(165, 119, 19, .3); }
.maison-grille .texte p.maison-regle { border-left: 0; border-radius: 16px; box-shadow: inset 4px 0 0 var(--or-k); }
.familiers-scene .f-chat { width: min(48%, 250px); }

/* ==== LES EXPLOITS : le fil sur la nuit, ses lignes en cartes arrondies, ses filtres en pilules ; le fil vide jamais nu (le
   le boss, la phrase, les boss et le classement) ==== */
.bande-fil { background: radial-gradient(60% 40% at 20% 0%, rgba(155, 93, 229, .22), transparent 65%), radial-gradient(50% 40% at 90% 30%, rgba(255, 138, 61, .1), transparent 65%), linear-gradient(180deg, var(--nuit-2), var(--nuit)); }
.filtre { border: 0; border-radius: 999px; padding: 8px 16px; min-height: 40px; font-family: var(--police-bouton); font-weight: 400; letter-spacing: .3px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 3px 0 rgba(0, 0, 0, .35); }
.filtre:hover { color: var(--or-k); }
.filtre[aria-pressed="true"] { color: #4A2B07; background: linear-gradient(180deg, #FFE08A, var(--or-k) 45%, var(--or-k2)); box-shadow: 0 3px 0 var(--or-k-fonce); }
.direct .point { border-radius: 50%; }
.exploit-fil { border-radius: 18px; background: linear-gradient(180deg, var(--carte-2), var(--carte)); border: 1px solid var(--trait); }
.exploit-fil .tete-lien { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 2px rgba(255, 255, 255, .16), 0 4px 0 rgba(0, 0, 0, .3); }
.exploit-fil .tete-lien:hover { box-shadow: 0 0 0 2px var(--or-k), 0 4px 0 rgba(0, 0, 0, .3); }
.exploit-fil .sorte { font-family: var(--police-bouton); }
.vide-fil { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 8px 22px; margin: 0; padding: 18px 26px 18px 14px; text-align: left; opacity: 1; }
.vide-fil[hidden] { display: none; }
.vide-illu { width: 100%; height: auto; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .45)); }
.vide-mot { margin: 0 0 14px; font-family: var(--police-titre); font-size: 26px; line-height: 1.25; color: var(--titre-creme); }
.vide-gestes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
@media (max-width: 700px) {
  .vide-fil { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 14px 18px 22px; }
  .vide-illu { width: 150px; margin: 0 auto; }
  .vide-mot { font-size: 22px; }
  .vide-gestes { justify-content: center; }
}

/* ==== LES PAGES D'ENTRÉE (serveur-minecraft-ile, -modde, -rpg, -boss, launcher-minecraft-modde ; la tête, 30/10 : l'habillage
   seul, jamais un mot du texte) : le cadre de bois, les pancartes penchées, la route aux bornes carrées, les écrans penchés et les
   objets en parchemin deviennent des cartes arrondies ==== */
.cadre-bois { border: 0; border-image: none; border-radius: 24px; overflow: hidden; image-rendering: auto; box-shadow: var(--ombre-douce), 0 0 0 1px rgba(255, 255, 255, .12); }
.cadre-bois > * { background: none; }
.launcher .cadre-bois { border-width: 0; }
.pancarte.p1, .pancarte.p2 { transform: none; }
.pancarte:hover { transform: translateY(-4px); }
.route .pas-photo { border: 1px solid rgba(255, 215, 94, .45); border-radius: 22px; box-shadow: 0 22px 44px rgba(0, 0, 0, .45); }
.route .pas-photo > img:first-child { border-radius: 21px; }
.route .pas-photo:hover { transform: translateY(-5px); box-shadow: 0 0 34px rgba(255, 215, 94, .25), 0 26px 48px rgba(0, 0, 0, .5); }
.route::before { width: 4px; border-radius: 2px; background: repeating-linear-gradient(180deg, rgba(255, 207, 90, .7) 0 10px, rgba(255, 207, 90, 0) 10px 24px); }
.route .borne { border: 0; border-radius: 20px; background: linear-gradient(180deg, #FFE08A, var(--or-k) 45%, var(--or-k2)); box-shadow: 0 5px 0 var(--or-k-fonce), 0 0 0 6px var(--nuit), 0 0 24px rgba(255, 207, 90, .35); }
.route .borne small { color: #7A4A12; }
.route .borne b { color: #4A2B07; text-shadow: none; font-family: var(--police-titre); }
.trois-ecrans figure .ecran-penche { transform: none; }
.ecran-large { border: 1px solid rgba(255, 207, 90, .5); border-radius: 22px; overflow: hidden; box-shadow: var(--ombre-douce); }
.victoire-ecran { border: 1px solid rgba(255, 207, 90, .5); border-radius: 22px; transform: none; }
.victoire-ecran img { border-radius: 21px; }
.victoire-ecran .bulle-entree, .victoire-ecran .bulle-defaite { border: 0; border-radius: 16px; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.victoire-ecran .bulle-entree::after, .victoire-ecran .bulle-defaite::after { border: 0; }
.fenetre-launcher .capture { transform: none; border-radius: 20px; }
/* les objets faits maison : des cartes crème arrondies (plus de cadre ni de parchemin en pixels) */
.objet { border: 0; border-image: none; border-radius: 18px; image-rendering: auto; background: linear-gradient(180deg, #FFFBF1, #FBF0D9); box-shadow: 0 8px 20px rgba(40, 22, 10, .14), 0 0 0 1px rgba(74, 47, 28, .08); }
.objet:hover img { transform: scale(1.08); }
@media (max-width: 620px) {
  .objets .famille > summary { border: 0; border-image: none; border-radius: 16px; image-rendering: auto; background: linear-gradient(180deg, #FFFBF1, #FBF0D9); box-shadow: 0 6px 14px rgba(40, 22, 10, .12), 0 0 0 1px rgba(74, 47, 28, .08); }
}
@media (max-width: 760px) {
  .victoire-ecran img { border: 0; border-radius: 18px; box-shadow: 0 12px 26px rgba(0, 0, 0, .5); }
}
/* nos illustrations posées sur une carte (décor seul : alt vide, aucun mot de plus pour les moteurs) */
.carte-illu { position: relative; }
.carte-illu .illu-coin { position: absolute; right: -14px; top: -34px; width: 104px; height: auto; pointer-events: none; filter: drop-shadow(0 10px 12px rgba(40, 22, 10, .35)); }
.carte-illu h3 { padding-right: 78px; }
/* les trois étapes « fil » : droites, reliées par un trait d'or doux ; le quai des boutons de téléchargement arrondi */
.etapes.trois.fil li:nth-child(n) .carte { transform: none; }
.etapes.trois.fil::before { top: 3px; height: 3px; border-top: 0; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(243, 169, 58, .7) 12%, rgba(243, 169, 58, .7) 88%, transparent); }
.plateformes.quai { border: 1px solid rgba(255, 207, 90, .45); border-radius: 28px; box-shadow: var(--ombre-douce); }
/* les numéros de « Ce que rapporte un boss » : des pastilles d'or à lèvre, comme les étapes du kit */
.victoire-temps li::before { border: 0; border-radius: 11px; color: #4A2B07; background: linear-gradient(180deg, #FFE08A, var(--or-k) 50%, var(--or-k2)); box-shadow: 0 3px 0 var(--or-k-fonce); font-family: var(--police-bouton); text-shadow: none; }
/* le combat et la planète : leurs quatre photos en cartes arrondies (la couleur de chaque bande en filet fin dessous) */
.cartes-combat figure, .cartes-planete figure { border-top: 0; border-radius: var(--r-carte); overflow: hidden; border: 1px solid var(--trait); box-shadow: var(--ombre-douce); }
.cartes-combat figure { background: linear-gradient(180deg, var(--carte-2), var(--carte)); box-shadow: var(--ombre-douce), inset 0 -3px 0 rgba(255, 207, 90, .55); }
.cartes-planete figure { box-shadow: var(--ombre-douce), inset 0 -3px 0 rgba(255, 138, 60, .6); }
/* les commandes à copier (l'aide du launcher) : arrondies */
.reponses pre { border-radius: 10px; }
.reponses { border-top: 1px solid rgba(74, 47, 28, .18); }
/* (86, 03/11/2026, l'audit du site, n° 1) le haut de la page des boss sur un téléphone : les modèles des boss (240 px) puis le texte poussaient le bouton
   « Jouer gratuitement » sous le bandeau « Casteria ouvre bientôt » (fixe, en bas de l'écran). Les modèles plus bas, le haut plus serré : le bouton tient
   au premier écran, au-dessus du bandeau. */
@media (max-width: 620px) {
  .vitrine-tete.haut-boss { padding-top: 92px; }
  .vitrine-tete.haut-boss .scene { height: 150px; }
  .vitrine-tete.haut-boss .accroche { margin-bottom: 20px; }
}
