@charset "UTF-8";

/*
 * Optional Song Da sidebar theme.
 * Every selector is scoped to the theme body class so the classic login
 * remains byte-for-byte compatible with its existing layout rules.
 */
body.login-theme-songda-sidebar {
  --songda-navy: #073b67;
  --songda-navy-strong: #052f52;
  --songda-blue: #0969c3;
  --songda-blue-soft: #eaf3ff;
  --songda-text: #111827;
  --songda-muted: #64748b;
  --songda-line: #d8dee8;
  --songda-surface: rgba(255, 255, 255, .88);
  --songda-login-bg-surface: rgba(255, 255, 255, .2);
  color: var(--songda-text);
  overflow-y: auto;
}

body.login-theme-songda-sidebar .bg-overlay,
body.login-theme-songda-sidebar .bg-noise {
  display: none;
}

body.login-theme-songda-sidebar .portal-links {
  display: none;
}

body.login-theme-songda-sidebar .auth-wrap {
  display: grid;
  min-height: 100vh;
  padding: 32px;
  place-items: center;
}

body.login-theme-songda-sidebar .portal-shell {
  display: block;
  width: min(1480px, calc(100vw - 64px));
  padding: 0;
}

body.login-theme-songda-sidebar .auth-card.portal-wide,
body.login-theme-songda-sidebar .auth-card.portal-wide.portal-card-chooser,
body.login-theme-songda-sidebar .auth-card.portal-wide.portal-card-login {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  width: 100%;
  max-width: none;
  min-height: min(860px, calc(100vh - 64px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--songda-line);
  border-radius: 8px;
  background: var(--songda-surface);
  box-shadow: 0 20px 48px rgba(15, 23, 42, .14);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
}

body.login-theme-songda-sidebar .auth-card::before {
  display: none;
}

body.login-theme-songda-sidebar .auth-card.has-loginform-bg {
  transform: none;
  opacity: 1;
  filter: none;
  background: var(--songda-surface);
}

body.login-theme-songda-sidebar .auth-card.portal-card-login.has-loginform-bg {
  background: var(--songda-login-bg-surface);
}

body.login-theme-songda-sidebar .divider {
  display: none;
}

body.login-theme-songda-sidebar .auth-header {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 48px 34px 28px;
  color: #ffffff;
  background: rgba(7, 59, 103, .94);
  text-align: center;
}

body.login-theme-songda-sidebar .brand-logo {
  width: 92px;
  height: 92px;
  margin-bottom: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

body.login-theme-songda-sidebar .brand-logo img {
  width: 80px;
  height: 80px;
  border-radius: 0;
  object-fit: contain;
  filter: none;
}

body.login-theme-songda-sidebar .brand-title {
  color: #ffffff;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.login-theme-songda-sidebar .brand-sub {
  margin-top: 9px;
  color: rgba(255, 255, 255, .78);
  font-size: .98rem;
  line-height: 1.4;
}

body.login-theme-songda-sidebar .songda-sidebar-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

body.login-theme-songda-sidebar .songda-sidebar-nav {
  display: grid;
  gap: 8px;
}

body.login-theme-songda-sidebar .songda-sidebar-nav-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  gap: 13px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  font: inherit;
  font-size: .96rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

body.login-theme-songda-sidebar .songda-sidebar-nav-item i {
  width: 24px;
  font-size: 1.18rem;
  text-align: center;
}

body.login-theme-songda-sidebar .songda-sidebar-nav-item:hover,
body.login-theme-songda-sidebar .songda-sidebar-nav-item:focus-visible {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: #ffffff;
  outline: none;
}

body.login-theme-songda-sidebar .songda-sidebar-nav-item.is-active {
  border-color: rgba(255, 255, 255, .12);
  background: #1166ac;
  color: #ffffff;
}

body.login-theme-songda-sidebar .songda-sidebar-qr {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin: 28px 0 0;
  padding: 18px 0 16px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0;
  background: transparent;
  color: #ffffff;
}

body.login-theme-songda-sidebar .songda-sidebar-qr:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

body.login-theme-songda-sidebar .songda-sidebar-qr-image {
  display: grid;
  width: 112px;
  height: 112px;
  padding: 7px;
  place-items: center;
  border-radius: 6px;
  background: #ffffff;
}

body.login-theme-songda-sidebar .songda-sidebar-qr-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.login-theme-songda-sidebar .songda-sidebar-qr-note {
  width: 100%;
  margin-top: 9px;
  color: rgba(255, 255, 255, .64);
  font-size: .68rem;
  line-height: 1.25;
  letter-spacing: -.012em;
  white-space: nowrap;
}

body.login-theme-songda-sidebar .songda-sidebar-links {
  width: 100%;
  margin-top: 14px;
  text-align: left;
}

body.login-theme-songda-sidebar .songda-sidebar-links-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  gap: 8px;
  margin-bottom: 7px;
}

body.login-theme-songda-sidebar .songda-sidebar-links-title {
  overflow: hidden;
  color: rgba(255, 255, 255, .72);
  font-size: .69rem;
  font-weight: 720;
  letter-spacing: .035em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body.login-theme-songda-sidebar .songda-sidebar-links-controls {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
}

body.login-theme-songda-sidebar .songda-sidebar-links-controls button {
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 5px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .86);
  font-size: .72rem;
  transition: background-color .16s ease, border-color .16s ease, opacity .16s ease;
}

body.login-theme-songda-sidebar .songda-sidebar-links-controls button:hover:not(:disabled),
body.login-theme-songda-sidebar .songda-sidebar-links-controls button:focus-visible {
  border-color: rgba(255, 255, 255, .46);
  background: rgba(255, 255, 255, .14);
  color: #ffffff;
  outline: none;
}

body.login-theme-songda-sidebar .songda-sidebar-links-controls button:disabled {
  cursor: default;
  opacity: .32;
}

body.login-theme-songda-sidebar .songda-sidebar-links-page {
  min-width: 27px;
  color: rgba(255, 255, 255, .62);
  font-size: .62rem;
  text-align: center;
}

body.login-theme-songda-sidebar .songda-sidebar-links-viewport {
  width: 100%;
  overflow: hidden;
}

body.login-theme-songda-sidebar .songda-sidebar-links-track {
  display: flex;
  width: 100%;
  transform: translateX(0);
  transition: transform .24s ease;
  will-change: transform;
}

body.login-theme-songda-sidebar .songda-sidebar-links-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  gap: 7px;
}

