[data-offline-disabled] {
  cursor: not-allowed !important;
}

/* Primary channel links: one text navigation line directly below the intro. */
body[data-page="channel"] #page-channel .shotChannelHeroFeatures.shotChannelSubcategories {
  margin-top: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #3c4148 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

body[data-page="channel"] #page-channel .shotChannelHeroFeatures .shotChannelSubcategory {
  display: inline-block !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #3c4148 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color .18s ease !important;
}

body[data-page="channel"] #page-channel .shotChannelHeroFeatures .shotChannelSubcategory:hover,
body[data-page="channel"] #page-channel .shotChannelHeroFeatures .shotChannelSubcategory:focus-visible {
  color: #b90000 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

@media (max-width: 760px) {
  body[data-page="channel"] #page-channel .shotChannelHeroFeatures.shotChannelSubcategories {
    margin-top: 5px !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
  }

  body[data-page="channel"] #page-channel .shotChannelHeroFeatures .shotChannelSubcategory {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    font-size: inherit !important;
  }
}

.offline-search-page {
  min-height: 100vh;
  margin: 0;
  background: #f8f4f1;
  color: #222;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.offline-search-header {
  padding: 22px 24px;
  background: linear-gradient(90deg, #a80000, #c40000);
  color: #fff;
}

.offline-search-header a { color: inherit; text-decoration: none; }
.offline-search-wrap { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.offline-search-title { margin: 0; font-size: 26px; }
.offline-search-subtitle { margin: 8px 0 0; opacity: .88; }
.offline-search-main { padding: 28px 0 60px; }

.offline-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e8ded7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(40, 20, 12, .08);
}

.offline-search-form input {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d7cbc3;
  border-radius: 11px;
  font: inherit;
  outline: none;
}

.offline-search-form input:focus { border-color: #c40000; box-shadow: 0 0 0 3px rgba(196, 0, 0, .1); }
.offline-search-form button { padding: 0 22px; border: 0; border-radius: 11px; background: #c40000; color: #fff; font: 700 15px/1 inherit; cursor: pointer; }
.offline-search-meta { margin: 18px 4px 10px; color: #6b625d; }
.offline-search-results { display: grid; gap: 12px; }
.offline-search-item { display: block; padding: 18px 20px; border: 1px solid #e8ded7; border-radius: 16px; background: #fff; color: inherit; text-decoration: none; }
.offline-search-item:hover { border-color: #c40000; box-shadow: 0 10px 24px rgba(88, 14, 8, .08); }
.offline-search-item h2 { margin: 0 0 8px; color: #9f0000; font-size: 18px; line-height: 1.55; }
.offline-search-item p { margin: 0; color: #666; line-height: 1.75; }
.offline-search-empty { padding: 36px 18px; border: 1px dashed #d7cbc3; border-radius: 16px; background: #fff; color: #6b625d; text-align: center; }

@media (max-width: 560px) {
  .offline-search-form { grid-template-columns: 1fr; }
  .offline-search-form button { min-height: 44px; }
}

/* Local account, favorite and payment simulator */
:root {
  --dks-red: #bd1018;
  --dks-red-dark: #8d0710;
  --dks-gold: #d7a749;
  --dks-ink: #2c211d;
  --dks-muted: #7b6d66;
  --dks-line: #eadfd9;
  --dks-paper: #fffaf6;
}

body.dks-modal-open {
  overflow: hidden !important;
}

#poplogin {
  display: none !important;
}

.dks-header-account {
  position: relative;
  flex: 0 0 auto;
  margin-left: 10px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.dks-login-trigger,
.dks-user-trigger {
  min-height: 42px;
  border: 1px solid rgba(175, 15, 23, .18);
  border-radius: 22px;
  background: #fff8f4;
  color: #941019;
  cursor: pointer;
  font: 700 14px/1 "Microsoft YaHei", Arial, sans-serif;
  transition: .2s ease;
}

.dks-login-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  white-space: nowrap;
}

.dks-login-trigger:hover,
.dks-user-trigger:hover {
  border-color: rgba(175, 15, 23, .42);
  background: #fff;
  box-shadow: 0 8px 22px rgba(111, 13, 19, .1);
}

.dks-user-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--dks-red);
  color: #fff;
  font-size: 11px;
}

.dks-user-trigger {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
  text-align: left;
}

.dks-avatar {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d12229, #910811);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4);
  color: #fff;
  font: 800 15px/1 "Microsoft YaHei", sans-serif;
}

.dks-user-copy {
  display: grid;
  gap: 3px;
}

.dks-user-copy b {
  max-width: 86px;
  overflow: hidden;
  color: #5f171a;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dks-user-copy em {
  color: #a47735;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.dks-user-caret {
  color: #9e7f72;
  font-size: 12px;
}

.dks-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10020;
  display: none;
  width: 240px;
  padding: 10px;
  border: 1px solid #eadbd3;
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 60px rgba(64, 24, 20, .18);
  color: #4f3e37;
}

.dks-user-menu.is-open {
  display: grid;
}

.dks-user-menu::before {
  position: absolute;
  top: -7px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #eadbd3;
  border-left: 1px solid #eadbd3;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.dks-user-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  padding: 9px 8px 12px;
  border-bottom: 1px solid #f1e6e0;
}

.dks-user-menu-head > span:last-child {
  display: grid;
  gap: 5px;
}

.dks-user-menu-head b {
  color: #3a2721;
  font-size: 14px;
}

.dks-user-menu-head em {
  color: #aa762a;
  font-size: 11px;
  font-style: normal;
}

.dks-user-menu a,
.dks-user-menu button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #4f3e37;
  cursor: pointer;
  font: 600 13px/1.2 "Microsoft YaHei", sans-serif;
  text-align: left;
  text-decoration: none;
}

.dks-user-menu a:hover,
.dks-user-menu button:hover {
  background: #fff4ef;
  color: var(--dks-red);
}

.dks-user-menu a span {
  min-width: 22px;
  padding: 3px 6px;
  border-radius: 9px;
  background: #f4ece8;
  color: #8d756a;
  font-size: 10px;
  text-align: center;
}

.dks-user-menu .dks-logout-link {
  margin-top: 6px;
  border-top: 1px solid #f1e6e0;
  border-radius: 0 0 9px 9px;
  color: #a98c80;
}

.dks-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  visibility: hidden;
  padding: 24px;
  place-items: center;
  opacity: 0;
  transition: opacity .18s ease, visibility .18s ease;
}

.dks-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.dks-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 13, 12, .64);
  backdrop-filter: blur(8px);
}

.dks-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(97, 59, 48, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #7e665d;
  cursor: pointer;
  font: 400 26px/1 Arial, sans-serif;
}

.dks-modal-close:hover {
  background: #fff;
  color: var(--dks-red);
}

.dks-login-card {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(920px, calc(100vw - 48px));
  min-height: 570px;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 36px 110px rgba(35, 9, 8, .34);
  transform: translateY(14px) scale(.985);
  transition: transform .22s ease;
}

.dks-modal.is-open .dks-login-card,
.dks-modal.is-open .dks-payment-card,
.dks-modal.is-open .dks-success-card {
  transform: translateY(0) scale(1);
}

.dks-login-visual {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #9c1118;
}

.dks-login-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(77, 0, 6, .76));
  content: "";
}

.dks-login-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dks-login-visual-copy {
  position: absolute;
  right: 26px;
  bottom: 28px;
  left: 26px;
  z-index: 2;
  display: grid;
  gap: 8px;
  color: #fff;
}

.dks-login-visual-copy strong {
  font-size: 27px;
  letter-spacing: .08em;
}

.dks-login-visual-copy span {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.dks-login-main {
  position: relative;
  padding: 44px 58px 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(205, 35, 41, .08), transparent 34%),
    #fff;
  color: var(--dks-ink);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  text-align: center;
}

.dks-local-flag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(181, 17, 25, .15);
  border-radius: 999px;
  background: #fff3ef;
  color: var(--dks-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.dks-login-main h2 {
  margin: 0;
  color: #2d201c;
  font-size: 29px;
  line-height: 1.25;
}

.dks-login-sub {
  margin: 9px 0 20px;
  color: #8b7a72;
  font-size: 13px;
  line-height: 1.6;
}

.dks-login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto 20px;
  padding: 4px;
  border-radius: 12px;
  background: #f6efeb;
}

.dks-login-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #887269;
  cursor: pointer;
  font: 700 13px/1 "Microsoft YaHei", sans-serif;
}

.dks-login-tabs button.is-active {
  background: #fff;
  box-shadow: 0 5px 16px rgba(63, 32, 24, .08);
  color: var(--dks-red);
}

.dks-login-panel {
  display: none;
}

.dks-login-panel.is-active {
  display: block;
}

.dks-qr-card {
  position: relative;
  display: grid;
  width: 190px;
  height: 190px;
  margin: 0 auto;
  padding: 14px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #eee3dd;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(56, 25, 18, .09);
  cursor: pointer;
}

.dks-fake-qr {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: 8px solid #fff;
  border-radius: 5px;
  background:
    linear-gradient(90deg, #181818 12px, transparent 12px) 6px 6px / 38px 38px,
    linear-gradient(#181818 12px, transparent 12px) 6px 6px / 38px 38px,
    repeating-conic-gradient(#161616 0 25%, #fff 0 50%) 0 0 / 14px 14px;
  box-shadow:
    inset 0 0 0 4px #fff,
    inset 18px 18px 0 -7px #151515,
    inset -18px 18px 0 -7px #151515,
    inset 18px -18px 0 -7px #151515;
}

.dks-fake-qr i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 9px;
  background: #c2131b;
  color: #fff;
  font: 800 17px/1 "Microsoft YaHei", sans-serif;
}

.dks-scan-line {
  position: absolute;
  right: 16px;
  left: 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #36b86c 18%, #36b86c 82%, transparent);
  box-shadow: 0 0 10px rgba(54, 184, 108, .65);
  animation: dks-scan 2.4s ease-in-out infinite;
}

@keyframes dks-scan {
  0%, 100% { top: 22px; opacity: .4; }
  50% { top: 164px; opacity: 1; }
}

.dks-qr-hint {
  display: grid;
  gap: 5px;
  margin: 14px 0 0;
}

.dks-qr-hint b {
  color: #3a2923;
  font-size: 14px;
}

.dks-qr-hint span {
  color: #9a8a82;
  font-size: 11px;
}

.dks-phone-form {
  min-height: 252px;
  padding-top: 5px;
  text-align: left;
}

.dks-phone-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.dks-phone-form label > span:first-child {
  color: #66534b;
  font-size: 12px;
  font-weight: 700;
}

.dks-phone-form input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #e4d8d2;
  border-radius: 10px;
  outline: none;
  color: #33231e;
  font: 14px/1 "Microsoft YaHei", sans-serif;
}

.dks-phone-form input:focus {
  border-color: rgba(188, 16, 24, .62);
  box-shadow: 0 0 0 3px rgba(188, 16, 24, .08);
}

.dks-code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.dks-code-row button {
  padding: 0 12px;
  border: 1px solid #eadbd4;
  border-radius: 10px;
  background: #fff7f3;
  color: #a21118;
  cursor: pointer;
  font: 700 12px/1 "Microsoft YaHei", sans-serif;
}

.dks-primary-btn,
.dks-outline-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 11px;
  cursor: pointer;
  font: 800 14px/1 "Microsoft YaHei", sans-serif;
  text-decoration: none;
}

