html.oauth-shell-pending,
html.oauth-shell-pending body,
html.shell-bootstrap-pending,
html.shell-bootstrap-pending body,
html.reference-bootstrap-pending,
html.reference-bootstrap-pending body {
  background-color: #e9d5cb;
  margin: 0;
}

html.infinity-bootstrap-pending,
html.infinity-bootstrap-pending body {
  background-color: #f6fdff;
  margin: 0;
}

html.login-bootstrap-pending,
html.login-bootstrap-pending body {
  background-color: rgb(255 248 246);
  margin: 0;
}

html.shell-bootstrap-pending #oauth-loading,
html.oauth-shell-pending #oauth-loading,
html.reference-bootstrap-pending #oauth-loading {
  display: flex;
}

html.infinity-bootstrap-pending #infinity-loading {
  display: flex;
}

html.login-bootstrap-pending #login-loading {
  display: flex;
}

#oauth-loading,
#infinity-loading,
#login-loading {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: stretch;
  justify-content: flex-start;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  padding: 0;
  box-sizing: border-box;
}

#oauth-loading {
  background: #e9d5cb;
}

#infinity-loading {
  background: #f6fdff;
}

#login-loading {
  background: rgb(255 248 246);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.genius-sk-card {
  width: min(960px, calc(100vw - 32px));
  min-height: 420px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.genius-sk-line {
  height: 12px;
  border-radius: 6px;
  background: rgba(82, 68, 61, 0.15);
}

.genius-sk-line--lg {
  width: 88%;
}

.genius-sk-line--md {
  width: 62%;
}

.genius-sk-line--sm {
  width: 36%;
}

.genius-sk-main {
  flex: 1;
  border-radius: 10px;
  background: rgba(82, 68, 61, 0.07);
  border: 1px dashed rgba(82, 68, 61, 0.24);
}

.oauth-sk-root {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #e9d5cb;
}

.oauth-sk-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(84deg, rgb(0, 0, 0) 8.65%, rgb(48, 55, 60) 98.7%);
}

@media (min-width: 640px) {
  .oauth-sk-header {
    gap: 16px;
    padding: 0 16px;
  }
}

.oauth-sk-logo {
  width: 96px;
  height: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.oauth-sk-avatars {
  display: none;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .oauth-sk-avatars {
    display: flex;
  }
}

.oauth-sk-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.oauth-sk-search {
  flex: 1;
  min-width: 0;
  max-width: min(720px, 42vw);
  height: 38px;
  margin: 0 auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.oauth-sk-header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.oauth-sk-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.oauth-sk-body {
  flex: 1;
  display: flex;
  min-height: 0;
  min-width: 0;
}

.oauth-sk-rail {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 10px;
  background: #faf8f6;
  border-right: 1px solid rgba(215, 194, 185, 0.6);
}

.oauth-sk-rail--left {
  width: 56px;
}

.oauth-sk-rail--right {
  width: 52px;
  border-right: none;
  border-left: 1px solid rgba(215, 194, 185, 0.6);
}

.oauth-sk-rail-slot {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(138, 116, 104, 0.16);
}

.oauth-sk-rail-slot--round {
  border-radius: 50%;
}

.oauth-sk-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #e9d5cb;
  padding: 10px 12px 12px;
}

.oauth-sk-split-stack {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 640px) {
  .oauth-sk-main.oauth-sk-main--split .oauth-sk-split-stack {
    flex-direction: row;
    gap: 12px;
  }
}

.oauth-sk-pane-column {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.oauth-sk-pane-column--secondary {
  display: none;
}

.oauth-sk-main.oauth-sk-main--split .oauth-sk-pane-column--secondary {
  display: flex;
}

@media (min-width: 640px) {
  .oauth-sk-main.oauth-sk-main--split .oauth-sk-pane-column {
    min-width: 0;
  }
  .oauth-sk-main {
    padding: 16px;
  }
}

.oauth-sk-pane-card {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.oauth-sk-pane-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.oauth-sk-crumb-wrap {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 8px;
}

.oauth-sk-sections-toggle {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(82, 68, 61, 0.14);
}

.oauth-sk-crumb {
  height: 14px;
  flex: 1;
  max-width: min(380px, 48vw);
  border-radius: 4px;
  background: rgba(82, 68, 61, 0.16);
}

.oauth-sk-actions {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.oauth-sk-action {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: rgba(82, 68, 61, 0.1);
}

.oauth-sk-action--close {
  border-radius: 4px;
  background: rgba(82, 68, 61, 0.08);
}

.oauth-sk-pane-surface {
  flex: 1;
  min-height: 0;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}

.oauth-sk-line {
  height: 11px;
  border-radius: 4px;
  background: rgba(82, 68, 61, 0.08);
  flex-shrink: 0;
}

.oauth-sk-line--xs {
  width: 28%;
  max-width: 160px;
}

.oauth-sk-line--sm {
  width: 52%;
}

.oauth-sk-line--md {
  width: 74%;
}

.oauth-sk-line--lg {
  width: 91%;
}

.oauth-sk-content-block {
  flex: 1;
  min-height: 100px;
  margin-top: 4px;
  border-radius: 6px;
  background: rgba(82, 68, 61, 0.04);
  border: 1px dashed rgba(215, 194, 185, 0.55);
}

.oauth-sk-rail-slot--plus {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(138, 116, 104, 0.18);
  position: relative;
}

.oauth-sk-rail-slot--plus::before,
.oauth-sk-rail-slot--plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(82, 68, 61, 0.35);
  border-radius: 1px;
}

.oauth-sk-rail-slot--plus::before {
  width: 12px;
  height: 2px;
}

.oauth-sk-rail-slot--plus::after {
  width: 2px;
  height: 12px;
}

.oauth-sk-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 6px 12px;
  background: #d4d8dc;
  border-top: 1px solid rgba(180, 188, 196, 0.8);
  font-size: 12px;
  color: #52443d;
}

.oauth-sk-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.oauth-sk-footer-badge {
  width: 72px;
  height: 10px;
  border-radius: 3px;
  background: rgba(82, 68, 61, 0.2);
  flex-shrink: 0;
}

#oauth-loading-text {
  margin: 0;
  line-height: 1.35;
  font-size: 12px;
  color: #52443d;
}

.oauth-sk-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.oauth-sk-footer-chip {
  width: 72px;
  height: 10px;
  border-radius: 3px;
  background: rgba(82, 68, 61, 0.16);
}

.oauth-sk-footer-chip--narrow {
  width: 44px;
}

.oauth-sk-footer-chip--tiny {
  width: 32px;
}

.oauth-sk-footer-chip--status {
  width: 96px;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.22);
}

