:root {
  color-scheme: light;
  --night: #18382f;
  --night-deep: #122a22;
  --chalk: #fff8e7;
  --gold: #e3ba75;
  --ochre: #885923;
  --hero-paper: #f5e9d7;
  --paper: #f8e9d8;
  --stock: #faf4e7;
  --ink: #18382f;
  --muted: #4e5e53;
  --line: #adab91;
  --display: "Noto Serif CJK SC", "Songti SC", "Source Han Serif SC", "SimSun", serif;
  --body: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 4px; }
.detail-visual :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: .75rem; left: .75rem; background: var(--chalk); color: var(--night); padding: .75rem 1rem; }
.frame { width: min(calc(100% - 96px), 1280px); margin-inline: auto; }


.opening {
  overflow: hidden;
  background: var(--hero-paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header {
  position: relative;
  min-height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 72px;
  height: 2px;
  background: var(--ochre);
  z-index: 1;
}
.brand, .site-nav { display: flex; align-items: center; gap: 14px; }
.brand { font-size: clamp(1rem, 1.65vw, 1.42rem); font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-marks { width: auto; height: 42px; flex: none; }
.site-nav { gap: clamp(15px, 3vw, 44px); }
.site-nav a { padding: .6rem 0; color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--ochre); }

.hero {
  min-height: clamp(480px, 43vw, 620px);
  padding-block: clamp(47px, 5vw, 74px);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
}
.hero-copy { width: min(54%, 650px); min-width: 0; }
.hero h1 { margin-left: -.35%; }
.hero h1 img { width: 100%; height: auto; aspect-ratio: 1921 / 819; object-fit: contain; }
.hero-subtitle {
  margin-top: clamp(12px, 2vw, 22px);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  font-weight: 700;
  letter-spacing: .075em;
}
.hero-subtitle::before {
  content: "";
  display: block;
  width: 43px;
  height: 2px;
  margin-bottom: 11px;
  background: var(--ochre);
}
.hero-action {
  min-height: 44px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  margin-top: 15px;
  padding: 0 1.35rem;
  border-radius: 3px;
  background: var(--night);
  color: var(--chalk);
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  transition: background .2s;
}
.hero-action:hover { background: #2d5845; }
.hero-illustration {
  position: absolute;
  z-index: -1;
  inset: 0 min(-18px, calc((100% - 100vw) / 2)) 0 36%;
  mask-image: linear-gradient(90deg, transparent, #000 24%);
  pointer-events: none;
}
.hero-illustration img { width: 100%; height: 100%; object-fit: cover; object-position: right 83%; }
.hero-art { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; max-width: 610px; margin: 28px 0 3px; }
.hero-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 5px 5px 4px;
  background: var(--stock);
  border: 1px solid var(--line);
  box-shadow: 0 3px 6px #523b2221;
  transform: rotate(-3deg);
  transition: transform .22s, border-color .22s;
  text-align: left;
}
.hero-tile:nth-child(even) { transform: rotate(3deg); }
.hero-tile:hover, .hero-tile:focus-visible { transform: translateY(-3px); border-color: var(--ochre); }
.hero-tile img { width: 100%; aspect-ratio: 1.69; object-fit: cover; }
.hero-caption { display: block; overflow-wrap: anywhere; margin-top: 4px; color: var(--ink); font-size: .75rem; line-height: 1.35; }

.gallery {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(53px, 6vw, 92px) 78px;
  scroll-margin-top: 0;
  background-color: var(--paper);
  background-image: radial-gradient(ellipse at 50% 0%, #fbf1e39e, transparent 62%), url("theme/paper.webp");
}
.gallery::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(42vw, 440px);
  height: 176px;
  background: url("theme/gallery-ornament.webp") right top / contain no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 31%), linear-gradient(#000 48%, transparent 100%);
  mask-composite: intersect;
  opacity: .78;
  pointer-events: none;
}
.gallery:focus { outline: none; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; }
.gallery-heading h2 { font-family: var(--display); font-weight: 700; letter-spacing: .025em; font-size: clamp(2.05rem, 4vw, 3.35rem); line-height: 1.15; }
.gallery-heading h2::after { content: ""; display: block; width: 55px; height: 2px; margin-top: .85rem; background: var(--ochre); }
.gallery-heading p { margin-top: .75rem; color: var(--muted); line-height: 1.6; font-size: .92rem; }
.gallery-views { margin-top: .35rem; color: var(--ochre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.search-field { display: flex; align-items: center; gap: 13px; min-height: 46px; width: min(300px, 100%); padding-inline: 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--stock); }
.search-field:focus-within { border-color: var(--ochre); outline: 1px solid var(--ochre); }
.search-field input { width: 100%; min-width: 0; min-height: 44px; border: 0; background: transparent; outline: none; padding: 0; font-size: 1rem; }
.search-field input::placeholder { color: var(--muted); }
.search-icon { width: 13px; height: 13px; margin-right: 3px; border: 1.5px solid var(--muted); border-radius: 50%; position: relative; flex: none; }
.search-icon::after { content: ""; width: 6px; height: 1.5px; position: absolute; right: -5px; bottom: -2px; transform: rotate(45deg); background: var(--muted); }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 27px 0 25px; border-bottom: 1px solid var(--line); }
.filters { display: flex; gap: clamp(.7rem, 2.5vw, 2.4rem); }
.filters button { display: flex; align-items: baseline; gap: .5ch; position: relative; border: 0; background: transparent; padding: 13px 3px 15px; white-space: nowrap; color: var(--muted); font-size: .95rem; }
.filters button:first-child { padding-left: 0; }
.filters button:hover, .filters button[aria-pressed="true"] { color: var(--ink); }
.filters button[aria-pressed="true"] { font-weight: 700; }
.filters button[aria-pressed="true"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--ochre); }
.filters span, #results-count { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .8rem; }
#results-count { white-space: nowrap; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.work-card { min-width: 0; display: flex; flex-direction: column; }
.work-button { width: 100%; flex: 1; display: flex; flex-direction: column; padding: 8px 8px 0; border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: var(--stock); text-align: left; transition: border-color .2s; }
.work-button:hover { border-color: var(--ochre); }
.work-cover { display: block; width: 100%; aspect-ratio: 1.4; position: relative; overflow: hidden; background: #e7decc; }
.work-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.work-card[data-kind="design"] .work-cover { background: #ede5d4; }
.work-card[data-kind="design"] .work-cover img { object-fit: contain; }
.work-button:hover .work-cover img { transform: scale(1.025); }
.work-size { position: absolute; right: 10px; bottom: 10px; display: inline-block; background: #18382fed; color: var(--chalk); padding: 4px 8px; border-radius: 2px; font-size: .78rem; }
.work-copy { display: block; width: 100%; padding: 14px 10px 17px; }
.work-category { display: block; color: var(--ochre); font-size: .79rem; margin-bottom: 6px; }
.work-title { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.45; overflow-wrap: anywhere; }
.work-author { display: block; margin-top: .45rem; color: var(--muted); font-size: .875rem; }
.empty-state { text-align: center; border: 1px solid var(--line); padding: 4rem 1rem; color: var(--muted); }
.empty-state button { border: 1px solid var(--line); background: var(--stock); padding: .65rem 1rem; margin-top: 1rem; }
.site-footer { background: var(--night) url("theme/footer-texture.webp") right center / cover no-repeat; color: var(--chalk); border-top: 2px solid #a96a2a; }
.footer-inner { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .86rem; }
.footer-inner a { text-underline-offset: .25em; }

.work-detail { width: min(1190px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 7px; background: var(--paper); color: var(--ink); }
.work-detail::backdrop { background: #0d2019d9; }
.detail-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr); }
.detail-visual { min-width: 0; background: var(--night-deep); padding: 12px; display: flex; flex-direction: column; justify-content: center; }
.detail-stage { height: min(65dvh, 715px); min-height: 260px; position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; background: #0f1f19; }
.detail-stage img { width: 100%; height: 100%; object-fit: contain; }
.detail-strip { position: relative; display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; padding: 11px 5px 3px; }
.detail-strip button { flex: none; width: 62px; height: 48px; padding: 2px; border: 1px solid #6b7868; background: transparent; }
.detail-strip button[aria-current="true"] { border-color: var(--gold); }
.detail-strip img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { min-width: 0; max-height: min(calc(100dvh - 48px), calc(min(65dvh, 715px) + 85px)); overflow: auto; padding: clamp(20px, 3vw, 40px); padding-top: 52px; overflow-wrap: anywhere; }
.detail-category { color: var(--ochre); font-size: .85rem; }
.detail-copy h2 { margin-top: .55rem; font-family: var(--display); font-size: clamp(1.5rem, 2.7vw, 2.4rem); line-height: 1.25; }
.detail-author { margin-top: .7rem; color: var(--muted); }
.detail-counter { font-variant-numeric: tabular-nums; margin-top: 1rem; color: var(--muted); font-size: .88rem; }
.detail-description { border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 1.3rem; }
.detail-description h3 { font-size: 1rem; }
.detail-description p { font-size: .95rem; line-height: 1.85; white-space: pre-line; margin-top: .6rem; }
.full-image { display: inline-block; margin-top: 1.3rem; color: var(--ink); font-size: .9rem; text-underline-offset: .26em; }
.detail-close-form { position: absolute; top: 10px; right: 10px; }
.detail-close, .detail-arrow { width: 44px; height: 44px; position: relative; border-radius: 50%; }
.detail-close { border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.detail-close:hover { background: #e9dac3; }
.detail-close::before, .detail-close::after { content: ""; width: 14px; height: 1.5px; position: absolute; top: 50%; left: 50%; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.detail-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.detail-arrow { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); border: 1px solid #ffffff63; background: #18382fe6; color: var(--chalk); }
.detail-arrow::before { content: ""; display: block; position: absolute; inset: 15px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.detail-arrow:hover { background: #2d5845; }
.detail-prev { left: 9px; }
.detail-prev::before { transform: rotate(-135deg); }
.detail-next { right: 9px; }

@media (max-width: 1000px) {
  .frame { width: calc(100% - 64px); }
  .works-grid { column-gap: 16px; }
  .hero-art { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 460px; }
}
@media (max-width: 760px) {
  .hero-art { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 315px; }
  .site-header { min-height: 69px; }
  .brand-marks { height: 32px; }
  .hero { min-height: 0; gap: 0; padding-block: 26px 0; }
  .hero-copy { width: min(100%, 620px); }
  .hero h1 { max-width: 510px; }
  .hero-illustration {
    position: relative;
    inset: auto;
    z-index: -1;
    margin: -26px -32px 0;
    aspect-ratio: 1.54;
    mask-image: linear-gradient(180deg, transparent, #000 19%);
  }
  .hero-illustration img { object-position: right bottom; }
  .gallery::before { display: none; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .work-detail { width: calc(100% - 22px); max-height: calc(100dvh - 22px); }
  .detail-shell { display: block; }
  .detail-visual { padding: 9px; }
  .detail-stage { height: min(54dvh, 540px); min-height: 190px; }
  .detail-copy { padding: 22px 22px 28px; max-height: none; }
  .detail-close-form { top: 13px; right: 13px; z-index: 2; }
}
@media (max-width: 480px) {
  .frame { width: calc(100% - 36px); }
  .site-header { min-height: 59px; gap: 8px; }
  .site-nav { gap: clamp(8px, 3vw, 13px); }
  .site-nav a, .brand { font-size: clamp(.72rem, 3.2vw, .9rem); }
  .brand { gap: 6px; }
  .brand-marks { height: 25px; }
  .hero { padding-top: 24px; }
  .hero-art { max-width: min(100%, 300px); gap: 8px; margin-top: 24px; }
  .hero-illustration { margin: -10px -18px 0; }
  .hero-tile { padding: 4px; }
  .gallery-heading { align-items: start; flex-direction: column; }
  .search-field { width: 100%; }
  .gallery-toolbar { gap: .5rem; margin: 15px 0 17px; }
  .filters button { font-size: .85rem; }
  .gallery { padding-bottom: 50px; }
  .work-button { padding: 5px 5px 0; }
  .work-copy { padding: 9px 5px 12px; }
  .work-size { right: 6px; bottom: 6px; }
  .work-title { font-size: .96rem; }
  .work-author { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* 作品人气（云服务）*/
.detail-like { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.15rem; }
.like-button {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 40px; padding: .4rem .95rem .4rem .85rem;
  border: 1px solid var(--line); border-radius: 2px; background: var(--stock); color: var(--ink);
  font-size: .9rem; transition: border-color .2s, background .2s, color .2s;
}
.like-button:hover:not([disabled]) { border-color: var(--ochre); }
.like-button[disabled] { opacity: .6; cursor: progress; }
.like-mark { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.like-button[aria-pressed="true"] { border-color: var(--ochre); background: #f3e2c9; }
.like-button[aria-pressed="true"] .like-mark { fill: var(--ochre); stroke: var(--ochre); }
.like-count { font-variant-numeric: tabular-nums; color: var(--ochre); font-weight: 700; }
.like-note { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.like-note[data-state="error"] { color: #8a2f1c; }

/* 页脚意见反馈 */
.footer-inner { flex-wrap: wrap; row-gap: .35rem; }
.footer-feedback { flex: 1 1 auto; text-align: center; color: #f3e7d2; }
.footer-feedback a { color: var(--gold); }
.footer-views { color: #f3e7d2; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 右侧银杏叶飘落装饰 */
.ginkgo-layer { position: fixed; top: 0; right: 0; width: min(34vw, 420px); height: 100dvh; overflow: hidden; pointer-events: none; z-index: 1; }
.ginkgo-layer.is-stopped { display: none; }
.ginkgo-fall { position: absolute; top: -44px; left: var(--x, 50%); animation: ginkgo-fall var(--fall-dur, 12s) linear var(--fall-delay, 0s) infinite; will-change: transform; }
@keyframes ginkgo-fall { from { transform: translateY(0); } to { transform: translateY(calc(100dvh + 80px)); } }
.ginkgo-sway { display: block; animation: ginkgo-sway var(--sway-dur, 2.8s) ease-in-out var(--sway-delay, 0s) infinite alternate; }
@keyframes ginkgo-sway { from { transform: translateX(-12px) rotate(-10deg); } to { transform: translateX(12px) rotate(10deg); } }
.ginkgo-leaf { display: block; animation: ginkgo-spin var(--spin-dur, 6s) linear var(--spin-delay, 0s) infinite; }
@keyframes ginkgo-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ginkgo-layer { display: none; } }
@media (max-width: 760px) { .ginkgo-layer { width: 46vw; } }

/* 门票发放通知弹窗（右下角浮窗 · 液态玻璃） */
.ticket-notice[hidden] { display: none; }
.ticket-notice { pointer-events: none; }
.ticket-notice .ticket-close-btn, .ticket-notice .ticket-dismiss, .ticket-notice .ticket-qq { pointer-events: auto; }
.ticket-notice { position: fixed; left: auto; top: auto; right: 16px; bottom: 16px; width: min(350px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); margin: 0; border: 1px solid rgba(255, 252, 240, 0.55); border-radius: 18px; background: rgba(250, 243, 224, 0.66); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); color: #163c35; padding: 16px 16px 12px; overflow: auto; box-shadow: 0 18px 44px #0d201938, inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.ticket-dismiss { position: absolute; top: 10px; right: 10px; }
.ticket-head { display: flex; gap: 4px; margin-bottom: 8px; }
.ticket-head span { display: inline-block; width: 20px; height: 4px; border-radius: 1px; background: #f88b42; }
.ticket-head span:nth-child(2) { background: #84332a; }
.ticket-notice h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .03em; line-height: 1.35; color: #84332a; }
.ticket-star { margin-left: 8px; font-size: .95rem; color: #b84232; vertical-align: top; }
.ticket-intro { margin: 6px 0 10px; color: #163c35; font-size: .84rem; line-height: 1.75; }
.ticket-event { margin: 0 0 10px; padding: 8px 11px 9px; background: rgba(22, 56, 46, 0.88); border-radius: 10px; text-align: center; }
.ticket-event strong { display: block; color: #f3dfae; font-size: .88rem; letter-spacing: .06em; }
.ticket-event span { display: block; margin-top: 3px; color: #cfe3d5; font-size: .78rem; letter-spacing: .03em; }
.ticket-face { display: block; width: 100%; height: auto; padding: 3px; border: 1px solid rgba(224, 207, 158, 0.65); border-radius: 8px; background: rgba(255, 253, 245, 0.55); box-sizing: border-box; }
.ticket-info { margin: 10px 0 12px; border: 1px solid rgba(217, 199, 143, 0.65); border-radius: 8px; background: rgba(255, 253, 245, 0.55); overflow: hidden; }
.ticket-info-head { margin: 0; padding: 7px 12px; background: rgba(243, 227, 189, 0.75); color: #7d2c24; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.ticket-info-body { padding: 10px 12px 11px; border-bottom: 2px dashed rgba(223, 201, 160, 0.8); }
.ticket-info-label { margin: 0 0 4px; color: #b84232; font-size: .72rem; font-weight: 700; }
.ticket-info-value { margin: 0; color: #163c35; font-size: .98rem; font-weight: 700; }
.ticket-qq {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 9px;
  padding: 5px 11px 6px; border: 1px dashed #b84232; border-radius: 8px;
  background: #fff6ea; color: #b84232; font: inherit; font-size: .85rem;
  font-weight: 700; letter-spacing: .05em; line-height: 1; cursor: pointer;
  transition: background .15s ease;
}
.ticket-qq:hover { background: #ffedd8; }
.ticket-qq[data-copied="1"] { border-color: #3b6d11; color: #3b6d11; background: #eef5e2; cursor: default; }
.ticket-tips { padding: 9px 11px 10px; background: rgba(255, 253, 245, 0.55); border: 1px solid rgba(217, 199, 143, 0.5); border-left: 3px solid #f88b42; border-radius: 8px; }
.ticket-tips h3 { margin: 0; color: #84332a; font-size: .9rem; font-weight: 700; }
.ticket-tips p { margin: 6px 0 0; font-size: .82rem; line-height: 1.7; }
.tip-mark { margin-right: 6px; color: #b84232; }
.ticket-actions { display: flex; justify-content: center; margin-top: 12px; }
.ticket-close-btn { border: 0; border-radius: 8px; background: rgba(132, 51, 42, 0.92); color: #ffe9d2; padding: 9px 28px; font: inherit; font-weight: 700; letter-spacing: .1em; cursor: pointer; }
.ticket-close-btn:hover { background: rgba(156, 65, 54, 0.95); }
@media (max-width: 480px) {
  .ticket-notice { right: 10px; bottom: 10px; padding: 14px 13px 12px; }
  .ticket-notice h2 { font-size: 1.2rem; }
}

/* 网站打分（右下角浮窗） */.site-feedback { position: fixed; left: auto; top: auto; right: 22px; bottom: 22px; width: min(360px, calc(100vw - 32px)); margin: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); padding: 22px 22px 18px; box-shadow: 0 14px 38px #0d201933, 0 3px 10px #0d201926; animation: feedback-rise .32s ease both; }
.site-feedback::backdrop { background: transparent; }
@keyframes feedback-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.feedback-shell { position: relative; }
.feedback-shell h2 { font-family: var(--display); font-weight: 700; font-size: 1.18rem; letter-spacing: .02em; }
.feedback-sub { margin-top: .4rem; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.feedback-stars { display: flex; gap: 4px; margin: 14px 0 0; }
.feedback-stars button { border: 0; background: transparent; padding: 2px 3px; font-size: 26px; line-height: 1; color: #cbb98f; cursor: pointer; transition: transform .12s ease, color .12s ease; }
.feedback-stars button[data-active="1"] { color: var(--gold); }
.feedback-stars button:hover { transform: scale(1.15); }
.feedback-stars button:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; border-radius: 2px; }
.site-feedback textarea { width: 100%; margin-top: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 2px; background: var(--stock); color: var(--ink); font: inherit; font-size: .88rem; resize: vertical; }
.site-feedback textarea:focus { outline: 1px solid var(--ochre); border-color: var(--ochre); }
.feedback-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.feedback-submit { border: 0; border-radius: 2px; background: var(--ochre); color: #fff8ec; padding: 8px 22px; font: inherit; font-weight: 600; cursor: pointer; }
.feedback-submit:disabled { opacity: .45; cursor: not-allowed; }
.feedback-dismiss { border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--muted); padding: 7px 16px; font: inherit; cursor: pointer; }
.feedback-dismiss:hover { color: var(--ink); }
.feedback-note { margin-top: 8px; min-height: 1.2em; font-size: .8rem; color: var(--muted); }
.feedback-note[data-state="error"] { color: #a54526; }
.feedback-note[data-state="done"] { color: var(--ochre); font-size: .95rem; }
@media (max-width: 760px) {
  .site-feedback { right: 12px; bottom: 12px; padding: 18px 16px 16px; }
  .feedback-stars button { font-size: 24px; }
}
@media (max-width: 760px) {
  .footer-inner { padding-block: .9rem; }
  .footer-feedback { flex-basis: 100%; order: 3; text-align: left; }
}

/* 动态媒体（文字条目）*/
.video-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.video-item { border: 1px solid var(--line); background: var(--stock); padding: 22px 24px 24px; }
.video-category { display: block; color: var(--ochre); font-size: .79rem; margin-bottom: 9px; }
.video-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.45; overflow-wrap: anywhere; }
.video-author { margin-top: .5rem; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.video-desc { margin-top: .95rem; color: var(--muted); font-size: .92rem; line-height: 1.85; }
@media (max-width: 760px) {
  .video-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .video-item { padding: 18px 16px 20px; }
  .video-desc { font-size: .88rem; line-height: 1.75; }
}

/* 学院推优标记 */
.work-badge {
  position: absolute; left: 10px; top: 10px;
  display: inline-block; padding: 3px 8px 4px; border-radius: 2px;
  background: var(--ochre); color: var(--chalk);
  font-size: .72rem; letter-spacing: .06em; line-height: 1;
}
@media (max-width: 480px) {
  .work-badge { left: 6px; top: 6px; font-size: .68rem; padding: 3px 6px; }
}

/* 决赛入围标记（标题右侧胶囊） */
.finalist-badge {
  display: inline-flex; align-items: stretch; flex: none;
  border-radius: 6px; overflow: hidden;
  background: #e8ebe4; border: 1px solid #ccd3c8;
  vertical-align: middle;
}
.finalist-badge .fb-icon {
  display: flex; align-items: center; justify-content: center;
  width: 20px; border-right: 1px solid #ccd3c8; color: #2e4b3f;
}
.finalist-badge .fb-icon svg { width: 12px; height: 12px; }
.finalist-badge .fb-text {
  padding: 4px 9px 5px; font-size: .72rem; letter-spacing: .1em;
  line-height: 1; color: #2e4b3f; font-weight: 700; white-space: nowrap;
}
.work-author-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: .45rem; }
.work-author-row .work-author { margin-top: 0; }
.video-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.video-author .finalist-badge { margin-right: 8px; }
.detail-copy .finalist-badge { margin: .2rem 0 .5rem; }

/* 技术支持署名：明旸信息 */
.footer-credit {
  display: flex;
  justify-content: flex-start;
  padding: 6px 0 26px;
}
.credit-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 14px;
  border: 1px solid rgba(227, 186, 117, .38);
  border-radius: 999px;
  background: rgba(255, 248, 231, .07);
  color: var(--chalk);
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.credit-link:hover,
.credit-link:focus-visible {
  background: rgba(255, 248, 231, .14);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.credit-logo {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 248, 231, .26), rgba(255, 248, 231, .04) 62%, rgba(255, 248, 231, 0) 78%);
}
.credit-logo img { width: 34px; height: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .28)); }
.credit-text { font-size: .95rem; letter-spacing: .02em; }
.credit-text strong { color: var(--gold); font-weight: 700; }
.credit-host {
  font-size: .78rem;
  color: rgba(255, 248, 231, .62);
  letter-spacing: .04em;
  padding-left: 4px;
  border-left: 1px solid rgba(227, 186, 117, .3);
  margin-left: 2px;
  padding-right: 2px;
}
.credit-arrow { width: 15px; height: 15px; flex: none; color: var(--gold); }

@media (max-width: 720px) {
  .footer-credit { padding-bottom: 20px; }
  .credit-link { gap: 10px; padding: 10px 16px 10px 10px; }
  .credit-logo { width: 34px; height: 34px; }
  .credit-logo img { width: 26px; }
  .credit-text { font-size: .88rem; }
  .credit-host { display: none; }
}


/* 顶部右侧：明旸信息 logo */
.header-right { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); margin-left: auto; }
.site-signature {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-left: 0;
  border-radius: 6px;
  transition: background-color .18s ease, transform .18s ease;
}
.site-signature img { width: 40px; height: auto; display: block; }
.site-signature:hover,
.site-signature:focus-visible { background: rgba(24, 56, 47, .07); transform: translateY(-1px); }

@media (max-width: 720px) {
  .header-right { gap: 8px; }
  .site-signature { padding: 4px 4px 4px 8px; }
  .site-signature img { width: 30px; }
}

/* 窄屏：收紧导航，保证右侧 logo 不被挤出屏幕 */
@media (max-width: 720px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .88rem; padding: .45rem 0; }
  .site-signature { padding: 4px 2px 4px 6px; }
  .brand { gap: 8px; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .brand-marks { height: 36px; }
  .site-nav { gap: 11px; }
  .site-nav a { font-size: .82rem; }
}