.dks-primary-btn {
  border: 1px solid var(--dks-red);
  background: linear-gradient(135deg, #c91b22, #a20710);
  box-shadow: 0 9px 20px rgba(178, 12, 21, .18);
  color: #fff;
}

.dks-primary-btn:hover {
  filter: brightness(1.05);
}

.dks-outline-btn {
  border: 1px solid #dfc9bf;
  background: #fff;
  color: var(--dks-red);
}

.dks-phone-form > .dks-primary-btn {
  width: 100%;
}

.dks-agreement {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 17px;
  color: #a08f87;
  font-size: 11px;
  line-height: 1.55;
  text-align: left;
}

.dks-agreement input {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  accent-color: var(--dks-red);
}

.dks-agreement a {
  color: #76564c;
  text-decoration: none;
}

.dks-payment-card {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 36px 110px rgba(35, 9, 8, .34);
  color: var(--dks-ink);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  transform: translateY(14px) scale(.985);
  transition: transform .22s ease;
}

.dks-pay-head {
  padding: 34px 42px 24px;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 90% -30%, rgba(255, 220, 137, .62), transparent 36%),
    linear-gradient(135deg, #fff8ed, #fff 68%);
  text-align: center;
}

.dks-pay-brand {
  display: inline-block;
  color: #a36c19;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.dks-pay-head h2 {
  margin: 7px 0 8px;
  color: #36261f;
  font-size: 28px;
}

.dks-pay-head p {
  margin: 0;
  color: #8d7c72;
  font-size: 13px;
}

.dks-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  padding: 0 42px 24px;
  background: #fff;
}

.dks-plan-card {
  position: relative;
  display: grid;
  min-height: 144px;
  padding: 22px 16px 15px;
  place-items: center;
  border: 1px solid #eaded7;
  border-radius: 14px;
  background: #fff;
  color: #43312b;
  cursor: pointer;
  font-family: "Microsoft YaHei", sans-serif;
}

.dks-plan-card.is-active {
  border: 2px solid #bf171e;
  background: linear-gradient(180deg, #fff9f3, #fff);
  box-shadow: 0 12px 28px rgba(167, 21, 29, .1);
}

.dks-plan-tag {
  position: absolute;
  top: -1px;
  right: -1px;
  padding: 5px 9px;
  border-radius: 0 13px 0 10px;
  background: #f1e5dc;
  color: #9b7660;
  font-size: 10px;
  font-weight: 800;
}

.dks-plan-card.is-active .dks-plan-tag {
  background: var(--dks-red);
  color: #fff;
}

.dks-plan-card b {
  font-size: 16px;
}

.dks-plan-card strong {
  color: #bd121a;
  font-size: 29px;
}

.dks-plan-card strong span {
  margin-right: 2px;
  font-size: 13px;
}

.dks-plan-card em {
  color: #9a8980;
  font-size: 11px;
  font-style: normal;
}

.dks-pay-body {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 26px;
  padding: 24px 42px;
  border-top: 1px solid #f0e6e0;
  background: #fffaf7;
}

.dks-pay-methods h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.dks-pay-methods button {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 9px 14px;
  border: 1px solid #e8ddd6;
  border-radius: 12px;
  background: #fff;
  color: #4a3831;
  cursor: pointer;
  font-family: "Microsoft YaHei", sans-serif;
  text-align: left;
}

.dks-pay-methods button.is-active {
  border-color: #bd171e;
  box-shadow: inset 0 0 0 1px #bd171e;
}

.dks-pay-methods button > span:nth-child(2) {
  display: grid;
  gap: 5px;
}

.dks-pay-methods button b {
  font-size: 14px;
}

.dks-pay-methods button em {
  color: #9c8a81;
  font-size: 11px;
  font-style: normal;
}

.dks-pay-methods button > i {
  visibility: hidden;
  color: #bd171e;
  font-style: normal;
  font-weight: 900;
}

.dks-pay-methods button.is-active > i {
  visibility: visible;
}

.dks-pay-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.dks-pay-icon.wx {
  background: #21b766;
}

.dks-pay-icon.ali {
  background: #1686f8;
}

.dks-pay-qr {
  display: grid;
  justify-items: center;
}

.dks-pay-qr-code {
  width: 132px;
  height: 132px;
}

.dks-pay-qr p {
  margin: 7px 0 4px;
  color: #9c8b82;
  font-size: 11px;
}

.dks-pay-qr > strong {
  color: #2f211c;
  font-size: 13px;
}

.dks-pay-qr > strong span {
  margin-left: 5px;
  color: #bd121a;
}

.dks-pay-qr > strong b {
  color: #bd121a;
  font-size: 27px;
}

.dks-pay-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 42px 22px;
}

.dks-pay-foot > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #95847b;
  font-size: 11px;
}

.dks-safe-dot {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #e2f5e9;
  color: #2fa85c;
  font-weight: 900;
}

.dks-success-card {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100vw - 32px));
  overflow: hidden;
  padding: 46px 42px 30px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 223, 153, .34), transparent 34%),
    #fff;
  box-shadow: 0 36px 110px rgba(35, 9, 8, .34);
  color: var(--dks-ink);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  text-align: center;
  transform: translateY(14px) scale(.985);
  transition: transform .22s ease;
}

.dks-success-rays {
  position: absolute;
  top: -145px;
  left: 50%;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(215, 167, 73, .13) 0deg 9deg,
    transparent 9deg 21deg
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.dks-success-check {
  position: relative;
  z-index: 1;
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  place-items: center;
  border: 7px solid #e2f6e9;
  border-radius: 50%;
  background: linear-gradient(145deg, #38bc6a, #239c52);
  box-shadow: 0 12px 28px rgba(35, 156, 82, .22);
  color: #fff;
  font: 900 34px/1 Arial, sans-serif;
}

.dks-success-flag {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #efdfbd;
  border-radius: 999px;
  background: #fff9ec;
  color: #a67420;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.dks-success-card h2 {
  position: relative;
  z-index: 1;
  margin: 10px 0 8px;
  color: #34251f;
  font-size: 29px;
  line-height: 1.25;
}

.dks-success-sub {
  margin: 0;
  color: #88766e;
  font-size: 13px;
  line-height: 1.7;
}

.dks-success-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 22px 0 14px;
  overflow: hidden;
  border: 1px solid #eee3dd;
  border-radius: 13px;
  background: #fcf9f7;
}

.dks-success-summary > span {
  display: grid;
  gap: 5px;
  padding: 13px 10px;
}

.dks-success-summary > span + span {
  border-left: 1px solid #eee3dd;
}

.dks-success-summary em {
  color: #9c8b83;
  font-size: 10px;
  font-style: normal;
}

.dks-success-summary strong {
  color: #4b3932;
  font-size: 13px;
}

.dks-service-wechat {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid #cfe9d8;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3fff7, #fbfffc);
  text-align: left;
}

.dks-wechat-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: #20b766;
  box-shadow: 0 8px 18px rgba(32, 183, 102, .18);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.dks-service-wechat > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.dks-service-wechat em {
  color: #71907c;
  font-size: 10px;
  font-style: normal;
}

.dks-service-wechat strong {
  color: #245d3b;
  font-size: 17px;
  letter-spacing: .03em;
}

.dks-service-wechat small {
  overflow: hidden;
  color: #85a18f;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dks-service-wechat button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #9ed5b2;
  border-radius: 9px;
  background: #fff;
  color: #23804a;
  cursor: pointer;
  font: 800 11px/1 "Microsoft YaHei", sans-serif;
}

.dks-success-order {
  margin: 14px 0 0;
  color: #b1a39d;
  font-size: 9px;
}

.dks-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 2147483647;
  display: flex;
  max-width: min(520px, calc(100vw - 32px));
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 9px;
  border: 1px solid #e3d7d1;
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 16px 48px rgba(45, 20, 15, .2);
  color: #4b3932;
  font: 700 13px/1.55 "Microsoft YaHei", sans-serif;
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: .22s ease;
}

.dks-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dks-toast-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: #f1e6e1;
  color: #8f6253;
  font-size: 14px;
  font-weight: 900;
}

.dks-toast.is-success .dks-toast-icon {
  background: #dff5e7;
  color: #279452;
}

.dks-toast.is-warning .dks-toast-icon {
  background: #fff0d5;
  color: #b4730c;
}

#resFavBtn.is-favorited {
  border-color: #d2a047 !important;
  background: #fff8e9 !important;
  color: #9b650f !important;
}

/* Personal center */
.dks-account-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 0, rgba(190, 20, 28, .06), transparent 25%),
    #f7f4f2;
  color: #33251f;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.dks-account-page *,
.dks-account-page *::before,
.dks-account-page *::after {
  box-sizing: border-box;
}

.dks-account-page .siteHeader {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(103, 62, 49, .08);
}

.dks-account-page .dks-account-main {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 190px);
  margin: 0 auto;
  padding: 28px 0 46px;
}

.dks-account-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
}

.dks-account-side {
  position: sticky;
  top: 20px;
  align-self: start;
  padding: 22px 14px 14px;
  border: 1px solid #e9dfda;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(52, 24, 18, .05);
}

.dks-account-user {
  display: grid;
  justify-items: center;
  padding: 5px 10px 21px;
  border-bottom: 1px solid #f0e8e4;
}

.dks-account-user .dks-avatar {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  font-size: 21px;
}

.dks-account-user strong {
  color: #362720;
  font-size: 15px;
}

.dks-account-user em {
  margin-top: 5px;
  color: #b07c31;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.dks-account-side nav {
  display: grid;
  gap: 5px;
  padding: 15px 0;
}

.dks-account-side nav button {
  display: grid;
  min-height: 44px;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #74645d;
  cursor: pointer;
  font-family: "Microsoft YaHei", sans-serif;
  text-align: left;
}

.dks-account-side nav button:hover,
.dks-account-side nav button.is-active {
  background: #fff2ed;
  color: #a70c15;
}

.dks-account-side nav button span {
  text-align: center;
}

.dks-account-side nav button b {
  font-size: 13px;
}

.dks-account-side nav button em {
  min-width: 22px;
  padding: 3px 6px;
  border-radius: 10px;
  background: #eee7e3;
  font-size: 10px;
  font-style: normal;
  text-align: center;
}

