/* China Movie Metropolis admin UI — visual layer only. */
:root {
  --admin-ink: #101a24;
  --admin-sidebar: #0a131c;
  --admin-sidebar-soft: #111f2c;
  --admin-paper: #f3f5f7;
  --admin-card: #ffffff;
  --admin-text: #2d3a45;
  --admin-muted: #788692;
  --admin-line: #e3e8ec;
  --admin-red: #df1f28;
  --admin-blue: #176b91;
  --admin-green: #138a63;
  --admin-radius: 14px;
  --admin-shadow: 0 18px 50px rgba(16, 26, 36, .08);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--admin-text) !important;
  background: var(--admin-paper) !important;
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

/* Top application bar */
#head {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 9999 !important;
  height: 74px !important;
  color: var(--admin-text) !important;
  background: rgba(255, 255, 255, .97) !important;
  border-bottom: 1px solid var(--admin-line);
  box-shadow: 0 8px 32px rgba(16, 26, 36, .06) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

#head .navz {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: flex;
  align-items: center;
  width: 264px !important;
  height: 74px !important;
  padding: 0 24px;
  background: var(--admin-sidebar) !important;
  line-height: normal !important;
}

#head a.button {
  position: relative;
  display: block;
  margin: 0 !important;
  padding-left: 18px;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 650 !important;
  letter-spacing: .05em;
}

#head a.button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 28px;
  background: var(--admin-red);
  border-radius: 4px;
  transform: translateY(-50%);
}

#head a.button::after {
  content: "CONTENT STUDIO";
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .45);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
}

#head .navy {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: 264px !important;
  display: flex;
  align-items: center;
  width: auto !important;
  height: 74px !important;
  padding: 0 28px;
  box-shadow: none !important;
  line-height: normal !important;
}

#head a.mingcheng {
  display: inline-flex;
  align-items: center;
  max-width: 260px;
  margin: 0 !important;
  overflow: hidden;
}

#head a.mingcheng img {
  width: 235px !important;
  max-width: 100%;
  height: 45px !important;
  object-fit: contain;
  object-position: left center;
}

#head a.admin-brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--admin-ink);
  text-decoration: none;
  line-height: 1.05;
}

#head a.admin-brand-mark strong {
  color: var(--admin-ink);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: .06em;
}

#head a.admin-brand-mark small {
  margin-top: 5px;
  color: var(--admin-muted);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .2em;
}

#head .navy > span {
  display: none !important;
}

#head .navy a.gly,
#head .navy a.glyy,
#head .navy a.glyyy {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-left: 10px;
  padding: 0 14px;
  color: var(--admin-muted) !important;
  background: #f7f8f9;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

#head .navy a.gly {
  max-width: 300px;
  margin-left: auto;
  overflow: hidden;
  background: transparent;
  border-color: transparent;
  text-overflow: ellipsis;
}

#head .navy a.glyy:hover {
  color: var(--admin-blue) !important;
  border-color: rgba(23, 107, 145, .35);
}

#head .navy a.glyyy {
  color: #fff !important;
  background: var(--admin-red);
  border-color: var(--admin-red);
}

#head .navy a.glyyy:hover {
  background: #bc151d;
  border-color: #bc151d;
}

.admin-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  color: var(--admin-ink);
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
}

/* Sidebar */
#sidebar {
  position: fixed !important;
  z-index: 9990 !important;
  top: 74px !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 264px !important;
  padding: 18px 12px 34px;
  overflow-x: hidden;
  overflow-y: auto !important;
  color: rgba(255, 255, 255, .72);
  background: var(--admin-sidebar) !important;
  scrollbar-width: thin;
}

#sidebar::before {
  content: "网站内容";
  display: block;
  padding: 6px 16px 12px;
  color: rgba(255, 255, 255, .34);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

#sidebar ol,
#sidebar ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#sidebar > ul > li {
  margin: 3px 0 !important;
}

#sidebar > ul > li > a,
#sidebar .click_before,
#sidebar .click_after {
  display: flex !important;
  align-items: center;
  width: 100%;
  min-height: 44px !important;
  height: auto !important;
  padding: 9px 14px !important;
  color: rgba(255, 255, 255, .68) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-indent: 0 !important;
  cursor: pointer;
}

