.section-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.section-nav a { padding: .55rem .75rem; border-radius: .55rem; background: #395fc9; color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.section-nav a.active { background: #f5c451; color: #182238; box-shadow: 0 0 0 2px #d99d18 inset; }
.pronostic-tab-panel[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
.feature-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feature-links a { display: flex; flex-direction: column; gap: .35rem; min-height: 7rem; padding: 1.2rem; border: 1px solid #cedaee; border-radius: .8rem; background: #f6f9ff; color: #14234a; text-decoration: none; }
.feature-links a:hover { border-color: #395fc9; transform: translateY(-2px); }
.feature-links strong { color: #003399; font-size: 1.1rem; }
.feature-links span { color: #526078; line-height: 1.45; }
@media (max-width: 700px) { .feature-links { grid-template-columns: 1fr; } }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.compact-balls, .top-ranks { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; }
.compact-balls .mini-ball { margin: 0; }
.top-star { background: #f5c451; color: #332400; font-size: .7rem; }
.top-rank { display: inline-flex; padding: .25rem .55rem; border-radius: 1rem; background: #eef1f5; color: #526078; font-size: .78rem; white-space: nowrap; }
.top-rank.top-five { background: #4f8cff; color: #fff; font-weight: 800; }
.top-rank.top-ten { background: #4caf50; color: #fff; font-weight: 800; }
.explanation-box { margin: 1rem 0 1.5rem; padding: 1.25rem; border-left: 4px solid #1565c0; border-radius: .75rem; background: linear-gradient(135deg, #eef6ff, #f8fbff); line-height: 1.6; }
.explanation-box h3 { margin-top: 0; color: #124d91; }
.example-selection { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.example-selection span { padding: .45rem .7rem; border-radius: 1rem; background: #1565c0; color: #fff; font-size: .85rem; font-weight: 700; }
.responsible-note { margin-bottom: 0; padding-top: .8rem; border-top: 1px solid #c9dcf2; color: #43536b; font-size: .9rem; }
.top-workspace { display: grid; grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr); gap: 1rem; align-items: start; }
.top-history { max-height: 48rem; overflow: auto; }
.top-composer { position: sticky; top: 5.5rem; padding: 1rem; border: 1px solid #c9dcf2; border-radius: .8rem; background: #f7faff; }
.top-composer h3 { margin-top: 0; color: #124d91; }
.top-composer .number-grid { grid-template-columns: repeat(5, 1fr); }
.top-composer .number-button { font-size: .75rem; }
.composer-selection, .composer-balance { margin-top: 1rem; padding: .8rem; border-radius: .6rem; background: #fff; line-height: 1.5; }
.composer-balance.good { border-left: 4px solid #2e9b4f; }
.composer-balance.warning { border-left: 4px solid #e09817; }
.action-link { display: block; margin-top: 1rem; padding: .75rem; border-radius: .55rem; background: #0756bb; color: #fff; font-weight: 800; text-align: center; text-decoration: none; }
.action-link.disabled { opacity: .45; pointer-events: none; }
@media (max-width: 950px) { .top-workspace { grid-template-columns: 1fr; } .top-composer { position: static; } }
.frequency-explanation { margin-bottom: 1.25rem; padding: 1.25rem; border-left: 4px solid #6f42c1; border-radius: .75rem; background: linear-gradient(135deg, #f8f0ff, #efe0ff); line-height: 1.55; }
.frequency-explanation h2 { color: #6f42c1; }
.top-number-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.top-number-card { overflow: hidden; border: 1px solid #dce4ef; border-radius: .7rem; background: #fafafa; }
.top-number-card h3 { margin: 0; padding: .65rem; color: #0044cc; background: #f3f8ff; text-align: center; font-size: .95rem; }
.top-number-card th, .top-number-card td { padding: .45rem; text-align: center; }
.top-number-card th { color: #173b7a; background: #eef4ff; }
.top-number-card .mini-ball { width: 1.9rem; height: 1.9rem; margin: 0; }
.top-number-card td strong { color: #0044cc; }
@media (max-width: 650px) { .top-number-groups { grid-template-columns: 1fr; } .panel-title { align-items: flex-start; flex-direction: column; } }
.statistics-picker { justify-content: center; padding: 1rem; border: 1px solid #dce6f7; border-radius: .7rem; background: #f4f8ff; }
.statistics-title { text-align: center; }
.statistics-title .balls { justify-content: center; }
.statistics-chart { position: relative; min-height: 24rem; margin: 1.25rem 0; padding: 1rem; border: 1px solid #e1e7f0; border-radius: .8rem; background: #fff; text-align: center; }
.statistics-chart canvas { max-height: 20rem; }
.statistics-chart p { color: #657087; font-size: .85rem; }
.statistics-table td, .statistics-table th { text-align: center; }
.pattern-analysis { margin-top: 1.5rem; }
.pattern-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pattern-card { padding: 1rem; border: 1px solid #dce4ef; border-radius: .8rem; background: #f9fbfe; }
.pattern-card > h3 { margin-top: 0; color: #173b7a; }
.pattern-row { display: grid; grid-template-columns: 2rem 1fr; gap: .5rem; margin: .45rem 0; padding: .55rem; border-radius: .55rem; background: #fff; }
.pattern-row.selected { outline: 2px solid #f0b52d; background: #fff9e8; }
.pattern-row small { display: block; margin-top: .15rem; color: #647089; }
.pattern-rank { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: #173b7a; color: #fff; font-size: .75rem; font-weight: 800; }
.pattern-bar { grid-column: 1 / -1; height: .35rem; overflow: hidden; border-radius: 1rem; background: #e6ebf3; }
.pattern-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #395fc9, #f5c451); }
.series-used { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; color: #526078; font-size: .85rem; }
.series-used span { padding: .25rem .45rem; border-radius: .5rem; background: #e8effa; color: #173b7a; font-weight: 700; }
@media (max-width: 950px) { .pattern-grid { grid-template-columns: 1fr; } }
.pattern-example { margin-top: 1rem; padding: .8rem; border-top: 1px dashed #cbd6e7; background: #fff; border-radius: .6rem; }
.pattern-example > div { display: flex; flex-wrap: wrap; gap: .35rem; margin: .6rem 0; }
.pattern-example small { display: block; color: #59677d; line-height: 1.45; }
.example-ball { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: #60738f; color: #fff; font-size: .8rem; font-weight: 800; }
.example-ball.even { background: #2864bd; }
.example-ball.odd { background: #c68a16; }
.example-ball.sequence { outline: 3px solid #ef9b28; background: #d56b18; }
.example-ball.series-one { background: #2864bd; }
.example-ball.series-two { background: #2e9b4f; }
.example-ball.series-three { background: #8d55bb; }
.finale-ranking { margin-top: 1rem; padding-top: .8rem; border-top: 1px dashed #cbd6e7; }
.finale-ranking h4 { margin: 0 0 .6rem; color: #173b7a; }
.finale-ranking th, .finale-ranking td { padding: .4rem .25rem; text-align: center; font-size: .78rem; }
.finale-ranking th { background: #173b7a; color: #fff; }
.finale-ranking tr.compared-finale { background: #fff5d8; }
.finale-ranking small { display: block; margin-top: .6rem; color: #59677d; }
.fdj-jackpot{position:relative;isolation:isolate;display:grid;grid-template-columns:1.15fr 1fr auto;align-items:center;gap:clamp(1rem,3vw,2.5rem);margin:1.5rem 0;padding:clamp(1.35rem,3vw,2rem);overflow:hidden;color:#fff;background:radial-gradient(circle at 78% 15%,#1877ed 0,transparent 28%),linear-gradient(125deg,#061e70 0%,#073caa 55%,#0064d7 100%);border-radius:1.25rem;box-shadow:0 14px 34px #002a7a38}.fdj-jackpot:before{content:"";position:absolute;z-index:-1;width:22rem;height:22rem;right:-7rem;bottom:-16rem;border:4rem solid #ffd638;border-radius:50%;opacity:.95}.fdj-jackpot-stars{position:absolute;z-index:-1;top:.7rem;right:31%;color:#ffd638;font-size:1.1rem;letter-spacing:.55rem;transform:rotate(-8deg)}.fdj-jackpot-stars span{font-size:1.7rem}.fdj-jackpot-game{display:flex;flex-direction:column;align-items:flex-start}.fdj-jackpot-kicker{margin-bottom:.3rem;color:#ffd638;font-size:.78rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.fdj-jackpot-title{font-size:clamp(1.8rem,4vw,3rem);font-style:italic;line-height:.95;letter-spacing:-.06em;text-shadow:0 2px 0 #00175f}.fdj-jackpot-mymillion{margin-top:.45rem;padding:.22rem .65rem;color:#07226e;background:#ffd638;border-radius:1rem;font-size:.75rem;font-weight:900;text-transform:uppercase}.fdj-jackpot-prize{text-align:center}.fdj-jackpot-prize>span{display:block;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.fdj-jackpot-prize strong{display:block;margin:.15rem 0;color:#ffd638;font-size:clamp(2rem,5vw,4.2rem);line-height:1;font-weight:950;letter-spacing:-.05em;text-shadow:0 3px 0 #00185c}.fdj-jackpot-prize small{font-size:.92rem;font-weight:800}.fdj-jackpot-action{display:flex;flex-direction:column;align-items:center;gap:.65rem}.fdj-jackpot-action img{width:5.5rem;height:auto;padding:.3rem .45rem;background:#fff;border-radius:.45rem}.fdj-jackpot-action a{padding:.7rem 1rem;color:#082a79;background:#ffd638;border-radius:1.5rem;font-size:.82rem;font-weight:900;text-decoration:none;white-space:nowrap;box-shadow:0 4px 0 #dfaa00}.fdj-jackpot-action a:hover{background:#ffe46d;transform:translateY(-1px)}.fdj-jackpot-disclaimer{grid-column:1/-1;margin:0;padding-top:.65rem;border-top:1px solid #ffffff38;color:#dce9ff;font-size:.68rem;text-align:center}
@media(max-width:760px){.fdj-jackpot{grid-template-columns:1fr;text-align:center}.fdj-jackpot-game{align-items:center}.fdj-jackpot-stars{right:8%}.fdj-jackpot-action{flex-direction:row;justify-content:center;flex-wrap:wrap}}
