/* Les Actualités reprennent les couleurs, les boutons et la typographie du club. */
html nav.tabs{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(min-width:760px){html nav.tabs{grid-template-columns:repeat(6,auto)}}
/* Le menu latéral existant reste sur une colonne, même avec six rubriques. */
@media(orientation:landscape) and (max-height:620px),(orientation:landscape) and (min-width:640px) and (max-width:1399px){html nav.tabs{grid-template-columns:1fr}}
@media(max-width:759px){html nav.tabs button{padding-inline:0}html nav.tabs button span{font-size:10.5px!important}}
.oqnews,.oqnews-editor,.oqnews-card{min-width:0}
.oqnews .ptitle{margin:.2em 0}.oqnews h3{overflow-wrap:anywhere;line-height:1.08!important}
.oqnews-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.oqnews-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.oqnews-card h3{margin:0;font-size:clamp(1.45rem,4vw,2rem)}
.oqnews-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:0}
.oqnews-meta{font-size:.78rem}.oqnews-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.oqnews-gallery figure{margin:0;min-width:0}.oqnews-cover{grid-column:1/-1}
.oqnews-gallery img{width:100%;height:100px;object-fit:cover;border-radius:14px;display:block;background:var(--fill)}
.oqnews-gallery .oqnews-cover img{height:auto;max-height:370px;aspect-ratio:16/10;object-fit:contain}
.oqnews-gallery figcaption{font-size:.8rem;margin-top:6px;color:var(--muted);overflow-wrap:anywhere}
.oqnews-photo-edit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.oqnews-photo-edit img{width:100%;height:130px;object-fit:cover;border-radius:14px}
.oqnews-file{max-width:100%;font-size:.8rem}.oqnews-editor textarea{width:100%;resize:vertical;min-height:140px}
.oqnews-editor #news-error{color:var(--red);white-space:pre-wrap;margin:0}
.oqnews-teaser{margin-top:18px}.oqnews-teaser .oqnews-card{max-width:720px}
.oqnews-gallery img:focus-visible,.oqnews button:focus-visible,.oqnews-editor input:focus-visible,.oqnews-editor textarea:focus-visible,.oqnews-editor select:focus-visible{outline:3px solid var(--accent-ink);outline-offset:3px}
@media(max-width:759px){.oqnews-list,.oqnews-fields{grid-template-columns:1fr}.oqnews-photo-edit{grid-template-columns:repeat(2,minmax(0,1fr))}.oqnews .row.between{gap:12px}.oqnews .row.between>div{min-width:0}.oqnews-gallery .oqnews-cover img{max-height:280px}.oqnews-gallery img{height:76px}}
/* Navigation commune et accueil des supporters. */
.oq-nav-context{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 18px;color:var(--muted);font-size:.88rem}
.oq-nav-context [aria-current]{font-weight:800;color:var(--ink)}
.oq-nav-context .btn{min-height:44px}
.oqfan-intro .ptitle{margin:.2em 0;font-size:clamp(30px,6vw,48px);overflow-wrap:anywhere}
.oqfan-intro p{margin:8px 0 20px}.oqfan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.oqfan-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;min-height:184px;min-width:0;padding:22px;background:var(--glass);color:var(--ink);border:1px solid var(--stroke);border-radius:20px;cursor:pointer;transition:background .15s,border-color .15s}
.oqfan-tile:hover{background:var(--glass2);border-color:var(--accent)}
.oqfan-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--glass2);color:var(--ink)}.oqfan-icon svg{width:25px;height:25px}
.oqfan-tile-title{font:900 clamp(24px,3vw,30px)/1.05 var(--title,system-ui);letter-spacing:.01em;overflow-wrap:anywhere}
.oqfan-tile-description{font:500 14px/1.45 var(--body);color:var(--muted);overflow-wrap:anywhere}
.oqfan-tile-foot{display:flex;align-items:center;justify-content:space-between;align-self:stretch;gap:8px;margin-top:auto;font:700 12px/1.4 var(--body);color:var(--ink)}
.oqfan-match-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.oqfan-match{display:grid;text-align:left;gap:12px;border-radius:16px;padding:18px;min-width:0;background:var(--glass);color:var(--ink);border:1px solid var(--stroke);cursor:pointer}
.oqfan-match b{font:800 18px/1.35 var(--body);overflow-wrap:anywhere}.oqfan-empty{padding:24px}
.oqfan-space h2.ptitle{margin:.2em 0}.oqfan-space .row.between{flex-wrap:wrap;gap:12px}.oqfan-space .row.between>div{min-width:0}
.oqfan-space button:focus-visible,.oq-nav-context button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.oqfan-space button,.hubseg button,.vesttabs button{min-height:44px}
/* Photos ouvertes avec un vrai bouton : clavier, toucher et lecteur d'écran. */
.oqnews-photo-open{display:block;position:relative;width:100%;padding:0;border:0;border-radius:14px;background:var(--glass2);cursor:zoom-in;overflow:hidden;min-height:44px;touch-action:manipulation}
.oqnews-photo-hint{position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:8px;background:#111d;color:#fff;font:700 12px/1.3 var(--body)}
.oqnews-photo-open:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.oqnews-card .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.oqnews-modal{box-sizing:border-box;width:min(820px,calc(100% - 24px));max-height:90vh;max-height:90dvh;overflow:auto;border:1px solid var(--stroke);border-radius:22px;padding:20px;background:var(--bg2);color:var(--ink);font-family:var(--body);overscroll-behavior:contain}
.oqnews-modal::backdrop{background:#000b;backdrop-filter:blur(4px)}
.oqnews-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.oqnews-modal-head h2{margin:0;font:900 clamp(22px,4vw,32px)/1.1 var(--title);min-width:0;overflow-wrap:anywhere}
.oqnews-modal-head button,.oqnews-photo-controls button{min-height:44px;flex-shrink:0}
.oqnews-reader .oqnews-card{border:0;padding:0;background:transparent}.oqnews-reader .oqnews-text{font-size:16px;line-height:1.7}
.oqnews-photo{width:min(1120px,calc(100% - 16px));padding:18px;overflow:auto}
.oqnews-photo-stage{display:flex;align-items:center;justify-content:center;height:min(60vh,680px);height:min(60dvh,680px);min-height:100px;overflow:auto;border-radius:14px;background:var(--glass2);overscroll-behavior:contain}
.oqnews-photo-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.oqnews-photo.is-zoomed .oqnews-photo-stage{display:block}.oqnews-photo.is-zoomed .oqnews-photo-stage img{max-width:none;max-height:none;min-width:100%;width:auto;height:auto}
.oqnews-photo-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}.oqnews-photo-count{min-width:105px;text-align:center;font-weight:800}
.oqnews-photo-caption{margin:14px 0 0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.oqnews-modal button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@media(max-width:899px){.oqfan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.oqfan-grid{gap:10px}.oqfan-tile{padding:14px;min-height:168px;gap:10px;border-radius:16px}.oqfan-tile-title{font-size:25px}.oqfan-tile-description{font-size:13px}.oqfan-match-list{grid-template-columns:1fr}.oqnews-modal{padding:14px}.oqnews-modal-head{gap:10px}.oqnews-photo-stage{height:48vh;height:48dvh}.oqnews-photo-controls{gap:8px}.oqnews-photo-controls [data-news-modal="zoom"]{width:100%}}
@media(orientation:landscape) and (max-height:520px){.oqnews-photo-stage{height:48vh;height:48dvh}.oqnews-modal{max-height:96vh;max-height:96dvh}.oqnews-photo-controls{margin-top:8px}.oqnews-modal-head{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.oqfan-tile{transition:none}}

.hubseg,.vesttabs{display:flex;flex-wrap:wrap}.hubseg>button,.vesttabs>button{flex:1 1 100px;min-height:44px;white-space:normal}

.famtabs{display:flex;flex-wrap:wrap}.famtabs>button{flex:1 1 100px;min-height:44px;white-space:normal}.oqhome-details>summary{padding:10px 0;min-height:44px;cursor:pointer;font-weight:800}.oqhome-details>.stack{margin-top:16px}.oqhome-categories{margin:12px 0}.oqhome-categories h3{margin:0}.oqhome-categories button:focus-visible,.oqhub-space button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* Titres proportionnés à l'écran, sans réduire le texte de lecture. */
html main h2,html main h3{overflow-wrap:anywhere}
@media(max-width:599px){
 html main h2,html main h2.ptitle,html main h2.ptitle.phome,html main .clubcover h2.ptitle.phome,html main .oqfan-intro .ptitle{font-size:clamp(1.4rem,6vw,1.8rem)!important;line-height:1.12!important}
 html main .panel h2,html main .panel h3,html main h3,html .oqnews-modal .oqnews-card h3{font-size:clamp(1.2rem,5vw,1.5rem)!important;line-height:1.15!important}
 html .oqfan-tile-title{font-size:clamp(1.2rem,5.6vw,1.5rem);line-height:1.12}
 html main .profile .pname{font-size:clamp(1.4rem,6vw,1.8rem)!important;line-height:1.1!important}
 html .oqnews-modal-head h2{font-size:clamp(1.1rem,4.8vw,1.4rem)!important;line-height:1.15!important}
 .oqnews-modal-head{align-items:flex-start}.oqnews-modal-head h2{flex:1}.oqnews-reader .oqnews-text{font-size:1rem}
 .oqfan-tile{min-height:158px}.oqfan-tile-description{font-size:.875rem}
}
@media(orientation:landscape) and (max-height:520px){html main h2.ptitle,html main .oqfan-intro .ptitle{font-size:1.6rem!important;line-height:1.1!important}html .oqnews-modal-head h2{font-size:1.2rem!important}}

html .famtabs{display:flex!important;flex-wrap:wrap!important;grid-auto-flow:unset;gap:4px;border-radius:16px!important}html .famtabs>button{flex:1 1 100px;min-width:0;min-height:44px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;padding:8px!important;font-size:.875rem!important}

@media(max-width:599px){html main .clubcover{padding:18px;min-height:0}html main .clubcover .cccrest{width:64px;height:64px;flex-shrink:0}html main .clubcover h2.ptitle.phome{font-size:clamp(1.4rem,6vw,1.7rem)!important}html main .oqhome-categories .oqfan-tile{min-height:156px}}

/* Signature OnziQ : cartes éditoriales aux couleurs de la palette active. */
:root{--oq-card-radius:20px;--oq-card-gap:16px;--oq-ui-duration:160ms}
.oqfan-grid{gap:var(--oq-card-gap)}
.oqfan-tile{position:relative;isolation:isolate;border-radius:var(--oq-card-radius);box-shadow:0 3px 18px #00000006;transition:transform var(--oq-ui-duration),border-color var(--oq-ui-duration),background var(--oq-ui-duration)}
.oqfan-tile::before{content:"";position:absolute;left:22px;top:0;width:34px;height:3px;border-radius:0 0 4px 4px;background:var(--accent)}
.oqfan-icon{width:42px;height:42px;border-radius:14px;background:var(--glass2);background:color-mix(in srgb,var(--accent) 13%,var(--glass2));color:var(--ink)}
.oqfan-tile-foot>span:last-child{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--glass2);font-size:17px}
.oqfan-tile-description{max-width:30ch}.oqfan-tile:active{transform:scale(.985)}
@media(hover:hover){.oqfan-tile:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000000d}}
.oqnews-card .pill{padding:6px 10px;background:var(--glass2);background:color-mix(in srgb,var(--accent) 12%,var(--glass2));color:var(--ink);font-weight:800}
.oqnews-card{border-radius:var(--oq-card-radius)}.oqnews-photo-hint{font-size:13px;padding:6px 10px}.oqnews-photo-open{border-radius:16px}
.oqnews-reader .oqnews-card{box-shadow:none}.oqnews-card .oqnews-text{max-width:68ch}.oqnews-photo-caption{color:var(--ink)}
@media(max-width:599px){.oqfan-grid{gap:10px}.oqfan-tile::before{left:14px;width:28px}.oqfan-tile-foot>span:last-child{width:25px;height:25px}html main .tile .big.oppbig{font-size:clamp(1.5rem,6.5vw,2rem);line-height:1.1;overflow-wrap:anywhere}}
@media(min-width:760px){html main .tile .big.oppbig{font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.08;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.oqfan-tile{transition:none}.oqfan-tile:hover,.oqfan-tile:active{transform:none}}

.oqnews-teaser{margin:4px 0 18px}.oqnews-teaser h3{margin:0}.oqnews-teaser .btn{min-height:44px}
.oqnews-preview{display:flex;align-items:center;gap:18px;width:100%;padding:18px;background:var(--glass);color:var(--ink);border:1px solid var(--stroke);border-radius:20px;text-align:left;cursor:pointer;min-height:100px}
.oqnews-preview>img{width:112px;height:112px;object-fit:cover;border-radius:14px;flex-shrink:0}.oqnews-preview-copy{display:grid;gap:7px;min-width:0;flex:1}.oqnews-preview-title{font:900 clamp(20px,2vw,26px)/1.1 var(--title);overflow-wrap:anywhere}.oqnews-preview-body{font:500 .9rem/1.45 var(--body);color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.oqnews-preview-link{font:800 .85rem/1.4 var(--body)}
.oqnews-preview:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@media(max-width:599px){.oqnews-preview{padding:12px;gap:12px}.oqnews-preview>img{width:72px;height:90px}.oqnews-preview-title{font-size:1.2rem}.oqnews-preview .eyebrow{font-size:.65rem}.oqnews-preview-body{font-size:.875rem}}

html main .clubcover h2.ptitle.phome,html main .oqfan-intro .ptitle{font-size:clamp(1.4rem,3.8vw,2.25rem)!important;line-height:1.12!important}
@media(orientation:landscape) and (max-height:520px){html main .clubcover h2.ptitle.phome,html main .oqfan-intro .ptitle{font-size:1.6rem!important}}

.oqhome-priority>.tile{grid-column:1/-1}.oqhome-priority>.tile.hero{min-height:0;padding:20px}.oqhome-priority{margin-bottom:4px}

.oqhome-conv>.tile{grid-column:1/-1}.oqhome-conv{margin-bottom:12px}