.dks-account-side nav button.is-active em {
  background: #cf2028;
  color: #fff;
}

.dks-account-logout {
  width: 100%;
  min-height: 38px;
  border: 1px solid #eee4df;
  border-radius: 9px;
  background: #fff;
  color: #a58d83;
  cursor: pointer;
  font: 600 12px/1 "Microsoft YaHei", sans-serif;
}

.dks-account-content {
  min-width: 0;
}

.dks-account-title {
  display: flex;
  min-height: 96px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 4px 2px;
}

.dks-account-title > div > span {
  color: #bc151d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.dks-account-title h1 {
  margin: 5px 0 7px;
  color: #34251f;
  font-size: 27px;
  line-height: 1.2;
}

.dks-account-title p {
  margin: 0;
  color: #8b7b73;
  font-size: 13px;
}

.dks-account-title > a {
  margin-bottom: 6px;
  color: #9b141a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.dks-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.dks-stat-card {
  display: flex;
  min-width: 0;
  min-height: 132px;
  align-items: flex-start;
  gap: 12px;
  padding: 19px 16px;
  border: 1px solid #e9dfda;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(50, 23, 17, .035);
}

.dks-stat-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #fff0eb;
  color: #b71119;
  font-size: 15px;
  font-weight: 900;
}

.dks-stat-card > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.dks-stat-card em {
  color: #9a8981;
  font-size: 11px;
  font-style: normal;
}

.dks-stat-card strong {
  overflow: hidden;
  color: #362720;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dks-stat-card p {
  margin: 0;
  color: #a6978f;
  font-size: 10px;
  line-height: 1.5;
}

.dks-account-card {
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid #e9dfda;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(50, 23, 17, .035);
}

.dks-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.dks-card-head h2 {
  margin: 0 0 4px;
  color: #3a2a23;
  font-size: 17px;
}

.dks-card-head p {
  margin: 0;
  color: #9d8d85;
  font-size: 11px;
}

.dks-simple-list {
  display: grid;
}

.dks-simple-list a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #f0e8e4;
  color: #4a3932;
  text-decoration: none;
}

.dks-simple-list a:first-child {
  border-top: 0;
}

.dks-simple-list a > span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.dks-simple-list b {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dks-simple-list em {
  color: #9f8e86;
  font-size: 10px;
  font-style: normal;
}

.dks-simple-list i {
  flex: 0 0 auto;
  color: #a10f16;
  font-size: 11px;
  font-style: normal;
}

.dks-local-note {
  display: flex;
  align-items: center;
  gap: 14px;
  border-color: #ead5b3;
  background: #fffaf0;
}

.dks-local-note > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #f6e7c8;
  color: #9d6e1d;
  font-weight: 900;
}

.dks-local-note h2 {
  margin: 0 0 5px;
  color: #5d4421;
  font-size: 14px;
}

.dks-local-note p {
  margin: 0;
  color: #8f7955;
  font-size: 11px;
  line-height: 1.65;
}

.dks-account-empty {
  display: grid;
  min-height: 280px;
  align-content: center;
  justify-items: center;
  padding: 30px;
  color: #8f7f77;
  text-align: center;
}

.dks-account-empty > span {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 20px;
  background: #f8efeb;
  color: #bc1a21;
  font-size: 25px;
  font-weight: 900;
}

.dks-account-empty h3 {
  margin: 0 0 8px;
  color: #4b3932;
  font-size: 18px;
}

.dks-account-empty p {
  max-width: 460px;
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.75;
}

.dks-favorite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dks-favorite-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8ddd7;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(48, 22, 16, .04);
}

.dks-favorite-cover {
  display: block;
  height: 180px;
  overflow: hidden;
  background: #f5ece7;
}

.dks-favorite-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.dks-favorite-card:hover .dks-favorite-cover img {
  transform: scale(1.035);
}

.dks-favorite-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, #a90e16, #d13a3e);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .12em;
}

.dks-favorite-card > div {
  padding: 14px;
}

.dks-favorite-card > div > span {
  color: #a2928a;
  font-size: 10px;
}

.dks-favorite-card h2 {
  display: -webkit-box;
  min-height: 44px;
  margin: 7px 0 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  color: #3e2e27;
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
}

.dks-favorite-card h2 a {
  color: inherit;
  text-decoration: none;
}

.dks-favorite-card button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a7978f;
  cursor: pointer;
  font: 600 11px/1 "Microsoft YaHei", sans-serif;
}

.dks-favorite-card button:hover {
  color: #b4141c;
}

.dks-order-card {
  overflow-x: auto;
}

.dks-order-table {
  min-width: 680px;
}

.dks-order-row {
  display: grid;
  min-height: 70px;
  grid-template-columns: 2fr 1.2fr .7fr 1fr;
  align-items: center;
  gap: 15px;
  padding: 10px 4px;
  border-top: 1px solid #f0e8e4;
  color: #514038;
  font-size: 12px;
}

.dks-order-row > span {
  display: grid;
  gap: 5px;
}

.dks-order-row em {
  color: #a08f87;
  font-size: 10px;
  font-style: normal;
}

.dks-order-row strong {
  color: #b8121a;
  font-size: 15px;
}

.dks-order-head {
  min-height: 38px;
  border-top: 0;
  color: #998880;
  font-size: 10px;
  font-weight: 700;
}

.dks-status-success {
  display: inline-block;
  width: max-content;
  padding: 5px 8px;
  border-radius: 10px;
  background: #e3f5e9;
  color: #2c9452;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.dks-member-current {
  display: flex;
  min-height: 138px;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  padding: 24px 28px;
  border: 1px solid #dfd1c9;
  border-radius: 18px;
  background: linear-gradient(135deg, #4b3730, #2f211d);
  box-shadow: 0 14px 35px rgba(40, 22, 17, .14);
  color: #fff;
}

.dks-member-current.is-active {
  border-color: #d0a659;
  background:
    radial-gradient(circle at 85% 0, rgba(255, 220, 145, .2), transparent 32%),
    linear-gradient(135deg, #6b4a2a, #33241d);
}

.dks-member-crown {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 225, 162, .35);
  border-radius: 22px;
  background: rgba(255, 225, 162, .12);
  color: #ffd98a;
  font-size: 22px;
  font-weight: 900;
}

.dks-member-current > div {
  flex: 1 1 auto;
}

.dks-member-current em {
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-style: normal;
}

.dks-member-current h2 {
  margin: 6px 0;
  color: #fff;
  font-size: 23px;
}

.dks-member-current p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
}

.dks-member-current button {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(255, 226, 168, .5);
  border-radius: 11px;
  background: #efca7d;
  color: #513719;
  cursor: pointer;
  font: 800 13px/1 "Microsoft YaHei", sans-serif;
}

.dks-account-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-bottom: 16px;
}

.dks-account-plan-grid article {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #e7dbd5;
  border-radius: 16px;
  background: #fff;
}

.dks-account-plan-grid article > span {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 10px;
  border-radius: 0 15px 0 12px;
  background: #fff0eb;
  color: #a40e16;
  font-size: 9px;
  font-weight: 800;
}

.dks-account-plan-grid h2 {
  margin: 0 0 13px;
  font-size: 16px;
}

.dks-account-plan-grid strong {
  display: block;
  color: #b81119;
  font-size: 30px;
}

.dks-account-plan-grid strong em {
  margin-right: 3px;
  font-size: 13px;
  font-style: normal;
}

.dks-account-plan-grid p {
  margin: 6px 0 17px;
  color: #998880;
  font-size: 11px;
}

.dks-account-plan-grid button {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d8b7ae;
  border-radius: 9px;
  background: #fff7f3;
  color: #a30d15;
  cursor: pointer;
  font: 700 12px/1 "Microsoft YaHei", sans-serif;
}

.dks-benefits > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dks-benefits > div:last-child > span {
  display: grid;
  justify-items: center;
  padding: 17px 10px;
  border-radius: 12px;
  background: #fbf7f4;
  text-align: center;
}

.dks-benefits b {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 12px;
  background: #fff0e9;
  color: #b71119;
}

.dks-benefits strong {
  color: #4a3831;
  font-size: 12px;
}

.dks-benefits em {
  margin-top: 5px;
  color: #9e8e86;
  font-size: 9px;
  font-style: normal;
}

.dks-account-gate {
  display: grid;
  width: min(620px, 100%);
  min-height: 450px;
  align-content: center;
  justify-items: center;
  margin: 30px auto;
  padding: 45px;
  border: 1px solid #e7dcd6;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(53, 24, 18, .07);
  text-align: center;
}

.dks-account-gate-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(145deg, #ce252c, #930811);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.dks-account-gate h1 {
  margin: 0 0 10px;
  font-size: 26px;
}

.dks-account-gate p {
  max-width: 440px;
  margin: 0 0 22px;
  color: #8f7e76;
  font-size: 13px;
  line-height: 1.8;
}

.dks-account-gate > a:last-child {
  margin-top: 16px;
  color: #9a857d;
  font-size: 11px;
  text-decoration: none;
}

