/* K0nf1nn.dev v5 — brighter Miyabi palette + quick entrance motion */
:root {
  color-scheme: dark;
  --bg: #0b1927;
  --panel: rgba(12, 29, 44, .78);
  --panel-soft: rgba(15, 35, 51, .76);
  --line: rgba(141, 204, 224, .23);
  --line-strong: rgba(91, 220, 239, .58);
  --text: #edf7fb;
  --muted: #a2bdcc;
  --muted-2: #7e9cac;
  --cyan: #8ae8f3;
  --ice: #d4faff;
  --blue: #8dbbf1;
  --green: #86e5c2;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh; margin: 0; color: var(--text); font-family: var(--sans);
  background: radial-gradient(ellipse at 78% 12%, rgba(47, 116, 157, .24), transparent 38%),
              radial-gradient(ellipse at 12% 80%, rgba(37, 128, 146, .14), transparent 38%), var(--bg);
  overflow-x: hidden;
}
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(4, 11, 19, .12), transparent 66%); }
/* To use a Miyabi GIF later, replace the image URL below with /assets/img/your-wallpaper.gif. */
.wallpaper {
  position: fixed; z-index: -2; top: 0; right: 0; width: min(53vw, 720px); height: 100vh;
  background: url("/assets/img/miyabi-background.gif") center 26% / cover no-repeat;
  opacity: .29; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 12%, rgba(0,0,0,.72) 53%, transparent 100%);
  mask-image: linear-gradient(to left, #000 12%, rgba(0,0,0,.72) 53%, transparent 100%);
}
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.topbar { position: relative; z-index: 5; border-bottom: 1px solid rgba(141,204,224,.12); background: rgba(8, 22, 35, .58); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.topbar-inner { width: min(100% - 48px, 1120px); min-height: 72px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-symbol { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ice); border: 1px solid rgba(138,232,243,.4); border-radius: 11px 4px 11px 4px; background: rgba(47,111,135,.13); font: 650 14px var(--mono); letter-spacing: -.1em; }
.brand-symbol span { color: var(--cyan); }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy b { font: 650 15px var(--mono); letter-spacing: -.045em; }
.brand-copy small { color: var(--muted-2); font-size: 10px; }
.top-nav { display: flex; align-items: center; gap: 8px; }
.nav-item { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; color: var(--muted); text-decoration: none; font-size: 13px; border-radius: 9px; transition: color .18s, background .18s; }
.nav-item:hover { color: var(--text); background: rgba(141,204,224,.06); }
.nav-item.active { color: var(--ice); background: rgba(138,232,243,.08); }
.nav-item.active::after { position: absolute; content: ""; height: 2px; left: 13px; right: 13px; bottom: -9px; border-radius: 5px; background: var(--cyan); }
.nav-glyph { color: var(--cyan); font-size: 18px; line-height: 1; }
.main-area { width: min(100% - 48px, 1120px); margin: 0 auto; padding: 28px 0 20px; }
.page-content { display: grid; gap: 16px; }
.panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(135deg, rgba(12,29,44,.86), var(--panel)); box-shadow: 0 12px 32px rgba(0,0,0,.11); backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px); }

/* Fast, soft lift-in for page panels on load / navigation. Uses `translate`
   separately from `transform`, so link hover effects continue to work. */
