@font-face {
  font-family:Inter;
  src:url('/assets/font.ttf') format('truetype');
  font-weight:100 900;
  font-display:swap}

:root {
  font-family:Inter,system-ui,sans-serif;
  color:#f4f6fa;
  background:#101219;
  font-synthesis:none;
  --panel:#1a1d27;
  --input:#232733;
  --line:#303542;
  --muted:#a5aab8;
  --blue:#2f8bff;
  --danger:#ff7a7a}

* {
  box-sizing:border-box}
body {
  margin:0}
button,input,select {
  font:inherit}
button,a,input,select {
  outline-offset:4px}
button {
  cursor:pointer}
button:disabled {
  cursor:default;
  opacity:.45}
a {
  color:var(--blue)}
button {
  border:0;
  background:none;
  color:inherit}
svg {
  width:21px;
  height:21px;
  flex-shrink:0}
button svg {
  pointer-events:none}
.boot {
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap}
.boot img {
  width:34px}
.boot p {
  color:var(--muted)}
html {
  scrollbar-gutter:stable}
.shell {
  display:grid;
  grid-template-columns:238px minmax(0,1fr);
  min-height:100vh}
.sidebar {
  position:fixed;
  width:238px;
  inset:0 auto 0 0;
  border-right:1px solid var(--line);
  padding:32px 18px;
  display:flex;
  flex-direction:column;
  background:#12151d}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  padding:0 12px 32px}
.brand img {
  width:29px;
  height:35px}
.brand strong {
  font-size:23px;
  letter-spacing:-.7px}
.brand span {
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:3px;
  letter-spacing:0}
.sidebar nav {
  display:flex;
  flex-direction:column;
  gap:6px}
.nav-item {
  display:flex;
  gap:12px;
  align-items:center;
  width:100%;
  text-align:left;
  padding:12px 14px;
  min-height:44px;
  border-radius:9px;
  font-size:13px;
  font-weight:500;
  color:#aeb6c7;
  margin:0}
.nav-item:hover {
  background:#1c2230}
.nav-item.active {
  background:#193a66;
  color:#8bc1ff}
.sidebar-bottom {
  margin-top:auto}
.account {
  display:flex;
  gap:10px;
  align-items:center;
  padding:16px 9px 5px;
  border-top:1px solid var(--line);
  margin-top:25px}
.avatar {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#293f62;
  color:#a7ccff;
  font-weight:600;
  font-size:12px}
.account-name {
  font-size:11px;
  min-width:0;
  flex:1}
.account-name strong {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:500}
.account-name span {
  font-size:10px;
  display:block;
  color:var(--muted);
  margin-top:5px}
.icon-button {
  display:inline-grid;
  place-items:center;
  border-radius:7px;
  width:33px;
  height:33px;
  color:var(--muted)}
.icon-button:hover {
  background:var(--input);
  color:white}
.workspace {
  grid-column:2;
  min-width:0;
  width:100%}
.content {
  width:100%;
  max-width:1370px;
  margin:0 auto;
  padding:32px 40px 60px}
.heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:40px;
  margin-bottom:24px}
h1 {
  font-size:28px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:-.8px;
  margin:0}
h2 {
  font-size:15px;
  font-weight:600;
  letter-spacing:-.2px;
  margin:0}
p {
  line-height:1.65}
.primary,.secondary,.danger {
  display:inline-flex;
  gap:9px;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 16px;
  border-radius:8px;
  font-size:12px;
  font-weight:500}
.primary {
  background:#2e7ee1;
  color:white}
.primary:hover {
  background:#368aff}
.secondary {
  border:1px solid #373d4d;
  background:#1a1d27}
.secondary:hover {
  background:#232733}
.danger {
  background:#3d252e;
  color:var(--danger)}
.badge {
  display:inline-flex;
  gap:6px;
  align-items:center;
  border-radius:5px;
  padding:5px 8px;
  background:#1e2e2b;
  color:#7bdcbb;
  font-size:10px;
  white-space:nowrap}
.badge.blue {
  background:#1b2e47;
  color:#8bc1ff}
.badge.neutral {
  background:#282d3b;
  color:#aeb6c7}
.banner-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 278px;
  gap:22px}
.card {
  background:var(--panel);
  border:1px solid #2b303d;
  border-radius:12px;
  overflow:hidden}
.card-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:20px 23px;
  border-bottom:1px solid #2b303d}
.card-head p {
  font-size:11px;
  color:var(--muted);
  margin:7px 0 0}
.preview-wrap {
  padding:25px 23px 22px}
.preview-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:15px;
  font-size:10px;
  color:var(--muted)}
.preview-label {
  display:flex;
  align-items:center;
  gap:6px}
.preview {
  position:relative;
  aspect-ratio:8/3;
  border-radius:7px;
  overflow:hidden;
  background:#0e1320;
  display:grid;
  place-items:center}
.preview img,.preview video {
  width:100%;
  height:100%;
  object-fit:contain;
  display:block}
.preview .replay {
  position:absolute;
  right:10px;
  bottom:10px;
  background:#18202fe6;
  width:30px;
  height:30px;
  color:white}
.preview-note {
  margin:14px 0 0;
  display:flex;
  align-items:flex-start;
  gap:7px;
  font-size:10px;
  color:var(--muted);
  line-height:1.7}
.preview-note svg {
  width:14px;
  height:14px;
  margin-top:2px}
.specs {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid #2b303d;
  margin-top:21px;
  padding-top:20px;
  gap:12px}
.specs dt {
  color:var(--muted);
  font-size:10px;
  margin-bottom:8px}
.specs dd {
  font-size:12px;
  margin:0;
  font-weight:500}
.publish-card {
  padding:23px;
  display:flex;
  flex-direction:column;
  gap:19px}
.publish-card .badge {
  align-self:flex-start}
.publish-card p {
  font-size:11px;
  color:var(--muted);
  margin:0}
.publish-card h3 {
  font-size:18px;
  margin:0 0 3px;
  font-weight:550;
  letter-spacing:-.3px}
.detail-line {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:11px}
.detail-line span {
  color:var(--muted)}
.publish-card .secondary {
  width:100%;
  margin-top:auto}
.notice {
  display:flex;
  gap:11px;
  padding:16px 18px;
  border:1px solid #263a51;
  background:#142235;
  border-radius:9px;
  color:#a5bdd9;
  font-size:11px;
  line-height:1.75;
  margin-top:22px}
.notice svg {
  color:#5aa2ff;
  margin-top:2px;
  width:18px}
.section-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:36px 0 16px}
.section-header span {
  color:var(--muted);
  font-size:11px}
.history {
  display:flex;
  flex-direction:column;
  gap:10px}
.history-item {
  display:flex;
  gap:17px;
  align-items:center;
  padding:13px 17px;
  border-radius:9px;
  background:#171b25;
  border:1px solid #292e3b}
.history-thumb {
  width:112px;
  aspect-ratio:8/3;
  object-fit:contain;
  background:#0e1320;
  border-radius:5px}
.history-info {
  flex:1;
  min-width:0}
.history-info strong {
  font-size:12px;
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis}
.history-info p {
  font-size:10px;
  color:var(--muted);
  margin:7px 0 0}
.history-item .secondary {
  font-size:10px;
  min-height:31px;
  padding:7px 11px}
.empty {
  padding:34px;
  text-align:center;
  border:1px dashed #373d4d;
  border-radius:10px;
  color:var(--muted);
  font-size:12px}
.empty svg {
  margin-bottom:10px}
.empty p {
  margin:0}
.table-scroll {
  overflow:auto}
table {
  width:100%;
  border-collapse:collapse;
  font-size:12px}
th {
  text-align:left;
  color:var(--muted);
  font-size:10px;
  font-weight:500;
  letter-spacing:0;
  padding:15px 22px;
  background:#171b25}
td {
  padding:19px 22px;
  border-top:1px solid #292e3b}
td small {
  display:block;
  color:var(--muted);
  margin-top:6px}
td:last-child {
  text-align:right}
.row-actions {
  display:flex;
  gap:8px;
  justify-content:flex-end}
.row-actions button {
  font-size:11px;
  color:#89baff}
.row-actions button.danger-text {
  color:var(--danger)}
.event {
  display:flex;
  gap:13px;
  padding:19px 22px;
  border-top:1px solid var(--line)}
.event:first-child {
  border-top:0}
.event .icon-button {
  background:#222a38;
  color:#91b5e3;
  flex-shrink:0}
.event p {
  margin:0;
  font-size:12px}
.event small {
  font-size:10px;
  color:var(--muted);
  display:block;
  margin-top:7px}
.event time {
  margin-left:auto;
  color:var(--muted);
  font-size:10px;
  white-space:nowrap}
.login {
  min-height:100svh;
  display:grid;
  grid-template-columns:1fr 1fr}
.login-art {
  padding:55px;
  display:flex;
  flex-direction:column;
  background:#12151d;
  border-right:1px solid var(--line)}
.login-art .brand {
  padding:0}
.login-hero {
  margin:auto 0;
  max-width:430px}
.login-hero>img {
  width:100%;
  margin:30px 0;
  border-radius:9px;
  border:1px solid #2b303d}
.login-hero h1 {
  font-size:43px;
  line-height:1.15;
  letter-spacing:-1.8px}
.login-hero p {
  color:#9faec3;
  font-size:13px;
  max-width:340px}
.login-foot {
  font-size:10px;
  color:#7f8da4}
.login-form {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px}
.login-form-inner {
  width:100%;
  max-width:340px}
.login-form-inner>.icon-button {
  background:#1d2c43;
  color:#80b7ff;
  width:44px;
  height:44px;
  margin-bottom:25px}
.login-form h2 {
  font-size:25px;
  letter-spacing:-.7px;
  margin-bottom:12px}
.login-form p {
  font-size:12px;
  color:var(--muted)}
.login-google {
  margin:28px 0;
  min-height:45px}
.login-hint {
  border-top:1px solid var(--line);
  padding-top:20px;
  font-size:10px!important}
.error {
  color:var(--danger)!important}
.setup-note {
  padding:15px;
  border:1px solid #514127;
  background:#2c251b;
  border-radius:8px;
  color:#e1c391;
  font-size:12px;
  line-height:1.75}
dialog {
  color:#f4f6fa;
  background:#1a1d27;
  border:1px solid #373d4d;
  border-radius:14px;
  padding:0;
  width:min(650px,calc(100% - 32px));
  max-height:90svh}
dialog::backdrop {
  background:#060911bf}
dialog .dialog-head {
  padding:23px 25px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line)}
dialog .dialog-content {
  padding:24px 25px}
dialog .dialog-footer {
  padding:18px 25px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:flex-end;
  gap:10px}
label {
  font-size:11px;
  display:block;
  color:#c5c5c7;
  margin-bottom:8px}
input,select {
  border:1px solid #3a4153;
  border-radius:8px;
  background:var(--input);
  color:#f4f6fa;
  padding:12px 13px;
  width:100%;
  font-size:12px}
input:focus,select:focus {
  border-color:var(--blue)}
.field {
  margin-bottom:20px}
.upload-zone {
  border:1px dashed #45516a;
  border-radius:10px;
  padding:29px;
  text-align:center;
  position:relative;
  background:#181f2d}
.upload-zone svg {
  color:#7eb5fa;
  width:28px;
  height:28px;
  margin-bottom:8px}
.upload-zone strong {
  display:block;
  font-size:13px;
  font-weight:500}
.upload-zone p {
  font-size:10px;
  color:var(--muted);
  margin:9px 0 0}
.upload-zone input {
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer}
.upload-result {
  margin-top:20px}
.upload-result img,.upload-result video {
  width:100%;
  aspect-ratio:8/3;
  object-fit:contain;
  background:#0e1320;
  border-radius:7px}
.conversion-note {
  font-size:10px;
  color:var(--muted);
  line-height:1.8;
  margin-top:15px}
.conversion-note strong {
  color:#b4c9e6;
  font-weight:500}
.progress {
  margin-top:18px;
  color:#93bcf1;
  font-size:12px}
.progress progress {
  display:block;
  width:100%;
  height:3px;
  margin-top:12px;
  accent-color:var(--blue)}
.helper {
  font-size:10px;
  color:var(--muted);
  line-height:1.7}
.confirm-preview {
  width:100%;
  aspect-ratio:8/3;
  object-fit:contain;
  border-radius:7px;
  background:#0e1320}
#toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  background:#283348;
  border:1px solid #445775;
  padding:13px 20px;
  font-size:12px;
  border-radius:9px;
  max-width:calc(100% - 30px);
  z-index:5;
  box-shadow:0 5px 30px #0005}
.mobile-nav {
  display:none}

@media(min-width:1500px) {
  .banner-grid {
  grid-template-columns:minmax(0,1fr) 300px}
}

@media(max-width:1120px) {
  .shell {
  grid-template-columns:205px minmax(0,1fr)}
.sidebar {
  width:205px;
  padding-inline:13px}
.content {
  padding:28px 24px 48px}
.banner-grid {
  grid-template-columns:minmax(0,1fr)}
.preview-wrap {
  padding:20px}
.heading {
  align-items:center}
h1 {
  font-size:26px}
}

@media(max-width:700px) {
  .shell {
  display:block}
.sidebar {
  display:none}
.workspace {
  width:100%}
.content {
  padding:24px 18px 90px}
.heading {
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  min-height:38px;
  margin-bottom:20px}
h1 {
  font-size:24px}
.heading .primary,.heading .secondary {
  padding:9px 12px;
  min-height:38px;
  font-size:11px;
  white-space:nowrap}
.card-head {
  padding:17px}
.card-head h2 {
  font-size:13px}
.preview-wrap {
  padding:16px}
.specs dd {
  font-size:11px}
.specs dt {
  font-size:9px}
.publish-card {
  padding:18px}
.publish-card h3 {
  font-size:16px}
.history-item {
  padding:12px;
  gap:11px;
  flex-wrap:wrap}
.history-thumb {
  width:82px}
.history-item .badge {
  font-size:9px}
.history-info strong {
  font-size:11px}
.history-item .secondary {
  font-size:10px}
.history-info p {
  font-size:9px}
.mobile-nav {
  display:flex;
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  padding:8px 12px max(10px,env(safe-area-inset-bottom));
  background:#151922f5;
  backdrop-filter:blur(14px);
  border-top:1px solid var(--line);
  z-index:3;
  gap:8px}
.mobile-nav button {
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  color:var(--muted);
  font-size:9px;
  padding:6px;
  border-radius:7px}
.mobile-nav button.active {
  color:#88bcff;
  background:#1b2e47}
.mobile-nav svg {
  width:19px;
  height:19px}
.login {
  display:block}
.login-art {
  padding:26px 26px 18px;
  border-right:0;
  background:none}
.login-hero {
  display:none}
.login-foot {
  display:none}
.login-form {
  padding:45px 30px}
.login-form-inner {
  max-width:400px}
.event {
  padding:16px;
  gap:10px}
.event p {
  font-size:11px}
.event small {
  font-size:9px;
  overflow-wrap:anywhere}
.event time {
  font-size:9px;
  white-space:normal;
  max-width:70px}
.row-actions {
  flex-wrap:wrap}
th,td {
  padding:15px}
table {
  font-size:11px}
.publish-card .secondary {
  font-size:10px}
.section-header {
  margin-top:28px}
}

@media(prefers-reduced-motion:reduce) {
  * {
  scroll-behavior:auto!important;
  animation:none!important;
  transition:none!important}
}

.login.login-simple {min-height:100svh;display:grid;grid-template-columns:1fr;place-items:center;padding:24px}
.login-simple .login-form {padding:0;width:100%}
.login-simple .login-form-inner {width:100%;max-width:320px;text-align:center}
.login-logo {width:56px;height:64px;object-fit:contain;margin-bottom:16px}
.login-simple h1 {font-size:22px;font-weight:600;letter-spacing:normal;margin:0}
.login-simple .login-google {margin:28px 0 0;display:flex;justify-content:center}
.login-simple .login-google button {width:100%;justify-content:center;min-height:46px}
.login-simple .error:empty {display:none}
.login-simple .error {margin-top:16px}
.heading-actions {display:flex;gap:10px;flex-wrap:wrap}
.carousel-summary {display:grid;gap:8px;margin:20px 0}
.carousel-summary>div {display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--panel);border-radius:8px}
.carousel-summary strong {flex:1;min-width:0;overflow-wrap:anywhere}
.carousel-summary>div>span:last-child {color:var(--muted);font-size:12px}
.carousel-number {color:var(--muted);font-size:12px}
.carousel-item {padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:16px}
.carousel-item-head {display:flex;align-items:center;gap:8px;margin-bottom:16px}
.carousel-item-head>img {width:64px;aspect-ratio:8/3;object-fit:cover;border-radius:4px}
.carousel-item-head>strong {flex:1;min-width:0;overflow-wrap:anywhere}
.carousel-item-head .icon-button {flex-shrink:0;width:32px;height:36px}
.carousel-item .field {margin-bottom:12px}
.carousel-freeze {display:flex;align-items:center;gap:10px;font-size:13px;cursor:pointer}
.carousel-freeze input {width:18px;height:18px;accent-color:var(--blue)}
@media(max-width:480px){.carousel-item-head{flex-wrap:wrap}.carousel-item-head>strong{flex-basis:calc(100% - 80px)}.carousel-summary>div{flex-wrap:wrap}.carousel-summary>div>span:last-child{flex-basis:100%;padding-left:20px}}

