@charset "UTF-8";

:root {
  color-scheme: light;
  --blue: #385b71;
  --pink: #ff697f;
  --ink: #37434d;
  --muted: #74818b;
  --paper: #fffafd;
  --canvas: #f4f1f6;
  --line: #eadfe7;
  --soft-blue: #eef8fb;
  --soft-pink: #fff0f4;
  --soft-yellow: #fff8e7;
  --soft-lilac: #f5f0ff;
  --sans: "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --round: "Trebuchet MS", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--canvas);
  font-family: var(--sans);
  line-height: 1.72;
}
body, button, a { -webkit-tap-highlight-color: transparent; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
::selection { color: var(--ink); background: #ffd9e1; }
.site-shell { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 9px; left: 9px; padding: 9px 14px; border-radius: 12px; color: white; background: var(--blue); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(56, 91, 113, .12); background: rgba(255, 250, 253, .94); box-shadow: 0 3px 15px rgba(67, 54, 71, .045); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand img { width: clamp(158px, 19vw, 196px); height: auto; }
.site-nav { display: flex; align-items: center; gap: 7px; }
.site-nav a, .site-nav .nav-dropdown-trigger { display: inline-flex; min-height: 39px; align-items: center; padding: 7px 13px; border: 0; border-radius: 999px; background: transparent; color: var(--blue); font-size: 13px; transition: background-color .2s ease, transform .2s ease, color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"], .site-nav .nav-dropdown-trigger:hover, .site-nav .nav-dropdown-trigger:focus-visible { background: var(--soft-blue); color: #24465a; transform: translateY(-1px); }
.site-nav .nav-dropdown-trigger { gap: 5px; }
.nav-dropdown-trigger span { color: var(--muted); font-size: 15px; }
.nav-dropdown { position: relative; }
.dept-dropdown { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; display: grid; width: 300px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 12px 28px rgba(47,48,64,.14); opacity: 0; visibility: hidden; transform: translateY(-5px); pointer-events: none; transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.nav-dropdown:hover .dept-dropdown, .nav-dropdown:focus-within .dept-dropdown, .nav-dropdown.is-open .dept-dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dept-dropdown a { min-height: 38px; justify-content: flex-start; border-radius: 9px; font-size: 12px; }
.dept-dropdown a:hover { background: var(--soft-pink); }
.site-nav .nav-join { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 7px 13px; border: 0; border-radius: 999px; background: var(--pink); color: #422b36; font-size: 13px; font-weight: 700; transition: background-color .2s ease, transform .2s ease; }
.site-nav .nav-join:hover, .site-nav .nav-join:focus-visible { background: #ff8798; }
.menu-toggle { display: none; min-height: 38px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--blue); }

.club-cover { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; min-height: 276px; margin: 22px 0 20px; overflow: hidden; border: 1px solid #f0dce5; border-radius: 22px; background: linear-gradient(120deg, #fff0f4 0%, #f3f8ff 100%); box-shadow: 0 10px 28px rgba(75, 60, 83, .08); }
.cover-copy { position: relative; z-index: 1; display: flex; align-items: center; gap: 19px; padding: clamp(22px, 4vw, 42px); }
.cover-mascot { flex: 0 0 auto; display: grid; width: 86px; height: 86px; place-items: center; padding: 7px; border: 1px solid rgba(255,255,255,.9); border-radius: 22px; background: rgba(255,255,255,.82); box-shadow: 0 7px 18px rgba(76, 63, 84, .08); animation: mascot-bob 4.2s ease-in-out infinite; }
.cover-mascot img { width: 100%; height: 100%; object-fit: contain; }
.cover-text { min-width: 0; }
.eyebrow, .section-kicker { color: var(--blue); font: 700 10px/1.5 var(--round); letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { margin: 0 0 7px; }
.cover-text h1 { margin: 0; color: #374d5a; font: 700 clamp(27px, 3.4vw, 39px)/1.28 var(--round); letter-spacing: .015em; }
.cover-subtitle { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.cover-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.small-button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 7px 13px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.small-button:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(48, 53, 70, .1); }
.pink-button { background: var(--pink); color: #452d37; }
.pink-button:hover { background: #ff8798; }
.blue-button { background: var(--blue); color: white; }
.blue-button:hover { background: #29485e; }
.white-button { border-color: rgba(56, 91, 113, .17); background: white; color: var(--blue); }
.white-button:hover { background: var(--soft-blue); }
.cover-photo { position: relative; min-height: 238px; margin: 13px; overflow: hidden; border-radius: 17px; background: #e1eaf0; }
.cover-photo img { width: 100%; height: 100%; min-height: 238px; object-fit: cover; animation: slow-zoom 16s ease-in-out infinite alternate; }
img[data-lightbox] { cursor: zoom-in; }
img[data-lightbox]:focus-visible { outline: 3px solid var(--pink); outline-offset: -4px; }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; align-items: start; gap: 19px; margin-bottom: 25px; }
.blog-main, .blog-sidebar { display: grid; gap: 17px; min-width: 0; }
.blog-card, .side-card, .page-heading { min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: 0 5px 18px rgba(67, 54, 71, .055); }
.blog-card { padding: clamp(18px, 2.8vw, 27px); }
.post-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #8c929b; font-size: 10px; }
.meta-pill, .event-sticker { display: inline-flex; min-height: 23px; align-items: center; padding: 3px 9px; border-radius: 999px; background: #eaf7fb; color: var(--blue); font-size: 10px; font-weight: 700; }
.orange-pill { background: #fff0e7; color: #81543d; }
.blog-card h2, .section-heading h2, .page-heading h1 { margin: 0; color: #3e4e59; font: 700 22px/1.45 var(--round); }
.post-card > p { max-width: 70ch; margin: 12px 0 0; color: #5c6973; font-size: 13px; }
.org-path { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 18px; padding: 10px 13px; border-radius: 12px; background: var(--soft-blue); color: var(--blue); font-size: 11px; }
.org-path i { width: 5px; height: 5px; border-top: 1px solid #7f9daa; border-right: 1px solid #7f9daa; transform: rotate(45deg); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.section-heading h2 { margin-top: 3px; }
.source-note { flex: 0 0 auto; color: #949ba3; font-size: 10px; }
.dept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dept-card { position: relative; display: flex; min-height: 76px; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid rgba(80, 112, 131, .1); border-radius: 13px; background: var(--soft-blue); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dept-card:nth-child(4n + 2) { background: var(--soft-pink); }
.dept-card:nth-child(4n + 3) { background: var(--soft-yellow); }
.dept-card:nth-child(4n) { background: var(--soft-lilac); }
.dept-card:hover, .dept-card:focus-visible { z-index: 1; transform: translateY(-3px) rotate(-.4deg); border-color: rgba(56, 91, 113, .23); box-shadow: 0 8px 14px rgba(57, 68, 84, .1); }
.dept-card h3 { margin: 0; color: #3e4e59; font-size: 14px; }
.dept-card p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.dept-num { flex: 0 0 auto; display: grid; width: 31px; height: 31px; place-items: center; border-radius: 11px; background: rgba(255,255,255,.78); color: var(--blue); font: 700 10px var(--round); }
.dept-card-link { padding-right: 31px; }
.card-arrow { position: absolute; top: 50%; right: 13px; color: var(--pink); font: 700 24px/1 var(--round); transform: translateY(-50%); }
.fine-print { margin: 13px 0 0; color: #8a929b; font-size: 10px; }
.record-list { display: grid; gap: 9px; }
.record-row { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border-radius: 12px; background: #fff7f8; }
.record-row:nth-child(2) { background: #f4f8ff; }
.record-row time { display: grid; min-height: 31px; place-items: center; border-radius: 999px; background: white; color: var(--pink); font: 700 11px var(--round); }
.record-row h3 { margin: 0; font-size: 12px; }
.record-row p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo-card { min-width: 0; margin: 0; overflow: hidden; border-radius: 13px; background: #f2f7fa; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.photo-card:hover img { transform: scale(1.045); }
.photo-card figcaption { padding: 8px 10px; color: var(--muted); font-size: 10px; }

.blog-sidebar { gap: 14px; }
.side-card { padding: 16px; }
.side-card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: #66737c; font-size: 11px; font-weight: 700; }
.side-label { padding: 3px 7px; border-radius: 999px; background: var(--soft-pink); color: #a25867; font-size: 9px; }
.profile-card { text-align: center; background: linear-gradient(160deg, white 25%, #f2fbfd 100%); }
.profile-card .side-card-title { text-align: left; }
.profile-emblem { width: 74px; height: 74px; margin: 3px auto 9px; object-fit: contain; }
.profile-card h2 { margin: 0; color: #43535d; font: 700 15px/1.5 var(--round); }
.profile-card p { margin: 3px 0 12px; color: var(--muted); font-size: 10px; }
.qq-card { background: linear-gradient(160deg, #f3fbff, white); }
.qq-qr { width: 100%; max-height: 260px; object-fit: contain; border-radius: 11px; background: #1e2023; }
.qq-number { margin: 11px 0 8px; color: var(--muted); font-size: 11px; }
.qq-number strong { margin-left: 5px; color: var(--blue); font: 700 16px var(--round); letter-spacing: .04em; }
.copy-status { min-height: 1.4em; margin: 5px 0 0; color: var(--blue); font-size: 10px; }
.side-nav { padding-bottom: 8px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 2px; border-top: 1px dashed #eee4eb; color: #5c6973; font-size: 11px; transition: color .18s ease, transform .18s ease; }
.side-nav a:hover { color: var(--pink); transform: translateX(4px); }
.side-nav a b { color: var(--pink); font: 700 18px/1 var(--round); }
.social-card p { margin: 0 0 10px; color: var(--muted); font-size: 11px; }
.social-card > a { color: var(--blue); font-size: 11px; font-weight: 700; }
.social-card > a:hover { color: var(--pink); }

.crumb-row { display: flex; align-items: center; gap: 9px; padding: 16px 3px 11px; color: #89939b; font-size: 10px; }
.crumb-row a { color: var(--blue); }
.crumb-row a:hover { color: var(--pink); }
.page-heading { display: flex; min-height: 142px; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 22px 27px; background: linear-gradient(110deg, #fff0f4, #f1f9ff); }
.page-heading h1 { margin-top: 5px; font-size: clamp(26px, 3vw, 34px); }
.page-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.page-heading > img { width: 78px; height: 78px; margin-right: 8px; object-fit: contain; }
.blog-card > p { color: #5f6e77; font-size: 12px; }
.gallery-intro { margin: -5px 0 12px; color: var(--muted); font-size: 11px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 19px; }
.gallery-filter { min-height: 31px; padding: 5px 12px; border: 1px solid #e4e8ec; border-radius: 999px; background: #fff; color: #66737c; font: 600 10px var(--round); transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
.gallery-filter:hover { transform: translateY(-1px); border-color: #b8d0dc; }
.gallery-filter[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: white; }
.event-album[hidden] { display: none !important; }
.event-album + .event-album { margin-top: 21px; padding-top: 18px; border-top: 1px dashed #e9e4e8; }
.album-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.album-heading h3 { margin: 0; color: #455762; font: 700 14px/1.5 var(--round); }
.album-kind { padding: 3px 8px; border-radius: 999px; background: #eef7fb; color: var(--blue); font-size: 9px; }
.event-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.event-photo-grid.single-photo { max-width: 440px; grid-template-columns: minmax(0, 1fr); }
.winter-teaser { display: grid; min-height: 112px; place-items: center; border: 1px dashed #d8e4ea; border-radius: 13px; background: #f6fafc; }
.winter-teaser a { display: inline-block; background: linear-gradient(90deg, #ff1744, #ff9100, #ffea00, #00e676, #00e5ff, #2979ff, #d500f9, #ff1744); background-size: 220% 100%; background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font: 700 25px/1 var(--round); text-decoration: none; animation: winter-rainbow-flow 2.2s linear infinite; transition: transform .2s ease; }
.winter-teaser a:hover { transform: scale(1.12); }
@keyframes winter-rainbow-flow { from { background-position: 0% 50%; filter: hue-rotate(0deg); } to { background-position: 220% 50%; filter: hue-rotate(360deg); } }
.event-photo { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #e9edf0; border-radius: 12px; background: #f0f5f7; }
.event-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #e9eff2; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.event-photo:hover img { transform: scale(1.025); }
.event-photo figcaption { min-height: 31px; padding: 8px 9px; color: #707d85; font-size: 10px; }
.join-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff7f8; }
.join-note h2 { margin: 4px 0 0; }
.join-note p { max-width: 55ch; margin: 6px 0 0; }

.site-footer { width: 100%; margin-top: 28px; padding: 22px 0 25px; background: #385B71; color: rgba(255,255,255,.82); font-size: 11px; }
.footer-inner { display: flex; width: min(100% - 48px, 1480px); align-items: center; flex-direction: column; justify-content: center; gap: 5px; margin-inline: auto; text-align: center; }
.footer-social { color: white; font-size: 14px; font-weight: 700; }
.footer-social:hover { color: #d9f2ff; text-decoration: underline; }

.join-dialog, .image-dialog { max-width: calc(100vw - 28px); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid rgba(56,91,113,.14); border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 70px rgba(20,30,40,.28); }
.join-dialog { width: min(390px, calc(100vw - 28px)); padding: 18px 22px 15px; text-align: center; }
.join-dialog::backdrop, .image-dialog::backdrop { background: rgba(24,35,43,.66); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.dialog-head h2 { margin: 0; color: var(--ink); font-size: 17px; }
.dialog-close { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: #edf3f6; color: var(--blue); font-size: 22px; line-height: 1; }
.dialog-close:hover { background: #dceaf0; }
.join-dialog-qr { width: min(170px, 48vw); max-height: min(300px, 43dvh); margin: 0 auto; border-radius: 10px; object-fit: contain; background: #1e2023; }
.join-dialog-number { margin: 9px 0 4px; color: var(--muted); font-size: 12px; }
.join-dialog-number strong { color: var(--ink); font-size: 17px; letter-spacing: .04em; }
.bilibili-link { display: inline-block; margin: 3px 0 8px; color: #1677ff; font-size: 13px; }
.bilibili-link:hover { color: #0958d9; text-decoration: underline; }
.dialog-copy { display: flex; margin: 0 auto; }
.join-dialog .copy-status { margin-bottom: 0; }
.image-dialog { position: relative; width: fit-content; max-width: min(94vw, 1500px); padding: 15px; overflow: visible; background: #17232b; text-align: center; }
.image-dialog > img { display: block; width: auto; height: auto; max-width: calc(94vw - 30px); max-height: calc(88dvh - 50px); margin: 0 auto; object-fit: contain; }
.image-dialog > p { margin: 8px 36px 0; color: rgba(255,255,255,.86); font-size: 12px; }
.image-dialog-close { position: absolute; z-index: 1; top: 8px; right: 8px; background: rgba(255,255,255,.92); }

@keyframes mascot-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.045); } }
html.motion-ready [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .48s ease, transform .48s cubic-bezier(.2,.7,.2,1); }
html.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .winter-teaser a { animation: winter-rainbow-flow 2.2s linear infinite !important; }
  html.motion-ready [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .site-shell { width: min(100% - 30px, 720px); }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; top: 67px; right: 15px; left: 15px; flex-direction: column; align-items: stretch; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 10px 24px rgba(47,48,64,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 41px; justify-content: center; }
  .site-nav .nav-dropdown, .site-nav .nav-dropdown-trigger { width: 100%; }
  .site-nav .nav-dropdown-trigger { justify-content: center; }
  .dept-dropdown { position: static; display: none; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4px; box-shadow: none; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav-dropdown:hover .dept-dropdown, .nav-dropdown:focus-within .dept-dropdown { display: grid; }
  .nav-dropdown.is-open .dept-dropdown { display: grid; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; }
  .club-cover { grid-template-columns: 1fr .86fr; }
}
@media (max-width: 620px) {
  .site-shell { width: calc(100% - 24px); }
  .header-inner { min-height: 66px; }
  .brand img { width: 154px; }
  .site-nav { top: 61px; right: 12px; left: 12px; }
  .club-cover { grid-template-columns: 1fr; margin-top: 14px; border-radius: 18px; }
  .cover-copy { gap: 13px; padding: 21px 17px 16px; }
  .cover-mascot { width: 66px; height: 66px; padding: 5px; border-radius: 18px; }
  .cover-text h1 { font-size: clamp(23px, 7vw, 31px); }
  .cover-subtitle { font-size: 10px; }
  .cover-actions { margin-top: 12px; }
  .cover-photo { min-height: 184px; margin: 0 10px 10px; border-radius: 14px; }
  .cover-photo img { min-height: 184px; max-height: 230px; }
  .blog-layout { gap: 13px; }
  .blog-main { gap: 13px; }
  .blog-card { padding: 17px; border-radius: 15px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .source-note { font-size: 9px; }
  .dept-grid { gap: 7px; }
  .dept-card { min-height: 70px; gap: 8px; padding: 9px; border-radius: 11px; }
  .dept-num { width: 27px; height: 27px; border-radius: 9px; font-size: 9px; }
  .dept-card h3 { font-size: 12px; }
  .dept-card p { font-size: 9px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card img { aspect-ratio: 16 / 10; }
  .event-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .event-photo-grid.single-photo { max-width: 100%; }
  .event-photo figcaption { min-height: 29px; padding: 7px; font-size: 9px; }
  .blog-sidebar { grid-template-columns: 1fr; gap: 11px; }
  .side-card { padding: 14px; border-radius: 15px; }
  .page-heading { min-height: 116px; padding: 18px; border-radius: 15px; }
  .page-heading > img { width: 59px; height: 59px; margin: 0; }
  .page-heading h1 { font-size: 27px; }
  .join-note { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: center; flex-wrap: nowrap; }
}
