/* 统一颜色与尺寸：想换配色，可以从这里开始。 */
:root {
  --blue:#265fd1;
  --navy:#18324e;
  --muted:#617187;
  --paper:#f7f9fc;
  --line:#dce5ee;
  --yellow:#f6df8e;
  --serif:"Songti SC","Noto Serif CJK SC","SimSun",serif
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:110px
}

body {
  margin:0;
  background:var(--paper);
  color:var(--navy);
  font-family:"Microsoft YaHei","PingFang SC",sans-serif;
  font-size:15px;
  line-height:1.8
}

button,textarea {
  font:inherit
}

button,a {
  -webkit-tap-highlight-color:transparent
}

a {
  color:inherit;
  text-decoration:none
}

button {
  cursor:pointer;
  color:inherit
}

img {
  max-width:100%
}

h1,h2,h3,p,figure,blockquote {
  margin:0
}

section {
  scroll-margin-top:20px
}

main:focus {
  outline:none
}

[hidden] {
  display:none!important
}

.wrap {
  width:min(1160px,calc(100% - 96px));
  margin-inline:auto
}

.eyebrow {
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
  color:var(--blue)
}

h2 {
  font-family:var(--serif);
  font-size:clamp(28px,3.2vw,40px);
  line-height:1.55;
  letter-spacing:-1px
}

a:focus-visible,button:focus-visible,textarea:focus-visible {
  outline:3px solid var(--blue);
  outline-offset:5px
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap
}

.skip-link {
  position:fixed;
  z-index:30;
  top:10px;
  left:12px;
  padding:10px 18px;
  background:var(--navy);
  color:white;
  transform:translateY(-160%)
}

.skip-link:focus {
  transform:none
}

/* 顶部导航 */
.site-header {
  background:rgba(247,249,252,.96);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:10
}

.header-inner {
  width:min(1280px,calc(100% - 80px));
  margin:auto;
  min-height:88px;
  display:flex;
  align-items:center;
  gap:32px
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:11px;
  flex-shrink:0;
  font-weight:700;
  font-size:18px;
  line-height:1.3
}

.brand-icon {
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  background:var(--blue);
  color:white;
  border-radius:11px 11px 11px 2px;
  font-family:Georgia,serif;
  font-size:32px;
  font-style:italic;
  padding-bottom:4px
}

.brand small {
  display:block;
  font-size:8px;
  letter-spacing:2px;
  font-weight:600;
  margin-top:5px
}

.site-nav {
  display:flex;
  gap:30px;
  margin:auto;
  flex-wrap:wrap
}

.site-nav a {
  font-size:13px;
  padding:13px 0;
  position:relative
}

.site-nav a:hover,.site-nav a.active {
  color:var(--blue)
}

.site-nav a.active:after {
  content:"";
  position:absolute;
  bottom:3px;
  left:calc(50% - 2px);
  width:4px;
  height:4px;
  background:var(--blue);
  border-radius:50%
}

.header-note {
  font-size:12px;
  border:1px solid #c9d7e5;
  border-radius:30px;
  padding:10px 18px;
  white-space:nowrap
}

.header-note span {
  margin-left:15px
}

/* 首页：文字与人物立绘 */
.hero {
  display:grid;
  grid-template-columns:1.08fr 1fr;
  align-items:center;
  gap:24px;
  min-height:685px;
  padding-top:42px;
  padding-bottom:30px
}

.hero-copy {
  padding-block:26px;
  position:relative;
  z-index:1
}

.tiny-star {
  font-size:19px;
  vertical-align:middle;
  margin-right:8px
}

.hero h1 {
  font-family:var(--serif);
  font-size:clamp(42px,5.1vw,68px);
  line-height:1.4;
  letter-spacing:-2px;
  margin:23px 0 22px;
  font-weight:700
}

.highlight {
  position:relative;
  white-space:nowrap
}

.highlight:after {
  content:"";
  position:absolute;
  bottom:4px;
  left:0;
  right:0;
  height:12px;
  background:var(--yellow);
  z-index:-1;
  transform:rotate(-3deg)
}

.blue-dot {
  color:var(--blue)
}

.hero-description {
  font-size:19px;
  line-height:1.9;
  font-family:var(--serif)
}

.hero-subtitle {
  font-size:12px;
  color:var(--muted);
  line-height:2.1;
  margin-top:18px
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
  margin-top:30px
}

.primary-link {
  display:inline-flex;
  align-items:center;
  gap:38px;
  background:var(--blue);
  color:white;
  border-radius:5px;
  padding:13px 23px;
  font-size:13px;
  font-weight:600;
  min-height:48px;
  box-shadow:0 6px 14px #265fd11a;
  transition:background .2s,transform .2s
}

.primary-link:hover {
  background:#194baa;
  transform:translateY(-2px)
}

.primary-link span {
  font-size:20px
}

.text-link {
  font-size:13px;
  display:inline-flex;
  gap:18px;
  align-items:center;
  min-height:44px
}

.text-link:hover {
  color:var(--blue)
}