#sidebar > ul > li > a[style*="background:#222"],
#sidebar > ul > li > a:hover,
#sidebar .click_after,
#sidebar .click_before:hover {
  color: #fff !important;
  background: var(--admin-sidebar-soft) !important;
}

#sidebar > ul > li > a[style*="background:#222"]::after,
#sidebar .click_after::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  background: var(--admin-red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(223, 31, 40, .12);
}

#sidebar ul li a img,
#sidebar .click_before img,
#sidebar .click_after img {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-right: 11px;
  padding: 0 !important;
  opacity: .62 !important;
  filter: grayscale(1) brightness(2);
}

#sidebar .click_before_ul {
  height: 0;
  margin: 2px 0 4px !important;
  overflow: hidden;
  opacity: 0;
  background: rgba(255, 255, 255, .025) !important;
  border-radius: 9px;
  transition: height .18s ease, opacity .18s ease;
}

#sidebar .click_before_ul[style*="display: block"],
#sidebar .click_before_ul[style*="display:block"] {
  height: auto !important;
  opacity: 1 !important;
}

#sidebar ul li li a {
  display: block !important;
  min-height: 36px;
  height: auto !important;
  padding: 9px 14px 9px 43px !important;
  color: rgba(255, 255, 255, .48) !important;
  background: transparent !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  text-indent: 0 !important;
}

#sidebar ul li li a:hover,
#sidebar ul li li.current a {
  color: #fff !important;
  background: rgba(255, 255, 255, .05) !important;
}

/* Main workspace */
#content {
  width: auto !important;
  max-width: 1680px;
  min-height: calc(100vh - 74px);
  margin: 74px 28px 0 292px !important;
  padding: 34px 0 70px !important;
  color: var(--admin-text) !important;
  font-size: 14px !important;
}

#content > h1 {
  display: flex;
  align-items: center;
  height: auto !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--admin-ink) !important;
  font-family: inherit !important;
  font-size: 25px !important;
  font-weight: 650 !important;
  letter-spacing: -.02em !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
}

#content > h1::after {
  content: "内容管理工作台";
  margin-left: 14px;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
}

#content > h1 img {
  width: 26px;
  height: 26px;
  margin-right: 10px;
  opacity: .72;
  vertical-align: middle !important;
}

#content > h1 a {
  color: var(--admin-ink) !important;
}

#content .bloc {
  margin-top: 22px !important;
  overflow: visible !important;
  background: var(--admin-card) !important;
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  box-shadow: var(--admin-shadow);
}

#content.white .bloc .title,
#content .bloc .title {
  min-height: 52px;
  padding: 14px 20px !important;
  color: var(--admin-ink) !important;
  background: #fff !important;
  border-bottom: 1px solid var(--admin-line) !important;
  border-radius: var(--admin-radius) var(--admin-radius) 0 0;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 24px;
}

#content .bloc .title:empty {
  display: none;
}

#content .bloc .title a {
  color: var(--admin-blue) !important;
}

#content .bloc .content {
  padding: 22px !important;
  background: #fff !important;
  border-radius: 0 0 var(--admin-radius) var(--admin-radius);
}

#content .left,
#content .right,
#content .left11,
#content .right11 {
  width: auto !important;
  float: none !important;
}

#content .left,
#content .right {
  display: inline-block;
  width: calc(50% - 13px) !important;
  vertical-align: top;
}

#content .right {
  margin-left: 20px;
}

/* Tables */
.admin-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
}

#content .admin-table-scroll table:not(.noalt) {
  min-width: 720px;
  margin: 0;
}

#content .admin-table-scroll table.noalt {
  min-width: 0;
  margin: 0;
  table-layout: fixed;
}

#content table.noalt td {
  width: auto !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

#content table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  color: var(--admin-text);
}

#content table thead tr th {
  height: 46px !important;
  padding: 0 14px !important;
  color: #667480 !important;
  background: #f7f9fa;
  border-bottom: 1px solid var(--admin-line) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  white-space: nowrap;
}

#content table tbody tr td,
#content table.noalt tbody tr td {
  min-height: 50px;
  height: auto !important;
  padding: 12px 14px !important;
  background: #fff !important;
  border-bottom: 1px solid #edf0f2 !important;
  vertical-align: middle !important;
}

