:root { color-scheme: light; --ink: #20313d; --muted: #657785; --line: rgba(37, 112, 137, 0.16); --paper: #f8fbfa; --surface: #ffffff; --soft: #eaf6f4; --green: #1f9a8a; --green-deep: #156b70; --blue: #3f7edb; --sun: #f2b84b; --coral: #f2766b; --shadow: 0 20px 56px rgba(31, 103, 126, 0.14); --shadow-soft: 0 10px 30px rgba(31, 103, 126, 0.08); --radius: 12px; --radius-large: 18px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; color: var(--ink); background: radial-gradient(circle at 12% 8%, rgba(242, 184, 75, 0.09), transparent 24rem), radial-gradient(circle at 92% 18%, rgba(63, 126, 219, 0.07), transparent 28rem), var(--paper); font-family: "ClassMemoryCipher", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif; line-height: 1.65; } img { max-width: 100%; display: block; } a { color: inherit; text-decoration: none; } .site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(18px, 4vw, 48px); color: #fffdf7; background: linear-gradient(180deg, rgba(22, 30, 29, 0.58), rgba(22, 30, 29, 0)); } .brand { font-weight: 700; letter-spacing: 0; white-space: nowrap; } .nav-toggle { display: none; width: 44px; height: 44px; place-items: center; align-content: center; justify-items: center; gap: 5px; border: 1px solid rgba(255, 253, 247, 0.36); border-radius: 8px; background: rgba(31, 43, 42, 0.2); color: #fffdf7; backdrop-filter: blur(12px); cursor: pointer; } .nav-toggle span { width: 20px; height: 2px; border-radius: 999px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; } .nav { display: flex; gap: clamp(12px, 2vw, 26px); font-size: 14px; } .nav a { display: inline-flex; align-items: center; gap: 0.45em; opacity: 0.88; } .nav-item-icon { width: 1.15em; flex: 0 0 auto; text-align: center; } .nav a.nav-icon-only { justify-content: center; min-width: 2.25rem; padding-inline: 0.6rem; } .hero { min-height: 92vh; position: relative; display: grid; align-items: end; overflow: hidden; isolation: isolate; padding: 120px clamp(20px, 6vw, 80px) 56px; color: #fffdf7; background: #26332e var(--hero-image) center / cover no-repeat; } .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 29, 27, 0.78), rgba(21, 29, 27, 0.34) 48%, rgba(21, 29, 27, 0.18)), linear-gradient(0deg, rgba(21, 29, 27, 0.72), rgba(21, 29, 27, 0.06) 55%); } .hero-content { width: min(780px, 100%); } .eyebrow { margin: 0 0 14px; color: #f3cf8b; font-size: 15px; font-weight: 700; } h1 { margin: 0; max-width: 720px; font-size: clamp(42px, 7vw, 86px); line-height: 1.08; letter-spacing: 0; } .hero p { max-width: 620px; margin: 24px 0 0; color: rgba(255, 253, 247, 0.88); font-size: clamp(17px, 2vw, 21px); } .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; } .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid rgba(255, 253, 247, 0.45); border-radius: 8px; background: rgba(255, 253, 247, 0.12); color: #fffdf7; font: inherit; font-weight: 700; backdrop-filter: blur(10px); } .random-memory-button { cursor: pointer; } .random-memory-button:hover i { transform: rotate(14deg); } .random-memory-button i { transition: transform 180ms ease; } .random-photo-dialog { width: min(920px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: #17201e; color: #fffdf7; box-shadow: 0 28px 90px rgba(8, 14, 13, 0.52); } .random-photo-dialog::backdrop { background: rgba(10, 16, 15, 0.82); backdrop-filter: blur(5px); } .random-photo-dialog[open] { display: grid; } .random-photo-dialog figure { margin: 0; } .random-photo-dialog img { width: 100%; max-height: calc(100vh - 116px); object-fit: contain; background: #0e1513; } .random-photo-dialog figcaption { min-height: 58px; padding: 16px 64px 16px 20px; color: rgba(255, 253, 247, 0.86); font-size: 14px; } .random-photo-close { position: absolute; right: 12px; bottom: 10px; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 253, 247, 0.22); border-radius: 50%; background: rgba(255, 253, 247, 0.1); color: #fffdf7; cursor: pointer; } .random-photo-close:hover { background: rgba(255, 253, 247, 0.2); } .button.primary { border-color: #f1c979; background: #f1c979; color: #21312d; } .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); } .stat { min-height: 112px; padding: 24px clamp(18px, 4vw, 42px); background: #fffdf7; } .stat strong { display: block; color: var(--green); font-size: clamp(26px, 4vw, 42px); line-height: 1; } .stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; } .on-this-day-band { position: relative; overflow: hidden; background: radial-gradient(circle at 8% 14%, rgba(232, 168, 76, 0.2), transparent 24%), linear-gradient(135deg, #f6f0df, #fffdf7 48%, #eef4e9); } .on-this-day-band::after { content: ""; position: absolute; right: -80px; bottom: -110px; width: 280px; height: 280px; border: 1px solid rgba(55, 109, 90, 0.12); border-radius: 50%; box-shadow: 0 0 0 34px rgba(55, 109, 90, 0.035), 0 0 0 68px rgba(55, 109, 90, 0.025); pointer-events: none; } .on-this-day-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 64px); align-items: start; } .on-this-day-heading { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; margin-bottom: 30px; } .on-this-day-heading .eyebrow { color: var(--coral); } .on-this-day-heading p:last-child { margin: 0; color: var(--muted); } .memory-calendar { position: sticky; top: 26px; padding: 18px; border: 1px solid rgba(31, 43, 42, 0.12); border-radius: 14px; background: rgba(255, 255, 255, 0.72); box-shadow: 0 8px 28px rgba(39, 55, 52, 0.06); backdrop-filter: blur(10px); } .memory-calendar-head, .memory-calendar-nav { display: flex; align-items: center; } .memory-calendar-head { display: grid; gap: 10px; margin-bottom: 16px; } .memory-calendar-nav { justify-content: space-between; gap: 10px; } .memory-calendar-nav button, .memory-calendar-today { min-height: 38px; border: 1px solid var(--line); background: #fffdf7; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, color 160ms ease; } .memory-calendar-step { width: 38px; flex: 0 0 38px; padding: 0; border-radius: 50%; } .memory-calendar-period { min-width: 0; display: flex; justify-content: center; gap: 2px; } .memory-calendar-period button { min-width: 0; min-height: 38px; padding: 4px 7px; border-color: transparent; border-radius: 7px; background: transparent; font-size: 18px; } .memory-calendar-period button::after { content: "⌄"; margin-left: 3px; color: var(--muted); font-size: 12px; } .memory-calendar-period button:hover, .memory-calendar-period button[aria-expanded="true"] { border-color: rgba(55, 109, 90, 0.2); background: rgba(55, 109, 90, 0.08); color: var(--green); } .memory-calendar-today { width: 100%; padding: 7px 13px; border-radius: 999px; color: var(--green); font-size: 13px; } .memory-calendar-step:hover, .memory-calendar-today:hover { border-color: var(--green); background: var(--green); color: #fff; } .memory-calendar-period button:hover::after, .memory-calendar-period button[aria-expanded="true"]::after { color: currentColor; } .memory-calendar-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: -4px 0 16px; padding: 12px; border: 1px solid rgba(55, 109, 90, 0.2); border-radius: 10px; background: #fffdf7; box-shadow: 0 12px 28px rgba(39, 55, 52, 0.1); } .memory-calendar-jump[hidden] { display: none; } .memory-calendar-jump label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 800; } .memory-calendar-jump input, .memory-calendar-jump select { width: 100%; min-width: 0; min-height: 38px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; outline: none; background: #fff; color: var(--ink); font: inherit; font-size: 14px; } .memory-calendar-jump input:focus, .memory-calendar-jump select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(55, 109, 90, 0.1); } .memory-calendar-jump > button { grid-column: 1 / -1; min-height: 38px; border: 0; border-radius: 7px; background: var(--green); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; } .memory-calendar-weekdays, .memory-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; } .memory-calendar-weekdays { margin-bottom: 7px; color: var(--muted); text-align: center; font-size: 12px; font-weight: 800; } .memory-calendar-day, .memory-calendar-spacer { min-width: 0; aspect-ratio: 1.45; } .memory-calendar-day { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; padding: 4px; border: 1px solid transparent; border-radius: 9px; background: rgba(244, 247, 238, 0.72); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease; } .memory-calendar-day:hover { transform: translateY(-1px); border-color: rgba(55, 109, 90, 0.3); color: var(--green); background: #fff; } .memory-calendar-day.has-memory { color: var(--ink); background: rgba(232, 168, 76, 0.12); font-weight: 800; } .memory-calendar-day i { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); } .memory-calendar-day.is-today { border-color: rgba(55, 109, 90, 0.55); } .memory-calendar-day.is-selected { border-color: var(--green); background: var(--green); color: #fffdf7; box-shadow: 0 6px 16px rgba(55, 109, 90, 0.2); } .memory-calendar-day.is-selected i { background: #f3cf8b; } .memory-calendar-legend { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; color: var(--muted); font-size: 12px; } .memory-calendar-legend > span { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); } .memory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; } .memory-card { height: 220px; min-height: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(31, 43, 42, 0.12); border-radius: 12px; background: rgba(255, 255, 255, 0.82); box-shadow: 0 8px 28px rgba(39, 55, 52, 0.06); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; } .memory-card:hover { transform: translateY(-3px); border-color: rgba(55, 109, 90, 0.34); box-shadow: 0 16px 38px rgba(39, 55, 52, 0.12); } .memory-card > img, .memory-card-visual { width: 100%; height: 100%; min-height: 0; object-fit: cover; } .memory-card-visual { display: grid; place-items: center; color: rgba(255, 253, 247, 0.9); background: linear-gradient(135deg, rgba(55, 109, 90, 0.94), rgba(69, 111, 148, 0.88)); font-family: "ClassMemoryCipher", STKaiti, KaiTi, serif; font-size: 48px; } .memory-card-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 20px; } .memory-card-meta { color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; } .memory-card-copy > strong { display: -webkit-box; overflow: hidden; margin-top: 7px; font-size: 19px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .memory-card-text { display: -webkit-box; overflow: hidden; margin-top: 8px; color: var(--muted); font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .memory-card-action { margin-top: auto; padding-top: 14px; color: var(--green); font-size: 12px; font-weight: 800; } .memory-empty { min-height: 190px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; padding: clamp(24px, 4vw, 38px); border: 1px dashed rgba(55, 109, 90, 0.3); border-radius: 14px; background: rgba(255, 255, 255, 0.56); } .memory-empty[hidden], .memory-grid[hidden] { display: none; } .memory-empty-mark { color: var(--sun); font-size: 48px; } .memory-empty h3 { margin: 0; font-size: 22px; } .memory-empty p, .memory-noscript { margin: 6px 0 0; color: var(--muted); } .memory-empty-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; } .memory-empty-links a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--green); font-size: 13px; font-weight: 800; } main { overflow: hidden; } section { padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 80px); } .section-inner { width: min(1120px, 100%); margin: 0 auto; } .section-title { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr); gap: clamp(24px, 6vw, 72px); align-items: end; margin-bottom: 36px; } h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.16; letter-spacing: 0; } .section-title p { margin: 0; color: var(--muted); font-size: 16px; } .timeline { display: grid; gap: 18px; } .moment { display: grid; grid-template-columns: 140px 1fr; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 28px rgba(39, 55, 52, 0.06); scroll-margin-top: 96px; } .moment:target { border-color: rgba(232, 168, 76, 0.92); box-shadow: 0 16px 42px rgba(232, 168, 76, 0.2); } .moment > div { grid-column: 2; } .moment-link { position: relative; padding-right: 70px; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; } .moment-link::after { content: "查看"; position: absolute; top: 24px; right: 24px; color: var(--green); font-size: 13px; font-weight: 800; } .moment-link:hover { transform: translateY(-3px); border-color: rgba(55, 109, 90, 0.34); box-shadow: 0 16px 38px rgba(39, 55, 52, 0.12); } .moment time { color: var(--blue); font-weight: 800; } .moment h3, .person h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; } .moment p, .person p, .message p { margin: 0; color: var(--muted); } .gallery-band { background: var(--soft); } .page-main { min-height: 100vh; } .page-hero { padding-top: 132px; padding-bottom: 70px; color: #fffdf7; background: linear-gradient(135deg, rgba(31, 43, 42, 0.96), rgba(55, 109, 90, 0.88)), #1f2b2a; } .page-hero h1 { max-width: 900px; } .page-hero p:not(.eyebrow) { max-width: 680px; margin: 22px 0 0; color: rgba(255, 253, 247, 0.82); font-size: clamp(17px, 2vw, 21px); } .hero-inline-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; color: #f3cf8b; font-weight: 800; } .hero-inline-link:hover { color: #fffdf7; } .back-link, .section-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border-radius: 8px; font-weight: 800; } .back-link { margin-bottom: 28px; border: 1px solid rgba(255, 253, 247, 0.38); color: #fffdf7; background: rgba(255, 253, 247, 0.12); } .section-link { margin-top: 26px; border: 1px solid var(--line); color: var(--green); background: #fff; } .photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; } .photo-card { min-height: 230px; display: flex; align-items: end; padding: 18px; border-radius: 8px; color: #fff; background: linear-gradient(0deg, rgba(26, 35, 34, 0.76), rgba(26, 35, 34, 0.08)), var(--photo-image, var(--tile-bg)); background-size: cover; background-position: center; box-shadow: var(--shadow); } .topic-card { transition: transform 180ms ease, box-shadow 180ms ease; } .topic-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(39, 55, 52, 0.18); } .photo-card:nth-child(4n + 1) { --tile-bg: linear-gradient(135deg, #376d5a, #e8a84c); } .photo-card:nth-child(4n + 2) { --tile-bg: linear-gradient(135deg, #456f94, #f0c66d); } .photo-card:nth-child(4n + 3) { --tile-bg: linear-gradient(135deg, #c96452, #f1d9a6); } .photo-card:nth-child(4n) { --tile-bg: linear-gradient(135deg, #263e5c, #7ab28b); } .photo-card:nth-child(4n + 2), .photo-card:nth-child(4n) { min-height: 300px; } .photo-card strong { display: block; font-size: 20px; } .photo-card span { display: block; color: rgba(255, 255, 255, 0.82); font-size: 14px; } .people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .map-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 34%, rgba(232, 168, 76, 0.28), transparent 23%), linear-gradient(135deg, #1d2d2a, #355f52 58%, #456f94); } .map-hero::after { content: ""; position: absolute; right: clamp(-80px, 2vw, 24px); bottom: -110px; width: clamp(280px, 34vw, 520px); aspect-ratio: 1; border: 1px solid rgba(255, 253, 247, 0.12); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255, 253, 247, 0.035), 0 0 0 96px rgba(255, 253, 247, 0.02); pointer-events: none; } .map-section { padding-top: clamp(36px, 5vw, 68px); background: linear-gradient(rgba(55, 109, 90, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(55, 109, 90, 0.035) 1px, transparent 1px), var(--paper); background-size: 32px 32px; } .map-section > .section-inner { width: min(1420px, 100%); } .map-summary { display: grid; grid-template-columns: repeat(3, minmax(110px, 0.55fr)) minmax(260px, 1.7fr); align-items: stretch; margin-bottom: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 253, 247, 0.94); box-shadow: 0 10px 34px rgba(39, 55, 52, 0.08); } .map-summary > div { display: grid; align-content: center; min-height: 90px; padding: 18px 22px; border-right: 1px solid var(--line); } .map-summary strong { color: var(--green); font-size: 30px; line-height: 1; } .map-summary span { margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 700; } .map-summary > p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 20px 24px; color: var(--muted); font-size: 13px; } .map-summary > p i { color: var(--green); font-size: 18px; } .class-map-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 360px); min-height: 720px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); } .class-map { position: relative; min-height: 720px; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 67% 22%, rgba(232, 168, 76, 0.14), transparent 24%), linear-gradient(rgba(55, 109, 90, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(55, 109, 90, 0.025) 1px, transparent 1px), linear-gradient(145deg, #edf4ec, #f9f6e9 54%, #edf3f5); background-size: auto, 28px 28px, 28px 28px, auto; } .map-caption { position: absolute; top: 28px; left: 30px; z-index: 4; display: grid; } .map-caption span { color: var(--ink); font-size: 20px; font-weight: 900; } .map-caption small { margin-top: 2px; color: var(--muted); } .map-geo { position: absolute; inset: 60px 18px 24px; width: calc(100% - 36px); height: calc(100% - 84px); overflow: visible; } .map-province { fill: url("#province-fill"); stroke: rgba(55, 109, 90, 0.42); stroke-width: 1.05; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill 180ms ease, stroke 180ms ease; } .map-province:hover { fill: #e5eee2; stroke: rgba(55, 109, 90, 0.72); } .map-province.has-classmate { fill: #f3e4bd; stroke: rgba(201, 100, 82, 0.72); } .map-source { position: absolute; left: 28px; bottom: 18px; z-index: 4; margin: 0; color: rgba(98, 112, 111, 0.78); font-size: 11px; } .city-marker { cursor: pointer; opacity: 0; outline: none; animation: city-arrive 420ms ease forwards; animation-delay: var(--city-delay); } @keyframes city-arrive { to { opacity: 1; } } .city-marker-leader { stroke: rgba(55, 109, 90, 0.48); stroke-width: 1.25; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; } .city-marker-halo { fill: rgba(255, 253, 247, 0.76); stroke: rgba(55, 109, 90, 0.26); stroke-width: 1; transition: fill 160ms ease, stroke 160ms ease, r 160ms ease; } .city-marker-dot { fill: var(--green); stroke: rgba(255, 253, 247, 0.95); stroke-width: 3; filter: drop-shadow(0 6px 8px rgba(39, 55, 52, 0.26)); transform-box: fill-box; transform-origin: center; transition: fill 160ms ease, transform 160ms ease; } .city-marker-count { fill: #fff; font-size: 13px; font-weight: 900; pointer-events: none; } .city-marker-name { fill: var(--ink); stroke: rgba(255, 253, 247, 0.96); stroke-width: 6px; stroke-linejoin: round; paint-order: stroke fill; font-size: 12px; font-weight: 800; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; } .city-marker:hover .city-marker-dot, .city-marker:focus-visible .city-marker-dot, .city-marker.is-active .city-marker-dot { fill: var(--coral); transform: scale(1.12); } .city-marker:hover .city-marker-halo, .city-marker:focus-visible .city-marker-halo, .city-marker.is-active .city-marker-halo { fill: rgba(255, 253, 247, 0.96); stroke: rgba(201, 100, 82, 0.58); r: 24px; } .map-geo.is-dense .city-marker-name { opacity: 0; transform: translateY(-4px); } .map-geo.is-dense .city-marker-dot { r: 12px; } .map-geo.is-dense .city-marker-halo { r: 17px; } .map-geo.is-dense .city-marker-count { font-size: 10px; transform: translateY(-1px); } .map-geo.is-dense .city-marker:hover .city-marker-name, .map-geo.is-dense .city-marker:focus-visible .city-marker-name, .map-geo.is-dense .city-marker.is-active .city-marker-name { opacity: 1; transform: translateY(0); } .city-marker:focus-visible .city-marker-halo { stroke: var(--blue); stroke-width: 3; } .city-panel { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 4vw, 38px); border-left: 1px solid var(--line); background: rgba(255, 253, 247, 0.96); } .city-panel-heading { padding-bottom: 22px; border-bottom: 1px solid var(--line); } .city-panel-heading .eyebrow { margin-bottom: 8px; color: var(--coral); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; } .city-panel-heading h2 { font-size: clamp(34px, 4vw, 48px); } .city-panel-heading > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 14px; } .city-people { display: grid; gap: 10px; padding: 22px 0; max-height: 480px; overflow-y: auto; scrollbar-width: thin; } .map-person { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color 160ms ease, transform 160ms ease; } .map-person:hover, .map-person:focus-visible { transform: translateX(3px); border-color: rgba(55, 109, 90, 0.42); } .map-person-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(rgba(31, 43, 42, 0.12), rgba(31, 43, 42, 0.12)), var(--avatar-image, linear-gradient(135deg, var(--green), var(--sun))); background-position: center; background-size: cover; color: #fff; font-size: 12px; font-weight: 900; } .map-person > span:nth-child(2) { min-width: 0; display: grid; } .map-person strong, .map-person small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .map-person small { color: var(--muted); } .map-person > i { color: var(--green); font-size: 12px; } .map-privacy-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; align-items: start; margin-top: auto; padding: 15px; border-radius: 10px; background: var(--soft); color: var(--muted); } .map-privacy-note > i { margin-top: 4px; color: var(--green); } .map-privacy-note p, .map-privacy-note span { margin: 0; } .map-privacy-note p { display: grid; gap: 2px; font-size: 12px; } .map-privacy-note strong { color: var(--ink); font-size: 13px; } .city-directory { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; } @media (max-width: 900px) { .map-summary { grid-template-columns: repeat(3, 1fr); } .map-summary > p { grid-column: 1 / -1; border-top: 1px solid var(--line); } .class-map-shell { grid-template-columns: 1fr; } .class-map, .class-map-shell { min-height: 600px; } .city-panel { min-height: 340px; border-top: 1px solid var(--line); border-left: 0; } } @media (max-width: 560px) { .map-summary { grid-template-columns: repeat(3, 1fr); } .map-summary > div { min-height: 78px; padding: 14px 10px; text-align: center; } .map-summary > div:last-of-type { border-right: 0; } .map-summary strong { font-size: 25px; } .map-summary > p { padding: 14px; } .class-map, .class-map-shell { min-height: 470px; } .map-caption { top: 18px; left: 18px; } .map-geo { inset: 52px -8% 20px; width: 116%; height: calc(100% - 72px); } .map-source { left: 14px; bottom: 10px; } .city-marker-name { font-size: 13px; } .city-panel { padding: 22px 18px; } } @media (prefers-reduced-motion: reduce) { .city-marker { opacity: 1; animation: none; } } .data-guide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr); gap: clamp(22px, 4vw, 46px); align-items: start; margin-bottom: 26px; padding: clamp(22px, 4vw, 32px); border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 28px rgba(39, 55, 52, 0.06); } .data-guide h2 { margin-bottom: 14px; font-size: clamp(24px, 3vw, 34px); } .data-guide p { margin: 0; color: var(--muted); } .data-guide code { color: var(--green); font-weight: 800; } .data-guide ol { display: grid; gap: 12px; margin: 0; padding-left: 22px; color: var(--muted); } .data-guide li::marker { color: var(--green); font-weight: 800; } .data-guide strong { color: var(--ink); } .page-grid { align-items: stretch; } .scrapbook-section { padding-top: clamp(48px, 7vw, 92px); } .scrapbook { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 26px); align-items: start; padding-block: 18px 36px; } .scrap-photo { --rotate: 0deg; --shift: 0px; grid-column: span 4; transform: translateY(var(--shift)) rotate(var(--rotate)); transform-origin: center; } .scrap-photo:nth-child(6n + 1) { --rotate: -2.2deg; --shift: 18px; grid-column: span 5; } .scrap-photo:nth-child(6n + 2) { --rotate: 1.6deg; --shift: -8px; grid-column: span 3; } .scrap-photo:nth-child(6n + 3) { --rotate: -0.8deg; --shift: 36px; grid-column: span 4; } .scrap-photo:nth-child(6n + 4) { --rotate: 2.4deg; --shift: -2px; grid-column: span 4; } .scrap-photo:nth-child(6n + 5) { --rotate: -1.4deg; --shift: 28px; grid-column: span 3; } .scrap-photo:nth-child(6n) { --rotate: 1.1deg; --shift: 8px; grid-column: span 5; } .scrap-frame { display: block; padding: 10px 10px 16px; border: 1px solid rgba(31, 43, 42, 0.1); border-radius: 4px; background: #fffef9; box-shadow: 0 18px 38px rgba(39, 55, 52, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.7); } .scrap-link { cursor: zoom-in; transition: box-shadow 180ms ease, transform 180ms ease; } .scrap-link:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(39, 55, 52, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.7); } .scrap-image { width: 100%; border-radius: 3px; } .scrap-image-file { height: auto; background: #f7f2e7; } .scrap-placeholder { min-height: clamp(190px, 24vw, 320px); background: var(--scrap-image, linear-gradient(135deg, #376d5a, #e8a84c)); background-size: cover; background-position: center; } .scrap-photo:nth-child(4n + 2) .scrap-placeholder { background: var(--scrap-image, linear-gradient(135deg, #456f94, #f0c66d)); } .scrap-photo:nth-child(4n + 3) .scrap-placeholder { background: var(--scrap-image, linear-gradient(135deg, #c96452, #f1d9a6)); } .scrap-photo:nth-child(4n) .scrap-placeholder { background: var(--scrap-image, linear-gradient(135deg, #263e5c, #7ab28b)); } .scrap-copy { padding: 12px 4px 0; } .scrap-copy strong { display: block; font-size: 18px; line-height: 1.35; } .scrap-copy span { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; } .person { min-height: 210px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; } .person-link { display: block; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; } .person-link:hover { transform: translateY(-3px); border-color: rgba(55, 109, 90, 0.34); box-shadow: 0 16px 38px rgba(39, 55, 52, 0.12); } .person-photo, .profile-photo { min-height: 150px; display: grid; place-items: center; color: #fffdf7; background: linear-gradient(0deg, rgba(31, 43, 42, 0.28), rgba(31, 43, 42, 0.04)), var(--person-photo, linear-gradient(135deg, var(--accent), #e8a84c)); background-size: cover; background-position: center; } .person-photo span, .profile-photo span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255, 253, 247, 0.4); border-radius: 50%; background: rgba(31, 43, 42, 0.28); font-weight: 900; backdrop-filter: blur(8px); } .person-body { padding: 20px 22px 22px; } .person-meta, .keyword-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; } .person-meta span, .keyword-row span { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; color: var(--green); background: color-mix(in srgb, var(--green), white 88%); font-size: 13px; font-weight: 800; } .person:nth-child(1) { --accent: var(--green); } .person:nth-child(2) { --accent: var(--blue); } .person:nth-child(3) { --accent: var(--coral); } .person:nth-child(4) { --accent: #7b6b3a; } .person:nth-child(5) { --accent: #4d796d; } .person:nth-child(6) { --accent: #755c86; } .person:nth-child(7) { --accent: #8b5f4d; } .person:nth-child(8) { --accent: #2f6f79; } .person-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(28px, 5vw, 70px); align-items: end; } .profile-card { padding: 24px; border: 1px solid rgba(255, 253, 247, 0.22); border-radius: 8px; background: rgba(255, 253, 247, 0.1); backdrop-filter: blur(12px); } .profile-photo { min-height: 230px; margin-bottom: 22px; border-radius: 6px; --accent: #f1c979; } .profile-photo span { width: 72px; height: 72px; font-size: 24px; } .profile-card dl { display: grid; gap: 14px; margin: 0; } .profile-card div { display: grid; gap: 2px; } .profile-card dt { color: rgba(255, 253, 247, 0.58); font-size: 13px; } .profile-card dd { margin: 0; color: #fffdf7; font-weight: 800; } .detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .detail-panel { min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 28px rgba(39, 55, 52, 0.06); } .detail-panel.wide { grid-column: 1 / -1; } .detail-panel .eyebrow { color: var(--blue); } .detail-panel h2 { margin-bottom: 16px; font-size: clamp(24px, 3vw, 34px); } .detail-panel p { margin: 0; color: var(--muted); } .keyword-row.large { margin: 0; } .keyword-row.large span { min-height: 40px; padding: 7px 14px; font-size: 15px; } .message-wall { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: stretch; } .message { min-height: 160px; padding: 24px; border-radius: 8px; background: #fff; border: 1px solid var(--line); } .message.featured { display: flex; flex-direction: column; justify-content: space-between; background: #24443a; color: #fffdf7; } .message.featured p { color: rgba(255, 253, 247, 0.86); font-size: clamp(20px, 3vw, 32px); line-height: 1.55; } .message cite { display: block; margin-top: 20px; color: var(--sun); font-style: normal; font-weight: 700; } .small-messages { display: grid; gap: 18px; } .sticky-message-band { background: linear-gradient(0deg, rgba(255, 253, 247, 0.45), rgba(255, 253, 247, 0.45)), var(--soft); } .message-preamble { margin-bottom: 24px; } .twikoo-empty-note { padding: 28px; border: 1px dashed rgba(55, 109, 90, 0.34); border-radius: 8px; background: #fffdf7; } .twikoo-empty-note h2 { margin-bottom: 10px; font-size: clamp(24px, 3vw, 34px); } .twikoo-empty-note p { margin: 0; color: var(--muted); } .twikoo-empty-note code { color: var(--green); font-weight: 800; } .exam-band { background: linear-gradient(0deg, rgba(244, 247, 238, 0.7), rgba(244, 247, 238, 0.7)), var(--paper); } .exam-band .section-inner { width: min(1400px, 100%); } .exam-workspace { display: block; padding-right: min(390px, 30vw); } .exam-paper { width: 100%; min-width: 0; margin: 0; padding: clamp(24px, 5vw, 58px); border: 1px solid var(--line); border-radius: 8px; background: #fffef9; box-shadow: var(--shadow); } .exam-paper p { margin: 0 0 12px; color: #33413f; font-size: 16px; line-height: 1.85; } .exam-paper math, .exam-paper mjx-container { color: var(--ink); font-size: 1.04em; } .exam-paper mjx-container[jax="CHTML"][display="true"] { margin: 18px 0 22px; overflow-x: auto; overflow-y: hidden; } .exam-paper .exam-title-line { margin-bottom: 4px; color: var(--ink); text-align: center; font-weight: 800; } .exam-paper .exam-title-line.major { font-size: clamp(24px, 4vw, 38px); line-height: 1.25; } .exam-paper h2 { margin: 34px 0 16px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--green); font-size: clamp(22px, 3vw, 30px); line-height: 1.45; } .exam-paper h3 { margin: 22px 0 10px; color: var(--blue); font-size: 19px; } .exam-candidate-info { display: grid; grid-template-columns: minmax(140px, 0.8fr) minmax(240px, 1.4fr) minmax(120px, 0.7fr); gap: 12px; margin-bottom: 18px; padding: 14px; border: 1px solid rgba(31, 43, 42, 0.12); border-radius: 8px; background: rgba(244, 247, 238, 0.58); } .exam-candidate-info label { display: grid; gap: 6px; } .exam-candidate-info span { color: var(--green); font-size: 13px; font-weight: 900; } .exam-candidate-info input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf7; color: var(--ink); font: inherit; } .exam-candidate-info input[readonly] { background: #f8f2e9; color: var(--muted); } .exam-question { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: start; margin: 22px 0 10px !important; color: var(--ink) !important; font-weight: 800; } .exam-question-block { scroll-margin-top: 96px; } .exam-question-number { min-width: 34px; min-height: 34px; display: inline-grid; place-items: center; border: 1px solid rgba(55, 109, 90, 0.28); border-radius: 8px; background: color-mix(in srgb, var(--green), white 90%); color: var(--green); font-size: 15px; line-height: 1; } .exam-question-text { padding-top: 1px; } .exam-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 8px 0 18px 48px; } .exam-option { min-height: 38px; display: flex; align-items: center; padding: 7px 10px; border: 1px solid rgba(31, 43, 42, 0.1); border-radius: 8px; background: rgba(244, 247, 238, 0.56); color: #33413f; font: inherit; line-height: 1.55; text-align: left; cursor: pointer; transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; } .exam-option:hover, .exam-option.is-selected { border-color: rgba(55, 109, 90, 0.45); background: color-mix(in srgb, var(--green), white 88%); color: var(--green); } .exam-option:hover { transform: translateY(-1px); } .exam-option math, .exam-option mjx-container { margin-left: 4px; } .exam-fill-answer { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; margin: 8px 0 18px 48px; padding: 12px; border: 1px solid rgba(31, 43, 42, 0.1); border-radius: 8px; background: rgba(244, 247, 238, 0.56); } .exam-fill-answer span { color: var(--green); font-weight: 900; } .exam-fill-answer input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf7; color: var(--ink); font: inherit; } .fill-inline-text { line-height: 2.25 !important; } .inline-fill-input { width: min(120px, 42vw); min-height: 34px; margin: 0 4px; padding: 5px 8px; border: 0; border-bottom: 2px solid rgba(55, 109, 90, 0.42); background: rgba(244, 247, 238, 0.72); color: var(--ink); font: inherit; text-align: center; } .name-fill-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 20px 48px; padding: 12px; border: 1px solid rgba(31, 43, 42, 0.1); border-radius: 8px; background: rgba(244, 247, 238, 0.56); } .name-fill-grid label, .image-title-answer { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; align-items: center; } .name-fill-grid span, .image-title-answer span { color: var(--green); font-size: 13px; font-weight: 900; text-align: center; } .name-fill-grid input, .image-title-answer input { width: 100%; min-height: 36px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf7; color: var(--ink); font: inherit; } .image-title-answer { padding: 10px; border-top: 1px solid var(--line); background: rgba(244, 247, 238, 0.56); } .exam-figure, .exam-image-grid figure { margin: 22px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; } .exam-figure img { width: 100%; max-height: 520px; object-fit: contain; padding: 14px; } .exam-figure figcaption, .exam-image-grid figcaption { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; } .exam-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 28px; } .exam-image-grid figure { margin: 0; } .exam-image-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .score-sidebar { position: fixed; z-index: 18; top: 86px; right: clamp(14px, 3vw, 38px); width: min(360px, calc(100vw - 28px)); max-height: calc(100vh - 108px); overflow: auto; scrollbar-gutter: stable; } .score-sidebar::before { content: ""; position: sticky; top: 0; z-index: -1; } .score-fab { display: none; } .score-panel { display: grid; gap: 12px; } .score-sidebar-head { padding: 18px 18px 4px; } .score-sidebar-head h2 { font-size: 28px; } .score-sidebar-head p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 14px; } .score-group, .score-total { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 28px rgba(39, 55, 52, 0.06); } .score-group { padding: 16px; } .score-group h3 { margin: 0 0 12px; color: var(--green); font-size: 20px; } .score-table { display: grid; gap: 8px; } .score-row { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 8px; align-items: center; } .score-head { color: var(--muted); font-size: 13px; font-weight: 800; } .score-number { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--blue), white 88%); color: var(--blue); font-weight: 900; } .score-row select, .score-row input, .manual-score-item input { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf7; color: var(--ink); font: inherit; } .score-row select, .score-row input { padding: 7px 10px; } .score-row output { color: var(--green); font-weight: 900; text-align: right; } .score-submit { min-height: 44px; border: 0; border-radius: 8px; background: var(--green); color: #fffdf7; font: inherit; font-weight: 900; cursor: pointer; transition: background 180ms ease, transform 180ms ease; } .score-submit:hover { transform: translateY(-1px); background: #2f5f4e; } .score-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; } .score-note code { color: var(--green); font-weight: 900; } .answer-card-profile dl { display: grid; gap: 10px; margin: 0; } .answer-card-profile div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: baseline; } .answer-card-profile dt { color: var(--muted); font-size: 13px; font-weight: 900; } .answer-card-profile dd { min-width: 0; margin: 0; color: var(--ink); font-weight: 900; overflow-wrap: anywhere; } .answer-card-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } .answer-card-number { min-height: 38px; border: 1px solid rgba(31, 43, 42, 0.14); border-radius: 8px; background: #f8f2e9; color: var(--muted); font: inherit; font-weight: 900; cursor: pointer; transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; } .answer-card-number[data-kind="manual"] { background: color-mix(in srgb, var(--blue), white 90%); color: var(--blue); } .answer-card-number.is-answered { border-color: rgba(55, 109, 90, 0.42); background: color-mix(in srgb, var(--green), white 84%); color: var(--green); } .answer-card-number:hover { transform: translateY(-1px); border-color: rgba(232, 168, 76, 0.78); color: var(--ink); } .answer-card-legend { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 12px; color: var(--muted); font-size: 13px; font-weight: 800; } .answer-card-legend span { display: inline-flex; align-items: center; gap: 6px; } .answer-card-legend i { width: 10px; height: 10px; border-radius: 50%; background: #f8f2e9; border: 1px solid rgba(31, 43, 42, 0.14); } .answer-card-legend i.is-answered { background: color-mix(in srgb, var(--green), white 72%); border-color: rgba(55, 109, 90, 0.42); } .answer-card-legend i.is-manual { background: color-mix(in srgb, var(--blue), white 76%); border-color: rgba(69, 111, 148, 0.34); } .manual-score-grid { display: grid; grid-template-columns: 1fr; gap: 8px; } .manual-score-item { display: grid; grid-template-columns: 1fr 74px auto; gap: 8px; align-items: center; padding: 10px; border: 1px solid rgba(31, 43, 42, 0.1); border-radius: 8px; background: rgba(244, 247, 238, 0.56); } .manual-score-item span { font-weight: 800; } .manual-score-item input { padding: 6px 8px; text-align: center; } .manual-score-item small { color: var(--muted); white-space: nowrap; } .score-total { display: grid; grid-template-columns: 1fr; overflow: hidden; } .score-total > div { display: grid; gap: 6px; padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); } .score-total > div:last-child { border-bottom: 0; } .score-total span { color: var(--muted); font-size: 14px; font-weight: 800; } .score-total strong { color: var(--green); font-size: 34px; line-height: 1; } .score-total strong small { margin-left: 4px; color: var(--muted); font-size: 14px; font-weight: 800; } .score-total-final { background: #24443a; } .score-total-final span { color: rgba(255, 253, 247, 0.72); } .score-total-final strong { color: var(--sun); } .score-total-final strong small { color: rgba(255, 253, 247, 0.56); } .score-total-note, .result-score-note { margin: -2px 0 0; color: var(--muted); font-size: 13px; font-weight: 800; line-height: 1.6; } .result-band { background: var(--soft); } .result-card { padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: 8px; background: #fffef9; box-shadow: var(--shadow); } .result-empty { text-align: center; } .result-empty h2 { margin-bottom: 12px; font-size: clamp(26px, 3vw, 36px); } .result-empty p { margin: 0 auto; color: var(--muted); } .result-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; margin-bottom: 24px; } .result-head h2 { font-size: clamp(28px, 4vw, 44px); } .result-profile, .result-score-grid, .analysis-grid { display: grid; gap: 12px; } .result-profile { grid-template-columns: repeat(3, 1fr); margin: 0 0 20px; } .result-profile div, .result-score-grid > div, .analysis-grid p { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; } .result-profile dt, .result-score-grid span, .analysis-grid span { display: block; color: var(--muted); font-size: 13px; font-weight: 900; } .result-profile dd { margin: 4px 0 0; color: var(--ink); font-weight: 900; } .result-score-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; margin-bottom: 24px; } .result-score-grid strong { display: inline-block; margin-top: 8px; color: var(--green); font-size: clamp(34px, 5vw, 58px); line-height: 1; } .result-score-grid small { margin-left: 6px; color: var(--muted); font-weight: 900; } .result-total { background: #24443a !important; } .result-total span { color: rgba(255, 253, 247, 0.72); } .result-total strong { color: var(--sun); } .result-total small { color: rgba(255, 253, 247, 0.58); } .result-name-score strong { color: var(--coral); } .result-analysis h2 { margin-bottom: 14px; font-size: clamp(24px, 3vw, 34px); } .analysis-grid { grid-template-columns: repeat(4, 1fr); } .analysis-grid strong { display: block; color: var(--green); font-size: 24px; line-height: 1.2; } .result-comment { margin: 18px 0 0; color: var(--muted); font-weight: 800; } .penalty-note { display: grid; gap: 6px; margin-top: 16px; padding: 14px; border: 1px solid rgba(201, 100, 82, 0.28); border-radius: 8px; background: color-mix(in srgb, var(--coral), white 90%); color: #8d3f32; font-weight: 900; } .penalty-note span { color: #8d3f32; } .ending { text-align: center; background: #1f2b2a; color: #fffdf7; } .ending .section-inner { max-width: 780px; } .ending p { margin: 20px auto 0; color: rgba(255, 253, 247, 0.78); } .site-footer { display: grid; justify-items: center; gap: 14px; padding: 28px 24px; color: rgba(255, 253, 247, 0.58); background: #1f2b2a; text-align: center; font-size: 14px; } /* WeChat publication archive */ .publication-band { color: #fffdf7; background: radial-gradient(circle at 90% 10%, rgba(232, 168, 76, 0.18), transparent 28%), linear-gradient(145deg, #172522, #294a40); } .publication-title { align-items: start; } .publication-title .eyebrow { margin: 0 0 14px; } .publication-title > p { color: rgba(255, 253, 247, 0.7); } .featured-articles { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; } .article-card { min-height: 210px; display: grid; grid-template-columns: 180px 1fr; overflow: hidden; border: 1px solid rgba(255, 253, 247, 0.15); border-radius: 10px; background: rgba(255, 253, 247, 0.08); transition: transform 180ms ease, background 180ms ease; } .article-card:hover { transform: translateY(-4px); background: rgba(255, 253, 247, 0.12); } .article-card-featured { grid-row: span 2; grid-template-columns: 1fr; } .article-cover, .archive-cover { position: relative; min-height: 170px; background: linear-gradient(0deg, rgba(20, 32, 29, 0.48), rgba(20, 32, 29, 0.06)), var(--article-cover, linear-gradient(135deg, #376d5a, #e8a84c)); background-position: center; background-size: cover; } .article-card-featured .article-cover { min-height: 300px; } .article-cover > span { position: absolute; top: 16px; left: 16px; padding: 5px 10px; border-radius: 999px; background: rgba(23, 37, 34, 0.72); font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); } .article-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; } .article-copy time { color: #f3cf8b; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; } .article-copy h3 { margin: 8px 0 10px; font-size: 21px; line-height: 1.35; } .article-card-featured .article-copy h3 { font-size: clamp(24px, 3vw, 34px); } .article-copy p { display: -webkit-box; overflow: hidden; margin: 0; color: rgba(255, 253, 247, 0.68); font-size: 14px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .read-more { margin-top: auto; padding-top: 18px; color: #f3cf8b; font-size: 13px; font-weight: 800; } .read-more i, .archive-read i { margin-left: 5px; font-size: 11px; } .publication-link { border-color: rgba(255, 253, 247, 0.2); color: #fffdf7; background: rgba(255, 253, 247, 0.08); } .publication-hero { background: radial-gradient(circle at 82% 30%, rgba(232, 168, 76, 0.28), transparent 25%), linear-gradient(135deg, #172522, #376d5a); } .article-archive { padding-top: clamp(36px, 5vw, 64px); } .archive-tools { position: sticky; z-index: 5; top: 16px; display: grid; gap: 14px; margin-bottom: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 253, 247, 0.92); box-shadow: 0 14px 40px rgba(39, 55, 52, 0.1); backdrop-filter: blur(16px); } .article-search { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); } .article-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(55, 109, 90, 0.12); } .article-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; } .category-filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; } .category-filters button { flex: 0 0 auto; min-height: 36px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; } .category-filters button span { margin-left: 4px; opacity: 0.65; } .category-filters button.is-active { border-color: var(--green); background: var(--green); color: #fff; } .archive-status { margin: 0 0 18px; color: var(--muted); font-size: 14px; } .article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .archive-card { min-height: 220px; display: grid; grid-template-columns: 180px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 8px 28px rgba(39, 55, 52, 0.06); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; } .archive-card:hover { transform: translateY(-3px); border-color: rgba(55, 109, 90, 0.34); box-shadow: 0 16px 38px rgba(39, 55, 52, 0.12); } .archive-card[hidden] { display: none; } .archive-cover { display: grid; place-items: center; } .archive-cover > span { color: rgba(255, 255, 255, 0.82); font-size: 30px; font-weight: 900; letter-spacing: 0.1em; } .archive-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 20px; } .archive-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 800; } .archive-meta span { color: var(--green); } .archive-copy h2 { display: -webkit-box; overflow: hidden; margin: 10px 0 8px; font-size: 19px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .archive-copy p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .archive-read { margin-top: auto; padding-top: 14px; color: var(--green); font-size: 12px; font-weight: 800; } .archive-empty { padding: 80px 20px; text-align: center; color: var(--muted); } .archive-empty span { color: var(--ink); font-size: 22px; font-weight: 800; } .archive-empty p { margin: 8px 0 0; } .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } @media (max-width: 920px) { .featured-articles, .article-list { grid-template-columns: 1fr; } .article-card-featured { grid-row: auto; } .article-card-featured .article-cover { min-height: 260px; } } @media (max-width: 620px) { .article-card, .article-card-featured, .archive-card { grid-template-columns: 1fr; } .article-card .article-cover, .article-card-featured .article-cover, .archive-cover { min-height: 210px; } .archive-tools { top: 8px; margin-inline: -8px; } } .site-footer p { margin: 0; } .footer-meta { color: rgba(255, 253, 247, 0.42); font-size: 12px; } .footer-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } .footer-contacts a { position: relative; min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255, 253, 247, 0.18); border-radius: 8px; color: #fffdf7; background: rgba(255, 253, 247, 0.06); transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; } .footer-contacts .has-qr { cursor: default; } .footer-contacts a:hover { transform: translateY(-2px); border-color: rgba(241, 201, 121, 0.58); background: rgba(255, 253, 247, 0.12); } .footer-contacts i { font-size: 18px; } .footer-contacts span { font-size: 13px; font-weight: 700; } .contact-qr { position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: 5; width: 156px; display: grid; gap: 8px; justify-items: center; padding: 12px; border: 1px solid rgba(31, 43, 42, 0.12); border-radius: 8px; background: #fffdf7; color: var(--ink); box-shadow: 0 18px 44px rgba(13, 20, 19, 0.28); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity 180ms ease, transform 180ms ease; } .contact-qr::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: #fffdf7; border-right: 1px solid rgba(31, 43, 42, 0.12); border-bottom: 1px solid rgba(31, 43, 42, 0.12); transform: translateX(-50%) rotate(45deg); } .contact-qr img { width: 132px; height: 132px; object-fit: contain; border-radius: 4px; background: #f4f7ee; } .contact-qr small { color: var(--muted); font-size: 12px; line-height: 1.3; } .footer-contacts a:hover .contact-qr, .footer-contacts a:focus-visible .contact-qr { opacity: 1; transform: translate(-50%, 0); } @media (max-width: 1040px) and (min-width: 821px) { .memory-grid { grid-template-columns: 1fr; } .memory-calendar { position: static; } } @media (max-width: 820px) { .memory-calendar { position: static; } body:has(.score-sidebar) { padding-bottom: 86px; } .site-header { position: absolute; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 12px; } .nav-toggle { display: grid; } .nav { position: fixed; top: 68px; left: 16px; right: 16px; display: grid; gap: 4px; padding: 10px; border: 1px solid rgba(255, 253, 247, 0.22); border-radius: 8px; background: rgba(31, 43, 42, 0.94); box-shadow: 0 18px 44px rgba(13, 20, 19, 0.28); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease; backdrop-filter: blur(16px); } .nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 12px; border-radius: 7px; opacity: 1; } .nav a:hover { background: rgba(255, 253, 247, 0.12); } .site-header.is-open { background: linear-gradient(180deg, rgba(22, 30, 29, 0.72), rgba(22, 30, 29, 0)); } .site-header.is-open .nav { opacity: 1; pointer-events: auto; transform: translateY(0); } .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; } .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .hero { min-height: 88vh; padding-top: 92px; } .stats, .section-title, .on-this-day-shell, .on-this-day-heading, .message-wall, .twikoo-sticky-wall .tk-comments, .twikoo-sticky-wall .tk-comments-container, .twikoo-sticky-wall .tk-comments-list, .person-hero-inner, .detail-grid, .data-guide, .score-total { grid-template-columns: 1fr; } .exam-workspace { padding-right: 0; } .score-fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255, 253, 247, 0.62); border-radius: 50%; background: var(--green); color: #fffdf7; box-shadow: 0 16px 38px rgba(13, 20, 19, 0.28); font: inherit; font-size: 22px; font-weight: 900; line-height: 1; cursor: pointer; transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease; } .score-fab[aria-expanded="true"] { background: var(--coral); transform: scale(1.04); } .score-sidebar { position: fixed; top: auto; left: 12px; right: 12px; bottom: 88px; width: auto; max-height: min(64vh, 560px); border-radius: 10px; background: rgba(255, 253, 247, 0.96); box-shadow: 0 18px 44px rgba(13, 20, 19, 0.22); opacity: 0; pointer-events: none; transform: translateY(14px) scale(0.98); transform-origin: bottom right; transition: opacity 180ms ease, transform 180ms ease; } .score-sidebar.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); } .score-panel { gap: 8px; } .score-sidebar-head { position: sticky; top: 0; z-index: 1; padding: 12px 14px 8px; border-bottom: 1px solid var(--line); background: rgba(255, 253, 247, 0.98); } .score-sidebar-head h2 { font-size: 24px; } .score-sidebar-head p:not(.eyebrow), .answer-card-legend, .score-note { font-size: 12px; } .score-sidebar-head p:not(.eyebrow), .answer-card-profile, .score-total-note { display: none; } .score-group { padding: 12px; } .answer-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .answer-card-number { min-height: 34px; border-radius: 7px; } .answer-card-profile div { grid-template-columns: 64px minmax(0, 1fr); } .score-total strong { font-size: 28px; } .score-row { grid-template-columns: 42px minmax(0, 1fr); } .manual-score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .score-total { grid-template-columns: repeat(2, minmax(0, 1fr)); } .score-total > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); } .score-total > div:nth-child(even) { border-right: 0; } .score-total > div:nth-last-child(-n + 2) { border-bottom: 0; } .result-profile, .result-score-grid, .analysis-grid { grid-template-columns: 1fr; } .result-head { display: grid; } .result-head .score-submit { width: 100%; } .photo-grid, .people-grid { grid-template-columns: 1fr 1fr; } .scrapbook { grid-template-columns: repeat(6, 1fr); } .scrap-photo, .scrap-photo:nth-child(n) { grid-column: span 3; transform: none; } .moment { grid-template-columns: 1fr; } .moment > div { grid-column: auto; } .moment-link { padding-right: 22px; } .moment-link::after { position: static; margin-top: 10px; grid-column: auto; justify-self: start; } } @media (max-width: 560px) { section { padding-inline: 14px; } .memory-card { height: auto; grid-template-columns: 1fr; } .memory-card > img, .memory-card-visual { height: 190px; min-height: 0; } .memory-calendar { margin-inline: -4px; padding: 13px 9px; } .memory-calendar-head { align-items: stretch; flex-direction: column; } .memory-calendar-nav { justify-content: space-between; } .memory-calendar-today { width: 100%; } .memory-calendar-weekdays, .memory-calendar-grid { gap: 4px; } .memory-calendar-day, .memory-calendar-spacer { aspect-ratio: 1; } .hero-actions { display: grid; } .stats, .photo-grid, .people-grid { grid-template-columns: 1fr; } .stat { min-height: auto; } .memory-grid { grid-template-columns: 1fr; } .photo-card, .photo-card:nth-child(2), .photo-card:nth-child(4) { min-height: 220px; } .scrapbook { display: grid; grid-template-columns: 1fr; padding-block: 0; } .scrap-photo, .scrap-photo:nth-child(n) { grid-column: auto; } .twikoo-sticky-wall .tk-submit, .twikoo-sticky-wall .tk-comment { transform: none !important; } .scrap-placeholder { min-height: 220px; } .exam-paper { padding: 14px; border-radius: 0; } .exam-paper p { font-size: 15px; line-height: 1.78; } .exam-paper h2 { font-size: 20px; } .exam-candidate-info { grid-template-columns: 1fr; } .exam-question { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; margin-top: 18px !important; } .exam-question-number { min-width: 30px; min-height: 30px; font-size: 14px; } .exam-options { grid-template-columns: 1fr; gap: 8px; margin-left: 0; } .exam-option { min-height: 42px; padding: 8px 10px; } .exam-fill-answer { grid-template-columns: 1fr; margin-left: 0; } .name-fill-grid { grid-template-columns: 1fr 1fr; gap: 7px; margin-left: 0; padding: 10px; } .name-fill-grid label { grid-template-columns: 26px minmax(0, 1fr); } .inline-fill-input { width: min(96px, 54vw); min-height: 32px; } .exam-figure img { padding: 8px; } .exam-image-grid { grid-template-columns: 1fr; } .image-title-answer { grid-template-columns: 44px minmax(0, 1fr); } .score-sidebar { left: 8px; right: 8px; bottom: 82px; max-height: min(66vh, 520px); } .score-fab { right: 14px; bottom: 14px; width: 56px; height: 56px; } .score-group h3 { font-size: 18px; } .answer-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; } .answer-card-number { min-height: 32px; font-size: 14px; } .manual-score-item { grid-template-columns: 1fr 66px auto; padding: 8px; } .score-total > div { padding: 12px; } .result-card { padding: 18px; } .result-profile div, .result-score-grid > div, .analysis-grid p { padding: 14px; } .score-row, .score-head { grid-template-columns: 40px minmax(0, 1fr); } .score-row output { text-align: left; } .manual-score-grid { grid-template-columns: 1fr; } } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .search-section { padding-top: 0; } .search-app, .search-config-note { max-width: 1080px; margin: 0 auto; padding: clamp(20px, 4vw, 40px); background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); } .search-form > label, .search-filters label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; font-weight: 700; } .search-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; } .search-input-row input, .search-filters select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font: inherit; } .search-input-row input { padding: 0 16px; font-size: 17px; } .search-input-row input:focus, .search-filters select:focus { outline: 3px solid rgba(69, 111, 148, 0.2); border-color: var(--blue); } .search-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 12px; margin-top: 18px; } .search-filters select { padding: 0 38px 0 12px; } .search-clear { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: transparent; color: var(--muted); cursor: pointer; } .search-status { min-height: 26px; margin: 26px 0 14px; color: var(--muted); } .search-results { display: grid; gap: 14px; } .search-result-card { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); transition: transform 160ms ease, border-color 160ms ease; } .search-result-card:not(:has(img)) { grid-template-columns: 1fr; } .search-result-card:hover { transform: translateY(-2px); border-color: rgba(55, 109, 90, 0.42); } .search-result-card img { width: 148px; height: 112px; border-radius: 14px; object-fit: cover; } .search-result-card h2 { margin: 3px 0 6px; font-size: clamp(19px, 2vw, 24px); line-height: 1.35; } .search-result-card h2 a:hover { color: var(--green); } .search-result-card p { margin: 0; } .search-result-card div > p:last-child { display: -webkit-box; overflow: hidden; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .search-result-meta { color: var(--green); font-size: 13px; font-weight: 700; } .search-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; color: var(--muted); } .search-pagination button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer; } .search-pagination button:disabled { opacity: 0.4; cursor: not-allowed; } .search-config-note code { padding: 2px 6px; border-radius: 6px; background: var(--soft); } @media (max-width: 760px) { .search-filters { grid-template-columns: 1fr 1fr; } .search-result-card { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; } .search-result-card img { width: 104px; height: 92px; } } @media (max-width: 520px) { .search-input-row, .search-filters, .search-result-card { grid-template-columns: 1fr; } .search-input-row .button, .search-clear { width: 100%; } .search-result-card img { width: 100%; height: 180px; } } /* Shared component visual system */ .site-header { border-bottom: 1px solid rgba(255, 253, 248, 0.12); background: rgba(24, 58, 49, 0.9); box-shadow: 0 8px 30px rgba(13, 34, 28, 0.12); backdrop-filter: blur(18px) saturate(120%); } .brand { letter-spacing: 0.08em; } .nav a { padding: 6px 10px; border-radius: 999px; transition: color 160ms ease, background 160ms ease, opacity 160ms ease; } .nav a:hover, .nav a:focus-visible { background: rgba(255, 253, 248, 0.13); opacity: 1; } .hero { background-color: var(--green-deep); } .hero::before { background: linear-gradient(90deg, rgba(15, 35, 29, 0.86), rgba(20, 45, 38, 0.46) 52%, rgba(20, 45, 38, 0.18)), linear-gradient(0deg, rgba(15, 35, 29, 0.78), rgba(15, 35, 29, 0.05) 58%); } .eyebrow { color: #e4be73; letter-spacing: 0.12em; text-transform: uppercase; } .button, .back-link, .section-link { border-radius: 999px; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease; } .button:hover, .back-link:hover, .section-link:hover { transform: translateY(-2px); } .button.primary { border-color: #d7ad5c; background: #d7ad5c; color: #17332b; box-shadow: 0 10px 28px rgba(16, 42, 34, 0.24); } .button.primary:hover { border-color: #e4bf76; background: #e4bf76; box-shadow: 0 14px 34px rgba(16, 42, 34, 0.3); } .stats { background: rgba(30, 53, 45, 0.12); } .stat { background: var(--surface); } .stat strong { color: var(--green); letter-spacing: -0.03em; } .on-this-day-band { background: radial-gradient(circle at 8% 14%, rgba(199, 154, 69, 0.16), transparent 26%), linear-gradient(135deg, #f2ede0, var(--paper) 48%, #e9eee8); } .section-title h2 { text-wrap: balance; } .section-title h2::after { content: ""; display: block; width: 54px; height: 3px; margin-top: 18px; border-radius: 999px; background: var(--sun); } .moment, .memory-card, .person, .message, .detail-panel, .search-app, .search-config-note, .search-result-card { border-color: var(--line); border-radius: var(--radius); background-color: var(--surface); box-shadow: var(--shadow-soft); } .memory-calendar, .memory-empty, .profile-card, .article-card, .archive-card { border-radius: var(--radius); } .moment-link:hover, .memory-card:hover, .person-link:hover, .search-result-card:hover { border-color: rgba(33, 77, 64, 0.34); box-shadow: 0 18px 42px rgba(25, 48, 40, 0.12); } .gallery-band { background: #f0ede3; } .page-hero { background: radial-gradient(circle at 88% 18%, rgba(199, 154, 69, 0.2), transparent 25rem), linear-gradient(135deg, #152f28, #214d40 68%, #3f5e55); } .hero-inline-link, .article-copy time, .read-more { color: #e4be73; } .section-link { border-color: rgba(33, 77, 64, 0.22); background: var(--surface); box-shadow: 0 6px 18px rgba(25, 48, 40, 0.06); } .section-link:hover { border-color: var(--green); background: var(--green); color: var(--surface); box-shadow: 0 10px 24px rgba(25, 48, 40, 0.16); } .photo-card { border-radius: var(--radius); box-shadow: 0 14px 34px rgba(25, 48, 40, 0.13); } .photo-card:nth-child(4n + 1) { --tile-bg: linear-gradient(135deg, #214d40, #c79a45); } .photo-card:nth-child(4n + 2) { --tile-bg: linear-gradient(135deg, #3f5e55, #d2b77e); } .photo-card:nth-child(4n + 3) { --tile-bg: linear-gradient(135deg, #8d624e, #d7c29b); } .photo-card:nth-child(4n) { --tile-bg: linear-gradient(135deg, #183a31, #718d78); } .map-hero { background: radial-gradient(circle at 82% 34%, rgba(199, 154, 69, 0.25), transparent 23%), linear-gradient(135deg, #183a31, #315b4e 62%, #58736b); } .person:nth-child(1), .person:nth-child(5) { --accent: #214d40; } .person:nth-child(2), .person:nth-child(6) { --accent: #58736b; } .person:nth-child(3), .person:nth-child(7) { --accent: #a86d51; } .person:nth-child(4), .person:nth-child(8) { --accent: #8b7645; } .person-photo, .profile-photo { background: linear-gradient(0deg, rgba(24, 58, 49, 0.3), rgba(24, 58, 49, 0.02)), var(--person-photo, linear-gradient(135deg, var(--accent), #c79a45)); } .person-meta span, .keyword-row span { color: var(--green); background: color-mix(in srgb, var(--green), var(--surface) 90%); } .message.featured { background: radial-gradient(circle at 100% 0, rgba(199, 154, 69, 0.2), transparent 45%), var(--green-deep); } .publication-band { background: radial-gradient(circle at 90% 10%, rgba(199, 154, 69, 0.18), transparent 28%), linear-gradient(145deg, #132e27, #214d40); } .article-card { border-color: rgba(255, 253, 248, 0.16); background: rgba(255, 253, 248, 0.07); box-shadow: none; } .article-card:hover { border-color: rgba(228, 190, 115, 0.34); background: rgba(255, 253, 248, 0.12); } .ending, .site-footer { background: #142f28; } .ending { border-top: 1px solid rgba(228, 190, 115, 0.2); } .search-app, .search-config-note { border-radius: var(--radius-large); background: rgba(255, 253, 248, 0.88); } .search-input-row input, .search-filters select { border-radius: 10px; background: var(--surface); } .search-input-row input:focus, .search-filters select:focus, .memory-calendar-jump input:focus, .memory-calendar-jump select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(33, 77, 64, 0.12); } a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(199, 154, 69, 0.58); outline-offset: 3px; } @media (max-width: 820px) { .nav { border-color: rgba(255, 253, 248, 0.14); background: rgba(20, 47, 40, 0.98); } .site-header.is-open { background: rgba(20, 47, 40, 0.98); } .nav a { border-radius: 8px; } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; } } /* Youthful summer-campus palette */ .site-header { border-bottom-color: rgba(255, 255, 255, 0.18); background: linear-gradient(105deg, rgba(21, 107, 112, 0.94), rgba(47, 119, 184, 0.92)); box-shadow: 0 8px 30px rgba(24, 93, 122, 0.16); } .nav a:hover, .nav a:focus-visible { background: rgba(255, 255, 255, 0.16); } .hero::before { background: linear-gradient(90deg, rgba(13, 77, 83, 0.82), rgba(27, 103, 124, 0.38) 54%, rgba(36, 112, 154, 0.12)), linear-gradient(0deg, rgba(14, 78, 86, 0.7), rgba(14, 78, 86, 0.03) 60%); } .eyebrow, .hero-inline-link, .article-copy time, .read-more { color: #ffe09b; } .button.primary { border-color: #ffd166; background: #ffd166; color: #174b57; box-shadow: 0 10px 28px rgba(18, 79, 94, 0.22); } .button.primary:hover { border-color: #ffdc85; background: #ffdc85; box-shadow: 0 14px 34px rgba(18, 79, 94, 0.28); } .stats { background: rgba(37, 112, 137, 0.14); } .on-this-day-band { background: radial-gradient(circle at 8% 14%, rgba(255, 209, 102, 0.24), transparent 26%), radial-gradient(circle at 94% 82%, rgba(63, 126, 219, 0.1), transparent 28%), linear-gradient(135deg, #fff8e8, var(--paper) 48%, #e7f7f4); } .section-title h2::after { background: linear-gradient(90deg, var(--coral), var(--sun)); } .moment-link:hover, .memory-card:hover, .person-link:hover, .search-result-card:hover { border-color: rgba(31, 154, 138, 0.42); box-shadow: 0 18px 42px rgba(31, 103, 126, 0.14); } .gallery-band { background: linear-gradient(135deg, #edf8ff, #e9f8f4); } .page-hero { background: radial-gradient(circle at 88% 18%, rgba(255, 209, 102, 0.3), transparent 24rem), radial-gradient(circle at 8% 92%, rgba(242, 118, 107, 0.18), transparent 22rem), linear-gradient(135deg, #116b73, #248fa2 56%, #3f7edb); } .section-link { border-color: rgba(31, 154, 138, 0.26); } .section-link:hover { box-shadow: 0 10px 24px rgba(31, 103, 126, 0.18); } .photo-card { box-shadow: 0 14px 34px rgba(31, 103, 126, 0.15); } .photo-card:nth-child(4n + 1) { --tile-bg: linear-gradient(135deg, #1f9a8a, #ffd166); } .photo-card:nth-child(4n + 2) { --tile-bg: linear-gradient(135deg, #3f7edb, #7eddd1); } .photo-card:nth-child(4n + 3) { --tile-bg: linear-gradient(135deg, #f2766b, #ffd38a); } .photo-card:nth-child(4n) { --tile-bg: linear-gradient(135deg, #5369d8, #65d6bb); } .map-hero { background: radial-gradient(circle at 82% 34%, rgba(255, 209, 102, 0.32), transparent 23%), linear-gradient(135deg, #156b70, #2498a0 58%, #3f7edb); } .person:nth-child(1), .person:nth-child(5) { --accent: #1f9a8a; } .person:nth-child(2), .person:nth-child(6) { --accent: #3f7edb; } .person:nth-child(3), .person:nth-child(7) { --accent: #f2766b; } .person:nth-child(4), .person:nth-child(8) { --accent: #e8ad36; } .person-photo, .profile-photo { background: linear-gradient(0deg, rgba(21, 107, 112, 0.3), rgba(21, 107, 112, 0.02)), var(--person-photo, linear-gradient(135deg, var(--accent), #ffd166)); } .message.featured { background: radial-gradient(circle at 100% 0, rgba(255, 209, 102, 0.3), transparent 45%), linear-gradient(135deg, var(--green-deep), #3489b3); } .publication-band { background: radial-gradient(circle at 90% 10%, rgba(255, 209, 102, 0.22), transparent 28%), radial-gradient(circle at 10% 90%, rgba(242, 118, 107, 0.18), transparent 24%), linear-gradient(145deg, #155f72, #256fa8); } .article-card:hover { border-color: rgba(255, 224, 155, 0.42); } .ending, .site-footer { background: #155264; } .ending { border-top-color: rgba(255, 224, 155, 0.28); } .search-input-row input:focus, .search-filters select:focus, .memory-calendar-jump input:focus, .memory-calendar-jump select:focus { box-shadow: 0 0 0 3px rgba(31, 154, 138, 0.14); } a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: rgba(242, 118, 107, 0.5); } @media (max-width: 820px) { .nav, .site-header.is-open { border-color: rgba(255, 255, 255, 0.16); background: rgba(18, 101, 111, 0.98); } }