.hero-footnote {
  margin-top:40px;
  border-top:1px solid var(--line);
  padding-top:19px;
  font-size:10px;
  color:var(--muted);
  display:flex;
  gap:7px;
  align-items:center;
  flex-wrap:wrap
}

.status-dot {
  width:5px;
  height:5px;
  background:var(--blue);
  border-radius:50%
}

.hero-number {
  margin-left:auto;
  letter-spacing:1px;
  font-size:8px
}

.hero-art {
  height:605px;
  position:relative;
  isolation:isolate;
  background-image:radial-gradient(#cad8e7 1px,transparent 1px);
  background-size:17px 17px;
  border-radius:45% 45% 10px 10px;
  overflow:hidden
}

.art-circle {
  width:390px;
  height:390px;
  border-radius:50%;
  background:#e2edfc;
  position:absolute;
  left:50%;
  top:100px;
  transform:translateX(-50%);
  z-index:-2
}

.art-circle:after {
  content:"";
  position:absolute;
  inset:20px;
  border:1px solid #bdcee7;
  border-radius:50%
}

.art-name {
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top:15px;
  letter-spacing:-9px;
  line-height:1;
  color:#d7e6f9;
  font-size:126px;
  font-family:Georgia,serif;
  font-weight:bold;
  z-index:-1
}

.hero-character {
  position:absolute;
  height:590px;
  width:auto;
  max-width:none;
  left:50%;
  bottom:0;
  transform:translateX(-50%) rotate(2deg);
  filter:drop-shadow(12px 12px 0 #265fd10d)
}

.art-tag {
  position:absolute;
  background:#fff;
  box-shadow:0 8px 24px #1b3b6e0a;
  border:1px solid #dce6f1;
  z-index:2
}

.tag-top {
  top:153px;
  right:0;
  padding:12px 18px;
  font-family:var(--serif);
  font-size:18px;
  transform:rotate(6deg)
}

.tag-top small {
  font-family:sans-serif;
  font-size:9px;
  display:block;
  color:var(--muted);
  letter-spacing:3px
}

.tag-bottom {
  bottom:92px;
  left:0;
  font-size:12px;
  padding:10px 17px;
  transform:rotate(-7deg)
}

.tag-bottom span {
  color:var(--blue);
  margin-right:5px;
  font-size:19px
}

.art-spark {
  position:absolute;
  font-size:50px;
  color:var(--blue);
  z-index:1
}

.spark-one {
  left:30px;
  top:174px
}

.spark-two {
  right:30px;
  bottom:180px;
  color:#b78b21;
  font-size:38px
}

.art-caption {
  position:absolute;
  bottom:4px;
  right:0;
  writing-mode:vertical-rl;
  font-size:8px;
  letter-spacing:3px;
  color:var(--muted)
}

/* 过渡色带与人物档案 */
.ribbon {
  background:#eaf0fb;
  border-block:1px solid #d7e2f6
}

.ribbon-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  min-height:59px;
  font-size:11px;
  letter-spacing:1px;
  color:#365680
}

.ribbon-inner>span:nth-child(even) {
  font-size:22px;
  color:#678bb9
}

.ribbon-last {
  font-size:9px;
  letter-spacing:2px
}

.profile-section {
  padding-block:100px;
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:90px
}

.section-heading h2 {
  margin-top:18px
}

.profile-body>p {
  color:var(--muted);
  font-size:13px;
  line-height:2.1
}

.profile-body .large-copy {
  font-family:var(--serif);
  font-size:23px;
  color:var(--navy);
  line-height:1.8;
  margin-bottom:16px
}

.large-copy strong {
  font-weight:500
}

.profile-facts {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:18px;
  border-block:1px solid var(--line);
  padding-block:20px;
  margin:25px 0 14px
}

.profile-facts dt {
  font-size:10px;
  color:var(--muted);
  margin-bottom:5px
}

.profile-facts dd {
  margin:0;
  font-size:12px
}

.source-link {
  font-size:10px;
  color:#536b88;
  text-decoration:underline;
  text-underline-offset:4px;
  display:inline-block;
  padding:6px 0
}

.source-link span {
  margin-left:8px
}

/* 心动理由 */
.favorite-section {
  background:#eef3f9;
  padding-block:74px
}

.section-top {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:25px;
  margin-bottom:34px
}

.section-top h2 {
  margin-top:12px;
  font-size:clamp(27px,3vw,36px)
}

.handwritten {
  font-family:Georgia,serif;
  font-style:italic;
  color:#617b9e;
  font-size:18px;
  transform:rotate(-5deg);
  padding-bottom:6px
}

.reason-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px
}

.reason {
  padding:18px 0 8px;
  border-top:1px solid #c5d3e6;
  position:relative
}

.reason-index {
  font-family:Georgia,serif;
  font-size:12px;
  color:#627d9e
}

.reason-symbol {
  float:right;
  font-size:33px;
  line-height:1;
  color:var(--blue)
}

.reason h3 {
  font-size:16px;
  margin:21px 0 12px
}

