:root {
  --bg-photo: url("https://raw.githubusercontent.com/Enco-shark/images/refs/heads/main/IMG_20260118_112833.webp");
  --bg0: #05060a;
  --bg1: #070a12;
  --ink: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --muted2: rgba(255, 255, 255, 0.42);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke2: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.06);
  --glass2: rgba(255, 255, 255, 0.09);
  --lg-fill: rgba(255, 255, 255, 0.008);
  --lg-fill2: rgba(255, 255, 255, 0.004);
  --lg-border: rgba(255, 255, 255, 0.18);
  --lg-inner: rgba(255, 255, 255, 0.12);
  --lg-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --lg-shadow2: 0 12px 30px rgba(0, 0, 0, 0.45);
  --lg-filter: url(#lg-displace);
  --lg-blur: 38px;
  --lg-saturate: 240%;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  --shadow2: 0 12px 26px rgba(0, 0, 0, 0.35);
  --acc: #7aa2ff;
  --acc2: #6ef3d6;
  --warn: #ffb020;
  --bad: #ff4d6d;
  --good: #2fb344;
  --r14: 14px;
  --r18: 18px;
  --r24: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(1200px 820px at 15% 20%, rgba(122, 162, 255, 0.12), transparent 60%),
    radial-gradient(1200px 820px at 92% 6%, rgba(110, 243, 214, 0.1), transparent 62%),
    radial-gradient(1200px 820px at 60% 110%, rgba(255, 176, 32, 0.06), transparent 64%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.96), rgba(7, 10, 18, 0.98));
  font-family: "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.1px;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.bg::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: var(--bg-photo);
  background-size: cover;
  background-position: center;
  filter: saturate(118%) contrast(108%) brightness(0.76);
  opacity: 0.78;
  transform: scale(1.02);
}

.bg::after {
  content: "";
  position: absolute;
  inset: -80px;
  background-image: var(--bg-photo);
  background-size: cover;
  background-position: center;
  filter: blur(42px) saturate(160%) contrast(115%) brightness(0.7);
  opacity: 0.45;
  transform: scale(1.12);
  mix-blend-mode: screen;
}

.mesh {
  position: absolute;
  inset: -120px;
  opacity: 0.65;
  filter: blur(46px) saturate(140%);
  background: radial-gradient(520px 420px at 18% 16%, rgba(122, 162, 255, 0.22), transparent 55%),
    radial-gradient(540px 420px at 82% 18%, rgba(110, 243, 214, 0.2), transparent 56%),
    radial-gradient(560px 420px at 62% 92%, rgba(255, 176, 32, 0.12), transparent 60%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 12px;
  background: linear-gradient(180deg, rgba(12, 16, 26, 0.6), rgba(12, 16, 26, 0.36));
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--lg-border);
  box-shadow: var(--lg-shadow2);
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
}

.mark-img {
  width: 100%;
  height: 100%;
  position: relative;
  filter: drop-shadow(0 6px 10px rgba(11, 12, 16, 0.22));
  object-fit: cover;
  border-radius: 14px;
}

.mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--lg-fill), var(--lg-fill2));
  filter: var(--lg-filter);
  pointer-events: none;
}

.mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(140% 120% at 18% 12%, rgba(255, 255, 255, 0.55), transparent 40%),
    radial-gradient(140% 120% at 85% 90%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 35%);
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: url(#lg-spec);
}

.title {
  font-family: Fraunces, serif;
  font-weight: 750;
  font-size: 22px;
  line-height: 1;
}

.sub {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 4px;
}

.status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--lg-border);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  box-shadow: var(--lg-shadow2);
  position: relative;
  overflow: hidden;
}

.pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--lg-fill), var(--lg-fill2));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  filter: var(--lg-filter);
}

.pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 120% at 20% 20%, rgba(255, 255, 255, 0.55), transparent 45%),
    radial-gradient(120% 120% at 80% 100%, rgba(122, 162, 255, 0.18), transparent 55%);
  opacity: 0.35;
  mix-blend-mode: screen;
  filter: url(#lg-spec);
}

.shell {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
  padding: 14px 22px 22px;
  max-width: 1240px;
  margin: 0 auto;
}

.shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(900px 520px at 50% 5%, rgba(0, 0, 0, 0.55), transparent 70%),
    radial-gradient(900px 520px at 50% 92%, rgba(0, 0, 0, 0.4), transparent 70%);
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  background: transparent;
  border: 1px solid var(--lg-border);
  border-radius: var(--r24);
  box-shadow: var(--lg-shadow);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.card.hero {
  padding: 18px;
}

.card.logs {
  padding: 16px;
}

.card,
.pill,
input,
.file,
.seg {
  backdrop-filter: blur(18px) saturate(180%);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r24);
  pointer-events: none;
  background: linear-gradient(180deg, var(--lg-fill), var(--lg-fill2));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  filter: var(--lg-filter);
  opacity: 1;
}