.dks-account-footer {
  padding: 22px 16px 28px;
  border-top: 1px solid #e7ddd8;
  color: #9b8b83;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 1100px) {
  .dks-header-account {
    margin-left: 5px;
  }

  .dks-login-trigger > span:last-child,
  .dks-user-copy,
  .dks-user-caret {
    display: none;
  }

  .dks-login-trigger {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .dks-user-trigger {
    display: block;
    padding: 4px;
  }

  .dks-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .dks-modal {
    padding: 12px;
  }

  .dks-login-card {
    width: min(560px, calc(100vw - 24px));
    grid-template-columns: 1fr;
  }

  .dks-login-visual {
    display: none;
  }

  .dks-login-main {
    padding: 42px 42px 30px;
  }

  .dks-payment-card {
    width: min(620px, calc(100vw - 24px));
  }

  .dks-plan-grid {
    grid-template-columns: 1fr;
  }

  .dks-plan-card {
    min-height: 105px;
    grid-template-columns: 1fr auto;
    justify-items: start;
    padding: 19px;
  }

  .dks-plan-card em {
    grid-column: 1 / -1;
  }

  .dks-pay-body {
    grid-template-columns: 1fr 190px;
  }

  .dks-account-layout {
    grid-template-columns: 1fr;
  }

  .dks-account-side {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 12px;
  }

  .dks-account-user {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px 0 0;
    border: 0;
  }

  .dks-account-user .dks-avatar {
    width: 40px;
    height: 40px;
    margin: 0;
    font-size: 15px;
  }

  .dks-account-user em {
    display: none;
  }

  .dks-account-side nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 0;
  }

  .dks-account-side nav button {
    display: flex;
    min-height: 38px;
    padding: 0 9px;
  }

  .dks-account-side nav button span,
  .dks-account-side nav button em {
    display: none;
  }

  .dks-account-logout {
    width: auto;
    padding: 0 10px;
  }

  .dks-favorite-grid,
  .dks-account-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .dks-login-main {
    padding: 40px 20px 24px;
  }

  .dks-login-main h2 {
    font-size: 24px;
  }

  .dks-payment-card {
    border-radius: 18px;
  }

  .dks-success-card {
    padding: 42px 18px 24px;
    border-radius: 19px;
  }

  .dks-success-card h2 {
    font-size: 25px;
  }

  .dks-service-wechat {
    grid-template-columns: auto 1fr;
  }

  .dks-service-wechat button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dks-pay-head,
  .dks-plan-grid,
  .dks-pay-body,
  .dks-pay-foot {
    padding-right: 18px;
    padding-left: 18px;
  }

  .dks-pay-head {
    padding-top: 30px;
  }

  .dks-pay-head h2 {
    font-size: 22px;
  }

  .dks-pay-body {
    grid-template-columns: 1fr;
  }

  .dks-pay-qr {
    display: none;
  }

  .dks-pay-foot {
    display: grid;
  }

  .dks-pay-foot .dks-primary-btn {
    width: 100%;
  }

  .dks-account-page .dks-account-main {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .dks-account-side {
    display: block;
    overflow-x: auto;
  }

  .dks-account-user,
  .dks-account-logout {
    display: none;
  }

  .dks-account-side nav {
    min-width: 420px;
    justify-content: flex-start;
  }

  .dks-account-side nav button {
    flex: 1 0 auto;
    justify-content: center;
  }

  .dks-account-title {
    min-height: 78px;
    align-items: flex-end;
  }

  .dks-account-title h1 {
    font-size: 23px;
  }

  .dks-account-title > a,
  .dks-account-title > button {
    display: none;
  }

  .dks-stat-grid,
  .dks-favorite-grid,
  .dks-account-plan-grid {
    grid-template-columns: 1fr;
  }

  .dks-stat-card {
    min-height: 110px;
  }

  .dks-favorite-cover {
    height: 210px;
  }

  .dks-benefits > div:last-child {
    grid-template-columns: repeat(2, 1fr);
  }

  .dks-member-current {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 21px;
  }

  .dks-member-current button {
    width: 100%;
  }

  .dks-account-gate {
    min-height: 390px;
    padding: 30px 20px;
  }
}

/* Shared member-service poster placements */
.dks-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.dks-success-card.dks-success-poster-card {
  width: min(820px, calc(100vw - 32px));
  max-height: calc(100vh - 28px);
  padding: 14px 14px 20px;
  overflow: auto;
  background: #fff;
}

.dks-success-poster-card .dks-modal-close {
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 5px 16px rgba(45, 23, 18, .12);
}

.dks-success-poster {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #eee5e0;
  border-radius: 14px;
  background: #fff;
}

.dks-success-poster-card .dks-success-summary {
  margin: 13px 0 10px;
}

/* Download-complete page */
.dks-download-complete-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0, rgba(195, 19, 27, .08), transparent 30%),
    #f7f3f0;
  color: #352620;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.dks-download-complete-page *,
.dks-download-complete-page *::before,
.dks-download-complete-page *::after {
  box-sizing: border-box;
}

.dks-download-complete-main {
  width: min(920px, calc(100% - 28px));
  margin: 0 auto;
  padding: 32px 0 60px;
}

.dks-download-complete-card {
  padding: 30px;
  border: 1px solid #e9ddd7;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(54, 24, 18, .08);
}

.dks-download-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
}

.dks-download-status > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 6px solid #e1f5e8;
  border-radius: 50%;
  background: #2aaa5d;
  color: #fff;
  font: 900 25px/1 Arial, sans-serif;
}

.dks-download-status em {
  color: #b3181f;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .14em;
}

.dks-download-status h1 {
  margin: 4px 0 0;
  color: #392a23;
  font-size: 26px;
}

.dks-downloaded-resource {
  display: grid;
  gap: 5px;
  margin: 22px 0 18px;
  padding: 14px 18px;
  border: 1px solid #eee4df;
  border-radius: 13px;
  background: #fcf9f7;
  text-align: center;
}

.dks-downloaded-resource > span,
.dks-downloaded-resource > em {
  color: #9d8c84;
  font-size: 10px;
  font-style: normal;
}

.dks-downloaded-resource > strong {
  overflow: hidden;
  color: #4b3932;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dks-download-service-poster {
  margin: 0;
}

.dks-download-service-poster img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #eee4df;
  border-radius: 15px;
}

.dks-download-service-poster figcaption {
  margin-top: 10px;
  color: #87756d;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.dks-download-complete-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.dks-download-complete-actions .dks-text-link {
  grid-column: 1 / -1;
  color: #9d171d;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.dks-download-disclaimer {
  margin: 16px 0 0;
  color: #b0a19a;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 560px) {
  .dks-success-card.dks-success-poster-card {
    padding: 8px 8px 16px;
  }

  .dks-success-poster-card .dks-modal-close {
    top: 14px;
    right: 14px;
  }

  .dks-success-poster-card .dks-success-summary {
    margin: 9px 0;
  }

  .dks-download-complete-main {
    width: min(100% - 18px, 920px);
    padding-top: 14px;
  }

  .dks-download-complete-card {
    padding: 16px;
    border-radius: 17px;
  }

  .dks-download-status h1 {
    font-size: 22px;
  }

  .dks-download-complete-actions {
    grid-template-columns: 1fr;
  }

  .dks-download-complete-actions .dks-text-link {
    grid-column: auto;
  }
}

