/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .invisible {
    visibility: hidden;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .table-row {
    display: table-row;
  }
  .grow {
    flex-grow: 1;
  }
}
:root {
  --bg-base: #f4f5f7;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-hover: #f0f2f5;
  --border: #dde1ea;
  --border-focus: #2a4dd0;
  --text-primary: #0f1623;
  --text-secondary: #4a5368;
  --text-muted: #9aa0b0;
  --accent: #2a4dd0;
  --accent-light: #eef1fb;
  --accent-dim: rgba(42, 77, 208, 0.08);
  --accent-glow: rgba(42, 77, 208, 0.15);
  --danger: #c0392b;
  --danger-bg: #fdf2f2;
  --success: #1a7f5a;
  --success-bg: #f0faf6;
  --warning: #b45309;
  --warning-bg: #fffbeb;
  --font-display: 'Fraunces', serif;
  --font-sans: 'Instrument Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --shadow-sm: 0 1px 3px rgba(15, 22, 35, 0.08), 0 1px 2px rgba(15, 22, 35, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 22, 35, 0.08), 0 2px 4px rgba(15, 22, 35, 0.04);
  --shadow-lg: 0 8px 24px rgba(15, 22, 35, 0.1), 0 4px 8px rgba(15, 22, 35, 0.06);
  --noise-overlay: none;
  --header-bg: var(--bg-surface);
  --header-backdrop: none;
  --glow-display: none;
}
html[data-theme="dark"] {
  --bg-base: #07080f;
  --bg-surface: #0e0f1a;
  --bg-card: #111320;
  --bg-hover: #181a2e;
  --border: #1e2140;
  --border-focus: #00e5ff;
  --text-primary: #e8eaf6;
  --text-secondary: #6b7299;
  --text-muted: #373d5c;
  --accent: #00e5ff;
  --accent-light: rgba(0, 229, 255, 0.08);
  --accent-dim: rgba(0, 229, 255, 0.12);
  --accent-glow: rgba(0, 229, 255, 0.25);
  --danger: #ff4f6a;
  --danger-bg: rgba(255, 79, 106, 0.07);
  --success: #00ffa3;
  --success-bg: rgba(0, 255, 163, 0.07);
  --warning: #ffc400;
  --warning-bg: rgba(255, 196, 0, 0.07);
  --font-display: 'Syne', sans-serif;
  --font-sans: 'Space Mono', monospace;
  --font-mono: 'Space Mono', monospace;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --noise-overlay: block;
  --header-bg: rgba(7, 8, 15, 0.85);
  --header-backdrop: blur(12px);
  --glow-display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg-base: #07080f;
    --bg-surface: #0e0f1a;
    --bg-card: #111320;
    --bg-hover: #181a2e;
    --border: #1e2140;
    --border-focus: #00e5ff;
    --text-primary: #e8eaf6;
    --text-secondary: #6b7299;
    --text-muted: #373d5c;
    --accent: #00e5ff;
    --accent-light: rgba(0, 229, 255, 0.08);
    --accent-dim: rgba(0, 229, 255, 0.12);
    --accent-glow: rgba(0, 229, 255, 0.25);
    --danger: #ff4f6a;
    --danger-bg: rgba(255, 79, 106, 0.07);
    --success: #00ffa3;
    --success-bg: rgba(0, 255, 163, 0.07);
    --warning: #ffc400;
    --warning-bg: rgba(255, 196, 0, 0.07);
    --font-display: 'Syne', sans-serif;
    --font-sans: 'Space Mono', monospace;
    --font-mono: 'Space Mono', monospace;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --noise-overlay: block;
    --header-bg: rgba(7, 8, 15, 0.85);
    --header-backdrop: blur(12px);
    --glow-display: block;
  }
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.2s ease;
}
.noise-overlay {
  display: var(--noise-overlay);
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: var(--header-backdrop);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
html[data-theme="dark"] .app-header {
  height: auto;
  padding: 1.25rem 2.5rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .app-header {
    height: auto;
    padding: 1.25rem 2.5rem;
  }
}
.logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  transition: opacity 0.2s;
}
.logo:hover {
  opacity: 0.75;
}
.logo-bracket {
  color: var(--text-muted);
  font-weight: 400;
}
.logo-text {
  color: var(--text-primary);
}
.logo-accent {
  color: var(--accent);
}
.app-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.03em;
}
html[data-theme="dark"] .nav-link {
  text-transform: uppercase;
  font-weight: 400;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .nav-link {
    text-transform: uppercase;
    font-weight: 400;
  }
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.nav-link--cta {
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent);
  margin-left: 0.5rem;
  font-weight: 600;
}
.nav-link--cta:hover {
  background: var(--accent-dim);
  color: var(--accent);
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.theme-toggle:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent);
}
.app-main {
  min-height: calc(100vh - 130px);
  padding: 3rem 2.5rem;
  max-width: 1024px;
  margin: 0 auto;
}
html[data-theme="dark"] .app-main {
  padding: 4rem 2.5rem;
  max-width: 860px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .app-main {
    padding: 4rem 2.5rem;
    max-width: 860px;
  }
}
.page-create, .page-index {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.page-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.page-header__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  color: var(--text-primary);
}
.page-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
  line-height: 1.65;
}
.page-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.form-card__glow {
  display: var(--glow-display);
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.mini-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
html[data-theme="dark"] .mini-form {
  gap: 2rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .mini-form {
    gap: 2rem;
  }
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}
html[data-theme="dark"] .field-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .field-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}
.field-label__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  flex-shrink: 0;
}
html[data-theme="dark"] .field-label__num {
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  opacity: 0.6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .field-label__num {
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    opacity: 0.6;
  }
}
.field-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.field-wrapper:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field-prefix {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 0.75rem;
  border-right: 1px solid var(--border);
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  white-space: nowrap;
  min-height: 44px;
}
html[data-theme="dark"] .field-prefix {
  background: rgba(0, 0, 0, 0.2);
  min-height: 48px;
  font-size: 0.78rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .field-prefix {
    background: rgba(0, 0, 0, 0.2);
    min-height: 48px;
    font-size: 0.78rem;
  }
}
.field-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-primary);
  width: 100%;
}
html[data-theme="dark"] .field-input {
  font-family: var(--font-mono);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .field-input {
    font-family: var(--font-mono);
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }
}
.field-input::placeholder {
  color: var(--text-muted);
}
.field-input::-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-surface) inset;
  -webkit-text-fill-color: var(--text-primary);
}
.field-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.field-group ul li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--danger);
  margin-top: 0.25rem;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.25rem;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 7px;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  white-space: nowrap;
}
html[data-theme="dark"] .btn-submit {
  color: var(--bg-base);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 0.8rem 1.75rem;
  box-shadow: 0 0 20px var(--accent-glow);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .btn-submit {
    color: var(--bg-base);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 0.8rem 1.75rem;
    box-shadow: 0 0 20px var(--accent-glow);
  }
}
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .btn-submit:hover {
  box-shadow: 0 0 32px var(--accent-glow), 0 4px 16px rgba(0, 0, 0, 0.4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .btn-submit:hover {
    box-shadow: 0 0 32px var(--accent-glow), 0 4px 16px rgba(0, 0, 0, 0.4);
  }
}
.btn-submit:active {
  transform: translateY(0);
}
.btn-submit__icon {
  font-size: 0.9rem;
  transition: transform 0.2s;
}
.btn-submit:hover .btn-submit__icon {
  transform: translateX(2px);
}
.form-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.features-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  font-size: 0.85rem;
}
.table-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-card__glow {
  display: var(--glow-display);
  position: absolute;
  top: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.table-wrapper {
  overflow-x: auto;
}
.links-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.84rem;
}
html[data-theme="dark"] .links-table {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .links-table {
    font-family: var(--font-mono);
    font-size: 0.78rem;
  }
}
.links-table thead tr {
  border-bottom: 1px solid var(--border);
  background: var(--bg-hover);
}
html[data-theme="dark"] .links-table thead tr {
  background: transparent;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .links-table thead tr {
    background: transparent;
  }
}
.links-table th {
  padding: 0.75rem 1.1rem;
  text-align: left;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.68rem;
  white-space: nowrap;
}
.th-icon {
  font-size: 0.75rem;
}
.table-row {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.table-row:last-child {
  border-bottom: none;
}
.table-row:hover {
  background: var(--bg-hover);
}
.links-table td {
  padding: 0.85rem 1.1rem;
  vertical-align: middle;
  color: var(--text-secondary);
}
html[data-theme="dark"] .links-table td {
  padding: 1rem 1.25rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .links-table td {
    padding: 1rem 1.25rem;
  }
}
.source-badge {
  display: inline-flex;
  align-items: center;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(42, 77, 208, 0.2);
  border-radius: 5px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  font-family: var(--font-mono);
}
html[data-theme="dark"] .source-badge {
  border-color: rgba(0, 229, 255, 0.2);
  border-radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .source-badge {
    border-color: rgba(0, 229, 255, 0.2);
    border-radius: 4px;
  }
}
.dest-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
  display: block;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.dest-link:hover {
  color: var(--accent);
}
.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.8rem;
}
.count-badge--hot {
  background: var(--danger-bg);
  border-color: rgba(192, 57, 43, 0.25);
  color: var(--danger);
}
html[data-theme="dark"] .count-badge--hot {
  border-color: rgba(255, 79, 106, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .count-badge--hot {
    border-color: rgba(255, 79, 106, 0.35);
  }
}
.td-date {
  color: var(--text-secondary);
  font-size: 0.82rem;
}
.td-null {
  color: var(--text-muted);
  font-style: italic;
}
.uid-badge {
  color: var(--text-muted);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
}
.td-actions {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
}
.action-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--text-muted);
}
.action-btn--danger:hover {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: rgba(192, 57, 43, 0.3);
}
html[data-theme="dark"] .action-btn--danger:hover {
  border-color: rgba(255, 79, 106, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .action-btn--danger:hover {
    border-color: rgba(255, 79, 106, 0.35);
  }
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 4.5rem 2rem;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 12px;
  text-align: center;
}
.empty-state__icon {
  font-size: 2rem;
}
.empty-state__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.empty-state__sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.auth-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2.5rem;
}
.auth-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
html[data-theme="dark"] .auth-card {
  max-width: 480px;
  gap: 1.75rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .auth-card {
    max-width: 480px;
    gap: 1.75rem;
  }
}
.auth-card__glow {
  display: var(--glow-display);
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.auth-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
html[data-theme="dark"] .auth-header {
  padding-bottom: 0;
  border-bottom: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .auth-header {
    padding-bottom: 0;
    border-bottom: none;
  }
}
.auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.auth-footer__text {
  color: var(--text-muted);
}
.auth-footer__link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.15s;
}
.auth-footer__link:hover {
  text-decoration: underline;
  opacity: 0.75;
}
.flash-link {
  color: inherit;
  text-decoration: underline;
  opacity: 0.8;
}
.flash-link:hover {
  opacity: 1;
}
.field-group--checkbox {
  gap: 0.35rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  user-select: none;
}
.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-custom {
  width: 17px;
  height: 17px;
  min-width: 17px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.checkbox-input:checked+.checkbox-custom {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-input:checked+.checkbox-custom::after {
  content: '✓';
  font-size: 0.65rem;
  color: var(--bg-base);
  font-weight: 700;
}
.checkbox-input:focus+.checkbox-custom {
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.checkbox-text {
  line-height: 1.4;
}
.flash {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border: 1px solid;
  animation: flash-in 0.3s ease;
  line-height: 1.5;
}
.flash--success {
  background: var(--success-bg);
  border-color: rgba(26, 127, 90, 0.25);
  color: var(--success);
}
html[data-theme="dark"] .flash--success {
  border-color: rgba(0, 255, 163, 0.3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .flash--success {
    border-color: rgba(0, 255, 163, 0.3);
  }
}
.flash--error, .flash--danger {
  background: var(--danger-bg);
  border-color: rgba(192, 57, 43, 0.25);
  color: var(--danger);
}
html[data-theme="dark"] .flash--error, html[data-theme="dark"] .flash--danger {
  border-color: rgba(255, 79, 106, 0.3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .flash--error, :root:not([data-theme]) .flash--danger {
    border-color: rgba(255, 79, 106, 0.3);
  }
}
.flash--warning {
  background: var(--warning-bg);
  border-color: rgba(180, 83, 9, 0.25);
  color: var(--warning);
}
html[data-theme="dark"] .flash--warning {
  border-color: rgba(255, 196, 0, 0.3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .flash--warning {
    border-color: rgba(255, 196, 0, 0.3);
  }
}
.flash--info {
  background: var(--accent-light);
  border-color: rgba(42, 77, 208, 0.2);
  color: var(--accent);
}
html[data-theme="dark"] .flash--info {
  border-color: rgba(0, 229, 255, 0.3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .flash--info {
    border-color: rgba(0, 229, 255, 0.3);
  }
}
.flash__icon {
  font-size: 0.85rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  opacity: 0.8;
}
@keyframes flash-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
html[data-theme="dark"] .app-footer {
  background: transparent;
  padding: 1rem 2.5rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .app-footer {
    background: transparent;
    padding: 1rem 2.5rem;
  }
}
.footer-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}
.footer-pulse {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-anim 2s ease-in-out infinite;
}
html[data-theme="dark"] .pulse-dot {
  box-shadow: 0 0 4px var(--success);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .pulse-dot {
    box-shadow: 0 0 4px var(--success);
  }
}
.pulse-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--success);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
@keyframes pulse-anim {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 229, 255, 0.15);
}
.stat-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.stat-card__icon--blue {
  background: var(--accent-light);
}
.stat-card__icon--green {
  background: var(--success-bg);
}
.stat-card__icon--indigo {
  background: rgba(100, 80, 255, 0.08);
}
.stat-card__icon--orange {
  background: var(--warning-bg);
}
.stat-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.stat-card__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-card__trend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}
.stat-card__link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.stat-card__link:hover {
  opacity: 1;
  text-decoration: underline;
}
.stat-card__sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}
.stat-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.stat-card__badge--green {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(26, 127, 90, 0.2);
}
.stat-card__badge--orange {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(180, 83, 9, 0.2);
}
html[data-theme="dark"] .stat-card__badge--green {
  border-color: rgba(0, 255, 163, 0.2);
}
html[data-theme="dark"] .stat-card__badge--orange {
  border-color: rgba(255, 160, 50, 0.2);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .stat-card__badge--green {
    border-color: rgba(0, 255, 163, 0.2);
  }
  :root:not([data-theme]) .stat-card__badge--orange {
    border-color: rgba(255, 160, 50, 0.2);
  }
}
.dash-row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
  align-items: start;
}
.dash-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dash-panel--grow {
  flex: 1;
}
.dash-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-hover);
}
.dash-panel__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dash-panel__action {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.15s;
  letter-spacing: 0.04em;
}
.dash-panel__action:hover {
  opacity: 1;
  text-decoration: underline;
}
.dash-panel__body {
  padding: 1.35rem;
}
.dash-panel__body--flush {
  padding: 0;
}
.panel-empty {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}
.activity-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 120px;
  position: relative;
}
.activity-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}
.activity-bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.activity-bar {
  width: 100%;
  max-width: 32px;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  opacity: 0.6;
  transition: opacity 0.15s;
}
html[data-theme="dark"] .activity-bar {
  box-shadow: 0 0 8px var(--accent-glow);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .activity-bar {
    box-shadow: 0 0 8px var(--accent-glow);
  }
}
.activity-bar:hover {
  opacity: 1;
}
.activity-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  pointer-events: none;
  font-style: italic;
}
.top-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.top-link-card__dest {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  word-break: break-all;
  line-height: 1.5;
  display: block;
  transition: color 0.15s;
}
.top-link-card__dest:hover {
  color: var(--accent);
}
.top-link-card__stats {
  display: flex;
  gap: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.top-link-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.top-link-stat__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.top-link-stat__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.admin-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--accent-light);
  border: 1px solid rgba(42, 77, 208, 0.2);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}