#content table tbody tr:last-child td {
  border-bottom: 0 !important;
}

#content table tbody tr:hover td {
  background: #fafbfc !important;
}

#content table tbody tr td img {
  max-width: 90px;
  height: auto;
  padding: 0 !important;
  border-radius: 7px;
}

#content table .actions a,
#content table td a {
  color: var(--admin-blue);
}

#content table .actions a {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 5px 9px;
  background: rgba(23, 107, 145, .08);
  border-radius: 7px;
  font-size: 12px;
}

#content table .actions a:hover {
  color: #fff;
  background: var(--admin-blue);
}

/* Search and list actions */
#content .leftss,
#content .tj03 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

#content .tj02 {
  display: flex;
  gap: 8px;
  margin-left: 10px !important;
}

.inpMain,
#content .bloc .input input,
#content .bloc .input select,
#content .bloc .input textarea,
#content input[type="text"],
#content input[type="password"],
#content input[type="email"],
#content input[type="number"],
#content input[type="search"],
#content select,
#content textarea {
  max-width: 100%;
  color: var(--admin-text) !important;
  background: #fff !important;
  border: 1px solid #ccd4da !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font: inherit;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

#content .bloc .input input,
#content .bloc .input select,
#content input[type="text"],
#content input[type="password"],
#content input[type="email"],
#content input[type="number"],
#content input[type="search"],
#content select,
.inpMain {
  width: min(100%, 720px) !important;
  min-height: 42px !important;
  height: auto !important;
  padding: 8px 12px !important;
  line-height: 24px !important;
  text-indent: 0 !important;
}

#content textarea {
  width: min(100%, 920px) !important;
  min-height: 110px;
  padding: 12px !important;
  resize: vertical;
}

#content input:focus,
#content select:focus,
#content textarea:focus {
  border-color: var(--admin-blue) !important;
  box-shadow: 0 0 0 3px rgba(23, 107, 145, .11) !important;
}

#content .bloc .input {
  position: relative;
  padding: 20px 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid #edf0f2;
}

#content .bloc .input:last-child {
  border-bottom: 0;
}

.huic label,
.haha span,
#content .bloc .input > label {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--admin-ink) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.5;
}

.huic input,
.huic textarea {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#content .bloc .input > span {
  display: inline-block;
  margin: 0 0 10px 0 !important;
  color: var(--admin-muted);
  font-size: 12px;
}

#content .selector,
#content .selector select,
#content .selector span,
#deal_action,
#select_hidden select,
#new_cat_id,
#tableaction {
  width: 220px !important;
  min-height: 42px !important;
  height: auto !important;
}

.btnGray,
#content .submit input,
#content .button,
.tj_btn,
#content .tianjia a,
.btn_upload {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px !important;
  height: auto !important;
  padding: 8px 16px !important;
  color: #fff !important;
  background: var(--admin-blue) !important;
  border: 1px solid var(--admin-blue) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-shadow: none !important;
  cursor: pointer;
}

.btnGray:hover,
#content .submit input:hover,
#content .button:hover,
.tj_btn:hover,
#content .tianjia a:hover,
.btn_upload:hover {
  color: #fff !important;
  background: #115676 !important;
  border-color: #115676 !important;
  transform: translateY(-1px);
}

#content .tianjia a {
  background: var(--admin-red) !important;
  border-color: var(--admin-red) !important;
}

#content .tianjia a:hover {
  background: #bc151d !important;
  border-color: #bc151d !important;
}

#content .submit {
  position: sticky;
  bottom: 14px;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  margin: 24px -10px 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(16, 26, 36, .12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

#content .submit input {
  min-width: 120px;
  background: var(--admin-red) !important;
  border-color: var(--admin-red) !important;
}

.admin-form-note {
  margin: 0 0 18px;
  padding: 13px 15px;
  color: #536574;
  background: #f4f8fa;
  border: 1px solid #dce8ee;
  border-left: 4px solid var(--admin-blue);
  border-radius: 9px;
}

.home-section-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 12px;
}

.home-section-switch {
  display: flex;
  align-items: center;
  min-height: 76px;
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
  cursor: pointer;
}