.reason p {
  font-size:12px;
  color:var(--muted);
  line-height:2.1;
  max-width:290px
}

.favorite-quote {
  display:flex;
  gap:30px;
  align-items:center;
  flex-wrap:wrap;
  border-top:1px solid #d1deec;
  margin-top:42px;
  padding-top:23px
}

.favorite-quote>span {
  font-size:10px;
  color:var(--muted)
}

.favorite-quote blockquote {
  font-size:23px;
  font-family:var(--serif);
  color:var(--blue)
}

.favorite-quote .quote-sign {
  margin-left:auto;
  font-size:11px
}

/* 分类相册与收藏 */
.gallery-section {
  padding-block:94px
}

.section-aside {
  font-size:11px;
  color:var(--muted);
  line-height:2
}

.gallery-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  padding-bottom:20px;
  margin-bottom:27px;
  gap:20px
}

.filter-group {
  display:flex;
  flex-wrap:wrap;
  gap:6px
}

.filter {
  border:0;
  background:transparent;
  padding:9px 15px;
  border-radius:30px;
  font-size:11px;
  min-height:44px
}

.filter.active {
  background:var(--navy);
  color:white
}

.filter span {
  font-size:9px;
  margin-left:5px;
  opacity:.75
}

.filter:not(.active):hover {
  background:#e4ebf5
}

.gallery-hint {
  font-size:8px;
  letter-spacing:1.5px;
  color:var(--muted)
}

.gallery-grid {
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:28px
}

.photo-card {
  min-width:0
}

.image-open {
  border:0;
  padding:0;
  display:block;
  width:100%;
  height:350px;
  position:relative;
  border-radius:8px;
  background:#e1eafa;
  overflow:hidden
}

.summer-card .image-open>img {
  width:100%;
  height:100%;
  object-fit:cover
}

.image-open>img {
  transition:transform .5s
}

.image-open:hover>img {
  transform:scale(1.035)
}

.zoom-indicator {
  position:absolute;
  bottom:15px;
  right:15px;
  background:#fff;
  color:var(--navy);
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:20px;
  box-shadow:0 2px 8px #0001
}

.portrait-card .image-open {
  background:#e7effa
}

.portrait-card .image-open>img {
  height:92%;
  width:auto;
  position:relative;
  z-index:1;
  display:block;
  margin:28px auto 0
}

.portrait-word {
  position:absolute;
  top:34px;
  left:25px;
  text-align:left;
  color:#c2d4ed;
  font-size:64px;
  line-height:1.1;
  font-family:Georgia,serif;
  font-weight:bold;
  letter-spacing:-2px
}

.photo-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding-top:16px
}

.photo-label {
  font-size:8px;
  letter-spacing:1.5px;
  color:var(--muted)
}

.photo-meta h3 {
  font-size:14px;
  font-weight:500;
  margin-top:3px
}

.save-photo {
  border:1px solid var(--line);
  border-radius:50%;
  background:transparent;
  min-width:44px;
  height:44px;
  font-size:23px;
  display:grid;
  place-items:center
}

.save-photo[aria-pressed=true] {
  color:var(--blue);
  background:#e3ecfc;
  border-color:#aec5ed
}

.save-photo:hover {
  border-color:var(--blue)
}

.storage-note {
  font-size:10px;
  color:var(--muted);
  margin-top:23px
}

.empty-state {
  padding:48px 20px;
  text-align:center;
  border:1px dashed #becce0;
  border-radius:8px;
  color:var(--muted);
  font-size:13px
}

/* 私人便签 */
.notebook-section {
  border-block:1px solid var(--line);
  padding-block:64px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center
}

.notebook-intro h2 {
  margin-top:15px
}

.notebook-intro>p:not(.eyebrow) {
  font-size:12px;
  color:var(--muted);
  line-height:2;
  margin-top:17px
}

.notebook-doodle {
  display:inline-block;
  font-family:Georgia,serif;
  font-style:italic;
  color:var(--blue);
  font-size:17px;
  margin-top:25px;
  transform:rotate(-4deg)
}

.note-paper {
  background:#fffbea;
  border:1px solid #ece2bd;
  padding:26px 28px 20px;
  box-shadow:5px 6px 0 #f0ead8;
  transform:rotate(1deg);
  position:relative
}

.note-paper:before {
  content:"";
  width:75px;
  height:22px;
  background:#d9e6f0b3;
  position:absolute;
  top:-11px;
  left:calc(50% - 38px);
  transform:rotate(-5deg)
}

.note-paper-top {
  display:flex;
  justify-content:space-between;
  font-size:8px;
  letter-spacing:1.4px;
  color:#7c6b42;
  border-bottom:1px solid #e7ddbc;
  padding-bottom:11px;
  margin-bottom:15px
}

.note-paper-top>span:last-child {
  font-size:16px
}

.note-paper label {
  display:block;
  font-size:12px;
  margin-bottom:7px;
  color:#635c43
}

