/* Resource Information: site styles. Brand: navy / cyan / gold. */
:root {
  --bg: #050c22;
  --bg2: #0a1a42;
  --card: rgba(255, 255, 255, .055);
  --card-line: rgba(127, 227, 255, .22);
  --text: #eef4ff;
  --muted: #9fb3dd;
  --cyan: #7fe3ff;
  --cyan2: #22c3ff;
  --gold: #ffc21a;
  --gold2: #ff8a00;
  --radius: 18px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(ellipse 120% 70% at 50% -10%, #173f8f 0%, var(--bg2) 40%, var(--bg) 75%) fixed, var(--bg);
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
.hi { color: var(--gold); }
.muted { color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); background: rgba(5, 12, 34, .78); border-bottom: 1px solid var(--card-line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px var(--cyan); }
.brand span b { color: var(--gold); }
.nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--text); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.nav a:hover, .nav a.on { background: rgba(127, 227, 255, .12); text-decoration: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--card-line); color: var(--text); border-radius: 10px; padding: 6px 12px; font: inherit; font-weight: 800; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 10px 16px 16px; background: rgba(5, 12, 34, .97); border-bottom: 1px solid var(--card-line); }
  .nav.open { display: flex; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 800; border: 0; cursor: pointer; font-size: 16px; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.gold { color: #0a1430; background: linear-gradient(160deg, #fff0a0, var(--gold) 50%, var(--gold2)); }
.btn.line { color: var(--text); background: transparent; box-shadow: inset 0 0 0 2px var(--card-line); }

/* hero */
.hero { padding: 64px 0 36px; text-align: center; }
.hero img.logo { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 18px; box-shadow: 0 0 0 4px var(--cyan), 0 0 60px rgba(34, 195, 255, .45); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); }
.hero p { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto 24px; }
.hero .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.page-head { padding: 48px 0 12px; }
.page-head p { color: var(--muted); max-width: 760px; font-size: 18px; }

section { padding: 30px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-head a { font-weight: 800; }

/* video cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); overflow: hidden; }
.vid .frame { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: pointer; }
.vid .frame img { width: 100%; height: 100%; object-fit: cover; }
.vid .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 14px; background: rgba(10, 20, 48, .82); border: 0; cursor: pointer; }
.play::after { content: ""; position: absolute; left: 27px; top: 14px; border-left: 18px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.vid .frame:hover .play { background: #e33; }
.len { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 13px; font-weight: 700; padding: 1px 7px; border-radius: 6px; }
.vid .body { padding: 14px 16px 18px; }
.vid h3 { font-size: 19px; margin: 0 0 6px; }
.vid p { margin: 0; color: var(--muted); font-size: 15px; }
.feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; }
.feature .body { padding: 26px; align-self: center; }
.feature h3 { font-size: 28px; }
.feature p { font-size: 17px; margin-bottom: 16px; }
.tag { display: inline-block; font-size: 13px; font-weight: 800; color: #0a1430; background: var(--cyan); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }
.shorts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.shorts .frame { aspect-ratio: 9 / 16; }
.shorts h3 { font-size: 15px; }

/* free websites directory */
.tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 8px 0 22px; }
.tools input { flex: 1 1 260px; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--card-line); background: rgba(0, 0, 0, .25); color: var(--text); font: inherit; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--card-line); background: transparent; color: var(--text); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.chip.on { background: var(--gold); color: #0a1430; border-color: var(--gold); }
.group { margin-bottom: 30px; }
.group h2 { font-size: 26px; }
.site { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.site h3 { font-size: 19px; margin: 0; }
.site .by { font-size: 13px; font-weight: 800; color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; }
.site p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.site .go { font-weight: 800; font-size: 15px; word-break: break-all; }
.star { color: var(--gold); }
.note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--gold); padding: 6px 12px; margin: 0 0 20px; }

/* ad slots: filled by AdSense once approved, see assets/site.js */
.ad { margin: 26px auto; text-align: center; min-height: 0; }
.ad.preview { min-height: 110px; display: grid; place-items: center; border: 2px dashed rgba(255, 194, 26, .45); border-radius: var(--radius); color: rgba(255, 194, 26, .8); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.grid > .ad { grid-column: 1 / -1; margin: 0; }
.ad.off { display: none; }

/* text pages */
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin-top: 1.4em; }