.inf-sk-root {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #dce5ea;
}

.inf-sk-topbar {
  height: 44px;
  background: linear-gradient(84deg, rgb(0, 0, 0) 8.65%, rgb(48, 55, 60) 98.7%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  flex-shrink: 0;
}

.inf-sk-topbar-left,
.inf-sk-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inf-sk-icon {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
}

.inf-sk-logo {
  width: 34px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.75);
}

.inf-sk-user {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.inf-sk-content {
  flex: 1;
  min-height: 0;
  padding: 16px 18px;
}

.inf-sk-greet-1 {
  height: 34px;
  width: min(360px, 55%);
  border-radius: 6px;
  background: rgba(44, 52, 64, 0.12);
  margin-bottom: 8px;
}

.inf-sk-greet-2 {
  height: 18px;
  width: min(220px, 35%);
  border-radius: 6px;
  background: rgba(44, 52, 64, 0.1);
  margin-bottom: 16px;
}

.inf-sk-app-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.inf-sk-app-card {
  min-height: 108px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inf-sk-app-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(44, 52, 64, 0.16);
  margin: 0 auto;
}

.inf-sk-app-title {
  height: 16px;
  border-radius: 4px;
  background: rgba(44, 52, 64, 0.14);
}

.inf-sk-app-sub {
  height: 10px;
  border-radius: 4px;
  background: rgba(44, 52, 64, 0.08);
}

.inf-sk-news-title {
  height: 20px;
  width: 170px;
  border-radius: 6px;
  background: rgba(44, 52, 64, 0.14);
  margin-bottom: 10px;
}

.inf-sk-news-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
}

.inf-sk-news-card {
  min-height: 230px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
}

.inf-sk-news-head {
  padding: 10px 10px 8px;
}

.inf-sk-news-line {
  height: 12px;
  border-radius: 4px;
  background: rgba(44, 52, 64, 0.12);
  margin-bottom: 6px;
}

.inf-sk-news-line--short {
  width: 70%;
}

.inf-sk-news-image {
  height: 136px;
  background: rgba(44, 52, 64, 0.11);
}

.inf-sk-footer {
  height: 24px;
  background: #cdd7de;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 1100px) {
  .inf-sk-app-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
  .inf-sk-news-row {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .inf-sk-app-grid,
  .inf-sk-news-row {
    grid-template-columns: 1fr;
  }
}

.login-sk-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-sk-card {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: 100%;
  max-width: 28rem;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgb(229 231 235);
  background: #fff;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.14);
}

@media (min-width: 768px) {
  .login-sk-card {
    width: 800px;
    max-width: 800px;
    min-width: 800px;
    height: 577px;
    min-height: 577px;
    max-height: 577px;
    flex-direction: row;
  }
}

.login-sk-media {
  width: 100%;
  flex-shrink: 0;
  min-height: 10rem;
  background: rgb(243 244 246);
}

@media (min-width: 768px) {
  .login-sk-media {
    width: 50%;
    min-height: 577px;
  }
}

.login-sk-panel {
  display: flex;
  width: 100%;
  flex: 1;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .login-sk-panel {
    width: 50%;
    padding: 2rem;
  }
}

.login-sk-form {
  display: flex;
  width: 100%;
  max-width: 28rem;
  flex-direction: column;
}

.login-sk-logo-wrap {
  margin-bottom: 1.25rem;
  display: flex;
  width: 100%;
  justify-content: center;
}

.login-sk-logo {
  width: 100%;
  max-width: 220px;
  height: 46px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.08);
}

.login-sk-field {
  height: 38px;
  width: 100%;
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.08);
}

.login-sk-field + .login-sk-field:not(.login-sk-field--link) {
  margin-top: 0.75rem;
}

.login-sk-field + .login-sk-field--link {
  margin-top: 0.5rem;
  height: 12px;
  width: 42%;
  border-radius: 999px;
}

.login-sk-field--link + .login-sk-btn {
  margin-top: 0.75rem;
}

.login-sk-btn {
  height: 34px;
  width: 100%;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.12);
  margin-bottom: 0.75rem;
}

.login-sk-divider {
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1px solid rgb(229 231 235);
  margin: 0 0 0.75rem;
}

.login-sk-social {
  height: 34px;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
}

.login-sk-divider + .login-sk-social {
  margin-bottom: 0.5rem;
}

.login-sk-social + .login-sk-social {
  margin-bottom: 0.75rem;
}

.login-sk-footer-line {
  height: 14px;
  width: 85%;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.07);
}

@keyframes geniusSkPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.genius-sk-pulse {
  animation: geniusSkPulse 1.4s ease-in-out infinite;
}