.home-section-switch > span {
  min-width: 0;
  margin-right: auto;
}

.home-section-switch strong,
.home-section-switch small {
  display: block;
}

.home-section-switch strong {
  color: var(--admin-ink);
  font-size: 14px;
}

.home-section-switch small {
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 11px;
}

.home-section-switch input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.home-section-switch i {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  margin-left: 16px;
  background: #cbd3d9;
  border-radius: 999px;
  transition: background .18s ease;
}

.home-section-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(16, 26, 36, .22);
  transition: transform .18s ease;
}

.home-section-switch input:checked + i {
  background: var(--admin-green);
}

.home-section-switch input:checked + i::after {
  transform: translateX(20px);
}

.home-section-switch input:focus + i {
  box-shadow: 0 0 0 3px rgba(23, 107, 145, .16);
}

.home-config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.home-config-card,
.home-content-editor {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(20, 39, 54, .05);
}

.home-config-card__head,
.home-content-editor__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--admin-line);
}

.home-config-card__head > span,
.home-content-editor__head > span {
  min-width: 0;
  margin-right: auto;
}

.home-config-card__head strong,
.home-config-card__head small,
.home-content-editor__head strong,
.home-content-editor__head small {
  display: block;
}

.home-config-card__head strong,
.home-content-editor__head strong {
  color: var(--admin-ink);
  font-size: 15px;
}

.home-config-card__head small,
.home-content-editor__head small {
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 11px;
}

.home-config-card > label,
.home-editor-grid > label {
  display: block;
  margin: 0 0 12px;
  color: #526574;
  font-size: 12px;
  font-weight: 600;
}

.home-config-card input[type="text"],
.home-config-card input[type="number"],
.home-editor-grid input[type="text"],
.home-editor-grid input[type="number"],
.home-editor-grid textarea {
  display: block;
  width: 100% !important;
  margin-top: 6px;
  padding: 10px 12px;
  color: var(--admin-ink);
  background: #f8fafb;
  border: 1px solid #d9e2e7;
  border-radius: 8px;
  box-sizing: border-box;
}

.home-config-card__row,
.home-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: end;
}

.home-config-card__row > label { margin: 0; }
.home-editor-grid__wide { grid-column: 1 / -1; }
.home-content-stack { display: grid; gap: 16px; }
.home-save-bar { position: sticky; bottom: 16px; z-index: 5; margin-top: 22px; }

.home-inline-switch,
.home-check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  color: #526574;
  font-size: 12px;
  cursor: pointer;
}

.home-inline-switch i {
  position: relative;
  width: 42px;
  height: 24px;
  background: #cbd3d9;
  border-radius: 999px;
}

.home-inline-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s ease;
}

.home-inline-switch input { position: absolute; opacity: 0; pointer-events: none; }
.home-inline-switch input:checked + i { background: var(--admin-green); }
.home-inline-switch input:checked + i::after { transform: translateX(18px); }

@media (max-width: 720px) {
  .home-config-card__row,
  .home-editor-grid { grid-template-columns: 1fr; }
  .home-editor-grid__wide { grid-column: auto; }
}

/* Upload areas and editors */
#content input[type="file"] {
  position: relative !important;
  display: block !important;
  width: min(100%, 720px) !important;
  height: auto !important;
  margin: 0 0 14px !important;
  padding: 16px !important;
  overflow: visible !important;
  color: var(--admin-muted);
  background: #f7f9fa;
  border: 1px dashed #b8c3cb;
  border-radius: 11px;
  clip: auto !important;
}

.bjsimg {
  display: inline-block;
  margin-top: 4px;
  padding: 8px;
  background: #f7f9fa;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
}

.bjsimg img {
  display: block;
  width: auto !important;
  min-width: 120px;
  max-width: 260px !important;
  height: auto !important;
  max-height: 180px;
  margin: 0 !important;
  border-radius: 7px;
  object-fit: cover;
}

.more_img {
  width: 112px !important;
  height: 82px !important;
  margin: 8px 8px 4px 0 !important;
  border-radius: 8px;
  object-fit: cover;
}

