:root {
  --white: #f7fbff;
  --cyan: #9fd7e7;
  --cyan-soft: rgba(157, 215, 231, 0.22);
  --glass: rgba(174, 218, 230, 0.18);
  --line: rgba(231, 249, 255, 0.52);
  --pink: #ff2fac;
  --black: #03070a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background: var(--black);
  font-family: "Arial Narrow", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-frame {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #061016;
}

.site-frame::before {
  content: "";
  position: fixed;
  inset: 4px;
  z-index: 20;
  pointer-events: none;
  border: 1px solid rgba(194, 239, 250, 0.28);
  box-shadow: inset 0 0 48px rgba(120, 205, 231, 0.22);
}

.hero-video,
.detail-media {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.screen-tint {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
  background: transparent;
  backdrop-filter: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  mix-blend-mode: overlay;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: clamp(14px, 2.3vw, 26px);
  left: clamp(18px, 3vw, 42px);
  right: clamp(18px, 3vw, 42px);
  height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  color: rgba(247, 251, 255, 0.94);
  background: linear-gradient(180deg, rgba(141, 190, 207, 0.27), rgba(43, 78, 91, 0.18));
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow:
    inset 0 0 18px rgba(226, 252, 255, 0.2),
    0 8px 35px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.channel,
.nav-links,
.transport,
.ticker,
.section-kicker,
.detail-copy p,
.detail-meta {
  font-family: "Lucida Console", "Courier New", monospace;
  font-weight: 800;
  text-transform: uppercase;
}

.channel {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
}

.channel i {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

.back-mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 22px;
  line-height: 1;
}

.brand-pill {
  min-width: 82px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0 20px;
  border: 1px solid rgba(232, 250, 255, 0.42);
  border-radius: 999px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.12);
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 42px);
  font-size: 14px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

.nav-links a {
  position: relative;
  padding: 11px 0;
}

.nav-links a.is-active {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 18px rgba(255, 47, 172, 0.78);
}

.hero-panel {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 20px 96px;
}

.eyebrow {
  position: absolute;
  top: 39%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: var(--pink);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 900;
  letter-spacing: 4px;
  text-shadow: 0 0 14px rgba(255, 47, 172, 0.9);
  white-space: nowrap;
}

.hero-panel h1 {
  margin: 0;
  font-family: "Segoe UI Light", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(72px, 19vw, 236px);
  font-weight: 100;
  line-height: 0.8;
  letter-spacing: clamp(18px, 4.8vw, 76px);
  text-indent: clamp(18px, 4.8vw, 76px);
  text-shadow: 0 0 24px rgba(230, 249, 255, 0.35);
}

.caption-line {
  position: absolute;
  display: none;
  left: 20px;
  right: 20px;
  bottom: 102px;
  margin: 0;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 900;
  color: #fff;
  text-shadow:
    0 3px 0 #111,
    0 0 8px rgba(255, 255, 255, 0.35);
}

.transport {
  position: fixed;
  z-index: 32;
  left: 28px;
  right: 28px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.transport::before {
  content: "";
  position: absolute;
  left: 130px;
  right: 230px;
  bottom: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink) 0 14%, rgba(255, 255, 255, 0.42) 14%);
}

.transport-left,
.transport-center,
.transport-right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.transport-center {
  justify-content: center;
}

.transport-right {
  justify-content: flex-end;
}

.bars {
  display: flex;
  gap: 4px;
  align-items: end;
}

.bars span {
  width: 5px;
  height: 18px;
  background: currentColor;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.44);
}

.bars span:nth-child(2n) {
  height: 24px;
}

.bars span:nth-child(3n) {
  height: 14px;
}

.project-system {
  position: relative;
  z-index: 8;
  min-height: 100vh;
  padding-top: 88px;
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.36), rgba(55, 124, 148, 0.22)),
    rgba(4, 12, 18, 0.46);
  backdrop-filter: blur(4px);
}

