:root {
  --blue: #2667f4;
  --blue-soft: #edf3ff;
  --text: #4c5360;
  --muted: #7f8998;
  --line: #e5e9ef;
  --surface: #ffffff;
  --soft: #f4f6f8;
  --page: #f5f7f9;
  --sidebar: 230px;
  --topbar: 48px;
  --tabbar: 38px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { width: 100%; height: 100%; margin: 0; }

body {
  overflow: hidden;
  color: var(--text);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

button, input { font: inherit; }
button { color: inherit; border: 0; cursor: pointer; }

.topbar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  height: var(--topbar);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #eceff3;
}

.brand {
  width: var(--sidebar);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 50px;
  flex: none;
}

.brand-mark {
  position: relative;
  width: 39px;
  height: 39px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: #ffd50b;
}

.branch {
  position: absolute;
  bottom: -2px;
  width: 2px;
  height: 30px;
  background: #181b1f;
  transform-origin: bottom;
}

.branch-left { left: 17px; transform: rotate(-3deg); }
.branch-right { left: 22px; height: 25px; transform: rotate(31deg); }
.branch-left::before, .branch-left::after, .branch-right::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 12px;
  background: #181b1f;
  transform-origin: bottom;
}
.branch-left::before { left: -4px; top: 4px; transform: rotate(-44deg); }
.branch-left::after { left: 3px; top: 8px; transform: rotate(42deg); }
.branch-right::before { left: 3px; top: -4px; transform: rotate(48deg); }
.branch-dot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #181b1f; }
.dot-one { left: 9px; top: 9px; }
.dot-two { left: 25px; top: 7px; }
.dot-three { left: 30px; top: 12px; }
.brand-name { color: #252a31; font-size: 18px; font-weight: 600; white-space: nowrap; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding-left: 12px;
  color: #9098a6;
  white-space: nowrap;
}
.breadcrumb b { color: #c2c7cf; font-weight: 400; }
.breadcrumb strong { color: #3d4550; font-weight: 600; }

.header-actions { margin-left: auto; height: 100%; display: flex; align-items: center; gap: 12px; padding-right: 12px; }
.locale-switch { width: 94px; height: 32px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #e53935; border-radius: 3px; overflow: hidden; background: #fff; }
.locale-option { min-width: 0; height: 30px; padding: 0; color: #e53935; background: #fff; font-size: 12px; }
.locale-option + .locale-option { border-left: 1px solid #efb2af; }
.locale-option.active { background: #fff1f0; font-weight: 600; }
.locale-option:hover { background: #ffe5e3; }
.round-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3f5f7;
  color: #8993a2;
}
.round-button:hover { background: #e9edf2; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #0c0e11; color: white; font-family: serif; font-size: 21px; }
.icon-search { display: block; width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.icon-search::after { content: ""; position: absolute; width: 5px; height: 2px; right: -5px; bottom: -2px; background: currentColor; transform: rotate(45deg); }
.icon-expand { font-size: 18px; transform: rotate(45deg); }
.icon-bell { position: relative; width: 12px; height: 12px; border: 2px solid currentColor; border-top-left-radius: 7px; border-top-right-radius: 7px; border-bottom: 0; }
.icon-bell::before { content: ""; position: absolute; left: -3px; right: -3px; bottom: -3px; height: 2px; background: currentColor; border-radius: 2px; }
.icon-bell::after { content: ""; position: absolute; left: 3px; bottom: -6px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.icon-gear { font-size: 20px; }

.sidebar {
  position: fixed;
  z-index: 40;
  left: 0;
  top: var(--topbar);
  bottom: 0;
  width: var(--sidebar);
  background: #fff;
  border-right: 1px solid #edf0f3;
  transition: width .2s ease;
}
.side-nav { padding: 6px 8px 50px; }
.nav-item {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  padding: 0 12px;
  text-align: left;
  background: transparent;
  color: #626c7b;
  white-space: nowrap;
}
.nav-item:hover { color: var(--blue); background: #f7f9fb; }
.nav-icon { width: 17px; color: #5b6573; font-size: 15px; text-align: center; }
.chevron { justify-self: end; font-size: 15px; }
.nav-blue { color: var(--blue); font-weight: 600; }
.nav-blue .nav-icon { color: var(--blue); }
.tag-icon { display: block; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px 5px 2px 2px; transform: rotate(-45deg); }
.tag-icon::before { content: ""; display: block; width: 2px; height: 2px; margin: 2px; border: 1px solid currentColor; border-radius: 50%; }
.sub-menu { display: block; overflow: hidden; }
.sub-menu.collapsed { display: none; }
.sub-item { padding-left: 36px; grid-template-columns: 28px 1fr; }
.sub-item.active { color: var(--blue); background: #f0f2f4; font-weight: 600; }
.play-icon { font-size: 16px; }
.sidebar-collapse {
  position: absolute;
  right: 5px;
  bottom: 6px;
  width: 22px;
  height: 26px;
  background: #f5f7f9;
  color: #9ca5b1;
}

.page-tabs {
  position: fixed;
  z-index: 35;
  left: var(--sidebar);
  right: 0;
  top: var(--topbar);
  height: var(--tabbar);
  display: flex;
  align-items: center;
  background: #f3f5f7;
  border-bottom: 1px solid #e8ebef;
}
.tab-strip { min-width: 0; flex: 1; display: flex; align-items: center; gap: 4px; padding: 4px 6px; overflow: hidden; }
.page-tab {
  height: 30px;
  padding: 0 10px;
  flex: none;
  border-radius: 3px;
  color: #737d8c;
  background: #e5e9ee;
  white-space: nowrap;
  font-size: 13px;
}
.page-tab:hover { background: #dbe1e8; }
.page-tab.current { color: #fff; background: var(--blue); }
.page-tab.change-highlight { color: #e53935; }
.page-tab.current.change-highlight { color: #e53935; background: #fff1f0; box-shadow: inset 0 0 0 1px #ef8b87; }
.tab-close { margin-left: 3px; font-size: 16px; vertical-align: -1px; }
.tabs-menu { width: 45px; height: 100%; flex: none; background: #fff; color: #718092; font-size: 18px; }

.main-content {
  position: fixed;
  inset: calc(var(--topbar) + var(--tabbar)) 0 0 var(--sidebar);
  padding: 10px 12px 0;
  overflow: hidden;
  transition: left .2s ease;
}
.breadcrumb strong.change-highlight { color: #e53935; }
.nav-item.schedule-active, .nav-item.schedule-active .nav-icon { color: var(--blue); font-weight: 600; }
.nav-item.sub-item.change-highlight { color: #e53935; }
.nav-item.sub-item.change-highlight.active { color: #e53935; background: #fff1f0; }
.content-panel { height: 100%; display: flex; flex-direction: column; background: #fff; }
.language-tabs { height: 41px; flex: none; display: flex; gap: 35px; align-items: stretch; padding-left: 16px; border-bottom: 1px solid var(--line); }
.language-tab { position: relative; padding: 0 2px; background: transparent; color: #6f7885; }
.language-tab.active { color: var(--blue); font-weight: 600; }
.language-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); }

.filter-bar { min-height: 85px; flex: none; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); }
.filter-bar label { width: 72px; flex: none; color: #5b6572; }
.filter-bar input {
  width: 618px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  outline: none;
  background: #f2f3f5;
  color: #4b5563;
}
.filter-bar input::placeholder { color: #b0b6bf; }
.filter-bar input:focus { box-shadow: inset 0 0 0 1px #8fb1ff; }
.filter-actions { margin-left: auto; display: flex; gap: 10px; }
.button { height: 34px; padding: 0 17px; display: inline-flex; align-items: center; gap: 8px; }
.movie-add-button { color: #e53935; border: 1px solid #e53935; background: #fff1f0; }
.movie-add-button:hover { background: #ffe5e3; }
.movie-add-icon { font-size: 17px; line-height: 1; }
.poster-recommendation-button { color: #e53935; border: 1px solid #e53935; background: #fff; }
.poster-recommendation-button:hover { background: #fff1f0; }
.button.primary { color: #fff; background: var(--blue); }
.button.primary:hover { background: #1758e8; }
.button.muted { color: #626d7c; background: #f1f3f5; }
.button.muted:hover { background: #e6e9ed; }
.mini-search { width: 11px; height: 11px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.mini-search::after { content: ""; position: absolute; width: 4px; height: 2px; right: -4px; bottom: -2px; background: currentColor; transform: rotate(45deg); }
.reset-icon { font-size: 17px; line-height: 1; }

.table-tools { height: 63px; flex: none; display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 0 16px; }
.table-tools button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #f2f4f6; color: #8a95a3; font-size: 17px; }
.table-tools button:hover { color: var(--blue); background: #edf3ff; }
.table-tools .icon-search { width: 11px; height: 11px; }

.table-frame { position: relative; min-height: 0; flex: 1; margin: 0 16px 12px; border: 1px solid #dfe4ea; border-radius: 3px; overflow: hidden; }
.table-scroller { width: 100%; height: 100%; overflow: auto; scrollbar-color: #cbd1d8 #f2f4f6; scrollbar-width: auto; }
.movie-table { width: 2358px; min-width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: #fff; }
.movie-table th, .movie-table td { border-bottom: 1px solid var(--line); padding: 0 12px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-table thead th { position: sticky; top: 0; z-index: 7; height: 41px; color: #363d46; background: #f1f3f5; font-weight: 600; }
.movie-table tbody td { height: 58px; color: #4e5661; background: #fff; }
.movie-table tbody tr:nth-child(even) td { background: #f7f8fa; }
.movie-table tbody tr:hover td { background: #f3f7ff; }
.movie-table .poster-row td { height: 226px; }
.movie-table .sticky-action { position: sticky; right: 0; z-index: 6; box-shadow: -7px 0 10px rgba(51, 61, 72, .08); }
.movie-table thead .sticky-action { z-index: 10; text-align: center; }
.movie-table tbody .sticky-action { padding: 0 20px; }
.movie-table input[type="checkbox"] { width: 14px; height: 14px; margin: 0; accent-color: var(--blue); }
.info-heading { display: flex; align-items: center; gap: 14px; }
.info-cell { height: 100%; display: flex; align-items: center; gap: 13px; }
.info-cell img { width: 128px; height: auto; max-height: 211px; flex: none; object-fit: cover; display: block; }
.compact-row > td:first-child > input { margin-left: 2px; }
.ellipsis, .code-preview { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.action-links { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: max-content; }
.action-links button { padding: 0; background: transparent; color: var(--blue); white-space: nowrap; }
.action-links button.change-highlight { color: #e53935; }
.action-links button:hover { text-decoration: underline; }
.action-scroll { overflow-x: auto; overflow-y: hidden; padding: 14px 0 8px; scrollbar-color: #cbd1d8 #edf0f3; }
.action-scroll::-webkit-scrollbar { height: 8px; }
.action-scroll::-webkit-scrollbar-track { background: #edf0f3; border-radius: 5px; }
.action-scroll::-webkit-scrollbar-thumb { background: #cbd1d8; border-radius: 5px; }
.action-links.long { justify-content: flex-start; }

.col-info { width: 188px; }
.col-name { width: 180px; }
.col-movie-type { width: 180px; }
.col-type { width: 180px; }
.col-country { width: 180px; }
.col-duration { width: 180px; }
.col-date { width: 180px; }
.col-region { width: 180px; }
.col-desc { width: 180px; }
.col-trailer { width: 180px; }
.col-actions { width: 550px; }

.empty-state { display: none; position: absolute; inset: 41px 0 0; place-items: center; background: white; color: #9aa3af; }
.empty-state.visible { display: grid; }

.schedule-page .schedule-filter-bar { min-height: 73px; gap: 10px; }
.schedule-page .filter-bar label { color: #e53935; }
.schedule-page .filter-bar input { color: #e53935; }
.schedule-page .filter-bar input::placeholder { color: #e98b87; }
.schedule-page .schedule-filter-bar label { width: auto; }
.schedule-page #scheduleMovieSearch { width: 300px; }
.schedule-page #scheduleIdSearch { width: 220px; }
.schedule-filter-bar select { width: 220px; height: 34px; padding: 0 32px 0 12px; border: 0; outline: none; color: #e53935; background: #fff7f6; }
.schedule-filter-bar select:focus { box-shadow: inset 0 0 0 1px #8fb1ff; }
.schedule-page .button.primary { color: #e53935; border: 1px solid #e53935; background: #fff1f0; }
.schedule-page .button.primary:hover { background: #ffe5e3; }
.schedule-page .button.muted { color: #e53935; border: 1px solid #efb2af; background: #fff; }
.schedule-page .table-tools button { color: #7f8998; background: #f2f4f6; }
.schedule-page .table-tools button:hover { color: var(--blue); background: #edf3ff; }
.schedule-page .table-tools button.schedule-new-tool { color: #e53935; background: #fff1f0; }
.schedule-page .table-tools button.schedule-new-tool:hover { color: #e53935; background: #ffe5e3; }
.schedule-page .empty-state { color: #7f8998; }
.schedule-table { width: 2094px; min-width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: #fff; }
.schedule-table th, .schedule-table td { height: 42px; padding: 0 12px; border-bottom: 1px solid var(--line); color: #4e5661; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedule-table thead th { position: sticky; top: 0; z-index: 7; height: 43px; background: #f1f3f5; font-weight: 600; }
.schedule-table tbody td { background: #fff; }
.schedule-table tbody tr:nth-child(even) td { background: #f7f8fa; }
.schedule-table tbody tr:hover td { background: #fff5f4; }
.schedule-table .sticky-action { position: sticky; right: 0; z-index: 6; box-shadow: -7px 0 10px rgba(51, 61, 72, .08); }
.schedule-table thead .sticky-action { z-index: 10; text-align: center; }
.schedule-table input[type="checkbox"] { width: 14px; height: 14px; margin: 0; accent-color: var(--blue); }
.schedule-actions { display: flex; align-items: center; justify-content: center; gap: 12px; }
.schedule-actions button { padding: 0; color: #4e5661; background: transparent; white-space: nowrap; }
.schedule-actions button.schedule-verification-trigger { color: #e53935; }
.schedule-actions button:hover { text-decoration: underline; }
.schedule-col-select { width: 44px; }
.schedule-col-id { width: 110px; }
.schedule-col-hall-id { width: 190px; }
.schedule-col-hall-name { width: 190px; }
.schedule-col-cinema-id { width: 100px; }
.schedule-col-cinema-name { width: 190px; }
.schedule-col-movie-id { width: 200px; }
.schedule-col-movie-name { width: 140px; }
.schedule-col-session { width: 200px; }
.schedule-col-time { width: 185px; }
.schedule-col-zone { width: 130px; }
.schedule-col-actions { width: 230px; }

.user-filter-form { min-height: 122px; flex: none; display: grid; grid-template-columns: minmax(0, 1fr) 108px; border-bottom: 1px solid var(--line); }
.user-filter-grid { min-width: 0; display: grid; grid-template-columns: minmax(500px, 700px) minmax(500px, 700px) 300px; align-content: center; gap: 16px 36px; padding: 16px 24px; }
.user-filter-field { min-width: 0; display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; }
.user-filter-field label { padding-right: 14px; color: #5b6572; text-align: right; white-space: nowrap; }
.user-filter-field input, .user-filter-field select { width: 100%; height: 34px; min-width: 0; padding: 0 13px; border: 0; outline: none; color: #4b5563; background: #f2f3f5; }
.user-filter-field select { padding-right: 32px; }
.user-filter-field input::placeholder { color: #b0b6bf; }
.user-filter-field input:focus, .user-filter-field select:focus { box-shadow: inset 0 0 0 1px #8fb1ff; }
.user-new-filter label, .user-new-filter select { color: #e53935; }
.user-new-filter select { border: 1px solid #efb2af; background: #fffafa; }
.user-login-field { grid-column: 1; }
.user-date-control { position: relative; width: 200px; max-width: 100%; display: block; }
.user-date-control input { padding-right: 38px; }
.calendar-symbol { position: absolute; top: 10px; right: 13px; width: 12px; height: 12px; border: 1.5px solid #7b8797; border-radius: 1px; pointer-events: none; }
.calendar-symbol::before { content: ""; position: absolute; left: -1.5px; right: -1.5px; top: 2px; border-top: 1.5px solid #7b8797; }
.calendar-symbol::after { content: ""; position: absolute; top: -3px; left: 2px; width: 4px; height: 3px; border-right: 1.5px solid #7b8797; border-left: 1.5px solid #7b8797; }
.user-filter-actions { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 12px; padding: 0 16px; border-left: 1px solid #edf0f3; }
.user-filter-actions .button { justify-content: center; padding: 0 10px; }
.user-table-tools { height: 63px; }
.user-table-tools .user-export-button { width: auto; min-width: 78px; padding: 0 13px; display: inline-flex; gap: 7px; border: 1px solid #e53935; border-radius: 3px; color: #e53935; background: #fff1f0; font-size: 13px; }
.user-table-tools .user-export-button:hover { color: #e53935; background: #ffe5e3; }
.user-export-icon { font-size: 17px; line-height: 1; }
.user-table { width: 100%; min-width: 1510px; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: #fff; }
.user-table th, .user-table td { height: 43px; padding: 0 12px; border-bottom: 1px solid var(--line); color: #4e5661; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-table thead th { position: sticky; top: 0; z-index: 7; height: 43px; color: #363d46; background: #f1f3f5; font-weight: 600; }
.user-table tbody td { background: #fff; }
.user-table tbody tr:nth-child(even) td { background: #f7f8fa; }
.user-table tbody tr:hover td { background: #f3f7ff; }
.user-table th.user-field-highlight, .user-table td.user-field-highlight { color: #e53935; }
.user-table input[type="checkbox"] { width: 14px; height: 14px; margin: 0; accent-color: var(--blue); }
.user-actions { display: flex; align-items: center; justify-content: center; gap: 14px; }
.user-actions button { padding: 0; color: var(--blue); background: transparent; }
.user-actions button:hover { text-decoration: underline; }
.user-col-select { width: 56px; }
.user-col-id { width: 130px; }
.user-col-phone { width: 190px; }
.user-col-register { width: 230px; }
.user-col-device { width: 140px; }
.user-col-ip { width: 170px; }
.user-col-login { width: 230px; }
.user-col-view-count { width: 150px; }
.user-col-actions { width: 160px; }

.user-detail-panel { overflow: hidden; background: #f4f6f8; }
.user-detail-scroll { height: 100%; overflow: auto; padding: 10px 12px 30px; scrollbar-color: #efb2af #fff2f1; }
.user-detail-section { border: 1px solid #efb2af; background: #fff; }
.user-detail-section + .user-detail-section { margin-top: 18px; }
.user-detail-section-header { height: 47px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid #f1d8d6; }
.user-detail-section-header h1 { margin: 0; font-size: 15px; font-weight: 600; }
.user-basic-info-grid { min-height: 138px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 32px; align-content: center; column-gap: 120px; padding: 18px 18px; }
.user-info-field { min-width: 0; display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; }
.user-info-field span { opacity: .74; }
.user-info-field strong { overflow: hidden; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.user-viewing-section { min-height: 302px; }
.user-view-count { height: 47px; display: flex; align-items: center; padding: 0 16px; }
.user-view-count strong { font-weight: 600; }
.user-detail-table-frame { position: relative; height: 184px; margin: 0 16px 16px; overflow: hidden; border: 1px solid #efb2af; }
.user-detail-table { width: 1880px; min-width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: #fff; }
.user-detail-table th, .user-detail-table td { height: 43px; padding: 0 14px; border-bottom: 1px solid #f1d8d6; color: #e53935; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-detail-table th { position: sticky; top: 0; z-index: 2; background: #fff1f0; font-weight: 600; }
.user-detail-table tbody tr:nth-child(even) td { background: #fffafa; }
.user-detail-table tbody tr:hover td { background: #fff1f0; }
.user-detail-city { width: 170px; }
.user-detail-cinema { width: 220px; }
.user-detail-hall { width: 180px; }
.user-detail-movie { width: 190px; }
.user-detail-time { width: 210px; }
.user-detail-team { width: 160px; }
.user-detail-path { width: 260px; }
.user-detail-achievement { width: 210px; }
.user-detail-paired { width: 120px; }
.user-detail-empty { display: none; position: absolute; inset: 43px 0 0; place-content: center; justify-items: center; gap: 8px; background: #fff; }
.user-detail-empty.visible { display: grid; }
.user-detail-empty-icon { font-size: 38px; line-height: 1; opacity: .5; }

.user-data-panel { overflow: hidden; }
.user-data-toolbar { height: 58px; flex: none; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--line); }
.user-data-toolbar h1 { margin: 0; font-size: 18px; font-weight: 600; }
.user-data-toolbar label { margin-right: 12px; }
.user-data-toolbar h1 + label { margin-left: auto; }
.user-data-toolbar select + label { margin-left: 18px; }
.user-data-toolbar select { width: 132px; height: 34px; padding: 0 32px 0 12px; border: 1px solid #efb2af; outline: none; color: #e53935; background: #fffafa; }
.user-data-toolbar #userDataMovieFilter { width: 190px; }
.user-data-toolbar select:focus { box-shadow: 0 0 0 2px rgba(229, 57, 53, .1); }
.user-data-scroll { min-height: 0; flex: 1; overflow: auto; padding: 18px 20px 28px; scrollbar-color: #cbd1d8 #f2f4f6; }
.user-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.user-metric-item { min-height: 118px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 6px 12px; padding: 18px 20px; border: 1px solid #e2e6eb; border-radius: 4px; background: #fff; }
.user-metric-item > span { align-self: start; font-weight: 500; }
.user-metric-item > strong { grid-row: 1 / 3; align-self: center; font-size: 34px; line-height: 1; font-weight: 600; }
.user-metric-item > small { align-self: end; opacity: .76; }
.user-chart-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.user-chart-panel { min-width: 0; overflow: hidden; border: 1px solid #e2e6eb; border-radius: 4px; background: #fff; }
.growth-chart-panel { grid-column: span 4; min-height: 332px; }
.view-distribution-panel { grid-column: span 2; min-height: 332px; }
.device-distribution-panel, .region-distribution-panel { grid-column: span 3; min-height: 292px; }
.user-chart-header { height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.user-chart-header h2 { margin: 0; font-size: 15px; font-weight: 600; }
.user-chart-header > :last-child { margin-left: auto; font-size: 13px; font-weight: 500; }
.growth-chart-wrap { height: 268px; padding: 8px 16px 10px; }
.growth-chart { width: 100%; height: 226px; display: block; overflow: visible; }
.growth-chart line { stroke: #e5e9ef; stroke-width: 1; vector-effect: non-scaling-stroke; }
.growth-chart polygon { fill: rgba(229, 57, 53, .08); }
.growth-chart polyline { fill: none; stroke: #e53935; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.growth-chart circle { fill: #fff; stroke: #e53935; stroke-width: 2; vector-effect: non-scaling-stroke; }
.growth-axis { height: 22px; display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 1px 0 38px; font-size: 11px; opacity: .72; }
.growth-axis span { text-align: center; white-space: nowrap; }
.view-distribution-chart { height: 276px; display: grid; grid-template-columns: repeat(5, minmax(38px, 1fr)); align-items: end; gap: 10px; padding: 30px 18px 18px; }
.view-count-column { height: 100%; display: grid; grid-template-rows: 24px minmax(0, 1fr) 34px; justify-items: center; align-items: end; }
.view-count-column b { font-size: 12px; font-weight: 500; }
.view-count-column small { align-self: center; text-align: center; white-space: nowrap; }
.view-count-bar { width: min(34px, 74%); min-height: 4px; border-radius: 3px 3px 0 0; background: #e53935; transition: height .22s ease; }
.view-count-column:nth-child(2) .view-count-bar { background: #247ba0; }
.view-count-column:nth-child(3) .view-count-bar { background: #2a9d8f; }
.view-count-column:nth-child(4) .view-count-bar { background: #e9c46a; }
.view-count-column:nth-child(5) .view-count-bar { background: #6c757d; }
.device-distribution-content { min-height: 238px; display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 28px; padding: 20px 28px; }
.device-donut { position: relative; width: 164px; height: 164px; display: grid; place-content: center; justify-items: center; border-radius: 50%; background: conic-gradient(#247ba0 0 54%, #2a9d8f 54% 100%); }
.device-donut::after { content: ""; position: absolute; inset: 29px; border-radius: 50%; background: #fff; }
.device-donut strong, .device-donut span { position: relative; z-index: 1; }
.device-donut strong { font-size: 28px; line-height: 1.2; }
.device-donut span { margin-top: 4px; font-size: 12px; }
.device-legend { display: grid; gap: 16px; }
.device-legend > div { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.device-swatch { width: 10px; height: 10px; border-radius: 2px; }
.device-swatch.ios { background: #247ba0; }
.device-swatch.android { background: #2a9d8f; }
.region-ranking { min-height: 238px; display: grid; align-content: center; gap: 15px; padding: 22px 28px; }
.region-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 46px; align-items: center; gap: 12px; }
.region-row > div { height: 9px; overflow: hidden; border-radius: 2px; background: #f0f2f4; }
.region-row i { width: 0; height: 100%; display: block; background: #e53935; transition: width .22s ease; }
.region-row:nth-child(2) i { background: #247ba0; }
.region-row:nth-child(3) i { background: #2a9d8f; }
.region-row:nth-child(4) i { background: #e9c46a; }
.region-row:nth-child(5) i { background: #6c757d; }
.region-row strong { text-align: right; font-size: 12px; }

.movie-data-panel { min-height: 0; overflow: hidden; }
.movie-data-header { height: 62px; flex: none; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--line); }
.movie-data-header > div { min-width: 0; display: flex; align-items: baseline; gap: 14px; }
.movie-data-header h1 { margin: 0; font-size: 18px; font-weight: 600; }
.movie-data-header span { font-size: 12px; opacity: .72; }
.movie-data-tabs { height: 47px; flex: none; display: flex; align-items: stretch; gap: 28px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.movie-data-tab { position: relative; padding: 0 2px; color: #e53935; background: transparent; }
.movie-data-tab.active { font-weight: 600; }
.movie-data-tab.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #e53935; }
.movie-data-tab-panel { min-height: 0; flex: 1; padding: 18px 20px 20px; }
.movie-data-table-frame { position: relative; height: 100%; min-height: 280px; overflow: hidden; border: 1px solid #efb2af; border-radius: 3px; }
.movie-data-table { width: 1900px; min-width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: #fff; }
.movie-data-table th, .movie-data-table td { height: 43px; padding: 0 12px; border-bottom: 1px solid #f1d8d6; color: #e53935; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-data-table thead th { position: sticky; top: 0; z-index: 3; height: 43px; background: #fff1f0; font-weight: 600; }
.movie-data-table tbody tr:nth-child(even) td { background: #fffafa; }
.movie-data-table tbody tr:hover td { background: #fff1f0; }
.movie-data-empty { display: none; position: absolute; inset: 43px 0 0; place-items: center; background: #fff; }
.movie-data-empty.visible { display: grid; }
.movie-viewer-panel { padding: 0; overflow: hidden; }
.movie-data-users-scroll { height: 100%; overflow: auto; padding: 18px 20px 28px; scrollbar-color: #efb2af #fff2f1; }
.movie-data-section-heading { height: 45px; display: flex; align-items: center; }
.movie-data-section-heading h2 { margin: 0; font-size: 15px; font-weight: 600; }
.movie-data-section-heading span { margin-left: auto; font-size: 12px; opacity: .78; }
.movie-data-section-heading b { font-weight: 600; }
.movie-viewer-table-frame { height: 390px; min-height: 260px; }
.movie-viewer-table { width: 1430px; }
.movie-viewer-id { width: 130px; }
.movie-viewer-phone { width: 200px; }
.movie-viewer-count { width: 130px; }
.movie-viewer-register, .movie-viewer-login { width: 245px; }
.movie-viewer-achievement { width: 260px; }
.movie-viewer-paired { width: 120px; }
.movie-region-section { margin-top: 22px; }
.movie-region-summary { min-height: 230px; display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 38px; padding: 22px 30px; border: 1px solid #efb2af; border-radius: 3px; background: #fff; }
.movie-region-total { height: 150px; display: grid; place-content: center; justify-items: center; border-right: 1px solid #f1d8d6; }
.movie-region-total span { font-size: 13px; }
.movie-region-total strong { margin-top: 10px; font-size: 38px; line-height: 1; }
.movie-region-list { display: grid; gap: 15px; }
.movie-region-item { display: grid; grid-template-columns: 70px minmax(120px, 1fr) 64px; align-items: center; gap: 14px; }
.movie-region-track { height: 10px; overflow: hidden; border-radius: 2px; background: #fff1f0; }
.movie-region-bar { height: 100%; display: block; background: #e53935; }
.movie-region-item:nth-child(2) .movie-region-bar { background: #247ba0; }
.movie-region-item:nth-child(3) .movie-region-bar { background: #2a8f72; }
.movie-region-item:nth-child(4) .movie-region-bar { background: #d19a23; }
.movie-region-item:nth-child(5) .movie-region-bar { background: #6c757d; }
.movie-region-item strong { text-align: right; font-size: 12px; }

.verification-dialog { width: min(420px, calc(100vw - 48px)); }
.verification-highlight-scope, .verification-highlight-scope button { color: #e53935; }
.verification-body { padding: 34px 24px 26px; text-align: center; }
.verification-code { min-height: 54px; color: #e53935; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 40px; font-weight: 600; line-height: 54px; letter-spacing: 0; }
.verification-status { height: 22px; margin-top: 8px; color: #e53935; line-height: 22px; }
.verification-button { min-width: 76px; height: 34px; padding: 0 16px; border: 1px solid #e53935; color: #e53935; background: #fff; }
.verification-button:hover { background: #f3f5f7; }
.verification-button.primary { border-color: #e53935; background: #fff1f0; }

.change-highlight-scope, .change-highlight-scope button, .change-highlight-scope input { color: #e53935; }
.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(24, 31, 41, .46);
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, visibility .16s ease;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal-dialog {
  width: min(900px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(15, 23, 35, .25);
  transform: translateY(-8px);
  transition: transform .16s ease;
}
.modal-backdrop.open .modal-dialog { transform: translateY(0); }
.modal-header { height: 56px; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font-size: 16px; line-height: 1; font-weight: 600; letter-spacing: 0; }
.modal-close { width: 32px; height: 32px; margin-left: auto; display: grid; place-items: center; background: transparent; font-size: 25px; line-height: 1; }
.modal-close:hover { background: #fff1f0; }
.modal-body { padding: 18px 20px 22px; }
.modal-toolbar { height: 40px; display: flex; justify-content: flex-end; align-items: flex-start; }
.modal-add { height: 32px; display: inline-flex; align-items: center; gap: 5px; padding: 0 15px; border: 1px solid #e53935; background: #fff7f6; }
.modal-add:hover { background: #ffebe9; }
.modal-add span { font-size: 17px; line-height: 1; }
.modal-table-wrap { position: relative; max-height: min(470px, calc(100vh - 190px)); overflow: auto; border: 1px solid #dfe4ea; }
.modal-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.modal-table th, .modal-table td { height: 94px; padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.modal-table th { position: sticky; top: 0; z-index: 1; height: 42px; background: #f1f3f5; font-weight: 600; }
.modal-table th:nth-child(1), .modal-table td:nth-child(1) { width: 90px; }
.modal-table th:nth-child(2), .modal-table td:nth-child(2) { width: 230px; }
.modal-table th:nth-child(3), .modal-table td:nth-child(3) { width: 280px; }
.modal-table th:nth-child(4), .modal-table td:nth-child(4) { width: 190px; }
.modal-table tbody tr:nth-child(even) { background: #fafbfc; }
.modal-table tbody tr:last-child td { border-bottom: 0; }
.modal-table img { width: 150px; height: 72px; display: block; object-fit: cover; border: 1px solid #e3e7ec; }
.modal-table img[hidden] { display: none; }
.background-upload { display: flex; align-items: center; gap: 12px; }
.upload-background { height: 32px; flex: none; padding: 0 12px; border: 1px solid #e53935; background: #fff7f6; }
.upload-background:hover { background: #ffebe9; }
.edit-upload-control[hidden] { display: none; }
.background-name[contenteditable="true"] { display: block; width: 100%; min-height: 32px; padding: 6px 8px; outline: none; border: 1px solid #ef8b87; background: #fffafa; }
.audio-file-display { display: inline-flex; max-width: 100%; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audio-file-icon { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border: 1px solid #ef8b87; border-radius: 50%; font-style: normal; }
.audio-upload { display: flex; align-items: center; gap: 10px; }
.audio-upload .audio-file-display { min-width: 0; flex: 1; }
.upload-audio { height: 32px; flex: none; padding: 0 12px; border: 1px solid #e53935; background: #fff7f6; }
.upload-audio:hover { background: #ffebe9; }
.audio-name[contenteditable="true"] { display: block; width: 100%; min-height: 32px; padding: 6px 8px; outline: none; border: 1px solid #ef8b87; background: #fffafa; }
.modal-actions { display: flex; gap: 18px; }
.modal-actions button { padding: 0; background: transparent; }
.modal-actions button:hover { text-decoration: underline; }
.modal-empty { display: none; height: 120px; place-items: center; background: #fff; }
.modal-empty.visible { display: grid; }
.modal-footer { height: 62px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 20px; border-top: 1px solid var(--line); }
.modal-footer-button { min-width: 76px; height: 34px; padding: 0 16px; border: 1px solid #e53935; background: #fff; }
.modal-footer-button:hover { background: #fff7f6; }
.modal-footer-button.primary { background: #fff1f0; }
.modal-footer-button.primary:hover { background: #ffe5e3; }
.option-language-dialog { width: min(900px, calc(100vw - 48px)); }
.option-language-tabs { display: flex; min-height: 42px; margin-bottom: 16px; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid var(--line); scrollbar-color: #efb2af #fff2f1; }
.option-language-tabs::-webkit-scrollbar { height: 6px; }
.option-language-tabs::-webkit-scrollbar-track { background: #fff2f1; }
.option-language-tabs::-webkit-scrollbar-thumb { background: #efb2af; }
.option-language-tab { position: relative; min-width: max-content; height: 40px; flex: none; padding: 0 15px; background: transparent; }
.option-language-tab:hover { background: #fff7f6; }
.option-language-tab.active { background: #fff7f6; font-weight: 600; }
.option-language-tab.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: #e53935; }
.option-language-table th, .option-language-table td { height: 58px; }
.option-language-table th:nth-child(1), .option-language-table td:nth-child(1) { width: 120px; }
.option-language-table th:nth-child(2), .option-language-table td:nth-child(2) { width: auto; }
.option-language-table th:nth-child(3), .option-language-table td:nth-child(3) { width: 140px; }
.option-language-table.translation-mode th:nth-child(1), .option-language-table.translation-mode td:nth-child(1) { width: 100px; }
.option-language-table.translation-mode th:nth-child(2), .option-language-table.translation-mode td:nth-child(2) { width: 210px; }
.option-language-table.translation-mode th:nth-child(3), .option-language-table.translation-mode td:nth-child(3) { width: auto; }
.option-language-table.translation-mode th:nth-child(4), .option-language-table.translation-mode td:nth-child(4) { width: 110px; }
.translated-option-name { width: 100%; height: 34px; padding: 0 10px; outline: none; border: 1px solid #ef8b87; background: #fffafa; }
.translated-option-name:focus { box-shadow: 0 0 0 2px rgba(229, 57, 53, .1); }
.translated-option-name::placeholder { color: #e98b87; }
.option-image-dialog { width: min(700px, calc(100vw - 48px)); }
.option-image-table th, .option-image-table td { height: 110px; }
.option-image-table th:nth-child(1), .option-image-table td:nth-child(1) { width: 120px; }
.option-image-table th:nth-child(2), .option-image-table td:nth-child(2) { width: auto; }
.option-image-table img { width: 180px; height: 84px; }
.option-image-table img[hidden] { display: none; }
.option-image-upload { display: flex; align-items: center; gap: 14px; }
.upload-option-image { height: 32px; flex: none; padding: 0 12px; border: 1px solid #e53935; background: #fff7f6; }
.upload-option-image:hover { background: #ffebe9; }
.delete-option-image { height: 32px; flex: none; padding: 0 12px; background: transparent; }
.delete-option-image:hover { text-decoration: underline; }
.poster-recommendation-dialog { width: min(560px, calc(100vw - 48px)); }
.poster-recommendation-body { min-height: 126px; display: flex; align-items: center; }
.poster-movie-field { width: 100%; display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 14px; }
.poster-movie-field select { width: 100%; height: 36px; padding: 0 34px 0 12px; border: 1px solid #ef8b87; outline: none; color: #e53935; background: #fffafa; }
.poster-movie-field select:focus { box-shadow: 0 0 0 2px rgba(229, 57, 53, .1); }
.modal-footer-button:disabled { cursor: not-allowed; opacity: .45; }
.subtitle-dialog { width: min(820px, calc(100vw - 48px)); }
.subtitle-modal-body { padding-bottom: 26px; }
.subtitle-language-tabs { min-height: 46px; display: flex; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid var(--line); scrollbar-color: #efb2af #fff2f1; }
.subtitle-language-tabs::-webkit-scrollbar { height: 6px; }
.subtitle-language-tabs::-webkit-scrollbar-track { background: #fff2f1; }
.subtitle-language-tabs::-webkit-scrollbar-thumb { background: #efb2af; }
.subtitle-language-tab { position: relative; min-width: max-content; height: 42px; flex: none; padding: 0 15px; background: transparent; }
.subtitle-language-tab:hover { background: #fff7f6; }
.subtitle-language-tab.active { background: #fff7f6; font-weight: 600; }
.subtitle-language-tab.active::after { content: ""; position: absolute; right: 12px; bottom: 0; left: 12px; height: 2px; background: #e53935; }
.subtitle-language-tab.has-file::before { content: ""; position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: #e53935; }
.subtitle-upload-panel { min-height: 154px; padding: 26px 18px 16px; border-bottom: 1px solid var(--line); }
.subtitle-current-language { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.subtitle-current-language strong { font-size: 15px; }
.subtitle-current-language span { min-width: 38px; height: 22px; display: grid; place-items: center; border: 1px solid #ef8b87; font-size: 11px; }
.subtitle-file-row { min-width: 0; display: flex; align-items: center; gap: 14px; }
.subtitle-upload-button { height: 34px; flex: none; padding: 0 15px; border: 1px solid #e53935; background: #fff7f6; }
.subtitle-upload-button:hover { background: #ffebe9; }
.subtitle-file-name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.subtitle-remove-button { height: 32px; flex: none; padding: 0 10px; background: transparent; }
.subtitle-remove-button:hover { text-decoration: underline; }
.subtitle-file-status { height: 22px; padding-top: 7px; }
.psychology-report-dialog { width: min(680px, calc(100vw - 48px)); }
.psychology-report-table-wrap { max-height: min(420px, calc(100vh - 170px)); }
.psychology-report-table th, .psychology-report-table td { height: 58px; }
.psychology-report-table th:nth-child(1), .psychology-report-table td:nth-child(1) { width: 90px; }
.psychology-report-table th:nth-child(2), .psychology-report-table td:nth-child(2) { width: auto; }
.psychology-report-table th:nth-child(3), .psychology-report-table td:nth-child(3) { width: 180px; }
.psychology-report-editor-dialog { width: min(920px, calc(100vw - 48px)); }
.psychology-editor-header { justify-content: flex-start; }
.psychology-editor-back { width: 34px; height: 34px; flex: none; display: grid; place-items: center; margin-right: 10px; border: 1px solid #efb2af; background: #fff7f6; font-size: 20px; }
.psychology-editor-back:hover { background: #ffe5e3; }
.modal-language-tabs { margin: 0 22px; flex: none; }
.psychology-report-dialog .modal-language-tabs,
.matching-settings-dialog .modal-language-tabs { margin: 0; }
.psychology-editor-body { max-height: calc(100vh - 190px); overflow: auto; padding: 0 22px; scrollbar-color: #efb2af #fff2f1; }
.psychology-editor-section { padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
.psychology-editor-section h3 { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.rich-text-toolbar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid #efb2af; border-bottom: 0; background: #fffafa; }
.rich-text-toolbar button { width: 32px; height: 30px; display: grid; place-items: center; border: 1px solid transparent; background: transparent; font-size: 16px; }
.rich-text-toolbar button:hover { border-color: #efb2af; background: #fff; }
.report-rich-text { min-height: 190px; padding: 14px; overflow: auto; outline: none; border: 1px solid #efb2af; color: #e53935; background: #fff; line-height: 1.65; }
.report-rich-text:focus { box-shadow: inset 0 0 0 1px #ef8b87; }
.report-rich-text:empty::before { content: attr(data-placeholder); color: #e98b87; pointer-events: none; }
.psychology-round-section { border-bottom: 0; }
.round-selection-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.round-selection-item { min-width: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; }
.round-selection-item label { padding-right: 12px; text-align: right; white-space: nowrap; }
.round-selection-item select { width: 100%; height: 34px; padding: 0 32px 0 10px; border: 1px solid #efb2af; outline: none; color: #e53935; background: #fffafa; }
.round-selection-item select:focus { box-shadow: 0 0 0 2px rgba(229, 57, 53, .1); }
.matching-settings-dialog { width: min(930px, calc(100vw - 48px)); }
.matching-settings-table-wrap { max-height: min(480px, calc(100vh - 170px)); }
.matching-settings-table th, .matching-settings-table td { height: 92px; }
.matching-settings-table th:nth-child(1), .matching-settings-table td:nth-child(1) { width: 80px; }
.matching-settings-table th:nth-child(2), .matching-settings-table td:nth-child(2) { width: auto; }
.matching-settings-table th:nth-child(3), .matching-settings-table td:nth-child(3) { width: 240px; }
.matching-settings-table th:nth-child(4), .matching-settings-table td:nth-child(4) { width: 150px; }
.matching-condition-control { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.matching-condition-control input { width: 86px; height: 34px; padding: 0 9px; border: 1px solid #ef8b87; outline: none; color: #e53935; background: #fffafa; text-align: center; }
.matching-condition-control input:disabled { border-color: transparent; color: #e53935; background: transparent; opacity: 1; }
.matching-condition-control input:focus { box-shadow: 0 0 0 2px rgba(229, 57, 53, .1); }
.matching-coupon-editor { display: flex; align-items: center; gap: 10px; }
.matching-coupon-preview { width: 190px; height: 62px; display: block; object-fit: cover; border: 1px solid #efb2af; border-radius: 4px; }
.matching-coupon-preview[hidden] { display: none; }
.upload-matching-coupon { height: 32px; flex: none; padding: 0 10px; border: 1px solid #e53935; background: #fff7f6; }
.upload-matching-coupon:hover { background: #ffebe9; }
.coupon-image { position: relative; width: 190px; height: 62px; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; overflow: hidden; border-radius: 4px; color: #fff; }
.coupon-image::before, .coupon-image::after { content: ""; position: absolute; left: 64px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.coupon-image::before { top: -6px; }
.coupon-image::after { bottom: -6px; }
.coupon-image strong { height: 42px; display: grid; place-items: center; border-right: 1px dashed rgba(255, 255, 255, .72); font-size: 20px; }
.coupon-image span { padding: 0 12px; color: #fff; font-size: 13px; text-align: center; }
.coupon-red { background: #d84a42; }
.coupon-blue { background: #247ba0; }
.coupon-green { background: #2a8f72; }

.movie-detail-panel { overflow: hidden; }
.movie-detail-scroll { height: 100%; overflow: auto; padding: 0 20px 28px; scrollbar-color: #cbd1d8 #f2f4f6; }
.movie-maintenance-title { height: 58px; display: flex; align-items: center; font-weight: 500; }
.detail-language-tabs { height: 46px; gap: 28px; padding-left: 16px; overflow-x: auto; overflow-y: hidden; scrollbar-color: #cbd1d8 #f2f4f6; }
.detail-language-tabs::-webkit-scrollbar { height: 5px; }
.detail-language-tabs::-webkit-scrollbar-track { background: #f2f4f6; }
.detail-language-tabs::-webkit-scrollbar-thumb { background: #cbd1d8; }
.detail-language-tabs .language-tab { flex: none; white-space: nowrap; }
.movie-detail-page .language-tab { color: #6f7885; }
.movie-detail-page .language-tab.active { color: var(--blue); }
.movie-detail-page .language-tab.active::after { background: var(--blue); }
.detail-section { margin-top: 16px; border: 1px solid #e0e4e9; background: #fff; }
.detail-section h2 { height: 47px; display: flex; align-items: center; margin: 0; padding: 0 16px; border-bottom: 1px solid #e5e9ef; font-size: 16px; font-weight: 600; }
.detail-section-body { padding: 16px; }
.cover-section-body { min-height: 188px; padding-left: 122px; display: flex; align-items: flex-start; }
.cover-upload { position: relative; width: 130px; height: 130px; padding: 0; overflow: hidden; border: 1px dashed #cbd2db; background: #f7f8fa; }
.cover-upload img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }
.cover-upload img[hidden] { display: none; }
.cover-upload-caption { position: absolute; right: 0; bottom: 0; left: 0; min-height: 28px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .92); opacity: 0; transition: opacity .15s ease; }
.cover-upload:hover .cover-upload-caption, .cover-upload.empty .cover-upload-caption { opacity: 1; }
.movie-detail-form { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px 28px; padding: 16px 18px 20px; }
.detail-field { min-width: 0; display: grid; grid-template-columns: 105px minmax(0, 1fr); align-items: center; }
.detail-field label { padding-right: 14px; text-align: right; white-space: nowrap; }
.required-mark { margin-right: 5px; color: #e53935; }
.detail-field input, .detail-field select, .detail-field textarea { width: 100%; min-width: 0; border: 0; outline: none; color: #4b5563; background: #f2f3f5; }
.detail-field input, .detail-field select { height: 34px; padding: 0 12px; }
.detail-field #detailReleaseDate { max-width: 250px; }
.detail-field select { padding-right: 34px; }
.detail-field textarea { min-height: 54px; resize: vertical; padding: 9px 12px; font: inherit; line-height: 1.5; }
.detail-field input::placeholder, .detail-field textarea::placeholder { color: #b0b6bf; }
.detail-field input:focus, .detail-field select:focus, .detail-field textarea:focus { box-shadow: inset 0 0 0 1px #8fb1ff; background: #fff; }
.detail-field-wide { grid-column: 1 / -1; }
.trailer-section-body { padding: 15px 18px 24px; }
.trailer-row { min-width: 0; display: grid; grid-template-columns: 105px minmax(0, 1fr); align-items: start; }
.trailer-row + .trailer-row { margin-top: 25px; }
.trailer-label { padding: 10px 14px 0 0; text-align: right; white-space: nowrap; }
.trailer-assets { min-width: 0; display: flex; gap: 8px; overflow-x: auto; padding: 0 0 8px; scrollbar-color: #cbd1d8 #f2f4f6; }
.trailer-assets::-webkit-scrollbar { height: 7px; }
.trailer-assets::-webkit-scrollbar-track { background: #f2f4f6; }
.trailer-assets::-webkit-scrollbar-thumb { background: #cbd1d8; }
.trailer-image-item { position: relative; width: 128px; height: 130px; flex: 0 0 128px; overflow: hidden; background: #f2f3f5; }
.trailer-image-item img { width: 100%; height: 100%; display: block; object-fit: cover; }
.trailer-image-item button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #e53935; background: rgba(255, 255, 255, .92); opacity: 0; }
.trailer-image-item:hover button { opacity: 1; }
.trailer-upload-tile { width: 128px; height: 130px; flex: 0 0 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px dashed #cbd2db; background: #f7f8fa; }
.trailer-upload-tile span { font-size: 32px; font-weight: 300; line-height: 1; }
.trailer-upload-tile b { font-size: 13px; font-weight: 400; }
.trailer-video-assets { display: flex; align-items: flex-start; gap: 12px; }
.trailer-video-upload { width: 80px; height: 80px; flex: none; display: grid; place-items: center; border: 1px dashed #cbd2db; background: #f7f8fa; }
.trailer-video-upload span { font-size: 28px; font-weight: 300; }
.trailer-video-list { min-width: 0; display: grid; gap: 7px; }
.trailer-video-file { width: min(420px, 45vw); height: 31px; display: flex; align-items: center; padding-left: 10px; background: #edf5ff; }
.trailer-video-file span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trailer-video-file button { width: 34px; height: 100%; flex: none; display: grid; place-items: center; background: transparent; }
.trailer-video-file button:hover { background: #ffe5e3; }
.movie-detail-actions { min-height: 72px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.movie-detail-actions button { min-width: 80px; height: 34px; padding: 0 18px; }
.detail-cancel-button { color: #626d7c; background: #f1f3f5; }
.detail-save-button { color: #fff; background: var(--blue); }
.detail-cancel-button:hover { background: #e6e9ed; }
.detail-save-button:hover { background: #1758e8; }

.achievement-panel, .winning-team-panel { overflow: hidden; background: #f4f6f8; }
.achievement-scroll, .winning-team-scroll { height: 100%; overflow: auto; padding: 10px 12px 28px; scrollbar-color: #efb2af #fff2f1; }
.business-editor-title { height: 48px; display: flex; align-items: center; padding: 0 20px; background: #fff; }
.business-editor-title h1 { margin: 0; font-size: 15px; font-weight: 500; }
.business-language-tabs { width: 100%; height: 46px; margin-bottom: 16px; background: #fff; }
.achievement-page .business-language-tabs { margin-bottom: 0; }
.change-highlight-scope .business-language-tabs .language-tab { color: #e53935; }
.change-highlight-scope .business-language-tabs .language-tab.active::after { background: #e53935; }
.achievement-form { padding: 0 24px 34px; background: #fff; }
.achievement-field { min-height: 48px; display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; }
.achievement-field > label { padding-right: 14px; text-align: right; white-space: nowrap; }
.achievement-field input, .achievement-field textarea { width: 100%; border: 0; outline: none; color: #e53935; background: #f2f3f5; }
.achievement-field input { height: 34px; padding: 0 12px; }
.achievement-field textarea { min-height: 62px; padding: 10px 12px; resize: vertical; line-height: 1.55; }
.achievement-field input:focus, .achievement-field textarea:focus { box-shadow: inset 0 0 0 1px #ef8b87; }
.achievement-image-field { min-height: 155px; align-items: start; padding-top: 10px; }
.achievement-image-field > label { padding-top: 12px; }
.achievement-image-upload { position: relative; width: 126px; height: 126px; padding: 0; overflow: hidden; border: 1px dashed #efb2af; background: #fffafa; }
.achievement-image-upload img { width: 100%; height: 100%; display: block; object-fit: cover; }
.achievement-image-upload span { position: absolute; right: 0; bottom: 0; left: 0; height: 28px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .9); opacity: 0; }
.achievement-image-upload:hover span { opacity: 1; }
.achievement-textarea-field { min-height: 78px; align-items: start; padding-top: 8px; }
.achievement-textarea-field > label { padding-top: 10px; }
.achievement-submit-row { padding: 22px 0 0 130px; }
.business-primary-button { min-width: 78px; height: 34px; padding: 0 16px; border: 1px solid #e53935; color: #e53935; background: #fff1f0; }
.business-primary-button:hover { background: #ffe5e3; }
.winning-conclusions { display: grid; gap: 16px; }
.winning-conclusion { min-height: 348px; padding: 16px 18px 24px; border: 1px dashed #efb2af; background: #fff; }
.winning-conclusion > header { height: 36px; display: flex; align-items: flex-start; }
.winning-conclusion > header h2 { margin: 0; font-size: 15px; font-weight: 500; }
.winning-conclusion > header button { margin-left: auto; padding: 0; color: #e53935; background: transparent; }
.winning-conclusion > header button:hover { text-decoration: underline; }
.winning-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.winning-fields label, .winning-cover-field { min-width: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; }
.winning-fields label > span, .winning-cover-field > span { padding-right: 12px; text-align: right; white-space: nowrap; }
.winning-fields b, .winning-cover-field b { margin-right: 5px; color: #e53935; }
.winning-fields input, .winning-fields textarea { width: 100%; border: 0; outline: none; color: #e53935; background: #f2f3f5; }
.winning-fields input { height: 34px; padding: 0 12px; }
.winning-fields textarea { min-height: 78px; padding: 10px 12px; resize: vertical; line-height: 1.55; }
.winning-fields input:focus, .winning-fields textarea:focus { box-shadow: inset 0 0 0 1px #ef8b87; }
.winning-wide-field, .winning-cover-field { grid-column: 1 / -1; }
.winning-wide-field { align-items: start !important; }
.winning-wide-field > span { padding-top: 10px; }
.winning-cover-field { align-items: start; }
.winning-cover-field > span { padding-top: 10px; }
.winning-cover-control { display: flex; align-items: center; gap: 10px; }
.winning-cover-upload { width: 124px; height: 124px; flex: none; padding: 0; overflow: hidden; border: 1px dashed #efb2af; background: #fffafa; }
.winning-cover-upload img { width: 100%; height: 100%; display: block; object-fit: cover; }
.winning-cover-control em { font-style: normal; opacity: .65; }
.winning-add-row { height: 74px; display: flex; align-items: center; justify-content: center; background: #fff; }

body.sidebar-mini { --sidebar: 66px; }
body.sidebar-mini .brand { padding-left: 13px; }
body.sidebar-mini .brand-name, body.sidebar-mini .nav-item > span:not(.nav-icon):not(.tag-icon), body.sidebar-mini .sub-menu { display: none; }
body.sidebar-mini .nav-item { grid-template-columns: 1fr; justify-items: center; padding: 0; }
body.sidebar-mini .nav-icon { display: block; }

@media (max-width: 900px) {
  :root { --sidebar: 66px; }
  .brand { padding-left: 13px; }
  .brand-name, .breadcrumb, .nav-item > span:not(.nav-icon):not(.tag-icon), .sub-menu { display: none; }
  .nav-item { grid-template-columns: 1fr; justify-items: center; padding: 0; }
  .filter-bar { gap: 8px; }
  .filter-bar label { display: none; }
  .filter-bar input { width: min(52vw, 618px); }
  .filter-actions { margin-left: 0; }
  .movie-detail-scroll { padding-right: 12px; padding-left: 12px; }
  .movie-detail-form { grid-template-columns: 1fr; }
  .detail-field-wide { grid-column: auto; }
  .cover-section-body { padding-left: 48px; }
  .trailer-row { grid-template-columns: 1fr; gap: 8px; }
  .trailer-label { padding: 0; text-align: left; }
  .round-selection-list { grid-template-columns: 1fr; }
  .user-data-toolbar { height: auto; min-height: 58px; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .user-data-toolbar h1 { width: 100%; }
  .user-data-toolbar h1 + label,
  .user-data-toolbar select + label { margin-left: 0; }
  .achievement-field { grid-template-columns: 108px minmax(0, 1fr); }
  .achievement-submit-row { padding-left: 108px; }
  .winning-fields { grid-template-columns: 1fr; }
  .winning-wide-field, .winning-cover-field { grid-column: 1; }
}

@media (max-width: 1900px) {
  .user-filter-form { min-height: 184px; }
  .user-filter-grid { grid-template-columns: minmax(320px, 1fr) minmax(350px, 1fr); }
  .user-register-field { grid-column: 1; }
  .user-login-field { grid-column: 2; }
}

@media (max-width: 1500px) {
  .schedule-page .schedule-filter-bar { min-height: 118px; align-content: center; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .schedule-page #scheduleMovieSearch { width: 250px; }
  .schedule-page #scheduleIdSearch { width: 190px; }
  .schedule-filter-bar select { width: 190px; }
  .growth-chart-panel, .view-distribution-panel { grid-column: span 6; }
  .device-distribution-panel, .region-distribution-panel { grid-column: span 3; }
}

@media (max-width: 1000px) {
  .user-filter-form { min-height: 0; grid-template-columns: 1fr; }
  .user-filter-grid { grid-template-columns: 1fr; gap: 12px; }
  .user-filter-field, .user-register-field, .user-login-field { grid-column: 1; }
  .user-date-control { width: 100%; }
  .user-filter-actions { min-height: 60px; flex-direction: row; border-top: 1px solid #edf0f3; border-left: 0; }
  .user-filter-actions .button { min-width: 90px; }
  .user-basic-info-grid { grid-template-columns: 1fr; min-height: 230px; column-gap: 0; }
  .user-metric-grid { grid-template-columns: 1fr; }
  .device-distribution-panel, .region-distribution-panel { grid-column: span 6; }
  .movie-region-summary { grid-template-columns: 1fr; gap: 18px; }
  .movie-region-total { height: 90px; border-right: 0; border-bottom: 1px solid #f1d8d6; }
}