/* ===== Mobile responsive layer v1: shared by every offline page ===== */
html {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
canvas,
svg,
iframe {
  max-width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
  font: inherit;
}

.wrap,
.page,
.dkPage,
.dkHeaderWrap,
.dkTopbar,
.dkNav,
.dkRightTools,
.panel,
.panelBd,
.resourceShell,
.resourceLayout,
.resourceMainCol,
.resourceSideCol,
.home2,
.shotChannelPage,
.searchRefPage,
.searchRefLayout,
.searchRefMain,
.searchRefSide {
  min-width: 0;
}

.resourceArticle,
.resourceRefPanel,
.resourcePrevNextRow,
.resourceFactRow,
.dkFooterRefCard,
.dkFooterRefCopyright,
.dks-account-card,
.dks-order-row {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1020px) {
  html {
    scroll-padding-top: 150px !important;
  }

  body {
    padding-top: 0 !important;
  }

  .siteHeader.dkHeader {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .siteHeader.dkHeader .dkHeaderWrap,
  .dkHeaderWrap,
  .wrap {
    width: min(100% - 28px, 1320px) !important;
    max-width: 1320px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .siteHeader.dkHeader .dkTopbar,
  .dkTopbar {
    width: 100% !important;
    height: auto !important;
    min-height: 64px !important;
    padding: 8px 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px 18px !important;
    overflow: visible !important;
  }

  .siteHeader.dkHeader .dkBrand,
  .dkBrand {
    order: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
  }

  .siteHeader.dkHeader .dkNav,
  .dkNav {
    order: 3 !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    flex: 1 0 100% !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .dkNav::-webkit-scrollbar {
    display: none;
  }

  .dkNav .navItem {
    min-width: max-content !important;
    flex: 1 0 auto !important;
  }

  .dkNav .navLink,
  .dkNavLink {
    min-width: 88px !important;
    height: 44px !important;
    padding: 0 14px !important;
    justify-content: center !important;
    font-size: 14px !important;
  }

  .dkNav .navLink.active::before,
  .dkNav .navItem.open > .navLink::before {
    bottom: 2px !important;
    width: 42px !important;
    height: 3px !important;
  }

  .siteHeader.dkHeader .dkRightTools,
  .dkRightTools {
    order: 2 !important;
    min-width: 0 !important;
    margin-left: auto !important;
    flex: 0 1 auto !important;
    flex-wrap: nowrap !important;
  }

  .dkHeaderSearch {
    width: clamp(180px, 34vw, 300px) !important;
    min-width: 160px !important;
    max-width: 300px !important;
  }

  .dkVipBtn,
  .dks-login-trigger,
  .dks-user-trigger {
    min-height: 44px !important;
  }

  /* Homepage tablet layout */
  #page-home .home2-hero-inner,
  #page-home .home2-section {
    width: 100% !important;
    max-width: 100% !important;
  }

  #page-home .home2-grid,
  #page-home .home2-topic-grid,
  #page-home .home2-type-grid,
  #page-home .home2-scene-grid,
  #page-home .home2-reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #page-home .home2-faq-grid {
    grid-template-columns: 1fr !important;
  }

  /* Search and legacy channel pages */
  #page-search.searchRefPage .searchRefLayout {
    grid-template-columns: 1fr !important;
  }

  #page-search.searchRefPage .searchRefSide {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
  }

  #page-search.searchRefPage .searchRefFilterLine {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #page-search.searchRefPage .searchRefResultList.is-card {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #page-channel .filterPanelClean,
  #page-search .filterPanelClean,
  #page-channel > .panel:not(.filterPanelClean),
  #page-search > .panel:not(.filterPanelClean) {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #page-channel .filterPanelClean .panelBd,
  #page-search .filterPanelClean .panelBd {
    height: auto !important;
    padding: 12px 16px !important;
    overflow: visible !important;
  }

  #page-channel .filterRowsClean,
  #page-search .filterRowsClean {
    grid-template-rows: none !important;
  }

  #page-channel .filterRowClean,
  #page-search .filterRowClean {
    height: auto !important;
    min-height: 38px !important;
    overflow: visible !important;
  }

  #page-channel .filterLinksClean,
  #page-search .filterLinksClean {
    flex-wrap: wrap !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  /* Resource detail switches from two columns to one. */
  #page-resource .resourceShell {
    width: 100% !important;
    max-width: 100% !important;
  }

  #page-resource .resourceLayout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  #page-resource .resourceSideCol {
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
  }

  #page-resource .resourceActionCard,
  #page-resource .resourceAssistCard {
    grid-column: 1 / -1 !important;
  }

  #page-resource .resourceRefFaqGrid,
  #page-resource .resourceRefInfoGrid,
  #page-resource .resourceRelatedGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Footer reflows instead of retaining the fixed 1320x142 desktop box. */
  footer.dkFooterRef,
  .dkFooter {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 18px 0 0 !important;
    overflow: visible !important;
  }

  footer.dkFooterRef .dkFooterRefCard,
  .dkFooterRefCard {
    width: min(100% - 28px, 1320px) !important;
    max-width: 1320px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 20px !important;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(130px, .8fr)) !important;
    gap: 22px !important;
  }

  .dkFooterRefBrand {
    grid-column: 1 / -1 !important;
  }

  .dkFooterRefQuick {
    width: min(100%, 420px) !important;
  }

  .dkFooterRefCol,
  .dkFooterRefContact {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .dkFooterRefContact {
    padding-left: 20px !important;
  }

  .dkFooterRefCopyright {
    width: min(100% - 28px, 1320px) !important;
    height: auto !important;
    min-height: 48px !important;
    margin: 0 auto !important;
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom)) !important;
    flex-wrap: wrap !important;
    gap: 6px 16px !important;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 184px !important;
  }

  .siteHeader.dkHeader .dkHeaderWrap,
  .dkHeaderWrap,
  .wrap,
  body[data-page="channel"] main.wrap {
    width: min(100% - 20px, 1320px) !important;
  }

  .siteHeader.dkHeader .dkTopbar,
  .dkTopbar {
    gap: 6px 10px !important;
  }

  .dkBrandText .brandName {
    font-size: 22px !important;
  }

  .dkBrandText .brandSlogan {
    display: none !important;
  }

  .dkLogoMark,
  .dkLogoMark img,
  .dkLogoMark svg {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
  }

  .siteHeader.dkHeader .dkRightTools,
  .dkRightTools {
    order: 4 !important;
    width: 100% !important;
    flex: 1 0 100% !important;
    margin-left: 0 !important;
  }

  .dkHeaderSearch {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    height: 42px !important;
  }

  .dkHeaderSearch .searchInput,
  .dkHeaderSearch .searchBtn {
    height: 42px !important;
  }

  .dks-header-account {
    flex: 0 0 auto !important;
  }

  .dks-user-copy {
    display: none !important;
  }

  .dks-user-trigger,
  .dks-login-trigger {
    min-width: 44px !important;
    width: auto !important;
    height: 44px !important;
    padding: 0 10px !important;
  }

  .dks-user-menu {
    position: fixed !important;
    top: auto !important;
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    width: auto !important;
    max-height: min(70vh, 520px) !important;
    overflow-y: auto !important;
  }

  /* Homepage phone layout */
  #page-home .home2-hero {
    min-height: 0 !important;
  }

  #page-home .home2-hero-inner {
    padding: 34px 8px 30px !important;
  }

  #page-home .home2-title {
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1.2 !important;
  }

  #page-home .home2-subtitle {
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  #page-home .home2-search {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    display: flex !important;
  }

  #page-home .home2-search input {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  #page-home .home2-search button,
  #page-home .home2-search .homeSearchBtn {
    min-width: 76px !important;
    padding: 0 14px !important;
  }

  #page-home .home2-hot {
    max-width: 100% !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    scrollbar-width: none;
  }

  #page-home .home2-hot > * {
    flex: 0 0 auto !important;
  }

  #page-home .home2-section {
    margin-top: 26px !important;
  }

  #page-home .home2-head {
    align-items: flex-end !important;
    gap: 10px !important;
  }

  #page-home .home2-heading {
    font-size: 20px !important;
  }

  #page-home .home2-grid,
  #page-home .home2-topic-grid,
  #page-home .home2-type-grid,
  #page-home .home2-scene-grid,
  #page-home .home2-reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  #page-home .galleryCard,
  #page-home .mediaCard.resourceCard,
  #page-home .resourceCard {
    width: 100% !important;
    height: auto !important;
  }

  #page-home .home2-latest-item {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px !important;
    padding: 13px 0 !important;
  }

  #page-home .home2-latest-date,
  #page-home .home2-latest-badge {
    justify-self: start !important;
  }

  /* Channel phone layout: keep vertical covers in two columns. */
  body[data-page="channel"] #page-channel .dkChannelHero.shotChannelHero {
    min-height: 0 !important;
    padding: 24px 18px !important;
    align-items: flex-start !important;
    background-position: center center !important;
  }

  body[data-page="channel"] #page-channel .shotChannelHeroCopy {
    width: 100% !important;
  }

  body[data-page="channel"] #page-channel .shotChannelHeroCopy h1 {
    font-size: clamp(26px, 8vw, 34px) !important;
  }

  body[data-page="channel"] #page-channel .shotChannelHeroFeatures {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  body[data-page="channel"] #page-channel .shotChannelHeroFeatures span {
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    white-space: normal !important;
  }

  body[data-page="channel"] #page-channel .shotTopicHeading {
    align-items: stretch !important;
  }

  body[data-page="channel"] #page-channel .shotTopicLibraryLink {
    width: 100% !important;
    min-height: 44px !important;
  }

  body[data-page="channel"] .shotTopicGrid,
  body[data-page="channel"] .shotFeatureGrid,
  body[data-page="channel"] .shotLatestGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
  }

  body[data-page="channel"] #page-channel .shotFeatureCard,
  body[data-page="channel"] #page-channel .shotLatestCard {
    width: 100% !important;
    min-width: 0 !important;
  }

  body[data-page="channel"] #page-channel .shotChannelPager {
    width: 100% !important;
    grid-template-columns: 1fr auto 1fr !important;
  }

  body[data-page="channel"] #page-channel .shotPagerBtn,
  body[data-page="channel"] #page-channel .shotPagerStatus {
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 9px !important;
  }

  /* Resource detail phone layout. */
  #page-resource .resourceTopBar,
  #page-resource .resourcePreviewCard,
  #page-resource .resourceArticle,
  #page-resource .resourceActionCard,
  #page-resource .resourceFactsCard,
  #page-resource .resourceNoticeCard,
  #page-resource .resourceAssistCard {
    border-radius: 12px !important;
  }

  #page-resource .resourceTopBar {
    padding: 18px 16px !important;
  }

  #page-resource .resourceTopHead,
  #page-resource .resourcePreviewIntro {
    flex-direction: column !important;
    gap: 10px !important;
  }

  #page-resource .resourceTitleBox h1 {
    font-size: clamp(23px, 6.5vw, 28px) !important;
    line-height: 1.35 !important;
  }

  #page-resource .resourceTopTags {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  #page-resource .resourceTopInfo {
    gap: 12px 18px !important;
  }

  #page-resource .resourceInfoItem {
    white-space: normal !important;
  }

  #page-resource .resourcePreviewCard,
  #page-resource .resourceArticleBlock,
  #page-resource .resourceRefPanel,
  #page-resource .resourceRefFaqPanel,
  #page-resource .resourceRefMaterialBlock,
  #page-resource .resourceRelatedPanel {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  #page-resource .resourceRefFaqGrid,
  #page-resource .resourceRefInfoGrid,
  #page-resource .resourceRelatedGrid,
  #page-resource .resourceDownloadNoteGrid {
    grid-template-columns: 1fr !important;
  }

  #page-resource .resourceSideCol {
    grid-template-columns: 1fr !important;
  }

  #page-resource .resourceActionCard,
  #page-resource .resourceAssistCard {
    grid-column: auto !important;
  }

  #page-resource .resourcePrevNextRow {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  /* Search results become a single readable stream. */
  #page-search.searchRefPage .searchRefFilterLine,
  #page-search.searchRefPage .searchRefResultList.is-card {
    grid-template-columns: 1fr !important;
  }

  #page-search.searchRefPage .searchRefResultList.is-list .searchRefItem {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  #page-search.searchRefPage .searchRefResultList.is-list .searchRefActions {
    grid-column: 1 / -1 !important;
  }

  /* Footer phone layout. */
  footer.dkFooterRef .dkFooterRefCard,
  .dkFooterRefCard {
    width: min(100% - 20px, 1320px) !important;
    padding: 18px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 12px !important;
  }

  .dkFooterRefBrand,
  .dkFooterRefContact {
    grid-column: 1 / -1 !important;
  }

  .dkFooterRefCol,
  .dkFooterRefContact {
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  .dkFooterRefQuick {
    width: 100% !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .dkFooterRefContact {
    padding-top: 18px !important;
    border-top: 1px solid #f0dfd8 !important;
  }

  .dkFooterRefCopyright {
    width: min(100% - 20px, 1320px) !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  /* Local login, payment, success and account interfaces. */
  .dks-modal {
    padding: 10px !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .dks-login-card,
  .dks-payment-card,
  .dks-success-card,
  .dks-success-card.dks-success-poster-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: auto 0 !important;
  }

  .dks-login-card {
    grid-template-columns: 1fr !important;
  }

  .dks-login-visual {
    min-height: 150px !important;
  }

  .dks-login-main {
    padding: 24px 18px !important;
  }

  .dks-plan-grid,
  .dks-pay-body,
  .dks-stat-grid,
  .dks-favorite-grid,
  .dks-account-plan-grid {
    grid-template-columns: 1fr !important;
  }

  .dks-pay-head,
  .dks-plan-grid,
  .dks-pay-body,
  .dks-pay-foot {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .dks-pay-foot {
    padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  }

  .dks-account-page .dks-account-main {
    width: min(100% - 20px, 1180px) !important;
  }

  .dks-account-layout {
    grid-template-columns: 1fr !important;
  }

  .dks-account-side {
    position: static !important;
    width: 100% !important;
    overflow-x: auto !important;
  }

  .dks-account-side nav {
    width: max-content !important;
    min-width: 100% !important;
    display: flex !important;
  }

  .dks-account-side nav button {
    min-height: 44px !important;
    flex: 0 0 auto !important;
  }

  .dks-order-table {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .dks-order-row {
    min-width: 620px !important;
  }
}

@media (max-width: 560px) {
  .dkNav .navLink,
  .dkNavLink {
    min-width: 82px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }

  #page-home .home2-grid,
  #page-home .home2-topic-grid,
  #page-home .home2-type-grid,
  #page-home .home2-scene-grid,
  #page-home .home2-reason-grid {
    gap: 10px !important;
  }

  #page-home .home2-type-card,
  #page-home .home2-scene-card,
  #page-home .home2-reason-card {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  body[data-page="channel"] #breadcrumb.shotChannelBreadcrumb,
  .breadcrumb {
    min-height: 44px !important;
    height: auto !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    scrollbar-width: none;
  }

  body[data-page="channel"] #page-channel .shotChannelHeroFeatures {
    grid-template-columns: 1fr !important;
  }

  body[data-page="channel"] .shotTopicGrid,
  body[data-page="channel"] .shotFeatureGrid,
  body[data-page="channel"] .shotLatestGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-page="channel"] #page-channel .shotFeatureCard h3,
  body[data-page="channel"] #page-channel .shotLatestBody,
  body[data-page="channel"] #page-channel .shotLatestBody h3 {
    font-size: 13px !important;
  }

  body[data-page="channel"] #page-channel .shotPagerLabel {
    font-size: 12px !important;
  }

  #page-resource #resHeroImage {
    aspect-ratio: 4 / 3 !important;
  }

  #page-search.searchRefPage .searchRefResultList.is-list .searchRefItem {
    grid-template-columns: 1fr !important;
  }

  #page-search.searchRefPage .searchRefThumb {
    width: 100% !important;
  }

  .dkFooterRefQuick {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dkFooterRefQr,
  .dkFooterRefQrText {
    display: none !important;
  }

  .dks-success-poster {
    border-radius: 8px !important;
  }

  .dks-benefits > div:last-child {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 359px) {
  #page-home .home2-grid,
  #page-home .home2-topic-grid,
  #page-home .home2-type-grid,
  #page-home .home2-scene-grid,
  #page-home .home2-reason-grid,
  body[data-page="channel"] .shotTopicGrid,
  body[data-page="channel"] .shotFeatureGrid,
  body[data-page="channel"] .shotLatestGrid {
    grid-template-columns: 1fr !important;
  }
}

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

/* ===== Reference homepage recommendation and footer v3 ===== */
#page-home .dks-home-recommend {
  margin-top: 30px !important;
  margin-bottom: 10px !important;
}