.note-paper textarea {
  width:100%;
  display:block;
  resize:vertical;
  min-height:142px;
  max-height:420px;
  background:repeating-linear-gradient(transparent 0,transparent 31px,#e9e1c9 32px);
  border:0;
  color:#4a483c;
  font-size:13px;
  line-height:32px;
  padding:0;
  border-radius:0
}

.note-paper textarea::placeholder {
  color:#8b8269
}

.note-paper-bottom {
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  font-size:9px;
  color:#776e55;
  margin-top:14px
}

.closing {
  text-align:center;
  padding-block:74px 82px
}

.closing-star {
  font-size:35px;
  color:var(--blue)
}

.closing h2 {
  font-size:27px;
  margin-top:10px
}

.closing p {
  font-size:12px;
  color:var(--muted);
  margin:11px 0 8px
}

.closing .text-link {
  color:var(--blue)
}

/* 页脚与放大预览 */
.site-footer {
  border-top:1px solid var(--line);
  padding-block:30px
}

.footer-top,.footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:25px
}

.footer-top {
  align-items:center;
  margin-bottom:25px
}

.footer-top .brand {
  font-size:15px
}

.footer-top .brand-icon {
  width:32px;
  height:32px;
  font-size:27px
}

.footer-top .brand small {
  font-size:7px;
  letter-spacing:1px
}

.back-top {
  font-size:11px;
  padding:10px
}

.back-top span {
  margin-left:10px
}

.footer-bottom {
  font-size:9px;
  color:var(--muted);
  line-height:2
}

.footer-bottom a {
  text-decoration:underline;
  text-underline-offset:3px
}

.footer-bottom>span {
  font-size:8px;
  letter-spacing:1px;
  text-align:right;
  flex-shrink:0
}

.lightbox {
  border:0;
  border-radius:12px;
  background:var(--paper);
  color:var(--navy);
  padding:20px;
  width:min(1000px,calc(100% - 32px));
  max-height:calc(100dvh - 32px);
  overflow:auto;
  overscroll-behavior:contain
}

.lightbox::backdrop {
  background:#0b1e36d9;
  backdrop-filter:blur(7px)
}

.lightbox-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:15px
}

.lightbox-header h2 {
  font-family:inherit;
  font-size:15px;
  letter-spacing:0
}

.lightbox button {
  border:1px solid var(--line);
  background:white;
  border-radius:6px;
  min-height:44px;
  padding:8px 14px;
  font-size:12px
}

.lightbox-close {
  flex-shrink:0
}

.lightbox-close span {
  font-size:21px;
  margin-left:8px
}

.lightbox>img {
  display:block;
  margin:auto;
  max-height:65dvh;
  width:auto;
  max-width:100%;
  object-fit:contain
}

.lightbox>p {
  font-size:10px;
  text-align:center;
  color:var(--muted);
  margin-top:12px
}

.lightbox-controls {
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:14px
}

body:has(.lightbox[open]) {
  overflow:hidden
}

/* 平板与手机 */
@media(min-width:1500px) {
  .hero {
    min-height:760px
  }

  .hero-art {
    height:650px
  }

  .hero-character {
    height:635px
  }

}

@media(max-width:1050px) {
  .header-inner {
    width:calc(100% - 48px);
    gap:20px
  }

  .wrap {
    width:calc(100% - 64px)
  }

  .site-nav {
    gap:20px
  }

  .hero {
    grid-template-columns:1.15fr 1fr;
    gap:5px;
    min-height:620px
  }

  .hero h1 {
    font-size:52px
  }

  .hero-art {
    height:540px
  }

  .hero-character {
    height:530px
  }

  .art-name {
    font-size:100px
  }

  .art-circle {
    width:300px;
    height:300px;
    top:130px
  }

  .tag-top {
    padding:8px 10px;
    font-size:15px;
    top:110px
  }

  .tag-bottom {
    font-size:10px;
    padding:7px 10px;
    bottom:65px
  }

  .spark-one {
    left:0;
    top:210px;
    font-size:32px
  }

  .spark-two {
    right:8px;
    bottom:150px
  }

  .hero-number {
    display:none
  }

  .profile-section {
    gap:45px;
    padding-block:74px
  }

  .notebook-section {
    gap:40px
  }

  .image-open {
    height:300px
  }

  .portrait-word {
    font-size:48px
  }

  .ribbon-last {
    display:none
  }

  .ribbon-inner>span:nth-last-child(2) {
    display:none
  }

}

