@font-face { font-family:"Noto Sans SC";font-style:normal;font-weight:400;font-display:swap;src:url('/_preview/font-sans') format('woff2'); }
@font-face { font-family:"Noto Serif SC";font-style:normal;font-weight:700;font-display:swap;src:url('/_preview/font-serif') format('woff2'); }
:root {
  color-scheme: light;
  --vanilla: #f5f2eb;
  --paper: #fffdf8;
  --ink: #292b27;
  --muted: #53616a;
  --blue: #a5432a;
  --electric-blue: #a5432a;
  --pale-blue: #eee5d8;
  --orange: #b45f40;
  --line: #dfd4c7;
  --heading-font: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --body-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-family: var(--body-font);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.auth-layout {
  display: grid;
  grid-template:
    "brand form" auto
    "product form" 1fr / minmax(0, 1.16fr) minmax(0, .84fr);
  min-height: 100vh;
  min-height: 100svh;
  background: var(--vanilla);
}

.auth-brand,
.auth-product {
  padding-inline: clamp(28px, 6vw, 106px);
}

.auth-brand {
  grid-area: brand;
  padding-block: clamp(24px, 4.5vw, 60px) 0;
  color: var(--blue);
}

.brand-inner,
.product-inner {
  max-width: 680px;
  margin-inline: auto;
}

.brand-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand-inner img { display: block; }

.auth-product {
  grid-area: product;
  align-self: center;
  padding-block: clamp(44px, 7vh, 86px) clamp(36px, 9vh, 98px);
}

.auth-product h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(33px, 4.05vw, 67px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.035em;
}

.auth-product h2 span { color: var(--blue); }

.auth-product h2 strong {
  position: relative;
  isolation: isolate;
  font-weight: inherit;
}

.auth-product h2 strong::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 .08em;
  height: .12em;
  border-radius: 4px;
  background: var(--orange);
  content: "";
}

.auth-product p {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.23vw, 18px);
  line-height: 1.8;
}

.product-art {
  display: block;
  width: min(100%, 630px);
  height: auto;
  aspect-ratio: 2.04 / 1;
  margin-block-start: 24px;
  object-fit: cover;
  object-position: center bottom;
  mix-blend-mode: multiply;
}

.auth-panel {
  grid-area: form;
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 86px);
  border-inline-start: 1px solid var(--line);
  background: var(--paper);
}

.auth-content {
  width: min(100%, 390px);
  margin-inline: auto;
  min-width: 0;
}

.auth-content h1 {
  margin: 0 0 22px;
  font-size: clamp(27px, 2.35vw, 38px);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.auth-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-block-end: 26px;
  padding: 4px;
  border: 1px solid #d9d7ce;
  border-radius: 12px;
  background: #eeeae2;
}

.auth-nav a {
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.auth-nav a:hover,
.auth-nav a[aria-current="page"] { color: var(--blue); }

.auth-nav a[aria-current="page"] {
  border-color: #d9d7ce;
  background: var(--paper);
}

.auth-content label {
  display: block;
  margin-block-end: 16px;
  font-weight: 650;
}

.auth-content input:not([type="hidden"]),
.auth-content button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border-radius: 10px;
  font: inherit;
}

.auth-content input:not([type="hidden"]) {
  margin-block-start: 5px;
  border: 1px solid #b8b9af;
  background: #fffdf8;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

.auth-content input:hover { border-color: var(--blue); }

.auth-content button {
  margin-block-start: 22px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fffdf8;
  cursor: pointer;
  font-weight: 700;
}

.auth-content button:hover { background: var(--blue); box-shadow: 0 0 0 3px var(--pale-blue); }

.auth-content a { text-underline-offset: 3px; }
.auth-content a:not(.auth-nav a) { color: var(--ink); text-decoration-color: var(--blue); }

.auth-content :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.auth-content input:focus-visible {
  border-color: var(--blue);
  outline: 2px solid var(--electric-blue);
  outline-offset: 1px;
}

.field-hint,
.auth-note,
.auth-intro {
  color: var(--muted);
}

.field-hint {
  margin-inline-start: 4px;
  font-size: 13px;
  font-weight: 400;
}

.auth-note { font-size: 14px; }
.auth-intro { margin-block: -6px 22px; }
.forgot-link { margin-block: -6px 0; text-align: end; }
.auth-back { margin-block: 20px 0; }

.auth-notice,
.auth-content .error {
  margin: 0 0 16px;
  padding: 10px 13px;
  border-radius: 8px;
}

.auth-notice {
  background: var(--pale-blue);
  color: var(--ink);
}

.auth-content .error {
  background: #f2e4dc;
  color: #833d26;
}

@media (max-width: 1100px) {
  .product-break { display: none; }
}

@media (max-width: 900px) {
  .auth-layout {
    grid-template: "brand" "form" "product" 1fr / minmax(0, 1fr);
    background: var(--paper);
  }

  .auth-brand,
  .auth-product {
    padding-inline: clamp(24px, 6vw, 58px);
  }

  .brand-inner,
  .product-inner { max-width: 480px; }

  .auth-panel {
    padding: 34px clamp(24px, 6vw, 58px) 38px;
    border: 0;
  }

  .auth-content { width: min(100%, 480px); }

  .auth-product {
    align-self: stretch;
    padding-block: 32px 38px;
    border-block-start: 1px solid var(--line);
    background: var(--vanilla);
  }

  .auth-product h2 { font-size: clamp(28px, 6vw, 42px); }
  .auth-product p { margin-block-start: 14px; }
  .product-art { margin-block-start: 12px; }
}

@media (max-width: 380px) {
  .auth-product h2 { font-size: clamp(24px, 7.1vw, 28px); }
}

/* Live editorial identity, shared by login, registration and recovery. */
:root { --vanilla:#f5f2eb;--paper:#fffdf8;--ink:#292b27;--muted:#696b62;--line:#d9d7ce; }
.auth-brand { color:var(--ink); }
.editorial-wordmark { color:#a5432a;font:700 32px/1 "Noto Sans SC",sans-serif;letter-spacing:-2px; }
.brand-inner { gap:13px;letter-spacing:0; }
.auth-content h1 { font-family:var(--heading-font);font-size:30px;font-weight:700;line-height:1.5; }
.auth-product h2 { font-size:clamp(32px,3.2vw,48px);font-weight:700;line-height:1.5; }
.auth-product h2 span { color:var(--ink); }
.auth-product h2 strong::after { background:#dfc0ab; }
.auth-product p { font-size:15px; }
.product-art { width:min(100%,440px);aspect-ratio:3/2;object-fit:contain;mix-blend-mode:normal;margin-top:24px; }
.auth-nav { background:#eeeae2;border-color:var(--line);border-radius:9px; }
.auth-nav a { border-radius:6px; }
.auth-content input:not([type=hidden]),.auth-content button { border-radius:7px; }
.auth-content button { color:#fffdf8;background:#a5432a;border-color:#a5432a; }
.auth-content button:hover { background:#913b25;box-shadow:none; }
.auth-content a:not(.auth-nav a) { color:#a5432a; }
@media(max-width:900px) {
 .auth-brand { padding-block-start:28px; }
 .auth-panel { padding-block:24px 32px; }
 .auth-product { padding-block:28px; }
 .auth-product h2 { font-size:30px; }
 .product-art { width:min(100%,320px);margin-inline:auto; }
}