.more_img_a {
  display: inline-flex !important;
  margin-top: 3px;
  padding: 4px 9px !important;
  color: #b5161e;
  background: rgba(223, 31, 40, .08);
  border: 0 !important;
  border-radius: 7px !important;
  cursor: pointer;
}

#content .container {
  width: 100%;
  max-width: 100%;
}

#content .img-container {
  max-width: 760px;
  background: #eef1f3;
  border-radius: 10px;
}

#content iframe,
#content .edui-editor,
#content .edui-editor-iframeholder {
  max-width: 100% !important;
  border-radius: 9px;
}

.iframe_tan {
  padding: 18px;
  background: #f7f9fa;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
}

.admin-field-help {
  margin-top: 7px;
  color: var(--admin-muted);
  font-size: 12px;
}

.admin-file-name {
  display: inline-block;
  margin-top: 6px;
  color: var(--admin-green);
  font-size: 12px;
}

.admin-publish-guide {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 14px 18px;
  color: #205f4a;
  background: #eef9f4;
  border: 1px solid rgba(19, 138, 99, .18);
  border-radius: 11px;
}

.admin-publish-guide strong {
  flex: 0 0 auto;
  font-size: 13px;
}

.admin-publish-guide span {
  color: #4a665d;
  font-size: 12px;
  line-height: 1.7;
}

.admin-publish-guide.is-pending {
  color: #8a5d13;
  background: #fff8e8;
  border-color: rgba(168, 112, 22, .18);
}

.admin-translation-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 14px;
  padding: 5px 10px;
  color: var(--admin-green);
  background: rgba(19, 138, 99, .08);
  border: 1px solid rgba(19, 138, 99, .18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.admin-translation-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.admin-translation-status.is-off {
  color: #a87016;
  background: rgba(168, 112, 22, .08);
  border-color: rgba(168, 112, 22, .18);
}

/* Pagination */
.tcdPageCode {
  padding: 4px 0 !important;
  color: var(--admin-muted);
}

.tcdPageCode a,
.tcdPageCode span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  margin: 0 3px !important;
  padding: 5px 10px !important;
  border-radius: 8px !important;
}

/* Login */
body.admin-login {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--admin-sidebar) !important;
}

.admin-login .dlding {
  position: absolute !important;
  height: 86px !important;
  color: #fff;
  background: transparent !important;
  box-shadow: none !important;
}

.admin-login .dlnr {
  width: min(100% - 56px, 1280px) !important;
  height: 86px !important;
}

.admin-login .dllogo {
  width: 290px !important;
  height: 86px !important;
  margin-left: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  line-height: 1;
}

.admin-login .dllogo strong {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: .08em;
}

.admin-login .dllogo small {
  margin-top: 7px;
  color: rgba(255, 255, 255, .65);
  font-size: 9px;
  letter-spacing: .24em;
}

.admin-login .dlxinxi {
  margin-right: 0 !important;
  line-height: 86px !important;
}

.admin-login .dlxinxi a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  color: #fff !important;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
}

.admin-login .dlzhong {
  position: relative;
  min-height: 720px;
  height: 100vh !important;
  background:
    linear-gradient(90deg, rgba(4, 10, 16, .8), rgba(4, 10, 16, .3)),
    url(../images/banner/1610614335.jpg) center / cover no-repeat !important;
}

.admin-login .dlzhong::before {
  content: "青岛东方影都\A CONTENT MANAGEMENT";
  position: absolute;
  top: 43%;
  left: max(6vw, calc((100vw - 1280px) / 2));
  color: #fff;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  white-space: pre;
  text-shadow: 0 8px 36px rgba(0, 0, 0, .35);
}

.admin-login .dlzhongj {
  width: min(100% - 56px, 1280px) !important;
  height: 100% !important;
}