@media(max-width:760px) {
  html {
    scroll-padding-top:150px
  }

  .wrap {
    width:calc(100% - 40px)
  }

  .header-inner {
    width:calc(100% - 40px);
    min-height:76px;
    padding-block:12px;
    flex-wrap:wrap;
    gap:10px 16px
  }

  .brand {
    font-size:16px
  }

  .brand-icon {
    width:34px;
    height:34px;
    font-size:29px
  }

  .header-note {
    margin-left:auto;
    font-size:10px;
    padding:8px 11px
  }

  .header-note span {
    margin-left:6px
  }

  .site-nav {
    order:3;
    width:100%;
    justify-content:center;
    gap:30px;
    border-top:1px solid var(--line);
    padding-top:3px;
    margin-top:3px
  }

  .site-nav a {
    font-size:12px;
    padding:9px 0
  }

  .hero {
    grid-template-columns:1fr;
    padding-top:20px;
    gap:0
  }

  .hero-copy {
    padding-top:22px;
    padding-bottom:0
  }

  .hero h1 {
    font-size:clamp(40px,8.3vw,62px);
    margin-top:16px;
    margin-bottom:18px
  }

  .hero-description {
    font-size:18px
  }

  .hero-subtitle {
    font-size:12px
  }

  .hero-actions {
    margin-top:24px
  }

  .hero-footnote {
    margin-top:27px
  }

  .hero-art {
    width:min(410px,100%);
    margin:20px auto 0;
    height:475px
  }

  .hero-character {
    height:470px
  }

  .art-name {
    top:20px;
    font-size:108px
  }

  .art-circle {
    width:320px;
    height:320px;
    top:90px
  }

  .tag-top {
    top:120px;
    right:5px
  }

  .tag-bottom {
    bottom:70px;
    left:6px
  }

  .spark-one {
    left:25px;
    top:180px
  }

  .spark-two {
    right:25px;
    bottom:140px
  }

  .hero {
    padding-bottom:24px
  }

  .ribbon-inner {
    gap:12px;
    font-size:10px;
    flex-wrap:wrap;
    justify-content:center;
    padding-block:12px;
    min-height:52px
  }

  .ribbon-inner>span:nth-child(4),.ribbon-inner>span:nth-child(5) {
    display:none
  }

  .profile-section {
    grid-template-columns:1fr;
    gap:25px;
    padding-block:58px
  }

  .section-heading h2 br {
    display:none
  }

  .section-heading h2 {
    margin-top:11px
  }

  .profile-body .large-copy {
    font-size:21px
  }

  .large-copy br {
    display:none
  }

  .profile-facts {
    gap:10px
  }

  .profile-facts dd {
    font-size:11px
  }

  .favorite-section {
    padding-block:50px
  }

  .section-top {
    align-items:flex-start;
    flex-direction:column;
    gap:14px;
    margin-bottom:24px
  }

  .handwritten {
    font-size:15px
  }

  .reason-grid {
    grid-template-columns:1fr;
    gap:20px
  }

  .reason {
    padding-top:14px
  }

  .reason h3 {
    margin:12px 0 8px
  }

  .reason p {
    max-width:none
  }

  .reason-symbol {
    font-size:28px
  }

  .favorite-quote {
    gap:12px 20px;
    margin-top:28px;
    padding-top:22px
  }

  .favorite-quote blockquote {
    font-size:21px;
    flex-basis:100%;
    order:2
  }

  .favorite-quote .quote-sign {
    order:3
  }

  .gallery-section {
    padding-block:58px
  }

  .section-aside br {
    display:none
  }

  .gallery-toolbar {
    align-items:flex-start
  }

  .gallery-hint {
    display:none
  }

  .filter-group {
    gap:4px
  }

  .filter {
    padding-inline:12px
  }

  .gallery-grid {
    grid-template-columns:1fr;
    gap:28px
  }

  .image-open {
    height:auto;
    aspect-ratio:1.4
  }

  .portrait-card .image-open {
    height:340px;
    aspect-ratio:auto
  }

  .portrait-word {
    font-size:70px;
    top:35px;
    left:28px
  }

  .photo-meta h3 {
    font-size:14px
  }

  .notebook-section {
    grid-template-columns:1fr;
    gap:35px;
    padding-block:45px
  }

  .notebook-intro h2 br {
    display:none
  }

  .notebook-doodle {
    margin-top:14px
  }

  .note-paper {
    transform:none;
    padding:22px 20px
  }

  .closing {
    padding-block:53px
  }

  .closing h2 {
    font-size:25px
  }

  .footer-bottom {
    flex-direction:column;
    gap:12px
  }

  .footer-bottom>span {
    text-align:left
  }

  .footer-bottom p {
    overflow-wrap:anywhere
  }

  .lightbox {
    padding:15px
  }

  .lightbox-header h2 {
    font-size:13px
  }

  .lightbox>img {
    max-height:58dvh
  }

}