.ticker {
  position: sticky;
  z-index: 9;
  top: 0;
  height: 30px;
  display: block;
  overflow: hidden;
  font-size: 12px;
  background: rgba(2, 5, 8, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ticker strong {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 244px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  white-space: nowrap;
  background: var(--pink);
  box-shadow: 0 0 12px rgba(255, 47, 172, 0.65);
}

.ticker span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  min-width: max-content;
  padding-left: 24px;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

.section-kicker {
  position: absolute;
  z-index: 11;
  top: 150px;
  left: 34px;
  margin: 0;
  color: #d9e9ff;
  font-size: 13px;
  letter-spacing: 2px;
  text-shadow: 0 0 14px rgba(82, 140, 255, 0.9);
}

.project-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(180px, 22vw, 300px);
  min-height: calc(100vh - 88px);
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  user-select: none;
}

.project-rail::-webkit-scrollbar {
  display: none;
}

.project-rail.is-pointer-down,
.project-rail.is-dragging {
  cursor: grabbing;
}

.project-rail.is-dragging {
  scroll-snap-type: none;
}

.project-card {
  position: relative;
  height: calc(100vh - 88px);
  min-height: calc(100vh - 88px);
  overflow: hidden;
  cursor: inherit;
  scroll-snap-align: start;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d2028;
  transition: width 320ms ease, filter 320ms ease, opacity 320ms ease;
  -webkit-user-drag: none;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 320ms ease;
}

.project-card:hover::after {
  background: transparent;
}

.project-card img,
.project-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.07) contrast(1.05);
  -webkit-user-drag: none;
}

.project-card.is-opening {
  pointer-events: none;
}

.project-card.is-opening img,
.project-card.is-opening video {
  opacity: 0.12;
}

.project-card.is-muted img,
.project-card.is-muted video {
  filter: saturate(1.07) contrast(1.05);
}

.card-copy {
  display: none;
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 12px;
  bottom: 44px;
}

.card-copy h3 {
  margin: 0;
  max-width: 9ch;
  color: #fff;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.7);
}

.card-copy span {
  display: block;
  margin-top: 6px;
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 900;
}

.profile-band {
  position: relative;
  z-index: 8;
  min-height: 64vh;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 120px clamp(28px, 8vw, 120px);
  background: rgba(4, 10, 14, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-band p {
  margin: 0;
  color: var(--pink);
  font-family: "Lucida Console", "Courier New", monospace;
  font-weight: 900;
  letter-spacing: 3px;
}

.profile-band h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(34px, 6vw, 84px);
  line-height: 0.96;
  font-weight: 800;
}

.page-detail .site-frame {
  min-height: 100vh;
}

.detail-view {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  overflow: hidden;
}

.page-detail .detail-media {
  position: fixed;
  filter: saturate(1.08) contrast(1.03);
}

.page-detail.is-detail-opening .detail-tint,
.page-detail.is-detail-opening .noise,
.page-detail.is-detail-opening .detail-copy,
.page-detail.is-detail-opening .detail-meta,
.page-detail.is-detail-opening .pink-orbit,
.page-detail.is-detail-opening .topbar,
.page-detail.is-detail-opening .transport {
  animation: detailUiIn 520ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.page-detail.is-detail-opening .detail-tint,
.page-detail.is-detail-opening .noise {
  animation-delay: 120ms;
}

.page-detail.is-detail-opening .topbar,
.page-detail.is-detail-opening .transport {
  animation-delay: 170ms;
}

.page-detail.is-detail-opening .detail-copy,
.page-detail.is-detail-opening .detail-meta,
.page-detail.is-detail-opening .pink-orbit {
  animation-delay: 240ms;
}

@keyframes detailUiIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-tint {
  display: none;
  background: transparent;
  backdrop-filter: none;
}

.detail-copy {
  position: fixed;
  z-index: 9;
  left: clamp(22px, 4vw, 64px);
  bottom: 70px;
}

.detail-copy p {
  margin: 0 0 8px;
  color: rgba(245, 255, 255, 0.74);
  font-size: 12px;
  letter-spacing: 2px;
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 116px);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}

.detail-meta {
  position: fixed;
  z-index: 9;
  top: 150px;
  left: 34px;
  display: grid;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #dbefff;
  text-shadow: 0 0 12px rgba(56, 121, 255, 0.88);
}

.detail-meta strong {
  color: var(--white);
  font-size: 42px;
  letter-spacing: 0;
}

.pink-orbit {
  position: fixed;
  z-index: 12;
  right: clamp(24px, 4vw, 56px);
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 18px rgba(255, 47, 172, 0.9);
  font-size: 22px;
}

.page-admin {
  background: #061016;
}

.admin-frame {
  min-height: 100vh;
  overflow: visible;
}

.admin-shell {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 28px;
  padding: 128px clamp(18px, 4vw, 56px) 48px;
}

.admin-hero {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.admin-hero .section-kicker {
  position: static;
}

.admin-hero h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.88;
  font-weight: 900;
}

.admin-hero p {
  margin: 0;
  max-width: 720px;
  color: rgba(247, 251, 255, 0.72);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.7;
}

.admin-panel {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-form,
.admin-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(141, 190, 207, 0.19), rgba(3, 7, 10, 0.42));
  box-shadow:
    inset 0 0 18px rgba(226, 252, 255, 0.12),
    0 16px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.admin-form {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: rgba(247, 251, 255, 0.78);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px;
}

.admin-form input,
.admin-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--white);
  font: inherit;
  background: rgba(2, 5, 8, 0.58);
  border: 1px solid rgba(231, 249, 255, 0.28);
  border-radius: 0;
  outline: none;
}