body.login-theme-songda-sidebar .songda-sidebar-links-page-grid a {
  display: flex;
  align-items: center;
  min-height: 38px;
  min-width: 0;
  gap: 6px;
  padding: 5px 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .78);
  font-size: .7rem;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

body.login-theme-songda-sidebar .songda-sidebar-links-page-grid a:hover,
body.login-theme-songda-sidebar .songda-sidebar-links-page-grid a:focus-visible {
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  outline: none;
}

body.login-theme-songda-sidebar .songda-sidebar-link-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
}

body.login-theme-songda-sidebar .songda-sidebar-link-icon img {
  display: block;
  width: 19px;
  height: 19px;
  object-fit: contain;
}

body.login-theme-songda-sidebar .songda-sidebar-link-icon.has-image {
  background: rgba(255, 255, 255, .94);
}

body.login-theme-songda-sidebar .songda-sidebar-link-icon.has-image > i {
  display: none;
}

body.login-theme-songda-sidebar .songda-sidebar-link-title {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.login-theme-songda-sidebar .songda-sidebar-footer {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 22px;
  color: rgba(255, 255, 255, .66);
  font-size: .74rem;
  line-height: 1.35;
}

body.login-theme-songda-sidebar #stepChoose.show,
body.login-theme-songda-sidebar #stepLogin.show {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

body.login-theme-songda-sidebar #stepChoose.show {
  display: block;
  padding: 34px 36px 28px;
}

body.login-theme-songda-sidebar #stepChoose > .auth-title,
body.login-theme-songda-sidebar #stepChoose > .auth-desc {
  display: none;
}

body.login-theme-songda-sidebar .songda-portal-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 460px);
  align-items: center;
  gap: 22px;
  min-height: 68px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--songda-line);
}

body.login-theme-songda-sidebar .songda-portal-heading {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

body.login-theme-songda-sidebar .songda-portal-heading-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: var(--songda-blue-soft);
  color: var(--songda-blue);
  font-size: 1.25rem;
}