#page-home .dks-home-recommend .home2-heading {
  margin: 0 0 13px !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
}

#page-home .dks-recommend-grid {
  width: 100% !important;
  padding: 1px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 1px !important;
  overflow: hidden !important;
  border: 1px solid #eadfda !important;
  border-radius: 12px !important;
  background: #eee5e1 !important;
  box-shadow: 0 8px 24px rgba(82, 34, 22, .045) !important;
}

#page-home .dks-recommend-link {
  min-width: 0 !important;
  min-height: 45px !important;
  padding: 8px 14px 8px 42px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  color: #282423 !important;
  background: rgba(255, 255, 255, .98) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color .18s ease, background .18s ease !important;
}

#page-home .dks-recommend-link::before {
  content: "›" !important;
  position: absolute !important;
  left: 17px !important;
  top: 50% !important;
  width: 17px !important;
  height: 17px !important;
  border: 1.5px solid #f12626 !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  color: #f12626 !important;
  background: #fff !important;
  font: 900 16px/1 Arial, sans-serif !important;
  transform: translateY(-50%) !important;
}

#page-home .dks-recommend-link:hover,
#page-home .dks-recommend-link:focus-visible {
  color: #c40000 !important;
  background: #fff8f6 !important;
}

#page-home .dks-recommend-link:focus-visible {
  z-index: 2 !important;
  outline: 2px solid #d00000 !important;
  outline-offset: -2px !important;
}

footer.dkFooterRefV3 {
  width: 100vw !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 20px 0 0 calc(50% - 50vw) !important;
  padding: 0 0 10px !important;
  overflow: visible !important;
  border: 0 !important;
  border-top: 3px solid #e31919 !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #fffdfb 0%, #fffaf7 100%) !important;
  box-shadow: none !important;
}

footer.dkFooterRefV3 .dkFooterRefCard {
  width: min(1320px, calc(100% - 48px)) !important;
  max-width: 1320px !important;
  height: auto !important;
  min-height: 168px !important;
  margin: 0 auto !important;
  padding: 20px 0 15px !important;
  display: grid !important;
  grid-template-columns: minmax(350px, 1.3fr) minmax(135px, .55fr) minmax(155px, .62fr) minmax(440px, 1.7fr) !important;
  align-items: stretch !important;
  gap: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

footer.dkFooterRefV3 .dkFooterRefBrand {
  min-width: 0 !important;
  padding: 2px 26px 0 0 !important;
  grid-column: auto !important;
}

footer.dkFooterRefV3 .dkFooterRefLogo {
  min-height: 46px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #252525 !important;
}

footer.dkFooterRefV3 .dkFooterRefLogo::before {
  content: "" !important;
  width: 47px !important;
  height: 47px !important;
  flex: 0 0 47px !important;
  display: block !important;
  border-radius: 50% !important;
  background: #d40000 url("../content/img/logo.png") center / 100% 100% no-repeat !important;
  box-shadow: 0 6px 15px rgba(190, 0, 0, .14) !important;
}

footer.dkFooterRefV3 .dkFooterRefLogoText {
  min-width: 0 !important;
  display: grid !important;
  gap: 3px !important;
}

footer.dkFooterRefV3 .dkFooterRefLogoText strong {
  max-width: none !important;
  margin: 0 !important;
  color: #272323 !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  white-space: normal !important;
  overflow: visible !important;
}

footer.dkFooterRefV3 .dkFooterRefLogoText strong span {
  color: #d40000 !important;
}

footer.dkFooterRefV3 .dkFooterRefLogoText strong i {
  margin: 0 7px !important;
  color: #bc8d80 !important;
  font-style: normal !important;
}

footer.dkFooterRefV3 .dkFooterRefLogoText em,
footer.dkFooterRefV3 .dkFooterRefLogoText small {
  max-width: none !important;
  display: block !important;
  color: #5a514e !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  font-style: normal !important;
  font-weight: 600 !important;
  white-space: normal !important;
  overflow: visible !important;
}

footer.dkFooterRefV3 .dkFooterRefLogoText small {
  grid-column: 1 / -1 !important;
}

footer.dkFooterRefV3 .dkFooterRefQuick {
  width: auto !important;
  max-width: 315px !important;
  margin: 13px 0 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
}

footer.dkFooterRefV3 .dkFooterRefQuick a {
  min-width: 88px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid #efc9c3 !important;
  border-radius: 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  color: #6a322e !important;
  background: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

footer.dkFooterRefV3 .dkFooterRefQuick a span {
  display: none !important;
}

footer.dkFooterRefV3 .dkFooterRefQuick em {
  max-width: none !important;
  color: inherit !important;
  font-style: normal !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

footer.dkFooterRefV3 .dkFooterRefCol {
  width: auto !important;
  height: auto !important;
  min-height: 136px !important;
  padding: 2px 22px 0 !important;
  border: 0 !important;
  border-left: 1px solid #eedfda !important;
}

footer.dkFooterRefV3 .dkFooterRefCol h3,
footer.dkFooterRefV3 .dkFooterRefContact h3 {
  margin: 0 0 8px !important;
  color: #e00012 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

footer.dkFooterRefV3 .dkFooterRefCol a {
  height: auto !important;
  min-height: 22px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  color: #312c2a !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  white-space: normal !important;
  overflow: visible !important;
}

footer.dkFooterRefV3 .dkFooterRefContact {
  width: auto !important;
  height: auto !important;
  min-height: 136px !important;
  margin-left: 8px !important;
  padding: 14px 18px !important;
  display: grid !important;
  grid-template-columns: minmax(215px, 1fr) 84px 114px !important;
  align-items: center !important;
  gap: 16px !important;
  border: 1px solid #eee1dc !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 5px 16px rgba(86, 35, 24, .035) !important;
}

footer.dkFooterRefV3 .dkFooterRefContactText {
  min-width: 0 !important;
}

footer.dkFooterRefV3 .dkFooterRefContactText p {
  height: auto !important;
  min-height: 21px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  color: #312c2a !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  white-space: normal !important;
  overflow: visible !important;
}

footer.dkFooterRefV3 .dkFooterRefContactText b {
  flex: 0 0 auto !important;
  color: #302b29 !important;
}

footer.dkFooterRefV3 .dkFooterRefServiceTime span {
  display: inline !important;
}

footer.dkFooterRefV3 .dkFooterRefServiceTime br {
  display: none !important;
}

footer.dkFooterRefV3 .dkFooterRefQr {
  width: 82px !important;
  height: 82px !important;
  margin: 0 !important;
  display: block !important;
  flex: 0 0 82px !important;
  border-radius: 4px !important;
}

footer.dkFooterRefV3 .dkFooterRefQrText {
  max-width: 114px !important;
  margin: 0 !important;
  display: block !important;
  color: #37312f !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  font-weight: 600 !important;
  white-space: normal !important;
  overflow: visible !important;
}

footer.dkFooterRefV3 .dkFooterRefCopyright {
  width: min(1320px, calc(100% - 48px)) !important;
  max-width: 1320px !important;
  height: auto !important;
  min-height: 42px !important;
  margin: 0 auto !important;
  padding: 10px 0 calc(7px + env(safe-area-inset-bottom)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 5px 13px !important;
  border-top: 1px solid #eadfda !important;
  color: #847b77 !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

footer.dkFooterRefV3 .dkFooterRefCopyright a {
  color: #776d69 !important;
}

@media (max-width: 1100px) {
  footer.dkFooterRefV3 .dkFooterRefCard {
    grid-template-columns: minmax(300px, 1.2fr) minmax(135px, .55fr) minmax(155px, .65fr) !important;
    row-gap: 18px !important;
  }

  footer.dkFooterRefV3 .dkFooterRefContact {
    grid-column: 1 / -1 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 900px) {
  #page-home .dks-recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  #page-home .dks-home-recommend {
    margin-top: 25px !important;
  }

  #page-home .dks-home-recommend .home2-heading {
    font-size: 21px !important;
  }

  #page-home .dks-recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #page-home .dks-recommend-link {
    min-height: 46px !important;
    padding-right: 9px !important;
    padding-left: 36px !important;
    font-size: 13px !important;
  }

  #page-home .dks-recommend-link::before {
    left: 12px !important;
  }

  footer.dkFooterRefV3 .dkFooterRefCard {
    width: min(100% - 20px, 1320px) !important;
    padding: 18px 0 14px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 0 !important;
  }

  footer.dkFooterRefV3 .dkFooterRefBrand,
  footer.dkFooterRefV3 .dkFooterRefContact {
    grid-column: 1 / -1 !important;
  }

  footer.dkFooterRefV3 .dkFooterRefBrand {
    padding-right: 0 !important;
  }

  footer.dkFooterRefV3 .dkFooterRefCol {
    min-height: 0 !important;
    padding: 15px 10px 0 !important;
    border-top: 1px solid #eedfda !important;
    border-left: 0 !important;
  }

  footer.dkFooterRefV3 .dkFooterRefContact {
    margin: 0 !important;
  }

  footer.dkFooterRefV3 .dkFooterRefCopyright {
    width: min(100% - 20px, 1320px) !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

@media (max-width: 520px) {
  footer.dkFooterRefV3 .dkFooterRefCard {
    grid-template-columns: 1fr !important;
  }

  footer.dkFooterRefV3 .dkFooterRefBrand,
  footer.dkFooterRefV3 .dkFooterRefCol,
  footer.dkFooterRefV3 .dkFooterRefContact {
    grid-column: auto !important;
  }

  footer.dkFooterRefV3 .dkFooterRefLogo::before {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  footer.dkFooterRefV3 .dkFooterRefLogoText strong {
    font-size: 17px !important;
  }

  footer.dkFooterRefV3 .dkFooterRefQuick {
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  footer.dkFooterRefV3 .dkFooterRefQuick a {
    min-width: 0 !important;
    padding: 0 7px !important;
  }

  footer.dkFooterRefV3 .dkFooterRefContact {
    padding: 15px !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  footer.dkFooterRefV3 .dkFooterRefContactText {
    grid-column: 1 / -1 !important;
  }

  footer.dkFooterRefV3 .dkFooterRefQr {
    width: 76px !important;
    height: 76px !important;
    display: block !important;
  }

  footer.dkFooterRefV3 .dkFooterRefQrText {
    max-width: none !important;
    display: block !important;
  }
}

/* Featured PPT row on topic pages: mirrors the approved channel card treatment. */
#page-special .topicFeaturedPptSection {
  margin-top: 28px !important;
}

#page-special .topicFeaturedPptHeading {
  min-height: 30px !important;
  margin-bottom: 18px !important;
  display: flex !important;
  align-items: center !important;
}

#page-special .topicFeaturedPptHeading h2 {
  position: relative !important;
  margin: 0 !important;
  padding-left: 17px !important;
  color: #24282e !important;
  font-size: 22px !important;
  line-height: 30px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

#page-special .topicFeaturedPptHeading h2::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  width: 5px !important;
  height: 24px !important;
  border-radius: 1px !important;
  background: #d40000 !important;
}

#page-special .topicFeaturedPptGrid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

#page-special .topicFeaturedPptCard {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: start !important;
  overflow: hidden !important;
  border: 1px solid #e4e4e4 !important;
  border-radius: 10px !important;
  color: #282c32 !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(28, 32, 38, .08) !important;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

#page-special .topicFeaturedPptCard:hover,
#page-special .topicFeaturedPptCard:focus-visible {
  transform: translateY(-3px) !important;
  border-color: #e3a79b !important;
  box-shadow: 0 16px 34px rgba(70, 38, 30, .12) !important;
}

#page-special .topicFeaturedPptCard:focus-visible {
  outline: 3px solid rgba(196, 0, 0, .2) !important;
  outline-offset: 3px !important;
}

#page-special .topicFeaturedPptVisual {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 4 !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  border-bottom: 1px solid #eee3dd !important;
  background: #f1e7df !important;
}

#page-special .topicFeaturedPptVisual img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center top !important;
  transition: transform .24s ease !important;
}

#page-special .topicFeaturedPptCard:hover .topicFeaturedPptVisual img {
  transform: scale(1.035) !important;
}

