:root {
  --ink: #173630;
  --muted: #66776f;
  --line: #d7dfd7;
  --paper: #f7f7f1;
  --card: #fffefa;
  --deep: #143a34;
  --deep2: #24554b;
  --accent: #f1a668;
  --soft: #e6efe8;
  --danger: #a83b44;
  --serif: "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.58 var(--sans);
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: var(--deep);
}
h1,
h2,
h3,
p {
  margin: 0;
}
.screen {
  min-height: 100vh;
}
.login {
  max-width: 440px;
  margin: 0 auto;
  padding: 11vh 24px;
}
.logo {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--deep);
  font: 700 30px var(--serif);
}
.mark {
  color: var(--accent);
  font: 900 32px/1 sans-serif;
  letter-spacing: -7px;
}
.login h1 {
  font: 700 38px/1.25 var(--serif);
  margin: 52px 0 8px;
}
.hint,
.muted {
  color: var(--muted);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.stack {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
  color: #3e584c;
  font-size: 14px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #b9c7bb;
  border-radius: 6px;
  background: #fffefa;
  padding: 10px 11px;
  color: var(--ink);
}
.field textarea {
  resize: vertical;
}
.btn {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  padding: 9px 14px;
  color: var(--ink);
  font-weight: 650;
}
.btn.primary {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}
.btn.accent {
  border-color: var(--accent);
  background: var(--accent);
}
.btn.danger {
  color: var(--danger);
}
.btn.link {
  border: 0;
  padding: 2px;
  color: var(--deep);
  background: transparent;
}
.shell {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: 100vh;
}
.rail {
  background: var(--deep);
  color: #edf5f0;
  padding: 28px 16px;
  position: sticky;
  height: 100vh;
  top: 0;
  display: flex;
  flex-direction: column;
}
.rail .logo {
  color: white;
  font-size: 25px;
}
.space-select {
  margin: 30px 2px 17px;
}
.space-select label,
.eyebrow {
  display: block;
  color: #a6c2b6;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}
.space-select select {
  width: 100%;
  border: 1px solid #507269;
  border-radius: 6px;
  padding: 9px;
  color: #fff;
  background: #285148;
  font-weight: 650;
}
.nav {
  display: grid;
  gap: 4px;
}
.nav button {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 0;
  border-radius: 6px;
  padding: 10px;
  color: #c5d8d0;
  background: transparent;
}
.nav button.active,
.nav button:hover {
  background: #315f54;
  color: white;
}
.nav i {
  font-style: normal;
  width: 19px;
}
.user {
  border-top: 1px solid #396157;
  margin-top: auto;
  padding: 17px 5px 1px;
  font-size: 13px;
}
.user small {
  display: block;
  color: #a6c2b6;
}
.topbar {
  height: 56px;
  padding: 0 clamp(18px, 4vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.view {
  width: min(1400px, 100%);
  margin: auto;
  padding: 36px clamp(18px, 4vw, 62px) 68px;
}
.heading,
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.heading {
  margin-bottom: 24px;
}
.heading h1 {
  font: 700 clamp(31px, 3vw, 48px) / 1.22 var(--serif);
}
.heading p {
  margin-top: 7px;
  color: var(--muted);
}
.grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 22px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin: 23px 0 10px;
}
.section-title h2 {
  font: 700 20px var(--serif);
}
.feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--card);
}
.poster {
  position: relative;
  min-height: 270px;
  padding: 25px 30px;
  color: #fff1d6;
  background: #16473d;
  background-image:
    linear-gradient(115deg, #12443bdd, #12443baa 50%, transparent),
    linear-gradient(#8eaa9b33 1px, transparent 1px),
    linear-gradient(90deg, #8eaa9b33 1px, transparent 1px);
  background-size:
    auto,
    22px 22px,
    22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.poster:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 150px;
  right: -15px;
  top: 58px;
  border: 2px solid #abc9b8;
  transform: rotate(-12deg);
  opacity: 0.65;
}
.poster .eyebrow {
  color: #ffe0a9;
  letter-spacing: 0.1em;
}
.poster h2 {
  font: 700 clamp(29px, 3vw, 45px) / 1.25 var(--serif);
  z-index: 1;
  overflow-wrap: anywhere;
}
.poster small {
  color: #d8ebe0;
  z-index: 1;
}
.feature-copy {
  padding: 26px;
  display: grid;
  align-content: center;
  gap: 11px;
}
.badge {
  display: inline-block;
  width: max-content;
  border-radius: 4px;
  padding: 3px 8px;
  background: #f7e5c9;
  color: #7d5925;
  font-size: 12px;
}
.list {
  padding: 0 15px;
}
.list-item {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 11px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.list-item:last-child {
  border-bottom: 0;
}
.list-item strong,
.list-item small {
  display: block;
}
.list-item small {
  color: var(--muted);
  font-size: 12px;
}
.tag {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  flex: none;
  background: #e1ede2;
  color: #245348;
  font-size: 12px;
  font-weight: 700;
}
.tag.text {
  background: #e4eaf0;
  color: #3e5e70;
}
.tag.audio {
  background: #f3e4d5;
  color: #755031;
}
.tag.c0 {
  background: #ba3d50;
  color: #fff;
}
.tag.c1 {
  background: #263f3a;
  color: #fff;
}
.tag.c2 {
  background: #47788e;
  color: #fff;
}
.grow {
  flex: 1;
  min-width: 0;
}
.arrow {
  font-size: 20px;
  color: #668075;
}
.status {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.notice {
  background: var(--soft);
  border-radius: 7px;
  padding: 11px 13px;
  color: #3d5c4c;
  font-size: 13px;
}
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tab {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 10px;
  background: #fff;
  font-size: 13px;
}
.tab.active {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}
.empty {
  padding: 30px 6px;
  color: var(--muted);
  text-align: center;
}
.work {
  padding: 16px;
}
.work h3 {
  font: 700 18px var(--serif);
}
.work p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}
.work .actions {
  margin-top: 13px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.media {
  width: 100%;
  margin: 12px 0;
  border-radius: 8px;
  background: #182a27;
}
.preview {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  margin: 12px 0;
  border-radius: 7px;
  background: #1c302a;
}
.channel {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.channel:last-child {
  border-bottom: 0;
}
.channel h3 {
  font-size: 16px;
}
.channel p {
  color: var(--muted);
  font-size: 13px;
  margin: 3px 0;
}
.channel-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 17px 0;
}
.drop {
  border: 1px dashed #829e88;
  border-radius: 7px;
  background: #eef4ed;
  padding: 18px;
}
.drop input {
  max-width: 100%;
}
.mobile-submit {
  max-width: 580px;
  margin: 0 auto;
  padding: 28px 20px;
}
.mobile-submit header {
  padding: 6px 0 35px;
}
.mobile-submit h1 {
  font: 700 32px/1.28 var(--serif);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: #193c34;
  color: #fff;
  padding: 10px 16px;
  border-radius: 7px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s;
}
#toast.show {
  opacity: 1;
}
.error {
  color: #a42c37;
  font-size: 13px;
}
.hide {
  display: none;
}
@media (max-width: 860px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .rail {
    height: auto;
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 13px 16px 5px;
  }
  .space-select {
    margin: 0;
  }
  .rail .logo {
    font-size: 22px;
  }
  .nav {
    grid-column: 1/-1;
    display: flex;
    overflow: auto;
    margin-top: 8px;
  }
  .nav button {
    white-space: nowrap;
    padding: 7px 9px;
  }
  .user {
    display: none;
  }
  .view {
    padding-top: 25px;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .poster {
    min-height: 205px;
  }
  .topbar {
    height: 40px;
  }
  .heading {
    align-items: flex-start;
  }
  .heading .btn {
    white-space: nowrap;
  }
}
@media (max-width: 520px) {
  .view {
    padding: 22px 16px 50px;
  }
  .feature-copy {
    padding: 18px;
  }
  .poster h2 {
    font-size: 31px;
  }
  .heading h1 {
    font-size: 31px;
  }
  .grid2 {
    gap: 13px;
  }
  .card {
    padding: 15px;
  }
  .row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