/* footer */
footer { margin-top: 40px; border-top: 1px solid var(--card-line); padding: 30px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* articles */
.article { max-width: 780px; padding-top: 40px; }
.article h1 { font-size: clamp(30px, 4.6vw, 46px); }
.crumbs { font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.art-video { margin-bottom: 8px; }
.small { font-size: 14px; margin-top: 0; }
.prose p, .prose li { font-size: 18px; line-height: 1.75; }
.prose .lead { font-size: 21px; color: #dbe6ff; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: #fff; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.sources li { font-size: 15px; }
.cta { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 24px; margin: 34px 0 10px; }
.cta h3 { margin: 0 0 4px; font-size: 22px; }
.cta p { margin: 0; color: var(--muted); }
.cta .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.acard a { color: var(--text); display: flex; flex-direction: column; height: 100%; }
.acard a:hover { text-decoration: none; }
.acard .pic { aspect-ratio: 16 / 9; background: #0d2350; overflow: hidden; }
.acard .pic img { width: 100%; height: 100%; object-fit: cover; }
.acard .ph { height: 100%; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--gold);
  background: radial-gradient(circle at 30% 30%, #1d4fa8, #0a1a42); }
.acard .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.acard h3 { font-size: 19px; margin: 0; }
.acard p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.acard .more { color: var(--cyan); font-weight: 800; font-size: 15px; margin-top: 6px; }
.acard:hover { border-color: rgba(127, 227, 255, .5); }

/* hero background: animated "chain reaction" (assets/site.js → setupHeroFx) */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 45%, rgba(0,0,0,.3) 0%, rgba(0,0,0,.55) 30%, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 85% 85% at 50% 45%, rgba(0,0,0,.3) 0%, rgba(0,0,0,.55) 30%, #000 60%, transparent 100%); }

/* share buttons + watch bar on articles */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 22px; }
.share span { color: var(--muted); font-weight: 700; font-size: 15px; margin-right: 2px; }
.sh { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 800; color: #fff; border: 0; cursor: pointer; }
.sh:hover { text-decoration: none; filter: brightness(1.1); }
.sh.wa { background: #25d366; color: #05220f; }
.sh.fb { background: #1877f2; }
.sh.x { background: #000; box-shadow: inset 0 0 0 1px #ffffff44; }
.sh.cp { background: transparent; box-shadow: inset 0 0 0 2px var(--card-line); color: var(--text); }
.share-ask { margin: 30px 0 6px; font-weight: 800; }
.watchbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 10px 0 26px; padding: 12px 16px;
  border-radius: 14px; background: var(--card); border: 1px solid var(--card-line); color: var(--muted); font-size: 15px; font-weight: 700; }
.btn.sm { padding: 8px 16px; font-size: 14px; }

/* Shorts pop-up player */
.sbox { position: fixed; inset: 0; z-index: 100; background: rgba(2, 6, 18, .88); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.sbox-in { position: relative; width: min(calc(100vw - 32px), calc(82vh * 9 / 16), 480px); display: flex; flex-direction: column; gap: 10px; }
.sbox-in iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 18px; background: #000; box-shadow: 0 20px 60px #000c; }
.sbox-x { position: absolute; top: -14px; right: -14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: #0a1430; font-size: 22px; font-weight: 800; box-shadow: 0 6px 18px #0008; }
.sbox-yt { text-align: center; font-weight: 800; color: var(--cyan); }
@media (max-width: 600px) { .sbox-x { top: 6px; right: 6px; } }

/* ---------- Library ---------- */
.topic a { display: flex; flex-direction: column; height: 100%; color: var(--text); }
.topic a:hover { text-decoration: none; } .topic:hover { border-color: rgba(127, 227, 255, .55); }
.timg { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0a1a42; }
.timg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.topic:hover .timg img { transform: scale(1.04); }
.timg .cat { position: absolute; left: 12px; top: 10px; font-size: 13px; font-weight: 800; color: #0a1430; background: #ffffffe6; padding: 2px 10px; border-radius: 999px; }
.pimg { flex: 0 1 380px; border-radius: 14px; overflow: hidden; line-height: 0; }
.pimg img { width: 100%; height: auto; }
.promo > div { flex: 1 1 280px; }
.tband { position: relative; height: 120px; display: grid; place-items: center; overflow: hidden; }
.tband::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, #ffffff14 0 2px, transparent 2px 22px); animation: tslide 6s linear infinite; }
@keyframes tslide { to { background-position: 120px 0 } }
.tband .ico { font-size: 54px; filter: drop-shadow(0 6px 12px #0006); z-index: 1; }
.tband .cat { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-size: 13px; font-weight: 800; color: #0a1430; background: #ffffffd9; padding: 2px 10px; border-radius: 999px; }
.tband.big { width: 150px; height: 150px; border-radius: 22px; flex: none; } .tband.big .ico { font-size: 70px; }
.topic .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.topic .body .tag { align-self: flex-start; margin-bottom: 2px; }
.topic h3 { margin: 0; font-size: 21px; } .topic p { margin: 0; color: var(--muted); font-size: 15px; }
.topic .more { color: var(--cyan); font-weight: 800; font-size: 15px; margin-top: auto; padding-top: 6px; }
.more-h { margin-top: 40px; }
.soonlist { list-style: none; padding: 0; display: grid; gap: 8px; margin: 0 0 20px; }
.soonlist .when { float: right; color: var(--gold); font-size: 14px; }
.soonlist li { padding: 12px 16px; border-radius: 12px; border: 1px dashed var(--card-line); font-weight: 800; color: var(--muted); }
.badge { font-size: 13px; font-weight: 800; color: var(--muted); border: 1px solid var(--card-line); padding: 3px 10px; border-radius: 999px; margin-right: 6px; }
.sub2 { color: var(--gold); font-weight: 800; margin: 0 0 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.tablewrap { overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--card-line); vertical-align: top; }
.prose th { color: var(--gold); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.prose td:first-child { font-weight: 800; color: var(--cyan); }
.picker { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 18px 20px; margin: 20px 0; }
.picker label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; font-weight: 700; }
.picker input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.pick-out { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #071028; border-left: 4px solid var(--gold); font-weight: 700; }
.pick-meter { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #ffc21a, #3ddc97 50%, #7fe3ff); position: relative; margin: 10px 0 4px; }
.pick-meter i { position: absolute; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #0a1430; transform: translateX(-50%); transition: left .5s; }
.pick-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .tband::after { animation: none } }
.promo { display: flex; gap: 22px; align-items: center; padding: 22px; flex-wrap: wrap; }
.promo h2 { margin: 6px 0; } .promo p { color: var(--muted); margin: 0 0 14px; }
.kick { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; margin: 0 0 4px; }

/* chapter content: diagrams, code, demo, quiz */
.dia { margin: 26px 0; }
.dia svg { width: 100%; height: auto; display: block; background: #071028; border-radius: 16px; border: 1px solid var(--card-line); font-family: "Nunito", system-ui, sans-serif; }
.dia figcaption { color: var(--muted); font-size: 15px; text-align: center; margin-top: 8px; }
.prose code { font-family: Menlo, Consolas, monospace; font-size: .9em; background: #ffffff14; padding: 2px 6px; border-radius: 6px; }
pre.code { margin: 16px 0; padding: 16px 18px; border-radius: 14px; background: #071028; border: 1px solid var(--card-line); overflow-x: auto; }
pre.code code { background: none; padding: 0; font-size: 15px; line-height: 1.65; color: #e8eeff; white-space: pre; display: block; outline: none; }
.tok-k { color: #ff9ad5; } .tok-s { color: #3ddc97; } .tok-n { color: #ffc21a; } .tok-c { color: #6b7fb0; font-style: italic; } .tok-f { color: #7fe3ff; }
.try pre.code { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.try code[contenteditable] { cursor: text; }
.trybar { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: #0d2350; border: 1px solid var(--card-line); border-top: 0; }
.trybar .hint { color: var(--muted); font-size: 13px; margin-left: auto; }
.tryout { margin: 0 0 18px; padding: 12px 16px; min-height: 48px; border: 1px solid var(--card-line); border-top: 0; border-radius: 0 0 14px 14px; background: #04091a;
  font-family: Menlo, Consolas, monospace; font-size: 15px; color: #c8f5e1; white-space: pre-wrap; }
.tryout .err { color: #ff8a8a; }
.tryout:empty::before { content: "Output appears here"; color: #4b5d8a; }
.demo { margin: 14px 0 18px; padding: 18px; border-radius: 14px; background: var(--card); border: 2px dashed rgba(255, 194, 26, .5); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.demo-msg { margin: 0 !important; font-weight: 800; flex: 1; min-width: 200px; }
.quiz details { margin: 10px 0; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--card-line); }
.quiz summary { cursor: pointer; font-weight: 800; }
.quiz details[open] summary { color: var(--gold); }
.quiz details p { margin: 10px 0 0; }
kbd { font-family: Menlo, monospace; font-size: .85em; padding: 2px 7px; border-radius: 6px; background: #ffffff1c; border: 1px solid #ffffff33; border-bottom-width: 3px; }
.prevnext { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 34px 0 10px; }
.pn { padding: 12px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--card-line); font-weight: 800; }
.pn.soon { color: var(--muted); }
.dia svg * { transform-box: fill-box; transform-origin: center; }

/* live DNS lookup (Library: How DNS Works) */
.dnstool { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 18px; margin: 20px 0; }
.dns-row { display: flex; gap: 10px; flex-wrap: wrap; }
.dns-row input { flex: 1 1 200px; min-width: 0; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--card-line); background: #071028; color: var(--text); font: inherit; font-weight: 700; }
.dns-row select { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--card-line); background: #071028; color: var(--text); font: inherit; font-weight: 800; }
.dns-out { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #071028; min-height: 52px; color: var(--muted); font-weight: 700; }
.dns-meta { margin: 0 0 8px; color: var(--gold); font-weight: 800; }
.dns-ans { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; border-top: 1px solid #ffffff12; font-family: Menlo, Consolas, monospace; font-size: 14px; }
.dns-ans .t { color: var(--cyan); font-weight: 800; min-width: 52px; } .dns-ans .v { color: var(--text); flex: 1; word-break: break-all; } .dns-ans .ttl { color: var(--muted); font-size: 12px; white-space: nowrap; }
.dns-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* step-by-step screenshots in blog guides */
.shots { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 20px 0; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 18px; border: 3px solid #ffffff22; box-shadow: 0 12px 30px #0008; display: block; }
.shots figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); text-align: center; }
.shots figcaption b { color: var(--gold); }

/* live API call (Library: What Is an API?) */
.apitool { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 18px; margin: 20px 0; }
.apitool select { flex: 1 1 160px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--card-line); background: #071028; color: var(--text); font: inherit; font-weight: 800; }
.api-lab { margin: 14px 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
pre.api-req, pre.api-res { margin: 0; font: 13px/1.55 Menlo, Consolas, monospace; color: #e8eeff; white-space: pre-wrap; word-break: break-all; }
pre.api-res { color: #3ddc97; max-height: 260px; overflow: auto; }
.api-app { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #071028; border-left: 4px solid var(--gold); font-weight: 700; color: var(--muted); }
.api-app b { color: var(--text); }
.corstool .api-lab { display: block; }
.corstool .tablewrap { margin-top: 14px; }
.co-table td { font-family: Menlo, monospace; font-size: 14px; }
.co-table td.co-diff { color: #ff9a9a; font-weight: 800; }

/* load balancer simulator (Library: What Is a Load Balancer?) */
.lbsim { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 18px; margin: 20px 0; }
.lb-ctrl { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lb-servers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 16px 0; }
.lb-srv { background: #071028; border: 2px solid #3ddc97; border-radius: 14px; padding: 12px; transition: border-color .3s, opacity .3s; }
.lb-srv.hot { border-color: #ff8a4a; } .lb-srv.down { border-color: #ff5d6c; opacity: .55; }
.lb-name { font-weight: 800; margin-bottom: 8px; }
.lb-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.lb-bar i { height: 16px; border-radius: 4px; background: #ffffff14; }
.lb-bar i.on { background: #3ddc97; } .lb-bar i.slow { background: #ff8a4a; }
.lb-n { margin-top: 8px; font-size: 14px; font-weight: 800; color: var(--muted); }
.lb-speed { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--muted); margin-left: auto; }
.lb-speed input { accent-color: var(--gold); }
.lb-stats { margin: 12px 0 0; font-weight: 800; color: var(--gold); }
.gq-opts { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.gq-opts label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #071028; border: 1px solid var(--card-line); font-weight: 700; cursor: pointer; }
.gq-opts input { accent-color: #ffc21a; width: 16px; height: 16px; }
.gq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gq-cols pre { min-height: 150px; margin: 0; white-space: pre-wrap; }
@media (max-width: 640px) { .gq-cols { grid-template-columns: 1fr; } }