.admin-form input[type="file"] {
  min-height: 46px;
  padding: 11px;
}

.admin-form input:focus,
.admin-form select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 16px rgba(255, 47, 172, 0.35);
}

.admin-actions,
.admin-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-actions button,
.admin-card-actions button {
  min-height: 38px;
  padding: 0 16px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid rgba(231, 249, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
}

.admin-actions button:first-child,
.admin-card-actions button:first-child {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 0 18px rgba(255, 47, 172, 0.55);
}

.admin-message {
  min-height: 18px;
  margin: 0;
  color: var(--pink);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.admin-thumb {
  width: 140px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d2028;
}

.admin-thumb img,
.admin-thumb video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.admin-card-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.admin-card-copy strong {
  font-size: clamp(20px, 2vw, 32px);
  line-height: 0.95;
}

.admin-card-copy span {
  color: rgba(247, 251, 255, 0.68);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
}

.nav-links button {
  padding: 11px 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-shadow: inherit;
}

.login-frame {
  min-height: 100vh;
}

.login-shell {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
  padding: 128px clamp(20px, 7vw, 112px) 56px;
}

.login-copy {
  display: grid;
  gap: 14px;
}

.login-copy .section-kicker {
  position: static;
}

.login-copy h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 136px);
  line-height: 0.84;
  font-weight: 900;
  text-shadow: 0 0 22px rgba(255, 47, 172, 0.22);
}

.login-copy p:last-child {
  max-width: 560px;
  margin: 0;
  color: rgba(247, 251, 255, 0.72);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.8;
}

.login-panel {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(141, 190, 207, 0.24), rgba(3, 7, 10, 0.56)),
    rgba(2, 6, 9, 0.52);
  box-shadow:
    inset 0 0 22px rgba(226, 252, 255, 0.14),
    0 22px 64px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.login-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(231, 249, 255, 0.18);
  font-family: "Lucida Console", "Courier New", monospace;
  font-weight: 900;
}

.login-panel-head span {
  color: var(--pink);
  font-size: 12px;
}

.login-panel label {
  display: grid;
  gap: 8px;
  color: rgba(247, 251, 255, 0.8);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--white);
  font: inherit;
  background: rgba(2, 5, 8, 0.62);
  border: 1px solid rgba(231, 249, 255, 0.3);
  outline: none;
}

.login-panel input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 18px rgba(255, 47, 172, 0.35);
}

.login-panel button[type="submit"] {
  min-height: 48px;
  margin-top: 2px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--pink);
  box-shadow: 0 0 22px rgba(255, 47, 172, 0.62);
}

.admin-brand {
  min-width: 160px;
}

.split-admin-shell {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: 12px;
  padding: 94px 18px 20px;
}

.admin-library,
.editor-panel {
  min-height: calc(100vh - 128px);
  border: 1px solid rgba(231, 249, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(127, 181, 197, 0.16), rgba(2, 7, 10, 0.54)),
    rgba(4, 14, 19, 0.68);
  box-shadow:
    inset 0 0 28px rgba(226, 252, 255, 0.1),
    0 20px 58px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.admin-library {
  display: grid;
  grid-template-rows: auto 1fr 1fr;
  gap: 12px;
  padding: 20px 24px 20px;
  overflow: hidden;
}

.admin-titlebar,
.lane-head,
.editor-head,
.editor-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-titlebar .section-kicker,
.editor-head .section-kicker {
  position: static;
  margin-bottom: 5px;
}

.admin-titlebar h1,
.lane-head h2,
.editor-head h2 {
  margin: 0;
  line-height: 0.96;
  font-weight: 900;
}

.admin-titlebar h1 {
  font-size: clamp(26px, 3vw, 42px);
}

.lane-head h2,
.editor-head h2 {
  font-size: clamp(22px, 2.1vw, 34px);
}

.lane-head p {
  margin: 7px 0 0;
  color: rgba(247, 251, 255, 0.64);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
}

.admin-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
}