#page-special .topicFeaturedPptCard h3 {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 8px 10px 0 !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  color: #333 !important;
  background: #fff !important;
  font-size: 14px !important;
  line-height: 21px !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}

#page-special .topicFeaturedPptCard:hover h3,
#page-special .topicFeaturedPptCard:focus-visible h3 {
  color: #c40000 !important;
}

@media (max-width: 1180px) {
  #page-special .topicFeaturedPptGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 960px) {
  #page-special .topicFeaturedPptGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  #page-special .topicFeaturedPptSection {
    margin-top: 24px !important;
  }

  #page-special .topicFeaturedPptHeading {
    margin-bottom: 14px !important;
  }

  #page-special .topicFeaturedPptHeading h2 {
    font-size: 20px !important;
  }

  #page-special .topicFeaturedPptGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }
}

@media (max-width: 420px) {
  #page-special .topicFeaturedPptGrid {
    grid-template-columns: 1fr !important;
  }
}

/* Compact, accessible accordions for topic FAQ and resource notes. */
#page-special .topicFaqBlockV2 .topicFaqGrid,
#page-special .topicUseInfoBlock .topicUseExplainGrid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 16px !important;
}

#page-special .topicFaqBlockV2 .topicFaqItem.topicFaqAccordion,
#page-special .topicUseInfoBlock .topicUseExplainCard.topicUseExplainAccordion {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
  border: 1px solid #eee7e2 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(65, 40, 28, .035) !important;
}

#page-special .topicFaqAccordion > summary,
#page-special .topicUseExplainAccordion > summary {
  list-style: none !important;
  cursor: pointer !important;
  user-select: none !important;
}

#page-special .topicFaqAccordion > summary::-webkit-details-marker,
#page-special .topicUseExplainAccordion > summary::-webkit-details-marker {
  display: none !important;
}

#page-special .topicFaqAccordion > summary::marker,
#page-special .topicUseExplainAccordion > summary::marker {
  content: "" !important;
}

#page-special .topicFaqAccordion > summary,
#page-special .topicUseExplainAccordion > summary {
  min-height: 58px !important;
  padding: 9px 18px !important;
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) 14px !important;
  align-items: center !important;
  gap: 10px !important;
  color: #23201f !important;
  background: #fff !important;
}

#page-special .topicFaqAccordion > summary:hover,
#page-special .topicUseExplainAccordion > summary:hover {
  background: #fffdfa !important;
}

#page-special .topicFaqAccordion > summary:focus-visible,
#page-special .topicUseExplainAccordion > summary:focus-visible {
  outline: 3px solid rgba(196, 0, 0, .16) !important;
  outline-offset: -3px !important;
}

#page-special .topicFaqAccordion > summary > b {
  min-width: 0 !important;
  color: #e60012 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .25px !important;
}

#page-special .topicFaqAccordion .topicFaqSummaryText {
  min-width: 0 !important;
  display: block !important;
  overflow: visible !important;
  color: #292625 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

#page-special .topicAccordionChevron {
  width: 9px !important;
  height: 9px !important;
  display: block !important;
  justify-self: end !important;
  overflow: visible !important;
  border-right: 2px solid #4a4745 !important;
  border-bottom: 2px solid #4a4745 !important;
  transform: rotate(45deg) translate(-2px, -2px) !important;
  transform-origin: center !important;
  transition: transform .18s ease !important;
}

#page-special details[open] > summary > .topicAccordionChevron {
  transform: rotate(225deg) translate(-1px, -1px) !important;
}

#page-special .topicFaqAccordion[open] > summary,
#page-special .topicUseExplainAccordion[open] > summary {
  border-bottom: 1px solid #f2e9e4 !important;
}

#page-special .topicFaqAccordion > .topicFaqAnswer,
#page-special .topicUseExplainAccordion > .topicUseExplainBody {
  padding: 14px 18px 16px 60px !important;
  color: #625a56 !important;
  background: #fff !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  font-weight: 500 !important;
}

#page-special .topicFaqAccordion > .topicFaqAnswer p {
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

#page-special .topicUseInfoBlock {
  margin-top: 22px !important;
}

#page-special .topicUseInfoBlock > h2 {
  margin: 0 0 12px !important;
  color: #24282e !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

#page-special .topicUseExplainAccordion .topicUseExplainIcon,
#page-special .topicUseExplainAccordion .topicUseExplainIcon svg {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  justify-self: center !important;
  flex: 0 0 28px !important;
}

#page-special .topicUseExplainAccordion.is-audience .topicUseExplainIcon {
  color: #e60012 !important;
}

#page-special .topicUseExplainAccordion.is-type .topicUseExplainIcon {
  color: #ff951f !important;
}

#page-special .topicUseExplainAccordion.is-download .topicUseExplainIcon {
  color: #2287d8 !important;
}

#page-special .topicUseExplainAccordion.is-scene .topicUseExplainIcon {
  color: #282828 !important;
}

#page-special .topicUseExplainAccordion .topicUseExplainSummaryText {
  min-width: 0 !important;
  color: #292625 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

#page-special .topicUseExplainAccordion > .topicUseExplainBody p {
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

#page-special .topicFaqAccordion a,
#page-special .topicUseExplainAccordion a {
  color: #c40000 !important;
  font-weight: 700 !important;
}

@media (prefers-reduced-motion: reduce) {
  #page-special .topicAccordionChevron {
    transition: none !important;
  }
}

@media (max-width: 760px) {
  #page-special .topicFaqBlockV2 .topicFaqGrid,
  #page-special .topicUseInfoBlock .topicUseExplainGrid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  #page-special .topicFaqAccordion > summary,
  #page-special .topicUseExplainAccordion > summary {
    min-height: 56px !important;
    padding: 9px 14px !important;
    grid-template-columns: 30px minmax(0, 1fr) 14px !important;
    gap: 8px !important;
  }

  #page-special .topicFaqAccordion > .topicFaqAnswer,
  #page-special .topicUseExplainAccordion > .topicUseExplainBody {
    padding: 13px 14px 15px 52px !important;
  }

  #page-special .topicUseExplainAccordion .topicUseExplainIcon,
  #page-special .topicUseExplainAccordion .topicUseExplainIcon svg {
    width: 26px !important;
    height: 26px !important;
    flex-basis: 26px !important;
  }
}

/* Topic-page internal links: one compact row of six equal text links. */
#page-special .topicInternalPreview.topicInternalTextNav {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#page-special .topicInternalTextNav .topicInternalSectionTitle {
  margin: 0 0 12px !important;
}

#page-special .topicInternalTextGrid {
  width: 100% !important;
  height: 72px !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(150px, 1fr)) !important;
  gap: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border: 1px solid #eadbd3 !important;
  border-radius: 9px !important;
  background: #fffdfa !important;
  box-shadow: none !important;
  scrollbar-width: thin !important;
  -webkit-overflow-scrolling: touch !important;
}

#page-special .topicInternalTextGrid > a {
  min-width: 0 !important;
  height: 100% !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  color: #262a30 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color .18s ease, background .18s ease !important;
}

#page-special .topicInternalTextGrid > a + a {
  border-left: 1px solid #eee2dc !important;
}

#page-special .topicInternalTextGrid > a > span {
  flex: 0 0 auto !important;
  color: #c80000 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
}

#page-special .topicInternalTextGrid > a:hover,
#page-special .topicInternalTextGrid > a:focus-visible {
  color: #a90000 !important;
  background: #fff7f4 !important;
}

#page-special .topicInternalTextGrid > a:focus-visible {
  outline: 3px solid rgba(196, 0, 0, .16) !important;
  outline-offset: -3px !important;
}

@media (prefers-reduced-motion: reduce) {
  #page-special .topicInternalTextGrid > a {
    transition: none !important;
  }
}

@media (max-width: 760px) {
  #page-special .topicInternalTextGrid {
    height: 64px !important;
    grid-template-columns: repeat(6, minmax(145px, 1fr)) !important;
  }

  #page-special .topicInternalTextGrid > a {
    padding: 0 14px !important;
    font-size: 14px !important;
  }
}

/* Final topic-page heading system: red rule, static intro, standalone resources. */
#page-special .topicIntroTitle.topicUnifiedTitle,
#page-special .topicFeaturedPptHeading h2.topicUnifiedTitle,
#page-special .topicResultListSection .topicSectionTitleMain h1.topicUnifiedTitle,
#page-special .topicResultListSection .topicSectionTitleMain h2.topicUnifiedTitle,
#page-special .topicFaqBlockV2 .topicFaqTitle.topicUnifiedTitle,
#page-special .topicUseInfoBlock > h2.topicUnifiedTitle,
#page-special .topicInternalTextNav .topicInternalSectionTitle.topicUnifiedTitle {
  position: relative !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 0 17px !important;
  display: block !important;
  color: #24282e !important;
  background: transparent !important;
  font-size: 22px !important;
  line-height: 30px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

