/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
:root {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  color: #171d29;
  background: #f5f9ff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
.workspace-loading { min-height: 100svh; display: grid; place-items: center; background: #f0f2f5; }
button, input { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
::selection { color: #164eb3; background: #dceaff; }
.login-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 28% 62%, #eaf3ff 0, #f4f8fd 39%, #f8fbff 78%);
}

.site-header {
  height: 78px;
  flex-shrink: 0;
  background: rgb(255 255 255 / 88%);
  border-bottom: 1px solid #e8edf4;
}

.header-inner {
  width: min(1248px, calc(100% - 112px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #161c2b;
  text-decoration: none;
  font-size: 27px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -.8px;
}

.brand img { display: block; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.help-button.ant-btn { padding-right: 0; font-size: 15px; }

.login-main {
  width: min(1248px, calc(100% - 112px));
  margin: auto;
  padding: 64px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: center;
  gap: 72px;
}

.album-intro { min-width: 0; }
.photo-collage {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(220px, calc(100svh - 360px), 498px);
  margin-top: 8px;
  object-fit: contain;
  object-position: left center;
}
.eyebrow {
  margin: 0 0 16px;
  color: #287dff;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .5px;
}

.album-intro h1 {
  margin: 0;
  color: #131a29;
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -2px;
}

.intro-description {
  margin: 16px 0 0;
  color: #7b8494;
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: .4px;
}


.login-card {
  min-width: 0;
  padding: 36px 34px;
  text-align: center;
  border: 1px solid #e0e8f2;
  border-radius: 20px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 8px 28px rgb(57 96 153 / 5%), 0 0 2px rgb(57 96 153 / 5%);
}
.wechat-mark { display: block; margin: 0 auto 20px; }
.login-card h2 { margin: 0; color: #171d29; font-size: 28px; line-height: 1.4; font-weight: 650; letter-spacing: .3px; }
.login-description { margin: 10px 0 27px; color: #8992a2; font-size: 16px; line-height: 1.6; }
.qr-container {
  width: fit-content;
  margin: 0 auto;
  padding: 10px;
  background: white;
  border: 1px solid #e1e6ef;
  border-radius: 6px;
}
.site-footer { text-align: center; padding: 22px 20px 27px; color: #909aaa; font-size: 13px; }
.dialog-content { color: #626d7d; line-height: 1.9; padding-top: 8px; }

@media (min-width: 1600px) {
  .login-main { padding-top: 78px; padding-bottom: 58px; }
}

@media (max-width: 1199px) {
  .header-inner, .login-main { width: calc(100% - 72px); }
  .login-main { grid-template-columns: minmax(0, 1fr) 390px; gap: 42px; padding-top: 56px; }
  .album-intro h1 { font-size: 46px; }
  .intro-description { font-size: 16px; }
  .login-card { padding-inline: 25px; }
  .login-description { font-size: 15px; }
}

@media (max-width: 767px) {
  .login-main { width: min(680px, calc(100% - 48px)); grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px 0 24px; }
  .album-intro { text-align: center; }
  .photo-collage { max-width: 600px; max-height: none; margin-inline: auto; }
  .album-intro h1 { font-size: 48px; }
  .login-card { width: min(440px, 100%); margin: 0 auto; padding: 32px; }
  .site-footer { padding-top: 12px; }
}

/* Desktop layout responds to both the window width and its available height. */
@media (min-width: 768px) {
  .login-page {
    --layout-gap: clamp(4px, calc((100svh - 560px) / 16), 16px);
    --qr-size: clamp(160px, calc(100svh - 520px), 224px);
  }

  .site-header { height: clamp(56px, 8svh, 78px); }
  .header-inner, .login-main { width: min(1248px, calc(100% - 64px)); }
  .login-main {
    flex: 1;
    grid-template-columns: minmax(0, 1fr) clamp(300px, 31vw, 440px);
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(12px, 2svh, 28px) 0;
  }

  .eyebrow { font-size: clamp(14px, 1.6vw, 19px); margin-bottom: var(--layout-gap); }
  .album-intro h1 { font-size: clamp(32px, min(4.4vw, 7.4svh), 62px); }
  .intro-description { font-size: clamp(13px, 1.5vw, 21px); margin-top: var(--layout-gap); }

  .login-card { padding: calc(16px + var(--layout-gap) / 2) clamp(20px, 2.3vw, 34px) 16px; }
  .wechat-mark { width: auto; height: clamp(28px, 5svh, 52px); margin-bottom: var(--layout-gap); }
  .login-card h2 { font-size: clamp(22px, 3svh, 28px); line-height: 1.35; }
  .login-description { margin: 6px 0 var(--layout-gap); font-size: 14px; }
  .qr-container { padding: 8px; }
  .site-footer { flex-shrink: 0; padding: 10px 20px; line-height: 20px; }
}

@media (min-width: 768px) and (max-height: 640px) {
  .site-header { height: 52px; }
  .brand { font-size: 24px; }
  .brand img { width: 38px; height: 38px; }
  .login-main { padding-block: 8px; }
  .login-card { padding-block: 12px; }
  .wechat-mark { height: 28px; }
  .site-footer { padding-block: 6px; line-height: 18px; font-size: 12px; }
}

@media (max-width: 540px) {
  .site-header { height: 66px; }
  .header-inner { width: calc(100% - 40px); }
  .brand { font-size: 23px; gap: 9px; }
  .brand img { width: 36px; height: 36px; }
  .help-button.ant-btn { font-size: 13px; }
  .login-main { width: calc(100% - 40px); padding-top: 30px; gap: 27px; }
  .eyebrow { font-size: 14px; margin-bottom: 12px; }
  .album-intro h1 { font-size: clamp(30px, 8.4vw, 43px); line-height: 1.28; letter-spacing: -1px; }
  .intro-description { font-size: 13px; margin-top: 13px; letter-spacing: 0; }
  .login-card { padding: 28px 20px 22px; border-radius: 18px; }
  .wechat-mark { width: 52px; height: 45px; margin-bottom: 16px; }
  .login-card h2 { font-size: 25px; }
  .login-description { font-size: 14px; margin-bottom: 24px; }
  .site-footer { font-size: 12px; padding-bottom: 22px; }
}

.login-code-box { position: relative; width: var(--qr-size, 224px); height: var(--qr-size, 224px); }
.login-code { display: block; width: 100%; height: 100%; object-fit: contain; }
.mobile-login-guide { max-width: 420px; margin: 12vh auto; padding: 32px 24px; text-align: center; }
.mobile-login-guide h1 { font-size: 24px; margin: 24px 0; }
.mobile-login-guide p { line-height: 1.8; color: #68756b; }
.code-placeholder, .code-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 12px; color: #7b8798; font-size: 13px; }
.code-overlay { background: rgb(255 255 255 / 96%); border-radius: 4px; }
.code-state-icon { font-size: 34px; line-height: 1; color: #1677ff; }
.code-state-icon svg { display: block; width: 34px; height: 34px; }
.code-overlay--action { width: 100%; border: 0; font: inherit; text-align: center; cursor: pointer; }
.code-overlay--action:hover span:last-child { color: #1677ff; }
.code-overlay--action:focus-visible { outline: 2px solid #1677ff; outline-offset: 2px; }
.account-panel { padding: 22px 0 14px; display: flex; flex-direction: column; align-items: center; }
.account-avatar { flex-shrink: 0; background: #e5f2ff; color: #1677ff; font-size: 30px; }
.login-success-badge { display: grid; place-items: center; width: 24px; height: 24px; margin: -18px 0 22px 52px; border: 2px solid white; border-radius: 50%; background: #12bf66; color: white; z-index: 1; }
.account-name { max-width: 100%; margin: 18px 0 8px; font-size: 19px; overflow-wrap: anywhere; }
.account-description { margin: 0 0 22px; font-size: 14px; color: #8992a2; }