.admin-stats span,
.lane-actions span,
.editor-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: rgba(247, 251, 255, 0.72);
  border: 1px solid rgba(231, 249, 255, 0.18);
  background: rgba(2, 5, 8, 0.28);
}

.admin-stats strong {
  color: var(--pink);
  font-size: 18px;
}

.media-lane {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(231, 249, 255, 0.2);
}

.lane-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lane-actions button,
.editor-head button,
.admin-actions button {
  min-height: 38px;
  padding: 0 16px;
  color: var(--white);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(231, 249, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.lane-actions button,
.admin-actions button:first-child {
  border-color: var(--pink);
  background: var(--pink);
  box-shadow: 0 0 18px rgba(255, 47, 172, 0.58);
}

.work-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(86px, 9vw, 124px);
  gap: 8px;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 47, 172, 0.72) rgba(255, 255, 255, 0.08);
}

.work-card {
  position: relative;
  height: 100%;
  min-height: 254px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 10px 9px 12px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(231, 249, 255, 0.24);
  background: rgba(2, 5, 8, 0.34);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.work-card:active {
  cursor: grabbing;
}

.media-lane-image .work-card {
  min-height: 232px;
}

.work-card:hover,
.work-card.is-selected {
  border-color: var(--pink);
  box-shadow:
    inset 0 0 0 1px rgba(255, 47, 172, 0.42),
    0 0 24px rgba(255, 47, 172, 0.24);
}

.work-card.is-drag-source {
  opacity: 0.36;
  transform: scale(0.98);
}

.work-card:hover {
  transform: translateY(-2px);
}

.work-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 7, 10, 0.04), rgba(3, 7, 10, 0.78)),
    rgba(96, 187, 212, 0.12);
}

.work-media img,
.work-media video,
.editor-preview img,
.editor-preview video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-index,
.work-badge,
.work-title,
.work-sub {
  position: relative;
  z-index: 1;
}

.work-index {
  position: absolute;
  top: 10px;
  left: 9px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
}

.work-badge {
  position: absolute;
  top: 10px;
  right: 9px;
  color: var(--pink);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 10px;
  font-weight: 900;
}

.work-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.08;
}

.work-sub {
  color: rgba(247, 251, 255, 0.62);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
}

.add-work-card {
  place-items: center;
  align-content: center;
  text-align: center;
  border-style: dashed;
  color: rgba(247, 251, 255, 0.74);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
}

.add-mark {
  display: block;
  color: rgba(247, 251, 255, 0.9);
  font-size: 46px;
  line-height: 1;
}

.editor-panel {
  position: sticky;
  top: 92px;
  height: calc(100vh - 116px);
  display: grid;
  grid-template-rows: auto minmax(260px, 0.72fr) auto;
  gap: 14px;
  padding: 22px;
  overflow: auto;
}

.editor-preview {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #0d2028;
  border: 1px solid rgba(231, 249, 255, 0.2);
}

.preview-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  font-family: "Lucida Console", "Courier New", monospace;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.preview-overlay span {
  color: var(--pink);
  font-size: 11px;
}

.preview-overlay strong {
  text-align: right;
  font-size: 13px;
}

.empty-preview {
  height: 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: rgba(247, 251, 255, 0.7);
  font-family: "Lucida Console", "Courier New", monospace;
  border: 1px dashed rgba(231, 249, 255, 0.28);
}

.empty-preview strong {
  color: var(--white);
  font-size: 16px;
}

.editor-form {
  display: grid;
  gap: 12px;
}

.account-panel {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(231, 249, 255, 0.22);
}

.account-head {
  margin-bottom: 14px;
}

