@charset "UTF-8";

:root {
  color-scheme: light;
  --text: #172033;
  --text-soft: #4b5568;
  --muted: #8992a3;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --glass: rgba(255, 255, 255, 0.5);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.58);
  --card-solid: rgba(255, 255, 255, 0.94);
  --shadow: 0 14px 40px rgba(51, 65, 85, 0.14);
  --bg-blur: 18px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --text: #f1f5f9;
  --text-soft: #cbd5e1;
  --muted: #8d99ab;
  --primary: #818cf8;
  --primary-light: #a5b4fc;
  --glass: rgba(15, 23, 42, 0.55);
  --glass-strong: rgba(15, 23, 42, 0.78);
  --glass-border: rgba(255, 255, 255, 0.11);
  --card-solid: rgba(15, 23, 42, 0.96);
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--text); font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
button { border: 0; background: none; cursor: pointer; }
[hidden] { display: none !important; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-background { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #dfe8dd; }
.site-background__image { position: absolute; inset: -36px; background: url("../images/231ebc981af9847457462d4def81f726.webp") center / cover no-repeat; filter: blur(var(--bg-blur)); transform: scale(1.08); transition: background-image .6s ease, filter .3s ease; }
.site-background__overlay { position: absolute; inset: 0; background: rgba(255, 255, 255, .1); transition: background .5s ease; }
:root[data-theme="dark"] .site-background { background: #020617; }
:root[data-theme="dark"] .site-background__overlay { background: rgba(0, 0, 0, .64); }

.glass { background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.icon-button { width: 36px; height: 36px; padding: 0; border-radius: 11px; display: inline-grid; place-items: center; color: var(--text-soft); transition: background .2s, color .2s, transform .2s; }
a.icon-button { text-decoration: none; }
a.icon-button:hover { color: var(--text); }
.icon-button:hover { color: var(--primary); background: rgba(255, 255, 255, .45); transform: translateY(-1px); }
:root[data-theme="dark"] .icon-button:hover { background: rgba(255, 255, 255, .08); }
.nav-user img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--glass-border); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: 64px; background: rgba(255, 255, 255, .68); border-bottom: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 4px 24px rgba(51, 65, 85, .07); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
:root[data-theme="dark"] .site-header { background: rgba(15, 23, 42, .76); border-color: rgba(255, 255, 255, .08); }
.nav-shell { max-width: 1480px; height: 64px; padding: 0 28px; margin: auto; display: flex; align-items: center; gap: 18px; }
.brand { flex: none; font-family: "Noto Serif SC", "Songti SC", SimSun, serif; font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.brand span { margin: 0 2px; color: #38bdf8; font-style: italic; }
.nav-links { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav-links a { position: relative; display: flex; align-items: center; gap: 4px; padding: 8px 7px; border-radius: 10px; color: var(--text-soft); font-size: 12px; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a svg { font-size: 13px; }
.nav-links a:hover, .nav-links a.active { color: #2563eb; background: rgba(255, 255, 255, .42); }
:root[data-theme="dark"] .nav-links a:hover, :root[data-theme="dark"] .nav-links a.active { color: #7dd3fc; background: rgba(255, 255, 255, .06); }
.nav-links a.active::after { content: ""; position: absolute; bottom: -13px; left: 50%; width: 14px; height: 2px; border-radius: 2px; background: #60a5fa; transform: translateX(-50%); }
.nav-actions { display: flex; align-items: center; gap: 3px; }
.sun-icon { display: none; }
:root[data-theme="dark"] .sun-icon { display: block; }
:root[data-theme="dark"] .moon-icon { display: none; }
.menu-toggle { display: none; }

.page-shell { position: relative; z-index: 2; width: min(1152px, 100%); margin: 0 auto; padding: 96px 40px 42px; }
.search-box { width: min(672px, 100%); height: 48px; margin: 0 auto 40px; padding: 0 18px; border-radius: 18px; display: flex; align-items: center; gap: 12px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: rgba(99, 102, 241, .55); box-shadow: 0 0 0 4px rgba(99, 102, 241, .1), var(--shadow); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }
.search-box input::placeholder { color: var(--muted); }
.search-box kbd { padding: 2px 6px; border: 1px solid var(--glass-border); border-radius: 5px; color: var(--muted); background: rgba(255, 255, 255, .25); font: 10px/1.4 inherit; }
.home-grid { display: flex; flex-direction: column; gap: 24px; }
.top-grid, .content-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: stretch; }

.profile-card { grid-column: span 8; min-width: 0; height: 280px; padding: 30px 32px; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.profile-main { display: flex; align-items: center; gap: 24px; }
.avatar-ring { flex: none; width: 96px; height: 96px; padding: 3px; border-radius: 50%; background: linear-gradient(135deg, #38bdf8, #818cf8 52%, #c084fc); box-shadow: 0 8px 20px rgba(99, 102, 241, .24); transition: transform .45s; }
.avatar-ring:hover { transform: scale(1.08) rotate(5deg); }
.avatar-ring img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 32% 30%; background: #fff; }
.profile-main h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.2; letter-spacing: 1px; }
.profile-main p { max-width: 480px; margin: 0; color: var(--text-soft); font-size: 14px; font-weight: 500; line-height: 1.75; }
.profile-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.stats { display: flex; align-items: center; gap: 25px; }
.stats a { min-width: 38px; text-align: center; }
.stats strong { display: block; font-size: 24px; line-height: 1.2; font-weight: 900; transition: transform .2s; }
.stats a:hover strong { transform: scale(1.13); }
.stats span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.stats i { width: 1px; height: 38px; background: rgba(100, 116, 139, .22); }
.indigo { color: #4f46e5; }.purple { color: #9333ea; }.pink { color: #db2777; }
:root[data-theme="dark"] .indigo { color: #a5b4fc; }:root[data-theme="dark"] .purple { color: #d8b4fe; }:root[data-theme="dark"] .pink { color: #f9a8d4; }
.social-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.social-links a { width: 40px; height: 40px; border: 1px solid var(--glass-border); border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .42); color: var(--text-soft); box-shadow: 0 3px 10px rgba(15, 23, 42, .04); transition: transform .25s, color .25s; }
.social-links a:hover { color: var(--primary); transform: translateY(-4px) scale(1.1); }
:root[data-theme="dark"] .social-links a { background: rgba(255, 255, 255, .05); }
.social-links svg { font-size: 18px; }.gitee { font-size: 18px; font-weight: 800; }

.music-card { grid-column: span 4; min-width: 0; height: 280px; padding: 24px; border-radius: 24px; display: flex; flex-direction: column; }
.music-top { display: flex; align-items: center; gap: 16px; }
.album-cover { flex: none; width: 76px; height: 76px; padding: 4px; border: 1px solid var(--glass-border); border-radius: 50%; background: rgba(255, 255, 255, .45); box-shadow: 0 7px 18px rgba(15, 23, 42, .1); }
.album-cover.playing { animation: spin 12s linear infinite; }
.album-cover img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.track-info { min-width: 0; }
.track-info > span, .eyebrow { display: block; margin-bottom: 5px; color: #4f46e5; font-size: 9px; font-weight: 900; letter-spacing: 1.8px; }
:root[data-theme="dark"] .track-info > span, :root[data-theme="dark"] .eyebrow { color: #a5b4fc; }
.track-info h2 { margin: 0 0 3px; font-size: 18px; }.track-info p { margin: 0; color: var(--text-soft); font-size: 12px; }
.music-bars { height: 22px; margin-left: auto; display: flex; align-items: flex-end; gap: 2px; opacity: .45; }
.music-bars i { width: 2px; height: 8px; background: var(--primary); border-radius: 2px; }
.music-bars i:nth-child(2) { height: 15px; }.music-bars i:nth-child(3) { height: 11px; }
.music-card.playing .music-bars i { animation: equalize .7s ease-in-out infinite alternate; }.music-card.playing .music-bars i:nth-child(2) { animation-delay: -.3s; }.music-card.playing .music-bars i:nth-child(3) { animation-delay: -.5s; }
.music-lyric { margin: 18px 0 12px; overflow: hidden; color: #6d28d9; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
:root[data-theme="dark"] .music-lyric { color: #c4b5fd; }
.music-progress { margin-top: auto; }
.time-row { display: flex; justify-content: space-between; margin-bottom: 3px; color: var(--text-soft); font-size: 10px; font-variant-numeric: tabular-nums; }
.range { --progress: 0%; width: 100%; height: 4px; margin: 8px 0; appearance: none; -webkit-appearance: none; border-radius: 10px; outline: none; background: linear-gradient(to right, var(--primary) 0 var(--progress), rgba(100, 116, 139, .22) var(--progress) 100%); cursor: pointer; }
.range::-webkit-slider-thumb { width: 12px; height: 12px; appearance: none; -webkit-appearance: none; border: 3px solid var(--primary); border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .18); }
.range::-moz-range-thumb { width: 7px; height: 7px; border: 3px solid var(--primary); border-radius: 50%; background: #fff; }
.player-controls { display: flex; align-items: center; justify-content: center; gap: 27px; margin-top: 8px; }
.player-controls button { width: 30px; height: 30px; padding: 5px; display: grid; place-items: center; color: var(--text-soft); }
.player-controls .play-button { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 5px 15px rgba(99, 102, 241, .36); transition: transform .2s; }
.play-button:hover { transform: scale(1.08); }.play-button svg { fill: currentColor; }

.lyric-bar { position: relative; height: 56px; padding: 0 26px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: rgba(15, 23, 42, .89); color: #fff; box-shadow: 0 12px 28px rgba(15, 23, 42, .17); }
.lyric-bar p { margin: 0; overflow: hidden; font-size: 13px; font-weight: 600; letter-spacing: 1px; white-space: nowrap; text-overflow: ellipsis; }
.lyric-bar p::after { content: ""; display: inline-block; width: 2px; height: 15px; margin-left: 4px; vertical-align: -2px; background: #a5b4fc; animation: blink 1s steps(1) infinite; }
.lyric-bar > svg { position: absolute; right: 24px; color: rgba(255, 255, 255, .15); font-size: 20px; }
.lyric-dots { position: absolute; left: 26px; color: rgba(255, 255, 255, .14); font-size: 13px; letter-spacing: 2px; }

.photo-wall { position: relative; grid-column: span 4; min-width: 0; min-height: 586px; border: 1px solid var(--glass-border); border-radius: 24px; overflow: hidden; background: var(--glass); box-shadow: var(--shadow); cursor: pointer; touch-action: pan-y; }
.photo-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity 1.1s ease, transform 5s ease; }
.photo-slide.active { opacity: 1; transform: scale(1); }
.photo-wall:hover .photo-slide.active { transform: scale(1.045); }
.photo-shade { position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(15, 23, 42, .58)); pointer-events: none; }
.photo-caption { position: absolute; left: 24px; bottom: 26px; display: flex; flex-direction: column; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); pointer-events: none; }
.photo-caption span { margin-bottom: 5px; font-size: 9px; font-weight: 800; letter-spacing: 2px; opacity: .72; }.photo-caption strong { font-size: 17px; letter-spacing: 1px; }
.carousel-dots { position: absolute; right: 22px; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 7px; }
.carousel-dots button { width: 7px; height: 6px; padding: 0; border-radius: 5px; background: rgba(255, 255, 255, .45); transition: width .35s, background .35s; }
.carousel-dots button.active { width: 24px; background: #f472b6; }
.content-column { grid-column: span 8; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.posts-block { display: flex; flex-direction: column; gap: 12px; }
.post-hero { position: relative; height: 250px; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.post-hero > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }.post-hero:hover > img { transform: scale(1.05); }
.post-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2, 6, 23, .88), rgba(2, 6, 23, .24) 60%, transparent); }
.post-info { position: absolute; inset: auto 0 0; padding: 22px; color: #fff; }
.post-tag { display: inline-block; margin-bottom: 7px; padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; background: rgba(255, 255, 255, .13); font-size: 9px; letter-spacing: 1px; backdrop-filter: blur(8px); }
.post-info h2 { margin: 0 0 6px; font-size: 23px; line-height: 1.3; }.post-info > p { margin: 0 0 10px; color: rgba(255, 255, 255, .7); font-size: 12px; }
.post-meta { display: flex; align-items: center; gap: 16px; color: rgba(255, 255, 255, .58); font-size: 10px; }.post-meta span { display: flex; align-items: center; gap: 4px; }
.post-thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.post-small { position: relative; height: 80px; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 7px 20px rgba(15, 23, 42, .12); }
.post-small::after { content: ""; position: absolute; inset: 0; background: rgba(2, 6, 23, .44); transition: background .3s; }.post-small:hover::after { background: rgba(2, 6, 23, .28); }
.post-small img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }.post-small:hover img { transform: scale(1.08); }
.post-small > div { position: absolute; inset: auto 11px 10px; z-index: 2; color: #fff; }.post-small h3 { margin: 0 0 3px; overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }.post-small span { color: rgba(255, 255, 255, .58); font-size: 9px; }
.search-hit { animation: highlight 1.2s ease 2; }

.lower-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; height: 220px; }
.chatter-wrap { position: relative; grid-column: span 8; min-width: 0; min-height: 220px; }
.chatter-card { position: absolute; inset: 0; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--card-solid); box-shadow: 0 9px 26px rgba(15, 23, 42, .1); opacity: 0; pointer-events: none; transform: translateY(12px) scale(.92); transition: transform .35s ease, opacity .35s ease; }
.chatter-card.active { z-index: 4; opacity: 1; pointer-events: auto; transform: none; cursor: grab; }.chatter-card.active:active { cursor: grabbing; }
.chatter-card.is-behind-1 { z-index: 3; opacity: .48; transform: translateY(7px) scale(.965); }.chatter-card.is-behind-2 { z-index: 2; opacity: .25; transform: translateY(12px) scale(.93); }
.chatter-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }.chatter-meta span { padding: 2px 8px; border-radius: 20px; background: rgba(14, 165, 233, .1); color: #0284c7; font-size: 10px; font-weight: 600; }.chatter-meta time { color: var(--muted); font-size: 10px; }
.chatter-card p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--text-soft); font-size: 13px; line-height: 1.7; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.chatter-images { display: flex; gap: 7px; margin-top: 10px; }.chatter-images img { width: 100px; height: 56px; border-radius: 9px; object-fit: cover; }
.chatter-card footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 10px; }.chatter-card footer > span { display: flex; align-items: center; gap: 5px; }.chatter-card footer small { font-size: 9px; opacity: .7; }
.chatter-dots { position: absolute; right: 20px; bottom: 15px; z-index: 7; display: none; gap: 5px; }.chatter-dots button { width: 5px; height: 5px; padding: 0; border-radius: 5px; background: #cbd5e1; }.chatter-dots button.active { width: 16px; background: #38bdf8; }
.diary-card { grid-column: span 4; height: 220px; padding: 20px; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; cursor: pointer; transition: transform .25s; }.diary-card:hover { transform: scale(1.015); }
.diary-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }.diary-heading > span { padding: 3px 7px; border-radius: 4px; background: rgba(255, 255, 255, .5); color: #ec4899; box-shadow: 0 2px 8px rgba(15, 23, 42, .05); font-size: 9px; font-weight: 900; letter-spacing: 1.5px; }
.diary-heading button { width: 28px; height: 28px; padding: 5px; border-radius: 8px; color: var(--muted); }.diary-heading button:hover { color: #ec4899; background: rgba(255, 255, 255, .4); }.diary-heading button.loading svg { animation: spin .7s linear infinite; }
.diary-card > div > p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--text-soft); font-size: 12px; font-weight: 500; line-height: 1.75; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }.diary-card > small { align-self: flex-end; color: var(--muted); font-size: 9px; }

.site-dashboard { height: 80px; border-radius: 24px; display: flex; align-items: stretch; overflow: hidden; }
.dashboard-clock { position: relative; min-width: 222px; padding: 0 30px; display: grid; place-items: center; overflow: hidden; background: #0f172a; color: #fff; font: 900 28px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 2px; font-variant-numeric: tabular-nums; }
.dashboard-clock::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: rgba(0, 0, 0, .4); }
.dashboard-content { flex: 1; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--text-soft); font-size: 12px; font-weight: 700; }
.uptime { display: flex; align-items: center; gap: 8px; }.uptime i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .1); animation: pulse 1.8s infinite; }.uptime strong { color: var(--primary); font-weight: 900; }
.records { display: flex; gap: 14px; }.records a { padding-bottom: 2px; border-bottom: 1px dashed #94a3b8; font-size: 10px; white-space: nowrap; }.records a:hover { color: var(--primary); }

.settings-panel { position: fixed; top: 76px; right: 24px; z-index: 80; width: 330px; padding: 22px; border-radius: 22px; background: var(--glass-strong); animation: panelIn .25s ease; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }.panel-heading h2 { margin: 0; font-size: 18px; }.panel-heading .icon-button { margin: -7px -8px 0 0; }
.setting-row, .blur-setting { display: flex; align-items: center; justify-content: space-between; color: var(--text-soft); font-size: 12px; font-weight: 600; }
.background-steppers { display: flex; align-items: center; gap: 4px; }.background-steppers span { min-width: 40px; text-align: center; color: var(--muted); font-size: 10px; }
.background-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 22px; }.background-option { height: 56px; padding: 2px; border: 2px solid transparent; border-radius: 11px; overflow: hidden; opacity: .68; transition: opacity .2s, border-color .2s, transform .2s; }.background-option:hover { opacity: 1; transform: translateY(-2px); }.background-option.selected { border-color: var(--primary); opacity: 1; }.background-option img { width: 100%; height: 100%; border-radius: 7px; object-fit: cover; }
.blur-setting output { color: var(--primary); font-size: 11px; }.settings-panel .range { --progress: 60%; margin: 16px 0 12px; }.setting-tip { margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.floating-tools { position: fixed; left: 24px; bottom: 24px; z-index: 35; display: flex; flex-direction: column; gap: 11px; }.floating-tools button { width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--glass-strong); color: var(--text-soft); box-shadow: 0 8px 24px rgba(15, 23, 42, .18); backdrop-filter: blur(12px); transition: transform .2s; }.floating-tools button:hover { transform: translateY(-3px); }.floating-tools img { width: 100%; height: 100%; object-fit: cover; }.floating-tools button:last-child { margin: 0 3px; width: 40px; height: 40px; }

.modal { position: fixed; inset: 0; z-index: 100; padding: 20px; display: grid; place-items: center; }.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .52); backdrop-filter: blur(6px); }.modal-card { position: relative; width: min(450px, 100%); padding: 28px; border-radius: 24px; background: var(--glass-strong); animation: modalIn .25s ease; }.modal-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }.modal-heading h2 { margin: 0; font-size: 19px; }.modal-card > p { margin: 0 0 24px; color: var(--text-soft); font-size: 14px; line-height: 1.9; }.primary-button { width: 100%; padding: 11px 20px; border-radius: 12px; background: #ec4899; color: #fff; font-size: 13px; font-weight: 700; transition: background .2s; }.primary-button:hover { background: #db2777; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; max-width: calc(100% - 40px); padding: 11px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(15, 23, 42, .9); color: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, .22); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: opacity .25s, transform .25s; backdrop-filter: blur(12px); }.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }
@keyframes equalize { to { height: 20px; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes modalIn { from { opacity: 0; transform: scale(.94) translateY(10px); } }
@keyframes highlight { 50% { box-shadow: 0 0 0 5px rgba(99, 102, 241, .48), var(--shadow); } }

@media (max-width: 1260px) {
  .nav-shell { gap: 10px; padding: 0 20px; }.brand { font-size: 18px; }.nav-links a { padding: 8px 5px; font-size: 11px; }.nav-links a svg { display: none; }
  .dashboard-content { padding: 0 18px; font-size: 11px; }.records { gap: 8px; }.records a { font-size: 9px; }
}

@media (max-width: 1050px) {
  .menu-toggle { display: inline-grid; }.nav-links { position: fixed; top: 64px; left: 16px; right: 16px; padding: 14px; border: 1px solid var(--glass-border); border-radius: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; background: var(--glass-strong); box-shadow: var(--shadow); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; }.nav-links.open { opacity: 1; visibility: visible; transform: none; }.nav-links a { padding: 11px 8px; justify-content: center; font-size: 12px; }.nav-links a svg { display: block; }.nav-links a.active::after { display: none; }
  .profile-card { padding: 25px; }.profile-main { gap: 18px; }.avatar-ring { width: 82px; height: 82px; }.profile-main h1 { font-size: 26px; }.profile-main p { font-size: 12px; }.stats { gap: 16px; }.social-links { gap: 7px; }.social-links a { width: 35px; height: 35px; }
  .music-card { padding: 21px; }.album-cover { width: 66px; height: 66px; }.music-top { gap: 11px; }.music-bars { display: none; }
  .dashboard-content { flex-direction: column; justify-content: center; gap: 8px; }.dashboard-clock { min-width: 200px; }
}

@media (max-width: 800px) {
  .page-shell { padding-right: 24px; padding-left: 24px; }
  .top-grid, .content-grid, .lower-grid { gap: 18px; }.home-grid, .content-column { gap: 18px; }
  .profile-card { grid-column: span 12; height: 260px; }.music-card { grid-column: span 12; height: 260px; }.music-top { justify-content: center; }.album-cover { width: 76px; height: 76px; }.music-progress { width: min(400px, 100%); margin-right: auto; margin-left: auto; }.music-lyric { text-align: center; }
  .photo-wall { grid-column: span 12; min-height: 460px; }.content-column { grid-column: span 12; }.photo-slide { object-position: center 30%; }
  .post-hero { height: 240px; }.lower-grid { height: 220px; }
  .lyric-bar { padding: 0 50px; }.lyric-dots { display: none; }
  .floating-tools { left: 16px; bottom: 16px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 74px; }.nav-shell { height: 60px; padding: 0 14px; }.site-header { height: 60px; }.brand { font-size: 17px; }.nav-actions { gap: 0; }.nav-actions .icon-button { width: 33px; height: 33px; }.nav-links { top: 60px; grid-template-columns: repeat(3, 1fr); }
  .page-shell { padding: 88px 16px 28px; }.search-box { display: none; }.home-grid, .top-grid, .content-grid, .content-column { gap: 16px; }
  .profile-card { height: auto; min-height: 250px; padding: 22px 20px; }.profile-main { align-items: flex-start; gap: 16px; }.avatar-ring { width: 66px; height: 66px; }.profile-main h1 { margin-top: 4px; font-size: 23px; }.profile-main p { font-size: 12px; line-height: 1.65; }.profile-bottom { flex-direction: column; align-items: flex-end; gap: 16px; }.stats { width: 100%; justify-content: space-around; }.stats strong { font-size: 21px; }.social-links { gap: 9px; }.social-links a { width: 36px; height: 36px; }
  .music-card { height: 252px; padding: 22px; }.music-lyric { margin-top: 14px; }.lyric-bar { height: 52px; padding: 0 38px 0 18px; border-radius: 16px; justify-content: flex-start; }.lyric-bar p { font-size: 11px; letter-spacing: 0; }.lyric-bar > svg { right: 17px; }
  .photo-wall { min-height: 350px; border-radius: 22px; }.photo-caption { left: 20px; bottom: 23px; }.photo-caption strong { font-size: 15px; }.carousel-dots { right: 18px; bottom: 25px; }
  .post-hero { height: 224px; border-radius: 22px; }.post-info { padding: 18px; }.post-info h2 { font-size: 20px; }.post-info > p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.post-meta { gap: 11px; }.post-thumbnails { gap: 8px; }.post-small { height: 74px; border-radius: 13px; }.post-small > div { inset: auto 8px 8px; }.post-small h3 { font-size: 10px; }
  .lower-grid { height: auto; grid-template-columns: 1fr; gap: 16px; }.chatter-wrap { grid-column: auto; min-height: 220px; }.diary-card { grid-column: auto; height: 170px; padding: 18px 20px; }.diary-card > div > p { -webkit-line-clamp: 3; }.chatter-card footer small { display: none; }.chatter-dots { display: flex; }
  .site-dashboard { height: auto; border-radius: 20px; flex-direction: column; }.dashboard-clock { min-width: 0; padding: 17px; font-size: 27px; }.dashboard-content { padding: 17px 14px; gap: 12px; font-size: 11px; }.records { justify-content: center; }.uptime { text-align: center; }
  .settings-panel { top: 70px; right: 16px; width: calc(100% - 32px); }.floating-tools button { width: 42px; height: 42px; }.floating-tools button:last-child { width: 36px; height: 36px; }
  .modal-card { padding: 23px; }.toast { bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
