.voting_wrapper{
    display:flex;
    align-items:center;
    gap:10px;
}

.voting_wrapper .voting_btn{
    appearance:none;
    -webkit-appearance:none;
    border:0;
    background:transparent;
    padding:0;
    margin:0;
    cursor:pointer;
    color:#18324a;
    opacity:.78;
    transition:opacity .18s ease, transform .18s ease;
}

.voting_wrapper .voting_btn:hover{
    opacity:1;
    transform:translateY(-1px);
}

.voting_wrapper .voting_btn.is-active{
    opacity:1;
}

.voting_wrapper.is-loading .voting_btn{
    pointer-events:none;
    opacity:.45;
}

.uf-vote-glyph{
    display:block;
    font-size:18px;
    line-height:1;
}
.voting_wrapper.has-voted .voting_btn:not(.is-active){
    opacity:.38;
}
.voting_wrapper .voting_btn.is-active{
    transform:translateY(-1px);
}

.up_votes,
.down_votes{
    display:none;
}

div {-moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px;}
img {-moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px;}

        .qc-cmp-button,
        .qc-cmp-button.qc-cmp-secondary-button:hover {
            background-color: #000000 !important;
            border-color: #000000 !important;
        }
        .qc-cmp-button:hover,
        .qc-cmp-button.qc-cmp-secondary-button {
            background-color: transparent !important;
            border-color: #000000 !important;
        }
        .qc-cmp-alt-action,
        .qc-cmp-link {
            color: #000000 !important;
        }
        .qc-cmp-button,
        .qc-cmp-button.qc-cmp-secondary-button:hover {
            color: #ffffff !important;
        }
        .qc-cmp-button:hover,
        .qc-cmp-button.qc-cmp-secondary-button {
            color: #000000 !important;
        }
        .qc-cmp-small-toggle,
        .qc-cmp-toggle {
            background-color: #000000 !important;
            border-color: #000000 !important;
        }
        .qc-cmp-main-messaging,
		.qc-cmp-messaging,
		.qc-cmp-sub-title,
		.qc-cmp-privacy-settings-title,
		.qc-cmp-purpose-list,
		.qc-cmp-tab,
		.qc-cmp-title,
		.qc-cmp-vendor-list,
		.qc-cmp-vendor-list-title,
		.qc-cmp-enabled-cell,
		.qc-cmp-toggle-status,
		.qc-cmp-table,
		.qc-cmp-table-header {
    		color: #000000 !important;
		}
       	
        .qc-cmp-ui {
  			background-color: #ffffff !important;
		}

		.qc-cmp-table,
		.qc-cmp-table-row {
			  border: 1px solid !important;
			  border-color: #000000 !important;
		} 
    #qcCmpButtons a {
            text-decoration: none !important;

    }
    
    #qcCmpButtons button {
        margin-top: 65px;
    }
    
    
  @media screen and (min-width: 851px) {
    #qcCmpButtons a {
            position: absolute;
            bottom: 10%;
            left: 60px;
    }
  }
  .qc-cmp-qc-link-container{
    display:none;
  }

input[type="text"] {
color:black;
}
/*slider sous la CMP*/
#CitSlideInDiv2 {
  z-index: 10000 !important;
    }
#CitSlideInDiv {
  z-index: 10000 !important;
    }
.citResetCss {
  z-index: 10000 !important;
  }
/*slider sous la CMP*/
#CitFexDiv2 {
  z-index: 10000 !important;
    }
#CitFooterExpand {
  z-index: 10000 !important;
    }
.citResetCss {
  z-index: 10000 !important;
  }

  .uf-player-wrap.is-mobile-fullscreen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    z-index: 99999;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: #000;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.uf-player-wrap.is-mobile-fullscreen .uf-player-stage {
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
    background: #000;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.uf-player-wrap.is-mobile-fullscreen iframe,
.uf-player-wrap.is-mobile-fullscreen object,
.uf-player-wrap.is-mobile-fullscreen embed {
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    border: 0 !important;
}

body.uf-no-scroll {
    overflow: hidden;
    touch-action: none;
}

/* ===== Fullscreen propre desktop + mobile ===== */

/* En fullscreen natif desktop, on ne garde que la zone de jeu */
.uf-player-wrap:fullscreen .uf-player-mobile-hide,
.uf-player-wrap:-webkit-full-screen .uf-player-mobile-hide {
  display: none !important;
}

.uf-player-wrap:fullscreen .uf-player-layout,
.uf-player-wrap:-webkit-full-screen .uf-player-layout {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Petit bouton fermer flottant */
.uf-player-wrap:fullscreen .uf-player-mobile-controls,
.uf-player-wrap:-webkit-full-screen .uf-player-mobile-controls,
.uf-player-wrap.is-mobile-fullscreen .uf-player-mobile-controls {
  position: fixed !important;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 100001 !important;
}

/* On masque le bouton ouvrir en fullscreen */
.uf-player-wrap:fullscreen #uf-open-fullscreen,
.uf-player-wrap:-webkit-full-screen #uf-open-fullscreen,
.uf-player-wrap.is-mobile-fullscreen #uf-open-fullscreen {
  display: none !important;
}

/* Style du petit bouton fermer */
#uf-exit-fullscreen {
  min-width: auto;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(15,23,42,.78);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
}

/* Option ultra compacte */
#uf-exit-fullscreen::before {
  content: "✕";
  margin-right: 6px;
  font-size: 14px;
  line-height: 1;
}