html[data-theme="dark"] .admin-banner {
  background: var(--accent-dim);
  border-color: rgba(0, 229, 255, 0.2);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .admin-banner {
    background: var(--accent-dim);
    border-color: rgba(0, 229, 255, 0.2);
  }
}
.admin-banner__icon {
  font-size: 1rem;
  opacity: 0.8;
}
.admin-banner strong {
  font-weight: 700;
}
.redirect-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 115px);
  gap: 1.5rem;
  padding: 2rem;
}
.redirect-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.redirect-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.redirect-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  color: var(--text-primary);
}
.redirect-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 360px;
  line-height: 1.6;
  font-family: var(--font-mono);
}
.redirect-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .redirect-card::before, @media (prefers-color-scheme: dark) {
  : root:not([data-theme]) .redirect-card::before;
}
 {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.redirect-form {
  width: 100%;
}
.redirect-input-row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}
.redirect-field-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.redirect-field-wrapper:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.redirect-field-icon {
  padding: 0 0.85rem;
  color: var(--text-muted);
  font-size: 1rem;
  border-right: 1px solid var(--border);
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  min-height: 46px;
}
html[data-theme="dark"] .redirect-field-icon {
  background: rgba(0, 0, 0, 0.2);
  min-height: 48px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .redirect-field-icon {
    background: rgba(0, 0, 0, 0.2);
    min-height: 48px;
  }
}
.redirect-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  width: 100%;
}
.redirect-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
.redirect-btn {
  padding: 0.75rem 1.4rem;
  flex-shrink: 0;
}
.redirect-form ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.redirect-form ul li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--danger);
  margin-top: 0.2rem;
}
.redirect-footer-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.redirect-hint-text {
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .app-header {
    padding: 1rem 1.25rem;
  }
  .app-main {
    padding: 2rem 1.25rem;
  }
  .form-card, .auth-card {
    padding: 1.5rem;
  }
  .app-nav {
    display: none;
  }
  .features-row {
    flex-wrap: wrap;
  }
  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .app-footer {
    padding: 1rem 1.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-header {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .redirect-card {
    padding: 1.5rem;
  }
  .redirect-input-row {
    flex-direction: column;
  }
  .redirect-btn {
    width: 100%;
    justify-content: center;
  }
}
