@font-face{font-family:DM;src:url(dmsans.ttf) format("truetype");font-weight:100 1000;font-display:swap}
*{box-sizing:border-box}
:root{color-scheme:dark;--base:#090b10;--surface:#12151c;--line:#282e39;--ink:#f6f8fc;--muted:#adb7c8;--blue:#90c7ff;--rail:clamp(245px,18vw,290px)}
body{margin:0;font:1rem/1.55 DM,system-ui,sans-serif;color:var(--ink);background:var(--base)}
[hidden]{display:none!important}
a,button,input{font:inherit;color:inherit;background:none;border:0;text-decoration:none;padding:0}
a,button,summary{cursor:pointer}
h1,h2,h3,p{margin:0}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linejoin:round;stroke-linecap:round;flex:none}
button,a,.bar,.top,h3,.brand,form,.actions,.screen strong,.row{display:flex;align-items:center;gap:10px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.skip{position:fixed;top:-90px;left:20px;z-index:8;background:#fff;color:#111;padding:10px}
.skip:focus{top:10px}
header{position:fixed;inset:0 auto 0 0;width:var(--rail);background:#0e1117;border-right:1px solid #222630;padding:32px 18px;overflow:auto;z-index:4}
.brand{font-size:1.68rem;letter-spacing:-.055em;font-weight:750;padding:0 8px;width:max-content}
.brand img{width:43px}
#search{width:100%;font-size:.94rem;background:#181d26;border:1px solid var(--line);border-radius:11px;color:#b5bfce;padding:0 12px;min-height:46px;margin:32px 0 23px}
kbd{font:500 .76rem DM;background:#222834;border:1px solid #353c49;padding:1px 5px;border-radius:5px;margin-left:auto}
#menu{display:none}
nav h2{color:#8b96a9;font-size:.76rem;font-weight:650;letter-spacing:.12em;text-transform:uppercase;margin:30px 13px 12px}
nav a,#matches a{min-height:47px;font-weight:500;gap:13px;color:#c2cad7;padding:9px 13px;border-radius:10px;margin:3px 0}
nav a img,#matches a img,nav .initial{width:23px;height:23px;border-radius:6px}
nav a:hover,#matches a:hover,#search:hover,#views button:hover,.top button:hover{background:#202631;color:white}
nav a[aria-current]{background:#1a2c43;color:#a5d3ff}
main{margin-left:var(--rail);padding:clamp(25px,3vw,52px) clamp(25px,4.25vw,80px) 72px;outline:0}
main>*{margin:auto;max-width:1280px}
.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:24px;display:flex;align-items:center;min-height:clamp(240px,20vw,334px);background:#090e1b;border:1px solid #263447;margin-bottom:32px}
.sky{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#060b16b0,transparent 72%),url(orbite.jpg) center 50%/cover}
.intro{padding:42px 5%}
h1{font-weight:650;letter-spacing:-.045em;font-size:clamp(2.7rem,4.45vw,5rem);line-height:1.05}
h1 span{color:#92caff}
.intro p{color:#d2dbea;font-size:clamp(1rem,1.3vw,1.22rem);max-width:min(33vw,380px);margin-top:16px}
.bar,.top,.screen strong,.row{justify-content:space-between}
.bar{margin-bottom:19px}
.bar h2,h3{letter-spacing:-.04em;font-size:1.55rem;font-weight:650;line-height:1.25}
#views{display:flex;gap:2px;border:1px solid var(--line);background:#101319;padding:3px;border-radius:12px}
#views button,.top button,form button,#menu{justify-content:center;width:44px;height:44px;border-radius:9px;color:var(--muted)}
#views button{height:38px}
#views [aria-pressed=true]{background:#293241;color:white}
#views svg{width:18px}
.catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2vw,32px)}
article,.update,details,.empty{background:var(--surface);border:1px solid var(--line);border-radius:21px;overflow:hidden}
article{display:flex;flex-direction:column;position:relative}
article:before{content:"";inset:0;pointer-events:none;position:absolute;background:radial-gradient(270px circle at var(--x,-400px) var(--y,-400px),#89c6ff12,transparent);opacity:0}
article:hover:before{opacity:1}
.cover{display:block}
.cover:focus-visible{outline-offset:-4px}
.shot{position:relative;isolation:isolate;height:clamp(150px,12vw,212px);display:flex;justify-content:center;align-items:flex-start;overflow:hidden;background:#1a304b}
.shot:before,.shot:after{content:"";position:absolute;inset:-60%;z-index:-1;background:repeating-radial-gradient(ellipse 47% 60% at 22% 7%,transparent 0 8px,#fff2 9px,transparent 10px);transform:rotate(-16deg)}
.shot:after{transform:rotate(165deg);opacity:.5}
.memo{background:radial-gradient(ellipse at 65% 120%,#ba89de,transparent 69%),linear-gradient(125deg,#42295e,#79579c 58%,#362654)}
.tempo{background:radial-gradient(ellipse at 26% 105%,#a4e5ff,transparent 63%),linear-gradient(125deg,#254978,#4877b5 60%,#1d4271)}
.shot>img{width:80px;align-self:center}
.screen{width:70%;max-width:365px;margin-top:26px;border:1px solid #ffffff42;border-radius:16px 16px 0 0;padding:14px 20px 27px;background:#181224;box-shadow:0 18px 50px #04081470;color:white;min-height:100%;font-size:.9rem}
.screen strong{justify-content:flex-start;font-size:1.04rem;letter-spacing:-.03em;margin-bottom:12px}
.screen img{width:23px;border-radius:6px}
.row{padding:8px 11px;background:#2c243d;border-radius:7px;margin:5px 0;flex-direction:row-reverse;font-weight:550}
.row small{color:#dac8f8;font-size:.79rem}
.tempo .screen{color:#231d32;background:#fafaff}
.days{display:flex;justify-content:space-between;color:#5b5672;font-size:.78rem;margin-bottom:9px}
.days span{padding:3px 5px}
.days span:nth-child(3){background:#7245d7;color:white;border-radius:5px}
.tempo .row{flex-direction:row;justify-content:start;background:#ebe4fb;padding:6px 10px}
.tempo small{color:#5a3f96}
.tempo .row:nth-last-child(2){background:#e0efff}
.info{flex:1;display:flex;flex-direction:column;padding:clamp(19px,2vw,30px);position:relative}
h3 img,.initial{width:49px;height:49px;border-radius:14px;object-fit:cover}
.initial{display:grid;place-items:center;background:#284872}
.top h3{gap:14px;overflow-wrap:anywhere}
.top button{flex:none}
.top [aria-pressed=true]{color:#ffa6bd}
.top [aria-pressed=true] svg{fill:currentColor}
p{color:var(--muted)}
.info p{margin:15px 0 23px;max-width:52ch;overflow-wrap:anywhere}
.actions{margin-top:auto;flex-wrap:wrap;gap:8px}
.actions a,.update a,.empty a{min-height:44px;border:1px solid #333a47;background:#1e242f;border-radius:11px;padding:9px 14px;font-size:.94rem;font-weight:650;gap:7px}
.actions a:first-child,.empty a{background:#aad5ff;color:#0b1c30;border-color:transparent}
.actions a:hover,.empty a:hover,.update a:hover{filter:brightness(1.15)}
.actions svg{width:17px}
.catalog.list{grid-template-columns:1fr}
.list .cover{display:none}
.list .info p{max-width:72ch}
.detail article{flex-direction:row;align-items:stretch;margin-bottom:24px}
.detail .shot{width:43%;height:auto;min-height:255px}
.detail .screen{margin-top:40px;min-width:270px}
.detail>*,.empty{margin-bottom:12px}
details{border-radius:14px}
summary{padding:20px 23px;list-style:none;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:10px}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";font-size:1.35rem;color:var(--blue)}
details[open] summary:after{content:"−"}
details p{padding:0 23px 22px;max-width:78ch}
.update,.empty{padding:26px}
.update a,.empty a{width:fit-content;margin-top:18px}
.update p{margin-top:10px}
.empty{grid-column:1/-1;display:grid;justify-items:center;text-align:center;padding-block:60px}
.empty>svg{margin-bottom:15px;color:var(--blue);width:32px;height:32px}
dialog{color:var(--ink);background:var(--surface);border:1px solid #414b5d;width:min(540px,92vw);max-height:80dvh;padding:12px;border-radius:19px;box-shadow:0 20px 90px #0007}
dialog::backdrop{background:#030508b8;backdrop-filter:blur(7px)}
form{border-bottom:1px solid var(--line);padding:0 6px 10px 12px}
input{width:100%;min-width:0;outline:none}
form:focus-within{border-color:var(--blue)}
form button{font-size:1.6rem}
#matches{padding-top:6px}
#matches p{padding:16px}
@media(prefers-reduced-motion:no-preference){
  @keyframes appear{from{opacity:0;transform:translateY(12px)}}
  @keyframes orbit{from{transform:scale(1.055)}to{transform:scale(1)}}
  [data-enter] .intro,dialog[open],details[open] p{animation:appear .42s ease-out}
  .sky{animation:orbit 2s ease-out}
  button,a,article,.screen,article:before{transition:transform .24s ease,border-color .24s,background-color .2s,opacity .2s}
  article:hover{border-color:#4b5d76}
  .cover:hover .screen,.cover:focus-visible .screen{transform:translateY(-6px) scale(1.02)}
  .actions a:hover{transform:translateY(-2px)}
  button:active,.actions a:active{transform:scale(.96)}
}
@media(max-width:1300px){
  .actions a{font-size:.88rem;padding:9px 11px}.info{padding:20px}
  .screen{width:78%;padding:13px 15px 22px}
}
@media(max-width:1090px){
  main{padding:28px}.catalog{grid-template-columns:1fr}.shot{height:190px}.info p{max-width:68ch}
  .detail article{flex-direction:column}.detail .shot{width:100%;height:230px;min-height:0}
  .hero{min-height:215px}.intro p{max-width:47%}h1{font-size:4.25vw}
}
@media(max-width:870px){
  header{position:sticky;top:0;width:100%;height:70px;display:flex;align-items:center;padding:0 5%;gap:9px;border:0;border-bottom:1px solid var(--line);overflow:visible}
  .brand{font-size:1.4rem;padding:0;gap:8px}.brand img{width:37px}
  #menu{display:flex}
  #search{margin:0 0 0 auto;font-size:0;width:44px;justify-content:center;gap:0}#search svg{width:19px}kbd{display:none}
  nav{display:none;position:absolute;inset:100% 0 auto;height:calc(100dvh - 70px);background:#0e1117;padding:12px 5% 36px;overflow:auto}
  nav.open{display:block}
  main{margin:0;padding:22px 5% 44px}
  h1{font-size:5.75vw}.hero{margin-bottom:24px}.bar{margin-bottom:14px}
  .bar h2{font-size:1.38rem}
}
@media(max-width:590px){
  .hero{min-height:235px;align-items:flex-start;border-radius:18px}
  .sky{background:linear-gradient(169deg,#060b16e8 8%,#060b16bd 38%,transparent 66%),url(orbite.jpg) 65% center/cover}
  .intro{padding:24px 6% 126px}.intro p{max-width:75%;font-size:.94rem;line-height:1.42;margin-top:9px}
  h1{font-size:8.2vw}.shot{height:148px}.screen{margin-top:21px;width:85%;font-size:.82rem}
  .screen strong{margin-bottom:8px;font-size:.95rem}.days span{padding:3px 2px}
  .info{padding:17px}.info p{margin:12px 0 18px}.top h3{font-size:1.37rem;gap:10px}.top img{width:42px;height:42px;border-radius:12px}
  .actions{gap:7px}.actions a{flex:auto;justify-content:center;padding:9px 8px;gap:5px}
  .actions svg{width:15px}.detail .screen{min-width:0;margin-top:22px}
}