.account-head span {
  padding: 7px 10px;
  color: var(--white);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(231, 249, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.account-password-row {
  grid-template-columns: 1fr 1fr;
}

.editor-form label {
  display: grid;
  gap: 7px;
  color: rgba(247, 251, 255, 0.78);
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.editor-form input,
.editor-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--white);
  font: inherit;
  background: rgba(2, 5, 8, 0.58);
  border: 1px solid rgba(231, 249, 255, 0.28);
  outline: none;
}

.editor-form input[type="file"] {
  min-height: 46px;
  padding: 11px;
  border-style: dashed;
}

.editor-form input:focus,
.editor-form select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 16px rgba(255, 47, 172, 0.35);
}

.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 880px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    height: 56px;
    min-height: 56px;
    padding: 0 14px;
  }

  .brand-pill {
    display: none;
  }

  .nav-links {
    grid-column: auto;
    justify-self: end;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 0;
    font-size: 12px;
  }

  .channel {
    font-size: 11px;
    min-width: 0;
    overflow: hidden;
    gap: 7px;
  }

  .hero-panel h1 {
    font-size: clamp(56px, 22vw, 120px);
    letter-spacing: 13px;
    text-indent: 13px;
  }

  .eyebrow {
    top: 42%;
    font-size: 11px;
    letter-spacing: 2px;
  }

  .project-rail {
    grid-auto-columns: 42vw;
  }

  .transport {
    left: 18px;
    right: 18px;
    bottom: 14px;
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 11px;
    padding: 8px 10px;
    border: 1px solid rgba(222, 247, 255, 0.18);
    border-radius: 12px;
    background: rgba(4, 12, 18, 0.24);
    backdrop-filter: blur(8px);
  }

  .transport::before {
    display: none;
  }

  .transport-center,
  .transport-right {
    justify-content: flex-start;
  }

  .caption-line {
    bottom: 146px;
    font-size: 22px;
  }

  .card-copy {
    bottom: 116px;
  }

  .detail-copy {
    bottom: 142px;
  }

  .admin-panel {
    grid-template-columns: 1fr;
  }

  .admin-form {
    position: static;
  }

  .admin-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .admin-thumb {
    width: 112px;
  }

  .admin-card-actions {
    grid-column: 1 / -1;
  }

  .login-shell {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .split-admin-shell {
    grid-template-columns: 1fr;
    padding-top: 92px;
  }

  .editor-panel {
    position: relative;
    top: auto;
    height: auto;
  }

  .admin-library {
    min-height: 780px;
  }

  .upload-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .topbar {
    top: 14px;
    left: 18px;
    right: 18px;
    border-radius: 999px;
  }

  .channel strong:last-child,
  .channel span:first-of-type {
    display: none;
  }

  .nav-links a {
    padding: 9px 0;
  }

  .nav-links a.is-active {
    padding: 9px 13px;
  }

  .hero-panel {
    padding-top: 92px;
  }

  .hero-panel h1 {
    font-size: clamp(52px, 18vw, 86px);
    letter-spacing: 12px;
    text-indent: 12px;
  }

  .project-rail {
    grid-auto-columns: 68vw;
  }

  .project-system {
    padding-top: 78px;
  }

  .ticker {
    height: 28px;
    font-size: 10px;
  }

  .section-kicker {
    top: 132px;
    left: 28px;
    font-size: 12px;
  }

  .card-copy h3 {
    font-size: 34px;
  }

  .card-copy span {
    font-size: 30px;
  }

  .transport-left,
  .transport-center,
  .transport-right {
    gap: 12px;
    flex-wrap: wrap;
  }

  .transport-right {
    display: none;
  }

  .bars span {
    width: 4px;
    height: 15px;
  }

  .bars span:nth-child(2n) {
    height: 20px;
  }

  .caption-line {
    bottom: 154px;
    font-size: 21px;
  }

  .detail-copy {
    left: 22px;
    right: 22px;
    bottom: 132px;
  }

  .detail-copy h1 {
    font-size: clamp(42px, 14vw, 66px);
  }

  .detail-meta {
    top: 112px;
    left: 22px;
  }

  .pink-orbit {
    right: 22px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 390px) {
  .topbar {
    left: 14px;
    right: 14px;
    padding-inline: 12px;
  }

  .channel {
    font-size: 10px;
  }

  .nav-links {
    gap: 7px;
  }

  .hero-panel h1 {
    font-size: 62px;
    letter-spacing: 10px;
    text-indent: 10px;
  }

  .project-rail {
    grid-auto-columns: 72vw;
  }
}
