:root {
  color-scheme: dark;
  --bg: #0a1422;
  --panel: #152438;
  --ink: #f5f8fc;
  --soft: #b7c7d7;
  --line: #2c3e52;
  --sky: #86d9fa;
  --sans: 'Inter','Segoe UI',Arial,sans-serif;
  --display: 'Bricolage Grotesque','Segoe UI',Arial,sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sky); }
button, select, input { color: inherit; font: inherit; }
button, select, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #ffd584; outline-offset: 3px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand { font-family: var(--display); line-height: 1.08; letter-spacing: -.045em; }
h2 { font-size: clamp(24px,2.25vw,35px); }
button { border: 0; background: none; }
svg { vertical-align: middle; flex-shrink: 0; }
.wrap { width: min(1360px,90%); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); white-space: nowrap; overflow: hidden; }
.skip:focus { position: absolute; padding: 12px; z-index: 10; background: var(--bg); }
.top { background: #0e1c2c; border-bottom: 1px solid var(--line); }
.bar, .brand, #menu, .search, .footer-in, .footer-in nav, .section-line, .btn, .families, .families a, .list-heading, .dialog-top, .crumbs { display: flex; align-items: center; }
.bar { min-height: 77px; gap: clamp(28px,5vw,80px); position: relative; }
.brand { flex-shrink: 0; gap: 7px; font-size: 28px; font-weight: 800; }
.brand-symbol { width: 39px; height: 39px; }
.brand .des { font-weight: 450; font-size: .78em; margin-inline: 1px; color: var(--sky); }
#menu { gap: 25px; align-self: stretch; }
#menu a { display: inline-flex; align-items: center; position: relative; color: var(--soft); font-size: 14px; font-weight: 630; }
#menu a[aria-current], #menu a:hover { color: var(--sky); }
#menu a[aria-current]::after { content: ''; position: absolute; border-radius: 5px; background: var(--sky); height: 3px; inset: auto 0 0; }
.search { gap: 10px; margin-left: auto; padding: 9px 14px; border: 1px solid #35475b; border-radius: 22px; background: #19283a; font-size: 13px; color: #d5e2ee; }
#menu .category-nav { border: 0; padding: 0; display: flex; align-items: center; }
#menu .category-nav > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--soft); font-size: 14px; font-weight: 630; min-height: 40px; }
.category-nav > summary::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.7px 1.7px 0; transform: translateY(-2px) rotate(45deg); }
.category-nav[open] > summary::after { transform: translateY(2px) rotate(225deg); }
#menu .category-nav[open] > summary, #menu .category-nav > summary:hover { color: var(--sky); }
.category-panel { position: absolute; z-index: 20; top: calc(100% - 3px); inset-inline: 0; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 16px 36px #08162336; border-radius: 0 0 14px 14px; padding: 20px 24px 12px; max-height: 72vh; overflow: auto; }
.category-columns { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.category-columns h2 { color: var(--ink); font: 700 16px/1.3 var(--sans); letter-spacing: -.02em; margin: 0 0 7px; }
.category-columns ul { list-style: none; margin: 0; padding: 0; }
#menu .category-columns a { font-weight: 450; padding: 4px 0; line-height: 1.4; }
#menu .category-columns a[aria-current]::after { content: none; }
#menu .category-all { margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; gap: 8px; color: var(--sky); }
#menu-toggle { display: none; }
.spotlight { position: relative; margin: 24px 0 31px; overflow: hidden; border: 1px solid #355065; border-radius: 22px; }
.slide, .intro { background-color: #142c46; background-size: cover; background-position: center; }
.bg-profondeurs { background-image: linear-gradient(90deg,#051121c4,transparent 70%),url('assets/profondeurs.jpg'); }
.bg-manege { background-image: linear-gradient(90deg,#101423f7 7%,#141829ce 37%,transparent 85%),url('assets/manege.jpg'); background-position: center,center 47%; }
.bg-cosmos { background-image: linear-gradient(90deg,#121527f5 8%,#111627cc 38%,transparent 86%),url('assets/cosmos.jpg'); background-position: center,center 48%; }
.slide { min-height: clamp(360px,29vw,455px); padding: clamp(32px,4.3vw,72px); display: flex; align-items: center; }
[hidden] { display: none !important; }
.slide-copy, .intro > div { max-width: min(48%,550px); }
.label, .overline, .tile-text small, .journal small, .facts small, details small { color: var(--sky); text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 750; }
.label { display: inline-flex; align-items: center; gap: 8px; }
.label::before { content: ''; display: inline-block; height: 2px; width: 18px; background: var(--sky); }
.slide h1 { font-size: clamp(47px,4.5vw,78px); line-height: .98; margin: 13px 0 16px; max-width: 12ch; }
.slide h1 em { display: block; font-style: normal; color: #9fe3ff; }
.slide p, .intro p { font-size: 15px; color: #daebf5; max-width: 45ch; }
.btn { display: inline-flex; width: fit-content; gap: 14px; padding: 10px 17px; margin-top: 23px; font-size: 13px; font-weight: 720; border-radius: 22px; background: var(--sky); color: #10283c; }
.btn:hover { background: #d0f2ff; color: #0b2339; }
.section-line, .list-heading { justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.section-line a { color: var(--sky); font-size: 13px; font-weight: 650; }
.section-line svg { margin-left: 5px; }
.tile-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.game-row { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--panel); border: 1px solid #33435b; border-radius: 14px; isolation: isolate; }
.tile-art { overflow: hidden; }
.tile-art img { display: block; height: 100%; width: 100%; object-fit: cover; transition: transform .25s ease; }
.game-row:hover img { transform: scale(1.035); }
.games .tile-art { aspect-ratio: 2.05; position: relative; }
.games .tile-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#071124f5, #08132191 27%,transparent 72%); }
.games .tile-text { position: absolute; bottom: 16px; left: 20px; }
.tile-text small { font-size: 9px; color: #bfdff2; }
.tile-text h3 { font-size: clamp(23px,2vw,31px); margin-top: 2px; color: white; }
.tile-go { position: absolute; bottom: 17px; right: 15px; display: grid; place-items: center; border-radius: 50%; color: #f6fbff; width: 30px; height: 30px; border: 1px solid #b2cce877; background: #0c183a57; }
.browse, .journal { margin-top: 34px; }
.families { flex-wrap: wrap; gap: 10px; }
.browse h2, .journal h2 { margin-bottom: 14px; }
.families a { gap: 9px; background: #152539; border: 1px solid var(--line); border-radius: 10px; padding: 11px 18px; font-size: 14px; }
.families svg { color: var(--sky); }
.journal a { display: flex; align-items: center; gap: 22px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; }
.journal small { min-width: 125px; }
.journal svg { margin-left: auto; }
.crumbs { flex-wrap: wrap; gap: 6px; padding: 18px 0; color: var(--soft); font-size: 12px; }
.page-category .spread { display: flex; flex-direction: column-reverse; gap: 22px; }
.intro, .plain-title { padding: clamp(26px,4vw,60px); border-radius: 18px; border: 1px solid var(--line); }
.intro h1, .plain-title h1 { font-size: clamp(42px,4.9vw,78px); margin: 10px 0 14px; }
.plain-title { background: #142b40; }
.plain-title p { max-width: 60ch; color: #d1e3ed; }
.list-heading { margin-top: 26px; }
.list-heading label { font-size: 13px; color: var(--soft); }
select, dialog input { background: #1c3045; color: white; border: 1px solid #476078; border-radius: 7px; padding: 7px; }
#game-list .tile-art { aspect-ratio: 2.5; }
#game-list .tile-text { padding: 14px 17px 39px; }
#game-list p { font-size: 14px; color: var(--soft); margin-top: 6px; }
.reading { display: grid; grid-template-columns: minmax(0,1fr) minmax(190px,23%); gap: clamp(20px,4vw,70px); margin-top: 27px; }
.reading article { max-width: 82ch; background: #122133; border-radius: 16px; padding: clamp(18px,3vw,41px); }
.reading h2 { font-size: clamp(23px,2vw,32px); }
.reading p { color: #d0dce8; line-height: 1.75; margin: 13px 0; }
.reading section + section { margin-top: 30px; }
.facts, .gallery { display: grid; gap: 15px; margin-top: 20px; }
.facts { grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--line); padding: 13px 0; }
.facts small, .facts b, details small, details strong { display: block; }
.facts b { font-size: 14px; }
.gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
.gallery img { width: 100%; display: block; border-radius: 9px; }
.gallery figcaption { color: var(--soft); font-size: 12px; margin-top: 5px; }
.panel { padding: 12px 0; }
.panel h3 { font-size: 20px; padding-bottom: 12px; }
.toc, details { border-top: 1px solid var(--line); padding: 12px 0; }
.toc, details summary { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.toc { font-size: 14px; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary b { transform: rotate(45deg); }
.archive-img { max-width: 100%; border-radius: 6px; }
footer { background: #0d1a2b; border-top: 1px solid var(--line); margin-top: 45px; }
.footer-in { gap: 18px; padding-block: 25px; }
.footer-in .brand { font-size: 23px; }
.footer-in .brand-symbol { width: 29px; }
.footer-in p, .footer-in nav { font-size: 12px; color: var(--soft); }
.footer-in nav { gap: 15px; margin-left: auto; }
dialog { width: min(510px,92%); max-height: 80vh; background: #142438; color: var(--ink); border: 1px solid #41627d; border-radius: 15px; padding: 23px; }
dialog::backdrop { background: #030b16bd; }
.dialog-top { justify-content: space-between; margin-bottom: 16px; }
.dialog-top h2 { font-size: 25px; }
dialog label { display: block; color: var(--soft); font-size: 13px; }
dialog input { width: 100%; margin: 4px 0 12px; }
#results a { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
.bg-esoccer { background-image: linear-gradient(90deg,#04101fca,transparent 69%),url('assets/esoccer.jpg'); }
.slide, .intro { color: #f5f8fc; }
.slide .label, .intro .label { color: #9fe3ff; }
.btn { background: #86d9fa; }
.mode { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; margin-left: auto; border-radius: 50%; border: 1px solid var(--line); color: var(--sky); }
.mode span::before { content: '☀'; font: 20px/1 'Segoe UI Symbol',sans-serif; }
[data-theme=jour] .mode span::before { content: '☾'; }
.bar .search { margin-left: 0; }
.bar { column-gap: clamp(12px,2vw,32px); }
.home-block { margin-top: clamp(32px,3.6vw,56px); }
.directory, .guide-grid, .home-split, .guide-info, .guide-lists, .resources { display: grid; gap: 18px; }
.directory { grid-template-columns: repeat(4,minmax(0,1fr)); }
.fiche-columns { columns: 4 17rem; column-gap: 16px; }
.fiche-columns > section { display: inline-block; width: 100%; break-inside: avoid; vertical-align: top; margin-bottom: 12px; padding: 15px 17px; overflow-wrap: anywhere; }
.fiche-columns h2 { font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.fiche-columns h2 a { font: inherit; }
.fiche-columns ul { margin: 8px 0 0; padding-inline-start: 19px; }
.fiche-columns li { font-size: 14px; line-height: 1.5; }
.fiche-columns li a { font-size: inherit; }
.directory-group { padding: 22px 20px; border-radius: 15px; background: var(--panel); border: 1px solid var(--line); }
.family-icon { display: inline-grid; place-items: center; color: #9bdfff; background: #204257; width: 38px; height: 38px; border-radius: 11px; margin-bottom: 12px; }
.directory-group:nth-child(2) .family-icon { background: #4d3641; color: #ffc695; }
.directory-group:nth-child(3) .family-icon { background: #353454; color: #d8c0ff; }
.directory-group:nth-child(4) .family-icon { background: #214641; color: #99e7c7; }
.directory-group h3 { font-size: 22px; }
.directory-group p, .guide-link p { color: var(--soft); font-size: 13px; margin-block: 6px 13px; }
.directory-group div, .guide-lists section, .resources section { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.directory-group a, .guide-lists a, .resources a { font-size: 13px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.home-split { grid-template-columns: 1fr 1fr; gap: 4%; }
.brief, .update { border-top: 1px solid var(--line); padding: 12px 0; }
.brief summary, .update, .guide-link { display: flex; align-items: center; justify-content: flex-start; gap: 14px; }
.datebox { width: 48px; min-height: 48px; display: grid; place-content: center; flex-shrink: 0; text-align: center; line-height: 1.1; font-size: 9px; letter-spacing: .06em; background: var(--panel); color: var(--sky); border-radius: 9px; }
.datebox b { font-size: 20px; }
.brief-copy small, .update small { display: block; color: var(--sky); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.brief-copy strong, .update strong { display: block; margin-top: 3px; font-size: 16px; }
.brief[open] .plus { transform: rotate(45deg); }
.plus, .update svg, .guide-link svg { margin-left: auto; color: var(--sky); }
.brief p { padding: 10px 12px 4px 62px; color: var(--soft); font-size: 14px; }
.update img { width: 75px; height: 48px; object-fit: cover; border-radius: 7px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--sky); font-weight: 600; font-size: 13px; margin-top: 12px; }
.guide-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.guide-link { padding: 13px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; gap: 12px; }
.guide-link img { width: 66px; height: 69px; object-fit: cover; border-radius: 8px; }
.guide-link h3 { font-size: 21px; }
.guide-link p { margin-bottom: 0; line-height: 1.4; }
.guide-info { grid-template-columns: 1.1fr 1fr; gap: 7%; border-top: 1px solid var(--line); padding-top: 28px; }
.guide-info h2 { margin: 7px 0 10px; }
.guide-info p { color: var(--soft); font-size: 14px; }
.guide-lists { grid-template-columns: 1fr 1fr; align-content: start; }
.guide-lists h3, .resources h3 { width: 100%; margin-bottom: 6px; font-size: 16px; }
.guide-lists section { align-content: start; }
.resources { padding-block: 22px; grid-template-columns: 1fr 2fr; gap: 6%; border-bottom: 1px solid var(--line); }
.resources a { color: var(--soft); }
[data-theme=jour] { color-scheme: light; --bg: #f3f8fc; --panel: white; --ink: #132a40; --soft: #455e71; --line: #cbdde8; --sky: #12648a; }
[data-theme=jour] .top { background: #d8f1ff; }
[data-theme=jour] .search, [data-theme=jour] .families a, [data-theme=jour] dialog, [data-theme=jour] #menu.open { background: white; color: var(--ink); border-color: var(--line); }
[data-theme=jour] footer, [data-theme=jour] .plain-title { background: #e3f0f8; }
[data-theme=jour] .reading article { background: white; }
[data-theme=jour] :is(.reading p,.plain-title p,#game-list .tile-text small,#game-list h3,.footer-in p,.footer-in nav) { color: var(--soft); }
[data-theme=jour] #game-list .tile-go { color: var(--ink); background: transparent; }
[data-theme=jour] .game-row { border-color: var(--line); }
[data-theme=jour] select, [data-theme=jour] dialog input { color: var(--ink); background: white; border-color: var(--line); }
@media(max-width:1000px) {
  .directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-link { flex-wrap: wrap; }
  .guide-link > div { flex: 1; min-width: 90px; }
}
@media(max-width:700px) {
  .home-split, .guide-grid, .guide-info { grid-template-columns: 1fr; gap: 23px; }
  .directory { gap: 10px; }
  .directory-group { padding: 15px; }
  .resources { grid-template-columns: 1fr; }
  .resources section { gap: 7px 14px; }
  .slide.bg-esoccer { background-position: 73% top; }
}
@media(max-width:370px) {
  .directory { grid-template-columns: 1fr; }
}

@media(max-width:820px) {
  .wrap { width: 94%; }
  .bar { gap: 19px; }
  #menu { gap: 14px; }
  .tile-grid { gap: 12px; }
  .slide-copy, .intro > div { max-width: 57%; }
  .games .tile-art { aspect-ratio: 1.55; }
  .games .tile-text { left: 12px; bottom: 12px; }
  .tile-go { right: 9px; bottom: 10px; }
  .reading { grid-template-columns: minmax(0,1fr) 160px; }
}
@media(max-width:620px) {
  .wrap { width: calc(100% - 28px); }
  .bar { min-height: 63px; gap: 8px; }
  .brand { font-size: 24px; }
  .brand-symbol { width: 33px; }
  .search { padding: 8px; }
  .search span, #menu { display: none; }
  #menu-toggle { display: grid; place-items: center; padding: 7px; }
  #menu.open { display: flex; flex-wrap: wrap; position: absolute; z-index: 5; top: 100%; inset-inline: 0; background: #172b40; padding: 12px 14px; border-radius: 0 0 10px 10px; }
  #menu a { min-height: 32px; }
  #menu.open { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 2px; max-height: 78vh; max-height: 78dvh; overflow-y: auto; }
  #menu .category-nav { display: block; }
  #menu .category-nav > summary { width: 100%; justify-content: space-between; }
  .category-panel { position: static; max-height: none; overflow: visible; padding: 12px; box-shadow: none; border-radius: 9px; }
  .category-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 10px; }
  .category-columns h2 { font-size: 14px; }

  .spotlight { margin: 14px 0 23px; border-radius: 15px; }
  .slide { align-items: flex-end; min-height: 410px; padding: 0 20px 42px; background-size: auto 68%, auto 68%; background-repeat: no-repeat; background-position: 73% top; background-color: #101e30; position: relative; isolation: isolate; }
  .slide.bg-profondeurs { background-position: 74% top; }
  .slide::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#101e30 23%,#101e30e8 42%,#101e3060 65%,transparent 83%); }
  .slide-copy, .intro > div { max-width: 100%; }
  .slide h1 { font-size: 44px; margin: 7px 0 10px; }
  .slide p, .intro p { font-size: 14px; }
  .btn { margin-top: 14px; }
  .section-line { gap: 6px; }
  .section-line h2 { font-size: 23px; }
  .section-line a { font-size: 11px; white-space: nowrap; }
  .games .tile-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 7px; }
  .games .game-row { flex: 0 0 73%; scroll-snap-align: start; }
  .games .tile-art { aspect-ratio: 1.8; }
  .browse, .journal { margin-top: 22px; }
  .families a { padding: 9px 12px; }
  .journal a { display: grid; grid-template-columns: 1fr auto; gap: 3px; }
  .journal small { grid-column: 1/-1; }
  .intro { padding: 23px 18px; background-blend-mode: normal; }
  .intro > div { background: #0a172bbb; padding: 12px; border-radius: 9px; }
  .list-heading { flex-wrap: wrap; }
  #game-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  #game-list .tile-art { aspect-ratio: 1.5; }
  #game-list .tile-text { padding: 11px 11px 34px; }
  #game-list p { font-size: 12px; }
  .reading, .gallery { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .footer-in { align-items: flex-start; flex-direction: column; gap: 7px; }
  .footer-in nav { margin: 6px 0 0; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .tile-art img { transition: none; } }

#ensemble { margin: 30px auto; max-width: 1040px; }
#gauche { max-width: 100%; }
#gauche .bloc1 { background:var(--panel); border:1px solid var(--line); padding:clamp(16px,3vw,40px);border-radius:16px;margin:16px 0;display:flow-root;overflow-wrap:anywhere; }
#gauche .titre { margin-bottom:20px; }
#gauche h1 { font-size:clamp(30px,4vw,55px);margin:12px 0; }
#gauche h2 { font-size:clamp(23px,2.3vw,32px);margin:20px 0 8px; }
#gauche p { margin:10px 0; }
#gauche a { color:var(--sky); }
#gauche img, .news-copy img { max-width:100%;height:auto; }
#gauche .onglet,#gauche .plus { display:none; }
#gauche .top1 { display:flow-root;border-top:1px solid var(--line);padding:14px 0; }
#gauche .top1 .image1 { float:left;width:min(24%,158px);margin:0 18px 7px 0; }
#gauche .top1 h2 { margin:0 0 6px; }
#gauche iframe,#gauche table { max-width:100%; }
#gauche .bloc1 :is(input,textarea,select) { max-width:100%;padding:7px;border:1px solid var(--line);border-radius:6px; }
#gauche .bloc1 a.btn { color:#10283c; }
.news-copy { padding:14px;color:var(--soft);overflow-wrap:anywhere; }
.news-copy a { color:var(--sky);text-decoration:underline; }
.news-pages { display:flex;flex-wrap:wrap;gap:8px;margin-top:12px; }
.news-pages a { padding:4px 9px;border:1px solid var(--line);border-radius:6px; }
.news-pages [aria-current] { color:var(--sky);font-weight:bold; }
.slide.live-lead { background-color:#102842; }
.live-lead h1 { max-width:16ch; }
@media(max-width:620px){.slide.live-lead { background-position:73% top; }.live-lead h1{font-size:36px;}}


.entry-hero {display:flex;align-items:flex-end;padding:clamp(26px,5vw,62px);min-height:180px;background-color:#12384d;background-image:linear-gradient(125deg,#143448,#1b5d7c);background-size:cover;background-position:center 45%;border-radius:18px;color:white;}
.entry-hero .label{color:#9fe3ff}.entry-content{line-height:1.7}.entry-content a{text-decoration:underline}
.category-description{margin:15px 0}.entry-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#gauche .listing-card{display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);color:var(--ink)}
.listing-image{height:130px;background:#182b41;display:grid;place-items:center}.listing-image img{height:100%!important;width:100%;object-fit:contain}
.listing-card>div+div{padding:16px}.listing-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:var(--soft);font-size:14px}
#gauche .listing-card h2{margin:5px 0 8px;font-size:22px}.entry-list+.news-pages{margin-top:20px}
@media(max-width:720px){.entry-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media(max-width:450px){.entry-list{grid-template-columns:1fr}}

.missing-page {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  max-width: 1100px;
  margin: clamp(28px, 6vw, 84px) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.missing-copy { align-self: center; padding: clamp(24px, 4vw, 60px); }
.missing-copy h1 { margin: 12px 0 16px; font-size: clamp(36px, 4.4vw, 64px); }
.missing-copy > p:not(.label) { max-width: 46ch; color: var(--soft); }
.missing-art { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.missing-search { margin: 28px 0 20px; }
.missing-search label { display: block; margin-bottom: 6px; font-weight: 650; }
.missing-search > div { display: flex; gap: 6px; }
.missing-search input { flex: 1; min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.missing-search button { padding: 10px 14px; border-radius: 8px; background: #86d9fa; color: #10283c; font-weight: 700; }
.missing-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.missing-links a { color: var(--sky); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .missing-page { grid-template-columns: 1fr; }
  .missing-art { grid-row: 1; min-height: 0; height: clamp(125px, 34vw, 190px); object-position: center 43%; }
}

.contact-page { max-width: 1170px; margin: 0 auto clamp(36px, 6vw, 90px); }
.contact-page .crumbs { padding-block: clamp(18px, 2.5vw, 36px); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: clip;
  background: var(--panel);
  box-shadow: 0 18px 56px #06122017;
}
.contact-intro {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 52px);
  color: #f3faff;
  background: #101e35;
}
.contact-art, .contact-intro::before {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
}
.contact-art { object-fit: cover; object-position: 47% 58%; }
.contact-intro::before {
  content: ''; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #081626fa 0%, #0c2039ed 23%, #111d37a6 43%, #0814290d 65%, #081828e0 100%);
}
.contact-copy, .contact-submit-site { position: relative; }
.contact-copy h1 { font-size: clamp(38px, 4.6vw, 70px); line-height: .99; letter-spacing: -.06em; }
.contact-copy h1 span { color: #78dcff; }
.contact-copy p { max-width: 32ch; margin-top: 20px; color: #e3edf6; line-height: 1.55; }
.contact-submit-site {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  border-top: 1px solid #b4d9f482; padding-top: 15px; font-weight: 650; font-size: 14px;
}
.contact-submit-site:hover { color: #93e4ff; }
.contact-submit-site span { font-size: 20px; }
.contact-sheet { padding: clamp(24px, 3.5vw, 52px); min-width: 0; overflow-wrap: anywhere; }
.contact-sheet h2 { font-size: clamp(26px, 2.5vw, 36px); margin-bottom: 6px; }
.contact-note, .contact-verification p { color: var(--soft); font-size: 13px; }
.contact-form { display: grid; gap: 15px; margin-top: 24px; }
.contact-names { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; min-width: 0; gap: 5px; font-size: 14px; font-weight: 640; }
.contact-form :is(input, textarea) {
  width: 100%; min-width: 0; padding: 10px 12px; color: var(--ink); background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--line) 72%, var(--soft)); border-radius: 8px;
  font: 400 16px/1.4 var(--sans);
}
.contact-form textarea { resize: vertical; min-height: 98px; }
.contact-form textarea::placeholder { color: var(--soft); opacity: .9; }
.contact-form :is(input, textarea):focus-visible { outline: 2px solid var(--sky); outline-offset: 1px; }
.contact-verification { border-top: 1px solid var(--line); padding-top: 14px; }
.contact-code { display: flex; gap: 12px; align-items: center; margin-top: 7px; }
.contact-code img { border-radius: 3px; image-rendering: pixelated; }
.contact-code input { max-width: 110px; letter-spacing: .13em; }
.contact-form .btn { margin-top: 2px; padding: 12px 20px; }
.contact-form .btn:hover { background: #a9e7ff; }
.contact-alert { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--sky); background: var(--bg); }
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; border-radius: 16px; }
  .contact-intro { gap: 20px; }
  .contact-copy { max-width: 74%; }
  .contact-art { object-position: 50% 54%; }
  .contact-intro::before { background: linear-gradient(90deg, #091829fa, #0a1b2ed4 46%, #0a183240), linear-gradient(0deg, #081626bf, transparent 40%); }
  .contact-copy h1 { font-size: clamp(34px, 7vw, 48px); }
  .contact-copy p { margin-top: 10px; font-size: 14px; }
}
@media (max-width: 440px) {
  .contact-copy { max-width: 100%; }
  .contact-sheet, .contact-intro { padding: 22px 18px; }
  .contact-names { gap: 10px; }
}

.legal-page { max-width: 1120px; margin: 0 auto clamp(48px, 7vw, 96px); }
.legal-page .crumbs { padding-block: clamp(18px, 2.5vw, 36px); }
.legal-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 8px 0 clamp(24px, 4vw, 48px); border-bottom: 2px solid var(--sky); }
.legal-heading h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; }
.legal-heading p { color: var(--soft); }
.legal-heading h1 + p { max-width: 57ch; margin-top: 14px; }
.legal-date { flex-shrink: 0; font-size: 13px; }
.legal-layout { display: grid; grid-template-columns: minmax(205px, 1fr) minmax(0, 2.8fr); gap: clamp(26px, 4vw, 62px); margin-top: clamp(22px, 3.5vw, 46px); }
.legal-toc { align-self: start; position: sticky; top: 20px; }
.legal-toc h2 { margin: 0 0 12px; font-size: 19px; }
.legal-toc ul { margin: 0; padding: 0; list-style: none; }
.legal-toc li { border-top: 1px solid var(--line); }
.legal-toc a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 14px; font-weight: 600; }
.legal-toc span { color: var(--sky); }
.legal-sections { display: grid; gap: clamp(22px, 3vw, 36px); min-width: 0; }
.legal-sections section { border-bottom: 1px solid var(--line); padding-bottom: clamp(22px, 3vw, 36px); scroll-margin-top: 12px; }
.legal-sections h2 { font-size: clamp(24px, 2.7vw, 35px); margin: 0 0 16px; }
.legal-sections :target h2 { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--sky); text-underline-offset: 6px; }
.legal-sections h3 { font-size: 20px; margin: 22px 0 8px; }
.legal-sections p, .legal-sections dd { line-height: 1.66; color: var(--soft); overflow-wrap: anywhere; }
.legal-sections p + p { margin-top: 12px; }
.legal-sections a { color: var(--sky); text-decoration: underline; text-underline-offset: .17em; }
.legal-sections strong, .legal-sections dt { color: var(--ink); }
.legal-identity { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.legal-identity > div { padding: clamp(16px, 2vw, 26px); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.legal-identity dt { font-size: 13px; font-weight: 650; }
.legal-identity dd { margin: 12px 0 0; }
.legal-identity strong { font-family: var(--display); font-size: 23px; letter-spacing: -.035em; }
.legal-uses { margin: 16px 0; padding: 0 clamp(16px, 2vw, 26px); border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.legal-uses > div { padding-block: 14px; }
.legal-uses > div + div { border-top: 1px solid var(--line); }
.legal-uses dt { font-weight: 700; }
.legal-uses dd { margin: 3px 0 0; }
@media (max-width: 760px) {
  .legal-heading { display: grid; gap: 12px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
  .legal-toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
}
@media (max-width: 480px) {
  .legal-identity, .legal-toc ul { grid-template-columns: minmax(0, 1fr); }
  .legal-toc a { padding-block: 9px; }
}