body.login-theme-songda-sidebar .songda-portal-heading-title {
  overflow: hidden;
  color: var(--songda-text);
  font-size: 1.36rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.login-theme-songda-sidebar .songda-portal-heading-count {
  margin-top: 3px;
  color: var(--songda-muted);
  font-size: .78rem;
}

body.login-theme-songda-sidebar .songda-app-search {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  height: 46px;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid #cfd7e3;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  transition: border-color .16s ease, box-shadow .16s ease;
}

body.login-theme-songda-sidebar .songda-app-search:focus-within {
  border-color: var(--songda-blue);
  box-shadow: 0 0 0 3px rgba(9, 105, 195, .13);
}

body.login-theme-songda-sidebar .songda-app-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--songda-text);
  font: inherit;
  font-size: .92rem;
}

body.login-theme-songda-sidebar .songda-app-search input::placeholder {
  color: #94a3b8;
}

body.login-theme-songda-sidebar .app-chooser-pager {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, auto) auto;
  align-items: center;
  width: 100%;
  margin-top: 28px;
  padding: 0;
}

body.login-theme-songda-sidebar .app-chooser-pager.multi-page {
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  column-gap: 12px;
}

body.login-theme-songda-sidebar .app-chooser-viewport {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  border-radius: 0;
}

body.login-theme-songda-sidebar .app-chooser-pager.multi-page .app-chooser-viewport {
  grid-column: 2;
}

body.login-theme-songda-sidebar .app-chooser-page {
  padding: 2px 2px 20px;
}

body.login-theme-songda-sidebar .app-chooser-page::after {
  display: none;
}

body.login-theme-songda-sidebar .chooser-page-grid,
body.login-theme-songda-sidebar .app-chooser.grid-1,
body.login-theme-songda-sidebar .app-chooser.grid-2,
body.login-theme-songda-sidebar .app-chooser.grid-3,
body.login-theme-songda-sidebar .app-chooser.grid-4 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: none !important;
  margin: 0;
  gap: 18px;
}

body.login-theme-songda-sidebar .chooser-page-grid > .app-tile,
body.login-theme-songda-sidebar .app-tile {
  width: 100%;
  max-width: none;
  min-height: 136px;
  margin: 0;
  padding: 17px 18px;
  overflow: hidden;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .07);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--songda-text);
  text-align: left;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

body.login-theme-songda-sidebar .app-tile:hover,
body.login-theme-songda-sidebar .app-tile:focus-visible {
  transform: translateY(-2px);
  border-color: #7db4e8;
  box-shadow: 0 9px 22px rgba(15, 23, 42, .11);
  filter: none;
  outline: none;
}

body.login-theme-songda-sidebar .app-tile:active {
  transform: translateY(0);
}

body.login-theme-songda-sidebar .app-tile .glow {
  display: none;
}

body.login-theme-songda-sidebar .app-tile-content {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 28px;
  align-items: center;
  width: 100%;
  gap: 18px;
}

body.login-theme-songda-sidebar .app-icon {
  display: grid;
  width: 94px;
  height: 94px;
  margin: 0;
  place-items: center;
  border: 1px solid #cfe0f3;
  border-radius: 8px;
  background: #f6f9fd;
  box-shadow: none;
  font-size: 32px;
}

body.login-theme-songda-sidebar .app-icon img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: none;
}

body.login-theme-songda-sidebar .app-copy {
  min-width: 0;
}

