/* Editorial login and collection pages, using the shared day/night palette. */
.login-page {
  background: var(--paper);
}
.login-top {
  max-width: 1500px;
  margin: auto;
  padding: 25px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.login-top .brand strong {
  font-size: 18px;
}
.login-main {
  max-width: 1500px;
  padding: 32px 48px 0;
  margin: auto;
}
.login-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 15px 60px #33452e05;
}
.login-landscape {
  position: relative;
  background: #e7e6d5;
  min-height: 575px;
  isolation: isolate;
  overflow: hidden;
}
.landscape-copy {
  position: relative;
  z-index: 1;
  padding: 38px 38px 0;
}
.landscape-copy .eyebrow {
  color: #8e6946;
  font-size: 9px;
  letter-spacing: 2.5px;
}
.landscape-copy h1 {
  font: 400 clamp(30px, 3vw, 43px)/1.5 var(--serif);
  letter-spacing: 3px;
  margin: 19px 0 16px;
  color: #354e3b;
}
.landscape-copy p {
  font-size: 12px;
  line-height: 2;
  color: #6f7a61;
  letter-spacing: 0.4px;
}
.login-city {
  position: absolute;
  width: 100%;
  height: 300px;
  left: 0;
  bottom: 38px;
  filter: var(--scene-filter);
}
.landscape-foot {
  position: absolute;
  bottom: 17px;
  left: 30px;
  right: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  color: #667258;
  font-size: 9px;
  letter-spacing: 2px;
}
.landscape-foot button {
  background: #f7f6e5a6;
  border-color: #afb69555;
  font-size: 10px;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 99px;
  color: #55664d;
  letter-spacing: 0;
}
.flying-birds {
  position: absolute;
  width: 140px;
  right: 28px;
  top: 120px;
  color: #8a9276;
  z-index: 1;
}
.bird-flight {
  animation: birdFlight 13s ease-in-out infinite alternate;
}
@keyframes birdFlight {
  to {
    transform: translate(12px, -8px);
  }
}
.login-panel {
  padding: 40px clamp(24px, 3.8vw, 60px) 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 2px;
}
.small-rule {
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.login-panel h2 {
  font: 400 25px/1.6 var(--serif);
  letter-spacing: 1px;
  margin: 13px 0 7px;
}
.panel-description {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 22px;
}
.login-panel label,
.login-panel .input-caption {
  display: block;
  font-size: 12px;
  color: var(--quiet);
  margin: 0 0 7px;
}
.login-panel input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 13px;
  border-radius: 8px;
  background: var(--field);
  color: var(--ink);
  min-height: 46px;
}
.login-panel input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
.login-panel input[aria-invalid="true"] {
  border-color: var(--red);
}
.login-panel input:focus-visible {
  outline-width: 2px;
  outline-offset: 2px;
}
.login-panel input#username {
  margin-bottom: 19px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 48px;
}
.password-toggle {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  padding: 7px;
  width: 36px;
  height: 36px;
}
.password-toggle .provided-icon {
  margin: 0 !important;
}
.eye-closed {
  display: none;
}
.password-toggle.is-off .eye-open {
  display: none;
}
.password-toggle.is-off .eye-closed {
  display: block;
}
.hint {
  font-size: 11px;
  color: var(--red);
  margin: -12px 0 15px;
}
.login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 12px 16px;
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 1px;
}
.login-submit span { font-size:13px; line-height:1.4; }
.login-submit .provided-icon { margin:0; flex-shrink:0; }
.divider {
  position: relative;
  text-align: center;
  margin: 20px 0;
  color: var(--muted);
  font-size: 10px;
}
.divider:before {
  content: "";
  height: 1px;
  background: var(--line);
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
}
.divider span {
  position: relative;
  background: var(--surface);
  padding: 0 12px;
}
.passkey-login {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border-color: var(--line);
  padding: 11px;
  font-size: 12px;
  min-height: 44px;
}
.public-entry {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--quiet);
  margin-top: 1px;
}
.public-entry:hover {
  color: var(--red);
}
.login-panel .message {
  margin: 10px 0 6px;
  font-size: 11px;
  min-height: 18px;
}
.login-assurance {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
  margin: 24px 0 0;
  letter-spacing: 1px;
}
.login-assurance img {
  width: 14px;
  height: 14px;
}
.moments {
  display: grid;
  grid-template-columns: 0.85fr repeat(3, 1fr);
  gap: 24px;
  padding: 34px 0 28px;
}
.moments-intro {
  padding: 16px 0;
}
.moments-intro .eyebrow {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--gold);
}
.moments-intro h2 {
  font: 400 23px/1.6 var(--serif);
  letter-spacing: 1px;
  margin: 12px 0;
}
.moments-intro p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.scene-card {
  min-width: 0;
  position: relative;
}
.scene-visual {
  border-radius: 10px;
  overflow: hidden;
  background: #efeee2;
  border: 1px solid #e8e5d5;
  position: relative;
  isolation: isolate;
}
.scene-visual svg {
  width: 100%;
  height: auto;
  display: block;
  filter: var(--scene-filter);
}
.scene-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.5px;
}
.scene-meta button {
  font-size: 9px;
  min-height: 25px;
  background: transparent;
  padding: 2px 9px;
  color: var(--muted);
  border-radius: 99px;
  letter-spacing: 0;
}
.scene-meta button[aria-pressed="false"],
.editorial-card button[aria-pressed="false"] {
  border-color: var(--red);
  color: var(--red);
}
.scene-card h3 {
  font: 400 16px var(--serif);
  margin: 12px 0 7px;
  letter-spacing: 0.5px;
}
.scene-card > p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  line-height: 1.9;
}
.login-main .footer {
  margin-top: 0;
}
.collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 40px 0 34px;
  gap: 20px;
}
.collection-heading .eyebrow {
  font-size: 9px;
  color: var(--gold);
}
.collection-heading h1 {
  font: 400 32px var(--serif);
  letter-spacing: 2px;
  margin: 12px 0;
}
.collection-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.collection-heading > a {
  font-size: 11px;
  color: var(--quiet);
}
.collection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 32px;
  align-items: start;
  min-height: 480px;
}
.collection-content {
  min-width: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.collection-content .section-head {
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}
.collection-content .section-head h2 {
  font-size: 15px;
}
.collection-search {
  margin-bottom: 18px;
}
.collection-search input {
  width: 100%;
  padding: 12px 14px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12px;
}
.collection-search input::placeholder {
  color: var(--muted);
}
.collection-content td {
  padding: 18px 12px;
}
.collection-content td:first-child {
  min-width: 180px;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 300px;
}
.collection-content th {
  font-size: 11px;
}
.collection-content .mini {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 32px;
  font-size: 11px;
  margin: 2px;
}
.collection-content .mini .provided-icon {
  width: 14px;
  height: 14px;
}
.collection-content .mini:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.collection-content table a {
  color: var(--quiet);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.collection-content table a:hover {
  color: var(--red);
  border-color: var(--red);
}
.key-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.key-actions button {
  font-size: 11px;
  min-height: 36px;
}
.security-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.security-summary strong {
  font-weight: 500;
  font-size: 13px;
}
.security-summary p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 0;
}
.security-emblem {
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  border-radius: 10px;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.security-emblem img {
  width: 26px;
  height: 26px;
}
.editorial-card {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 18px 18px 23px;
  background: var(--surface-soft);
}
.editorial-card .scene-visual {
  border: 0;
  background: transparent;
  margin-bottom: 15px;
}
.editorial-card .eyebrow {
  color: var(--gold);
  font-size: 8px;
}
.editorial-card h2 {
  font: 400 20px/1.5 var(--serif);
  letter-spacing: 0.5px;
  margin: 10px 0;
}
.editorial-card > p {
  font-size: 12px;
  line-height: 1.9;
}
.editorial-card button {
  margin-top: 18px;
  padding: 3px 12px;
  min-height: 27px;
  font-size: 10px;
  background: transparent;
  color: var(--quiet);
  border-radius: 99px;
}
.aside-note {
  display: flex;
  gap: 10px;
  padding: 18px 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 11px;
}
.aside-note > img {
  margin-top: 3px;
  width: 18px;
  height: 18px;
}
.aside-note p {
  margin: 0;
  line-height: 1.9;
}
.back-login {
  font-size: 11px;
  color: var(--muted);
  margin-top: 15px;
}
.collection-page .sidebar .side-nav img {
  margin: 0;
  width: 18px;
  height: 18px;
}
.collection-page .sidebar .active {
  color: #fff;
}
.login-link {
  padding: 6px 12px;
  font-size: 11px;
  color: var(--quiet);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.busy-note {
  padding: 25px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 9px;
  display: block;
}
.status-tag {
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 3px 7px;
  border-radius: 20px;
  color: var(--muted);
}
[data-theme="dark"] .login-landscape {
  background: #2b3a30;
}
[data-theme="dark"] .landscape-copy h1 {
  color: #eee0b9;
}
[data-theme="dark"] .landscape-copy .eyebrow {
  color: #d6b17e;
}
[data-theme="dark"] .landscape-copy p {
  color: #c5cfb1;
}
[data-theme="dark"] .landscape-foot {
  color: #d1c6a5;
}
[data-theme="dark"] .landscape-foot button {
  background: #23392fd9;
  color: #d9ddc0;
  border-color: #75806b;
}
[data-theme="dark"] .flying-birds {
  color: #b1bd9b;
}
[data-theme="dark"] .scene-visual {
  background: #2c3c30;
  border-color: var(--line);
}
[data-theme="dark"] .editorial-card .scene-visual {
  background: transparent;
}
[data-theme="dark"] .scene-visual svg {
  filter: saturate(0.82) brightness(0.88);
}
[data-theme="dark"] .editorial-card {
  background: var(--surface);
}
@media (min-width: 1500px) {
  .login-landscape {
    min-height: 650px;
  }
  .login-city {
    height: 340px;
  }
  .landscape-copy {
    padding: 48px 50px;
  }
  .login-panel {
    padding: 48px 65px;
  }
  .login-panel h2 {
    font-size: 29px;
  }
  .moments {
    gap: 32px;
  }
  .scene-card h3 {
    font-size: 18px;
  }
}
@media (max-width: 1150px) {
  .login-top {
    padding: 22px 30px;
  }
  .login-main {
    padding: 25px 30px 0;
  }
  .login-stage {
    grid-template-columns: 1.1fr 1fr;
  }
  .login-panel {
    padding: 32px 28px;
  }
  .login-panel h2 {
    font-size: 22px;
  }
  .landscape-copy {
    padding: 30px 28px;
  }
  .landscape-copy h1 {
    font-size: 32px;
  }
  .login-landscape {
    min-height: 580px;
  }
  .moments {
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
  }
  .moments-intro {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }
  .moments-intro h2 br,
  .moments-intro p br {
    display: none;
  }
  .moments-intro h2 {
    font-size: 20px;
  }
  .moments-intro p {
    max-width: 220px;
  }
  .collection-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 22px;
  }
  .collection-content {
    padding: 20px;
  }
  .collection-heading h1 {
    font-size: 29px;
  }
  .collection-content .section-head h2 small {
    display: none;
  }
  .tools {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .collection-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .collection-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .editorial-card .scene-visual {
    max-width: 230px;
    margin: auto;
  }
  .collection-aside .aside-note {
    align-items: center;
  }
  .collection-heading {
    padding-top: 30px;
  }
  .login-panel h2 {
    font-size: 20px;
  }
  .login-panel {
    padding: 28px 24px;
  }
  .landscape-copy h1 {
    font-size: 29px;
  }
  .landscape-copy p {
    font-size: 11px;
  }
  .login-top .brand strong {
    font-size: 16px;
  }
  .login-top .brand small {
    display: block;
    font-size: 8px;
  }
  .login-top .brand-mark {
    width: 29px;
    height: 34px;
  }
  .login-city {
    width: 130%;
    left: -17%;
  }
  .login-landscape {
    min-height: 560px;
  }
  .login-kicker {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
}
@media (max-width: 700px) {
  .login-top {
    padding: 17px 20px;
  }
  .login-main {
    padding: 20px 20px 0;
  }
  .login-stage {
    grid-template-columns: 1fr;
  }
  .login-landscape {
    min-height: 380px;
  }
  .landscape-copy {
    padding: 25px 28px;
  }
  .landscape-copy h1 {
    font-size: 31px;
    line-height: 1.35;
    letter-spacing: 2px;
    margin: 14px 0 10px;
  }
  .landscape-copy p {
    font-size: 11px;
    line-height: 1.7;
    max-width: 210px;
  }
  .login-city {
    width: 100%;
    height: 190px;
    bottom: 34px;
    left: 15%;
    width: 95%;
  }
  .landscape-foot {
    left: 24px;
    right: 20px;
  }
  .flying-birds {
    top: 55px;
    width: 100px;
    right: 10px;
  }
  .login-panel {
    padding: 30px 28px;
  }
  .login-panel h2 {
    font-size: 25px;
  }
  .login-panel .panel-description {
    margin-bottom: 24px;
  }
  .moments {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }
  .moments-intro {
    display: block;
  }
  .moments-intro h2 {
    margin: 7px 0;
  }
  .moments-intro p {
    margin: 0;
    max-width: none;
  }
  .scene-card:not(.editorial-card) {
    display: grid;
    grid-template-columns: 140px 1fr;
    column-gap: 18px;
    align-items: start;
  }
  .scene-card:not(.editorial-card) .scene-visual {
    grid-row: 1/4;
  }
  .scene-card:not(.editorial-card) h3 {
    font-size: 15px;
    line-height: 1.6;
    margin: 7px 0;
  }
  .scene-card:not(.editorial-card) > p {
    font-size: 10px;
  }
  .scene-card:not(.editorial-card) .scene-meta {
    padding-top: 0;
    font-size: 7px;
    letter-spacing: 1px;
  }
  .scene-meta button {
    padding: 2px 8px;
  }
  .login-assurance {
    margin-top: 20px;
  }
  .collection-heading > a {
    font-size: 10px;
  }
  .collection-heading .eyebrow {
    font-size: 8px;
  }
  .collection-aside {
    grid-template-columns: 1fr;
  }
  .collection-aside .aside-note {
    padding: 0 8px 20px;
  }
  .collection-content {
    padding: 18px 14px;
  }
  .collection-content .section-head {
    gap: 12px;
  }
  .collection-heading h1 {
    font-size: 27px;
  }
  .collection-heading p {
    font-size: 11px;
  }
  .collection-heading {
    padding-bottom: 24px;
  }
  .collection-page .tools select {
    max-width: 84px;
  }
  .editorial-card .scene-visual {
    max-width: 220px;
  }
  .editorial-card {
    text-align: center;
  }
  .key-actions button {
    font-size: 10px;
    padding: 7px;
  }
  .key-actions .provided-icon {
    width: 15px;
    height: 15px;
  }
  .key-actions {
    gap: 6px;
  }
  .security-summary {
    gap: 10px;
  }
  .security-summary p {
    font-size: 10px;
  }
  .login-top .brand strong {
    font-size: 14px;
    letter-spacing: 1px;
  }
  .login-top .brand {
    gap: 7px;
  }
  .login-top .tools {
    gap: 5px;
  }
  .login-top select {
    font-size: 10px;
    padding: 6px;
    max-width: 83px;
  }
}
@media (max-width: 370px) {
  .login-top {
    padding: 15px 12px;
  }
  .login-top .brand small {
    display: none;
  }
  .login-main {
    padding: 14px 12px 0;
  }
  .login-panel {
    padding: 25px 20px;
  }
  .login-top select {
    max-width: 77px;
    font-size: 9px;
  }
  .scene-card:not(.editorial-card) {
    grid-template-columns: 110px 1fr;
    column-gap: 13px;
  }
  .scene-card:not(.editorial-card) h3 {
    font-size: 13px;
  }
  .scene-meta {
    gap: 5px;
  }
  .scene-meta span {
    letter-spacing: 0;
  }
  .scene-meta button {
    padding: 1px 5px;
  }
  .collection-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .collection-page .tools {
    gap: 4px;
  }
  .collection-page .tools select {
    max-width: 77px;
    font-size: 9px;
  }
  .login-link {
    padding: 4px 7px;
  }
  .login-panel h2 {
    font-size: 23px;
  }
}
/* Final responsive spacing and preview affordance. */
.login-top .brand strong {
  display: block;
}
.scene-outside .leaf-drift,
.scene-outside .tree-sway,
.scene-outside .walker {
  animation-play-state: paused !important;
}
@media (max-width: 700px) {
  .login-landscape {
    min-height: 450px;
  }
  .login-city {
    height: 200px;
    bottom: 34px;
    left: 0;
    width: 112%;
  }
  .landscape-copy p {
    max-width: none;
  }
}
.login-city {
  filter: none;
}
.shared-dialog > form > p {
  font-size: 13px;
  color: var(--muted);
  white-space: normal;
  overflow-wrap: anywhere;
  margin: 0 0 18px;
}
.shared-dialog input {
  color: var(--ink);
  background: var(--field);
}

/* Eye variants occupy one centered cell; shared image styles cannot show both. */
.password-field .password-toggle { display:grid; top:50%; transform:translateY(-50%); right:5px; place-items:center; gap:0; }
.password-field .password-toggle > .provided-icon { grid-area:1 / 1; width:18px; height:18px; margin:0!important; }
.password-field .password-toggle > .eye-open { display:block; }
.password-field .password-toggle > .eye-closed { display:none; }
.password-field .password-toggle.is-off > .eye-open { display:none; }
.password-field .password-toggle.is-off > .eye-closed { display:block; }


/* 提示文本居中 */
#home-status { text-align: center; }
