:root {
  --personal-accent: #4cd84f;
  --personal-secondary: #7857ff;
  --personal-page: #071321;
}

html { scroll-behavior: smooth; }
body { background: var(--personal-page); }
#contributionBox { position:relative; z-index:1; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; width:auto; max-width:1100px; box-sizing:border-box; padding:14px 20px; color:#ddd; }
#contributionBox .contributionAutor { position:static; }
#footer-contribution { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; }
.contribution-person { display:inline-flex; align-items:center; justify-content:center; min-width:40px; min-height:40px; color:inherit; }
.contribution-person:focus-visible { outline:2px solid var(--personal-accent); outline-offset:4px; border-radius:50%; }
.contributionImg { width:40px; height:40px; margin:0; border-radius:50%; object-fit:cover; }
.contributionImg[hidden], .contribution-fallback[hidden] { display:none; }
.contribution-fallback { max-width:160px; overflow-wrap:anywhere; font-size:13px; }
#contentPage { opacity: 0; transition: opacity .55s ease; }
#contentPage.is-ready { opacity: 1; }
.loader.is-hidden { display: none; }
#logoContent > span span { color: var(--personal-accent) !important; }
#navMenuDiv h1 { display: none !important; }
#logoContent { display: flex !important; align-items: center; width: auto !important; white-space: nowrap; }
#logoContent .avator-class { width: 40px !important; height: 40px !important; margin-right: 10px; object-fit: cover; }
/* 播放器高度由内容决定，避免在歌词与歌曲清单之间留出一段空白 */
#musicId { height:auto; padding-top:110px; box-sizing:border-box; scroll-margin-top:126px; }
#musicId #app-cover { top:0; }
.favorite-body { scroll-margin-top: 130px; }
#map { scroll-margin-top: 140px; }
#chronicles { scroll-margin-top: 200px; }
.walineDiv { scroll-margin-top: 100px; }
#player-controls button:disabled { opacity: 1; cursor: default; }
.hrefText { cursor: pointer; }
.personal-admin-link {
  position: fixed; right: 18px; bottom: 18px; z-index: 9999; width: 42px; height: 42px;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  color: #fff; background: rgba(4,12,22,.68); backdrop-filter: blur(12px); text-decoration: none;
  opacity: .66; transition: opacity .2s, transform .2s;
}
.personal-admin-link:hover { opacity: 1; transform: rotate(18deg); }
.personal-error {
  max-width: 760px; margin: 120px auto; padding: 28px; border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px; color: white; background: rgba(3,11,23,.72); text-align: center;
}
.personal-map-summary { text-align:center; color:#c5d8e9; font-size:13px; padding:10px 16px 0; }
.module-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; width:100%; margin:0 auto 8px; text-align:left; }
.module-head h3 { margin:0; color:#fff; font-size:24px; line-height:1.25; font-weight:700; }
.module-head p { margin:6px 0 0; color:var(--personal-accent); font-size:13px; font-weight:700; line-height:1.5; }
.module-head p:empty { display:none; }
.module-more { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border:1px solid rgba(255,255,255,.3); border-radius:999px; color:#fff; background:rgba(5,16,29,.5); font-size:13px; line-height:1.2; text-decoration:none; white-space:nowrap; transition:border-color .2s, color .2s, background .2s; }
.module-more span { font-size:14px; }
.module-more:hover, .module-more:focus-visible { border-color:var(--personal-accent); color:var(--personal-accent); background:rgba(5,16,29,.8); }
.module-more:focus-visible { outline:2px solid var(--personal-accent); outline-offset:2px; }
#skillsSection .module-head { margin-bottom:6px; }
#musicSection .module-head { width:min(880px, 92%); margin:0 auto 10px; }
#footprintSection .module-head { width:min(90vw, 1100px); margin:0 auto 4px; }
#chronicles .module-head { width:70%; margin:0 auto; }
#chronicles .module-head h3 { margin-bottom:0; font-size:30px; }
#chronicles .divLine { margin-top:14px; }
.ev-module-edit-box3 { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.ev-module-edit-box3 .module-more { font-size:12px; padding:5px 11px; }
.music-playlist { width:min(880px, 92%); margin:10px auto 0; text-align:left; }
.music-playlist[hidden] { display:none; }
.playlist-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.playlist-categories { display:flex; flex-wrap:wrap; gap:8px; }
.playlist-category, .favorite-filter { padding:6px 13px; border:1px solid rgba(255,255,255,.2); border-radius:999px; color:#d7e6f3; background:rgba(255,255,255,.04); font:inherit; font-size:12px; cursor:pointer; transition:border-color .2s, color .2s, background .2s; }
.playlist-category:hover, .favorite-filter:hover { border-color:rgba(76,216,79,.65); color:#fff; }
.playlist-category.is-active, .favorite-filter.is-active { border-color:var(--personal-accent); color:#071321; background:var(--personal-accent); font-weight:700; }
.playlist-category:focus-visible, .favorite-filter:focus-visible { outline:2px solid var(--personal-accent); outline-offset:2px; }
.favorite-main { min-width:0; }
.favorite-filters { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin:0 0 22px; }
.favorite-filters[hidden] { display:none; }
.favorite-categories { display:flex; flex-wrap:wrap; gap:8px; }
.favorite-count { color:#9fb6cc; font-size:12px; white-space:nowrap; }
.favorite-empty { grid-column:1/-1; margin:0; padding:30px 20px; color:#9fb6cc; font-size:13px; line-height:1.7; text-align:center; border:1px dashed rgba(255,255,255,.18); border-radius:16px; }
.book-card[hidden] { display:none !important; }
.playlist-count { color:#9fb6cc; font-size:12px; white-space:nowrap; }
.playlist-songs { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; margin:0; padding:0; list-style:none; }
.playlist-item[hidden] { display:none; }
.playlist-song { display:grid; grid-template-columns:26px 40px minmax(0,1fr) auto; align-items:center; gap:11px; width:100%; padding:9px 12px; border:1px solid rgba(255,255,255,.1); border-radius:12px; color:#fff; background:rgba(4,14,26,.5); font:inherit; text-align:left; cursor:pointer; transition:border-color .2s, background .2s, transform .2s; }
.playlist-song:hover { border-color:rgba(115,192,222,.55); background:rgba(11,31,52,.7); }
.playlist-song:focus-visible { outline:2px solid var(--personal-accent); outline-offset:2px; }
.playlist-song.is-active { border-color:var(--personal-accent); background:linear-gradient(135deg, rgba(76,216,79,.14), rgba(120,87,255,.12)); }
.playlist-index { color:#7f98ae; font-size:12px; font-variant-numeric:tabular-nums; }
.playlist-song.is-active .playlist-index { color:var(--personal-accent); }
.playlist-cover { display:grid; place-items:center; width:40px; height:40px; overflow:hidden; border-radius:9px; background:rgba(255,255,255,.08); color:#9fb6cc; font-size:20px; }
.playlist-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.playlist-info { display:flex; flex-direction:column; gap:3px; min-width:0; }
.playlist-info strong, .playlist-info span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.playlist-info strong { font-size:14px; font-weight:600; }
.playlist-info span { color:#9fb6cc; font-size:12px; }
.playlist-song-state { padding:3px 8px; border:1px solid rgba(255,255,255,.16); border-radius:999px; color:#aebfce; font-size:11px; white-space:nowrap; }
.playlist-song.is-active .playlist-song-state { border-color:transparent; color:#071321; background:var(--personal-accent); font-weight:700; }

.favorites-strip { display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; margin:0 0 12px; padding:9px 12px; border:1px dashed rgba(255,255,255,.22); border-radius:12px; background:rgba(76,216,79,.05); }
.favorites-label { display:inline-flex; align-items:center; gap:6px; color:#cfe3d2; font-size:12px; font-weight:700; white-space:nowrap; }
.favorites-heart { color:#ff5f7a; font-size:13px; }
.favorites-chips { display:flex; flex-wrap:wrap; gap:6px; min-width:0; }
.favorite-chip { display:inline-flex; align-items:baseline; gap:6px; max-width:200px; padding:5px 11px; border:1px solid rgba(255,255,255,.18); border-radius:999px; color:#eaf1ff; background:rgba(255,255,255,.06); font-size:12px; line-height:1.4; text-decoration:none; appearance:none; transition:border-color .2s, background .2s, color .2s; }
.favorite-chip:hover { border-color:var(--personal-accent); color:#fff; background:rgba(76,216,79,.15); }
.favorite-chip:focus-visible { outline:2px solid var(--personal-accent); outline-offset:2px; }
.favorite-chip.is-active { border-color:var(--personal-accent); color:#071321; background:var(--personal-accent); font-weight:700; }
.favorite-chip.is-active .favorite-chip-source { color:#0d2a13; }
.favorite-chip-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.favorite-chip-source { color:#9fb6cc; font-size:11px; white-space:nowrap; }
.playlist-song.is-external { cursor:pointer; text-decoration:none; }
.playlist-song.is-external .playlist-song-state { border-color:rgba(255,95,122,.5); color:#ffb3c1; }
.playlist-item[data-favorite="1"] .playlist-info strong::after { content:"♥"; margin-left:6px; color:rgba(255,95,122,.85); font-size:11px; font-weight:400; }
body.theme-light .favorites-strip { border-color:rgba(21,36,53,.2); background:rgba(76,216,79,.07); }
body.theme-light .favorites-label { color:#26405a; }
body.theme-light .favorite-chip { border-color:rgba(21,36,53,.16); color:#152435; background:rgba(21,36,53,.04); }
body.theme-light .favorite-chip:hover { border-color:#38be4b; color:#06240d; background:rgba(76,216,79,.16); }
body.theme-light .favorite-chip-source { color:#5d7691; }
body.theme-light .playlist-song.is-external .playlist-song-state { border-color:rgba(214,51,108,.45); color:#c8305c; }

.local-comments { max-width: 900px; margin: 0; padding: 0 0 70px; color: #eaf1ff; }
.local-comments h3 { font-size: 22px; margin: 0 0 24px; text-align: center; }
.local-comments .comment-copy { color: rgba(234,241,255,.68); margin: 0 0 16px; text-align: center; }
.local-comment-form { display:grid; grid-template-columns:repeat(3,1fr); gap:0; padding:0 12px 14px; border:1px solid rgba(255,255,255,.55); border-radius:12px; background:rgba(255,255,255,.025); backdrop-filter:blur(18px); }
.local-comment-form input, .local-comment-form textarea { box-sizing:border-box; width:100%; border:0; border-radius:0; padding:14px 8px; color:#fff; background:transparent; outline:none; }
.local-comment-form input { border-bottom:1px dashed rgba(255,255,255,.58); }
.local-comment-form input:focus, .local-comment-form textarea:focus { border-color:var(--personal-accent); }
.local-comment-form textarea { grid-column:1/-1; min-height:130px; resize:vertical; }
.local-comment-form .honeypot { position:absolute; left:-9999px; }
.local-comment-form button { grid-column:1/-1; justify-self:end; border:1px solid rgba(255,255,255,.48); border-radius:8px; padding:8px 25px; color:#fff; background:rgba(255,255,255,.08); font-weight:700; cursor:pointer; }
.comment-message { min-height:24px; color:var(--personal-accent); }
.comment-list { display:grid; gap:12px; margin-top:22px; }
.comment-item { padding:18px 20px; border:1px solid rgba(255,255,255,.1); border-radius:14px; background:rgba(5,15,28,.64); }
.comment-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:8px; }
.comment-head strong { color:var(--personal-accent); }
.comment-head time { color:rgba(255,255,255,.48); font-size:12px; }
.comment-item p { margin:0; white-space:pre-wrap; line-height:1.7; }
.comment-pin { margin-right:6px; color:#ffd75e; }
.empty-comments { padding:24px; text-align:center; color:rgba(255,255,255,.5); }
.local-comment-form { display:block; border:1px solid #ffffff80; border-radius:12px; overflow:hidden; }
.comment-identity { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-bottom:1px dashed #ffffff80; }
.comment-identity input { min-width:0; width:100%; box-sizing:border-box; }
.local-comment-form .comment-identity input, .local-comment-form textarea { border:0; border-radius:0; background:transparent; }
.local-comment-form textarea { width:100%; min-height:160px; box-sizing:border-box; }
.local-comment-form input::placeholder, .local-comment-form textarea::placeholder { color:#ffffffb3; opacity:1; }
.comment-head strong a { color:inherit; }
.comment-reactions { display:flex; justify-content:center; flex-wrap:wrap; gap:14px; margin:20px 0 8px; }
.comment-reactions button { position:relative; border:0; background:transparent; color:inherit; cursor:pointer; padding:4px; transition:transform .15s; }
.comment-reactions button > span { font-size:38px; }
.comment-reactions button > small { position:absolute; top:0; right:-4px; padding:1px 5px; border-radius:12px; background:#e8ffe3; color:#355f34; font-size:11px; }
.comment-reactions button:hover, .comment-reactions button[aria-pressed="true"] { transform:translateY(-4px) scale(1.1); }
.comment-reactions button[aria-pressed="true"] { border-bottom:2px solid var(--personal-accent); }
.reaction-status { min-height:20px; text-align:center; font-size:12px; color:var(--personal-accent); }
.comment-account { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:14px 0; font-size:12px; color:#ffffffb3; }
.comment-account a { color:var(--personal-accent); }
.comment-owner { font-size:11px; margin-left:8px; border:1px solid currentColor; border-radius:4px; padding:1px 4px; }
.comment-images, .comment-attachments { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0; }
.comment-images img, .comment-attachments img, .comment-preview img { display:block; max-width:100%; max-height:180px; border-radius:8px; }
.comment-attachments { padding:0 10px; }
.comment-attachments > div { max-width:30%; }
.comment-attachments button { padding:4px 8px; font-size:12px; }
.comment-tools, .comment-reply-hint, .comment-list-bar, .comment-sorting, .comment-item-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.comment-tools, .comment-reply-hint { padding:10px; }
.comment-tools .comment-submit { margin-left:auto; }
.comment-tools button, .comment-reply-hint button { grid-column:auto; padding:6px 10px; }
.comment-counter { margin-left:auto; font-size:12px; opacity:.7; }
.comment-preview { margin:10px; padding:14px; border:1px dashed #ffffff70; border-radius:8px; white-space:pre-wrap; overflow-wrap:anywhere; }
.comment-emojis { padding:10px; }
.comment-emojis button { padding:4px 8px; border:0; font-size:22px; }
.comment-list-bar { justify-content:space-between; }
.comment-sorting button, .comment-item-actions button, .comment-more { color:inherit; border:0; background:transparent; padding:6px 10px; cursor:pointer; }
.comment-sorting [aria-pressed="true"], .comment-item-actions [aria-pressed="true"] { color:var(--personal-accent); }
.comment-replies { margin-top:12px; padding-left:14px; border-left:1px solid #ffffff25; }
.comment-replies .comment-item { padding:12px 0; border:0; background:transparent; }
.comment-replies-flat { padding-left:0; border:0; }
.comment-item-actions { justify-content:flex-end; margin-top:8px; }
.comment-item p, .comment-head strong { overflow-wrap:anywhere; min-width:0; }
.comment-more { display:block; margin:20px auto; border:1px solid #ffffff50; border-radius:8px; }
.local-comments [hidden] { display:none !important; }
.local-comments button:focus-visible { outline:2px solid var(--personal-accent); outline-offset:2px; }
@media (max-width:760px) {
  .comment-identity { grid-template-columns:1fr; }
  .comment-head { align-items:flex-start; gap:8px; flex-wrap:wrap; }
  .comment-item { padding:14px; }
}
.personal-danmu { position:relative; overflow:hidden; height:300px !important; }
.danmu-chip { position:absolute; left:100%; white-space:nowrap; max-width:70%; overflow:hidden; text-overflow:ellipsis; padding:8px 16px 8px 9px; border-radius:999px; color:#fff; background:rgba(8,13,25,.78); animation:personalDanmu 13s linear forwards; }
.danmu-chip::before { content:"✿"; display:inline-grid; place-items:center; width:24px; height:24px; margin-right:5px; border-radius:50%; color:#fff; background:#5387d9; font-size:18px; }
@keyframes personalDanmu { to { transform:translateX(calc(-100vw - 100%)); } }
footer .footer-group { min-width:150px; }
.footer-showcase { display:inline-block; margin-top:5px; border:0; padding:0; background:transparent; color:#fff; font:inherit; font-size:13px; line-height:1.5; cursor:pointer; }
.footer-showcase:hover { color:var(--personal-accent); }
.showcase-dialog { position:fixed; inset:0; margin:auto; width:min(860px,90vw); max-height:85vh; box-sizing:border-box; border:1px solid #ffffff50; border-radius:16px; background:#0a1727f0; color:white; font-size:16px; padding:28px; overflow:auto; }
.showcase-dialog::backdrop { background:#000a; backdrop-filter:blur(8px); }
.showcase-dialog h2 { margin:0 36px 20px 0; font-size:22px; }
.showcase-close { position:absolute; top:12px; right:12px; font-size:28px; line-height:32px; width:36px; height:36px; border:0; border-radius:8px; background:#ffffff15; color:inherit; cursor:pointer; }
.showcase-content img, .showcase-content video { display:block; max-width:100%; max-height:65vh; margin:0 auto; }
.showcase-content p { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; }
.showcase-dialog button:focus-visible { outline:2px solid var(--personal-accent); }
#busuanzi_container_site_pv { padding-bottom:24px; }
#busuanzi_container_site_pv[hidden] { display:none !important; }

@media (max-width:760px) {
  #musicId, .favorite-body, #map, #chronicles, .walineDiv { scroll-margin-top: 110px; }
  #navTopMenu { height: 108px; background: linear-gradient(180deg, rgba(4, 12, 22, .9), rgba(4, 12, 22, 0)); }
  #navMenuDiv { top: 12px; left: 14px; }
  #logoContent { padding-left: 0; font-size: 23px; line-height: 34px; }
  #logoContent .avator-class { width: 32px !important; height: 32px !important; margin-right: 7px; }
  #hrefDiv { top: 57px; right: 0; left: 0; display: flex; justify-content: center; overflow-x: auto; padding: 0 6px; }
  #navTopMenu .hrefText { margin: 0 2px; padding: 8px 9px; font-size: 14px; }
  .local-comment-form { grid-template-columns:1fr; }
  #waline.local-comments { width: min(92vw, 640px); left: 50%; transform: translateX(-50%); }
  .local-comment-form textarea, .local-comment-form button { grid-column:1; }
  .personal-admin-link { right:12px; bottom:12px; }
}
#player-controls .button { border:1px solid rgba(214,222,231,.3); border-radius:50%; box-sizing:content-box; background:rgba(255,255,255,.07); color:inherit; appearance:none; }
#player-controls .button:hover { background:#ffffff38; border-color:rgba(255,255,255,.55); }
#player-controls .button:focus-visible { outline:2px solid var(--accent-color, #81d453); outline-offset:2px; }
#player-controls button:disabled { opacity:.72; cursor:not-allowed; }
body.theme-light #player-controls .button { border-color:rgba(21,36,53,.22); background:rgba(21,36,53,.05); }
body.theme-light #player-controls .button .btn-icon { color:#3b5570; }
body.theme-light #player-controls .button:hover .btn-icon { color:#152435; }
#player .music-status { position:absolute; top:100%; left:0; right:0; margin:12px 0 0; padding:0 8px; color:#d3dfed; font-size:13px; line-height:1.6; text-align:center; }
#player .music-status:empty { display:none; }
#player .music-status[data-error="true"] { color:#ffd0b6; }
#musicId:has(.music-status:not(:empty)) { margin-bottom:64px; }
#musicId #app-cover { max-width:100%; }
.wordList { margin:0; padding:0; list-style:none; }
.wordList li { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wordList.plain-lyrics { max-height:90px; overflow:auto; }
.wordList.plain-lyrics li { white-space:pre-wrap; height:auto; min-height:30px; }
#s-area:focus-visible { outline:2px solid #fff; outline-offset:4px; }
#skill > .glass-section { padding:40px; backdrop-filter:blur(100px); }
#skill { scroll-margin-top:100px; }
@media (max-width:760px) {
  #skill > .glass-section { padding:35px 0; }
  #skill { scroll-margin-top:110px; }
}

/* Keep each section in normal flow: absolute card artwork must not set row height. */
#scrollDown { border:0; padding:0; background:transparent; color:inherit; cursor:pointer; width:56px; height:56px; left:50%; transform:translateX(-50%); bottom:44px; }
#scrollDown:focus-visible { outline:2px solid var(--personal-accent); border-radius:8px; }
#topBtn[hidden] { display:none; }
.like-card { height:auto; min-height:calc(100vh - 100px); }
.like-card > .musicBody { height:auto; min-height:calc(100vh - 100px); box-sizing:border-box; padding-bottom:70px; }
.favorite-body { width:min(90%, 1500px); height:auto; grid-template-columns:minmax(130px, 20%) minmax(0, 1fr); gap:30px; padding:100px 0 25px; box-sizing:border-box; }
.card-list { margin-top:0; min-width:0; grid-template-columns:repeat(5, minmax(0, 1fr)); grid-template-rows:none; gap:65px 24px; align-items:start; }
.book-card { width:100%; margin:0; aspect-ratio:195 / 270; display:block; position:relative; }
.book-card .cover { width:100%; height:100%; object-fit:cover; }
.book-card .hero, .book-card .title { width:100%; height:auto; }
.book-card.is-playable::after {
  content:"▶ 播放";
  position:absolute; right:10px; bottom:10px; z-index:2;
  padding:5px 10px; border-radius:999px;
  border:1px solid rgba(105,217,248,.45);
  background:rgba(3,12,22,.72); color:#fff;
  font:500 12px/1.2 "Microsoft YaHei", sans-serif; letter-spacing:.04em;
  backdrop-filter:blur(6px);
  opacity:0; transform:translateY(4px); transition:opacity .25s ease, transform .25s ease;
  pointer-events:none;
}
.book-card.is-playable:hover::after, .book-card.is-playable:focus-visible::after { opacity:1; transform:none; }
.book-card.is-embed::after { content:"▶ 在线播放"; }
.book-card.is-search::after { content:"优酷查找"; border-color:rgba(250,200,88,.5); }
/* 文章列表与阅读弹窗的样式由 js/mine-reader.js 注入，首页与“更多”页共用一份 */
.module-head-actions { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.mapMark { box-sizing:border-box; padding:40px 0; backdrop-filter:blur(100px); position:relative; }
.mapMark #map { backdrop-filter:none !important; width:min(90vw, 1100px); min-height:420px; }
.mapMark .mapBlank { display:none; }
.personal-map-tip { display:flex; flex-direction:column; width:220px; }
.personal-map-tip img { display:block; width:100%; height:128px; object-fit:cover; }
.personal-map-tip-text { display:flex; flex-direction:column; gap:4px; padding:10px 12px; }
.personal-map-tip-text strong { font-size:14px; }
.personal-map-tip-text span { color:#a9c2d8; font-size:12px; line-height:1.5; }
@media (max-width:1100px) {
  .card-list { grid-template-columns:repeat(3, minmax(0, 1fr)); gap:65px 28px; }
}
@media (max-width:760px) {
  .like-card > .musicBody { min-height:0; padding:70px 0; }
  .favorite-body { width:90%; padding:0; grid-template-columns:minmax(0, 1fr); gap:90px; }
  .ev-module-edit { position:relative; min-height:100px; }
  .card-list { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:65px 26px; }
  .book-card { max-width:195px; justify-self:center; }
  .mapMark { padding:35px 0; }
  .mapMark #map { width:94vw; height:460px; min-height:0; }
  #musicId { scroll-margin-top:170px; }
}
@media (max-width:900px) {
  #musicId #app-cover { height:160px; }
  #musicId #album-art { width:80px; height:80px; margin-left:12px; top:-30px; box-shadow:0 0 0 6px #fff; }
  #musicId #album-art.active { top:-48px; }
  #musicId #player-track { box-sizing:border-box; min-height:94px; padding:10px 12px 10px 96px; }
  #musicId #player-track.active { top:-94px; }
  #musicId #album-name { display:block; padding-right:44px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  #musicId .qualityCss { right:12px; }
  #musicId #track-name { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  #musicId .containerLrc { left:104px; right:12px; width:auto; top:8px; height:90px; }
  #musicId #player-controls { position:absolute; left:12px; right:12px; bottom:8px; width:auto; height:50px; margin:0; float:none; display:flex; justify-content:space-around; }
  #musicId .control { width:auto; float:none; padding:0; }
  #musicId #player-controls .button { padding:12px; }
}

/* Content-sized modules: avoid forcing every section to a full viewport height. */
#skillsSection, #footprintSection { height:auto; min-height:0; }
#skillsSection #skill { height:auto; }
#skillsSection > #skill > .glass-section { padding:24px 40px 30px; }
.like-card#musicSection, .like-card#favoritesSection { height:auto; min-height:0; }
.like-card#musicSection > .musicBody,
.like-card#favoritesSection > .musicBody { height:auto; min-height:0; }
.like-card#musicSection > .musicBody { padding:20px 0 44px; }
.like-card#favoritesSection > .musicBody { padding-bottom:24px; }
.favorite-body { padding:48px 0 16px; gap:26px; }
.card-list { gap:44px 20px; }
#footprintSection .mapMark { padding:28px 0 24px; }
#footprintSection #map { box-sizing:border-box; width:min(90vw, 1100px); height:clamp(440px, 58vh, 580px); min-height:0; }
#footprintSection .personal-map-summary { padding-top:8px; }
#chronicles { padding-top:44px; padding-bottom:60px; }
.walineDiv { padding-top:10px; }

@media (max-width:1100px) {
  .card-list { gap:44px 22px; }
}
@media (max-width:760px) {
  #skillsSection > #skill > .glass-section { padding:18px 0 22px; }
  .like-card#musicSection > .musicBody { padding:16px 0 32px; }
  .like-card#favoritesSection > .musicBody { padding:32px 0 24px; }
  .favorite-body { width:92%; gap:36px; }
  .card-list { grid-template-columns:repeat(auto-fit, minmax(140px, 1fr)); gap:36px 18px; }
  #footprintSection .mapMark { padding:20px 0 18px; }
  #footprintSection #map { width:94vw; height:clamp(400px, 56vh, 500px); }
  #footprintSection .personal-map-summary { padding-top:6px; font-size:12px; }
  .module-head { align-items:flex-start; gap:10px; }
  .module-head h3 { font-size:20px; }
  .module-head p { font-size:12px; }
  .module-more { padding:5px 10px; font-size:12px; }
  #chronicles .module-head { width:90%; }
  #chronicles .module-head h3 { font-size:24px; }
  .music-playlist { width:92%; margin-top:8px; }
  .playlist-songs { grid-template-columns:1fr; }
  .playlist-song { grid-template-columns:22px 36px minmax(0,1fr) auto; gap:9px; padding:8px 10px; }
  .playlist-cover { width:36px; height:36px; }
}

/* Light preview theme */
body.theme-light {
  --theme-color:#152435 !important;
  --personal-page:#ffffff;
  --personal-ink:#152435;
  --personal-muted:#61758a;
  --personal-line:rgba(21,36,53,.12);
  --personal-panel:rgba(255,255,255,.86);
  --personal-accent-text:#238c3c;
  color:var(--personal-ink);
  background:
    radial-gradient(900px 540px at 50% -8%, rgba(76,216,79,.10), transparent 62%),
    radial-gradient(880px 520px at 100% 2%, rgba(105,217,248,.13), transparent 60%),
    #fff;
}
body.theme-light #myselfGroundImg { background-image:radial-gradient(720px 520px at 50% 42%, rgba(105,217,248,.10), transparent 68%), radial-gradient(620px 460px at 50% 46%, rgba(76,216,79,.08), transparent 70%) !important; }
body.theme-light #navTopMenu { background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.72)); -webkit-backdrop-filter:blur(24px) saturate(160%); backdrop-filter:blur(24px) saturate(160%); box-shadow:0 1px 0 rgba(21,36,53,.06); }
body.theme-light #navTopMenu.sticky { background:rgba(255,255,255,.9); box-shadow:0 10px 30px rgba(21,36,53,.08); }
body.theme-light #logoContent, body.theme-light #navTopMenu .hrefText, body.theme-light .secondCss, body.theme-light #runtime { color:var(--personal-ink); }
body.theme-light #logoContent > span span { color:var(--personal-accent-text) !important; }
body.theme-light #navTopMenu .hrefText:hover { color:var(--personal-accent-text); background:rgba(76,216,79,.10); }
body.theme-light #matrix { color:var(--personal-ink); text-shadow:0 12px 44px rgba(55,114,160,.16); }
body.theme-light #scrollDown { color:#40566c; }
body.theme-light #scrollDownIcon { border-color:rgba(21,36,53,.42); }
body.theme-light #topBtn { filter:invert(1); opacity:.35; }
body.theme-light #skillsSection { background:linear-gradient(180deg,#f7fbfc 0%, #fff 100%); }
body.theme-light #musicSection { background:#fff; }
body.theme-light #favoritesSection { background:linear-gradient(180deg,#fff, #f5fafc); }
body.theme-light #footprintSection { background:#fff; }
body.theme-light #chronicles { background:linear-gradient(180deg,#f7fafc, #fff); color:var(--personal-ink); }
body.theme-light .walineDiv { background:#fff; }
body.theme-light .module-head h3, body.theme-light .ev-module-edit-box1, body.theme-light .ev-module-edit-box3 strong { color:var(--personal-ink); }
body.theme-light .module-head p { color:var(--personal-accent-text); }
body.theme-light .module-more { color:var(--personal-ink); border-color:var(--personal-line); background:rgba(255,255,255,.9); box-shadow:0 2px 8px rgba(21,36,53,.05); }
body.theme-light .module-more:hover, body.theme-light .module-more:focus-visible { color:var(--personal-accent-text); border-color:rgba(35,140,60,.4); background:#fff; }
body.theme-light .ev-module-edit-box3 { color:var(--personal-accent-text); }
body.theme-light .book-card { filter:drop-shadow(0 16px 30px rgba(21,36,53,.13)); }
body.theme-light .book-card.is-playable::after { border-color:rgba(21,36,53,.14); background:rgba(255,255,255,.94); color:var(--personal-ink); box-shadow:0 8px 20px rgba(21,36,53,.14); }
body.theme-light #footprintSection #map { background:radial-gradient(ellipse at 50% 46%, #fff, #f2f8fc 74%); border:1px solid rgba(21,36,53,.09); border-radius:20px; box-shadow:0 22px 60px rgba(34,75,110,.08); }
body.theme-light .personal-map-summary { color:#667b8f; }
body.theme-light .personal-map-tip-text strong { color:#152435; }
body.theme-light .personal-map-tip-text span { color:#61758a; }
body.theme-light #chronicles h3, body.theme-light #sitTip, body.theme-light .chronicles-child-body { color:var(--personal-ink); }
body.theme-light #sitTip { color:#667b8f; }
body.theme-light .chronicles-child-lineTime { color:var(--personal-accent-text); }
body.theme-light .chronicles-child-fade-out { color:rgba(21,36,53,.34); }
body.theme-light .chronicles-shadow.left { background-image:linear-gradient(to left, rgba(247,250,252,0), #f7fafc); }
body.theme-light .chronicles-shadow.right { background-image:linear-gradient(to right, rgba(247,250,252,0), #f7fafc); }
body.theme-light div:hover ::-webkit-scrollbar-thumb { background-color:#b9c7d6; }
body.theme-light #player-track { background-color:rgba(255,255,255,.9); background-image:linear-gradient(135deg, rgba(76,216,79,.20), rgba(105,217,248,.24)); border:1px solid rgba(21,36,53,.07); border-bottom:0; }
body.theme-light #album-name { color:var(--personal-ink); }
body.theme-light #track-name, body.theme-light #current-time, body.theme-light #track-length { color:#5d7186; }
body.theme-light #s-area { background-color:rgba(21,36,53,.15); }
body.theme-light #seek-bar { background-color:#2f9e44; }
body.theme-light #ins-time { color:var(--personal-ink); background-color:#fff; box-shadow:0 6px 18px rgba(21,36,53,.14); }
body.theme-light #s-hover { background-color:rgba(21,36,53,.12); opacity:1; }
body.theme-light #player-content { background-color:rgba(255,255,255,.9); border:1px solid rgba(21,36,53,.08); box-shadow:0 24px 58px rgba(31,70,105,.10); }
body.theme-light .containerLrc li { color:#6c7f91; opacity:1; }
body.theme-light .containerLrc li.active { color:var(--personal-ink); }
body.theme-light #player-controls .button i { color:#3f5569; }
body.theme-light #player-controls .button:hover { background:rgba(76,216,79,.12); }
body.theme-light #player-controls .button:hover i { color:var(--personal-accent-text); }
body.theme-light #player .music-status { color:#5d7186; }
body.theme-light #player .music-status[data-error="true"] { color:#c24132; }
body.theme-light #s-area:focus-visible { outline:2px solid var(--personal-accent-text); }
body.theme-light .playlist-category, body.theme-light .favorite-filter { color:#40566c; border-color:var(--personal-line); background:#fff; }
body.theme-light .playlist-category:hover, body.theme-light .favorite-filter:hover { color:var(--personal-ink); border-color:rgba(35,140,60,.42); }
body.theme-light .playlist-category.is-active, body.theme-light .favorite-filter.is-active { color:#06240d; border-color:#38be4b; background:#4cd84f; }
body.theme-light .playlist-count, body.theme-light .favorite-count { color:#6e8294; }
body.theme-light .favorite-empty { color:#61758a; border-color:rgba(21,36,53,.14); background:rgba(255,255,255,.7); }
body.theme-light .playlist-song { color:var(--personal-ink); border-color:var(--personal-line); background:#fff; box-shadow:0 4px 16px rgba(21,36,53,.05); }
body.theme-light .playlist-song:hover { background:#f4fbf7; border-color:rgba(35,140,60,.34); }
body.theme-light .playlist-song.is-active { background:linear-gradient(135deg, rgba(76,216,79,.16), rgba(105,217,248,.15)); border-color:rgba(47,158,68,.55); }
body.theme-light .playlist-index, body.theme-light .playlist-info span { color:#6d8193; }
body.theme-light .playlist-cover { background:#edf4f8; color:#75879a; }
body.theme-light .playlist-song-state { color:#677b8e; border-color:rgba(21,36,53,.15); }
body.theme-light .playlist-song.is-active .playlist-song-state { color:#fff; background:#2f9e44; }
body.theme-light .local-comments, body.theme-light .local-comments h3 { color:var(--personal-ink); }
body.theme-light .local-comments .comment-copy { color:#61758a; }
body.theme-light .local-comment-form { border-color:rgba(21,36,53,.16); background:rgba(255,255,255,.75); }
body.theme-light .comment-identity { border-bottom-color:rgba(21,36,53,.14); }
body.theme-light .local-comment-form input, body.theme-light .local-comment-form textarea { color:var(--personal-ink); }
body.theme-light .local-comment-form input { border-bottom-color:rgba(21,36,53,.16); }
body.theme-light .local-comment-form input::placeholder, body.theme-light .local-comment-form textarea::placeholder { color:#8a9bab; }
body.theme-light .local-comment-form button { color:#1d3b29; border-color:rgba(21,36,53,.17); background:rgba(76,216,79,.14); }
body.theme-light .local-comment-form button:hover { color:#06240d; border-color:#38be4b; background:#4cd84f; }
body.theme-light .comment-message, body.theme-light .comment-head strong { color:var(--personal-accent-text); }
body.theme-light .comment-item { border-color:rgba(21,36,53,.10); background:#fff; box-shadow:0 8px 24px rgba(21,36,53,.05); }
body.theme-light .comment-head time, body.theme-light .comment-account { color:#7c8ea0; }
body.theme-light .empty-comments { color:#7b8d9e; }
body.theme-light .comment-replies { border-left-color:rgba(21,36,53,.14); }
body.theme-light .comment-preview { border-color:rgba(21,36,53,.2); }
body.theme-light .comment-more { border-color:rgba(21,36,53,.18); }
body.theme-light .comment-reactions button > small { color:#28753a; background:#e7f7ea; }
body.theme-light .danmu-chip { color:#203246; background:rgba(255,255,255,.93); box-shadow:0 8px 24px rgba(21,36,53,.10); }
body.theme-light .danmu-chip::before { color:#fff; background:#4aa8d8; }
body.theme-light .wl-card .wl-delete, body.theme-light .wl-card .wl-like, body.theme-light .wl-card .wl-reply, body.theme-light .wl-card .wl-edit, body.theme-light .wl-card .wl-time { color:#5f7285 !important; }
body.theme-light footer p, body.theme-light footer a, body.theme-light .footer-showcase { color:#2d4256; }
body.theme-light footer a:hover, body.theme-light .footer-showcase:hover { color:var(--personal-accent-text); }
body.theme-light #busuanzi_container_site_pv, body.theme-light #ICPtextCss, body.theme-light #icpCss { color:#7e8f9f !important; }
body.theme-light #ICPtextCss:hover { color:var(--personal-accent-text) !important; }
body.theme-light .personal-admin-link { color:#304659; border-color:rgba(21,36,53,.16); background:rgba(255,255,255,.82); box-shadow:0 8px 24px rgba(21,36,53,.08); }
body.theme-light .personal-error { color:var(--personal-ink); border-color:rgba(21,36,53,.14); background:rgba(255,255,255,.92); }
body.theme-light .showcase-dialog { color:var(--personal-ink); border-color:rgba(21,36,53,.14); background:#fff; }
body.theme-light .showcase-close { background:rgba(21,36,53,.06); }
@media (max-width:760px) {
  .favorite-filters { margin-bottom:18px; }
  .favorite-count { width:100%; }
  body.theme-light #navTopMenu { background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.82)); }
}

/* ===== 手机浏览器适配：触控目标、安全区与触屏交互 ===== */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
@media (max-width:760px) {
  #navTopMenu .hrefText { padding:12px 14px; font-size:15px; }
  /* 播放器 #player 是 z-index:3，会把 z-index:1 的导航压住；手机上导航浮到内容之上并补实底色 */
  #navTopMenu { z-index:10; background:linear-gradient(180deg, rgba(4,12,22,.94), rgba(4,12,22,.74)); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
  body.theme-light #navTopMenu { background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.9)); }
  .module-more { padding:11px 15px; }
  /* 绿洲卡片里的“更多”被 .ev-module-edit-box3 的更高优先级压住，这里同权重覆盖 */
  .ev-module-edit-box3 .module-more { padding:11px 15px; font-size:13px; }
  .playlist-category, .favorite-filter { min-height:40px; padding:10px 16px; }
  .favorite-chip { min-height:40px; }
  .comment-account a { display:inline-flex; align-items:center; min-height:40px; padding:6px 10px; }
  .playlist-song { min-height:56px; }
  .comment-tools button, .comment-reply-hint button, .comment-sorting button, .comment-item-actions button, .comment-more { padding:10px 14px; }
  .comment-sorting button { min-height:40px; }
  .comment-emojis button { padding:8px 12px; }
  .local-comment-form button { padding:12px 26px; }
  .showcase-close { width:44px; height:44px; font-size:30px; }
  /* iOS 上小于 16px 的输入框会聚焦即整页放大 */
  .local-comment-form input, .local-comment-form textarea { font-size:16px; }
  #skillsSection > #skill > .glass-section { padding:18px 4vw 22px; }
  .personal-danmu { height:190px !important; }
  .showcase-dialog { width:94vw; max-height:82dvh; padding:20px 16px; }
  .showcase-content img, .showcase-content video { max-height:46dvh; }
  .personal-error { margin:90px 16px; padding:20px; }
  .personal-admin-link { right:calc(12px + env(safe-area-inset-right)); bottom:calc(12px + env(safe-area-inset-bottom)); width:44px; height:44px; }
  footer { padding-bottom:env(safe-area-inset-bottom); }
  #busuanzi_container_site_pv { padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
}
/* 触屏没有 hover，绿洲卡片的播放角标必须常驻 */
@media (hover:none) {
  .book-card.is-playable::after { opacity:1; transform:none; }
}
