@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('./fonts/quicksand-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('./fonts/quicksand-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: radial-gradient(ellipse at center, #1a1f29 0%, #0a0d12 70%, #07090d 100%);
  font-family: 'Hack', 'Source Code Pro', 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  color: #d4d4d4;
  min-height: 100vh;
  padding: 32px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.k-wrap {
  width: 100%;
  max-width: 760px;
  background: #15191e;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 1px rgba(23,147,209,0.08),
    0 20px 60px rgba(0,0,0,0.5),
    0 2px 8px rgba(0,0,0,0.4);
}

.k-title {
  background: linear-gradient(180deg, #2a2e35, #21252b);
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; font-size: 14px; color: #c5c8c6;
  border-bottom: 1px solid rgba(0,0,0,0.4);
}
.k-title-text { flex: 1; text-align: center; opacity: 0.85; letter-spacing: 0.3px; }
.k-title-spacer { width: 90px; }
.k-buttons { display: flex; gap: 0; }
.k-btn {
  width: 30px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #c5c8c6;
  background: transparent;
  font-family: sans-serif; line-height: 1;
  border: none; cursor: default;
}
.k-btn:hover { background: rgba(255,255,255,0.08); }
.k-btn-close:hover { background: #cc342b; color: #fff; }

.k-body { padding: 22px 22px 26px; font-size: 13px; line-height: 1.55; overflow-x: auto; }

.k-banner {
  display: flex; align-items: center; justify-content: flex-end; gap: 20px;
  padding: 10px 0 20px; margin-bottom: 14px;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.k-logo-svg { width: 76px; height: 76px; color: #e8eaed; flex-shrink: 0; }
.k-logo-text {
  font-family: 'Quicksand', 'Comfortaa', 'Nunito', 'Trebuchet MS', sans-serif;
  font-size: 40px; font-weight: 500;
  color: #e8eaed; letter-spacing: -0.8px; line-height: 1;
}
.k-logo-text .dot { color: #1793d1; }
.k-logo-text .net { opacity: 0.55; }

.k-pl { margin: 24px 0 4px; font-size: 30px; line-height: 1.4; }
.k-pl ~ .k-pl { margin-top: 16px; }
.k-pl-row { white-space: nowrap; }
.k-b { color: #1793d1; }
.k-u { color: #5fff5f; font-weight: 500; }
.k-at { color: #5fff5f; }
.k-p { color: #56b6c2; }
.k-d { color: #ffffff; }
.k-cmd { color: #ffffff; }
.k-out { color: #c5c8c6; opacity: 0.9; margin: 4px 0 8px 8px; font-size: 28px; }
.k-out .muted { opacity: 0.55; }
.k-out .warn { color: #ffb454; }

.k-links { margin: 10px 0 0 8px; padding: 0; list-style: none; }
.k-links li {
  padding: 9px 0; font-size: 30px;
  display: flex; align-items: baseline; gap: 18px;
}
.k-idx { color: #7d828a; font-size: 26px; min-width: 56px; }
.k-link {
  color: #5fff5f; text-decoration: none;
  padding: 6px 14px; min-width: 200px; display: inline-block;
  transition: all 0.12s ease;
}
.k-link:hover, .k-link:focus { background: #5fff5f; color: #15191e; outline: none; }

.k-cursor {
  display: inline-block; width: 16px; height: 28px;
  background: #d4d4d4; vertical-align: -4px; margin-left: 8px;
  animation: kblink 1.05s steps(2) infinite;
}
@keyframes kblink { 50% { opacity: 0; } }

.k-foot {
  margin-top: 22px; padding-top: 12px; font-size: 14px;
  color: #5a6068; display: flex; justify-content: space-between;
  border-top: 1px dashed rgba(255,255,255,0.06);
  letter-spacing: 0.4px;
}

@media (max-width: 480px) {
  body { padding: 12px 8px; }
  .k-body { padding: 16px 16px 20px; }
  .k-logo-svg { width: 56px; height: 56px; }
  .k-logo-text { font-size: 30px; }
  .k-banner { gap: 14px; padding: 8px 0 16px; }
  .k-pl { font-size: 27px; }
  .k-links li { font-size: 28px; gap: 14px; }
  .k-link { min-width: 170px; padding: 5px 12px; }
  .k-idx { font-size: 24px; min-width: 50px; }
  .k-foot { font-size: 13px; flex-direction: column; gap: 2px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .k-cursor { animation: none; }
}
