/* /router/ (router_page.py): what the page has of its own on top of home.css — the router's card in the first screen,
   the browser's bookmark bar and the other little screens of the bento, the routers that fit, the router drawing on
   the coal panel and in the yellow band. */

/* the first screen: the router's card in the sky panel, the floats at its corners */
.rt-hero h1{font-size:clamp(2.25rem,1rem + 3vw,3.75rem)}
.rt-hero .trust{margin-top:clamp(2rem,4vw,3rem)}
.rt-stage{display:grid;place-items:center;width:100%;padding:3.5rem 0}
.rt-card{display:grid;gap:.5rem;width:min(100%,24rem);padding:.6rem;border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow-2);text-align:left}
.rt-dev{display:flex;align-items:center;gap:.8rem;padding:.55rem .6rem .5rem}
.rt-ic{display:grid;place-items:center;width:2.75rem;height:2.75rem;flex:none;border-radius:.9rem;background:var(--yellow);color:#0B0B0F}
.rt-ic .ic{width:1.4rem;height:1.4rem}
.rt-t{flex:1;min-width:0}
.rt-t b{display:block;font-size:1.0625rem;font-weight:600;letter-spacing:-.01em}
.rt-t small{display:block;margin-top:.15rem;font-size:.8125rem;font-weight:600;color:var(--ok)}
.rt-t .live::before{content:"";display:inline-block;width:.45rem;height:.45rem;margin-right:.4rem;border-radius:50%;background:currentColor;vertical-align:.08em}
.rt-card .ui{max-width:none}
.ui small:has(.flag){display:inline-flex;align-items:center;gap:.35rem}
.ui small .flag{width:1rem;height:1rem}
.rt-art .fl.f1{left:auto;right:.75rem;top:.75rem}
.rt-art .fl.f3{left:.75rem;right:auto;top:auto;bottom:.75rem}
@media (min-width:37.5em){.rt-art .fl.f3{display:flex}}
@media (max-width:37.49em){.rt-stage{min-height:0;padding:0}}

/* the bento's little screens */
.rt-fail small.off{color:var(--bad)}
.rt-safe small{color:var(--ok)}
.rt-bm{gap:.5rem}
.rt-bar{display:flex;align-items:center;gap:.35rem;padding:.35rem .4rem .1rem}
.rt-bar i{width:.6rem;height:.6rem;flex:none;border-radius:50%;background:var(--line-2)}
.rt-bar span{flex:1;min-width:0;margin-left:.4rem;padding:.3rem .75rem;border-radius:999px;background:var(--surface);font-size:.8125rem;color:var(--mute)}
.rt-mark{display:inline-flex;align-items:center;gap:.5rem;justify-self:start;margin:0 .1rem;padding:.45rem .8rem .45rem .6rem;border-radius:.8rem;background:var(--yellow);color:#0B0B0F;font-size:.875rem;font-weight:700}
.rt-mark svg{width:1.3rem;height:1.05rem;flex:none;fill:currentColor}
.rt-done{display:grid;gap:.4rem}
.ui .rt-done li{min-height:2.5rem;gap:.55rem;padding-left:.75rem;font-size:.875rem}
.rt-done .ic{width:1.1rem;height:1.1rem;flex:none;color:var(--ok)}

/* the routers that fit: three cards in a row */
.rt-kinds{grid-template-columns:repeat(3,minmax(0,1fr))}
.rt-kinds .ic{color:var(--ink)}
@media (max-width:47.99em){.rt-kinds{grid-template-columns:minmax(0,1fr)}}

/* the router drawing: on the coal panel light lines, in the yellow band ink */
.rt-draw{display:block;width:100%;height:auto;overflow:visible}
.rt-body,.rt-ant{fill:var(--coal-2);stroke:rgba(255,255,255,.16);stroke-width:2}
.rt-led{fill:rgba(255,255,255,.3)}
.rt-led.on{fill:var(--yellow)}
.rt-slot{fill:rgba(255,255,255,.1)}
.rt-wave{fill:none;stroke:var(--yellow);stroke-width:9;stroke-linecap:round}
.rt-wave.w2{opacity:.6}
.rt-wave.w3{opacity:.3}
.rt-how{width:clamp(13rem,18vw,17rem)}
.rt-band-art{width:clamp(11rem,20vw,16rem);margin-right:clamp(0rem,-2rem + 5vw,3rem)}
.rt-band-art .rt-body,.rt-band-art .rt-ant{fill:#0B0B0F;stroke:none}
.rt-band-art .rt-led{fill:rgba(255,255,255,.35)}
.rt-band-art .rt-led.on{fill:var(--yellow)}
.rt-band-art .rt-slot{fill:rgba(255,255,255,.14)}
.rt-band-art .rt-wave{stroke:#0B0B0F}
@media (max-width:63.99em){.rt-band-art{width:11rem;margin:0}}
@media (prefers-reduced-motion:no-preference){
  .rt-wave{animation:rtw 2.4s ease-in-out infinite}
  .rt-wave.w2{animation-delay:.25s}
  .rt-wave.w3{animation-delay:.5s}
}
@keyframes rtw{0%,100%{opacity:.2}40%{opacity:1}}