@media(max-width:350px) {
  .wrap,.header-inner {
    width:calc(100% - 32px)
  }

  .site-nav {
    gap:19px
  }

  .hero h1 {
    font-size:36px;
    letter-spacing:-1px
  }

  .hero-description {
    font-size:16px
  }

  .eyebrow {
    letter-spacing:1px;
    font-size:9px
  }

  .hero-actions {
    gap:20px
  }

  .primary-link {
    gap:22px;
    padding-inline:18px
  }

  .hero-art {
    height:405px
  }

  .hero-character {
    height:400px
  }

  .art-name {
    font-size:85px;
    letter-spacing:-5px
  }

  .art-circle {
    width:250px;
    height:250px
  }

  .tag-top {
    right:0;
    top:96px;
    font-size:13px
  }

  .tag-bottom {
    left:0;
    bottom:45px
  }

  .spark-one {
    left:2px
  }

  .spark-two {
    right:7px;
    bottom:120px
  }

  .brand {
    font-size:14px;
    gap:7px
  }

  .brand small {
    font-size:7px;
    letter-spacing:1px
  }

  .header-note {
    padding-inline:9px
  }

  .header-note span {
    display:none
  }

  .profile-facts {
    grid-template-columns:1fr 1fr
  }

  .profile-facts>div:last-child {
    grid-column:1/-1
  }

  .filter {
    font-size:10px;
    padding-inline:9px
  }

  .favorite-quote blockquote {
    font-size:19px
  }

  .portrait-word {
    font-size:55px
  }

  .section-top h2 {
    font-size:25px
  }

  .lightbox-header {
    align-items:flex-start
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  *,*:before,*:after {
    transition:none!important;
    animation:none!important
  }

}

/* 新增图片：封面、图集标题、心动理由和结尾背景。原始图片保留不动。 */
.hero-photo-art {
  background: #c5e1fa;
  border-radius: 12px;
  border: 9px solid white;
  box-shadow: 0 15px 45px #18324e12;
  transform: rotate(2deg);
}
.hero-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}
.hero-photo-art::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #ffffff8f;
  border-radius: 3px;
  pointer-events: none;
}
.hero-photo-label {
  position: absolute;
  top: 25px;
  left: 25px;
  background: #fffffff0;
  color: var(--navy);
  padding: 11px 15px;
  font-family: Georgia, serif;
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: 3px;
}
.hero-photo-label span {
  display: block;
  font-family: sans-serif;
  font-size: 7px;
  letter-spacing: 1.5px;
  margin-top: 3px;
}
.hero-photo-art .tag-bottom {
  left: 22px;
  bottom: 35px;
  transform: rotate(-5deg);
}
.cover-corner {
  position: absolute;
  right: 28px;
  bottom: 25px;
  color: white;
  background: #18324ecc;
  padding: 9px 13px;
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 1px;
  text-align: right;
}
.reason {
  border-top: 0;
  padding-top: 0;
}
.reason-photo {
  height: 220px;
  border-radius: 7px;
  overflow: hidden;
  background: #e3ebf6;
  margin-bottom: 20px;
}
.reason-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}
.reason:nth-child(2) .reason-photo img {
  object-position: center 20%;
}
.reason:nth-child(3) .reason-photo img {
  object-position: center 38%;
}
.gallery-heading {
  position: relative;
  isolation: isolate;
  min-height: 245px;
  padding: 30px 36px;
  background: #e9f0fb;
  overflow: hidden;
  border-radius: 9px;
  align-items: center;
}
.gallery-heading > div {
  position: relative;
  z-index: 1;
  max-width: 75%;
}
.gallery-heading .section-aside {
  margin-top: 13px;
  color: #47617f;
}
.gallery-heading-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 370px;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: .8;
  mask-image: linear-gradient(to right, transparent, black 52%);
  z-index: 0;
}
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.featured-photo {
  grid-column: span 2;
}
.gallery-grid .image-open {
  height: 370px;
  aspect-ratio: auto;
}
.gallery-grid .image-open > img {
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}
.gallery-grid .summer-card .image-open > img {
  object-position: center;
}
.gallery-grid .portrait-card .image-open > img {
  height: 94%;
  width: auto;
  margin: 22px auto 0;
  object-fit: contain;
}
.gallery-grid .group-card .image-open > img,
.gallery-grid .festival-card .image-open > img {
  object-fit: contain;
  object-position: center;
}
.group-card .image-open { background: #fff; }
.festival-card .image-open { background: #f2e9df; }
.gallery-toolbar { align-items: flex-start; }
.gallery-hint { margin-top: 14px; white-space: nowrap; }
.gallery-grid .photo-meta { align-items: flex-start; }
.gallery-grid .save-photo { flex-shrink: 0; }
.closing {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  text-align: left;
  background: #e9f1fc;
  padding: 58px 48px;
  margin-block: 44px;
  border-radius: 9px;
}
/* 背景仅显示面部局部：图片高度为容器的五倍，可见区域约为原图高度的 20%。 */
.closing::before {
  content: "";
  position: absolute;
  inset: 0 0 0 40%;
  background-image: url("images/web/quiet-blue.webp");
  background-repeat: no-repeat;
  background-size: auto 500%;
  background-position: center 20%;
  opacity: .55;
  z-index: -2;
}
.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e9f1fc 35%, #e9f1fcaa 65%, #e9f1fc33);
  z-index: -1;
}
.lightbox button:disabled {
  opacity: .45;
  cursor: default;
}
@media (max-width: 1050px) {
  .hero-photo-label { left: 18px; top: 18px; }
  .hero-photo-art .tag-bottom { bottom: 30px; left: 13px; }
  .cover-corner { right: 20px; bottom: 20px; }
  .gallery-grid .image-open { height: 310px; }
  .reason-photo { height: 190px; }
  .gallery-hint { display: none; }
  .gallery-grid { gap: 28px 18px; }
  .photo-meta h3 { font-size: 13px; }
}
@media (max-width: 760px) {
  .hero-photo-art {
    height: 480px;
    margin-top: 35px;
    border-width: 7px;
    transform: rotate(1deg);
  }
  .hero-cover-image { object-position: center 24%; }
  .hero-photo-art .tag-bottom { left: 18px; bottom: 28px; }
  .cover-corner { right: 18px; bottom: 17px; font-size: 8px; }
  .reason-grid { gap: 30px; }
  .reason-photo { height: 250px; }
  .gallery-heading { padding: 24px; min-height: 235px; }
  .gallery-heading > div { max-width: 100%; }
  .gallery-heading h2 { font-size: 29px; }
  .gallery-heading .section-aside { max-width: 80%; }
  .gallery-heading-image { width: 60%; opacity: .36; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 16px; }
  .featured-photo { grid-column: span 2; }
  .gallery-grid .image-open { height: 300px; }
  .gallery-grid .featured-photo .image-open { height: auto; aspect-ratio: 1.4; }
  .gallery-grid .portrait-card .image-open > img { height: 94%; margin-top: 18px; }
  .gallery-grid .photo-meta { gap: 8px; }
  .gallery-grid .photo-meta h3 { font-size: 12px; }
  .gallery-grid .save-photo { min-width: 36px; height: 44px; border-radius: 18px; font-size: 21px; }
  .portrait-word { font-size: 40px; left: 12px; }
  .closing { padding: 40px 25px; }
  .closing h2 { font-size: 24px; max-width: 90%; }
  .closing::before { inset-inline-start: 25%; opacity: .35; }
  .closing::after { background: linear-gradient(90deg, #e9f1fc 10%, #e9f1fcb3 70%); }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .featured-photo { grid-column: auto; }
  .gallery-grid .image-open { height: 420px; }
  .gallery-grid .group-card .image-open { height: auto; aspect-ratio: 735 / 910; }
  .gallery-grid .festival-card .image-open { height: auto; aspect-ratio: 1600 / 1150; }
  .gallery-grid .photo-meta h3 { font-size: 14px; }
  .gallery-grid .save-photo { min-width: 44px; }
  .portrait-word { font-size: 65px; left: 25px; }
}
@media (max-width: 350px) {
  .hero-photo-art { height: 370px; }
  .hero-photo-label { left: 15px; top: 15px; font-size: 12px; padding: 8px 10px; }
  .hero-photo-label span { font-size: 6px; letter-spacing: 1px; }
  .hero-photo-art .tag-bottom { left: 12px; bottom: 18px; font-size: 9px; }
  .cover-corner { right: 12px; bottom: 14px; font-size: 7px; padding: 7px 9px; }
  .reason-photo { height: 210px; }
  .gallery-heading { padding: 20px; }
  .gallery-heading h2 { font-size: 25px; }
  .gallery-heading .section-aside { max-width: 95%; font-size: 10px; }
  .gallery-grid .image-open { height: 350px; }
  .closing { padding: 32px 20px; }
  .closing h2 { font-size: 22px; }
}
/* 人物介绍配图：标题下方的大图与右侧的表情小册。 */
.profile-section { gap: 64px; align-items: start; }
.profile-photo {
  margin-top: 25px;
  background: white;
  border: 7px solid white;
  border-radius: 9px;
  box-shadow: 0 8px 30px #18324e0a;
  overflow: hidden;
}
.profile-photo img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 4px;
}
.profile-photo figcaption {
  padding: 11px 9px 6px;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}
.profile-body { padding-top: 40px; }
.profile-moods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
}
.profile-moods figure {
  background: white;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}
.profile-moods img { width: 100%; height: 85px; object-fit: contain; display: block; }
.profile-moods figcaption { font-size: 10px; color: var(--muted); margin-top: 5px; }
/* 横向的动画画面，把人物档案和收藏理由连接起来。 */
.memory-banner {
  position: relative;
  isolation: isolate;
  min-height: 310px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 40px 50px;
  overflow: hidden;
  border-radius: 9px;
  margin-bottom: 74px;
  background: #e7effa;
}
.memory-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
.memory-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 20%, #e7effae0 64%, #e7effa 100%); z-index: -1; }
.memory-banner > div { width: 44%; }
.memory-banner h2 { font-size: 32px; margin: 13px 0 10px; }
.memory-banner > div > p:last-child { font-size: 11px; color: #47617f; }
.gallery-grid .archive-card .image-open { background: #edf2f8; }
.gallery-grid .archive-card .image-open > img { object-fit: contain; object-position: center; }
.storage-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.gallery-more { text-align: center; padding-top: 38px; }
.gallery-more button {
  min-height: 48px;
  border: 1px solid #bacbe2;
  border-radius: 5px;
  background: white;
  color: var(--navy);
  padding: 10px 32px;
  font-size: 12px;
}
.gallery-more button:hover { border-color: var(--blue); color: var(--blue); }
.gallery-more button span { margin-left: 25px; }
.gallery-more p { margin-top: 10px; font-size: 10px; color: var(--muted); }
@media (max-width: 1050px) {
  .profile-section { gap: 40px; }
  .profile-photo img { height: 280px; }
  .profile-moods { gap: 7px; }
  .profile-moods figure { padding: 7px; }
  .profile-moods img { height: 70px; }
  .memory-banner { padding-inline: 35px; }
  .memory-banner > div { width: 47%; }
  .memory-banner h2 { font-size: 29px; }
}
@media (max-width: 760px) {
  .profile-section { gap: 27px; }
  .profile-body { padding-top: 0; }
  .profile-photo { margin-top: 20px; }
  .profile-photo img { height: 300px; object-position: center 32%; }
  .profile-moods img { height: 85px; }
  .memory-banner { min-height: 330px; padding: 25px; margin-bottom: 50px; align-items: flex-end; }
  .memory-banner > div { width: 100%; }
  .memory-banner::after { background: linear-gradient(0deg, #e7effa 0%, #e7effae6 34%, #e7effa00 90%); }
  .memory-banner > img { object-position: 35% center; }
  .memory-banner h2 { font-size: 26px; margin-block: 7px; }
  .memory-banner h2 br { display: none; }
}
@media (max-width: 350px) {
  .profile-photo img { height: 250px; }
  .profile-moods { gap: 6px; }
  .profile-moods img { height: 65px; }
  .profile-moods figcaption { font-size: 9px; }
  .memory-banner { padding: 22px 20px; }
  .memory-banner h2 { font-size: 24px; }
}
/* 标题按完整短句分行，窄屏避免只剩“女。”一行。 */
#profile-title > span { display: block; }
/* 在导航、过渡色带、便签和页脚延续人物图案。 */
.header-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-block: 6px;
  min-height: 44px;
}
.header-note-character {
  display: block;
  width: 23px;
  height: 29px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.ribbon-character {
  width: 35px;
  height: 45px;
  object-fit: contain;
  mix-blend-mode: multiply;
  align-self: end;
  flex-shrink: 0;
}
#notebook-title > span { display: block; }
.notebook-section { gap: 64px; }
.notebook-photo {
  position: relative;
  width: min(390px, 100%);
  height: 218px;
  margin-top: 23px;
  overflow: hidden;
  border: 6px solid white;
  border-radius: 8px;
  background: white;
  box-shadow: 0 6px 22px #18324e09;
}
.notebook-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
}
.notebook-photo figcaption {
  position: absolute;
  left: 10px;
  bottom: 9px;
  right: 10px;
  width: fit-content;
  max-width: calc(100% - 20px);
  font-size: 9px;
  padding: 5px 9px;
  color: #365680;
  background: #fffffff0;
  border-radius: 3px;
}
.notebook-doodle { margin-top: 18px; }
.note-paper {
  isolation: isolate;
  min-height: 416px;
  --note-pattern-opacity: .16;
}
/* 只让图案透明，不降低输入文字的透明度。 */
.note-paper .note-watermark {
  position: absolute;
  right: 18px;
  bottom: 47px;
  width: 72%;
  height: 83%;
  display: block;
  object-fit: contain;
  object-position: right bottom;
  opacity: var(--note-pattern-opacity);
  mix-blend-mode: multiply;
  filter: saturate(.8);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.note-paper > :not(.note-watermark) {
  position: relative;
  z-index: 1;
}
.note-paper::before { z-index: 3; }
.note-paper textarea { min-height: 245px; }
.note-paper textarea::placeholder { color: #766c52; }
.footer-character {
  display: block;
  width: 54px;
  height: 66px;
  object-fit: contain;
  margin: 0 0 10px auto;
  mix-blend-mode: multiply;
}
@media (max-width: 1050px) {
  .notebook-section { gap: 38px; }
  .notebook-photo { height: 200px; }
  .note-paper { min-height: 400px; }
  .note-paper textarea { min-height: 230px; }
}
@media (max-width: 760px) {
  .header-note { padding-block: 4px; }
  .header-note-character { width: 20px; height: 27px; }
  .ribbon-character { width: 29px; height: 36px; }
  .notebook-section { gap: 34px; }
  .notebook-photo { width: 100%; max-width: 430px; height: 230px; }
  .note-paper { min-height: 390px; }
  .note-paper textarea { min-height: 230px; }
  .note-paper .note-watermark { width: 78%; height: 82%; right: 12px; bottom: 48px; }
  .footer-character { margin-left: 0; }
}
@media (max-width: 350px) {
  .header-note { gap: 5px; padding-inline: 8px; }
  .header-note-character { width: 18px; height: 25px; }
  .notebook-photo { height: 205px; }
  .note-paper { padding-inline: 18px; min-height: 375px; }
  .note-paper textarea { min-height: 215px; }
  .notebook-photo figcaption { font-size: 8px; padding-inline: 6px; }
}