body.login-theme-songda-sidebar .app-title {
  margin: 0;
  overflow: hidden;
  color: var(--songda-text);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.login-theme-songda-sidebar .app-desc {
  display: -webkit-box;
  min-height: 38px;
  margin: 7px 0 0;
  overflow: hidden;
  color: #566477;
  font-size: .84rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.login-theme-songda-sidebar .songda-access-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 9px;
  padding: 3px 8px;
  border: 1px solid #82b8ed;
  border-radius: 5px;
  background: #ffffff;
  color: #075eaf;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1;
}

body.login-theme-songda-sidebar .songda-app-arrow {
  display: grid;
  width: 28px;
  height: 36px;
  place-items: center;
  color: var(--songda-blue);
  font-size: 1.18rem;
}

body.login-theme-songda-sidebar .app-lock {
  top: 9px;
  right: 9px;
  width: 27px;
  height: 27px;
  border-radius: 6px;
  background: #334155;
  box-shadow: none;
  font-size: 13px;
}

body.login-theme-songda-sidebar .app-tile.is-locked {
  opacity: .65;
}

body.login-theme-songda-sidebar .app-tile.has-tile-bg::before {
  background-position: center;
  background-size: cover;
  transform: none;
}

body.login-theme-songda-sidebar .app-tile.has-tile-bg::after {
  background: rgba(255, 255, 255, .88);
}

body.login-theme-songda-sidebar .app-tile.has-tile-bg .app-title,
body.login-theme-songda-sidebar .app-tile.has-tile-bg .app-desc {
  text-shadow: none;
}

body.login-theme-songda-sidebar .app-chooser-nav {
  position: static;
  top: auto;
  grid-row: 1;
  align-self: center;
  width: 38px;
  height: 38px;
  transform: none;
  border: 1px solid #b9c8da;
  border-radius: 6px;
  background: #ffffff;
  color: var(--songda-blue);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .11);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.login-theme-songda-sidebar .app-chooser-nav::after {
  display: none;
}

body.login-theme-songda-sidebar .app-chooser-nav:hover {
  transform: scale(1.04);
  border-color: var(--songda-blue);
  background: var(--songda-blue-soft);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .11);
}

body.login-theme-songda-sidebar .app-chooser-nav:active {
  transform: scale(.98);
}

body.login-theme-songda-sidebar .app-chooser-nav:disabled {
  transform: none;
}

body.login-theme-songda-sidebar .app-chooser-nav.prev {
  grid-column: 1;
  justify-self: start;
  left: auto;
}

body.login-theme-songda-sidebar .app-chooser-nav.next {
  grid-column: 3;
  justify-self: end;
  right: auto;
}

body.login-theme-songda-sidebar .app-chooser-dots {
  grid-column: 1;
  grid-row: 2;
}

body.login-theme-songda-sidebar .app-chooser-pager.multi-page .app-chooser-dots {
  grid-column: 1 / -1;
}

body.login-theme-songda-sidebar .app-chooser-dot {
  width: 8px;
  height: 8px;
  border-color: #aab9cb;
  background: #d7e0ea;
  box-shadow: none;
}

body.login-theme-songda-sidebar .app-chooser-dot.active {
  width: 22px;
  border-color: var(--songda-blue);
  background: var(--songda-blue);
}

body.login-theme-songda-sidebar .app-chooser-pager.is-searching {
  padding-inline: 0;
}

body.login-theme-songda-sidebar .app-chooser-pager.is-searching .app-chooser-viewport {
  overflow: visible;
}

body.login-theme-songda-sidebar .app-chooser-pager.is-searching .app-chooser-track {
  display: block;
}

body.login-theme-songda-sidebar .app-chooser-pager.is-searching .app-chooser-page {
  display: block;
  width: 100%;
  padding: 2px 2px 18px;
}

body.login-theme-songda-sidebar .app-chooser-pager.is-searching .app-chooser-page[hidden],
body.login-theme-songda-sidebar .app-tile.theme-search-hidden,
body.login-theme-songda-sidebar .app-chooser-pager.is-searching .app-chooser-nav,
body.login-theme-songda-sidebar .app-chooser-pager.is-searching .app-chooser-dots {
  display: none !important;
}

body.login-theme-songda-sidebar .songda-search-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  gap: 10px;
  margin-top: 28px;
  border: 1px dashed #bdc8d6;
  border-radius: 8px;
  color: var(--songda-muted);
  font-size: .92rem;
}

body.login-theme-songda-sidebar .songda-search-empty[hidden] {
  display: none;
}

body.login-theme-songda-sidebar #stepChoose > .auth-footer {
  display: none;
}

body.login-theme-songda-sidebar .songda-mobile-card-links {
  display: none;
}

body.login-theme-songda-sidebar #stepLogin.show {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100%;
  padding: 48px 64px;
  isolation: isolate;
}

body.login-theme-songda-sidebar .portal-card-login.has-loginform-bg #stepLogin::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .48), rgba(255, 255, 255, .48)), var(--loginform-bg);
  background-position: center;
  background-size: cover;
  opacity: .86;
}

body.login-theme-songda-sidebar #stepLogin > * {
  position: relative;
  z-index: 1;
  width: min(100%, 660px);
  margin-right: auto;
  margin-left: auto;
}