.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r24);
  pointer-events: none;
  background: radial-gradient(140% 120% at 20% 10%, rgba(255, 255, 255, 0.6), transparent 42%),
    radial-gradient(120% 110% at 84% 92%, rgba(110, 243, 214, 0.16), transparent 55%),
    conic-gradient(from 120deg, rgba(255, 255, 255, 0.18), transparent 25%, rgba(255, 255, 255, 0.12), transparent 70%, rgba(255, 255, 255, 0.18));
  opacity: 0.32;
  mix-blend-mode: screen;
  filter: url(#lg-spec);
}

.card > * {
  position: relative;
}

.card-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.h1 {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.2px;
}

.hint {
  color: var(--muted2);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.35;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
}

label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

input[type="text"],
input[type="url"] {
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
  padding: 0 12px;
  box-shadow: inset 0 -12px 18px rgba(0, 0, 0, 0.22);
}

input:focus {
  border-color: rgba(122, 162, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(122, 162, 255, 0.12), inset 0 -12px 18px rgba(0, 0, 0, 0.22);
}

.mini {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11.5px;
  line-height: 1.3;
}

.file {
  width: 100%;
  height: 42px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.72);
  padding: 8px 10px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.row3 {
  display: grid;
  grid-template-columns: 1fr 160px 110px;
  gap: 10px;
  margin-top: 12px;
}

.btn {
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--lg-border);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
  box-shadow: var(--lg-shadow2);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--lg-fill), var(--lg-fill2));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-saturate));
  filter: var(--lg-filter);
  opacity: 1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(140% 120% at 20% 10%, rgba(255, 255, 255, 0.55), transparent 42%),
    radial-gradient(120% 120% at 90% 110%, rgba(110, 243, 214, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 40%);
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: url(#lg-spec);
}

.btn > * {
  position: relative;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
}

.btn:hover::after {
  opacity: 0.46;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn.primary {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.55);
}

.btn.primary::before {
  background: radial-gradient(140% 160% at 20% 10%, rgba(122, 162, 255, 0.55), transparent 58%),
    radial-gradient(140% 160% at 82% 90%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.btn.primary:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn.primary:hover::before {
  background: radial-gradient(140% 160% at 20% 10%, rgba(122, 162, 255, 0.72), transparent 58%),
    radial-gradient(140% 160% at 82% 90%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.btn.primary:active {
  transform: translateY(2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

.btn.glass {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
}

.btn.glass::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
}

.btn.glass:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 22px 66px rgba(0, 0, 0, 0.55);
}

.btn.glass:active {
  transform: translateY(1px);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.tiny {
  height: 34px;
  border-radius: 12px;
  font-size: 12px;
  padding: 0 12px;
}

.seg {
  display: flex;
  gap: 8px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  margin-top: 10px;
}

.seg-btn {
  flex: 1;
  height: 36px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.seg-btn.is-on {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.kv {
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 -14px 18px rgba(0, 0, 0, 0.22);
}

.k {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.52);
}

.v {
  margin-top: 4px;
  font-weight: 850;
  letter-spacing: 0.2px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  max-height: 200px;
  overflow: auto;
  padding-right: 4px;
}

.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.tag {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(122, 162, 255, 0.95), rgba(110, 243, 214, 0.9));
}

.name2 {
  font-weight: 850;
}

.meta2 {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.52);
  margin-top: 2px;
}

.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r24);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(120% 120% at 15% 10%, rgba(122, 162, 255, 0.18), transparent 52%),
    radial-gradient(120% 120% at 80% 100%, rgba(110, 243, 214, 0.14), transparent 52%),
    rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 18px 40px rgba(0, 0, 0, 0.35);
  margin-top: 14px;
}

video,
canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

video {
  opacity: 0;
}

.meter {
  margin-top: 14px;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(122, 162, 255, 0.85), rgba(110, 243, 214, 0.85));
  border-radius: 999px;
}

.meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.log {
  margin: 0;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.24);
  max-height: 240px;
  overflow: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.45;
  box-shadow: inset 0 -18px 22px rgba(0, 0, 0, 0.26);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.muted {
  color: rgba(255, 255, 255, 0.46);
}

@media (max-width: 1080px) {
  .shell {
    grid-template-columns: 1fr;
    padding: 10px 14px 22px;
  }
  .top {
    padding: 16px 14px 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  .status {
    justify-content: flex-start;
  }
  .row3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  :root {
    --lg-filter: url(#lg-displace-lite);
    --lg-blur: 18px;
    --lg-saturate: 160%;
  }
  .bg::after {
    opacity: 0.18;
    filter: blur(26px) saturate(130%) contrast(110%) brightness(0.68);
  }
  .grain {
    opacity: 0.12;
  }
}