:root{
    --uf-card:#ffffff;
    --uf-text:#18324a;
    --uf-app-vh:1vh;
    --uf-mobile-player-height:520px;
    --uf-mobile-player-max-height:520px;
    --uf-muted:#6d879f;
    --uf-line:#dbe7f3;
    --uf-blue:#0b74c4;
    --uf-blue-dark:#0f2d56;
    --uf-soft:#f6f8fb;
    --uf-shadow:0 12px 34px rgba(15,40,70,.10);
    --uf-radius-xl:28px;
    --uf-radius-lg:22px;
    --uf-radius-md:16px;
    --uf-max:1480px;
    --uf-sidebar-width:180px;
    --uf-layout-gap:18px;
}
body{
    background-size:cover;
    color:var(--uf-text);
}
.uf-main{width:100%;}
.uf-shell{width:min(var(--uf-max), calc(100% - 24px));margin:0 auto;}
.uf-card{background:#fff;border-radius:var(--uf-radius-lg);box-shadow:var(--uf-shadow); margin-top:-20px;}
.uf-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 2px 0; font-size:14px;color:#46657c; margin-top: 0;}
.uf-breadcrumb a{color:#0b74c4;font-weight:700;text-decoration:none;}
.uf-breadcrumb-current{color:#18324a;font-weight:800;}
.uf-game-hero{display:grid;grid-template-columns:minmax(0, 1.12fr) 340px;gap:18px;margin-bottom:0px;}
.uf-game-hero-main{padding:24px;color:#fff;background:linear-gradient(135deg,#0770b3 0%,#0f2d56 65%,#0a1733 100%);overflow:hidden;}
.uf-game-info-card{margin-top:14px;}
.uf-game-info-card .uf-section-head{margin-bottom:14px;}

.uf-game-hero-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start;margin-top:16px;}
.uf-game-cover{border-radius:18px;overflow:hidden;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 40px rgba(0,0,0,.18);}
.uf-game-cover img{width:100%;aspect-ratio:16/10;object-fit:cover;}
.uf-game-copy h1{margin:10px 0;font-size:40px;line-height:1.05;font-weight:900;color:#fff;}
.uf-game-title-hero{margin:0 0 6px;font-size:34px;line-height:1.08;font-weight:900;color:#fff;}
.uf-game-copy p{margin:0;font-size:16px;line-height:1.65;color:rgba(235,245,255,.92);}
.uf-meta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}
.uf-chip{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);color:#eef8ff;font-size:13px;font-weight:700;}
.uf-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;}
.uf-btn,.uf-btn-light,.uf-light-btn,.uf-player-fullscreen{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border-radius:999px;font-size:14px;font-weight:800;text-decoration:none;transition:.18s ease;}
.uf-btn{background:#fff;color:#0f2d56;box-shadow:0 10px 24px rgba(0,0,0,.16);}
.uf-btn-light{color:#fff;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);}
.uf-light-btn,.uf-player-fullscreen{background:#eef7ff;border:1px solid #dbe9f6;color:#24506e;min-height:40px;padding:10px 14px;font-size:13px;}
.uf-btn:hover,.uf-btn-light:hover,.uf-light-btn:hover,.uf-player-fullscreen:hover{transform:translateY(-1px);}
.uf-side-box{padding:20px;}
.uf-side-title{margin:0 0 8px;font-size:22px;line-height:1.15;font-weight:900;color:#18324a;}
.uf-side-desc,.uf-side-sub{margin:0 0 14px;font-size:14px;line-height:1.55;color:var(--uf-muted);}
.uf-side-links,.uf-side-stack{display:grid;gap:10px;}
.uf-side-links a,.uf-side-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:14px;background:var(--uf-soft);border:1px solid var(--uf-line);font-weight:800;color:#1f3850;text-decoration:none;}
.uf-layout{display:grid;grid-template-columns:minmax(0, 1fr) var(--uf-sidebar-width);gap:var(--uf-layout-gap);align-items:start; margin-top: 16px;width:100%;}
.uf-content,.uf-sidebar-stack{display:grid;gap:10px;}
.uf-content{min-width:0;width:100%;}
.uf-sidebar-stack{width:var(--uf-sidebar-width);}
.uf-section{padding:24px; margin-top:10px !important; width:100%;}
#zone-jeu,
#uf-commandes{
    scroll-margin-top:20px;
}
.uf-section-plain{padding-left:0;padding-right:0;background:transparent;border:0;box-shadow:none;}
.uf-section-plain .uf-section-head{padding:0 2px;}
.uf-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px;}
.uf-section-title{margin:0 0 8px;font-size:28px;line-height:1.1;font-weight:900;color:#18324a;}
.uf-section-desc{margin:0;font-size:14px;line-height:1.55;color:var(--uf-muted);}
.uf-player-wrap{padding:18px;border-radius:20px;background:linear-gradient(180deg,#f7fbff 0%, #edf6fd 100%);border:1px solid var(--uf-line);width:100%;max-width:none;overflow:hidden;}
.uf-player-stage{background:#0e1726;border-radius:18px;overflow:hidden;padding:10px;text-align:center;width:100%;max-width:none;}
.uf-player-stage iframe,.uf-player-stage object,.uf-player-stage embed,.uf-player-stage .uf-player-embed{display:block;width:100%;max-width:100%;margin:0 auto;}
.uf-player-caption{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:14px;flex-wrap:wrap;}
.uf-player-title{font-size:20px;line-height:1.2;font-weight:900;color:#18324a;}
.uf-player-sub{font-size:13px;color:#6d879f;}
.uf-player-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:46px;padding:6px 10px;margin-top:10px;border-radius:12px;background:#fff;border:1px solid #e3edf6;}
.uf-player-toolbar-left{min-width:0;flex:1 1 auto;}
.uf-player-toolbar-name{font-size:15px;line-height:1.1;font-weight:800;color:#18324a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uf-player-toolbar-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;}
.uf-player-rating-box{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #dbe7f3;border-radius:999px;background:#f7fbff;color:#18324a;cursor:pointer;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.uf-player-rating-box:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,45,86,.08);border-color:#bfd8ef;}
.uf-player-rating-box.uf-rating-empty{background:#0f172a;border-color:#0f172a;color:#e2e8f0;}
.uf-player-rating-box.uf-rating-empty .uf-player-rating-stars,.uf-player-rating-box.uf-rating-empty .uf-player-rating-value,.uf-player-rating-box.uf-rating-empty .uf-player-rating-count{color:#e2e8f0;}
.uf-player-rating-stars{font-size:16px;line-height:1;color:#f5b301;display:inline-block;}
.uf-player-rating-value{font-size:14px;font-weight:800;color:#18324a;white-space:nowrap;}
.uf-player-rating-count{font-size:12px;color:#6d879f;white-space:nowrap;}
.uf-player-vote-actions{display:flex;align-items:center;gap:8px;}
.uf-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;padding:0;border:0;background:transparent;color:#18324a;text-decoration:none;cursor:pointer;transition:opacity .18s ease, transform .18s ease;box-shadow:none;}
.uf-player-wrap,.uf-player-toolbar,.uf-player-toolbar-right{overflow:visible;}
.uf-player-toolbar{position:relative;z-index:40;}
.uf-player-toolbar-right{position:relative;z-index:45;}
.uf-icon-btn{position:relative;z-index:50;}
.uf-icon-btn[data-tooltip]::after{content:attr(data-tooltip);position:absolute;left:50%;top:calc(100% + 10px);bottom:auto;transform:translate(-50%, -6px);padding:7px 10px;border-radius:10px;background:rgba(15,45,86,.96);color:#fff;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;box-shadow:0 10px 24px rgba(0,0,0,.16);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease, transform .18s ease;z-index:100060;}
.uf-icon-btn[data-tooltip]::before{content:'';position:absolute;left:50%;top:calc(100% + 4px);bottom:auto;transform:translateX(-50%);border-width:0 6px 6px 6px;border-style:solid;border-color:transparent transparent rgba(15,45,86,.96) transparent;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease, transform .18s ease;z-index:100060;}
.uf-icon-btn[data-tooltip]:hover::after,.uf-icon-btn[data-tooltip]:hover::before,.uf-icon-btn[data-tooltip]:focus-visible::after,.uf-icon-btn[data-tooltip]:focus-visible::before{opacity:1;visibility:visible;transform:translate(-50%, 0);}
.uf-icon-btn[data-tooltip]:focus-visible{outline:2px solid rgba(11,116,196,.28);outline-offset:4px;border-radius:10px;}
@media (hover:none),(pointer:coarse){.uf-icon-btn[data-tooltip]::after,.uf-icon-btn[data-tooltip]::before{display:none;}}
.uf-icon-btn:hover{opacity:1;transform:translateY(-1px);}
.uf-icon-btn svg{width:18px;height:18px;display:block;}
html{
    scroll-behavior:smooth;
}
.uf-anchor-actions{
    display:flex;
    justify-content:flex-start;
    margin-top:18px;
}
.uf-anchor-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:42px;
    padding:10px 16px;
    border-radius:999px;
    border:1px solid #dbe7f3;
    background:#f7fbff;
    color:#18324a;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.uf-anchor-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 24px rgba(15,45,86,.08);
    border-color:#bfd8ef;
}
.uf-anchor-btn svg{
    width:16px;
    height:16px;
    display:block;
}
.uf-qr-modal{position:fixed;inset:0;z-index:100050;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(6,16,31,.68);backdrop-filter:blur(4px);}
.uf-qr-modal.is-open{display:flex;}
.uf-qr-dialog{width:min(92vw,360px);background:#fff;border-radius:22px;padding:22px;border:1px solid #dce8f3;box-shadow:0 24px 60px rgba(0,0,0,.28);text-align:center;position:relative;}
.uf-qr-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:999px;border:1px solid #d8e5f1;background:#fff;font-size:18px;line-height:1;cursor:pointer;}
.uf-qr-title{margin:0 0 8px;font-size:24px;font-weight:900;color:#18324a;}
.uf-qr-text{margin:0 0 16px;font-size:14px;line-height:1.55;color:#5e778d;}
#uf-qr-code{display:flex;justify-content:center;align-items:center;min-height:220px;}
#uf-qr-code img{border-radius:12px;}
.uf-share-dialog{width:min(92vw,420px);}
.uf-share-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px;}
.uf-share-link{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:12px 14px;border-radius:14px;border:1px solid #dbe7f3;background:#f7fbff;color:#18324a;text-decoration:none;font-weight:800;font-size:14px;cursor:pointer;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.uf-share-link:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,45,86,.08);border-color:#bfd8ef;}
.uf-share-link .uf-share-icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:#eaf4ff;font-size:14px;font-weight:900;flex:0 0 26px;}
.uf-share-feedback{min-height:20px;margin-top:14px;font-size:13px;font-weight:700;color:#24506e;}
@media (max-width:560px){.uf-share-grid{grid-template-columns:1fr;}}

@media (max-width: 820px){.uf-player-toolbar{min-height:auto;padding:6px 8px;}.uf-player-toolbar-name{font-size:14px;}.uf-player-toolbar-right{gap:8px;}}
@media (max-width: 560px){.uf-player-toolbar{align-items:flex-start;}.uf-player-toolbar-right{width:100%;justify-content:flex-start;}.uf-player-toolbar-name{white-space:normal;}}

.uf-tag-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}
.uf-tag{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 11px;border-radius:999px;background:#eef7ff;border:1px solid #dbe9f6;color:#24506e;font-size:12px;font-weight:800;text-decoration:none;}
.uf-games-grid{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:16px;}
.uf-game-card,
.uf-mini-game{
    display:block;
    position:relative;
    overflow:hidden;
    border-radius:var(--uf-radius-lg);
    border:1px solid #edf4f9;
    background:#f8fbfe;
    transition:transform .22s ease, box-shadow .22s ease;
    text-decoration:none;
}
.uf-game-card:hover,
.uf-mini-game:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(55,143,201,.16);
}
.uf-thumb,
.uf-mini-thumb{
    display:block;
    width:100%;
    object-fit:cover;
    background:linear-gradient(135deg,#8bd8ff,#2f7dc3);
    transition:transform .3s ease, filter .3s ease;
}
.uf-thumb{height:122px;aspect-ratio:auto;}
.uf-mini-thumb{height:112px;}
.uf-game-body,
.uf-mini-body{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:2;
    display:flex;
    align-items:flex-end;
    min-height:22%;
    padding:18px 10px 10px;
    background:linear-gradient(to top, rgba(191,228,255,.97) 0%, rgba(191,228,255,.86) 35%, rgba(191,228,255,0) 100%);
    opacity:0;
    transform:translateY(12px);
    transition:opacity .24s ease, transform .24s ease;
    pointer-events:none;
}
.uf-game-card:hover .uf-game-body,
.uf-mini-game:hover .uf-mini-body,
.uf-game-card:focus-visible .uf-game-body,
.uf-mini-game:focus-visible .uf-mini-body{
    opacity:1;
    transform:translateY(0);
}
.uf-game-card:hover .uf-thumb,
.uf-mini-game:hover .uf-mini-thumb,
.uf-game-card:focus-visible .uf-thumb,
.uf-mini-game:focus-visible .uf-mini-thumb{
    transform:scale(1.05);
    filter:brightness(.82) saturate(.96) blur(.3px);
}
.uf-game-name,
.uf-mini-name{
    display:block;
    width:100%;
    font-size:12px;
    font-weight:800;
    line-height:1.2;
    color:#163247;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    margin:0;
}
.uf-game-meta{display:none;}
.voting_wrapper .voting_btn[data-vote="up"] .uf-vote-glyph{
    display:inline-block;
    transform:scaleX(-1);
    transform-origin:center;
}
@media (hover: none), (pointer: coarse) {
    .uf-game-body,
    .uf-mini-body{
        opacity:1;
        transform:translateY(0);
    }
    .uf-thumb,
    .uf-mini-thumb{
        filter:brightness(.92);
    }
}
.uf-game-card.uf-new-card{isolation:isolate;}
.uf-game-card.uf-new-card::before,
.uf-game-card.uf-new-card::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;}
.uf-game-card.uf-new-card::before{
    inset:-1px;
    padding:5px;
    border-radius:calc(var(--uf-radius-lg) + 1px);
    background:linear-gradient(110deg, rgba(255,255,255,0) 0%, rgba(255,255,255,calc(var(--uf-new-strength, 1) * .12)) 30%, rgba(255,255,255,calc(var(--uf-new-strength, 1) * .95)) 50%, rgba(255,255,255,calc(var(--uf-new-strength, 1) * .22)) 70%, rgba(255,255,255,0) 100%);
    background-size:300% 100%;
    background-position:-200% 0;
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    animation:ufNewSweep 6s linear infinite;
    z-index:4;
}
.uf-game-card.uf-new-card::after{
    inset:-1px;
    border-radius:calc(var(--uf-radius-lg) + 1px);
    box-shadow:0 0 0 1px rgba(255,255,255,calc(var(--uf-new-strength, 1) * .18)), 0 0 14px rgba(255,255,255,calc(var(--uf-new-strength, 1) * .16));
    opacity:.9;
    z-index:3;
}
.uf-new-1{--uf-new-strength:1;}
.uf-new-2{--uf-new-strength:.68;}
.uf-new-3{--uf-new-strength:.4;}
@keyframes ufNewSweep{0%{background-position:-200% 0;}100%{background-position:200% 0;}}
@media (prefers-reduced-motion: reduce){
    .uf-game-card.uf-new-card::before{animation:none;background-position:50% 0;}
}
.uf-mini-list{display:grid;gap:10px;justify-items:start;}
.uf-mini-item{display:block;padding:0;border-radius:0;background:none !important;border:0 !important;box-shadow:none !important;text-decoration:none;width:112px;max-width:112px;}
.uf-mini-item img{width:112px;height:auto;aspect-ratio:3 / 2;object-fit:cover;border-radius:14px;display:block;flex:none;}
.uf-mini-item strong{display:none !important;}
.uf-mini-item span{display:none !important;}
.uf-seo-box{padding:26px;border-radius:var(--uf-radius-xl);color:#fff;background:linear-gradient(135deg,#0762a1,#0f2d56);box-shadow:var(--uf-shadow);}
.uf-seo-box h2{margin:16px 0 0;font-size:34px;line-height:1.08;color:#fff;}
.uf-seo-box p{margin-top:16px;font-size:15px;line-height:1.8;color:#eef8ff;}
.uf-unity-warning{background:#fff;color:#111;border-radius:12px;padding:18px;text-align:center;}
.uf-site-footer{width:min(var(--uf-max), calc(100% - 24px));margin:24px auto 0;padding:20px 24px;border-radius:22px;background:rgba(15,45,86,.96);box-shadow:var(--uf-shadow);color:#eef8ff;font-size:14px;line-height:1.7;}
.uf-site-footer a{color:#fff;text-decoration:underline;}
@media (max-width:1280px){.uf-shell{width:min(var(--uf-max), calc(100% - 24px));padding-left:12px;padding-right:12px;}}
@media (max-width:1100px){.uf-game-hero,.uf-layout{grid-template-columns:1fr}.uf-sidebar-stack{width:100%;}.uf-games-grid{grid-template-columns:repeat(3,1fr) !important; gap:0px}}
@media (max-width:820px){.uf-game-hero-grid{grid-template-columns:1fr}.uf-game-copy h1{font-size:32px}.uf-games-grid{grid-template-columns:repeat(2,1fr)}
    .uf-thumb{height:160px;}}
@media (max-width:560px){

.uf-shell{
    width:100%;
    padding:0px !important;
  }

  .uf-section,
  .uf-game-hero-main,
  .uf-side-box{
    padding:18px;
  }

  .uf-section-plain{
    padding-left:0;
    padding-right:0;
  }

  .uf-section-plain .uf-section-head{
    padding-left:12px;
    padding-right:12px;
  }

  .uf-games-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
    padding-left:12px;
    padding-right:12px;
    box-sizing:border-box;
  }

  .uf-game-card{
    border-radius:14px;
  }

  .uf-thumb{
    height:100px;
  }

  .uf-game-body{
    padding:10px 8px 11px;
  }

  .uf-game-name{
    font-size:12px;
    line-height:1.2;
  }

  .uf-game-meta{
    font-size:10px;
  }

  .uf-section-head,
  .uf-player-caption{
    flex-direction:column;
    align-items:flex-start;
  }

.uf-section-head,.uf-player-caption{flex-direction:column;align-items:flex-start}

  .uf-main{padding-top:8px !important;}
  .uf-breadcrumb{padding:12px 12px 6px !important;margin-top:0 !important;font-size:13px;}
  .uf-layout{margin-top:0 !important;gap:14px;}
  .uf-content{margin-top:0 !important;}
  .uf-trend-box{margin-top:0 !important;}
}


.uf-game-hero-main{
    background:linear-gradient(135deg,#0762a1 0%, #0f2d56 100%);
    color:#fff;
}

.uf-seo-box{
    color:#1f3850 !important;
}

.uf-seo-box *{
    color:#1f3850 !important;
}

.uf-seo-box a{
    color:#0a4fa3 !important;
}

.uf-trend-grid,
.uf-sidebar-thumb-list{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
}

.uf-trend-grid,
.uf-sidebar-thumb-list{
    justify-items:stretch;
}

.uf-trend-card,
.uf-sidebar-thumb-card{
    position:relative;
    display:block;
    width:100%;
    overflow:visible;
    border-radius:0;
    border:0 !important;
    background:none !important;
    box-shadow:none !important;
    transition:none;
    text-decoration:none;
}

.uf-trend-card:hover,
.uf-sidebar-thumb-card:hover{
    transform:none;
    box-shadow:none !important;
}

.uf-trend-thumb,
.uf-sidebar-thumb{
    display:block;
    width:100%;
    aspect-ratio:16 / 10;
    overflow:hidden;
    background:none !important;
    border-radius:14px;
}

.uf-trend-thumb img,
.uf-sidebar-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s ease, filter .3s ease;
}

.uf-trend-card:hover .uf-trend-thumb img,
.uf-sidebar-thumb-card:hover .uf-sidebar-thumb img{
    transform:scale(1.05);
    filter:brightness(.82) saturate(.96) blur(.3px);
}

.uf-trend-card::after,
.uf-sidebar-thumb-card::after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:2;
    min-height:22%;
    padding:18px 10px 10px;
    background:linear-gradient(to top, rgba(191,228,255,.97) 0%, rgba(191,228,255,.86) 35%, rgba(191,228,255,0) 100%);
    opacity:0;
    transform:translateY(12px);
    transition:opacity .24s ease, transform .24s ease;
    pointer-events:none;
}

.uf-trend-card:hover::after,
.uf-sidebar-thumb-card:hover::after,
.uf-trend-card:focus-visible::after,
.uf-sidebar-thumb-card:focus-visible::after{
    opacity:1;
    transform:translateY(0);
}

.uf-trend-card .uf-trend-name,
.uf-sidebar-thumb-card .uf-sidebar-thumb-name{
    position:absolute;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:3;
    display:block;
    font-size:12px;
    font-weight:800;
    line-height:1.2;
    color:#163247;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    opacity:0;
    transform:translateY(12px);
    transition:opacity .24s ease, transform .24s ease;
    pointer-events:none;
}

.uf-trend-card:hover .uf-trend-name,
.uf-sidebar-thumb-card:hover .uf-sidebar-thumb-name,
.uf-trend-card:focus-visible .uf-trend-name,
.uf-sidebar-thumb-card:focus-visible .uf-sidebar-thumb-name{
    opacity:1;
    transform:translateY(0);
}

.uf-trend-content,
.uf-trend-title,
.uf-trend-rating,
.uf-trend-arrow{
    display:none !important;
}

.uf-trend-rank{
    position:absolute;
    top:6px;
    left:6px;
    width:20px;
    height:20px;
    border-radius:999px;
    background:linear-gradient(180deg,#2e90ff 0%,#2563eb 100%);
    color:#fff;
    font-size:10px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 4px 10px rgba(37,99,235,.25);
    z-index:2;
}

.uf-trend-box,
.uf-sidebar-stack > .uf-side-box:first-child,
.uf-sidebar-stack > .uf-side-box:nth-child(2){
    background:none !important;
    box-shadow:none !important;
    border:none !important;
}
.uf-trend-box .uf-side-title,
.uf-sidebar-stack > .uf-side-box:nth-child(2) .uf-side-title{
    margin:0 0 10px;
}
@media (max-width:1100px){
    .uf-trend-grid,
    .uf-sidebar-thumb-list{
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap:8px;
    }
    .uf-trend-card,
    .uf-sidebar-thumb-card,
    .uf-mini-item{
        width:100%;
        max-width:none;
    }
    .uf-trend-thumb,
    .uf-sidebar-thumb,
    .uf-mini-item img{
        width:100%;
    }
}

@media (max-width:560px){
    .uf-trend-grid,
    .uf-sidebar-thumb-list{
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
        gap:8px !important;
        padding-left:12px;
        padding-right:12px;
        box-sizing:border-box;
        justify-items:stretch;
        align-items:start;
    }

    .uf-trend-box,
    .uf-sidebar-stack > .uf-side-box:first-child,
    .uf-sidebar-stack > .uf-side-box:nth-child(2){
        padding-left:0 !important;
        padding-right:0 !important;
    }

    .uf-trend-card,
    .uf-sidebar-thumb-card{
        width:100%;
        max-width:none;
    }

    .uf-trend-thumb,
    .uf-sidebar-thumb{
        width:100%;
        aspect-ratio:16 / 10;
    }

    .uf-trend-card::after,
    .uf-sidebar-thumb-card::after,
    .uf-trend-card .uf-trend-name,
    .uf-sidebar-thumb-card .uf-sidebar-thumb-name{
        opacity:1 !important;
        transform:translateY(0) !important;
    }

    .uf-trend-box .uf-side-title,
    .uf-sidebar-stack > .uf-side-box:nth-child(2) .uf-side-title{
        padding-left:12px;
        padding-right:12px;
        margin-bottom:10px;
    }
}

@media (max-width: 820px){
    .uf-section{
        overflow:hidden;
    }

    .uf-player-wrap{
        padding:10px;
    }

    .uf-player-stage{
        padding:6px;
        overflow:hidden;
    }

    .uf-player-stage iframe,
    .uf-player-stage object,
    .uf-player-stage embed{
        max-width:100% !important;
        width:100% !important;
        display:block;
        margin:0 auto;
    }

    .uf-player-stage iframe{
        min-height:420px;
    }
}

.uf-stars-wrap{
    position:relative;
    display:inline-block;
    font-size:24px;
    line-height:1;
    letter-spacing:2px;
    margin-top:2px;
}

.uf-stars-base{
    color:#d7dee7;
}

.uf-stars-fill{
    position:absolute;
    top:0;
    left:0;
    white-space:nowrap;
    overflow:hidden;
    color:#f5b301;
}

.uf-stars-wrap.is-empty .uf-stars-fill{
    width:0 !important;
}

.uf-vote-note{
    font-size:18px;
    font-weight:800;
    color:#18324a;
    margin-top:2px;
}

.uf-player-wrap:fullscreen,
.uf-player-wrap:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: #000;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.uf-player-wrap:fullscreen .uf-player-stage,
.uf-player-wrap:-webkit-full-screen .uf-player-stage {
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uf-player-wrap:fullscreen iframe,
.uf-player-wrap:fullscreen object,
.uf-player-wrap:fullscreen embed,
.uf-player-wrap:-webkit-full-screen iframe,
.uf-player-wrap:-webkit-full-screen object,
.uf-player-wrap:-webkit-full-screen embed {
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border: 0;
}

/* Plein écran mobile : on ne garde QUE le jeu + bouton fermer */
.uf-player-wrap.is-mobile-fullscreen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 99999;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: #000;
}

/* Le conteneur principal prend tout l'écran */
.uf-player-wrap.is-mobile-fullscreen .uf-player-layout {
    display: block !important;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* On masque toute la colonne de droite / infos / note / titre */
.uf-player-wrap.is-mobile-fullscreen .uf-player-sidebar,
.uf-player-wrap.is-mobile-fullscreen .uf-player-side,
.uf-player-wrap.is-mobile-fullscreen .uf-player-info,
.uf-player-wrap.is-mobile-fullscreen .uf-player-meta,
.uf-player-wrap.is-mobile-fullscreen .uf-player-rating,
.uf-player-wrap.is-mobile-fullscreen .uf-player-header,
.uf-player-wrap.is-mobile-fullscreen .uf-player-titlebox {
    display: none !important;
}

/* Le bouton plein écran disparaît */
.uf-player-wrap.is-mobile-fullscreen #uf-open-fullscreen {
    display: none !important;
}

/* La zone de jeu prend toute la place */
.uf-player-wrap.is-mobile-fullscreen .uf-player-stage {
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

/* Le player interne prend tout */
.uf-player-wrap.is-mobile-fullscreen iframe,
.uf-player-wrap.is-mobile-fullscreen object,
.uf-player-wrap.is-mobile-fullscreen embed {
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    border: 0 !important;
    display: block !important;
}

body.uf-no-scroll {
    overflow: hidden;
}

.uf-player-mobile-controls{
  display:flex;
  justify-content:center;
  margin-top:14px;
  gap:12px;
}

.uf-player-mobile-hide{
  display:block;
}

.uf-player-wrap.is-mobile-fullscreen{
  position:fixed;
  inset:0;
  width:100vw;
  height:100dvh;
  max-width:100vw;
  max-height:100dvh;
  z-index:99999;
  margin:0;
  padding:0;
  border-radius:0;
  background:#000;
  display:flex;
  flex-direction:column;
}

.uf-player-wrap.is-mobile-fullscreen .uf-player-stage{
  width:100vw !important;
  height:100dvh !important;
  max-width:100vw !important;
  max-height:100dvh !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  background:#000 !important;
  display:flex;
  align-items:stretch;
  justify-content:stretch;
  flex:1 1 auto;
}

.uf-player-wrap.is-mobile-fullscreen .uf-player-mobile-hide{
  display:none !important;
}

.uf-player-wrap.is-mobile-fullscreen #uf-open-fullscreen{
  display:none !important;
}

.uf-player-wrap.is-mobile-fullscreen #uf-exit-fullscreen{
  display:inline-flex !important;
}

.uf-player-wrap.is-mobile-fullscreen iframe,
.uf-player-wrap.is-mobile-fullscreen object,
.uf-player-wrap.is-mobile-fullscreen embed{
  width:100vw !important;
  height:100dvh !important;
  max-width:100vw !important;
  max-height:100dvh !important;
  border:0 !important;
  display:block !important;
}

body.uf-no-scroll{
  overflow:hidden;
}

.uf-player-stage--startup{
    position:relative;
    width:100%;
    min-height:580px;
    padding:0;
    overflow:hidden;
    background:#08111f;
}

.uf-startup-screen{
    position:relative;
    width:100%;
    min-height:580px;
    border-radius:18px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:linear-gradient(135deg,#0770b3 0%,#0f2d56 65%,#0a1733 100%);
}

.uf-startup-bg{
    position:absolute;
    inset:0;
    z-index:1;
}

.uf-startup-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:blur(8px) saturate(1.05);
    transform:scale(1.08);
    opacity:.30;
}

.uf-startup-overlay{
    position:absolute;
    inset:0;
    z-index:2;
    background:
      radial-gradient(circle at center, rgba(11,116,196,.18) 0%, rgba(15,45,86,.55) 45%, rgba(8,17,31,.88) 100%);
}

.uf-startup-content{
    position:relative;
    z-index:3;
    max-width:520px;
    padding:32px 24px;
    color:#fff;
}

.uf-startup-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:6px 12px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    font-size:12px;
    font-weight:800;
    margin-bottom:14px;
}

.uf-startup-heading-visual{
    display:block;
    width:220px;
    max-width:min(56vw, 220px);
    margin:0 auto 16px;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 14px 30px rgba(0,0,0,.18);
    background:rgba(255,255,255,.08);
}

.uf-startup-heading-visual img{
    display:block;
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
}

.uf-startup-title{
    margin:0 0 12px;
    font-size:34px;
    line-height:1.08;
    font-weight:900;
    color:#fff;
}

.uf-startup-content p{
    margin:0 0 20px;
    font-size:15px;
    line-height:1.6;
    color:rgba(235,245,255,.92);
}

.uf-startup-cta-row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}
.uf-startup-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:14px 22px;
    border:none;
    border-radius:999px;
    background:#ffffff;
    color:#0f2d56;
    font-size:15px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 12px 28px rgba(0,0,0,.18);
    transition:transform .18s ease, box-shadow .18s ease;
}

.uf-startup-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 16px 34px rgba(0,0,0,.22);
}
.uf-startup-btn-secondary{
    background:rgba(255,255,255,.12);
    color:#ffffff;
    border:1px solid rgba(255,255,255,.22);
    box-shadow:none;
}
.uf-startup-btn-secondary:hover{
    box-shadow:0 16px 34px rgba(0,0,0,.14);
}

.uf-startup-note{
    margin-top:14px;
    font-size:12px;
    color:rgba(235,245,255,.75);
}

.uf-player-loading{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:520px;
    color:#fff;
    font-weight:700;
    font-size:15px;
    background:linear-gradient(135deg,#0770b3 0%,#0f2d56 65%,#0a1733 100%);
}

@media (max-width: 820px){
    .uf-player-stage--startup,
    .uf-startup-screen,
    .uf-player-loading{
        min-height:420px;
    }

    .uf-startup-heading-visual{
        width:180px;
        margin-bottom:14px;
    }

    .uf-startup-title{
        font-size:28px;
    }

    .uf-startup-cta-row{
        gap:10px;
    }

    .uf-startup-btn,
    .uf-startup-btn-secondary{
        width:100%;
        max-width:320px;
    }
}


/* Override final fullscreen mobile */
.uf-player-mobile-controls{
  display:flex;
  justify-content:center;
  margin-top:14px;
  gap:12px;
}

.uf-player-mobile-hide{
  display:block;
}

.uf-player-wrap.is-mobile-fullscreen{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100dvh !important;
  max-width:100vw !important;
  max-height:100dvh !important;
  z-index:99999 !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  background:#000 !important;
  display:flex !important;
  flex-direction:column !important;
}

.uf-player-wrap.is-mobile-fullscreen .uf-player-layout{
  display:block !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
}

.uf-player-wrap.is-mobile-fullscreen .uf-player-sidebar,
.uf-player-wrap.is-mobile-fullscreen .uf-player-side,
.uf-player-wrap.is-mobile-fullscreen .uf-player-info,
.uf-player-wrap.is-mobile-fullscreen .uf-player-meta,
.uf-player-wrap.is-mobile-fullscreen .uf-player-rating,
.uf-player-wrap.is-mobile-fullscreen .uf-player-header,
.uf-player-wrap.is-mobile-fullscreen .uf-player-titlebox,
.uf-player-wrap.is-mobile-fullscreen .uf-player-mobile-hide{
  display:none !important;
}

.uf-player-wrap.is-mobile-fullscreen #uf-open-fullscreen{
  display:none !important;
}

.uf-player-wrap.is-mobile-fullscreen .uf-player-stage{
  width:100vw !important;
  height:100dvh !important;
  max-width:100vw !important;
  max-height:100dvh !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  background:#000 !important;
  display:flex !important;
  align-items:stretch !important;
  justify-content:stretch !important;
  overflow:hidden !important;
}

.uf-player-wrap.is-mobile-fullscreen iframe,
.uf-player-wrap.is-mobile-fullscreen object,
.uf-player-wrap.is-mobile-fullscreen embed{
  width:100vw !important;
  height:calc(100dvh - 56px) !important;
  max-width:100vw !important;
  max-height:calc(100dvh - 56px) !important;
  margin:0 !important;
  border:0 !important;
  display:block !important;
}

.uf-player-wrap.is-mobile-fullscreen .uf-player-mobile-controls{
  position:fixed !important;
  top:max(10px, env(safe-area-inset-top)) !important;
  right:max(10px, env(safe-area-inset-right)) !important;
  left:auto !important;
  bottom:auto !important;
  transform:none !important;
  z-index:100001 !important;
  margin:0 !important;
  display:flex !important;
  justify-content:flex-end !important;
}

.uf-player-wrap.is-mobile-fullscreen #uf-exit-fullscreen{
  display:inline-flex !important;
  min-height:40px !important;
  padding:10px 14px !important;
  background:rgba(255,255,255,.92) !important;
  border:1px solid rgba(0,0,0,.08) !important;
  color:#18324a !important;
  box-shadow:0 8px 24px rgba(0,0,0,.22) !important;
}

body.uf-no-scroll{
  overflow:hidden !important;
  touch-action:auto !important;
}



/* Fix mobile viewport: évite que la barre d’URL masque le bas du jeu */
.uf-player-embed{
    display:block;
    width:100%;
    border:0;
}

@media (max-width: 900px){
    #zone-jeu{
        scroll-margin-top:12px;
    }

    .uf-player-wrap{
        padding:10px;
    }

    .uf-player-stage{
        padding:0 !important;
        min-height:var(--uf-mobile-player-height);
        max-height:var(--uf-mobile-player-max-height);
        overflow:hidden;
    }

    .uf-player-stage iframe,
    .uf-player-stage object,
    .uf-player-stage embed,
    .uf-player-stage .uf-player-embed{
        width:100% !important;
        height:var(--uf-mobile-player-height) !important;
        max-height:var(--uf-mobile-player-max-height) !important;
        display:block;
        margin:0 auto;
        border:0 !important;
    }

    .uf-player-stage--startup,
    .uf-startup-screen,
    .uf-player-loading{
        min-height:min(420px, var(--uf-mobile-player-height));
    }

    .uf-player-wrap.is-mobile-fullscreen{
        height:calc(var(--uf-app-vh) * 100) !important;
        max-height:calc(var(--uf-app-vh) * 100) !important;
    }

    .uf-player-wrap.is-mobile-fullscreen .uf-player-stage{
        height:calc(var(--uf-app-vh) * 100) !important;
        max-height:calc(var(--uf-app-vh) * 100) !important;
        min-height:calc(var(--uf-app-vh) * 100) !important;
    }

    .uf-player-wrap.is-mobile-fullscreen iframe,
    .uf-player-wrap.is-mobile-fullscreen object,
    .uf-player-wrap.is-mobile-fullscreen embed,
    .uf-player-wrap.is-mobile-fullscreen .uf-player-embed{
        height:calc(var(--uf-app-vh) * 100 - var(--uf-mobile-fullscreen-offset, 64px)) !important;
        max-height:calc(var(--uf-app-vh) * 100 - var(--uf-mobile-fullscreen-offset, 64px)) !important;
    }
}

/* Ajustement largeur desktop jeu + sidebar fixe */
@media (min-width: 1101px){
  .uf-shell{max-width:1520px !important;width:calc(100% - 32px) !important;}
  .uf-layout{grid-template-columns:minmax(0, 1fr) 180px !important;gap:18px !important;}
  .uf-content{min-width:0 !important;width:100% !important;}
  .uf-content > *{width:100% !important;max-width:none !important;}
  .uf-player-wrap,.uf-player-stage,.uf-startup-screen{width:100% !important;max-width:none !important;}
}

@media (max-width: 768px){
    .uf-topbar{
        min-height:50px !important;
        height:50px !important;
        padding:0 !important;
        overflow:visible !important;
    }

    .uf-topbar::before{
        top:0 !important;
        bottom:0 !important;
    }

    .uf-topbar-row,
    .uf-mobile-header-row{
        min-height:44px !important;
        height:44px !important;
        padding:4px 10px !important;
        gap:8px !important;
        align-items:center !important;
    }

    .uf-brand-badge{
        width:30px !important;
        height:30px !important;
        font-size:17px !important;
    }

    .uf-brand-title{
        font-size:15px !important;
        line-height:1 !important;
    }

    .uf-brand-sub{
        display:none !important;
    }

    .uf-search,
    .uf-mobile-search{
        margin:0 !important;
    }

    .uf-main{
        padding-top:6px !important;
    }

    .uf-breadcrumb{
        padding:8px 10px 4px !important;
        margin-top:0 !important;
        font-size:13px !important;
    }

    .uf-layout{
        margin-top:0 !important;
    }
}

.uf-admin-grid{
              display:grid;
              grid-template-columns: 220px 1fr;
              gap:12px 16px;
              align-items:start;
            }
            .uf-admin-grid input[type="text"],
            .uf-admin-grid textarea,
            .uf-admin-grid select{
              width:100%;
              padding:12px 14px;
              border:1px solid #cfe0ee;
              border-radius:12px;
              box-sizing:border-box;
              color:#18324a;
              background:#fff;
              box-shadow: inset 0 1px 2px rgba(15,45,86,.04);
            }
            .uf-admin-grid input[type="text"]:focus,
            .uf-admin-grid textarea:focus,
            .uf-admin-grid select:focus{
              outline:none;
              border-color:#0b74c4;
              box-shadow:0 0 0 3px rgba(11,116,196,.12);
            }
            .uf-admin-grid textarea{min-height:110px; resize:vertical;}
            .uf-admin-grid label{
              font-weight:800;
              color:#18324a;
              padding-top:10px;
            }
            .uf-admin-actions{
              margin-top:18px;
              display:flex;
              justify-content:flex-end;
            }
            .uf-editor-toolbar{
              display:flex;
              gap:8px;
              flex-wrap:wrap;
              margin-bottom:10px;
            }
            .uf-editor-btn{
              border:1px solid #bfd2e6;
              background:#fff;
              color:#16395b;
              border-radius:10px;
              padding:8px 10px;
              font-size:13px;
              cursor:pointer;
            }
            .uf-editor-btn:hover{
              background:#f3f8fd;
            }
            .uf-html-editor{
              min-height:220px;
              border:1px solid #bfd2e6;
              border-radius:10px;
              background:#fff;
              padding:12px;
              color:#10263f;
              font-size:14px;
              line-height:1.55;
              overflow-wrap:break-word;
            }
            .uf-html-editor:focus{
              outline:none;
              border-color:#0894e8;
              box-shadow:0 0 0 3px rgba(8, 148, 232, 0.12);
            }
            .uf-html-editor[contenteditable="true"]:empty:before{
              content:attr(data-placeholder);
              color:#7b8ea3;
            }
            .uf-editor-source{
              display:none;
            }
            .uf-editor-status{
              margin-top:8px;
              font-size:12px;
              color:#5f7184;
            }
            @media (max-width: 720px){
              .uf-admin-grid{grid-template-columns:1fr;}
            }

.uf-player-mobile-controls{
  display:flex;
  justify-content:center;
  margin-top:14px;
  gap:12px;
  flex-wrap:wrap;
}

/* Override final fullscreen mobile: version allégée + mieux centrée */
@media (max-width: 900px) {
  .uf-player-wrap.is-mobile-fullscreen {
    height: calc(var(--uf-real-vh, 1vh) * 100) !important;
    max-height: calc(var(--uf-real-vh, 1vh) * 100) !important;
    overflow: hidden !important;
    inset: 0 !important;
  }

  .uf-player-wrap.is-mobile-fullscreen .uf-player-layout {
    width: 100% !important;
    height: 100% !important;
  }

  .uf-player-wrap.is-mobile-fullscreen .uf-player-stage {
    width: 100vw !important;
    height: calc(var(--uf-real-vh, 1vh) * 100) !important;
    max-height: calc(var(--uf-real-vh, 1vh) * 100) !important;
    min-height: calc(var(--uf-real-vh, 1vh) * 100) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    background: #000 !important;
  }

  .uf-player-wrap.is-mobile-fullscreen iframe,
  .uf-player-wrap.is-mobile-fullscreen object,
  .uf-player-wrap.is-mobile-fullscreen embed {
    width: 100vw !important;
    height: var(--uf-real-player-h, calc(var(--uf-real-vh, 1vh) * 100)) !important;
    max-height: var(--uf-real-player-h, calc(var(--uf-real-vh, 1vh) * 100)) !important;
    min-height: var(--uf-real-player-h, calc(var(--uf-real-vh, 1vh) * 100)) !important;
    margin: 0 auto !important;
    display: block !important;
    transform: translateY(0) !important;
  }

  .uf-player-wrap.is-mobile-fullscreen .uf-player-mobile-controls {
    position: fixed !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 100001 !important;
    justify-content: flex-end !important;
  }

  .uf-player-wrap.is-mobile-fullscreen #uf-exit-fullscreen {
    display: inline-flex !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    line-height: 1 !important;
  }

  body.uf-no-scroll {
    overflow: hidden !important;
    touch-action: auto !important;
  }
}

/* ===== Correctifs grille bas + colonne droite ===== */

/* 6 vignettes sur desktop */
.uf-games-grid{
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

/* Sidebar un peu plus large et plus propre */
.uf-layout{
  grid-template-columns: minmax(0, 1fr) 220px !important;
  gap: 18px !important;
}

.uf-sidebar-stack{
  width: 100% !important;
  min-width: 0 !important;
  gap: 16px !important;
}

.uf-side-box{
  margin: 0 !important;
  overflow: hidden !important;
}

/* Empêche les cartes de droite de déborder visuellement */
.uf-trend-card,
.uf-sidebar-thumb-card{
  overflow: hidden !important;
  border-radius: 14px !important;
}

/* Un peu d'air entre les vignettes de droite */
.uf-trend-grid,
.uf-sidebar-thumb-list{
  gap: 12px !important;
}

/* Responsive */
@media (max-width: 1100px){
  .uf-layout{
    grid-template-columns: 1fr !important;
  }

  .uf-games-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px){
  .uf-games-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px){
  .uf-games-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}