body.login-theme-songda-sidebar #stepLogin .auth-title {
  color: #9f1d24;
  font-size: 1.42rem;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

body.login-theme-songda-sidebar #stepLogin .auth-desc {
  color: #64748b;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

body.login-theme-songda-sidebar #stepLogin .auth-footer {
  display: none;
}

body.login-theme-songda-sidebar .auth-card .form-control,
body.login-theme-songda-sidebar .auth-card.has-loginform-bg .form-control {
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px;
  background: #ffffff !important;
  color: #111827;
}

body.login-theme-songda-sidebar .remember-box {
  border-radius: 6px;
  background: #f8fafc;
}

body.login-theme-songda-sidebar .btn-login,
body.login-theme-songda-sidebar .btn-back,
body.login-theme-songda-sidebar .app-badge {
  border-radius: 6px;
}

@media (max-width: 1199.98px) {
  body.login-theme-songda-sidebar .auth-card.portal-wide,
  body.login-theme-songda-sidebar .auth-card.portal-wide.portal-card-chooser,
  body.login-theme-songda-sidebar .auth-card.portal-wide.portal-card-login {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  body.login-theme-songda-sidebar .auth-header {
    padding-inline: 26px;
  }

  body.login-theme-songda-sidebar .songda-sidebar-qr-note {
    font-size: .62rem;
    letter-spacing: -.022em;
  }

  body.login-theme-songda-sidebar .songda-portal-toolbar {
    grid-template-columns: minmax(190px, 1fr) minmax(230px, 330px);
  }

  body.login-theme-songda-sidebar .app-tile-content {
    grid-template-columns: 82px minmax(0, 1fr) 26px;
    gap: 14px;
  }

  body.login-theme-songda-sidebar .app-icon {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 991.98px) {
  body.login-theme-songda-sidebar .auth-wrap {
    padding: 16px;
  }

  body.login-theme-songda-sidebar .portal-shell {
    width: min(100%, 820px);
  }

  body.login-theme-songda-sidebar .auth-card.portal-wide,
  body.login-theme-songda-sidebar .auth-card.portal-wide.portal-card-chooser,
  body.login-theme-songda-sidebar .auth-card.portal-wide.portal-card-login {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  body.login-theme-songda-sidebar .auth-header {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: center;
    gap: 14px 16px;
    padding: 20px 24px;
    text-align: left;
  }

  body.login-theme-songda-sidebar .brand-logo {
    width: 68px;
    height: 68px;
    margin: 0 !important;
  }

  body.login-theme-songda-sidebar .brand-logo img {
    width: 60px;
    height: 60px;
  }

  body.login-theme-songda-sidebar .brand-title {
    font-size: 1.16rem;
  }

  body.login-theme-songda-sidebar .brand-sub {
    margin-top: 4px;
    font-size: .86rem;
  }

  body.login-theme-songda-sidebar .songda-sidebar-content {
    display: none;
  }

  body.login-theme-songda-sidebar #stepChoose.show {
    padding: 24px;
  }

  body.login-theme-songda-sidebar #stepLogin.show {
    min-height: 0;
    padding: 32px 42px;
  }

  body.login-theme-songda-sidebar .songda-portal-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body.login-theme-songda-sidebar .songda-app-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.login-theme-songda-sidebar .app-chooser-pager {
    margin-top: 22px;
  }

  body.login-theme-songda-sidebar .songda-mobile-card-links {
    display: block;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--songda-line);
    color: var(--songda-text);
  }

  body.login-theme-songda-sidebar .songda-mobile-card-links .songda-sidebar-links-title {
    color: var(--songda-text);
  }

  body.login-theme-songda-sidebar .songda-mobile-card-links .songda-sidebar-links-controls button {
    border-color: #cbd5e1;
    background: #ffffff;
    color: var(--songda-blue);
  }

  body.login-theme-songda-sidebar .songda-mobile-card-links .songda-sidebar-links-page {
    color: var(--songda-muted);
  }

  body.login-theme-songda-sidebar .songda-mobile-card-links .songda-sidebar-links-page-grid > a {
    min-height: 44px;
    border-color: #d7e0ea;
    background: rgba(255, 255, 255, .72);
    color: #24415f;
  }

  body.login-theme-songda-sidebar .songda-mobile-card-links .songda-sidebar-link-icon {
    border-color: #d7e0ea;
    background: #ffffff;
    color: var(--songda-blue);
  }

  body.login-theme-songda-sidebar #stepChoose > .auth-footer.auth-footer-portal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
    padding-top: 18px;
    border-top: 1px solid var(--songda-line);
    color: var(--songda-muted);
    text-align: center;
  }

  body.login-theme-songda-sidebar #stepChoose > .auth-footer .footer-qr-btn {
    display: none;
  }
}