#page-special .topicIntroTitle.topicUnifiedTitle::before,
#page-special .topicFeaturedPptHeading h2.topicUnifiedTitle::before,
#page-special .topicResultListSection .topicSectionTitleMain h1.topicUnifiedTitle::before,
#page-special .topicResultListSection .topicSectionTitleMain h2.topicUnifiedTitle::before,
#page-special .topicFaqBlockV2 .topicFaqTitle.topicUnifiedTitle::before,
#page-special .topicUseInfoBlock > h2.topicUnifiedTitle::before,
#page-special .topicInternalTextNav .topicInternalSectionTitle.topicUnifiedTitle::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  width: 5px !important;
  height: 24px !important;
  display: block !important;
  border: 0 !important;
  border-radius: 1px !important;
  background: #d40000 !important;
  transform: none !important;
}

#page-special .topicFeaturedPptHeading {
  min-height: 30px !important;
  margin: 0 0 18px !important;
}

#page-special .topicFaqBlockV2 .topicFaqTitle.topicUnifiedTitle,
#page-special .topicUseInfoBlock > h2.topicUnifiedTitle,
#page-special .topicInternalTextNav .topicInternalSectionTitle.topicUnifiedTitle {
  margin-bottom: 12px !important;
}

/* Resource cards retain their card UI; only the enclosing panel and title are flattened. */
#page-special .topicResultListSection {
  margin-top: 28px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-special .topicResultListSection .topicSectionTitleRow {
  width: 100% !important;
  min-height: 30px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-special .topicResultListSection .topicSectionTitleMain {
  width: auto !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  display: block !important;
}

#page-special .topicResultListSection .topicResourceSortBar {
  width: auto !important;
  min-width: 0 !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
}

#page-special .topicResultListSection .topicSectionTitleMain h1.topicUnifiedTitle > span,
#page-special .topicResultListSection .topicSectionTitleMain h2.topicUnifiedTitle > span {
  display: none !important;
}

#page-special .topicResultListSection .topicResourceGrid {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

#page-special .topicResultListSection .topicMoreBtnWrap {
  margin: 0 !important;
  padding: 18px 0 0 !important;
  background: transparent !important;
}

@media (max-width: 680px) {
  #page-special .topicIntroTitle.topicUnifiedTitle,
  #page-special .topicFeaturedPptHeading h2.topicUnifiedTitle,
  #page-special .topicResultListSection .topicSectionTitleMain h1.topicUnifiedTitle,
  #page-special .topicResultListSection .topicSectionTitleMain h2.topicUnifiedTitle,
  #page-special .topicFaqBlockV2 .topicFaqTitle.topicUnifiedTitle,
  #page-special .topicUseInfoBlock > h2.topicUnifiedTitle,
  #page-special .topicInternalTextNav .topicInternalSectionTitle.topicUnifiedTitle {
    padding-left: 14px !important;
    font-size: 20px !important;
    line-height: 28px !important;
  }

  #page-special .topicIntroTitle.topicUnifiedTitle::before,
  #page-special .topicFeaturedPptHeading h2.topicUnifiedTitle::before,
  #page-special .topicResultListSection .topicSectionTitleMain h1.topicUnifiedTitle::before,
  #page-special .topicResultListSection .topicSectionTitleMain h2.topicUnifiedTitle::before,
  #page-special .topicFaqBlockV2 .topicFaqTitle.topicUnifiedTitle::before,
  #page-special .topicUseInfoBlock > h2.topicUnifiedTitle::before,
  #page-special .topicInternalTextNav .topicInternalSectionTitle.topicUnifiedTitle::before {
    top: 3px !important;
    width: 4px !important;
    height: 22px !important;
  }

  #page-special .topicResultListSection {
    margin-top: 24px !important;
  }

  #page-special .topicResultListSection .topicSectionTitleRow,
  #page-special .topicFeaturedPptHeading {
    min-height: 28px !important;
    margin-bottom: 14px !important;
  }

  #page-special .topicResultListSection .topicMoreBtnWrap {
    padding-top: 14px !important;
  }
}

/* Static topic introduction follows resources and stays fully visible. */
#page-special section.topicSeoIntroPanel.topicIntroStatic {
  width: 100% !important;
  min-width: 0 !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#page-special .topicResultListSection + section.topicSeoIntroPanel.topicIntroStatic {
  margin-top: 28px !important;
}

#page-special section.topicSeoIntroPanel.topicIntroStatic + .topicFaqBlockV2 {
  margin-top: 26px !important;
}

#page-special section.topicSeoIntroPanel.topicIntroStatic > h2.topicIntroTitle.topicUnifiedTitle {
  position: relative !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 0 17px !important;
  display: block !important;
  color: #24282e !important;
  background: transparent !important;
  font-size: 22px !important;
  line-height: 30px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

#page-special section.topicSeoIntroPanel.topicIntroStatic > h2.topicIntroTitle.topicUnifiedTitle::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  width: 5px !important;
  height: 24px !important;
  display: block !important;
  border: 0 !important;
  border-radius: 1px !important;
  background: #d40000 !important;
  transform: none !important;
}

#page-special section.topicSeoIntroPanel.topicIntroStatic > h2.topicIntroTitle.topicUnifiedTitle::after {
  content: none !important;
  display: none !important;
}

#page-special section.topicSeoIntroPanel.topicIntroStatic > .topicIntroCopy {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin: 12px 0 0 !important;
  padding: 20px 24px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  border: 1px solid #f0ded7 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(95, 55, 42, .05) !important;
  transform: none !important;
}

#page-special section.topicSeoIntroPanel.topicIntroStatic > .topicIntroCopy p {
  margin: 0 0 10px !important;
  color: #514942 !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  text-align: left !important;
}

#page-special section.topicSeoIntroPanel.topicIntroStatic > .topicIntroCopy p:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 680px) {
  #page-special section.topicSeoIntroPanel.topicIntroStatic,
  #page-special .topicResultListSection + section.topicSeoIntroPanel.topicIntroStatic {
    margin-top: 24px !important;
  }

  #page-special section.topicSeoIntroPanel.topicIntroStatic + .topicFaqBlockV2 {
    margin-top: 22px !important;
  }

  #page-special section.topicSeoIntroPanel.topicIntroStatic > h2.topicIntroTitle.topicUnifiedTitle {
    padding-left: 14px !important;
    font-size: 20px !important;
    line-height: 28px !important;
  }

  #page-special section.topicSeoIntroPanel.topicIntroStatic > h2.topicIntroTitle.topicUnifiedTitle::before {
    top: 3px !important;
    width: 4px !important;
    height: 22px !important;
  }

  #page-special section.topicSeoIntroPanel.topicIntroStatic > .topicIntroCopy {
    margin-top: 10px !important;
    padding: 16px !important;
    border-radius: 10px !important;
  }

  #page-special section.topicSeoIntroPanel.topicIntroStatic > .topicIntroCopy p {
    font-size: 13px !important;
    line-height: 1.85 !important;
  }
}

/* Compact, text-only hierarchy navigation on topic first pages. */
#page-special > .topicHierarchyNav {
  width: 100% !important;
  min-width: 0 !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  display: block !important;
}

#page-special .topicHierarchyTitle {
  position: relative !important;
  margin: 0 0 14px !important;
  padding: 0 0 0 17px !important;
  color: #24282e !important;
  background: transparent !important;
  font-size: 22px !important;
  line-height: 30px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

#page-special .topicHierarchyTitle::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  width: 5px !important;
  height: 24px !important;
  display: block !important;
  border-radius: 1px !important;
  background: #d40000 !important;
}

#page-special .topicHierarchyRows {
  margin: 0 !important;
  padding: 12px 18px !important;
  border: 1px solid #eaded6 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(36, 25, 18, .035) !important;
}

#page-special .topicHierarchyRow {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: start !important;
}

#page-special .topicHierarchyRow + .topicHierarchyRow {
  margin-top: 9px !important;
  padding-top: 9px !important;
  border-top: 1px solid #f1e7e1 !important;
}

#page-special .topicHierarchyRow dt,
#page-special .topicHierarchyRow dd,
#page-special .topicHierarchyLinks > a {
  font-size: 14px !important;
  line-height: 24px !important;
}

#page-special .topicHierarchyRow dt {
  margin: 0 !important;
  color: #514a45 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

#page-special .topicHierarchyRow dd {
  min-width: 0 !important;
  min-height: 24px !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
}

#page-special .topicHierarchyLinks > a {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: baseline !important;
  color: #2f3338 !important;
  background: transparent !important;
  border: 0 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

#page-special .topicHierarchyLinks > a:hover,
#page-special .topicHierarchyLinks > a:focus-visible {
  color: #c40000 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

#page-special .topicHierarchyLinks > a:focus-visible {
  outline: 2px solid rgba(196, 0, 0, .22) !important;
  outline-offset: 2px !important;
  border-radius: 2px !important;
}

#page-special .topicHierarchyLinks.is-path > a + a::before {
  content: "›" !important;
  margin: 0 10px !important;
  color: #d40000 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

#page-special .topicHierarchyLinks.is-list > a + a::before {
  content: "|" !important;
  margin: 0 12px !important;
  color: #d8cdc7 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

#page-special > .topicHierarchyNav + .topicFeaturedPptSection {
  margin-top: 24px !important;
}

@media (max-width: 760px) {
  #page-special > .topicHierarchyNav {
    margin-top: 18px !important;
  }

  #page-special .topicHierarchyTitle {
    margin-bottom: 12px !important;
    padding-left: 14px !important;
    font-size: 20px !important;
    line-height: 28px !important;
  }

  #page-special .topicHierarchyTitle::before {
    top: 3px !important;
    width: 4px !important;
    height: 22px !important;
  }

  #page-special .topicHierarchyRows {
    padding: 11px 14px !important;
  }

  #page-special .topicHierarchyRow {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3px !important;
  }

  #page-special .topicHierarchyRow dt,
  #page-special .topicHierarchyRow dd,
  #page-special .topicHierarchyLinks > a {
    font-size: 14px !important;
    line-height: 23px !important;
  }

  #page-special .topicHierarchyRow dd {
    min-height: 23px !important;
  }

  #page-special .topicHierarchyLinks.is-path > a + a::before {
    margin: 0 8px !important;
  }

  #page-special .topicHierarchyLinks.is-list > a + a::before {
    margin: 0 9px !important;
  }

  #page-special > .topicHierarchyNav + .topicFeaturedPptSection {
    margin-top: 22px !important;
  }
}
