/* 移动端基础布局、组件和各页面样式。修改公共选择器前检查所有路由。 */
:root {
  --bg: #101312;
  --panel: #191d1b;
  --soft: #222824;
  --gold: #e2c48a;
  --gold2: #f5dda7;
  --text: #f5f3ec;
  --muted: #89928c;
  --line: #ffffff14;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #090c0a;
  color: var(--text);
  font:
    15px/1.6 'Microsoft YaHei',
    system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 26px;
  letter-spacing: 0.5px;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 16px;
}
small,
.muted {
  color: var(--muted);
}
#app {
  max-width: 480px;
  min-height: 100dvh;
  margin: auto;
  background: var(--bg);
  padding-bottom: 90px;
  position: relative;
  box-shadow: 0 0 100px #0008;
}
header {
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #101312f5;
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
header h1 {
  font-size: 23px;
  flex: 1;
}
header .back {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--gold2), #bf9b60);
  color: #162016;
  font: bold 29px Arial;
}
.brand strong {
  font-size: 19px;
}
.head-icon {
  font-size: 21px;
  min-width: 36px;
  min-height: 40px;
}
.content {
  padding: 18px 16px;
}
.gap {
  height: 18px;
}
.section {
  margin: 24px 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section h2 {
  font-size: 20px;
}
.eyebrow {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 3px;
}
.hero {
  height: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  background:
    linear-gradient(0deg, #111a12 0%, transparent 90%),
    url('assets/hero.webp') 58% center/cover;
}
.hero-copy {
  position: absolute;
  bottom: 29px;
  left: 24px;
  right: 20px;
}
.hero h2 {
  font-family: 'Songti SC', 'SimSun', serif;
  font-size: 39px;
  line-height: 1.25;
  margin: 11px 0;
}
.hero p {
  font-size: 12px;
  color: #d3dbce;
}
.hero .primary {
  margin-top: 19px;
  width: auto;
  padding: 9px 21px;
  font-size: 12px;
  min-height: 38px;
}
.primary,
.secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border-radius: 28px;
  padding: 13px 18px;
  min-height: 48px;
  font-weight: 700;
}
.primary {
  background: linear-gradient(100deg, #d5ad65, #f4dda8);
  color: #282012;
  width: 100%;
}
.secondary {
  border: 1px solid #c5a76c66;
  color: var(--gold);
}
.small {
  padding: 7px 12px;
  min-height: 32px;
  font-size: 12px;
}
.wide {
  width: 100%;
}
.gold {
  color: var(--gold);
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 17px;
  margin-bottom: 14px;
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs button {
  white-space: nowrap;
  flex: 1;
  min-height: 43px;
  padding: 7px 12px;
  color: var(--muted);
  border-radius: 11px;
}
.tabs button.active {
  background: linear-gradient(100deg, #d0ac66, #f2dca5);
  color: #2b2110;
  font-weight: 700;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 13px 0;
  scrollbar-width: none;
}
.chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 6px 13px;
  color: var(--muted);
  font-size: 12px;
}
.chip.active {
  border-color: #b59552;
  color: var(--gold);
  background: #c3a56c12;
}
.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin: 18px 0;
}
.quick button {
  background: var(--panel);
  border-radius: 15px;
  padding: 14px 3px;
  min-height: 95px;
}
.quick b {
  display: block;
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 7px;
}
.quick strong {
  font-size: 12px;
  display: block;
}
.quick small {
  font-size: 9px;
  display: block;
  line-height: 1.4;
  margin-top: 4px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px 11px;
}
.poster {
  aspect-ratio: 2/3;
  border-radius: 12px;
  background: url('assets/posters.webp') center/300% 200%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 7px 16px #0003;
}
.poster:after {
  content: '';
  position: absolute;
  inset: 65% 0 0;
  background: linear-gradient(transparent, #0009);
}
.poster span {
  position: absolute;
  top: 7px;
  left: 6px;
  color: #fff;
  background: #1f775dd9;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  z-index: 1;
}
.poster button {
  position: absolute;
  right: 5px;
  top: 4px;
  z-index: 2;
  background: #0008;
  border-radius: 50%;
  width: 24px;
}
.drama-card {
  padding: 0;
  text-align: left;
  width: 100%;
  min-width: 0;
}
.drama-card h3 {
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drama-card small {
  font-size: 10px;
}
.row {
  display: flex;
  gap: 13px;
  align-items: center;
}
.row .grow,
.grow {
  flex: 1;
  min-width: 0;
}
.row .poster {
  width: 67px;
  flex-shrink: 0;
}
.row h3 {
  line-height: 1.4;
  margin: 6px 0;
}
.row p {
  font-size: 12px;
  color: var(--muted);
}
.tag {
  display: inline-block;
  background: #418168;
  color: white;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 4px;
  margin-right: 5px;
}
.tag.goldtag {
  background: #c5ab6c;
  color: #252113;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin: 14px 0;
}
.stats .card {
  margin: 0;
}
.stats b {
  display: block;
  font-size: 24px;
  color: var(--gold);
}
.stats small {
  font-size: 11px;
}
.stats.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  text-align: center;
}
.stats.four .card {
  padding: 11px 3px;
  border-radius: 13px;
}
.stats.four b {
  font-size: 21px;
}
.balance {
  background: linear-gradient(135deg, #3c3627, #1b211b);
  border: 1px solid #bda16e3a;
}
.balance b {
  font-size: 32px;
  color: var(--gold);
}
.empty {
  text-align: center;
  padding: 65px 10px;
  color: var(--muted);
}
.empty .illustration {
  font-size: 65px;
  color: #778479;
  line-height: 1.7;
}
.empty strong {
  display: block;
  font-size: 17px;
  color: var(--text);
}
.empty small {
  display: block;
  margin-top: 7px;
}
.menu {
  padding: 0;
  overflow: hidden;
}
.menu button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 17px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.menu button:last-child {
  border: 0;
}
.menu .glyph {
  width: 34px;
  height: 37px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #c8a45812;
  color: var(--gold);
}
.menu strong {
  font-size: 15px;
  display: block;
}
.menu small {
  font-size: 11px;
  display: block;
}
.menu .arrow {
  margin-left: auto;
  color: var(--muted);
}
input:not([type='checkbox']):not([type='file']),
select,
textarea {
  width: 100%;
  background: #101612;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  outline: 0;
  min-height: 44px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #ccae72;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
label.field {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 15px;
}
label.field:last-child {
  margin-bottom: 0;
}
label.field input,
label.field textarea,
label.field select {
  display: block;
  margin-top: 7px;
  font-weight: 400;
}
input::placeholder,
textarea::placeholder {
  color: #758a83;
}
input[type='file'] {
  max-width: 100%;
  font-size: 12px;
  margin-top: 10px;
  color: var(--muted);
}
.hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 12px 0;
}
.error {
  color: #f3a79b;
  font-size: 12px;
  margin: 12px 0;
  min-height: 0;
}
.dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 100%);
  display: flex;
  background: #141b16ed;
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  z-index: 25;
  padding: 8px 7px calc(8px + env(safe-area-inset-bottom));
}
.dock button {
  flex: 1;
  font-size: 10px;
  min-height: 47px;
  color: var(--muted);
}
.dock b {
  display: block;
  font-size: 21px;
  line-height: 1.6;
}
.dock .active {
  color: var(--gold);
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.actions > * {
  flex: 1;
}
.fixed-action {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 100%);
  z-index: 26;
  background: #131915eb;
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sheet {
  max-width: 440px;
  width: 100%;
  max-height: 88dvh;
  overflow: auto;
  background: #191d1b;
  border: 1px solid #c5a46955;
  border-radius: 24px;
  padding: 24px;
  position: relative;
}
.sheet.bottom {
  align-self: flex-end;
  max-width: 480px;
  border-radius: 25px 25px 0 0;
  padding-bottom: 30px;
}
.overlay-backdrop.bottom {
  padding: 0;
}
.sheet .close {
  position: absolute;
  right: 12px;
  top: 10px;
  min-height: 36px;
  min-width: 36px;
  color: var(--muted);
  font-size: 23px;
}
.sheet h2 {
  margin-bottom: 18px;
  font-size: 21px;
}
.sheet .statement {
  background: #ffffff05;
  padding: 21px;
  border-radius: 17px;
  line-height: 1.9;
  margin: 18px 0;
  text-align: center;
  font-size: 14px;
}
.sheet p {
  font-size: 13px;
}
.sheet .actions {
  margin-top: 22px;
}
.sheet .empty {
  padding: 45px 8px;
}
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: url('assets/hero.webp') 60% center/auto 150%;
  border: 2px solid #c5a76c50;
  display: grid;
  place-items: center;
  font-size: 26px;
}
.miniavatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #304434;
  color: var(--gold);
  display: grid;
  place-items: center;
}
.ad {
  background: radial-gradient(ellipse at right, #6c6245, #17251c 70%);
  border: 1px solid #c6a66b44;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 17px;
  position: relative;
  color: var(--gold);
}
.ad h3 {
  font-size: 23px;
  font-family: SimSun, serif;
  letter-spacing: 3px;
}
.ad small {
  font-size: 9px;
  position: absolute;
  right: 8px;
  bottom: 5px;
  color: #a1a494;
}
.ad p {
  font-size: 11px;
  color: #b8c4b3;
}
.days {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 23px 0;
}
.day {
  flex: 1;
  min-width: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  padding: 12px 3px;
  background: var(--panel);
  font-size: 10px;
  color: var(--muted);
}
.day b {
  display: block;
  font-size: 15px;
  color: #b7bcae;
}
.day.active {
  border-color: var(--gold);
  box-shadow: 0 0 16px #c6a66b1a;
  color: var(--gold);
}
.day.active b {
  color: var(--gold);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}
.plan-grid.vip {
  grid-template-columns: repeat(3, 1fr);
}
.plan {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px 8px;
  background: var(--panel);
  text-align: center;
}
.plan.active {
  border-color: var(--gold);
  background: #c6a46e19;
}
.plan b {
  font-size: 24px;
  color: var(--gold);
  display: block;
}
.plan strong {
  display: block;
}
.plan small {
  font-size: 11px;
  display: block;
}
.feature-icons {
  display: flex;
  text-align: center;
  justify-content: space-around;
  margin: 20px 0;
  font-size: 10px;
}
.feature-icons b {
  display: block;
  color: var(--gold);
  font-size: 24px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 11px;
  margin: 17px 0;
}
.episode {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 45px;
  background: #1e2520;
  font-size: 14px;
}
.episode.lock:after {
  content: '币';
  position: absolute;
  font-size: 8px;
  right: 2px;
  top: 0;
  color: var(--gold);
}
.episode.current {
  background: #b89455;
  color: #181e18;
}
.detail-head {
  align-items: flex-start;
}
.detail-head .poster {
  width: 125px;
}
.description {
  font-size: 13px;
  color: #abb5ac;
  margin: 15px 0;
}
.comment {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.comment:last-child {
  border: 0;
}
.comment p {
  font-size: 13px;
  margin: 8px 0;
}
.comment small {
  font-size: 10px;
}
.player {
  height: calc(100dvh - 70px);
  background: #060a07;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.player .no-video {
  padding: 60px;
  text-align: center;
  z-index: 1;
  max-width: 80%;
}
.player:before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/hero.webp') 60% center/cover;
  opacity: 0.13;
}
.player-controls {
  position: absolute;
  right: 8px;
  bottom: 185px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  z-index: 2;
}
.player-controls button {
  display: block;
  min-width: 46px;
  font-size: 24px;
}
.player-controls small {
  display: block;
  color: #ddd;
  font-size: 10px;
}
.player-bottom {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 28px;
  z-index: 2;
  text-shadow: 0 2px 5px #000;
}
.player-bottom h3 {
  font-size: 19px;
}
.player-bottom .card {
  background: #17291bbb;
  margin-top: 12px;
  padding: 10px;
  font-size: 12px;
}
.progress {
  height: 3px;
  background: #ffffff30;
  position: relative;
  margin-top: 20px;
}
.progress span {
  display: block;
  background: var(--gold);
  height: 100%;
  width: 4%;
}
.login {
  padding: 50px 20px;
}
.login .logo {
  width: 72px;
  height: 72px;
  margin: auto;
  font-size: 49px;
  border-radius: 22px;
}
.login .brand-title {
  text-align: center;
  margin: 12px 0 40px;
  font-size: 20px;
}
.login h2 {
  font-size: 31px;
  margin-bottom: 4px;
}
.login .hint {
  margin-bottom: 25px;
}
.login input {
  background: #1c201b;
  margin-bottom: 13px;
}
.login .agreement {
  font-size: 11px;
  margin: 15px 0 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.login .agreement button {
  padding: 0;
  color: var(--gold);
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 50px !important;
}
.password-wrap button {
  position: absolute;
  right: 8px;
  top: 4px;
  height: 38px;
  color: var(--muted);
}
.login-footer {
  text-align: center;
  margin-top: 25px;
}
.login-footer button {
  color: var(--gold);
  font-weight: 700;
}
.login-footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 44px 0 6px;
}
.message-row {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.message-row h3 {
  font-size: 14px;
}
.message-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 55dvh;
  padding: 12px 0;
}
.bubble {
  max-width: 85%;
  align-self: flex-end;
  background: #3c432e;
  border-radius: 16px 16px 2px 16px;
  padding: 12px 15px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.bubble.reply {
  align-self: flex-start;
  background: var(--panel);
  border-radius: 16px 16px 16px 2px;
}
.bubble img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 10px;
}
.chat-compose {
  display: flex;
  gap: 8px;
}
.chat-compose input {
  min-width: 0;
}
.chat-compose button {
  font-size: 23px;
  width: 42px;
  flex-shrink: 0;
}
.credential {
  text-align: center;
}
.credential .logo {
  margin: 7px auto 19px;
  width: 67px;
  height: 67px;
  font-size: 48px;
}
.credential canvas {
  background: #fff;
  border-radius: 15px;
  margin: 20px auto 10px;
  max-width: 190px;
}
.rewards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.rewards button {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 15px;
}
.rewards button.active {
  border-color: var(--gold);
  color: var(--gold);
}
.invite-hero {
  text-align: center;
  padding: 35px 15px;
  background: radial-gradient(ellipse at top, #3c563f, #10271d 66%);
  border: 1px solid #bc9c6070;
  border-radius: 20px;
  margin-bottom: 18px;
}
.invite-hero h2 {
  font-family: SimSun, serif;
  font-size: 36px;
  line-height: 1.5;
  color: var(--gold);
}
.invite-hero strong {
  font-size: 65px;
  line-height: 1.3;
  color: #f8e0a7;
}
.agency-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 20px;
}
.agency-levels .card {
  padding: 15px 5px;
  background: #123228b3;
  text-align: center;
}
.agency-levels b {
  font-size: 35px;
  display: block;
  color: var(--gold);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 5px;
  text-align: left;
  vertical-align: top;
}
.table-wrap {
  overflow-x: auto;
}
details {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 14px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
.admin-notice,
.mode-note {
  font-size: 11px;
  color: #adb6a9;
  background: #c5a5660c;
  border: 1px solid #c5a56622;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 17px;
}
.notice-dot {
  width: 5px;
  height: 5px;
  background: #a3976a;
  border-radius: 50%;
  display: inline-block;
}
.form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  margin: 12px 0;
}
.nomination-list {
  max-height: 52dvh;
  overflow: auto;
}
.nomination-list .row {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.nomination-list .poster {
  width: 52px;
}
.nomination-list .row h3 {
  font-size: 14px;
}
.nomination-list .selected {
  outline: 1px solid var(--gold);
  outline-offset: -1px;
  background: #dbc08410;
}
.nomination-list button {
  width: 100%;
  text-align: left;
}
.tags-select {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}
.tags-select button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 12px;
}
.tags-select button.active {
  color: #252211;
  background: var(--gold);
}
.inline-link {
  color: var(--gold);
  padding: 0;
  font-size: 12px;
}
.rank-num {
  font-size: 28px;
  color: var(--gold);
  width: 28px;
  flex-shrink: 0;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.icon-grid button {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 7px;
  text-align: center;
}
.icon-grid b {
  color: var(--gold);
  font-size: 26px;
  display: block;
}
.icon-grid strong {
  display: block;
  font-size: 12px;
  margin: 7px 0 3px;
}
.icon-grid small {
  display: block;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.record {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 13px;
}
.record small {
  display: block;
  font-size: 10px;
}
.status {
  font-size: 10px;
  color: #c7b484;
  background: #b9a36516;
  border-radius: 6px;
  padding: 3px 7px;
}
.danger {
  color: #e6a49a;
}
.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.mobile-search input {
  min-width: 0;
}
.mobile-search button {
  min-width: 45px;
}
.tools-link {
  display: block;
  text-align: center;
  margin: 32px 0;
  color: var(--muted);
  font-size: 10px;
}
#toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  padding: 12px 20px;
  border: 1px solid #b9a16a70;
  border-radius: 14px;
  background: #252d25;
  z-index: 200;
  display: none;
  font-size: 13px;
}
.hidden {
  display: none !important;
}
.library {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.library button {
  text-align: left;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.library small {
  display: block;
  font-size: 10px;
}
.terms {
  font-size: 13px;
  line-height: 2;
}
.terms h3 {
  margin: 20px 0 8px;
}
.horizontal {
  display: flex;
  gap: 11px;
  overflow: auto;
}
.horizontal .drama-card {
  min-width: 120px;
  width: 120px;
}
.editor-note {
  font-size: 10px;
  color: var(--muted);
  margin: 16px 0;
  text-align: center;
}
.upload-progress {
  height: 5px;
  background: var(--panel);
  border-radius: 5px;
  overflow: hidden;
}
.upload-progress i {
  height: 100%;
  display: block;
  background: var(--gold);
}
@media (min-width: 800px) {
  body {
    background: radial-gradient(ellipse at top, #29362a, #090e0a 65%);
  }
  #app {
    max-width: 1100px;
  }
  .content {
    padding: 26px 38px;
  }
  .hero {
    height: 450px;
    background-position: 60% 42%;
  }
  .hero-copy {
    left: 43px;
    bottom: 45px;
  }
  .hero h2 {
    font-size: 57px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero .primary {
    font-size: 14px;
  }
  .grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 21px;
  }
  .quick {
    max-width: 660px;
    margin: 25px auto;
  }
  .dock,
  .fixed-action {
    width: min(1100px, 100%);
  }
  .dock {
    padding-left: 20%;
    padding-right: 20%;
  }
  header {
    height: 76px;
    padding: 0 36px;
  }
  .content.narrow {
    max-width: 650px;
    margin: auto;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stats.four {
    grid-template-columns: repeat(4, 1fr);
  }
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .icon-grid {
    gap: 18px;
  }
  .icon-grid button {
    padding: 22px;
  }
  .sheet {
    max-width: 500px;
  }
  .library {
    grid-template-columns: repeat(4, 1fr);
  }
  .player {
    height: 850px;
    max-width: 480px;
    margin: auto;
  }
  .login {
    max-width: 480px;
    margin: auto;
  }
  .menu {
    max-width: 650px;
    margin: auto;
  }
  .detail-head .poster {
    width: 155px;
  }
  .episode-grid {
    grid-template-columns: repeat(10, 1fr);
  }
  .tabs {
    max-width: 100%;
  }
  .chat {
    min-height: 470px;
  }
  .nomination-list {
    max-height: 50dvh;
  }
}
@media (max-width: 360px) {
  .content {
    padding: 15px 11px;
  }
  .icon-grid {
    gap: 5px;
  }
  .icon-grid button {
    padding: 12px 3px;
  }
  .hero h2 {
    font-size: 33px;
  }
  .plan-grid.vip b {
    font-size: 21px;
  }
  .quick strong {
    font-size: 10px;
  }
}
.empty .illustration {
  width: 210px;
  height: 175px;
  margin: 0 auto 19px;
  font-size: 0;
  background: url('assets/empty-ref.png') 52.7% 35.4%/229.4% 609.4% no-repeat;
  border-radius: 15px;
}
