@import url('/fonts.css');
:root {
  --paper:#f8f7f3;
  --ink:#292f2e;
  --muted:#838780;
  --orange:#e76e4b;
  --line:#e6e6de;
  --sage:#748e70;
  --serif:Georgia,'Songti SC','STSong',serif
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:28px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;
  font-size:14px
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
button {
  cursor:pointer
}
a {
  color:inherit;
  text-decoration:none
}
button {
  color:inherit
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.drop-zone:focus-visible {
  outline:3px solid #eeab81;
  outline-offset:4px
}
button {
  border:0;
  background:none
}
button:disabled {
  cursor:wait;
  opacity:.6
}
[hidden] {
  display:none!important
}
.site-header {
  height:99px;
  max-width:1280px;
  margin:auto;
  padding:0 50px;
  display:flex;
  align-items:center;
  gap:60px;
  border-bottom:1px solid var(--line)
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:25px;
  font-weight:750;
  letter-spacing:2px
}
.brand-icon {
  display:block;
  width:44px;
  height:44px;
  flex-shrink:0
}
.brand-small {
  font-size:11px;
  font-weight:400;
  letter-spacing:2px;
  color:#92968e;
  display:block;
  margin-top:3px
}
.site-header nav {
  display:flex;
  gap:30px;
  align-self:stretch;
  align-items:center
}
.nav-link {
  height:100%;
  font-size:14px;
  color:#777e76;
  position:relative
}
.nav-link.active {
  color:#303c32;
  font-weight:600
}
.nav-link.active:after {
  content:'';
  position:absolute;
  bottom:24px;
  left:50%;
  width:18px;
  height:3px;
  background:var(--orange);
  transform:translateX(-50%);
  border-radius:2px
}
#saved-count {
  font-size:10px;
  background:#eaece4;
  border-radius:20px;
  padding:2px 5px;
  margin-left:4px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  border-radius:7px;
  padding:14px 23px;
  line-height:20px;
  font-weight:600;
  transition:transform .18s,background .18s
}
.button:hover {
  transform:translateY(-2px)
}
.primary {
  background:var(--orange);
  color:white;
  box-shadow:0 4px 8px #ba603610
}
.primary:hover {
  background:#d95f3e
}
.secondary {
  background:#e9ecdf
}
.header-upload {
  margin-left:auto;
  padding:11px 20px;
  gap:10px;
  font-size:13px
}
.header-upload span {
  font-size:20px;
  font-weight:400
}
main {
  max-width:1180px;
  margin:auto
}
.hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  min-height:470px;
  gap:28px
}
.hero-copy {
  padding:30px 0
}
.eyebrow {
  font-size:11px;
  letter-spacing:1.6px;
  color:#868b7c
}
.tiny-star {
  color:var(--orange);
  font-size:18px;
  margin-right:8px
}
.hero h1 {
  font-size:49px;
  line-height:1.48;
  letter-spacing:3px;
  margin:21px 0 19px;
  font-family:var(--serif);
  font-weight:650
}
.title-highlight {
  position:relative;
  color:var(--orange);
  white-space:nowrap
}
.title-highlight svg {
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:12px;
  fill:none;
  stroke:#e6a281;
  stroke-width:3
}
.hero p {
  font-size:13px;
  line-height:2.1;
  color:#83877e
}
.hero-actions {
  display:flex;
  gap:29px;
  align-items:center;
  margin-top:27px
}
.text-link {
  font-size:13px;
  color:#69715f
}
.text-link span {
  margin-left:15px
}
.hero-footnote {
  display:flex;
  align-items:center;
  gap:13px;
  font-size:10px;
  color:#8a8c83;
  margin-top:29px;
  letter-spacing:.3px
}
.avatar-stack {
  display:flex;
  padding-left:5px
}
.avatar-stack i {
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border:2px solid var(--paper);
  border-radius:50%;
  font-size:9px;
  font-style:normal;
  background:#d4dcc9;
  margin-left:-5px;
  color:#5c6b4e
}
.avatar-stack i:nth-child(2) {
  background:#edd9bd;
  color:#99765d
}
.avatar-stack i:nth-child(3) {
  background:#d8dfe3;
  color:#677a80
}
.orange {
  color:var(--orange)
}
.hero-art {
  position:relative;
  padding-top:12px
}
.hero-art img {
  width:100%;
  display:block
}
.art-note {
  position:absolute;
  bottom:9px;
  left:30%;
  font-size:11px;
  font-family:var(--serif);
  letter-spacing:3px;
  color:#959487;
  transform:rotate(-4deg)
}
.category-strip {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin:10px 0 58px
}
.category-tile {
  border:1px solid var(--line);
  border-radius:10px;
  background:#fafaf6;
  display:flex;
  text-align:left;
  align-items:center;
  padding:22px 17px;
  gap:14px;
  transition:background .2s,transform .2s
}
.category-tile:hover {
  background:#f0f1e8;
  transform:translateY(-3px)
}
.category-icon {
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  border-radius:12px;
  font-family:Georgia,serif;
  font-size:32px;
  flex-shrink:0
}
.drama {
  background:#f3e1d9;
  color:#b16a52
}
.poetry {
  background:#e6ecdf;
  color:#7d9168
}
.fairytale {
  background:#ede4cd;
  color:#b59b54
}
.sequel {
  background:#e1e9ec;
  color:#76929b
}
.category-tile strong {
  font-size:16px;
  font-weight:600
}
.category-tile small {
  display:block;
  font-size:10px;
  color:#8f9288;
  margin-top:7px;
  white-space:nowrap
}
.tile-arrow {
  margin-left:auto;
  color:#a4a899;
  font-size:18px
}
.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between
}
.muted {
  font-size:9px;
  letter-spacing:2.4px
}
.section-heading h2 {
  font-size:26px;
  font-family:var(--serif);
  letter-spacing:1px;
  margin:12px 0 0;
  font-weight:600
}
.heading-dot {
  color:var(--orange);
  font-size:34px;
  margin-left:3px
}
.section-heading>p {
  font-size:11px;
  color:#93968b;
  margin:0 0 5px
}
.gallery-toolbar {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin:27px 0 24px
}
.tabs {
  display:flex;
  gap:7px
}
.tab {
  padding:9px 18px;
  color:#7a8077;
  border-radius:6px;
  font-size:12px;
  white-space:nowrap
}
.tab.active {
  background:#333f35;
  color:#fff
}
.tab:not(.active):hover {
  background:#e9ece3
}
.search-controls {
  display:flex;
  gap:14px;
  align-items:center
}
.search-box {
  border:1px solid #e2e4da;
  border-radius:6px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:7px 10px;
  background:#fcfcf9
}
.search-box>span {
  font-size:22px;
  line-height:20px;
  color:#92988b
}
.search-box input {
  background:none;
  border:0;
  font-size:11px;
  width:145px;
  color:var(--ink);
  outline:none
}
.search-controls select {
  border:0;
  background:transparent;
  color:#757d70;
  font-size:11px;
  padding:7px 2px;
  cursor:pointer
}
.gallery-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px 22px
}
.work-card {
  border-radius:9px;
  overflow:hidden;
  background:#fff;
  border:1px solid #e8e9e1;
  transition:transform .2s,box-shadow .2s
}
.work-card:hover {
  transform:translateY(-5px);
  box-shadow:0 10px 24px #4b554212
}
.card-open {
  display:block;
  width:100%;
  padding:0;
  text-align:left
}
.cover {
  height:183px;
  position:relative;
  background:#e9eadd;
  overflow:hidden
}
.cover img,.cover video {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s
}
.card-open:hover .cover img {
  transform:scale(1.045)
}
.media-badge {
  position:absolute;
  right:10px;
  bottom:10px;
  font-size:10px;
  background:#ffffffde;
  border-radius:4px;
  padding:4px 7px;
  color:#52594c;
  backdrop-filter:blur(4px)
}
.demo-badge {
  position:absolute;
  left:10px;
  top:10px;
  font-size:9px;
  padding:4px 7px;
  background:#fff9;
  border-radius:3px;
  color:#485342
}
.play-icon {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  background:#ffffffd9;
  border-radius:50%;
  color:#455447;
  font-size:15px;
  padding-left:3px
}
.card-body {
  padding:17px 16px 12px
}
.category-tag {
  display:inline-block;
  font-size:9px;
  padding:3px 7px;
  border-radius:3px;
  background:#f1e9e2;
  color:#ad806a
}
.category-tag[data-category="诗歌"] {
  background:#e9efdf;
  color:#7d8d5b
}
.category-tag[data-category="童话"] {
  background:#f4eedb;
  color:#aa914c
}
.category-tag[data-category="续写"] {
  background:#e6eff0;
  color:#6d8d91
}
.card-body h3 {
  font-size:14px;
  letter-spacing:.4px;
  margin:9px 0 7px;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.card-description {
  font-size:10px;
  color:#979b92;
  margin:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:1.7
}
.card-bottom {
  margin:0 16px;
  padding:12px 0 13px;
  border-top:1px solid #f1f1eb;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px
}
.author-info {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:9px;
  color:#868d80;
  min-width:0
}
.author-info>span:last-child {
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis
}
.author-avatar {
  width:22px;
  height:22px;
  background:#eaf0e4;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:9px;
  flex-shrink:0;
  color:#76806a
}
.save-button {
  font-size:17px;
  color:#9ba190;
  padding:2px 3px
}
.save-button.saved {
  color:var(--orange)
}
.gallery-end {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  font-size:10px;
  color:#a2a797;
  letter-spacing:1px;
  margin:36px 0 46px
}
.gallery-end>span:first-child,.gallery-end>span:last-child {
  width:55px;
  height:1px;
  background:#e1e4d7
}
.gallery-end>span:nth-child(2) {
  color:#b3bc9f;
  font-size:18px
}
.invitation {
  display:flex;
  align-items:center;
  gap:23px;
  background:#eef0e6;
  border:1px solid #e3e7d9;
  border-radius:11px;
  padding:32px 35px
}
.invitation-icon {
  font-size:51px;
  color:#7c8a65;
  transform:rotate(-16deg);
  width:55px;
  text-align:center
}
.invitation h2 {
  font-family:var(--serif);
  font-weight:500;
  font-size:23px;
  letter-spacing:1px;
  margin:0 0 10px
}
.invitation p {
  font-size:11px;
  color:#89927e;
  margin:0
}
.invitation .button {
  margin-left:auto;
  font-size:12px
}
.invitation .button span {
  margin-left:8px
}
footer {
  max-width:1180px;
  margin:44px auto 0;
  padding:25px 0 32px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:30px;
  color:#9a9e90
}
.footer-brand {
  font-size:19px;
  color:#707866
}
.footer-brand .brand-icon {
  width:30px;
  height:30px
}
footer p {
  font-size:10px
}
footer p span {
  display:block;
  font-size:8px;
  letter-spacing:1.2px;
  margin-top:6px
}
footer>span {
  margin-left:auto;
  font-size:10px
}
.empty-state {
  text-align:center;
  border:1px dashed #d9decc;
  padding:45px 20px;
  border-radius:10px
}
.empty-state>span {
  font-size:40px;
  color:#9fad86
}
.empty-state h3 {
  font-family:var(--serif);
  font-size:22px
}
.empty-state p {
  color:#949b89
}
.empty-state .button {
  font-size:12px;
  margin-top:10px
}
.filter-status {
  font-size:12px;
  color:#79836d;
  margin:-7px 0 20px
}
.notice {
  padding:16px;
  background:#fce9dd;
  border-radius:7px;
  margin-bottom:20px
}
.notice button {
  color:#b45b3f;
  text-decoration:underline
}
.toast {
  position:fixed;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  z-index:20;
  background:#354234;
  color:white;
  padding:14px 23px;
  border-radius:8px;
  box-shadow:0 6px 25px #0002;
  font-size:13px;
  max-width:90vw;
  width:max-content
}
dialog {
  border:1px solid #e5e8dd;
  background:#fcfcf9;
  border-radius:15px;
  padding:30px;
  width:640px;
  max-width:calc(100vw - 28px);
  max-height:90vh;
  color:var(--ink);
  box-shadow:0 20px 100px #20251f33
}
dialog::backdrop {
  background:#26302588;
  backdrop-filter:blur(5px)
}
body.modal-open {
  overflow:hidden
}
.dialog-header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between
}
.dialog-header h2 {
  font-family:var(--serif);
  font-size:27px;
  font-weight:600;
  margin:12px 0 8px
}
.dialog-header .eyebrow {
  font-size:9px
}
.icon-button {
  width:32px;
  height:32px;
  border-radius:50%;
  font-size:25px;
  display:grid;
  place-items:center;
  background:#ecefe6;
  color:#707963;
  line-height:1
}
.upload-intro {
  font-size:12px;
  color:#919784;
  margin-bottom:25px
}
.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}
form label,.field-label {
  display:block;
  font-size:12px;
  font-weight:500;
  margin-bottom:17px
}
form label>span,.field-label>span {
  color:var(--orange)
}
form label small {
  font-size:10px;
  font-weight:400;
  color:#9ba18e;
  margin-left:5px
}
form input:not([type=file]),form select,form textarea {
  display:block;
  width:100%;
  margin-top:9px;
  padding:11px 12px;
  border:1px solid #dde2d4;
  background:#fff;
  border-radius:6px;
  font-size:12px;
  color:#3b4434
}
form textarea {
  resize:vertical;
  min-height:75px
}
form input::placeholder,form textarea::placeholder {
  color:#a9ae9f
}
.field-label {
  margin-bottom:8px
}
.drop-zone {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  border:1.5px dashed #cdd7c1;
  border-radius:8px;
  background:#f3f6ed;
  padding:15px 10px;
  cursor:pointer;
  text-align:center;
  gap:7px
}
.drop-zone.dragging {
  background:#e8eddb;
  border-color:#879c6a
}
.drop-zone input {
  position:absolute;
  width:1px;
  height:1px;
  opacity:0
}
.drop-zone .upload-symbol {
  font-size:27px;
  color:#7f926b
}
.drop-zone strong {
  font-size:12px;
  font-weight:500
}
.drop-zone>span:not(.upload-symbol) {
  font-size:10px;
  font-weight:400;
  color:#929b86
}
.drop-zone small {
  font-size:9px;
  margin:0
}
.privacy-note {
  font-size:10px;
  color:#989f8b;
  line-height:1.8
}
.dialog-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #e6e9df;
  padding-top:19px;
  margin-top:19px
}
.dialog-footer>span {
  font-size:10px;
  color:#9aa18e
}
.dialog-footer .button {
  font-size:12px;
  padding:11px 19px
}
.file-list {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin:0 0 15px
}
.file-item {
  display:flex;
  gap:10px;
  align-items:center;
  font-size:11px;
  background:#edf0e7;
  padding:7px;
  border-radius:5px
}
.file-item img,.file-item video {
  width:38px;
  height:38px;
  object-fit:cover;
  border-radius:4px
}
.file-item .file-name {
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.file-item small {
  color:#929a86
}
.file-item button {
  font-size:20px;
  color:#818b73
}
.form-error {
  background:#ffeadf;
  color:#ad5035;
  padding:12px;
  border-radius:6px;
  font-size:12px
}
.upload-progress {
  display:flex;
  gap:12px;
  align-items:center;
  font-size:12px;
  color:#7e8d6d
}
.upload-progress progress {
  accent-color:var(--orange);
  flex:1
}
.detail-dialog {
  width:860px;
  padding:0;
  overflow:auto
}
.detail-close {
  position:absolute;
  right:16px;
  top:16px;
  z-index:2;
  background:#ffffffe8
}
.detail-media {
  background:#e9ede2;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:250px;
  max-height:58vh
}
.detail-media img,.detail-media video {
  max-width:100%;
  width:100%;
  max-height:58vh;
  object-fit:contain;
  display:block
}
.detail-info {
  padding:24px 30px 30px
}
.detail-info h2 {
  font-family:var(--serif);
  font-size:27px;
  line-height:1.5;
  margin:10px 0;
  overflow-wrap:anywhere
}
.detail-info p {
  font-size:13px;
  color:#818a75;
  line-height:1.9;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.detail-meta {
  font-size:11px;
  color:#969e8b
}
.detail-actions {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:18px
}
.detail-actions .save-button {
  font-size:12px;
  padding:10px;
  background:#edf0e5;
  border-radius:5px
}
.media-nav {
  display:flex;
  align-items:center;
  gap:15px;
  font-size:12px;
  color:#88947a
}
.media-nav button {
  padding:7px 15px;
  border-radius:5px;
  background:#f2f4ed
}
.demo-notice {
  font-size:10px!important;
  border-top:1px solid #e7eade;
  padding-top:14px
}
@media(min-width:1500px) {
  .hero {
    min-height:490px
  }
}
@media(max-width:1250px) {
  main,footer {
    margin-left:40px;
    margin-right:40px
  }
  .site-header {
    padding:0 40px
  }
  .hero h1 {
    font-size:43px
  }
  .category-tile {
    gap:10px;
    padding:19px 13px
  }
  .cover {
    height:165px
  }
  .gallery-toolbar {
    gap:5px
  }
  .tab {
    padding:9px 14px
  }
}
@media(max-width:1000px) {
  .hero h1 {
    font-size:37px
  }
  .hero {
    min-height:420px;
    gap:5px
  }
  .hero-art {
    margin-right:-15px
  }
  .category-strip {
    gap:10px
  }
  .category-tile small {
    font-size:9px
  }
  .category-icon {
    width:33px;
    height:36px;
    font-size:25px
  }
  .tile-arrow {
    display:none
  }
  .gallery-grid {
    grid-template-columns:repeat(3,1fr);
    gap:20px
  }
  .cover {
    height:180px
  }
  .search-box input {
    width:120px
  }
  .site-header {
    gap:40px
  }
  .section-heading h2 {
    font-size:23px
  }
  .invitation {
    padding:27px 22px
  }
  .invitation h2 {
    font-size:20px
  }
  .invitation .button {
    white-space:nowrap;
    padding:12px 15px;
    gap:3px
  }
}
@media(max-width:760px) {
  main,footer {
    margin-left:22px;
    margin-right:22px
  }
  .site-header {
    height:80px;
    padding:0 22px;
    gap:22px
  }
  .brand {
    font-size:21px;
    gap:7px
  }
  .brand-icon {
    width:37px;
    height:37px
  }
  .brand-small {
    font-size:8px
  }
  .site-header nav {
    gap:17px
  }
  .nav-link {
    font-size:12px
  }
  .nav-link.active:after {
    bottom:16px
  }
  .header-upload {
    font-size:11px;
    padding:9px 12px;
    gap:4px
  }
  .hero {
    grid-template-columns:1fr 1fr;
    min-height:370px
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:.6px
  }
  .hero h1 {
    font-size:31px;
    letter-spacing:1px
  }
  .hero p {
    font-size:11px
  }
  .hero-art {
    margin-left:-12px
  }
  .hero-actions {
    gap:16px
  }
  .hero-actions .button {
    font-size:11px;
    padding:11px 15px;
    gap:7px
  }
  .text-link {
    font-size:11px
  }
  .text-link span {
    margin-left:3px
  }
  .hero-footnote {
    font-size:8px;
    gap:6px
  }
  .art-note {
    display:none
  }
  .category-strip {
    grid-template-columns:repeat(2,1fr);
    margin:8px 0 40px;
    gap:12px
  }
  .category-tile {
    padding:16px
  }
  .category-tile small {
    font-size:10px
  }
  .category-icon {
    width:39px;
    height:39px
  }
  .tile-arrow {
    display:block
  }
  .gallery-toolbar {
    flex-wrap:wrap;
    margin-top:23px;
    gap:17px
  }
  .search-controls {
    width:100%;
    justify-content:space-between
  }
  .search-box {
    flex:1
  }
  .search-box input {
    width:100%
  }
  .search-controls select {
    font-size:12px
  }
  .gallery-grid {
    grid-template-columns:repeat(2,1fr);
    gap:20px 15px
  }
  .cover {
    height:180px
  }
  .section-heading h2 {
    font-size:21px;
    letter-spacing:0
  }
  .section-heading>p {
    font-size:9px
  }
  .invitation {
    flex-wrap:wrap;
    gap:15px;
    padding:25px 20px
  }
  .invitation-icon {
    font-size:38px;
    width:32px
  }
  .invitation h2 {
    font-size:18px
  }
  .invitation p {
    font-size:10px
  }
  .invitation .button {
    margin-left:47px;
    font-size:11px
  }
  .gallery-end {
    margin:30px 0
  }
  .footer-brand {
    font-size:17px
  }
  footer {
    gap:20px;
    margin-top:30px
  }
  footer>span {
    display:none
  }
  footer p span {
    font-size:7px
  }
}
@media(max-width:480px) {
  .site-header {
    gap:12px;
    padding:0 18px
  }
  .site-header nav {
    margin-left:auto;
    gap:12px
  }
  .header-upload {
    display:none
  }
  .hero {
    display:flex;
    flex-direction:column;
    gap:0
  }
  .hero-copy {
    padding:34px 0 0;
    width:100%
  }
  .hero h1 {
    font-size:40px;
    margin:18px 0
  }
  .hero p {
    font-size:12px
  }
  .hero-art {
    width:94%;
    margin:0;
    max-width:370px;
    padding:0
  }
  .hero-actions {
    margin-top:20px
  }
  .hero-actions .button {
    padding:13px 18px;
    font-size:12px
  }
  .hero-footnote {
    margin-top:20px;
    font-size:9px
  }
  .category-strip {
    margin-top:8px;
    gap:10px
  }
  .category-tile {
    padding:13px 10px;
    gap:9px
  }
  .category-tile strong {
    font-size:14px
  }
  .category-tile small {
    font-size:8px
  }
  .category-icon {
    width:31px;
    height:34px
  }
  .tile-arrow {
    font-size:14px
  }
  .section-heading {
    align-items:flex-start;
    gap:10px;
    flex-direction:column
  }
  .section-heading h2 {
    font-size:22px
  }
  .section-heading>p {
    margin:0
  }
  .tabs {
    width:100%;
    gap:3px;
    justify-content:space-between
  }
  .tab {
    padding:9px 12px;
    font-size:11px
  }
  .cover {
    height:140px
  }
  .gallery-grid {
    gap:16px 12px
  }
  .card-body {
    padding:12px 11px 10px
  }
  .card-body h3 {
    font-size:12px
  }
  .card-description {
    font-size:9px
  }
  .card-bottom {
    margin:0 11px;
    padding:10px 0
  }
  .author-info {
    font-size:8px;
    gap:4px
  }
  .author-avatar {
    width:19px;
    height:19px
  }
  .invitation h2 {
    font-size:16px;
    letter-spacing:0
  }
  .invitation p {
    font-size:9px
  }
  .invitation-icon {
    display:none
  }
  .invitation .button {
    margin-left:0
  }
  .gallery-end {
    font-size:9px;
    gap:8px
  }
  dialog {
    padding:22px 18px;
    max-height:92vh
  }
  .dialog-header h2 {
    font-size:23px
  }
  .form-row {
    gap:12px
  }
  .drop-zone>span:not(.upload-symbol) {
    font-size:9px
  }
  .dialog-footer>span {
    font-size:9px
  }
  .detail-info {
    padding:20px
  }
  .detail-dialog {
    padding:0
  }
  .detail-info h2 {
    font-size:24px
  }
  .form-row label {
    font-size:11px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    transition:none!important
  }
}
/* 语言切换始终可见，英文长度变化不改变分类的稳定标识和交互区域。 */
.language-select {
  margin-left:auto;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:6px;
  background:transparent;
  color:var(--ink);
  font-size:12px;
}
.site-header { gap:32px; }
.header-upload { margin-left:0; }
form label > span[data-i18n], .field-label > span[data-i18n] { color:inherit; }
.text-link > span[data-i18n] { margin-left:0; }
.gallery-end > span:nth-child(2) { font-size:inherit; color:inherit; }
.gallery-end > span:nth-child(3) { font-size:18px; color:#b3bc9f; }
footer p > span[data-i18n="记录创作，收藏成长。"] { font-size:10px; letter-spacing:normal; margin-top:0; }
html[lang^="en"] .brand { letter-spacing:.3px; }
html[lang^="en"] .hero h1 { font-size:47px; line-height:1.3; letter-spacing:-1.5px; }
html[lang^="en"] .art-note { left:20%; font-size:10px; letter-spacing:.5px; }
html[lang^="en"] .category-tile { gap:10px; }
html[lang^="en"] .category-tile strong { font-size:14px; }
html[lang^="en"] .category-tile small { white-space:normal; line-height:1.5; }
html[lang^="en"] .category-tile .tile-arrow { display:none; }
html[lang^="en"] .gallery-toolbar { flex-wrap:wrap; }
html[lang^="en"] .search-box input { width:175px; }
@media(max-width:1000px) {
  html[lang^="en"] .hero h1 { font-size:36px; }
  html[lang^="en"] .hero-actions { gap:14px; }
  .site-header { gap:22px; }
}
@media(max-width:760px) {
  html[lang^="en"] .hero h1 { font-size:30px; }
  html[lang^="en"] .title-highlight { white-space:normal; }
  html[lang^="en"] .hero-actions { flex-wrap:wrap; }
  .site-header { gap:14px; }
  .language-select { padding:7px 4px; font-size:11px; }
  html[lang^="en"] .header-upload { display:none; }
}
@media(max-width:480px) {
  .site-header { gap:10px; }
  .site-header nav { gap:10px; }
  html[lang^="en"] .brand { font-size:18px; }
  html[lang^="en"] .brand-icon { width:32px; height:32px; }
  html[lang^="en"] .brand-small { letter-spacing:.5px; }
  html[lang^="en"] .hero h1 { font-size:38px; }
  html[lang^="en"] .eyebrow { letter-spacing:.3px; font-size:8px; }
  html[lang^="en"] .tabs { flex-wrap:wrap; justify-content:flex-start; }
  html[lang^="en"] .tab { padding:9px 10px; }
  html[lang^="en"] .search-box input { width:100%; }
  html[lang^="en"] .category-tile strong { font-size:12px; }
  html[lang^="en"] .category-tile small { font-size:9px; }
  html[lang^="en"] .dialog-footer > span { max-width:45%; line-height:1.5; }
}
.header-upload > span[data-i18n] { font-size:inherit; font-weight:inherit; }
/* 英文品牌较长，窄屏将导航放到第二行，避免压缩品牌和语言选择器。 */
html[lang^="en"] .site-header .brand { white-space:nowrap; }
html[lang^="en"] .brand-small { letter-spacing:.6px; }
@media(max-width:480px) {
  html[lang^="en"] .site-header {
    display:grid;
    grid-template-columns:1fr auto;
    height:auto;
    min-height:108px;
    padding:14px 18px 10px;
    gap:8px 14px;
  }
  html[lang^="en"] .site-header .brand { font-size:20px; }
  html[lang^="en"] .site-header .brand-small { font-size:9px; letter-spacing:.25px; }
  html[lang^="en"] .site-header .language-select { grid-column:2; grid-row:1; }
  html[lang^="en"] .site-header nav { grid-column:1 / -1; grid-row:2; margin-left:0; gap:24px; }
  html[lang^="en"] .site-header .nav-link { height:auto; padding:8px 0; white-space:nowrap; }
  html[lang^="en"] .site-header .nav-link.active:after { bottom:0; }
}

/* 口令只需要一个输入框，保持入口轻量；窄屏沿用通用弹窗的自适应边距。 */
#access-dialog{max-width:480px}#access-dialog .dialog-footer{justify-content:flex-end}#access-dialog h2{font-size:1.8rem}