.admin-login .dlk {
  top: 50% !important;
  right: 0 !important;
  width: 410px !important;
  height: auto !important;
  min-height: 430px;
  padding: 78px 44px 44px !important;
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  transform: translateY(-48%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.admin-login .dlk::before {
  content: "内容管理后台";
  position: absolute;
  top: 34px;
  left: 44px;
  color: var(--admin-ink);
  font-size: 24px;
  font-weight: 700;
}

.admin-login .dlk::after {
  content: "请使用管理员账号登录";
  position: absolute;
  top: 68px;
  left: 44px;
  color: var(--admin-muted);
  font-size: 12px;
}

.admin-login .dlzhong .input {
  float: none !important;
  margin: 24px 0 0 !important;
}

.admin-login .dlk .input label {
  display: block;
  margin-bottom: 8px;
  color: var(--admin-text) !important;
  font-size: 13px !important;
  font-weight: 600;
}

.admin-login .dlkuang {
  width: 100% !important;
  height: 48px !important;
  padding: 0 14px !important;
  background: #f5f7f8 !important;
  border: 1px solid var(--admin-line) !important;
  border-radius: 10px !important;
  text-indent: 0 !important;
  outline: none;
}

.admin-login .dlkuang:focus {
  background: #fff !important;
  border-color: var(--admin-blue) !important;
  box-shadow: 0 0 0 3px rgba(23, 107, 145, .1);
}

.admin-login .dlzhong .submit {
  margin: 30px 0 0 !important;
  text-align: left !important;
}

.admin-login .dlzhong .submit input {
  width: 100% !important;
  height: 48px !important;
  color: #fff !important;
  background: var(--admin-red) !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 14px;
  cursor: pointer;
}

.admin-login .dlxia {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  z-index: 2;
  width: min(100% - 56px, 1280px) !important;
  height: auto !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, .55) !important;
}

.admin-login .dlxia h5 {
  max-width: 720px;
  color: inherit;
  line-height: 1.7;
}

.admin-login .dlxia img {
  display: none;
}

.admin-toast {
  position: fixed;
  z-index: 1200;
  top: 78px;
  right: 24px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: #fff;
  background: #2b3440;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
  transition: opacity .2s ease, transform .2s ease;
}

.admin-toast.is-success { border-left: 4px solid #5dd39e; }
.admin-toast.is-warning { border-left: 4px solid #f0b44c; }
.admin-toast.is-hidden { opacity: 0; transform: translateY(-8px); pointer-events: none; }

@media (max-width: 1100px) {
  #head .navz,
  #sidebar { width: 232px !important; }
  #head .navy { left: 232px !important; }
  #content { margin-left: 258px !important; }
  #head a.mingcheng { display: none; }
  .admin-login .dlzhong::before { display: none; }
  .admin-login .dlk { right: 50% !important; transform: translate(50%, -48%); }
}

@media (max-width: 820px) {
  #head { height: 64px !important; }
  #head .navz { display: none; }
  #head .navy { left: 0 !important; height: 64px !important; padding: 0 14px; }
  #head .navy a.gly { display: none; }
  .admin-translation-status { padding: 5px 9px; font-size: 0; }
  #head .navy a.glyy,
  #head .navy a.glyyy { padding: 0 11px; }
  .admin-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }

  #sidebar {
    top: 64px !important;
    width: 264px !important;
    visibility: hidden;
    box-shadow: 18px 0 50px rgba(0, 0, 0, .25);
    transform: translateX(-100%);
    transition: transform .2s ease, visibility .2s;
  }

  body.admin-sidebar-open #sidebar {
    visibility: visible;
    transform: translateX(0);
  }

  #content {
    margin: 64px 16px 0 !important;
    padding-top: 24px !important;
  }

  #content .left,
  #content .right {
    display: block;
    width: 100% !important;
    margin-left: 0;
  }

  #content > h1 { font-size: 21px !important; }
  #content > h1::after { display: none; }
  #content .bloc .content { padding: 16px !important; }
  .admin-publish-guide { display: block; }
  .admin-publish-guide span { display: block; margin-top: 5px; }

  #content .bloc.left table.noalt tbody tr {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
  }

  #content .bloc.left table.noalt tbody td {
    display: block;
    padding: 10px 12px !important;
  }

  .admin-login .dlnr,
  .admin-login .dlzhongj,
  .admin-login .dlxia {
    width: calc(100% - 28px) !important;
  }

  .admin-login .dllogo { width: 220px !important; }
  .admin-login .dlk { width: min(420px, calc(100vw - 28px)) !important; padding-right: 28px !important; padding-left: 28px !important; }
  .admin-login .dlk::before,
  .admin-login .dlk::after { left: 28px; }
  .admin-login .dlxia { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