@media (max-width: 767.98px) {
  body.login-theme-songda-sidebar .auth-wrap {
    padding: 10px;
  }

  body.login-theme-songda-sidebar .portal-shell {
    width: 100%;
  }

  body.login-theme-songda-sidebar .auth-header {
    padding: 16px;
  }

  body.login-theme-songda-sidebar #stepChoose.show,
  body.login-theme-songda-sidebar #stepLogin.show {
    padding: 18px 16px 22px;
  }

  body.login-theme-songda-sidebar .songda-portal-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  body.login-theme-songda-sidebar .songda-app-search {
    grid-column: 1;
    grid-row: auto;
  }

  body.login-theme-songda-sidebar .songda-portal-heading-title {
    font-size: 1.18rem;
  }

  body.login-theme-songda-sidebar .app-chooser-pager,
  body.login-theme-songda-sidebar .app-chooser-pager.is-searching {
    padding: 0;
  }

  body.login-theme-songda-sidebar .app-chooser-pager.multi-page {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  body.login-theme-songda-sidebar .app-chooser-pager.multi-page .app-chooser-viewport {
    grid-column: 1;
  }

  body.login-theme-songda-sidebar .app-chooser-pager.multi-page .app-chooser-dots {
    grid-column: 1;
  }

  body.login-theme-songda-sidebar .chooser-page-grid,
  body.login-theme-songda-sidebar .app-chooser.grid-1,
  body.login-theme-songda-sidebar .app-chooser.grid-2,
  body.login-theme-songda-sidebar .app-chooser.grid-3,
  body.login-theme-songda-sidebar .app-chooser.grid-4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.login-theme-songda-sidebar .chooser-page-grid > .app-tile,
  body.login-theme-songda-sidebar .app-tile {
    min-height: 118px;
    padding: 14px;
  }

  body.login-theme-songda-sidebar .app-tile-content {
    grid-template-columns: 76px minmax(0, 1fr) 24px;
    gap: 13px;
  }

  body.login-theme-songda-sidebar .app-icon {
    width: 76px;
    height: 76px;
  }

  body.login-theme-songda-sidebar .app-title {
    font-size: 1.04rem;
  }

  body.login-theme-songda-sidebar .app-desc {
    min-height: 0;
    font-size: .78rem;
  }

  body.login-theme-songda-sidebar .app-chooser-nav {
    display: none !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  body.login-theme-songda-sidebar .app-chooser-pager.multi-page {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  body.login-theme-songda-sidebar .app-chooser-pager.multi-page .app-chooser-viewport,
  body.login-theme-songda-sidebar .app-chooser-pager.multi-page .app-chooser-dots {
    grid-column: 1;
  }
}

@media (max-width: 479.98px) {
  body.login-theme-songda-sidebar .auth-header {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  body.login-theme-songda-sidebar .brand-logo {
    width: 56px;
    height: 56px;
  }

  body.login-theme-songda-sidebar .brand-logo img {
    width: 50px;
    height: 50px;
  }

  body.login-theme-songda-sidebar .brand-title {
    font-size: .98rem;
  }

  body.login-theme-songda-sidebar .brand-sub {
    font-size: .76rem;
  }

  body.login-theme-songda-sidebar .songda-portal-heading-icon {
    width: 38px;
    height: 38px;
  }

  body.login-theme-songda-sidebar .app-tile-content {
    grid-template-columns: 64px minmax(0, 1fr) 20px;
    gap: 11px;
  }

  body.login-theme-songda-sidebar .app-icon {
    width: 64px;
    height: 64px;
  }

  body.login-theme-songda-sidebar .songda-app-arrow {
    width: 20px;
  }

  body.login-theme-songda-sidebar .remember-box {
    padding: 10px;
  }
}