@keyframes panel-lift-in {
  from { opacity: 0; translate: 0 13px; }
  72% { opacity: 1; translate: 0 -1px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes topbar-settle {
  from { opacity: 0; translate: 0 -4px; }
  to { opacity: 1; translate: 0 0; }
}
.topbar-inner { animation: topbar-settle .30s ease-out both; }
.page-content > .hero,
.page-content > .vpn-banner,
.page-content > .music-module,
.page-content > .stats-hero,
.page-content > .hardware-module,
.page-content > .telemetry-module,
.page-content > .section-grid > .module {
  animation: panel-lift-in .42s cubic-bezier(.16, 1, .3, 1) both;
}
.page-content > .hero,
.page-content > .stats-hero { animation-delay: 0ms; }
.page-content > .section-grid > .module:nth-child(1),
.page-content > .hardware-module { animation-delay: 45ms; }
.page-content > .section-grid > .module:nth-child(2),
.page-content > .telemetry-module { animation-delay: 90ms; }
.page-content > .vpn-banner { animation-delay: 105ms; }
.page-content > .music-module { animation-delay: 150ms; }

/* Small cards follow the larger panels in a short, tidy cascade. */
.link-grid .link-card,
.hardware-grid .spec-card,
.telemetry-grid .metric-card {
  animation: panel-lift-in .34s cubic-bezier(.16, 1, .3, 1) both;
}
.link-grid .link-card:nth-child(1) { animation-delay: 105ms; }
.link-grid .link-card:nth-child(2) { animation-delay: 135ms; }
.link-grid .link-card:nth-child(3) { animation-delay: 165ms; }
.hardware-grid .spec-card:nth-child(1) { animation-delay: 115ms; }
.hardware-grid .spec-card:nth-child(2) { animation-delay: 140ms; }
.hardware-grid .spec-card:nth-child(3) { animation-delay: 165ms; }
.hardware-grid .spec-card:nth-child(4) { animation-delay: 190ms; }
.hardware-grid .spec-card:nth-child(5) { animation-delay: 215ms; }
.hardware-grid .spec-card:nth-child(6) { animation-delay: 240ms; }
.telemetry-grid .metric-card:nth-child(1) { animation-delay: 145ms; }
.telemetry-grid .metric-card:nth-child(2) { animation-delay: 180ms; }
.telemetry-grid .metric-card:nth-child(3) { animation-delay: 215ms; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 138px; align-items: stretch; min-height: 205px; }
.hero-main { padding: 24px 27px 20px; min-width: 0; }
.hero-identity { display: flex; align-items: center; gap: 20px; min-width: 0; }
.avatar-frame { flex: 0 0 98px; width: 98px; height: 98px; display: grid; place-items: center; padding: 3px; border: 1px solid rgba(138,232,243,.72); border-radius: 50%; background: rgba(138,232,243,.07); }
.avatar-frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.identity-copy { min-width: 0; }
h1 { margin: 0; color: #f0f7fb; font-size: clamp(27px, 3vw, 34px); line-height: 1.14; font-weight: 680; letter-spacing: -.05em; }
.identity-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.identity-tags { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted-2); font-size: 10px; }
.tag-point { width: 6px; height: 6px; display: inline-block; flex: 0 0 6px; border-radius: 50%; background: var(--cyan); }
.profile-data { display: grid; grid-template-columns: minmax(0,1fr) .55fr minmax(0,1.5fr); gap: 18px; margin-top: 21px; padding-top: 17px; border-top: 1px solid rgba(141,204,224,.13); }
.data-item { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.data-label { color: var(--muted-2); font: 9px var(--mono); letter-spacing: .08em; }
.data-item b { color: #d4e5ee; font-size: 12px; font-weight: 550; overflow-wrap: anywhere; }
.data-time b { color: var(--cyan); font: 10px var(--mono); font-variant-numeric: tabular-nums; }
.hero-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-left: 1px solid rgba(141,204,224,.12); background: linear-gradient(145deg, rgba(18,53,72,.18), transparent); }
.hero-jp { color: rgba(155,218,231,.55); font-size: 29px; font-weight: 450; letter-spacing: .15em; writing-mode: vertical-rl; }
.hero-side-caption { color: #82b8c9; font: 8px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.section-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.module { padding: 19px; }
.module-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.module-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
h2 { margin: 0; color: #e4f0f6; font-size: 16px; font-weight: 630; letter-spacing: -.025em; }
.module-number, .module-code { display: none; }
.link-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.link-card { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 57px; padding: 9px 12px; border: 1px solid rgba(141,204,224,.14); border-radius: 10px; background: rgba(12,29,44,.52); text-decoration: none; transition: background .18s, border-color .18s, transform .18s; }
.link-card:hover { border-color: var(--line-strong); background: rgba(34,91,111,.34); transform: translateY(-1px); }
.link-card.is-disabled { cursor: default; }
.link-card.is-disabled:hover { transform: none; border-color: rgba(141,204,224,.14); background: rgba(12,29,44,.52); }
.service-icon { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: rgba(91,176,202,.15); color: var(--cyan); font: 700 13px var(--sans); }
.service-icon svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.telegram-icon { color: #83d9f3; }
.discord-icon { color: #b1b9fa; }
.vk-icon { color: #91c6ff; letter-spacing: -.1em; }
.github-icon, .steam-icon { color: #d2eaf5; }
.tiktok-icon { font-size: 23px; }
.link-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.link-copy b { color: #dbeaf1; font-size: 12px; font-weight: 600; }
.link-copy small { overflow: hidden; color: var(--muted-2); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.link-arrow { margin-left: auto; color: #7ed9e6; font-size: 16px; transition: transform .18s; }
.link-card:hover .link-arrow { transform: translate(2px,-1px); }
.vpn-banner { display: flex; align-items: center; gap: 15px; min-height: 76px; padding: 15px 19px; border-radius: 12px; border-color: rgba(138,232,243,.31); background: linear-gradient(95deg, rgba(20,64,81,.42), rgba(12,29,44,.74)); text-decoration: none; transition: border-color .18s, background .18s; }
.vpn-banner:hover { border-color: rgba(138,232,243,.68); background: linear-gradient(95deg, rgba(20,64,81,.56), rgba(12,29,44,.82)); }
.vpn-emblem { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--cyan); border-radius: 11px; background: rgba(138,232,243,.09); }
.vpn-emblem svg { width: 21px; height: 21px; fill: currentColor; }
.vpn-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.vpn-copy b { color: #e7f5f9; font-size: 14px; font-weight: 620; }
.vpn-copy small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.vpn-arrow { margin-left: auto; color: var(--cyan); font-size: 23px; }
.vpn-overline, .vpn-state { display: none; }
.music-note { color: var(--cyan); font-size: 19px; }
.music-main { display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: center; gap: 15px; }
.music-cover { width: 76px; height: 76px; overflow: hidden; border-radius: 10px; border: 1px solid rgba(141,204,224,.19); background: #0b1a27; }
.music-cover img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.98) brightness(.96); }
.cover-disc { display: none; }
.music-details { min-width: 0; }
.music-label { display: block; margin-bottom: 5px; color: #8edce7; font: 9px var(--mono); }
.music-details > b { display: block; overflow: hidden; color: #e1edf3; font-size: 14px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.music-details > small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 10px; }
.track-time { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted-2); font: 9px var(--mono); font-variant-numeric: tabular-nums; }
.range-control { display: block; width: 100%; height: 3px; margin: 7px 0 0; appearance: none; -webkit-appearance: none; border-radius: 4px; background: rgba(141,204,224,.21); cursor: pointer; }
.range-control::-webkit-slider-thumb { width: 9px; height: 9px; appearance: none; -webkit-appearance: none; border-radius: 50%; border: 1px solid #d7faff; background: var(--cyan); }
.range-control::-moz-range-thumb { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #d7faff; background: var(--cyan); }
.range-control:disabled { opacity: .35; cursor: default; }
.player-bottom { display: grid; grid-template-columns: 126px minmax(0,1fr); align-items: center; gap: 16px; margin-top: 17px; padding-top: 14px; border-top: 1px solid rgba(141,204,224,.13); }
.player-side-controls { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.player-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.player-btn { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: #a8c5d2; border: 1px solid rgba(141,204,224,.2); border-radius: 50%; background: rgba(13,30,45,.72); cursor: pointer; transition: color .18s, border-color .18s, background .18s; }
.player-btn:hover:not(:disabled) { color: var(--ice); border-color: var(--line-strong); background: rgba(138,232,243,.1); }
.player-btn:disabled { opacity: .3; cursor: default; }
.volume-control { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--muted-2); }
.volume-control svg { flex: 0 0 13px; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.volume-range { flex: 1 1 auto; min-width: 0; width: 100%; margin: 0; }
.volume-value { min-width: 27px; color: var(--muted-2); font: 9px var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.play-btn { width: 36px; height: 36px; color: var(--ice); border-color: rgba(138,232,243,.48); }
.playlist { display: flex; gap: 7px; min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #355769 transparent; }
.playlist-empty { color: var(--muted-2); font-size: 10px; line-height: 1.55; }
.playlist-empty code { color: #a7d6e0; font: 10px var(--mono); }
.track-chip { flex: 0 0 auto; min-width: 100px; max-width: 160px; overflow: hidden; padding: 7px 9px; color: var(--muted); border: 1px solid rgba(141,204,224,.13); border-radius: 8px; background: rgba(12,29,44,.54); text-align: left; cursor: pointer; }
.track-chip b { display: block; overflow: hidden; color: inherit; font-size: 10px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.track-chip small { display: block; overflow: hidden; margin-top: 3px; color: var(--muted-2); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.track-chip.active { color: var(--ice); border-color: rgba(138,232,243,.38); background: rgba(138,232,243,.08); }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 3px 2px 0; color: #718a9b; font-size: 10px; }
.site-footer span:last-child { color: #506a7b; }
/* Stats */
.stats-content { gap: 16px; }
.stats-hero { min-height: 120px; display: flex; align-items: center; padding: 23px 26px; }
.stats-hero h1 { margin-top: 3px; }
.stats-hero p:not(.stats-overline) { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.stats-overline { margin: 0 0 7px; color: var(--cyan); font: 9px var(--mono); letter-spacing: .1em; }
.stats-hero-mark { display: none; }
.hardware-module, .telemetry-module { padding: 19px; }
.hardware-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.spec-card { position: relative; min-width: 0; min-height: 102px; padding: 13px; border: 1px solid rgba(141,204,224,.14); border-radius: 10px; background: rgba(11,28,43,.50); }
.spec-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 13px; color: var(--muted-2); font: 9px var(--mono); }
.spec-icon { color: #9edbe7; border: 1px solid rgba(141,204,224,.18); border-radius: 5px; padding: 3px 5px; font-size: 8px; }
.spec-card > b { display: block; color: #dbeaf1; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.spec-card > small { display: block; margin-top: 5px; color: var(--muted-2); font-size: 10px; }
.spec-line { display: none; }
.module-footnote { margin: 13px 1px 0; color: var(--muted-2); font-size: 10px; }
.module-footnote code { color: #a5d3df; font: 10px var(--mono); }
.api-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; color: #b79a6e; border: 1px solid rgba(183,154,110,.25); border-radius: 20px; font: 9px var(--mono); white-space: nowrap; }
.api-badge i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: currentColor; }
.api-badge.api-online { color: var(--green); border-color: rgba(123,219,184,.28); }
.api-badge.api-offline { color: #b79a6e; }
.telemetry-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.metric-card { min-width: 0; min-height: 120px; padding: 14px; border: 1px solid rgba(141,204,224,.14); border-radius: 10px; background: rgba(11,28,43,.50); }
.metric-head { display: flex; justify-content: space-between; align-items: center; gap: 7px; color: var(--muted-2); font: 9px var(--mono); }
.metric-unit { color: #7e9faf; font-size: 8px; }
.metric-value { display: flex; align-items: baseline; gap: 5px; margin: 15px 0 9px; }
.metric-value b { color: #e7f3f8; font: 640 28px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.metric-value small { color: var(--cyan); font: 10px var(--mono); }
.metric-bar { height: 3px; overflow: hidden; border-radius: 3px; background: rgba(141,204,224,.13); }
.metric-bar span { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--cyan); transition: width .5s ease; }
.metric-caption { margin-top: 9px; color: var(--muted-2); font: 9px var(--mono); overflow-wrap: anywhere; }
.metric-text-card { display: flex; flex-direction: column; }
.metric-bigtext { margin-top: auto; padding: 18px 0 8px; color: #dcebf2; font: 620 clamp(17px,2vw,24px)/1.15 var(--sans); letter-spacing: -.035em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.telemetry-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(141,204,224,.13); }
.telemetry-footer p { max-width: 720px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.telemetry-footer > span { color: var(--muted-2); font: 9px var(--mono); white-space: nowrap; }
.telemetry-footer > span b { display: block; margin-top: 4px; color: #a4c1cf; font-weight: 400; text-align: right; }
.outline-button { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; padding: 9px 13px; color: var(--ice); border: 1px solid rgba(138,232,243,.3); border-radius: 9px; background: rgba(9,32,49,.65); text-decoration: none; font-size: 11px; transition: border-color .18s, background .18s; }
.outline-button:hover { border-color: var(--cyan); background: rgba(28,101,129,.2); }
@media (min-width: 1300px) { .main-area { padding-top: 34px; } .hero-main { padding: 27px 30px 21px; } }
@media (max-width: 900px) {
  .topbar-inner, .main-area { width: min(100% - 34px, 720px); }
  .section-grid { gap: 12px; }
  .module { padding: 16px; }
  .hardware-grid, .telemetry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { grid-template-columns: minmax(0,1fr) 94px; }
  .hero-main { padding: 20px; }
  .hero-jp { font-size: 23px; }
}
@media (max-width: 620px) {
  .wallpaper { width: 100vw; opacity: .19; background-position: 65% center; -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.6) 42%, transparent 92%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.6) 42%, transparent 92%); }
  .topbar-inner { width: calc(100% - 28px); min-height: 64px; gap: 10px; }
  .brand { gap: 8px; }
  .brand-symbol { width: 32px; height: 32px; font-size: 12px; }
  .brand-copy b { font-size: 12px; }
  .brand-copy small { font-size: 9px; }
  .top-nav { gap: 1px; }
  .nav-item { padding: 9px 8px; gap: 5px; font-size: 11px; }
  .nav-glyph { font-size: 15px; }
  .nav-item.active::after { left: 8px; right: 8px; bottom: -8px; }
  .main-area { width: calc(100% - 26px); padding-top: 15px; }
  .page-content, .stats-content { gap: 12px; }
  .panel { border-radius: 13px; }
  .hero { grid-template-columns: minmax(0,1fr); }
  .hero-main { padding: 17px 15px 15px; }
  .hero-side { display: none; }
  .hero-identity { gap: 14px; }
  .avatar-frame { width: 74px; height: 74px; flex-basis: 74px; }
  h1 { font-size: 27px; }
  .identity-subtitle { font-size: 11px; line-height: 1.4; }
  .identity-tags { margin-top: 7px; font-size: 9px; }
  .profile-data { grid-template-columns: minmax(0,1fr) minmax(0,.75fr); gap: 13px 10px; margin-top: 16px; padding-top: 13px; }
  .data-label { font-size: 8px; }
  .data-item b { font-size: 11px; }
  .data-time { grid-column: 1 / -1; }
  .data-time b { font-size: 10px; }
  .section-grid { grid-template-columns: 1fr; gap: 12px; }
  .module { padding: 15px 13px; }
  .module-head { margin-bottom: 12px; }
  h2 { font-size: 15px; }
  .link-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .link-card { min-height: 62px; gap: 8px; padding: 8px; border-radius: 9px; }
  .service-icon { flex-basis: 29px; width: 29px; height: 29px; border-radius: 8px; }
  .service-icon svg { width: 16px; height: 16px; }
  .link-copy b { font-size: 11px; }
  .link-copy small { font-size: 9px; }
  .link-arrow { font-size: 14px; }
  .vpn-banner { min-height: 70px; padding: 12px; gap: 10px; }
  .vpn-emblem { flex-basis: 32px; width: 32px; height: 32px; border-radius: 9px; }
  .vpn-emblem svg { width: 18px; height: 18px; }
  .vpn-copy b { font-size: 12px; }
  .vpn-copy small { font-size: 10px; }
  .vpn-arrow { font-size: 18px; }
  .music-main { grid-template-columns: 58px minmax(0,1fr); gap: 11px; }
  .music-cover { width: 58px; height: 58px; }
  .player-bottom { grid-template-columns: 112px minmax(0,1fr); gap: 10px; margin-top: 13px; padding-top: 12px; }
  .track-chip { min-width: 90px; }
  .site-footer { font-size: 9px; }
  .site-footer span:last-child { display: none; }
  .stats-hero { min-height: 0; padding: 18px 15px; }
  .stats-hero h1 { font-size: 28px; }
  .stats-hero p:not(.stats-overline) { font-size: 11px; }
  .hardware-grid, .telemetry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .spec-card { min-height: 95px; padding: 10px; }
  .spec-top { margin-bottom: 10px; font-size: 8px; }
  .spec-card > b { font-size: 11px; }
  .spec-card > small { font-size: 9px; }
  .metric-card { min-height: 110px; padding: 11px; }
  .metric-head { font-size: 8px; }
  .metric-value b { font-size: 25px; }
  .metric-bigtext { font-size: 17px; }
  .telemetry-footer { align-items: flex-start; flex-direction: column; gap: 9px; }
  .telemetry-footer > span b { text-align: left; }
}
@media (max-width: 380px) {
  .brand-copy small { display: none; }
  .topbar-inner { width: calc(100% - 20px); }
  .brand { gap: 6px; }
  .brand-copy b { font-size: 11px; }
  .nav-item { padding-inline: 6px; font-size: 10px; }
  .main-area { width: calc(100% - 20px); }
  .link-grid { grid-template-columns: 1fr; }
  .link-card { min-height: 55px; }
  .player-bottom { grid-template-columns: 1fr; }
  .player-controls { justify-content: flex-start; gap: 13px; }
  .playlist { min-height: 30px; }
  .hardware-grid, .telemetry-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; }
}
