@charset "UTF-8";/*!
 *  Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
@font-face {
  font-family: "FontAwesome";
  src: url("/fonts/fontawesome-webfont.eot?v=4.5.0");
  src:
    url("/fonts/fontawesome-webfont.eot?#iefix&v=4.5.0")
      format("embedded-opentype"),
    url("/fonts/fontawesome-webfont.woff2?v=4.5.0") format("woff2"),
    url("/fonts/fontawesome-webfont.woff?v=4.5.0") format("woff"),
    url("/fonts/fontawesome-webfont.ttf?v=4.5.0") format("truetype"),
    url("/fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular")
      format("svg");
  font-weight: normal;
  font-style: normal;
}
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-lg {
  font-size: 1.33333333em;
  line-height: 0.75em;
  vertical-align: -15%;
}
.fa-2x {
  font-size: 2em;
}
.fa-3x {
  font-size: 3em;
}
.fa-4x {
  font-size: 4em;
}
.fa-5x {
  font-size: 5em;
}
.fa-fw {
  width: 1.28571429em;
  text-align: center;
}
.fa-ul {
  padding-left: 0;
  margin-left: 2.14285714em;
  list-style-type: none;
}
.fa-ul > li {
  position: relative;
}
.fa-li {
  position: absolute;
  left: -2.14285714em;
  width: 2.14285714em;
  top: 0.14285714em;
  text-align: center;
}
.fa-li.fa-lg {
  left: -1.85714286em;
}
.fa-border {
  padding: 0.2em 0.25em 0.15em;
  border: solid 0.08em #eee;
  border-radius: 0.1em;
}
.fa-pull-left {
  float: left;
}
.fa-pull-right {
  float: right;
}
.fa.fa-pull-left {
  margin-right: 0.3em;
}
.fa.fa-pull-right {
  margin-left: 0.3em;
}
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}
.fa.pull-left {
  margin-right: 0.3em;
}
.fa.pull-right {
  margin-left: 0.3em;
}
.fa-spin {
  -webkit-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}
.fa-pulse {
  -webkit-animation: fa-spin 1s infinite steps(8);
  animation: fa-spin 1s infinite steps(8);
}
@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
.fa-rotate-90 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
.fa-rotate-180 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.fa-rotate-270 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}
.fa-flip-horizontal {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
  -webkit-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
.fa-flip-vertical {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
  -webkit-transform: scale(1, -1);
  -ms-transform: scale(1, -1);
  transform: scale(1, -1);
}
:root .fa-rotate-90,
:root .fa-rotate-180,
:root .fa-rotate-270,
:root .fa-flip-horizontal,
:root .fa-flip-vertical {
  filter: none;
}
.fa-stack {
  position: relative;
  display: inline-block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  vertical-align: middle;
}
.fa-stack-1x,
.fa-stack-2x {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
}
.fa-stack-1x {
  line-height: inherit;
}
.fa-stack-2x {
  font-size: 2em;
}
.fa-inverse {
  color: #fff;
}
.fa-glass:before {
  content: "\f000";
}
.fa-music:before {
  content: "\f001";
}
.fa-search:before {
  content: "\f002";
}
.fa-envelope-o:before {
  content: "\f003";
}
.fa-heart:before {
  content: "\f004";
}
.fa-star:before {
  content: "\f005";
}
.fa-star-o:before {
  content: "\f006";
}
.fa-user:before {
  content: "\f007";
}
.fa-film:before {
  content: "\f008";
}
.fa-th-large:before {
  content: "\f009";
}
.fa-th:before {
  content: "\f00a";
}
.fa-th-list:before {
  content: "\f00b";
}
.fa-check:before {
  content: "\f00c";
}
.fa-remove:before,
.fa-close:before,
.fa-times:before {
  content: "\f00d";
}
.fa-search-plus:before {
  content: "\f00e";
}
.fa-search-minus:before {
  content: "\f010";
}
.fa-power-off:before {
  content: "\f011";
}
.fa-signal:before {
  content: "\f012";
}
.fa-gear:before,
.fa-cog:before {
  content: "\f013";
}
.fa-trash-o:before {
  content: "\f014";
}
.fa-home:before {
  content: "\f015";
}
.fa-file-o:before {
  content: "\f016";
}
.fa-clock-o:before {
  content: "\f017";
}
.fa-road:before {
  content: "\f018";
}
.fa-download:before {
  content: "\f019";
}
.fa-arrow-circle-o-down:before {
  content: "\f01a";
}
.fa-arrow-circle-o-up:before {
  content: "\f01b";
}
.fa-inbox:before {
  content: "\f01c";
}
.fa-play-circle-o:before {
  content: "\f01d";
}
.fa-rotate-right:before,
.fa-repeat:before {
  content: "\f01e";
}
.fa-refresh:before {
  content: "\f021";
}
.fa-list-alt:before {
  content: "\f022";
}
.fa-lock:before {
  content: "\f023";
}
.fa-flag:before {
  content: "\f024";
}
.fa-headphones:before {
  content: "\f025";
}
.fa-volume-off:before {
  content: "\f026";
}
.fa-volume-down:before {
  content: "\f027";
}
.fa-volume-up:before {
  content: "\f028";
}
.fa-qrcode:before {
  content: "\f029";
}
.fa-barcode:before {
  content: "\f02a";
}
.fa-tag:before {
  content: "\f02b";
}
.fa-tags:before {
  content: "\f02c";
}
.fa-book:before {
  content: "\f02d";
}
.fa-bookmark:before {
  content: "\f02e";
}
.fa-print:before {
  content: "\f02f";
}
.fa-camera:before {
  content: "\f030";
}
.fa-font:before {
  content: "\f031";
}
.fa-bold:before {
  content: "\f032";
}
.fa-italic:before {
  content: "\f033";
}
.fa-text-height:before {
  content: "\f034";
}
.fa-text-width:before {
  content: "\f035";
}
.fa-align-left:before {
  content: "\f036";
}
.fa-align-center:before {
  content: "\f037";
}
.fa-align-right:before {
  content: "\f038";
}
.fa-align-justify:before {
  content: "\f039";
}
.fa-list:before {
  content: "\f03a";
}
.fa-dedent:before,
.fa-outdent:before {
  content: "\f03b";
}
.fa-indent:before {
  content: "\f03c";
}
.fa-video-camera:before {
  content: "\f03d";
}
.fa-photo:before,
.fa-image:before,
.fa-picture-o:before {
  content: "\f03e";
}
.fa-pencil:before {
  content: "\f040";
}
.fa-map-marker:before {
  content: "\f041";
}
.fa-adjust:before {
  content: "\f042";
}
.fa-tint:before {
  content: "\f043";
}
.fa-edit:before,
.fa-pencil-square-o:before {
  content: "\f044";
}
.fa-share-square-o:before {
  content: "\f045";
}
.fa-check-square-o:before {
  content: "\f046";
}
.fa-arrows:before {
  content: "\f047";
}
.fa-step-backward:before {
  content: "\f048";
}
.fa-fast-backward:before {
  content: "\f049";
}
.fa-backward:before {
  content: "\f04a";
}
.fa-play:before {
  content: "\f04b";
}
.fa-pause:before {
  content: "\f04c";
}
.fa-stop:before {
  content: "\f04d";
}
.fa-forward:before {
  content: "\f04e";
}
.fa-fast-forward:before {
  content: "\f050";
}
.fa-step-forward:before {
  content: "\f051";
}
.fa-eject:before {
  content: "\f052";
}
.fa-chevron-left:before {
  content: "\f053";
}
.fa-chevron-right:before {
  content: "\f054";
}
.fa-plus-circle:before {
  content: "\f055";
}
.fa-minus-circle:before {
  content: "\f056";
}
.fa-times-circle:before {
  content: "\f057";
}
.fa-check-circle:before {
  content: "\f058";
}
.fa-question-circle:before {
  content: "\f059";
}
.fa-info-circle:before {
  content: "\f05a";
}
.fa-crosshairs:before {
  content: "\f05b";
}
.fa-times-circle-o:before {
  content: "\f05c";
}
.fa-check-circle-o:before {
  content: "\f05d";
}
.fa-ban:before {
  content: "\f05e";
}
.fa-arrow-left:before {
  content: "\f060";
}
.fa-arrow-right:before {
  content: "\f061";
}
.fa-arrow-up:before {
  content: "\f062";
}
.fa-arrow-down:before {
  content: "\f063";
}
.fa-mail-forward:before,
.fa-share:before {
  content: "\f064";
}
.fa-expand:before {
  content: "\f065";
}
.fa-compress:before {
  content: "\f066";
}
.fa-plus:before {
  content: "\f067";
}
.fa-minus:before {
  content: "\f068";
}
.fa-asterisk:before {
  content: "\f069";
}
.fa-exclamation-circle:before {
  content: "\f06a";
}
.fa-gift:before {
  content: "\f06b";
}
.fa-leaf:before {
  content: "\f06c";
}
.fa-fire:before {
  content: "\f06d";
}
.fa-eye:before {
  content: "\f06e";
}
.fa-eye-slash:before {
  content: "\f070";
}
.fa-warning:before,
.fa-exclamation-triangle:before {
  content: "\f071";
}
.fa-plane:before {
  content: "\f072";
}
.fa-calendar:before {
  content: "\f073";
}
.fa-random:before {
  content: "\f074";
}
.fa-comment:before {
  content: "\f075";
}
.fa-magnet:before {
  content: "\f076";
}
.fa-chevron-up:before {
  content: "\f077";
}
.fa-chevron-down:before {
  content: "\f078";
}
.fa-retweet:before {
  content: "\f079";
}
.fa-shopping-cart:before {
  content: "\f07a";
}
.fa-folder:before {
  content: "\f07b";
}
.fa-folder-open:before {
  content: "\f07c";
}
.fa-arrows-v:before {
  content: "\f07d";
}
.fa-arrows-h:before {
  content: "\f07e";
}
.fa-bar-chart-o:before,
.fa-bar-chart:before {
  content: "\f080";
}
.fa-twitter-square:before {
  content: "\f081";
}
.fa-facebook-square:before {
  content: "\f082";
}
.fa-camera-retro:before {
  content: "\f083";
}
.fa-key:before {
  content: "\f084";
}
.fa-gears:before,
.fa-cogs:before {
  content: "\f085";
}
.fa-comments:before {
  content: "\f086";
}
.fa-thumbs-o-up:before {
  content: "\f087";
}
.fa-thumbs-o-down:before {
  content: "\f088";
}
.fa-star-half:before {
  content: "\f089";
}
.fa-heart-o:before {
  content: "\f08a";
}
.fa-sign-out:before {
  content: "\f08b";
}
.fa-linkedin-square:before {
  content: "\f08c";
}
.fa-thumb-tack:before {
  content: "\f08d";
}
.fa-external-link:before {
  content: "\f08e";
}
.fa-sign-in:before {
  content: "\f090";
}
.fa-trophy:before {
  content: "\f091";
}
.fa-github-square:before {
  content: "\f092";
}
.fa-upload:before {
  content: "\f093";
}
.fa-lemon-o:before {
  content: "\f094";
}
.fa-phone:before {
  content: "\f095";
}
.fa-square-o:before {
  content: "\f096";
}
.fa-bookmark-o:before {
  content: "\f097";
}
.fa-phone-square:before {
  content: "\f098";
}
.fa-twitter:before {
  content: "\f099";
}
.fa-facebook-f:before,
.fa-facebook:before {
  content: "\f09a";
}
.fa-github:before {
  content: "\f09b";
}
.fa-unlock:before {
  content: "\f09c";
}
.fa-credit-card:before {
  content: "\f09d";
}
.fa-feed:before,
.fa-rss:before {
  content: "\f09e";
}
.fa-hdd-o:before {
  content: "\f0a0";
}
.fa-bullhorn:before {
  content: "\f0a1";
}
.fa-bell:before {
  content: "\f0f3";
}
.fa-certificate:before {
  content: "\f0a3";
}
.fa-hand-o-right:before {
  content: "\f0a4";
}
.fa-hand-o-left:before {
  content: "\f0a5";
}
.fa-hand-o-up:before {
  content: "\f0a6";
}
.fa-hand-o-down:before {
  content: "\f0a7";
}
.fa-arrow-circle-left:before {
  content: "\f0a8";
}
.fa-arrow-circle-right:before {
  content: "\f0a9";
}
.fa-arrow-circle-up:before {
  content: "\f0aa";
}
.fa-arrow-circle-down:before {
  content: "\f0ab";
}
.fa-globe:before {
  content: "\f0ac";
}
.fa-wrench:before {
  content: "\f0ad";
}
.fa-tasks:before {
  content: "\f0ae";
}
.fa-filter:before {
  content: "\f0b0";
}
.fa-briefcase:before {
  content: "\f0b1";
}
.fa-arrows-alt:before {
  content: "\f0b2";
}
.fa-group:before,
.fa-users:before {
  content: "\f0c0";
}
.fa-chain:before,
.fa-link:before {
  content: "\f0c1";
}
.fa-cloud:before {
  content: "\f0c2";
}
.fa-flask:before {
  content: "\f0c3";
}
.fa-cut:before,
.fa-scissors:before {
  content: "\f0c4";
}
.fa-copy:before,
.fa-files-o:before {
  content: "\f0c5";
}
.fa-paperclip:before {
  content: "\f0c6";
}
.fa-save:before,
.fa-floppy-o:before {
  content: "\f0c7";
}
.fa-square:before {
  content: "\f0c8";
}
.fa-navicon:before,
.fa-reorder:before,
.fa-bars:before {
  content: "\f0c9";
}
.fa-list-ul:before {
  content: "\f0ca";
}
.fa-list-ol:before {
  content: "\f0cb";
}
.fa-strikethrough:before {
  content: "\f0cc";
}
.fa-underline:before {
  content: "\f0cd";
}
.fa-table:before {
  content: "\f0ce";
}
.fa-magic:before {
  content: "\f0d0";
}
.fa-truck:before {
  content: "\f0d1";
}
.fa-pinterest:before {
  content: "\f0d2";
}
.fa-pinterest-square:before {
  content: "\f0d3";
}
.fa-google-plus-square:before {
  content: "\f0d4";
}
.fa-google-plus:before {
  content: "\f0d5";
}
.fa-money:before {
  content: "\f0d6";
}
.fa-caret-down:before {
  content: "\f0d7";
}
.fa-caret-up:before {
  content: "\f0d8";
}
.fa-caret-left:before {
  content: "\f0d9";
}
.fa-caret-right:before {
  content: "\f0da";
}
.fa-columns:before {
  content: "\f0db";
}
.fa-unsorted:before,
.fa-sort:before {
  content: "\f0dc";
}
.fa-sort-down:before,
.fa-sort-desc:before {
  content: "\f0dd";
}
.fa-sort-up:before,
.fa-sort-asc:before {
  content: "\f0de";
}
.fa-envelope:before {
  content: "\f0e0";
}
.fa-linkedin:before {
  content: "\f0e1";
}
.fa-rotate-left:before,
.fa-undo:before {
  content: "\f0e2";
}
.fa-legal:before,
.fa-gavel:before {
  content: "\f0e3";
}
.fa-dashboard:before,
.fa-tachometer:before {
  content: "\f0e4";
}
.fa-comment-o:before {
  content: "\f0e5";
}
.fa-comments-o:before {
  content: "\f0e6";
}
.fa-flash:before,
.fa-bolt:before {
  content: "\f0e7";
}
.fa-sitemap:before {
  content: "\f0e8";
}
.fa-umbrella:before {
  content: "\f0e9";
}
.fa-paste:before,
.fa-clipboard:before {
  content: "\f0ea";
}
.fa-lightbulb-o:before {
  content: "\f0eb";
}
.fa-exchange:before {
  content: "\f0ec";
}
.fa-cloud-download:before {
  content: "\f0ed";
}
.fa-cloud-upload:before {
  content: "\f0ee";
}
.fa-user-md:before {
  content: "\f0f0";
}
.fa-stethoscope:before {
  content: "\f0f1";
}
.fa-suitcase:before {
  content: "\f0f2";
}
.fa-bell-o:before {
  content: "\f0a2";
}
.fa-coffee:before {
  content: "\f0f4";
}
.fa-cutlery:before {
  content: "\f0f5";
}
.fa-file-text-o:before {
  content: "\f0f6";
}
.fa-building-o:before {
  content: "\f0f7";
}
.fa-hospital-o:before {
  content: "\f0f8";
}
.fa-ambulance:before {
  content: "\f0f9";
}
.fa-medkit:before {
  content: "\f0fa";
}
.fa-fighter-jet:before {
  content: "\f0fb";
}
.fa-beer:before {
  content: "\f0fc";
}
.fa-h-square:before {
  content: "\f0fd";
}
.fa-plus-square:before {
  content: "\f0fe";
}
.fa-angle-double-left:before {
  content: "\f100";
}
.fa-angle-double-right:before {
  content: "\f101";
}
.fa-angle-double-up:before {
  content: "\f102";
}
.fa-angle-double-down:before {
  content: "\f103";
}
.fa-angle-left:before {
  content: "\f104";
}
.fa-angle-right:before {
  content: "\f105";
}
.fa-angle-up:before {
  content: "\f106";
}
.fa-angle-down:before {
  content: "\f107";
}
.fa-desktop:before {
  content: "\f108";
}
.fa-laptop:before {
  content: "\f109";
}
.fa-tablet:before {
  content: "\f10a";
}
.fa-mobile-phone:before,
.fa-mobile:before {
  content: "\f10b";
}
.fa-circle-o:before {
  content: "\f10c";
}
.fa-quote-left:before {
  content: "\f10d";
}
.fa-quote-right:before {
  content: "\f10e";
}
.fa-spinner:before {
  content: "\f110";
}
.fa-circle:before {
  content: "\f111";
}
.fa-mail-reply:before,
.fa-reply:before {
  content: "\f112";
}
.fa-github-alt:before {
  content: "\f113";
}
.fa-folder-o:before {
  content: "\f114";
}
.fa-folder-open-o:before {
  content: "\f115";
}
.fa-smile-o:before {
  content: "\f118";
}
.fa-frown-o:before {
  content: "\f119";
}
.fa-meh-o:before {
  content: "\f11a";
}
.fa-gamepad:before {
  content: "\f11b";
}
.fa-keyboard-o:before {
  content: "\f11c";
}
.fa-flag-o:before {
  content: "\f11d";
}
.fa-flag-checkered:before {
  content: "\f11e";
}
.fa-terminal:before {
  content: "\f120";
}
.fa-code:before {
  content: "\f121";
}
.fa-mail-reply-all:before,
.fa-reply-all:before {
  content: "\f122";
}
.fa-star-half-empty:before,
.fa-star-half-full:before,
.fa-star-half-o:before {
  content: "\f123";
}
.fa-location-arrow:before {
  content: "\f124";
}
.fa-crop:before {
  content: "\f125";
}
.fa-code-fork:before {
  content: "\f126";
}
.fa-unlink:before,
.fa-chain-broken:before {
  content: "\f127";
}
.fa-question:before {
  content: "\f128";
}
.fa-info:before {
  content: "\f129";
}
.fa-exclamation:before {
  content: "\f12a";
}
.fa-superscript:before {
  content: "\f12b";
}
.fa-subscript:before {
  content: "\f12c";
}
.fa-eraser:before {
  content: "\f12d";
}
.fa-puzzle-piece:before {
  content: "\f12e";
}
.fa-microphone:before {
  content: "\f130";
}
.fa-microphone-slash:before {
  content: "\f131";
}
.fa-shield:before {
  content: "\f132";
}
.fa-calendar-o:before {
  content: "\f133";
}
.fa-fire-extinguisher:before {
  content: "\f134";
}
.fa-rocket:before {
  content: "\f135";
}
.fa-maxcdn:before {
  content: "\f136";
}
.fa-chevron-circle-left:before {
  content: "\f137";
}
.fa-chevron-circle-right:before {
  content: "\f138";
}
.fa-chevron-circle-up:before {
  content: "\f139";
}
.fa-chevron-circle-down:before {
  content: "\f13a";
}
.fa-html5:before {
  content: "\f13b";
}
.fa-css3:before {
  content: "\f13c";
}
.fa-anchor:before {
  content: "\f13d";
}
.fa-unlock-alt:before {
  content: "\f13e";
}
.fa-bullseye:before {
  content: "\f140";
}
.fa-ellipsis-h:before {
  content: "\f141";
}
.fa-ellipsis-v:before {
  content: "\f142";
}
.fa-rss-square:before {
  content: "\f143";
}
.fa-play-circle:before {
  content: "\f144";
}
.fa-ticket:before {
  content: "\f145";
}
.fa-minus-square:before {
  content: "\f146";
}
.fa-minus-square-o:before {
  content: "\f147";
}
.fa-level-up:before {
  content: "\f148";
}
.fa-level-down:before {
  content: "\f149";
}
.fa-check-square:before {
  content: "\f14a";
}
.fa-pencil-square:before {
  content: "\f14b";
}
.fa-external-link-square:before {
  content: "\f14c";
}
.fa-share-square:before {
  content: "\f14d";
}
.fa-compass:before {
  content: "\f14e";
}
.fa-toggle-down:before,
.fa-caret-square-o-down:before {
  content: "\f150";
}
.fa-toggle-up:before,
.fa-caret-square-o-up:before {
  content: "\f151";
}
.fa-toggle-right:before,
.fa-caret-square-o-right:before {
  content: "\f152";
}
.fa-euro:before,
.fa-eur:before {
  content: "\f153";
}
.fa-gbp:before {
  content: "\f154";
}
.fa-dollar:before,
.fa-usd:before {
  content: "\f155";
}
.fa-rupee:before,
.fa-inr:before {
  content: "\f156";
}
.fa-cny:before,
.fa-rmb:before,
.fa-yen:before,
.fa-jpy:before {
  content: "\f157";
}
.fa-ruble:before,
.fa-rouble:before,
.fa-rub:before {
  content: "\f158";
}
.fa-won:before,
.fa-krw:before {
  content: "\f159";
}
.fa-bitcoin:before,
.fa-btc:before {
  content: "\f15a";
}
.fa-file:before {
  content: "\f15b";
}
.fa-file-text:before {
  content: "\f15c";
}
.fa-sort-alpha-asc:before {
  content: "\f15d";
}
.fa-sort-alpha-desc:before {
  content: "\f15e";
}
.fa-sort-amount-asc:before {
  content: "\f160";
}
.fa-sort-amount-desc:before {
  content: "\f161";
}
.fa-sort-numeric-asc:before {
  content: "\f162";
}
.fa-sort-numeric-desc:before {
  content: "\f163";
}
.fa-thumbs-up:before {
  content: "\f164";
}
.fa-thumbs-down:before {
  content: "\f165";
}
.fa-youtube-square:before {
  content: "\f166";
}
.fa-youtube:before {
  content: "\f167";
}
.fa-xing:before {
  content: "\f168";
}
.fa-xing-square:before {
  content: "\f169";
}
.fa-youtube-play:before {
  content: "\f16a";
}
.fa-dropbox:before {
  content: "\f16b";
}
.fa-stack-overflow:before {
  content: "\f16c";
}
.fa-instagram:before {
  content: "\f16d";
}
.fa-flickr:before {
  content: "\f16e";
}
.fa-adn:before {
  content: "\f170";
}
.fa-bitbucket:before {
  content: "\f171";
}
.fa-bitbucket-square:before {
  content: "\f172";
}
.fa-tumblr:before {
  content: "\f173";
}
.fa-tumblr-square:before {
  content: "\f174";
}
.fa-long-arrow-down:before {
  content: "\f175";
}
.fa-long-arrow-up:before {
  content: "\f176";
}
.fa-long-arrow-left:before {
  content: "\f177";
}
.fa-long-arrow-right:before {
  content: "\f178";
}
.fa-apple:before {
  content: "\f179";
}
.fa-windows:before {
  content: "\f17a";
}
.fa-android:before {
  content: "\f17b";
}
.fa-linux:before {
  content: "\f17c";
}
.fa-dribbble:before {
  content: "\f17d";
}
.fa-skype:before {
  content: "\f17e";
}
.fa-foursquare:before {
  content: "\f180";
}
.fa-trello:before {
  content: "\f181";
}
.fa-female:before {
  content: "\f182";
}
.fa-male:before {
  content: "\f183";
}
.fa-gittip:before,
.fa-gratipay:before {
  content: "\f184";
}
.fa-sun-o:before {
  content: "\f185";
}
.fa-moon-o:before {
  content: "\f186";
}
.fa-archive:before {
  content: "\f187";
}
.fa-bug:before {
  content: "\f188";
}
.fa-vk:before {
  content: "\f189";
}
.fa-weibo:before {
  content: "\f18a";
}
.fa-renren:before {
  content: "\f18b";
}
.fa-pagelines:before {
  content: "\f18c";
}
.fa-stack-exchange:before {
  content: "\f18d";
}
.fa-arrow-circle-o-right:before {
  content: "\f18e";
}
.fa-arrow-circle-o-left:before {
  content: "\f190";
}
.fa-toggle-left:before,
.fa-caret-square-o-left:before {
  content: "\f191";
}
.fa-dot-circle-o:before {
  content: "\f192";
}
.fa-wheelchair:before {
  content: "\f193";
}
.fa-vimeo-square:before {
  content: "\f194";
}
.fa-turkish-lira:before,
.fa-try:before {
  content: "\f195";
}
.fa-plus-square-o:before {
  content: "\f196";
}
.fa-space-shuttle:before {
  content: "\f197";
}
.fa-slack:before {
  content: "\f198";
}
.fa-envelope-square:before {
  content: "\f199";
}
.fa-wordpress:before {
  content: "\f19a";
}
.fa-openid:before {
  content: "\f19b";
}
.fa-institution:before,
.fa-bank:before,
.fa-university:before {
  content: "\f19c";
}
.fa-mortar-board:before,
.fa-graduation-cap:before {
  content: "\f19d";
}
.fa-yahoo:before {
  content: "\f19e";
}
.fa-google:before {
  content: "\f1a0";
}
.fa-reddit:before {
  content: "\f1a1";
}
.fa-reddit-square:before {
  content: "\f1a2";
}
.fa-stumbleupon-circle:before {
  content: "\f1a3";
}
.fa-stumbleupon:before {
  content: "\f1a4";
}
.fa-delicious:before {
  content: "\f1a5";
}
.fa-digg:before {
  content: "\f1a6";
}
.fa-pied-piper:before {
  content: "\f1a7";
}
.fa-pied-piper-alt:before {
  content: "\f1a8";
}
.fa-drupal:before {
  content: "\f1a9";
}
.fa-joomla:before {
  content: "\f1aa";
}
.fa-language:before {
  content: "\f1ab";
}
.fa-fax:before {
  content: "\f1ac";
}
.fa-building:before {
  content: "\f1ad";
}
.fa-child:before {
  content: "\f1ae";
}
.fa-paw:before {
  content: "\f1b0";
}
.fa-spoon:before {
  content: "\f1b1";
}
.fa-cube:before {
  content: "\f1b2";
}
.fa-cubes:before {
  content: "\f1b3";
}
.fa-behance:before {
  content: "\f1b4";
}
.fa-behance-square:before {
  content: "\f1b5";
}
.fa-steam:before {
  content: "\f1b6";
}
.fa-steam-square:before {
  content: "\f1b7";
}
.fa-recycle:before {
  content: "\f1b8";
}
.fa-automobile:before,
.fa-car:before {
  content: "\f1b9";
}
.fa-cab:before,
.fa-taxi:before {
  content: "\f1ba";
}
.fa-tree:before {
  content: "\f1bb";
}
.fa-spotify:before {
  content: "\f1bc";
}
.fa-deviantart:before {
  content: "\f1bd";
}
.fa-soundcloud:before {
  content: "\f1be";
}
.fa-database:before {
  content: "\f1c0";
}
.fa-file-pdf-o:before {
  content: "\f1c1";
}
.fa-file-word-o:before {
  content: "\f1c2";
}
.fa-file-excel-o:before {
  content: "\f1c3";
}
.fa-file-powerpoint-o:before {
  content: "\f1c4";
}
.fa-file-photo-o:before,
.fa-file-picture-o:before,
.fa-file-image-o:before {
  content: "\f1c5";
}
.fa-file-zip-o:before,
.fa-file-archive-o:before {
  content: "\f1c6";
}
.fa-file-sound-o:before,
.fa-file-audio-o:before {
  content: "\f1c7";
}
.fa-file-movie-o:before,
.fa-file-video-o:before {
  content: "\f1c8";
}
.fa-file-code-o:before {
  content: "\f1c9";
}
.fa-vine:before {
  content: "\f1ca";
}
.fa-codepen:before {
  content: "\f1cb";
}
.fa-jsfiddle:before {
  content: "\f1cc";
}
.fa-life-bouy:before,
.fa-life-buoy:before,
.fa-life-saver:before,
.fa-support:before,
.fa-life-ring:before {
  content: "\f1cd";
}
.fa-circle-o-notch:before {
  content: "\f1ce";
}
.fa-ra:before,
.fa-rebel:before {
  content: "\f1d0";
}
.fa-ge:before,
.fa-empire:before {
  content: "\f1d1";
}
.fa-git-square:before {
  content: "\f1d2";
}
.fa-git:before {
  content: "\f1d3";
}
.fa-y-combinator-square:before,
.fa-yc-square:before,
.fa-hacker-news:before {
  content: "\f1d4";
}
.fa-tencent-weibo:before {
  content: "\f1d5";
}
.fa-qq:before {
  content: "\f1d6";
}
.fa-wechat:before,
.fa-weixin:before {
  content: "\f1d7";
}
.fa-send:before,
.fa-paper-plane:before {
  content: "\f1d8";
}
.fa-send-o:before,
.fa-paper-plane-o:before {
  content: "\f1d9";
}
.fa-history:before {
  content: "\f1da";
}
.fa-circle-thin:before {
  content: "\f1db";
}
.fa-header:before {
  content: "\f1dc";
}
.fa-paragraph:before {
  content: "\f1dd";
}
.fa-sliders:before {
  content: "\f1de";
}
.fa-share-alt:before {
  content: "\f1e0";
}
.fa-share-alt-square:before {
  content: "\f1e1";
}
.fa-bomb:before {
  content: "\f1e2";
}
.fa-soccer-ball-o:before,
.fa-futbol-o:before {
  content: "\f1e3";
}
.fa-tty:before {
  content: "\f1e4";
}
.fa-binoculars:before {
  content: "\f1e5";
}
.fa-plug:before {
  content: "\f1e6";
}
.fa-slideshare:before {
  content: "\f1e7";
}
.fa-twitch:before {
  content: "\f1e8";
}
.fa-yelp:before {
  content: "\f1e9";
}
.fa-newspaper-o:before {
  content: "\f1ea";
}
.fa-wifi:before {
  content: "\f1eb";
}
.fa-calculator:before {
  content: "\f1ec";
}
.fa-paypal:before {
  content: "\f1ed";
}
.fa-google-wallet:before {
  content: "\f1ee";
}
.fa-cc-visa:before {
  content: "\f1f0";
}
.fa-cc-mastercard:before {
  content: "\f1f1";
}
.fa-cc-discover:before {
  content: "\f1f2";
}
.fa-cc-amex:before {
  content: "\f1f3";
}
.fa-cc-paypal:before {
  content: "\f1f4";
}
.fa-cc-stripe:before {
  content: "\f1f5";
}
.fa-bell-slash:before {
  content: "\f1f6";
}
.fa-bell-slash-o:before {
  content: "\f1f7";
}
.fa-trash:before {
  content: "\f1f8";
}
.fa-copyright:before {
  content: "\f1f9";
}
.fa-at:before {
  content: "\f1fa";
}
.fa-eyedropper:before {
  content: "\f1fb";
}
.fa-paint-brush:before {
  content: "\f1fc";
}
.fa-birthday-cake:before {
  content: "\f1fd";
}
.fa-area-chart:before {
  content: "\f1fe";
}
.fa-pie-chart:before {
  content: "\f200";
}
.fa-line-chart:before {
  content: "\f201";
}
.fa-lastfm:before {
  content: "\f202";
}
.fa-lastfm-square:before {
  content: "\f203";
}
.fa-toggle-off:before {
  content: "\f204";
}
.fa-toggle-on:before {
  content: "\f205";
}
.fa-bicycle:before {
  content: "\f206";
}
.fa-bus:before {
  content: "\f207";
}
.fa-ioxhost:before {
  content: "\f208";
}
.fa-angellist:before {
  content: "\f209";
}
.fa-cc:before {
  content: "\f20a";
}
.fa-shekel:before,
.fa-sheqel:before,
.fa-ils:before {
  content: "\f20b";
}
.fa-meanpath:before {
  content: "\f20c";
}
.fa-buysellads:before {
  content: "\f20d";
}
.fa-connectdevelop:before {
  content: "\f20e";
}
.fa-dashcube:before {
  content: "\f210";
}
.fa-forumbee:before {
  content: "\f211";
}
.fa-leanpub:before {
  content: "\f212";
}
.fa-sellsy:before {
  content: "\f213";
}
.fa-shirtsinbulk:before {
  content: "\f214";
}
.fa-simplybuilt:before {
  content: "\f215";
}
.fa-skyatlas:before {
  content: "\f216";
}
.fa-cart-plus:before {
  content: "\f217";
}
.fa-cart-arrow-down:before {
  content: "\f218";
}
.fa-diamond:before {
  content: "\f219";
}
.fa-ship:before {
  content: "\f21a";
}
.fa-user-secret:before {
  content: "\f21b";
}
.fa-motorcycle:before {
  content: "\f21c";
}
.fa-street-view:before {
  content: "\f21d";
}
.fa-heartbeat:before {
  content: "\f21e";
}
.fa-venus:before {
  content: "\f221";
}
.fa-mars:before {
  content: "\f222";
}
.fa-mercury:before {
  content: "\f223";
}
.fa-intersex:before,
.fa-transgender:before {
  content: "\f224";
}
.fa-transgender-alt:before {
  content: "\f225";
}
.fa-venus-double:before {
  content: "\f226";
}
.fa-mars-double:before {
  content: "\f227";
}
.fa-venus-mars:before {
  content: "\f228";
}
.fa-mars-stroke:before {
  content: "\f229";
}
.fa-mars-stroke-v:before {
  content: "\f22a";
}
.fa-mars-stroke-h:before {
  content: "\f22b";
}
.fa-neuter:before {
  content: "\f22c";
}
.fa-genderless:before {
  content: "\f22d";
}
.fa-facebook-official:before {
  content: "\f230";
}
.fa-pinterest-p:before {
  content: "\f231";
}
.fa-whatsapp:before {
  content: "\f232";
}
.fa-server:before {
  content: "\f233";
}
.fa-user-plus:before {
  content: "\f234";
}
.fa-user-times:before {
  content: "\f235";
}
.fa-hotel:before,
.fa-bed:before {
  content: "\f236";
}
.fa-viacoin:before {
  content: "\f237";
}
.fa-train:before {
  content: "\f238";
}
.fa-subway:before {
  content: "\f239";
}
.fa-medium:before {
  content: "\f23a";
}
.fa-yc:before,
.fa-y-combinator:before {
  content: "\f23b";
}
.fa-optin-monster:before {
  content: "\f23c";
}
.fa-opencart:before {
  content: "\f23d";
}
.fa-expeditedssl:before {
  content: "\f23e";
}
.fa-battery-4:before,
.fa-battery-full:before {
  content: "\f240";
}
.fa-battery-3:before,
.fa-battery-three-quarters:before {
  content: "\f241";
}
.fa-battery-2:before,
.fa-battery-half:before {
  content: "\f242";
}
.fa-battery-1:before,
.fa-battery-quarter:before {
  content: "\f243";
}
.fa-battery-0:before,
.fa-battery-empty:before {
  content: "\f244";
}
.fa-mouse-pointer:before {
  content: "\f245";
}
.fa-i-cursor:before {
  content: "\f246";
}
.fa-object-group:before {
  content: "\f247";
}
.fa-object-ungroup:before {
  content: "\f248";
}
.fa-sticky-note:before {
  content: "\f249";
}
.fa-sticky-note-o:before {
  content: "\f24a";
}
.fa-cc-jcb:before {
  content: "\f24b";
}
.fa-cc-diners-club:before {
  content: "\f24c";
}
.fa-clone:before {
  content: "\f24d";
}
.fa-balance-scale:before {
  content: "\f24e";
}
.fa-hourglass-o:before {
  content: "\f250";
}
.fa-hourglass-1:before,
.fa-hourglass-start:before {
  content: "\f251";
}
.fa-hourglass-2:before,
.fa-hourglass-half:before {
  content: "\f252";
}
.fa-hourglass-3:before,
.fa-hourglass-end:before {
  content: "\f253";
}
.fa-hourglass:before {
  content: "\f254";
}
.fa-hand-grab-o:before,
.fa-hand-rock-o:before {
  content: "\f255";
}
.fa-hand-stop-o:before,
.fa-hand-paper-o:before {
  content: "\f256";
}
.fa-hand-scissors-o:before {
  content: "\f257";
}
.fa-hand-lizard-o:before {
  content: "\f258";
}
.fa-hand-spock-o:before {
  content: "\f259";
}
.fa-hand-pointer-o:before {
  content: "\f25a";
}
.fa-hand-peace-o:before {
  content: "\f25b";
}
.fa-trademark:before {
  content: "\f25c";
}
.fa-registered:before {
  content: "\f25d";
}
.fa-creative-commons:before {
  content: "\f25e";
}
.fa-gg:before {
  content: "\f260";
}
.fa-gg-circle:before {
  content: "\f261";
}
.fa-tripadvisor:before {
  content: "\f262";
}
.fa-odnoklassniki:before {
  content: "\f263";
}
.fa-odnoklassniki-square:before {
  content: "\f264";
}
.fa-get-pocket:before {
  content: "\f265";
}
.fa-wikipedia-w:before {
  content: "\f266";
}
.fa-safari:before {
  content: "\f267";
}
.fa-chrome:before {
  content: "\f268";
}
.fa-firefox:before {
  content: "\f269";
}
.fa-opera:before {
  content: "\f26a";
}
.fa-internet-explorer:before {
  content: "\f26b";
}
.fa-tv:before,
.fa-television:before {
  content: "\f26c";
}
.fa-contao:before {
  content: "\f26d";
}
.fa-500px:before {
  content: "\f26e";
}
.fa-amazon:before {
  content: "\f270";
}
.fa-calendar-plus-o:before {
  content: "\f271";
}
.fa-calendar-minus-o:before {
  content: "\f272";
}
.fa-calendar-times-o:before {
  content: "\f273";
}
.fa-calendar-check-o:before {
  content: "\f274";
}
.fa-industry:before {
  content: "\f275";
}
.fa-map-pin:before {
  content: "\f276";
}
.fa-map-signs:before {
  content: "\f277";
}
.fa-map-o:before {
  content: "\f278";
}
.fa-map:before {
  content: "\f279";
}
.fa-commenting:before {
  content: "\f27a";
}
.fa-commenting-o:before {
  content: "\f27b";
}
.fa-houzz:before {
  content: "\f27c";
}
.fa-vimeo:before {
  content: "\f27d";
}
.fa-black-tie:before {
  content: "\f27e";
}
.fa-fonticons:before {
  content: "\f280";
}
.fa-reddit-alien:before {
  content: "\f281";
}
.fa-edge:before {
  content: "\f282";
}
.fa-credit-card-alt:before {
  content: "\f283";
}
.fa-codiepie:before {
  content: "\f284";
}
.fa-modx:before {
  content: "\f285";
}
.fa-fort-awesome:before {
  content: "\f286";
}
.fa-usb:before {
  content: "\f287";
}
.fa-product-hunt:before {
  content: "\f288";
}
.fa-mixcloud:before {
  content: "\f289";
}
.fa-scribd:before {
  content: "\f28a";
}
.fa-pause-circle:before {
  content: "\f28b";
}
.fa-pause-circle-o:before {
  content: "\f28c";
}
.fa-stop-circle:before {
  content: "\f28d";
}
.fa-stop-circle-o:before {
  content: "\f28e";
}
.fa-shopping-bag:before {
  content: "\f290";
}
.fa-shopping-basket:before {
  content: "\f291";
}
.fa-hashtag:before {
  content: "\f292";
}
.fa-bluetooth:before {
  content: "\f293";
}
.fa-bluetooth-b:before {
  content: "\f294";
}
.fa-percent:before {
  content: "\f295";
}
:root {
  --font-family: "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

html {
  font-family: var(--font-family);
}

body {
  font-family: var(--font-family);
}

@font-face {
  font-family: "Source Han Sans SC";
  src: url("/fonts/source-han-sans/SourceHanSansSC-ExtraLight.otf")
    format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans SC";
  src: url("/fonts/source-han-sans/SourceHanSansSC-Regular.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans SC";
  src: url("/fonts/source-han-sans/SourceHanSansSC-Medium.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans SC";
  src: url("/fonts/source-han-sans/SourceHanSansSC-Bold.otf") format("opentype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* font-awesome.min.css 已通过 index.css 导入 */

/* 全局强调色：蓝 → 紫 → 红 */
:root {
  --accent-blue: #3d8dff;
  --accent-purple: #9b63ff;
  --accent-red: #ff3d6a;
  --accent-blue-rgb: 61, 141, 255;
  --accent-purple-rgb: 155, 99, 255;
  --accent-red-rgb: 255, 61, 106;
  --accent-gradient: linear-gradient(
    118deg,
    var(--accent-blue) 0%,
    var(--accent-purple) 52%,
    var(--accent-red) 100%
  );
  --accent-gradient-play: linear-gradient(
    155deg,
    #8ab4ff 0%,
    var(--accent-purple) 42%,
    #ff5c82 100%
  );
  --accent-gradient-thumb: linear-gradient(
    145deg,
    var(--accent-blue),
    var(--accent-red)
  );
  --accent-solid: #8f74f0;
  --accent-solid-hover: #a08cf5;
  --accent-solid-active: #6b52d4;
  --accent-rgb: 143, 116, 240;
  --accent-lyric: #c4b6f2;
  --accent-lyric-bright: #ddd2ff;
  --lyric-translation-color: rgba(196, 182, 242, 0.88);
  --lyric-translation-color-muted: rgba(196, 182, 242, 0.58);
  --accent-stop-text: #d4caf5;
  accent-color: var(--accent-solid);

  /* —— 字号 / 字重 / 行高 —— */
  --text-xs: 0.72rem;
  --text-sm: 0.8125rem;
  --text-md: 0.9375rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.35rem;
  --text-2xl: 1.75rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --leading-tight: 1.35;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;
  --tracking-label: 0.04em;
  --tracking-tight: -0.01em;

  /* —— 墨色 / 表面 / 边框（深色默认） —— */
  --ink-primary: rgba(255, 255, 255, 0.94);
  --ink-secondary: rgba(255, 255, 255, 0.72);
  --ink-muted: rgba(255, 255, 255, 0.52);
  --ink-faint: rgba(255, 255, 255, 0.36);
  --surface-0: #050508;
  --surface-1: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --surface-elevated: rgba(18, 20, 28, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.28);
  --shadow-elevated: 0 24px 64px rgba(0, 0, 0, 0.38);

  /* iOS 26 圆角：大卡片 / 嵌套封面与控件 */
  --radius-ios26: 22px;
  --radius-ios26-sm: 16px;
  /* 音乐页搜索框（深色默认） */
  --music-search-input-size: var(--text-lg);
  --music-search-input-color: var(--ink-primary);
  --music-search-placeholder-color: var(--ink-muted);
  --music-search-shell-bg: var(--surface-2);
  --music-search-shell-border: var(--border-subtle);
  --music-search-shell-blur: 8px;
  --music-search-shell-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --music-search-action-color: var(--ink-secondary);
  --music-search-action-bg: var(--surface-2);
  --music-search-action-hover-bg: rgba(255, 255, 255, 0.14);
  --music-search-action-hover-color: var(--ink-primary);
  /* Photo 分页器（深色默认） */
  --photo-pagination-btn-bg: var(--surface-1);
  --photo-pagination-btn-border: var(--border-subtle);
  --photo-pagination-btn-color: var(--ink-secondary);
  --photo-pagination-btn-hover-bg: var(--surface-2);
  --photo-pagination-btn-hover-color: var(--ink-primary);
  --photo-pagination-btn-hover-border: rgba(var(--accent-rgb), 0.36);
  --photo-pagination-btn-active-bg: rgba(var(--accent-rgb), 0.28);
  --photo-pagination-btn-active-border: rgba(var(--accent-rgb), 0.52);
  --photo-pagination-btn-active-color: #fff;
  --photo-pagination-btn-disabled-opacity: 0.32;
}
/*
	Visualize by TEMPLATED
	templated.co @templatedco
	Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
*/

/* Reset初始化所有样式 */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  scrollbar-width: none; /* 隐藏滚动条(水平&垂直) */
}

.image.fit img {
  width: 100%;
  height: auto;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  -webkit-text-size-adjust: none;
}

/* Box Model */

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* Grid */

.row {
  border-bottom: solid 1px transparent;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.row > * {
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.row:after,
.row:before {
  content: "";
  display: block;
  clear: both;
  height: 0;
}

.row.uniform > * > :first-child {
  margin-top: 0;
}

.row.uniform > * > :last-child {
  margin-bottom: 0;
}

.row.\30 \25 > * {
  padding: 0 0 0 0em;
}

.row.\30 \25 {
  margin: 0 0 -1px 0em;
}

.row.uniform.\30 \25 > * {
  padding: 0em 0 0 0em;
}

.row.uniform.\30 \25 {
  margin: 0em 0 -1px 0em;
}

.row > * {
  padding: 0 0 0 2em;
}

.row {
  margin: 0 0 -1px -2em;
}

.row.uniform > * {
  padding: 2em 0 0 2em;
}

.row.uniform {
  margin: -2em 0 -1px -2em;
}

.row.\32 00\25 > * {
  padding: 0 0 0 4em;
}

.row.\32 00\25 {
  margin: 0 0 -1px -4em;
}

.row.uniform.\32 00\25 > * {
  padding: 4em 0 0 4em;
}

.row.uniform.\32 00\25 {
  margin: -4em 0 -1px -4em;
}

.row.\31 50\25 > * {
  padding: 0 0 0 3em;
}

.row.\31 50\25 {
  margin: 0 0 -1px -3em;
}

.row.uniform.\31 50\25 > * {
  padding: 3em 0 0 3em;
}

.row.uniform.\31 50\25 {
  margin: -3em 0 -1px -3em;
}

.row.\35 0\25 > * {
  padding: 0 0 0 1em;
}

.row.\35 0\25 {
  margin: 0 0 -1px -1em;
}

.row.uniform.\35 0\25 > * {
  padding: 1em 0 0 1em;
}

.row.uniform.\35 0\25 {
  margin: -1em 0 -1px -1em;
}

.row.\32 5\25 > * {
  padding: 0 0 0 0.5em;
}

.row.\32 5\25 {
  margin: 0 0 -1px -0.5em;
}

.row.uniform.\32 5\25 > * {
  padding: 0.5em 0 0 0.5em;
}

.row.uniform.\32 5\25 {
  margin: -0.5em 0 -1px -0.5em;
}

.\31 2u,
.\31 2u\24 {
  width: 100%;
  clear: none;
  margin-left: 0;
}

.\31 1u,
.\31 1u\24 {
  width: 91.6666666667%;
  clear: none;
  margin-left: 0;
}

.\31 0u,
.\31 0u\24 {
  width: 83.3333333333%;
  clear: none;
  margin-left: 0;
}

.\39 u,
.\39 u\24 {
  width: 75%;
  clear: none;
  margin-left: 0;
}

.\38 u,
.\38 u\24 {
  width: 66.6666666667%;
  clear: none;
  margin-left: 0;
}

.\37 u,
.\37 u\24 {
  width: 58.3333333333%;
  clear: none;
  margin-left: 0;
}

.\36 u,
.\36 u\24 {
  width: 50%;
  clear: none;
  margin-left: 0;
}

.\35 u,
.\35 u\24 {
  width: 41.6666666667%;
  clear: none;
  margin-left: 0;
}

.\34 u,
.\34 u\24 {
  width: 33.3333333333%;
  clear: none;
  margin-left: 0;
}

.\33 u,
.\33 u\24 {
  width: 25%;
  clear: none;
  margin-left: 0;
}

.\32 u,
.\32 u\24 {
  width: 16.6666666667%;
  clear: none;
  margin-left: 0;
}

.\31 u,
.\31 u\24 {
  width: 8.3333333333%;
  clear: none;
  margin-left: 0;
}

.\31 2u\24 + *,
.\31 1u\24 + *,
.\31 0u\24 + *,
.\39 u\24 + *,
.\38 u\24 + *,
.\37 u\24 + *,
.\36 u\24 + *,
.\35 u\24 + *,
.\34 u\24 + *,
.\33 u\24 + *,
.\32 u\24 + *,
.\31 u\24 + * {
  clear: left;
}

.\-11u {
  margin-left: 91.66667%;
}

.\-10u {
  margin-left: 83.33333%;
}

.\-9u {
  margin-left: 75%;
}

.\-8u {
  margin-left: 66.66667%;
}

.\-7u {
  margin-left: 58.33333%;
}

.\-6u {
  margin-left: 50%;
}

.\-5u {
  margin-left: 41.66667%;
}

.\-4u {
  margin-left: 33.33333%;
}

.\-3u {
  margin-left: 25%;
}

.\-2u {
  margin-left: 16.66667%;
}

.\-1u {
  margin-left: 8.33333%;
}

@media screen and (max-width: 1680px) {
  .row > * {
    padding: 0 0 0 2em;
  }

  .row {
    margin: 0 0 -1px -2em;
  }

  .row.uniform > * {
    padding: 2em 0 0 2em;
  }

  .row.uniform {
    margin: -2em 0 -1px -2em;
  }

  .row.\32 00\25 > * {
    padding: 0 0 0 4em;
  }

  .row.\32 00\25 {
    margin: 0 0 -1px -4em;
  }

  .row.uniform.\32 00\25 > * {
    padding: 4em 0 0 4em;
  }

  .row.uniform.\32 00\25 {
    margin: -4em 0 -1px -4em;
  }

  .row.\31 50\25 > * {
    padding: 0 0 0 3em;
  }

  .row.\31 50\25 {
    margin: 0 0 -1px -3em;
  }

  .row.uniform.\31 50\25 > * {
    padding: 3em 0 0 3em;
  }

  .row.uniform.\31 50\25 {
    margin: -3em 0 -1px -3em;
  }

  .row.\35 0\25 > * {
    padding: 0 0 0 1em;
  }

  .row.\35 0\25 {
    margin: 0 0 -1px -1em;
  }

  .row.uniform.\35 0\25 > * {
    padding: 1em 0 0 1em;
  }

  .row.uniform.\35 0\25 {
    margin: -1em 0 -1px -1em;
  }

  .row.\32 5\25 > * {
    padding: 0 0 0 0.5em;
  }

  .row.\32 5\25 {
    margin: 0 0 -1px -0.5em;
  }

  .row.uniform.\32 5\25 > * {
    padding: 0.5em 0 0 0.5em;
  }

  .row.uniform.\32 5\25 {
    margin: -0.5em 0 -1px -0.5em;
  }

  .\31 2u\28xlarge\29,
  .\31 2u\24\28xlarge\29 {
    width: 100%;
    clear: none;
    margin-left: 0;
  }

  .\31 1u\28xlarge\29,
  .\31 1u\24\28xlarge\29 {
    width: 91.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\31 0u\28xlarge\29,
  .\31 0u\24\28xlarge\29 {
    width: 83.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\39 u\28xlarge\29,
  .\39 u\24\28xlarge\29 {
    width: 75%;
    clear: none;
    margin-left: 0;
  }

  .\38 u\28xlarge\29,
  .\38 u\24\28xlarge\29 {
    width: 66.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\37 u\28xlarge\29,
  .\37 u\24\28xlarge\29 {
    width: 58.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\36 u\28xlarge\29,
  .\36 u\24\28xlarge\29 {
    width: 50%;
    clear: none;
    margin-left: 0;
  }

  .\35 u\28xlarge\29,
  .\35 u\24\28xlarge\29 {
    width: 41.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\34 u\28xlarge\29,
  .\34 u\24\28xlarge\29 {
    width: 33.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\33 u\28xlarge\29,
  .\33 u\24\28xlarge\29 {
    width: 25%;
    clear: none;
    margin-left: 0;
  }

  .\32 u\28xlarge\29,
  .\32 u\24\28xlarge\29 {
    width: 16.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\31 u\28xlarge\29,
  .\31 u\24\28xlarge\29 {
    width: 8.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\31 2u\24\28xlarge\29 + *,
  .\31 1u\24\28xlarge\29 + *,
  .\31 0u\24\28xlarge\29 + *,
  .\39 u\24\28xlarge\29 + *,
  .\38 u\24\28xlarge\29 + *,
  .\37 u\24\28xlarge\29 + *,
  .\36 u\24\28xlarge\29 + *,
  .\35 u\24\28xlarge\29 + *,
  .\34 u\24\28xlarge\29 + *,
  .\33 u\24\28xlarge\29 + *,
  .\32 u\24\28xlarge\29 + *,
  .\31 u\24\28xlarge\29 + * {
    clear: left;
  }

  .\-11u\28xlarge\29 {
    margin-left: 91.66667%;
  }

  .\-10u\28xlarge\29 {
    margin-left: 83.33333%;
  }

  .\-9u\28xlarge\29 {
    margin-left: 75%;
  }

  .\-8u\28xlarge\29 {
    margin-left: 66.66667%;
  }

  .\-7u\28xlarge\29 {
    margin-left: 58.33333%;
  }

  .\-6u\28xlarge\29 {
    margin-left: 50%;
  }

  .\-5u\28xlarge\29 {
    margin-left: 41.66667%;
  }

  .\-4u\28xlarge\29 {
    margin-left: 33.33333%;
  }

  .\-3u\28xlarge\29 {
    margin-left: 25%;
  }

  .\-2u\28xlarge\29 {
    margin-left: 16.66667%;
  }

  .\-1u\28xlarge\29 {
    margin-left: 8.33333%;
  }
}

@media screen and (max-width: 1280px) {
  .row > * {
    padding: 0 0 0 2em;
  }

  .row {
    margin: 0 0 -1px -2em;
  }

  .row.uniform > * {
    padding: 2em 0 0 2em;
  }

  .row.uniform {
    margin: -2em 0 -1px -2em;
  }

  .row.\32 00\25 > * {
    padding: 0 0 0 4em;
  }

  .row.\32 00\25 {
    margin: 0 0 -1px -4em;
  }

  .row.uniform.\32 00\25 > * {
    padding: 4em 0 0 4em;
  }

  .row.uniform.\32 00\25 {
    margin: -4em 0 -1px -4em;
  }

  .row.\31 50\25 > * {
    padding: 0 0 0 3em;
  }

  .row.\31 50\25 {
    margin: 0 0 -1px -3em;
  }

  .row.uniform.\31 50\25 > * {
    padding: 3em 0 0 3em;
  }

  .row.uniform.\31 50\25 {
    margin: -3em 0 -1px -3em;
  }

  .row.\35 0\25 > * {
    padding: 0 0 0 1em;
  }

  .row.\35 0\25 {
    margin: 0 0 -1px -1em;
  }

  .row.uniform.\35 0\25 > * {
    padding: 1em 0 0 1em;
  }

  .row.uniform.\35 0\25 {
    margin: -1em 0 -1px -1em;
  }

  .row.\32 5\25 > * {
    padding: 0 0 0 0.5em;
  }

  .row.\32 5\25 {
    margin: 0 0 -1px -0.5em;
  }

  .row.uniform.\32 5\25 > * {
    padding: 0.5em 0 0 0.5em;
  }

  .row.uniform.\32 5\25 {
    margin: -0.5em 0 -1px -0.5em;
  }

  .\31 2u\28large\29,
  .\31 2u\24\28large\29 {
    width: 100%;
    clear: none;
    margin-left: 0;
  }

  .\31 1u\28large\29,
  .\31 1u\24\28large\29 {
    width: 91.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\31 0u\28large\29,
  .\31 0u\24\28large\29 {
    width: 83.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\39 u\28large\29,
  .\39 u\24\28large\29 {
    width: 75%;
    clear: none;
    margin-left: 0;
  }

  .\38 u\28large\29,
  .\38 u\24\28large\29 {
    width: 66.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\37 u\28large\29,
  .\37 u\24\28large\29 {
    width: 58.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\36 u\28large\29,
  .\36 u\24\28large\29 {
    width: 50%;
    clear: none;
    margin-left: 0;
  }

  .\35 u\28large\29,
  .\35 u\24\28large\29 {
    width: 41.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\34 u\28large\29,
  .\34 u\24\28large\29 {
    width: 33.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\33 u\28large\29,
  .\33 u\24\28large\29 {
    width: 25%;
    clear: none;
    margin-left: 0;
  }

  .\32 u\28large\29,
  .\32 u\24\28large\29 {
    width: 16.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\31 u\28large\29,
  .\31 u\24\28large\29 {
    width: 8.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\31 2u\24\28large\29 + *,
  .\31 1u\24\28large\29 + *,
  .\31 0u\24\28large\29 + *,
  .\39 u\24\28large\29 + *,
  .\38 u\24\28large\29 + *,
  .\37 u\24\28large\29 + *,
  .\36 u\24\28large\29 + *,
  .\35 u\24\28large\29 + *,
  .\34 u\24\28large\29 + *,
  .\33 u\24\28large\29 + *,
  .\32 u\24\28large\29 + *,
  .\31 u\24\28large\29 + * {
    clear: left;
  }

  .\-11u\28large\29 {
    margin-left: 91.66667%;
  }

  .\-10u\28large\29 {
    margin-left: 83.33333%;
  }

  .\-9u\28large\29 {
    margin-left: 75%;
  }

  .\-8u\28large\29 {
    margin-left: 66.66667%;
  }

  .\-7u\28large\29 {
    margin-left: 58.33333%;
  }

  .\-6u\28large\29 {
    margin-left: 50%;
  }

  .\-5u\28large\29 {
    margin-left: 41.66667%;
  }

  .\-4u\28large\29 {
    margin-left: 33.33333%;
  }

  .\-3u\28large\29 {
    margin-left: 25%;
  }

  .\-2u\28large\29 {
    margin-left: 16.66667%;
  }

  .\-1u\28large\29 {
    margin-left: 8.33333%;
  }
}

@media screen and (max-width: 980px) {
  .row > * {
    padding: 0 0 0 2em;
  }

  .row {
    margin: 0 0 -1px -2em;
  }

  .row.uniform > * {
    padding: 2em 0 0 2em;
  }

  .row.uniform {
    margin: -2em 0 -1px -2em;
  }

  .row.\32 00\25 > * {
    padding: 0 0 0 4em;
  }

  .row.\32 00\25 {
    margin: 0 0 -1px -4em;
  }

  .row.uniform.\32 00\25 > * {
    padding: 4em 0 0 4em;
  }

  .row.uniform.\32 00\25 {
    margin: -4em 0 -1px -4em;
  }

  .row.\31 50\25 > * {
    padding: 0 0 0 3em;
  }

  .row.\31 50\25 {
    margin: 0 0 -1px -3em;
  }

  .row.uniform.\31 50\25 > * {
    padding: 3em 0 0 3em;
  }

  .row.uniform.\31 50\25 {
    margin: -3em 0 -1px -3em;
  }

  .row.\35 0\25 > * {
    padding: 0 0 0 1em;
  }

  .row.\35 0\25 {
    margin: 0 0 -1px -1em;
  }

  .row.uniform.\35 0\25 > * {
    padding: 1em 0 0 1em;
  }

  .row.uniform.\35 0\25 {
    margin: -1em 0 -1px -1em;
  }

  .row.\32 5\25 > * {
    padding: 0 0 0 0.5em;
  }

  .row.\32 5\25 {
    margin: 0 0 -1px -0.5em;
  }

  .row.uniform.\32 5\25 > * {
    padding: 0.5em 0 0 0.5em;
  }

  .row.uniform.\32 5\25 {
    margin: -0.5em 0 -1px -0.5em;
  }

  .\31 2u\28medium\29,
  .\31 2u\24\28medium\29 {
    width: 100%;
    clear: none;
    margin-left: 0;
  }

  .\31 1u\28medium\29,
  .\31 1u\24\28medium\29 {
    width: 91.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\31 0u\28medium\29,
  .\31 0u\24\28medium\29 {
    width: 83.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\39 u\28medium\29,
  .\39 u\24\28medium\29 {
    width: 75%;
    clear: none;
    margin-left: 0;
  }

  .\38 u\28medium\29,
  .\38 u\24\28medium\29 {
    width: 66.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\37 u\28medium\29,
  .\37 u\24\28medium\29 {
    width: 58.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\36 u\28medium\29,
  .\36 u\24\28medium\29 {
    width: 50%;
    clear: none;
    margin-left: 0;
  }

  .\35 u\28medium\29,
  .\35 u\24\28medium\29 {
    width: 41.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\34 u\28medium\29,
  .\34 u\24\28medium\29 {
    width: 33.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\33 u\28medium\29,
  .\33 u\24\28medium\29 {
    width: 25%;
    clear: none;
    margin-left: 0;
  }

  .\32 u\28medium\29,
  .\32 u\24\28medium\29 {
    width: 16.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\31 u\28medium\29,
  .\31 u\24\28medium\29 {
    width: 8.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\31 2u\24\28medium\29 + *,
  .\31 1u\24\28medium\29 + *,
  .\31 0u\24\28medium\29 + *,
  .\39 u\24\28medium\29 + *,
  .\38 u\24\28medium\29 + *,
  .\37 u\24\28medium\29 + *,
  .\36 u\24\28medium\29 + *,
  .\35 u\24\28medium\29 + *,
  .\34 u\24\28medium\29 + *,
  .\33 u\24\28medium\29 + *,
  .\32 u\24\28medium\29 + *,
  .\31 u\24\28medium\29 + * {
    clear: left;
  }

  .\-11u\28medium\29 {
    margin-left: 91.66667%;
  }

  .\-10u\28medium\29 {
    margin-left: 83.33333%;
  }

  .\-9u\28medium\29 {
    margin-left: 75%;
  }

  .\-8u\28medium\29 {
    margin-left: 66.66667%;
  }

  .\-7u\28medium\29 {
    margin-left: 58.33333%;
  }

  .\-6u\28medium\29 {
    margin-left: 50%;
  }

  .\-5u\28medium\29 {
    margin-left: 41.66667%;
  }

  .\-4u\28medium\29 {
    margin-left: 33.33333%;
  }

  .\-3u\28medium\29 {
    margin-left: 25%;
  }

  .\-2u\28medium\29 {
    margin-left: 16.66667%;
  }

  .\-1u\28medium\29 {
    margin-left: 8.33333%;
  }
}

@media screen and (max-width: 480px) {
  .row > * {
    padding: 0 0 0 2em;
  }

  .row {
    margin: 0 0 -1px -2em;
  }

  .row.uniform > * {
    padding: 2em 0 0 2em;
  }

  .row.uniform {
    margin: -2em 0 -1px -2em;
  }

  .row.\32 00\25 > * {
    padding: 0 0 0 4em;
  }

  .row.\32 00\25 {
    margin: 0 0 -1px -4em;
  }

  .row.uniform.\32 00\25 > * {
    padding: 4em 0 0 4em;
  }

  .row.uniform.\32 00\25 {
    margin: -4em 0 -1px -4em;
  }

  .row.\31 50\25 > * {
    padding: 0 0 0 3em;
  }

  .row.\31 50\25 {
    margin: 0 0 -1px -3em;
  }

  .row.uniform.\31 50\25 > * {
    padding: 3em 0 0 3em;
  }

  .row.uniform.\31 50\25 {
    margin: -3em 0 -1px -3em;
  }

  .row.\35 0\25 > * {
    padding: 0 0 0 1em;
  }

  .row.\35 0\25 {
    margin: 0 0 -1px -1em;
  }

  .row.uniform.\35 0\25 > * {
    padding: 1em 0 0 1em;
  }

  .row.uniform.\35 0\25 {
    margin: -1em 0 -1px -1em;
  }

  .row.\32 5\25 > * {
    padding: 0 0 0 0.5em;
  }

  .row.\32 5\25 {
    margin: 0 0 -1px -0.5em;
  }

  .row.uniform.\32 5\25 > * {
    padding: 0.5em 0 0 0.5em;
  }

  .row.uniform.\32 5\25 {
    margin: -0.5em 0 -1px -0.5em;
  }

  .\31 2u\28xsmall\29,
  .\31 2u\24\28xsmall\29 {
    width: 100%;
    clear: none;
    margin-left: 0;
  }

  .\31 1u\28xsmall\29,
  .\31 1u\24\28xsmall\29 {
    width: 91.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\31 0u\28xsmall\29,
  .\31 0u\24\28xsmall\29 {
    width: 83.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\39 u\28xsmall\29,
  .\39 u\24\28xsmall\29 {
    width: 75%;
    clear: none;
    margin-left: 0;
  }

  .\38 u\28xsmall\29,
  .\38 u\24\28xsmall\29 {
    width: 66.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\37 u\28xsmall\29,
  .\37 u\24\28xsmall\29 {
    width: 58.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\36 u\28xsmall\29,
  .\36 u\24\28xsmall\29 {
    width: 50%;
    clear: none;
    margin-left: 0;
  }

  .\35 u\28xsmall\29,
  .\35 u\24\28xsmall\29 {
    width: 41.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\34 u\28xsmall\29,
  .\34 u\24\28xsmall\29 {
    width: 33.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\33 u\28xsmall\29,
  .\33 u\24\28xsmall\29 {
    width: 25%;
    clear: none;
    margin-left: 0;
  }

  .\32 u\28xsmall\29,
  .\32 u\24\28xsmall\29 {
    width: 16.6666666667%;
    clear: none;
    margin-left: 0;
  }

  .\31 u\28xsmall\29,
  .\31 u\24\28xsmall\29 {
    width: 8.3333333333%;
    clear: none;
    margin-left: 0;
  }

  .\31 2u\24\28xsmall\29 + *,
  .\31 1u\24\28xsmall\29 + *,
  .\31 0u\24\28xsmall\29 + *,
  .\39 u\24\28xsmall\29 + *,
  .\38 u\24\28xsmall\29 + *,
  .\37 u\24\28xsmall\29 + *,
  .\36 u\24\28xsmall\29 + *,
  .\35 u\24\28xsmall\29 + *,
  .\34 u\24\28xsmall\29 + *,
  .\33 u\24\28xsmall\29 + *,
  .\32 u\24\28xsmall\29 + *,
  .\31 u\24\28xsmall\29 + * {
    clear: left;
  }

  .\-11u\28xsmall\29 {
    margin-left: 91.66667%;
  }

  .\-10u\28xsmall\29 {
    margin-left: 83.33333%;
  }

  .\-9u\28xsmall\29 {
    margin-left: 75%;
  }

  .\-8u\28xsmall\29 {
    margin-left: 66.66667%;
  }

  .\-7u\28xsmall\29 {
    margin-left: 58.33333%;
  }

  .\-6u\28xsmall\29 {
    margin-left: 50%;
  }

  .\-5u\28xsmall\29 {
    margin-left: 41.66667%;
  }

  .\-4u\28xsmall\29 {
    margin-left: 33.33333%;
  }

  .\-3u\28xsmall\29 {
    margin-left: 25%;
  }

  .\-2u\28xsmall\29 {
    margin-left: 16.66667%;
  }

  .\-1u\28xsmall\29 {
    margin-left: 8.33333%;
  }
}
/* Basic */

@-ms-viewport {
  width: device-width;
}

body {
  -ms-overflow-style: scrollbar;
}

@media screen and (max-width: 480px) {
  html,
  body {
    min-width: 320px;
  }
}
body {
  background-color: var(--surface-0);
}

/* body,
html {

      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      background-color: #0a0a0a;
      position: relative;
}

canvas {

      position: absolute;
      top: 0;
      left: 0;
}

*/

body.is-loading *,
body.is-loading *:before,
body.is-loading *:after {
  -moz-animation: none !important;
  -webkit-animation: none !important;
  -ms-animation: none !important;
  animation: none !important;
  -moz-transition: none !important;
  -webkit-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}

/* Type */

body,
input,
select,
textarea {
  color: var(--ink-secondary);
  font-family: var(--font-family);
  font-size: var(--text-md);
  font-weight: var(--font-weight-normal);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media screen and (max-width: 1280px) {
  body,
  input,
  select,
  textarea {
  }
}
a {
  color: inherit;
  text-decoration: none;
  border-bottom: dotted 1px var(--border-strong);
  -moz-transition:
    border-bottom-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  -webkit-transition:
    border-bottom-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  -ms-transition:
    border-bottom-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  transition:
    border-bottom-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
}

strong,
b {
  color: var(--ink-primary);
  font-weight: var(--font-weight-semibold);
}

em,
i {
  font-style: italic;
}

p {
  margin: 0 0 1em 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink-primary);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  /* margin: 0 0 1em 0; */
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-decoration: none;
}

@media screen and (max-width: 980px) {
  h1 br,
  h2 br,
  h3 br,
  h4 br,
  h5 br,
  h6 br {
    display: none;
  }
}
h1 {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-semibold);
}

@media screen and (max-width: 980px) {
  h1 {
  }
}
h2 {
  font-size: var(--text-xl);
}
h3 {
  font-size: var(--text-lg);
}

h4 {
  font-size: var(--text-base);
}

h5 {
  font-size: var(--text-sm);
}

h6 {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-label);
  font-weight: var(--font-weight-medium);
  color: var(--ink-muted);
}

sub {
  font-size: 0.8em;
  position: relative;
  top: 0.5em;
}

sup {
  font-size: 0.8em;
  position: relative;
  top: -0.5em;
}

blockquote {
  border-left: solid 4px rgba(255, 255, 255, 0.25);
  font-style: italic;
  margin: 0 0 2em 0;
  padding: 0.5em 0 0.5em 2em;
}

code {
  background: rgba(255, 255, 255, 0.075);
  border-radius: 4px;
  border: solid 1px rgba(255, 255, 255, 0.25);
  font-family: var(--font-family);
  font-size: 0.9em;
  margin: 0 0.25em;
  padding: 0.25em 0.65em;
}

pre {
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-family);
  font-size: 0.9em;
  margin: 0 0 2em 0;
}

pre code {
  display: block;
  line-height: 1.75;
  padding: 1em 1.5em;
  overflow-x: auto;
}

hr {
  border: 0;
  border-bottom: solid 1px rgba(255, 255, 255, 0.25);
  margin: 2em 0;
}

hr.major {
  margin: 3em 0;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

/* Section/Article */

section.special,
article.special {
  text-align: center;
}

header p {
  color: rgba(255, 255, 255, 0.35);
  position: relative;
  margin: 0 0 1.5em 0;
}

header h2 + p {
  font-size: 1.25em;
  margin-top: -1em;
}

header h3 + p {
  font-size: 1.1em;
  margin-top: -0.8em;
}

header h4 + p,
header h5 + p,
header h6 + p {
  font-size: 0.9em;
  margin-top: -0.6em;
}

/* Form */

form {
  margin: 0 0 2em 0;
}

label {
  color: var(--ink-primary);
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  margin: 0 0 1em 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.075);
  border-radius: 4px;
  border: none;
  border: solid 1px rgba(255, 255, 255, 0.25);
  color: inherit;
  display: block;
  outline: 0;
  padding: 0 1em;
  text-decoration: none;
  width: 100%;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid,
select:invalid,
textarea:invalid {
  box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-solid);
  box-shadow: 0 0 0 1px var(--accent-solid);
}

.select-wrapper {
  text-decoration: none;
  display: block;
  position: relative;
}

.select-wrapper:before {
  content: "";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
}

.select-wrapper:before {
  color: rgba(255, 255, 255, 0.25);
  display: block;
  height: 2.75em;
  line-height: 2.75em;
  pointer-events: none;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 2.75em;
}

.select-wrapper select::-ms-expand {
  display: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
  height: 2.75em;
}

textarea {
  padding: 0.75em 1em;
}

input[type="checkbox"],
input[type="radio"] {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  display: block;
  float: left;
  margin-right: -2em;
  opacity: 0;
  width: 1em;
  z-index: -1;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  text-decoration: none;
  color: var(--ink-secondary);
  cursor: pointer;
  display: inline-block;
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  padding-left: 2.4em;
  padding-right: 0.75em;
  position: relative;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
  background: rgba(255, 255, 255, 0.075);
  border-radius: 4px;
  border: solid 1px rgba(255, 255, 255, 0.25);
  content: "";
  display: inline-block;
  height: 1.65em;
  left: 0;
  line-height: 1.58125em;
  position: absolute;
  text-align: center;
  top: 0;
  width: 1.65em;
}

input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
  background: var(--accent-solid);
  border-color: var(--accent-solid);
  color: #ffffff;
  content: "\f00c";
}

input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
  border-color: var(--accent-solid);
  box-shadow: 0 0 0 1px var(--accent-solid);
}

input[type="checkbox"] + label:before {
  border-radius: 4px;
}

input[type="radio"] + label:before {
  border-radius: 100%;
}

::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  opacity: 1;
}

:-moz-placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  opacity: 1;
}

::-moz-placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  opacity: 1;
}

:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  opacity: 1;
}

.formerize-placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  opacity: 1;
}

/* Box */

.box {
  border-radius: 4px;
  border: solid 1px rgba(255, 255, 255, 0.25);
  margin-bottom: 2em;
  padding: 1.5em;
}

.box > :last-child,
.box > :last-child > :last-child,
.box > :last-child > :last-child > :last-child {
  margin-bottom: 0;
}

.box.alt {
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* Icon */

.icon {
  text-decoration: none;
  border-bottom: none;
  position: relative;
}

.icon:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
}

.icon > .label {
  display: none;
}

.icon.style {
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border-radius: 100%;
  display: inline-block;
  padding: 0.5em;
  border: solid 2px var(--border-subtle);
  background-color: var(--surface-1);
}

.icon.style:before {
  display: block;
  width: 1.25em;
  height: 1.25em;
  line-height: 1.25em;
  font-size: 1.35em;
}
/* Image */

.image {
  border-radius: 4px;
  border: 0;
  display: inline-block;
  position: relative;
}

.image img {
  border-radius: 4px;
  display: block;
}

.image.left,
.image.right {
  max-width: 40%;
}

.image.left img,
.image.right img {
  width: 100%;
}

.image.left {
  float: left;
  padding: 0 1.5em 1em 0;
  top: 0.25em;
}

.image.right {
  float: right;
  padding: 0 0 1em 1.5em;
  top: 0.25em;
}

.image.fit {
  display: block;
  margin: 0 0 2em 0;
  width: 100%;
}

.image.fit img {
  width: 100%;
}

.image.main {
  display: block;
  margin: 0 0 3em 0;
  width: 100%;
}

.image.main img {
  width: 100%;
}

/* List */

ol {
  list-style: decimal;
  margin: 0 0 2em 0;
  padding-left: 1.25em;
}

ol li {
  padding-left: 0.25em;
}

ul {
  list-style: disc;
  margin: 0 0 2em 0;
  padding-left: 1em;
}

ul li {
  padding-left: 0.5em;
}

ul.alt {
  list-style: none;
  padding-left: 0;
}

ul.alt li {
  border-top: solid 1px rgba(255, 255, 255, 0.25);
  padding: 0.5em 0;
}

ul.alt li:first-child {
  border-top: 0;
  padding-top: 0;
}

ul.icons {
  cursor: default;
  list-style: none;
  padding-left: 0;
}

ul.icons li {
  display: inline-block;
  padding: 0 1em 0 0;
}

ul.icons li:last-child {
  padding-right: 0;
}

ul.actions {
  cursor: default;
  list-style: none;
  padding-left: 0;
}

ul.actions li {
  display: inline-block;
  padding: 0 1em 0 0;
  vertical-align: middle;
}

ul.actions li:last-child {
  padding-right: 0;
}

ul.actions.small li {
  padding: 0 0.5em 0 0;
}

ul.actions.vertical li {
  display: block;
  padding: 1em 0 0 0;
}

ul.actions.vertical li:first-child {
  padding-top: 0;
}

ul.actions.vertical li > * {
  margin-bottom: 0;
}

ul.actions.vertical.small li {
  padding: 0.5em 0 0 0;
}

ul.actions.vertical.small li:first-child {
  padding-top: 0;
}

ul.actions.fit {
  display: table;
  margin-left: -1em;
  padding: 0;
  table-layout: fixed;
  width: calc(100% + 1em);
}

ul.actions.fit li {
  display: table-cell;
  padding: 0 0 0 1em;
}

ul.actions.fit li > * {
  margin-bottom: 0;
}

ul.actions.fit.small {
  margin-left: -0.5em;
  width: calc(100% + 0.5em);
}

ul.actions.fit.small li {
  padding: 0 0 0 0.5em;
}

@media screen and (max-width: 480px) {
  ul.actions {
    margin: 0 0 2em 0;
  }

  ul.actions li {
    padding: 1em 0 0 0;
    display: block;
    text-align: center;
    width: 100%;
  }

  ul.actions li:first-child {
    padding-top: 0;
  }

  ul.actions li > * {
    width: 100%;
    margin: 0 !important;
  }

  ul.actions li > *.icon:before {
    margin-left: -2em;
  }

  ul.actions.small li {
    padding: 0.5em 0 0 0;
  }

  ul.actions.small li:first-child {
    padding-top: 0;
  }
}
dl {
  margin: 0 0 2em 0;
}

dl dt {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--ink-primary);
  margin: 0 0 1em 0;
}

dl dd {
  margin-left: 2em;
}

/* Table */

.table-wrapper {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

table {
  margin: 0 0 2em 0;
  width: 100%;
}

table tbody tr {
  border: solid 1px rgba(255, 255, 255, 0.25);
  border-left: 0;
  border-right: 0;
}

table tbody tr:nth-child(2n + 1) {
  background-color: rgba(255, 255, 255, 0.075);
}

table td {
  padding: 0.75em 0.75em;
}

table th {
  color: var(--ink-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  padding: 0 0.75em 0.75em 0.75em;
  text-align: left;
}

table thead {
  border-bottom: solid 2px rgba(255, 255, 255, 0.25);
}

table tfoot {
  border-top: solid 2px rgba(255, 255, 255, 0.25);
}

table.alt {
  border-collapse: separate;
}

table.alt tbody tr td {
  border: solid 1px rgba(255, 255, 255, 0.25);
  border-left-width: 0;
  border-top-width: 0;
}

table.alt tbody tr td:first-child {
  border-left-width: 1px;
}

table.alt tbody tr:first-child td {
  border-top-width: 1px;
}

table.alt thead {
  border-bottom: 0;
}

table.alt tfoot {
  border-top: 0;
}

/* Button */

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  -moz-transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  -webkit-transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  -ms-transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  background-color: var(--accent-solid);
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  display: inline-block;
  font-weight: var(--font-weight-medium);
  height: 2.85em;
  line-height: 2.95em;
  padding: 0 1.5em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.button:active {
  background-color: var(--accent-solid-active);
}

input[type="submit"].icon,
input[type="reset"].icon,
input[type="button"].icon,
button.icon,
.button.icon {
  padding-left: 1.35em;
}

input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
button.icon:before,
.button.icon:before {
  margin-right: 0.5em;
}

input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
button.fit,
.button.fit {
  display: block;
  margin: 0 0 1em 0;
  width: 100%;
}

input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
  font-size: 0.8em;
}

input[type="submit"].big,
input[type="reset"].big,
input[type="button"].big,
button.big,
.button.big {
  font-size: 1.35em;
}

input[type="submit"].alt,
input[type="reset"].alt,
input[type="button"].alt,
button.alt,
.button.alt {
  background-color: transparent;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
}

input[type="submit"].alt:active,
input[type="reset"].alt:active,
input[type="button"].alt:active,
button.alt:active,
.button.alt:active {
  background-color: rgba(255, 0, 0, 0.2);
}

input[type="submit"].alt.icon:before,
input[type="reset"].alt.icon:before,
input[type="button"].alt.icon:before,
button.alt.icon:before,
.button.alt.icon:before {
  color: rgba(255, 255, 255, 0.35);
}

input[type="submit"].special,
input[type="reset"].special,
input[type="button"].special,
button.special,
.button.special {
  background-color: var(--accent-solid);
}

input[type="submit"].special:active,
input[type="reset"].special:active,
input[type="button"].special:active,
button.special:active,
.button.special:active {
  background-color: var(--accent-solid-active);
}

input[type="submit"].disabled,
input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
  background-color: rgba(255, 255, 255, 0.65) !important;
  box-shadow: inset 0 -0.15em 0 0 rgba(0, 0, 0, 0.15);
  color: #000 !important;
  cursor: default;
  opacity: 0.25;
}

@media screen and (max-width: 480px) {
  input[type="submit"],
  input[type="reset"],
  input[type="button"],
  button,
  .button {
    padding: 0;
  }
}
/* Thumbnails（壁纸 / 主题 / 备份等共用） */

.thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.65rem);
  position: relative;
  margin: 0 0 2em 0;
}

.thumbnails a {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  border-radius: var(--radius-ios26);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 20, 0.55);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  outline: 0;
  overflow: hidden;
  font-weight: normal;
  color: inherit;
}

.thumbnails a img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex-shrink: 0;
}

/* 色卡 / 方形封面：1:1 比例 */
.thumbnails a.wallpaper-card--color .thumbnail-media img,
.thumbnails a.wallpaper-card--color .thumbnail-media video {
  aspect-ratio: 1 / 1;
}

.thumbnails a h3 {
  margin: 0;
  padding: 0.7rem 0.9rem 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.thumbnails a > img + h3 {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.65rem;
}

.thumbnails a h3:first-child {
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
}

.thumbnails a h6 {
  margin: 0;
  padding: 0 0.85rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.thumbnails a h3 + h6 {
  padding-top: 0.1rem;
}

/* 壁纸 / 专辑网格：仅封面，标题 hover 叠在图上 */
.thumbnails a.wallpaper-card,
.thumbnails.thumbnails--square-cover a.music-album-card {
  display: block;
}

.thumbnails a .thumbnail-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.thumbnails a.wallpaper-card .thumbnail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
  z-index: 1;
}

.thumbnails a.wallpaper-card:focus-visible .thumbnail-media::after {
  opacity: 1;
}

.thumbnails a .thumbnail-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 2.1rem 0.75rem 0.6rem;
  border: none;
  border-top: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 42%,
    rgba(0, 0, 0, 0.78) 100%
  );
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  opacity: 0;
  transform: translateY(0.25rem);
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out,
    color 0.18s ease-out;
  pointer-events: none;
}

.thumbnails a.wallpaper-card:focus-visible .thumbnail-caption,
.thumbnails.thumbnails--square-cover
  a.music-album-card:focus-visible
  .thumbnail-caption {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255, 255, 255, 0.98);
}

/* 音乐专辑列表：封面保持 1:1（壁纸等仍为 16/10） */
.thumbnails.thumbnails--square-cover a {
  min-width: 0;
}

.thumbnails.thumbnails--square-cover a .thumbnail-media img {
  aspect-ratio: 1 / 1;
}

.thumbnails.thumbnails--square-cover .music-album-cover-wrap--card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.06s ease-out;
  pointer-events: none;
  z-index: 1;
}

.thumbnails.thumbnails--square-cover
  .music-album-cover-wrap--card
  .music-hover-play {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%) scale(0.88);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .thumbnails a {
    transform: none;
  }

  .thumbnails a .thumbnail-caption,
  .thumbnails a.wallpaper-card .thumbnail-media::after,
  .thumbnails.thumbnails--square-cover .music-album-cover-wrap--card::after {
    transition-duration: 0.01ms;
  }
}
.category-header {
  display: grid;
  grid-column: 1 / -1; /*跨越所有列，不依赖于具体的列数，自动占满整行。*/
  margin: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-ios26);
}

@media screen and (max-width: 480px) {
  .thumbnails {
    grid-template-columns: 1fr !important;
  }

  .thumbnails > div {
    width: 100%;
  }

  .thumbnails a h3 {
    padding: 0.55rem 0.75rem 0.5rem;
  }

  .thumbnails a h6 {
  }
}
/* Poptrox */

.poptrox-popup {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -ms-box-sizing: content-box;
  box-sizing: content-box;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0.5em 3em 0 rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  overflow: hidden;
}

.poptrox-popup .closer {
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  text-decoration: none;
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 2;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  white-space: nowrap;
  text-indent: 2.5em;
  overflow: hidden;
  width: 2.5em;
  height: 2.5em;
  display: block;
}

.poptrox-popup .closer:before {
  content: "";
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
}

.poptrox-popup .closer:before {
  display: block;
  position: relative;
  text-indent: 0;
  border-radius: 100%;
  box-shadow: inset 0 0 0 1px #ffffff;
  color: #ffffff !important;
  width: 2.5em;
  height: 2.5em;
  line-height: 2.5em;
}

/* Wrapper */

#wrapper {
  max-width: 68em;
  width: 100%;
  margin: 0 auto;
  padding: 0 2em 2em 2em;
  opacity: 1;
  filter: none;
  -moz-transition:
    opacity 1s ease,
    -moz-filter 1s ease;
  -webkit-transition:
    opacity 1s ease,
    -webkit-filter 1s ease;
  -ms-transition:
    opacity 1s ease,
    -ms-filter 1s ease;
  transition:
    opacity 1s ease,
    filter 1s ease;
}

body.is-loading #wrapper {
  opacity: 0;
  -moz-filter: blur(1px);
  -webkit-filter: blur(1px);
  -ms-filter: blur(1px);
  filter: blur(1px);
}

body.is-covered #wrapper {
  -moz-filter: blur(3px);
  -webkit-filter: blur(3px);
  -ms-filter: blur(3px);
  filter: blur(3px);
}

body.player-dock-visible #wrapper {
  padding-bottom: 9rem;
}

/* Header */

#header {
  text-align: center;
  padding: 6em 0 2.5em 0;
}

#header h1 {
  color: rgba(255, 255, 255, 0.65);
}

#header .header-avatar-wrap {
  display: inline-block;
  margin: 0 0 2em 0;
  position: relative;
  vertical-align: middle;
  min-height: 0;
  /* 侧标绝对定位叠在头像盒内，按住时总高度不变 */
  overflow: visible;
  /* 避免手机长按滑动唤起文本选择 / 呼出菜单 */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

#header .header-avatar-wrap.is-page-swipe-open {
  min-width: 0;
}

body.header-avatar-page-swiping {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

#header .header-avatar-side {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 固定与图标同大的圆，文字替换时也不撑开 */
  width: 2.55rem;
  height: 2.55rem;
  min-width: 2.55rem;
  min-height: 2.55rem;
  box-sizing: border-box;
  position: absolute;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 12, 20, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    color 0.16s ease,
    background-color 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.14s ease;
  color: rgba(255, 255, 255, 0.72);
}

/* 叠在头像布局盒四边内侧，不撑开 wrap 高度/占位；按钮本身不缩放 */
#header .header-avatar-side--down {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#header .header-avatar-side--prev {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

#header .header-avatar-side--next {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* 按住缩小后：上方文案提示当前目标 */
#header .header-avatar-page-hint {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  display: none;
  box-sizing: border-box;
  max-width: calc(100% + 3rem);
  padding: 0.28rem 0.72rem;
  transform: translate(-50%, 0);
  pointer-events: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 12, 20, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.25;
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  transition: opacity 0.16s ease;
  -webkit-user-select: none;
  user-select: none;
}

#header .header-avatar-wrap.is-page-swipe-open .header-avatar-page-hint:not([hidden]) {
  display: block;
  opacity: 1;
}

html:not(.force-dark) #header .header-avatar-page-hint,
html.force-light #header .header-avatar-page-hint {
  color: rgba(28, 36, 48, 0.92);
  border-color: rgba(28, 36, 48, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

#header .header-avatar-wrap.is-page-swipe-open .header-avatar-side {
  opacity: 0.72;
}

#header .header-avatar-side.is-active {
  opacity: 1 !important;
  color: #fff;
  border-color: rgba(var(--accent-rgb), 0.75);
  background: rgba(var(--accent-rgb), 0.28);
  box-shadow:
    0 0 0 2px rgba(var(--accent-rgb), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#header .header-avatar-side.is-empty {
  opacity: 0.42;
}

#header .header-avatar-side.is-empty .fa:before {
  content: none;
}

#header .header-avatar-side.is-empty.is-active {
  opacity: 0.72 !important;
}

#header .header-avatar-side .fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.05rem;
  line-height: 1;
  transition: opacity 0.14s ease;
}

#header .header-avatar-side__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0.18rem 0.12rem;
  opacity: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  transition: opacity 0.14s ease;
  -webkit-user-select: none;
  user-select: none;
}

/* 撞上后：同尺寸圆内图标换成文字 */
#header .header-avatar-side.is-active .fa {
  opacity: 0;
}

#header .header-avatar-side.is-active .header-avatar-side__text {
  opacity: 1;
}

#header .header-avatar-side.is-empty.is-active .header-avatar-side__text {
  opacity: 0;
}

#header .header-avatar-side[hidden],
#header .header-avatar-page-hint[hidden] {
  display: none !important;
}

#header .header-avatar-wrap .avatar {
  margin: 0;
  position: relative;
  z-index: 1;
}

#header .avatar {
  border-radius: 100%;
  display: inline-block;
  padding: 0.5em;
  border: solid 1.5px rgba(255, 255, 255, 0.25);
  background-color: transparent;
}

#header button.header-avatar-btn.avatar {
  box-sizing: content-box;
  display: inline-block;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0.5em;
  border: solid 1.5px rgba(255, 255, 255, 0.25);
  border-radius: 100%;
  /* 覆盖全局 button { background: accent-gradient }，只保留细线描边 */
  background: transparent;
  background-image: none;
  box-shadow: none;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: normal;
  color: inherit;
  text-align: center;
  white-space: normal;
  vertical-align: middle;
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

#header button.header-avatar-btn.avatar img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.28s ease;
}

/* 歌单页播放中：封面自转（转 img，避免和按住滑动的 button transform 冲突） */
@keyframes header-album-cover-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 专辑列表 / 歌单页：播放中头像旋转 */
body.header-music-album-playing
  #header
  button.header-avatar-btn.avatar:not(.is-page-swipe-armed)
  img {
  animation: header-album-cover-spin 16s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  body.header-music-album-playing
    #header
    button.header-avatar-btn.avatar
    img {
    animation: none;
  }
}

#header button.header-avatar-btn.avatar.is-home-editing {
  border-color: rgb(var(--accent-rgb));
  box-shadow: none;
}

/* 按住：头像收成主题色小圆点，侧向/上向出目标图标 */
#header button.header-avatar-btn.avatar.is-page-swipe-armed {
  background: rgb(var(--accent-rgb));
  background-image: none;
  border-color: rgb(var(--accent-rgb));
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.28);
  touch-action: none;
  cursor: grab;
  will-change: transform;
}

#header button.header-avatar-btn.avatar.is-page-swipe-armed img {
  opacity: 0;
}

#header button.header-avatar-btn.avatar.is-page-swiping {
  cursor: grabbing;
  /* 拖动跟手时关掉 transform 过渡，收起/展开圆点仍用 morph 过渡 */
  transition: none !important;
}

html:not(.force-dark) #header .header-avatar-side,
html.force-light #header .header-avatar-side {
  color: rgba(28, 36, 48, 0.72);
  border-color: rgba(28, 36, 48, 0.16);
  background: rgba(255, 255, 255, 0.55);
}

html:not(.force-dark) #header .header-avatar-side .fa,
html.force-light #header .header-avatar-side .fa {
  color: rgba(28, 36, 48, 0.88);
}

html:not(.force-dark) #header .header-avatar-side.is-active,
html.force-light #header .header-avatar-side.is-active {
  color: rgba(28, 36, 48, 0.95);
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.18);
}

#header button.header-avatar-btn.avatar.is-home-edit-locked-hint {
  animation: home-edit-lock-hint 0.55s ease-out 1;
}

@keyframes home-edit-lock-hint {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-0.22em);
  }
  40% {
    transform: translateX(0.22em);
  }
  60% {
    transform: translateX(-0.14em);
  }
  80% {
    transform: translateX(0.14em);
  }
}

#header .avatar img {
  border-radius: 100%;
  display: block;
  width: 10em;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  pointer-events: none;
}

/* 大头部内不显示置顶栏专用控件 */
#header .header-sticky-settings {
  display: none;
}

#header .header-mid {
  --header-mid-h: calc(var(--text-2xl) * var(--leading-tight));
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(var(--header-mid-h), auto);
  align-items: center;
  justify-items: center;
  width: 100%;
  min-height: var(--header-mid-h);
  height: auto;
  margin: 0 0 2.15em;
}

/* 全网搜索占用同一槽位时，保持原先单行高度 */
#header .header-mid:has(.home-web-search:not([hidden])) {
  height: var(--header-mid-h);
  grid-template-rows: var(--header-mid-h);
}

#header .title {
  margin: 0;
  text-align: center;
}

#header h1.title {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: var(--header-mid-h);
  height: auto;
  margin: 0;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  line-height: var(--leading-tight);
  font-size: var(--text-2xl);
  color: rgba(255, 255, 255, 0.88);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}

#header h1.title[hidden] {
  display: none !important;
}

#header h1.title strong {
  position: relative;
  z-index: 1;
  color: inherit;
  font-weight: 600;
}

/* 主页全网搜索（与标题叠在同一固定高度槽位） */
.home-web-search {
  --home-search-pad: 3px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  column-gap: 0;
  width: min(20.5rem, calc(100% - 2.5rem));
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: var(--home-search-pad);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.home-web-search[hidden] {
  display: none !important;
}

.home-web-search__engine-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.home-web-search__engine {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 2.9rem;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0 0.7rem;
  border: none;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.28);
  background-image: none;
  color: #fff;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
}

.home-web-search__engine:focus-visible,
.home-web-search__engine.is-open {
  outline: none;
}

.home-web-search__engine-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 4.8rem;
  padding: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  background: rgba(16, 18, 28, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.home-web-search__engine-menu[hidden] {
  display: none !important;
}

.home-web-search__engine-opt {
  margin: 0;
  padding: 0.38rem 0.55rem;
  border: none;
  border-radius: 0.45rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.home-web-search__engine-opt:hover,
.home-web-search__engine-opt:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.home-web-search__engine-opt.is-active {
  background: rgba(var(--accent-rgb), 0.28);
  color: #fff;
}

.home-web-search__input {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  width: 100%;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0 0.55rem;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.94);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.94);
  caret-color: rgba(255, 255, 255, 0.94);
  font: inherit;
  font-size: 0.84rem;
  line-height: 1;
  outline: none;
}

.home-web-search__input::-webkit-search-decoration,
.home-web-search__input::-webkit-search-cancel-button,
.home-web-search__input::-webkit-search-results-button,
.home-web-search__input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.home-web-search__input::placeholder {
  color: rgba(255, 255, 255, 0.42);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.42);
  opacity: 1;
}

.home-web-search__submit {
  box-sizing: border-box;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: auto;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  background-image: none;
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.home-web-search__submit:hover,
.home-web-search__submit:focus-visible {
  outline: none;
  transform: none;
  background: rgba(var(--accent-rgb), 0.28);
  color: #fff;
  box-shadow: none;
}

.home-web-search__submit .fa {
  font-size: 0.82rem;
  line-height: 1;
}

@media (prefers-color-scheme: light) {
  html:not(.force-dark) .home-web-search {
    border-color: rgba(30, 45, 72, 0.12);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 24px rgba(30, 45, 72, 0.08);
  }

  html:not(.force-dark) .home-web-search__engine {
    background: rgba(var(--accent-rgb), 0.16);
    color: rgb(var(--accent-rgb));
  }

  html:not(.force-dark) .home-web-search__engine:focus-visible,
  html:not(.force-dark) .home-web-search__engine.is-open {
    outline: none;
  }

  html:not(.force-dark) .home-web-search__engine-menu {
    border-color: rgba(30, 45, 72, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 36px rgba(30, 45, 72, 0.16);
  }

  html:not(.force-dark) .home-web-search__engine-opt {
    color: rgba(28, 36, 48, 0.78);
  }

  html:not(.force-dark) .home-web-search__engine-opt:hover,
  html:not(.force-dark) .home-web-search__engine-opt:focus-visible {
    background: rgba(30, 45, 72, 0.06);
    color: rgba(28, 36, 48, 0.95);
  }

  html:not(.force-dark) .home-web-search__engine-opt.is-active {
    background: rgba(var(--accent-rgb), 0.16);
    color: rgb(var(--accent-rgb));
  }

  html:not(.force-dark) .home-web-search__input {
    color: rgba(28, 36, 48, 0.92);
    -webkit-text-fill-color: rgba(28, 36, 48, 0.92);
    caret-color: rgba(28, 36, 48, 0.92);
  }

  html:not(.force-dark) .home-web-search__input::placeholder {
    color: rgba(28, 36, 48, 0.42);
    -webkit-text-fill-color: rgba(28, 36, 48, 0.42);
    opacity: 1;
  }

  html:not(.force-dark) .home-web-search__submit {
    color: rgba(28, 36, 48, 0.42);
  }

  html:not(.force-dark) .home-web-search__submit:hover,
  html:not(.force-dark) .home-web-search__submit:focus-visible {
    background: rgba(30, 45, 72, 0.06);
    color: rgba(28, 36, 48, 0.82);
  }
}

html.force-light .home-web-search {
  border-color: rgba(30, 45, 72, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(30, 45, 72, 0.08);
}

html.force-light .home-web-search__engine {
  background: rgba(var(--accent-rgb), 0.16);
  color: rgb(var(--accent-rgb));
}

html.force-light .home-web-search__engine:focus-visible,
html.force-light .home-web-search__engine.is-open {
  outline: none;
}

html.force-light .home-web-search__engine-menu {
  border-color: rgba(30, 45, 72, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(30, 45, 72, 0.16);
}

html.force-light .home-web-search__engine-opt {
  color: rgba(28, 36, 48, 0.78);
}

html.force-light .home-web-search__engine-opt:hover,
html.force-light .home-web-search__engine-opt:focus-visible {
  background: rgba(30, 45, 72, 0.06);
  color: rgba(28, 36, 48, 0.95);
}

html.force-light .home-web-search__engine-opt.is-active {
  background: rgba(var(--accent-rgb), 0.16);
  color: rgb(var(--accent-rgb));
}

html.force-light .home-web-search__input {
  color: rgba(28, 36, 48, 0.92);
  -webkit-text-fill-color: rgba(28, 36, 48, 0.92);
  caret-color: rgba(28, 36, 48, 0.92);
}

html.force-light .home-web-search__input::placeholder {
  color: rgba(28, 36, 48, 0.42);
  -webkit-text-fill-color: rgba(28, 36, 48, 0.42);
  opacity: 1;
}

html.force-light .home-web-search__submit {
  color: rgba(28, 36, 48, 0.42);
}

html.force-light .home-web-search__submit:hover,
html.force-light .home-web-search__submit:focus-visible {
  background: rgba(30, 45, 72, 0.06);
  color: rgba(28, 36, 48, 0.82);
}

html.glass-ios26 .home-web-search {
  background: var(--glass-fill);
  border-color: var(--glass-border);
  box-shadow: none;
}

html.glass-ios26 .home-web-search__engine {
  background: rgba(var(--accent-rgb), 0.28);
  color: #fff;
}

html.glass-ios26 .home-web-search__submit {
  background: transparent;
  background-image: none;
  box-shadow: none;
}

html.glass-ios26.force-light .home-web-search {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(248, 250, 255, 0.64) 48%,
      rgba(255, 255, 255, 0.7) 100%
    );
  border-color: var(--border-subtle);
}

html.glass-ios26.force-light .home-web-search__engine {
  background: rgba(var(--accent-rgb), 0.16);
  color: rgb(var(--accent-rgb));
}

html.glass-ios26.force-light .home-web-search__input {
  color: rgba(28, 36, 48, 0.92);
  -webkit-text-fill-color: rgba(28, 36, 48, 0.92);
  caret-color: rgba(28, 36, 48, 0.92);
}

html.glass-ios26.force-light .home-web-search__input::placeholder {
  color: rgba(28, 36, 48, 0.42);
  -webkit-text-fill-color: rgba(28, 36, 48, 0.42);
  opacity: 1;
}

html.glass-ios26.force-light .home-web-search__submit {
  color: rgba(28, 36, 48, 0.42);
}

@media (prefers-color-scheme: light) {
  html.glass-ios26:not(.force-dark):not(.force-light) .home-web-search {
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.78) 0%,
        rgba(248, 250, 255, 0.64) 48%,
        rgba(255, 255, 255, 0.7) 100%
      );
    border-color: var(--border-subtle);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-web-search__engine {
    background: rgba(var(--accent-rgb), 0.16);
    color: rgb(var(--accent-rgb));
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-web-search__input {
    color: rgba(28, 36, 48, 0.92);
    -webkit-text-fill-color: rgba(28, 36, 48, 0.92);
    caret-color: rgba(28, 36, 48, 0.92);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-web-search__input::placeholder {
    color: rgba(28, 36, 48, 0.42);
    -webkit-text-fill-color: rgba(28, 36, 48, 0.42);
    opacity: 1;
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-web-search__submit {
    color: rgba(28, 36, 48, 0.42);
  }
}

/* 避免置顶↔常态切换时 transition:all 带动 :before 尺寸/字重插值，文字与图标切换闪一下 */
#header ul.icons .icon.style {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#header ul.icons .icon.style:before {
  transition: none;
}

#header ul.icons a.is-active.icon.style {
  border-color: rgba(var(--accent-rgb), 0.75);
}

#header ul.icons .header-action-btn.icon.style {
  border-radius: 50%;
  padding: 0;
}

#header ul.icons .header-action-btn {
  appearance: none;
  font: inherit;
  font-weight: 400;
  color: inherit;
  cursor: pointer;
  margin: 0;
}

/*
 * header-action-btn 用内层 <i.fa> 画图标，但同时带有 .icon.style，
 * 其 ::before 会变成 flex 子项并挤偏居中 —— 必须关掉。
 */
#header ul.icons.header-actions .header-action-btn.icon.style::before,
#header ul.icons.header-actions .header-action-btn.icon.style::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

/*
 * 大头部操作区 · FA 字形几何居中：
 * i 铺满圆钮，::before 用 translate(-50%,-50%) 对准圆心；
 * 光学微调用 --icon-opt-nudge-*（FA 字面常略偏上，默认微下移）。
 */
#header ul.icons.header-actions .header-action-btn i.fa {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 0;
  font-size: calc(var(--header-action-icon-size) * var(--icon-opt-scale, 1));
  text-align: center;
  color: inherit;
  pointer-events: none;
  --icon-opt-scale: 1;
  --icon-opt-nudge-x: 0px;
  --icon-opt-nudge-y: 0.04em;
  transform: none;
}

#header ul.icons.header-actions .header-action-btn i.fa::before {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: center;
  background: none !important;
  box-shadow: none !important;
  transform: translate(
    calc(-50% + var(--icon-opt-nudge-x, 0px)),
    calc(-50% + var(--icon-opt-nudge-y, 0.04em))
  );
}

/* 偏满 / 偏重：略缩小 */
#header ul.icons.header-actions .header-action-btn i.fa.fa-th {
  --icon-opt-scale: 0.9;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-list {
  --icon-opt-scale: 0.9;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-photo {
  --icon-opt-scale: 0.9;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-folder-open {
  --icon-opt-scale: 0.84;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-book {
  --icon-opt-scale: 0.86;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-users {
  --icon-opt-scale: 0.85;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-paint-brush {
  --icon-opt-scale: 0.9;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-desktop {
  --icon-opt-scale: 0.88;
  --icon-opt-nudge-y: 0.04em;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-shopping-cart {
  --icon-opt-scale: 0.86;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-hdd-o {
  --icon-opt-scale: 0.9;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-cubes {
  --icon-opt-scale: 0.92;
  --icon-opt-nudge-x: 0.02em;
  --icon-opt-nudge-y: 0.05em;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-puzzle-piece {
  --icon-opt-scale: 0.9;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-gamepad {
  --icon-opt-scale: 0.84;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-arrow-left {
  --icon-opt-scale: 0.92;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-play {
  --icon-opt-scale: 0.9;
  --icon-opt-nudge-x: 0.06em;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-pause {
  --icon-opt-scale: 0.9;
}

/* 偏空 / 偏窄：略放大 */
#header ul.icons.header-actions .header-action-btn i.fa.fa-cube {
  --icon-opt-scale: 1.06;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-sliders {
  --icon-opt-scale: 1.05;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-home {
  --icon-opt-scale: 1.04;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-magic {
  --icon-opt-scale: 1.06;
  --icon-opt-nudge-x: 0.04em;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-user {
  --icon-opt-scale: 1.1;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-wrench {
  --icon-opt-scale: 1.08;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-mobile {
  --icon-opt-scale: 1.16;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-tag {
  --icon-opt-scale: 1.08;
  --icon-opt-nudge-x: 0.03em;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-star {
  --icon-opt-scale: 1.04;
}
#header ul.icons.header-actions .header-action-btn i.fa.fa-bookmark {
  --icon-opt-scale: 1.12;
}

/* 置顶顶栏 · 搜索 / 设置 / 汉堡 / 清除（FA 字形光学居中） */
.header-sticky-nav-toggle__icon,
#header-sticky .header-sticky-settings__icon,
#header-sticky .header-sticky-search-toggle__icon,
.header-sticky-search__clear i.fa {
  position: relative;
  display: block;
  width: var(--header-toolbar-icon-box);
  height: var(--header-toolbar-icon-box);
  margin: 0;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
  font-size: var(--header-toolbar-icon-size);
  text-align: center;
  color: inherit;
  opacity: 1;
  --icon-opt-nudge-y: 0.06em;
}

.header-sticky-nav-toggle__icon::before,
#header-sticky .header-sticky-settings__icon::before,
#header-sticky .header-sticky-search-toggle__icon::before,
.header-sticky-search__clear i.fa::before {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  line-height: 1;
  transform: translate(
    -50%,
    calc(-50% + var(--icon-opt-nudge-y, 0.06em))
  );
}

.header-sticky-nav-toggle__icon,
#header-sticky .header-sticky-search-toggle__icon,
.header-sticky-search__clear i.fa {
  font-size: var(--header-toolbar-icon-size-wide);
}

#header-sticky .header-sticky-settings__icon {
  font-size: var(--header-toolbar-icon-size-compact);
}

#header ul.icons .header-action-btn--text {
  border-radius: 999px;
  min-width: 2.75em;
  padding: 0.48em 0.82em;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  white-space: nowrap;
}

@media screen and (max-width: 1280px) {
  #header {
    padding: 4em 0 2em 0;
  }
}
/* 置顶组件（#header-sticky：固定于视口顶部，与头部组件 #header 并存） */
:root {
  --header-sticky-pad-y: 0.45rem;
  --pinned-component-height: calc(
    max(var(--header-sticky-pad-y), env(safe-area-inset-top, 0px)) +
      var(--header-toolbar-btn-size) + var(--header-sticky-pad-y)
  );
  --header-pinned-gap: 1.5rem;
  /* 置顶顶栏：搜索 / 设置等小钮 */
  --header-toolbar-btn-size: 2.05rem;
  --header-toolbar-icon-box: 1.0625rem;
  --header-toolbar-icon-size: 1rem;
  --header-toolbar-icon-size-wide: 0.9375rem;
  --header-toolbar-icon-size-compact: 1.0625rem;
  /* 大头部 #header-actions：与顶栏无关，保持较大圆钮 */
  --header-action-btn-size: 2.85em;
  --header-action-icon-box: 1.25em;
  --header-action-icon-size: 1.28em;
}

#header-sticky {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9900;
  box-sizing: border-box;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  text-align: left;
  min-height: var(--pinned-component-height);
  padding-top: max(var(--header-sticky-pad-y), env(safe-area-inset-top, 0px));
  padding-bottom: var(--header-sticky-pad-y);
  padding-left: max(
    2em,
    env(safe-area-inset-left, 0px),
    calc((100vw - 68em) / 2 + 2em)
  );
  padding-right: max(
    2em,
    env(safe-area-inset-right, 0px),
    calc((100vw - 68em) / 2 + 2em)
  );
  margin: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 22, 0.94) 0%,
    rgba(10, 10, 14, 0.98) 100%
  );
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.3);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.22s ease;
}

body.header-pinned-scrolled:not(.player-fs-open) #header-sticky {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

body.header-nav-fixed:not(.player-fs-open) #header-sticky {
  display: flex;
}

/* 头部组件：为置顶组件留出高度 + 间距 */
body.header-nav-fixed:not(.player-fs-open) #header {
  padding-top: calc(
    var(--pinned-component-height) + var(--header-pinned-gap) + 3em
  );
}

@media (prefers-reduced-motion: reduce) {
  #header-sticky {
    transition: none;
  }
}
.header-sticky-nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  position: relative;
}

.header-sticky-nav-toggle {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0.38rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  /* 覆盖全局 button / button:active 的主题色渐变与实色填充 */
  background: transparent;
  background-color: transparent;
  background-image: none;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  filter: none;
  -webkit-tap-highlight-color: transparent;
}

.header-sticky-nav-toggle:hover,
.header-sticky-nav-toggle:active,
.header-sticky-nav-toggle:focus,
.header-sticky-nav-toggle:focus-visible,
.header-sticky-nav-toggle[aria-expanded="true"] {
  background: transparent;
  background-color: transparent;
  background-image: none;
  border-color: transparent;
  box-shadow: none;
  filter: none;
  color: inherit;
  outline: none;
}

.header-sticky-nav-toggle__current {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  line-height: 1;
  transform: translateY(0.06em);
}

.header-sticky-nav-toggle__icon {
  flex-shrink: 0;
  opacity: 0.92;
}

.header-sticky-nav-panel {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
}

.header-sticky-toolbar {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  order: 3;
  margin-left: auto;
  gap: 0.35rem;
  min-height: var(--header-toolbar-btn-size);
}

#header-sticky ul.icons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.25rem 0.55rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#header-sticky ul.icons::-webkit-scrollbar {
  display: none;
}

#header-sticky ul.icons li {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
}

#header-sticky ul.icons .icon.style {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--header-toolbar-btn-size);
  padding: 0 0.22rem;
  border: none;
  border-radius: 0.35rem;
  background: transparent;
  box-shadow: none;
  line-height: 1;
  vertical-align: middle;
}

#header-sticky ul.icons .icon.style:before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

#header-sticky ul.icons .icon > .label {
  display: inline-block !important;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  /* 大写无降部：光学中心略偏上，微下移对齐工具栏图标 */
  transform: translateY(0.06em);
}

#header-sticky ul.icons a.is-active > .label {
  font-weight: 650;
  line-height: 1;
  color: rgb(var(--accent-rgb));
  opacity: 1;
}

#header-sticky .header-sticky-settings,
#header-sticky .header-sticky-search-toggle {
  display: inline-flex;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--header-toolbar-btn-size);
  height: var(--header-toolbar-btn-size);
  min-width: var(--header-toolbar-btn-size);
  min-height: var(--header-toolbar-btn-size);
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: transparent;
  background-color: transparent;
  background-image: none;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease;
}

#header-sticky .header-sticky-settings:active,
#header-sticky .header-sticky-search-toggle:active,
.header-sticky-search.is-open .header-sticky-search-toggle,
.header-sticky-search.has-query .header-sticky-search-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.2);
  filter: none;
  color: #fff;
}

#header-sticky .header-sticky-settings:focus-visible,
#header-sticky .header-sticky-search-toggle:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.85);
  outline-offset: 2px;
}

#header-sticky .header-sticky-settings__icon,
#header-sticky .header-sticky-settings__label {
  color: rgba(255, 255, 255, 0.9);
}

#header-sticky .header-sticky-settings__label {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 置顶顶栏：仅搜索按钮；输入框在视口顶部全局层 #global-header-search */
.header-sticky-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header-sticky-search[hidden] {
  display: none !important;
}

.global-header-search {
  position: fixed;
  inset: 0;
  z-index: 10040;
  pointer-events: none;
}

.global-header-search:not([hidden]) {
  pointer-events: auto;
}

body.global-header-search-open {
  overflow: hidden;
}

.global-header-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.52);
  opacity: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    opacity 0.28s ease,
    backdrop-filter 0.32s ease,
    -webkit-backdrop-filter 0.32s ease;
}

.global-header-search.is-visible .global-header-search__backdrop {
  opacity: 1;
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

.global-header-search__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    1.5rem
    max(1rem, env(safe-area-inset-left, 0px));
  padding-top: clamp(4.5rem, 18vh, 9.5rem);
  pointer-events: none;
}

.global-header-search__shell,
.global-header-search__panel,
.header-sticky-search__panel {
  pointer-events: auto;
  box-sizing: border-box;
  width: min(34rem, calc(100vw - 2rem));
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 1.05rem;
  background: var(--surface-elevated);
  box-shadow: var(--shadow-elevated);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  transform: translateY(-12px) scale(0.965);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    border-color 0.2s ease,
    box-shadow 0.24s ease;
}

.global-header-search.is-visible .global-header-search__shell,
.global-header-search.is-visible .global-header-search__panel,
.global-header-search.is-visible .header-sticky-search__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.global-header-search__field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.35rem;
  padding: 0.65rem 0.85rem 0.65rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.global-header-search__field-icon {
  flex-shrink: 0;
  width: 1.125rem;
  text-align: center;
  font-size: var(--text-lg);
  color: var(--ink-faint);
  transition: color 0.2s ease;
}

.global-header-search__shell:focus-within .global-header-search__field-icon,
.header-sticky-search__panel:focus-within .global-header-search__field-icon {
  color: rgba(var(--accent-rgb), 0.95);
}

.global-header-search__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 1rem 0.65rem;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-label);
  color: var(--ink-faint);
}

.global-header-search__results {
  max-height: min(52vh, 22rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--border-subtle);
  padding: 0.4rem 0.45rem 0.5rem;
}

.global-header-search__results[hidden] {
  display: none !important;
}

.global-header-search__hit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.12rem;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0.62rem 0.7rem;
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.global-header-search__hit:hover,
.global-header-search__hit.is-active {
  background: rgba(var(--accent-rgb), 0.14);
}

.global-header-search__hit-icon {
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: var(--surface-2);
  color: rgba(var(--accent-rgb), 0.95);
  font-size: var(--text-sm);
  line-height: 1;
}

.global-header-search__hit-title {
  min-width: 0;
  font-size: var(--text-md);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-header-search__hit-meta {
  min-width: 0;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-tight);
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-header-search__empty {
  margin: 0;
  padding: 1rem 0.75rem 1.1rem;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-normal);
  color: var(--ink-muted);
}

.global-header-search__scope {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-label);
  color: var(--ink-muted);
}

.global-header-search__keys {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.28rem;
}

.global-header-search__kbd,
.global-header-search__esc-hint kbd {
  display: inline-block;
  min-width: 1.15rem;
  padding: 0.12rem 0.38rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.global-header-search__esc-hint {
  flex-shrink: 0;
}

@media (pointer: coarse) {
  .global-header-search__esc-hint {
    display: none;
  }
}

.global-header-search__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;
}

.header-sticky-search__panel:focus-within,
.global-header-search__shell:focus-within {
  border-color: rgba(var(--accent-rgb), 0.42);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.16),
    var(--shadow-elevated);
}

.header-sticky-search__panel[hidden] {
  display: none !important;
}

.header-sticky-search__input,
.global-header-search__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0.2rem 0;
  border: none;
  background: transparent;
  color: var(--ink-primary);
  font: inherit;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

@media (prefers-reduced-motion: reduce) {
  .global-header-search__backdrop,
  .global-header-search__shell,
  .global-header-search__panel,
  .header-sticky-search__panel {
    transition: none;
  }

  .global-header-search:not(.is-visible) .global-header-search__shell,
  .global-header-search:not(.is-visible) .header-sticky-search__panel {
    opacity: 0;
  }
}

.header-sticky-search__input::placeholder {
  color: var(--ink-muted);
}

.header-sticky-search__input::-webkit-search-cancel-button,
.header-sticky-search__input::-webkit-search-decoration {
  display: none;
}

.header-sticky-search__clear,
.global-header-search__clear {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  min-width: 1.65rem;
  min-height: 1.65rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-secondary);
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.header-sticky-search__clear[hidden] {
  display: none !important;
}

.header-sticky-search__clear:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.85);
  outline-offset: 1px;
}

#header-sticky .header-sticky-settings__label {
  white-space: nowrap;
}

/* 设置面板：与全站搜索同构 —— 视口顶部居中浮层 */
.header-settings {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
}

.header-settings:not([hidden]) {
  pointer-events: auto;
}

body.header-settings-open {
  overflow: hidden;
}

/* 紧凑导航菜单：与设置同构 —— 视口居中浮层 */
.header-nav-menu {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
}

.header-nav-menu:not([hidden]) {
  pointer-events: auto;
}

body.header-sticky-nav-open {
  overflow: hidden;
}

.header-nav-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.52);
  opacity: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    opacity 0.28s ease,
    backdrop-filter 0.32s ease,
    -webkit-backdrop-filter 0.32s ease;
}

.header-nav-menu.is-visible .header-nav-menu__backdrop {
  opacity: 1;
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

.header-nav-menu__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
}

.header-nav-menu__panel {
  pointer-events: auto;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: min(18rem, calc(100vw - 2.5rem));
  margin: 0;
  padding: 0.45rem 0.65rem 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 1.05rem;
  background: var(--surface-elevated);
  box-shadow: var(--shadow-elevated);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  color: var(--ink-primary);
  transform: translateY(-12px) scale(0.965);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    border-color 0.2s ease,
    box-shadow 0.24s ease;
}

.header-nav-menu.is-visible .header-nav-menu__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.header-nav-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav-menu__list > li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header-nav-menu__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.72rem 0.55rem;
  border: none;
  border-radius: 0.45rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.header-nav-menu__link:hover,
.header-nav-menu__link:focus-visible {
  color: rgb(var(--accent-rgb));
  outline: none;
}

.header-nav-menu__link.is-active {
  color: rgb(var(--accent-rgb));
}

@media (prefers-reduced-motion: reduce) {
  .header-nav-menu__backdrop,
  .header-nav-menu__panel {
    transition: none;
  }

  .header-nav-menu:not(.is-visible) .header-nav-menu__panel {
    opacity: 0;
  }
}

@media (prefers-color-scheme: light) {
  html:not(.force-dark) .header-nav-menu__list > li + li {
    border-top-color: rgba(30, 45, 72, 0.1);
  }

  html:not(.force-dark) .header-nav-menu__link {
    color: rgba(28, 36, 48, 0.88);
  }

  html:not(.force-dark) .header-nav-menu__link.is-active,
  html:not(.force-dark) .header-nav-menu__link:hover,
  html:not(.force-dark) .header-nav-menu__link:focus-visible {
    color: rgb(var(--accent-rgb));
  }
}

html.force-light .header-nav-menu__list > li + li {
  border-top-color: rgba(30, 45, 72, 0.1);
}

html.force-light .header-nav-menu__link {
  color: rgba(28, 36, 48, 0.88);
}

html.force-light .header-nav-menu__link.is-active,
html.force-light .header-nav-menu__link:hover,
html.force-light .header-nav-menu__link:focus-visible {
  color: rgb(var(--accent-rgb));
}

.header-settings__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.52);
  opacity: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    opacity 0.28s ease,
    backdrop-filter 0.32s ease,
    -webkit-backdrop-filter 0.32s ease;
}

.header-settings.is-visible .header-settings__backdrop {
  opacity: 1;
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

.header-settings__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
}

.header-settings__panel {
  pointer-events: auto;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: min(34rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.95rem 1.05rem 0.45rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 1.05rem;
  background: var(--surface-elevated);
  box-shadow: var(--shadow-elevated);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  color: var(--ink-primary);
  transform: translateY(-12px) scale(0.965);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    border-color 0.2s ease,
    box-shadow 0.24s ease;
}

.header-settings.is-visible .header-settings__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.header-settings__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  min-height: 1.45rem;
}

.header-settings__title {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45rem;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  min-height: 1.45rem;
}

.header-settings__esc-hint {
  flex-shrink: 0;
}

.header-settings__esc-hint kbd {
  display: inline-block;
  min-width: 1.15rem;
  padding: 0.12rem 0.38rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

button.header-settings__close,
.header-settings__close {
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  background-image: none;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1 !important;
  vertical-align: middle;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.header-settings__close > .fa {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: inherit;
  color: inherit;
  pointer-events: none;
}

.header-settings__close > .fa::before {
  position: static;
  display: block;
  line-height: 1;
  transform: none;
}

.header-settings__close:hover,
.header-settings__close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

@media (pointer: coarse) {
  .header-settings__esc-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-settings__backdrop,
  .header-settings__panel {
    transition: none;
  }

  .header-settings:not(.is-visible) .header-settings__panel {
    opacity: 0;
  }
}

.header-settings__tabs {
  margin: 0 0 0.65rem;
}

.header-settings__tabs .header-settings__segment {
  font-size: 0.74rem;
  padding: 0.48rem 0.25rem;
}

/* 各分类叠在同一格，高度取最高页，切换时不再跳动 */
.header-settings__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: 0;
}

.header-settings__section {
  grid-area: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  z-index: 0;
  visibility: hidden;
  pointer-events: none;
}

.header-settings__section.is-active {
  z-index: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-settings__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-settings__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.header-settings__section .header-settings__item:last-child {
  padding-bottom: 0.2rem;
}

.header-settings__item + .header-settings__item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header-settings__item--column {
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
}

.header-settings__segmented {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  width: 100%;
  padding: 0.25rem;
  border-radius: var(--radius-ios26-sm);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
}

.header-settings__segment {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0.45rem 0.35rem;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-ios26-sm) - 0.25rem);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  height: auto;
  min-height: 0;
  box-shadow: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.header-settings__segment.is-active,
.header-settings__segment[aria-checked="true"] {
  background: rgba(var(--accent-rgb), 0.38);
  border-color: rgba(var(--accent-rgb), 0.45);
  color: #fff;
  box-shadow: 0 2px 10px rgba(var(--accent-rgb), 0.28);
}

.header-settings__segment:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.65);
  outline-offset: 1px;
}

.header-settings__label {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

.header-settings__label-icon {
  display: inline-block;
  margin: 0 0.08em;
  font-size: 0.82em;
  line-height: 1;
  vertical-align: -0.05em;
  color: inherit;
  opacity: 0.92;
}

.header-settings__item--inline {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 1.25rem;
}

.header-settings__radios {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-width: 0;
  width: auto;
  margin-left: 0;
}

.header-settings__radio {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  margin: 0;
  padding: 0.2rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  color: var(--ink-primary);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  height: auto;
  min-height: 0;
  box-shadow: none;
  filter: none;
  -webkit-tap-highlight-color: transparent;
}

button.header-settings__radio:hover,
button.header-settings__radio:active,
button.header-settings__radio:focus,
button.header-settings__radio:focus-visible {
  background: transparent;
  background-color: transparent;
  color: var(--ink-primary);
  box-shadow: none;
  filter: none;
}

.header-settings__radio:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.65);
  outline-offset: 2px;
}

.header-settings__radio-dot {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  box-shadow: inset 0 0 0 0 transparent;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.header-settings__radio.is-active .header-settings__radio-dot,
.header-settings__radio[aria-checked="true"] .header-settings__radio-dot {
  border-color: rgba(var(--accent-rgb), 0.95);
  background: transparent;
  box-shadow: inset 0 0 0 0.28rem rgba(var(--accent-rgb), 0.95);
}

.header-settings__radio-text {
  min-width: 0;
  white-space: nowrap;
}

.header-settings__segment:active {
  filter: none;
}

@media (prefers-color-scheme: light) {
  html:not(.force-dark) .header-settings__title {
    color: #121820;
  }

  html:not(.force-dark) .header-settings__label {
    color: #2e3848;
  }

  html:not(.force-dark) .header-settings__item + .header-settings__item {
    border-top-color: rgba(45, 58, 75, 0.1);
  }

  html:not(.force-dark) .header-settings__segmented {
    background: rgba(45, 58, 75, 0.08);
    box-shadow: inset 0 1px 2px rgba(30, 45, 72, 0.08);
  }

  html:not(.force-dark) .header-settings__segment {
    color: #3d4a5c;
  }

  html:not(.force-dark) .header-settings__segment.is-active,
  html:not(.force-dark) .header-settings__segment[aria-checked="true"] {
    color: #fff;
  }

  html:not(.force-dark) .header-settings__radio-dot {
    border-color: rgba(45, 58, 75, 0.32);
  }

  html:not(.force-dark) .header-settings__esc-hint kbd {
    border-color: rgba(45, 58, 75, 0.16);
    background: rgba(45, 58, 75, 0.06);
    color: rgba(45, 58, 75, 0.62);
    box-shadow: inset 0 -1px 0 rgba(45, 58, 75, 0.08);
  }

  html:not(.force-dark) .header-settings__close {
    border-color: rgba(45, 58, 75, 0.16);
    background: rgba(45, 58, 75, 0.06);
    color: rgba(45, 58, 75, 0.62);
  }

  html:not(.force-dark) .header-settings__close:hover,
  html:not(.force-dark) .header-settings__close:focus-visible {
    background: rgba(45, 58, 75, 0.1);
    border-color: rgba(45, 58, 75, 0.24);
    color: rgba(28, 36, 48, 0.9);
  }
}
html.force-light .header-settings__title {
  color: #121820;
}

html.force-light .header-settings__label {
  color: #2e3848;
}

html.force-light .header-settings__item + .header-settings__item {
  border-top-color: rgba(45, 58, 75, 0.1);
}

html.force-light .header-settings__segmented {
  background: rgba(45, 58, 75, 0.08);
  box-shadow: inset 0 1px 2px rgba(30, 45, 72, 0.08);
}

html.force-light .header-settings__segment {
  color: #3d4a5c;
}

html.force-light .header-settings__segment.is-active,
html.force-light .header-settings__segment[aria-checked="true"] {
  color: #fff;
}

html.force-light .header-settings__radio-dot {
  border-color: rgba(45, 58, 75, 0.32);
}

html.force-light .header-settings__esc-hint kbd {
  border-color: rgba(45, 58, 75, 0.16);
  background: rgba(45, 58, 75, 0.06);
  color: rgba(45, 58, 75, 0.62);
  box-shadow: inset 0 -1px 0 rgba(45, 58, 75, 0.08);
}

html.force-light .header-settings__close {
  border-color: rgba(45, 58, 75, 0.16);
  background: rgba(45, 58, 75, 0.06);
  color: rgba(45, 58, 75, 0.62);
}

html.force-light .header-settings__close:hover,
html.force-light .header-settings__close:focus-visible {
  background: rgba(45, 58, 75, 0.1);
  border-color: rgba(45, 58, 75, 0.24);
  color: rgba(28, 36, 48, 0.9);
}

/* 占位：#header 变 fixed 后保留原占位高度，避免整页滚动条跳动 */
#header-flow-sentinel {
  display: block;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  pointer-events: none;
  flex-shrink: 0;
}

/* Footer */

.copyright {
  text-align: center;
  padding: 4em 0 4em 0;
}

.copyright:before {
  content: "";
  border-top: solid 1px rgba(255, 255, 255, 0.25);
  width: 10em;
  display: block;
  margin: 0 auto 3em auto;
}

@media screen and (max-width: 1280px) {
  .copyright {
    padding: 2em 0 2em 0;
  }
}
.copyright a {
  text-decoration: none;
  font-weight: 700;
  color: white;
  border-bottom: none;
}

/* 音乐播放器样式 */
#music-player {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-ios26);
  padding: 1.5em;
  margin-bottom: 2em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.player-main {
  display: flex;
  align-items: center;
  gap: 1.5em;
  flex-wrap: wrap;
}

.player-art {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-ios26-sm);
  overflow: hidden;
  background: #333;
}

.player-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-info {
  flex: 1;
  min-width: 150px;
}

.player-info .song-name {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.2em;
}

.player-info .album-name {
  font-size: 0.9em;
  opacity: 0.8;
}

.player-controls {
  display: flex;
  gap: 0.8em;
}

.player-controls button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-playlist {
  margin-top: 1.5em;
  max-height: 150px;
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1em;
}

.player-playlist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.player-playlist li {
  padding: 0.5em 1em;
  border-radius: var(--radius-ios26-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
  transition: background 0.2s;
}

.player-playlist li.playing {
  background: rgba(var(--accent-rgb), 0.3);
  color: #fff;
  font-weight: bold;
}

.player-playlist li .play-indicator {
  width: 20px;
  text-align: center;
  font-size: 0.8em;
}

.song-card {
  display: block;
  text-decoration: none;
  color: #333;
  background: #f9f9f9;
  border-radius: var(--radius-ios26-sm);
  overflow: hidden;
  transition: transform 0.2s;
}

.song-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.song-card h3 {
  margin: 8px 5px 4px;
  font-size: 1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-card p {
  margin: 0 5px 8px;
  font-size: 0.8em;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

button {
  background: var(--accent-gradient);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}

/* 固定底部音乐播放器（无选曲时隐藏） */
.music-player-dock:not(.has-track) {
  display: none !important;
}

.music-player-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  padding-top: 0.5rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  padding-left: max(
    2em,
    env(safe-area-inset-left, 0px),
    calc((100vw - 68em) / 2 + 2em)
  );
  padding-right: max(
    2em,
    env(safe-area-inset-right, 0px),
    calc((100vw - 68em) / 2 + 2em)
  );
  background: linear-gradient(
    180deg,
    rgba(18, 18, 22, 0.92) 0%,
    rgba(8, 8, 12, 0.97) 100%
  );
  border-top: 1px solid var(--accent-solid);
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(var(--accent-rgb), 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.music-player-dock__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-bottom: 0.05rem;
}

.music-player-dock__row--top {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.music-player-dock__col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.music-player-dock__col--left {
  flex: 0 0 auto;
  align-self: stretch;
}

.music-player-dock__col--center {
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.35rem;
  align-self: stretch;
}

.music-player-dock__col--right {
  flex: 0 0 auto;
  align-self: stretch;
}

.music-player-dock__controls {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.music-player-dock__art {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-ios26-sm);
  overflow: hidden;
  background: linear-gradient(145deg, #2a2a32 0%, #121218 100%);
  box-shadow:
    0 0 0 1px var(--border-subtle),
    var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.music-player-dock__art.is-placeholder::after {
  content: "\266A";
  font-size: 1.65rem;
  color: rgba(var(--accent-rgb), 0.55);
  line-height: 1;
}

.music-player-dock.has-track .music-player-dock__art {
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.42),
    var(--shadow-soft);
}

.music-player-dock.is-playing .music-player-dock__art {
  animation: player-art-pulse 2.2s ease-in-out infinite;
}

.player-time:first-of-type {
  text-align: right;
}

.player-time:last-of-type {
  text-align: left;
}

.player-progress {
  --seek-fill: 0%;
  flex: 1;
  min-width: 0;
  /* 总高度略大于滑块，便于 WebKit 把圆点与轨道垂直对齐 */
  height: 16px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  touch-action: none;
}

.player-progress::-webkit-slider-runnable-track {
  height: 4px;
  margin-top: 6px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--accent-blue) 0%,
    var(--accent-purple) calc(var(--seek-fill, 0%) / 2),
    var(--accent-red) var(--seek-fill, 0%),
    rgba(42, 42, 52, 0.98) var(--seek-fill, 0%),
    rgba(255, 255, 255, 0.1) 100%
  );
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}

.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
}

.player-progress::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: none;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
}

.player-progress::-moz-range-track {
  height: 4px;
  background: rgba(42, 42, 52, 0.95);
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}

.player-progress::-moz-range-progress {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-blue) 0%,
    var(--accent-purple) 55%,
    var(--accent-red) 100%
  );
  border-radius: 999px 0 0 999px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

/* 底栏进度：容器高度固定；移入/焦点时仅轨道加粗至与拨片同高，时间叠在条内 */
.music-player-dock__seek-wrap {
  position: relative;
  width: 100%;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-player-dock__seek-wrap .player-progress--dock {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  margin: 0;
  flex: none;
  min-width: 0;
  z-index: 1;
}

.music-player-dock__seek-time {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  line-height: 1;
  /* 数字字形相对行盒略偏上，与 6px/17px 轨道对齐略下移 */
  transform: translateY(1px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  min-width: 0;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  text-shadow:
    0 0 3px rgba(0, 0, 0, 0.35),
    0 1px 1px rgba(0, 0, 0, 0.4);
}

.music-player-dock__seek-time--current {
  left: 0.45rem;
  right: auto;
  width: auto;
  max-width: 40%;
  padding: 0 0.2rem 0 0;
  justify-content: flex-start;
  text-align: left;
}

.music-player-dock__seek-time--total {
  right: 0.45rem;
  left: auto;
  width: auto;
  max-width: 40%;
  padding: 0 0 0 0.2rem;
  justify-content: flex-end;
  text-align: right;
}

.music-player-dock__seek-wrap:focus-within .music-player-dock__seek-time {
  opacity: 1;
}

.music-player-dock__seek-wrap
  .player-progress--dock::-webkit-slider-runnable-track {
  height: 6px;
  margin-top: 9px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--accent-blue) 0%,
    var(--accent-purple) calc(var(--seek-fill, 0%) / 2),
    var(--accent-red) var(--seek-fill, 0%),
    rgba(42, 42, 52, 0.98) var(--seek-fill, 0%),
    rgba(255, 255, 255, 0.1) 100%
  );
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
  transition:
    height 0.2s ease,
    margin 0.2s ease;
}

.music-player-dock__seek-wrap:focus-within
  .player-progress--dock::-webkit-slider-runnable-track {
  height: 17px;
  margin-top: 3.5px;
  margin-bottom: 3.5px;
}

.music-player-dock__seek-wrap .player-progress--dock::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
  transition: margin-top 0.2s ease;
}

.music-player-dock__seek-wrap:focus-within
  .player-progress--dock::-webkit-slider-thumb {
  /* 与轨道垂直对齐：(轨道高 - 拨片直径) / 2，17px 轨 + 15px 圆 */
  margin-top: 1px;
}

.music-player-dock__seek-wrap .player-progress--dock::-moz-range-track {
  height: 6px;
  background: rgba(42, 42, 52, 0.95);
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: height 0.2s ease;
}

.music-player-dock__seek-wrap:focus-within
  .player-progress--dock::-moz-range-track {
  height: 17px;
}

.music-player-dock__seek-wrap .player-progress--dock::-moz-range-progress {
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--accent-blue) 0%,
    var(--accent-purple) 55%,
    var(--accent-red) 100%
  );
  border-radius: 999px 0 0 999px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15);
  transition: height 0.2s ease;
}

.music-player-dock__seek-wrap:focus-within
  .player-progress--dock::-moz-range-progress {
  height: 17px;
}

.music-player-dock__seek-wrap .player-progress--dock::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
}

/* 全屏进度条（#player-progress-fs 仅用于全屏；轨道较底栏更粗一档） */
#player-progress-fs {
  height: 32px;
}

#player-progress-fs::-webkit-slider-runnable-track {
  height: 8px;
  margin-top: 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--accent-blue) 0%,
    var(--accent-purple) calc(var(--seek-fill, 0%) / 2),
    var(--accent-red) var(--seek-fill, 0%),
    rgba(42, 42, 52, 0.98) var(--seek-fill, 0%),
    rgba(255, 255, 255, 0.1) 100%
  );
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}

#player-progress-fs::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  /* 与 8px 轨道垂直居中：(18 - 8) / 2 */
  margin-top: -5px;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
}

#player-progress-fs::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
}

#player-progress-fs::-moz-range-track {
  height: 8px;
  background: rgba(42, 42, 52, 0.95);
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}

#player-progress-fs::-moz-range-progress {
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--accent-blue) 0%,
    var(--accent-purple) 55%,
    var(--accent-red) 100%
  );
  border-radius: 999px 0 0 999px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

/* 全屏播放器（系统全屏 / 窗口最大化）：进度区无底色与顶边；滑轨与拨片沿用 #player-progress-fs 与 mini 一致的渐变 */
#player-fullscreen .player-fullscreen__seek--below-main {
  background: transparent;
  border-top: none;
  border-radius: 0;
}

.player-skip-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.player-skip-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.player-lyric-trans-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.player-lyric-trans-btn__glyph {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  font-family: inherit;
}

.player-lyric-trans-btn:disabled {
  opacity: 0.28 !important;
  cursor: not-allowed;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* 播放模式单键循环（列表 → 随机 → 单曲循环） */
.player-mode-cycle-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.92rem;
  line-height: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
  position: relative;
}

.player-mode-cycle__one {
  position: absolute;
  right: 3px;
  bottom: 3px;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}

.player-fs-mode-cycle {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.92rem;
}

@keyframes player-art-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(var(--accent-rgb), 0.65),
      0 0 20px rgba(var(--accent-rgb), 0.3);
  }

  50% {
    box-shadow:
      0 0 0 2px rgba(var(--accent-rgb), 0.9),
      0 0 28px rgba(var(--accent-rgb), 0.5);
  }
}
.player-album-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.music-player-dock__art.is-placeholder .player-album-art {
  opacity: 0;
  pointer-events: none;
}

.music-player-dock__col--center .player-lyrics {
  width: 100%;
  text-align: left;
}

.player-lyrics {
  line-height: 1.42;
  min-height: 1.42em;
  border-radius: 6px;
}

.music-player-dock.has-track .player-lyrics {
  cursor: pointer;
}

.music-player-dock.has-track .player-lyrics:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.75);
  outline-offset: 2px;
}

.player-lyric-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(1.5em, auto);
  width: 100%;
  align-items: center;
  justify-items: stretch;
}

.player-lyric-stack > * {
  grid-area: 1 / 1;
  align-self: center;
  width: 100%;
  max-width: 100%;
  text-align: left;
  transition: opacity 0.18s ease;
}

.player-current-lyric {
  color: var(--accent-lyric);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  min-height: 1.5em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: none;
}

.player-dock-hover-title {
  color: var(--ink-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
}

.player-play-btn {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-solid);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.player-play-btn:active:not(:disabled) {
  transform: scale(0.98);
  background: var(--accent-solid-active);
}

.player-play-btn.is-disabled,
.player-play-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.3);
  box-shadow: none;
}

/* Font Awesome 在圆钮内垂直水平居中（抵消字体内边距与 ::before 行盒） */
.music-player-dock__controls .player-skip-btn > .fa,
.music-player-dock__controls .player-lyric-trans-btn > .fa,
.music-player-dock__controls .player-play-btn > .fa,
.music-player-dock__controls .player-mode-cycle-btn > .fa,
#player-fullscreen .player-fs-controls--under-cover .player-skip-btn > .fa,
#player-fullscreen .player-fs-controls--under-cover .player-lyric-trans-btn > .fa,
#player-fullscreen .player-fs-controls--under-cover .player-play-btn > .fa,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-mode-cycle-btn
  > .fa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: inherit;
}

.music-player-dock__controls .player-skip-btn > .fa::before,
.music-player-dock__controls .player-lyric-trans-btn > .fa::before,
.music-player-dock__controls .player-play-btn > .fa::before,
.music-player-dock__controls .player-mode-cycle-btn > .fa::before,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-skip-btn
  > .fa::before,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-lyric-trans-btn
  > .fa::before,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-play-btn
  > .fa::before,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-mode-cycle-btn
  > .fa::before {
  line-height: 1;
  display: block;
  text-align: center;
  width: 100%;
}

@media screen and (max-width: 480px) {
  .music-player-dock__inner {
    gap: 0;
  }

  .music-player-dock__row--top {
    min-height: 0;
    gap: 0.65rem;
  }

  .music-player-dock__art {
    width: 3.65rem;
    height: 3.65rem;
    border-radius: var(--radius-ios26-sm);
  }

  .player-skip-btn {
    width: 2.2rem;
    height: 2.2rem;
  }

  .player-lyric-trans-btn {
    width: 2.2rem;
    height: 2.2rem;

    border-radius: 50%;
  }

  .player-play-btn {
    width: 2.85rem;
    height: 2.85rem;
  }

  .player-mode-cycle-btn {
    width: 2.2rem;
    height: 2.2rem;

    border-radius: 50%;
  }

  .music-player-dock__seek-time {
  }

  .music-player-dock__seek-wrap {
    height: 22px;
  }

  .music-player-dock__seek-wrap
    .player-progress--dock::-webkit-slider-runnable-track {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .music-player-dock__seek-wrap:focus-within
    .player-progress--dock::-webkit-slider-runnable-track {
    height: 17px;
    margin-top: 2.5px;
    margin-bottom: 2.5px;
  }

  .music-player-dock__seek-wrap:focus-within
    .player-progress--dock::-webkit-slider-thumb {
    margin-top: 1px;
  }

  .player-time {
  }
}
/* 音乐页：视图切换与布局 */
.music-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 1.25rem;
}

.music-page-head--albums {
  margin-top: 0.25rem;
}

/* 主题 / 备份：类型切换（简洁文字标签，左对齐） */
.page-type-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 1.15rem;
}

.page-type-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
}

.page-type-tab {
  position: relative;
  margin: 0;
  padding: 0 0 2px;
  border: none;
  border-radius: 0;
  background: transparent;
  --page-type-tab-muted: rgba(255, 255, 255, 0.48);
  --page-type-tab-hover: rgba(255, 255, 255, 0.78);
  --page-type-tab-active: rgba(255, 255, 255, 0.96);
  --page-type-tab-focus: rgba(255, 255, 255, 0.9);
  color: var(--page-type-tab-muted);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 0.5;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.page-type-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: rgb(var(--accent-rgb));
  opacity: 0;
  transform: scaleX(0.55);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.page-type-tab:active,
.page-type-tab:focus {
  background: transparent;
  border: none;
  box-shadow: none;
  filter: none;
}

.page-type-tab.is-active {
  color: var(--page-type-tab-active);
  font-weight: 600;
}

.page-type-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.page-type-tab:focus-visible {
  outline: none;
  color: var(--page-type-tab-focus);
}

.page-type-tab:focus-visible::after {
  opacity: 0.65;
  transform: scaleX(1);
}

/* 歌曲页功能栏：返回 + 统计/搜索融合 */
.music-songs-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  padding: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 20, 0.5);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.music-songs-bar__stat-search {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 2.65rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.045);
  cursor: default;
  transition:
    flex 0.18s ease-out,
    padding 0.18s ease-out,
    background 0.06s ease-out,
    border-color 0.06s ease-out,
    box-shadow 0.06s ease-out;
}

.music-songs-bar__stat-search:not(.is-search-open) {
  cursor: pointer;
}

.music-songs-bar__stat-search.is-search-open {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 0.55rem;
  border-color: rgba(var(--accent-rgb), 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.music-songs-bar__stat-face {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  width: 100%;
  min-height: 2.65rem;
  padding: 0;
  pointer-events: none;
}

.music-songs-bar__stat-search:not(.is-search-open):focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(var(--accent-rgb), 0.48);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.2);
}

.music-songs-bar__stat-search.is-search-open .music-songs-bar__stat-face {
  display: none;
}

.music-songs-bar__count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.52);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: opacity 0.12s ease-out;
  pointer-events: none;
}

.music-songs-bar__count-n {
  font-size: 1.08rem;
  font-weight: 600;
  color: rgba(var(--accent-rgb), 0.95);
}

.music-songs-bar__hint {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.92);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease-out;
}

.music-songs-bar__stat-search:not(.is-search-open):focus-within
  .music-songs-bar__count {
  opacity: 0;
}

.music-songs-bar__stat-search:not(.is-search-open):focus-within
  .music-songs-bar__hint {
  opacity: 1;
}

.music-songs-bar__search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  color: rgba(var(--accent-rgb), 0.95);
  font-size: 1.08rem;
  line-height: 1;
  pointer-events: none;
  transition: color 0.06s ease-out;
}

.music-songs-bar__stat-search:not(.is-search-open):focus-within
  .music-songs-bar__search-icon {
  color: rgb(var(--accent-rgb));
}

.music-songs-bar__search-field {
  display: none;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.65rem;
}

.music-songs-bar__stat-search.is-search-open .music-songs-bar__search-field {
  display: inline-flex;
}

.music-songs-bar__search-field[hidden] {
  display: none !important;
}

#music-songs-bar.is-search-open .music-songs-bar__count {
  display: none;
}

#music-songs-bar.is-search-open .music-songs-bar__search-field:not([hidden]) {
  display: inline-flex;
  flex: 1 1 auto;
  min-width: 0;
  border-color: rgba(var(--accent-rgb), 0.42);
}

.music-page-search,
.music-album-search,
.music-songs-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  margin: 0 0 1.15rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--music-search-shell-border);
  background: var(--music-search-shell-bg);
  backdrop-filter: blur(var(--music-search-shell-blur, 0px));
  -webkit-backdrop-filter: blur(var(--music-search-shell-blur, 0px));
  box-shadow: var(--music-search-shell-shadow, none);
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.music-page-search:focus-within,
.music-album-search:focus-within,
.music-songs-search:focus-within {
  border-color: rgba(var(--accent-rgb), 0.42);
}

.music-page-search[hidden],
.music-album-search[hidden],
.music-songs-search[hidden] {
  display: none !important;
}

.music-page-search__input,
.music-album-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--music-search-input-color);
  font: inherit;
  font-size: var(--music-search-input-size);
  font-weight: 500;
  line-height: 1.4;
  outline: none;
}

.music-page-search__input::-webkit-input-placeholder,
.music-album-search__input::-webkit-input-placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}

.music-page-search__input::-moz-placeholder,
.music-album-search__input::-moz-placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}

.music-page-search__input::placeholder,
.music-album-search__input::placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}

.music-page-search__clear,
.music-page-search__close,
.music-album-search__close {
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--music-search-action-bg);
  color: var(--music-search-action-color);
  cursor: pointer;
}

.music-page-search__clear[hidden] {
  display: none !important;
}

.music-albums-empty {
  margin: -0.5rem 0 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.52);
}

.music-albums-empty[hidden] {
  display: none !important;
}

.page-items-empty {
  margin: -0.35rem 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-ios26-sm);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  text-align: center;
}

.page-wip {
  margin: 4rem auto 2rem;
  max-width: 28rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-ios26-sm);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.page-items-empty[hidden] {
  display: none !important;
}

.music-songs-bar__search-field-icon {
  flex-shrink: 0;
  color: rgba(var(--accent-rgb), 0.85);
  font-size: 1rem;
}

.music-songs-bar__search-input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
  outline: none;
}

.music-songs-bar__search-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.music-songs-bar__search-input::-webkit-search-cancel-button,
.music-songs-bar__search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.music-songs-bar__search-clear,
.music-songs-bar__search-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.06s ease-out,
    color 0.06s ease-out;
}

.music-songs-bar__search-clear[hidden] {
  display: none;
}

.music-songs-bar__search-clear:focus-visible,
.music-songs-bar__search-close:focus-visible {
  background: rgba(var(--accent-rgb), 0.22);
  color: #fff;
}

.music-songs-empty {
  margin: -0.35rem 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-ios26-sm);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  text-align: center;
}

.music-songs-empty[hidden] {
  display: none;
}

.music-back-btn.music-back-btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.82);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.28);
  transition:
    background 0.06s ease-out,
    color 0.06s ease-out,
    box-shadow 0.06s ease-out;
}

.music-back-btn.music-back-btn--icon .fa {
  margin-left: -0.1rem;
}

.music-back-btn.music-back-btn--icon:focus-visible {
  background: rgb(var(--accent-rgb));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(var(--accent-rgb), 0.52);
}

.music-page-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-tight);
  color: var(--ink-primary);
}

.music-back-btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-ios26-sm);
  background: rgba(12, 14, 20, 0.55);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  cursor: pointer;
  transition:
    background 0.06s ease-out,
    border-color 0.06s ease-out;
}

.music-view-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  padding: 0.25rem;
  border-radius: var(--radius-ios26-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 14, 20, 0.45);
}

.music-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: calc(var(--radius-ios26-sm) - 0.25rem);
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
  box-shadow: none;
  transition:
    background 0.06s ease-out,
    color 0.06s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.music-view-btn:active,
.music-view-btn:focus {
  filter: none;
  box-shadow: none;
}

.music-view-toolbar .music-view-btn:not(.is-active):active,
.music-view-toolbar .music-view-btn:not(.is-active):focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
}

.music-view-btn.is-active,
.music-view-btn.is-active:active {
  background: rgba(var(--accent-rgb), 0.22);
  color: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.45);
}

.music-album-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 2em;
}

.music-album-list-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--radius-ios26);
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: background 0.06s ease-out;
}

.music-album-list-item + .music-album-list-item {
  position: relative;
}

.music-album-list-item + .music-album-list-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.music-album-cover-wrap {
  position: relative;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
}

.music-album-cover-wrap--card {
  width: 100%;
  border-radius: 0;
}

.music-album-cover-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.music-album-list-item .music-album-cover-wrap {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: var(--radius-ios26-sm);
}

.music-album-list-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.music-album-list-item > .music-hover-play {
  margin-left: auto;
  flex-shrink: 0;
}

.music-album-list-item__title {
  font-size: 1.08rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-album-list-item__count {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 1rem;
  margin: 0 0 2em;
}

.song-grid-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.5rem 0.65rem;
  padding: 0.7rem;
  border: none;
  border-radius: var(--radius-ios26);
  background: transparent;
  cursor: pointer;
  transition:
    background 0.06s ease-out,
    transform 0.06s ease-out;
}

.song-grid-item__media {
  position: relative;
  grid-column: 1 / -1;
}

.song-grid-item__cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-ios26-sm);
  object-fit: cover;
}

.song-grid-item__index {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  min-width: 1.5rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-ios26-sm);
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.song-grid-item__body {
  grid-column: 1;
  min-width: 0;
}

.song-grid-item__title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.song-grid-item__artist {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-grid-item__duration {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}

.song-grid-item .music-hover-play {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}

.song-grid-item.is-current {
  background: rgba(var(--accent-rgb), 0.12);
}

.music-hover-play {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.92);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.45);
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.06s ease-out,
    transform 0.06s ease-out,
    background 0.06s ease-out;
  pointer-events: auto;
  cursor: pointer;
}

.music-hover-play .fa-play {
  margin-left: 0.12rem;
}

@media screen and (max-width: 480px) {
  .music-page-head {
    flex-direction: column;
    align-items: stretch;
  }

  .music-songs-bar {
    flex-wrap: wrap;
    border-radius: var(--radius-ios26);
    padding: 0.65rem;
  }

  .music-songs-bar__stat-search,
  .music-songs-bar__stat-search.is-search-open {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .music-view-toolbar {
    margin-left: 0;
    align-self: flex-end;
  }

  .song-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 歌曲列表样式 */
.song-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.25rem;
}

.song-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: var(--radius-ios26);
  background: transparent;
  cursor: pointer;
  transition: background 0.06s ease-out;
}

.song-list-item + .song-list-item {
  position: relative;
}

.song-list-item + .song-list-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.song-list-item .song-index {
  flex: 0 0 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.song-list-item__main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.song-list-item .song-title {
  font-size: 1.05rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-list-item .song-artist {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-list-item .song-duration {
  flex: 0 0 4rem;
  text-align: left;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}

body.player-fs-open {
  overflow: hidden;
}

.music-player-dock__art--open-fs.is-interactive {
  cursor: pointer;
  outline: none;
  transition:
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.music-player-dock__art--open-fs.is-interactive:focus-visible {
  box-shadow:
    0 0 0 2px rgba(var(--accent-rgb), 0.65),
    0 0 0 4px rgba(255, 255, 255, 0.35),
    0 4px 20px rgba(var(--accent-rgb), 0.2);
}

.music-player-dock__art--open-fs .player-album-art {
  pointer-events: none;
}

.player-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.player-fs-wallpaper {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: none;
}

.player-fullscreen.player-fullscreen--system.is-open .player-fs-wallpaper,
.player-fullscreen.player-fullscreen--window.is-open .player-fs-wallpaper,
#player-fullscreen:fullscreen .player-fs-wallpaper,
#player-fullscreen:-webkit-full-screen .player-fs-wallpaper {
  display: block;
}

.player-fullscreen--system.is-open .player-fullscreen__scrim,
.player-fullscreen--window.is-open .player-fullscreen__scrim {
  opacity: 0;
  pointer-events: none;
}

.player-fullscreen[hidden] {
  display: none !important;
}

.player-fullscreen__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.player-fullscreen--window .player-fullscreen__scrim {
  opacity: 0;
  pointer-events: none;
}

.player-fullscreen--window {
  align-items: stretch;
}

/* 全屏面板：单区主列（内含双列 + 同宽进度条），整块垂直居中 */
.player-fullscreen__panel {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(66rem, calc(100vw - 1.25rem));
  max-height: min(94vh, 76rem);
  margin: 1rem;
  padding: 0.45rem 1rem 0;
  display: grid;
  grid-template-rows: auto;
  grid-template-areas: "fs-main";
  align-items: stretch;
  align-content: center;
  justify-items: stretch;
  gap: 0;
  min-height: 0;
  background: linear-gradient(165deg, #1e1e26 0%, #121218 100%);
  border-radius: var(--radius-ios26);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
}

.player-fullscreen__panel:fullscreen,
.player-fullscreen__panel:-webkit-full-screen,
#player-fullscreen:fullscreen .player-fullscreen__panel,
#player-fullscreen:-webkit-full-screen .player-fullscreen__panel {
  align-self: stretch;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: max(0.4rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px)) 0
    max(1rem, env(safe-area-inset-left, 0px));
  border: none;
  box-shadow: none;
  align-content: center;
}

.player-fullscreen--system .player-fullscreen__panel {
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: max(0.4rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px)) 0
    max(1rem, env(safe-area-inset-left, 0px));
  border: none;
  box-shadow: none;
  align-content: center;
}

.player-fullscreen--window .player-fullscreen__panel {
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: max(0.4rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px)) 0
    max(1rem, env(safe-area-inset-left, 0px));
  border: none;
  box-shadow: none;
  align-content: center;
}

.player-fullscreen__seek--below-main {
  width: 100%;
  max-width: var(--player-fs-content-max, min(66rem, 100%));
  margin-inline: auto;
  box-sizing: border-box;
  flex: 0 0 auto;
  margin-top: 0;
  padding: 1rem 0 calc(1.15rem + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border-top: none;
  border-radius: 0;
}

.player-fullscreen__panel:fullscreen .player-fullscreen__seek--below-main,
.player-fullscreen__panel:-webkit-full-screen
  .player-fullscreen__seek--below-main,
#player-fullscreen:fullscreen .player-fullscreen__seek--below-main,
#player-fullscreen:-webkit-full-screen .player-fullscreen__seek--below-main {
  border-radius: 0;
}

.player-fullscreen__panel .player-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums;
  min-width: 3.1ch;
}

.player-fs-body {
  --player-fs-content-max: min(66rem, 100%);
  --player-fs-lyrics-box-height: min(calc(48rem * 0.8), calc(56vh * 0.8));
  grid-area: fs-main;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(1.5rem, 4.5vh, 2.5rem);
  min-height: 0;
  flex: 0 1 auto;
  padding: clamp(2.65rem, 6vh, 3.65rem) clamp(1rem, 4.5vw, 2rem)
    clamp(0.55rem, 2.2vh, 1rem);
  box-sizing: border-box;
}

/* 左列轨宽与封面同宽（clamp 与 .player-fs-cover 一致） */
.player-fs-main-grid {
  --player-fs-cover-w: clamp(22rem, 42vw, 24.2rem);
  display: grid;
  grid-template-columns: var(--player-fs-cover-w) minmax(0, 5.25fr);
  align-items: stretch;
  gap: clamp(2.025rem, 6.75vw, 4.8rem);
  width: 100%;
  max-width: var(--player-fs-content-max);
  max-height: 100%;
  margin-inline: auto;
  flex: 0 1 auto;
  min-height: 0;
  min-width: 0;
}

.player-fs-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.player-fs-under-cover-controls {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.player-fs-controls--under-cover {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.43rem;
  padding: 0.45rem 0 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.player-fs-main-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.05rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
  text-align: center;
}

.player-fs-cover {
  position: relative;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: var(--radius-ios26-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.player-fs-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.65rem;
  box-sizing: border-box;
  border-radius: inherit;
  font-size: clamp(0.82rem, 2.1vw, 1.02rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  background: rgba(18, 18, 24, 0.55);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.player-fs-cover:focus-visible::after {
  opacity: 1;
}

#player-fullscreen.player-fullscreen--system .player-fs-cover::after {
  content: "退出全屏";
}

#player-fullscreen.player-fullscreen--window .player-fs-cover::after {
  content: "退出最大化";
}

.player-fs-cover:focus {
  outline: none;
}

.player-fs-cover:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.85);
  outline-offset: 3px;
}

.player-fs-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.player-fs-track-head {
  flex: 0 0 auto;
  text-align: center;
  padding: 0;
  margin: 0 0 0.15rem;
  width: 100%;
}

.player-fs-title {
  margin: 0;
  font-size: clamp(1.55rem, 4.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.2;
}

.player-fs-artist {
  margin: 0.42rem 0 0;
  font-size: 1.12rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.3;
}

.player-fs-lyrics-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  height: var(--player-fs-lyrics-box-height);
  min-height: var(--player-fs-lyrics-box-height);
  max-height: var(--player-fs-lyrics-box-height);
  margin-top: 0.55rem;
  justify-content: flex-start;
}

.player-fs-lyrics {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  text-align: center;
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  box-sizing: border-box;
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.player-fs-lyrics::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.player-fs-lyric-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  font-size: 1.08rem;
  line-height: 1.58;
  padding: 0.22rem 0.4rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  transition:
    color 0.15s ease,
    opacity 0.15s ease,
    font-size 0.15s ease;
  word-break: break-word;
}

.player-fs-lyric-line.is-past {
  opacity: 0.45;
  color: rgba(255, 255, 255, 0.28);
}

.player-fs-lyric-line.is-current {
  /* 大于非当前歌词，且小于 .player-fs-title（min 1.55rem） */
  font-size: clamp(1.28rem, 3.2vw, 1.45rem);
  font-weight: 700;
  color: var(--accent-solid-hover);
  opacity: 1;
}

.player-fs-lyric-line.is-current .player-lyric-primary {
  color: var(--accent-solid-hover);
}

.player-fs-lyric-line.is-current .player-lyric-translation {
  color: rgba(var(--accent-rgb), 0.7);
  font-weight: 500;
}

.player-fs-lyric-line.is-future {
  opacity: 0.62;
  color: rgba(255, 255, 255, 0.4);
}

.player-fs-lyric-line.is-empty {
  min-height: 1.45em;
}

.player-fs-controls--bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.68rem;
}

.player-fs-play-btn--bar {
  flex: 0 0 auto;
}

/* 全屏控制键：与底栏同图标/圆钮比例，再整体放大 */
#player-fullscreen .player-fs-controls--under-cover {
  --fs-ctrl-scale: 1.28;
  gap: calc(0.45rem * var(--fs-ctrl-scale));
}

#player-fullscreen .player-fs-controls--under-cover .player-skip-btn,
#player-fullscreen .player-fs-controls--under-cover .player-lyric-trans-btn,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-mode-cycle-btn.player-fs-mode-cycle,
#player-fullscreen .player-fs-controls--under-cover .player-fs-play-btn--bar {
  flex: 0 0 auto;
}

#player-fullscreen .player-fs-controls--under-cover .player-skip-btn,
#player-fullscreen .player-fs-controls--under-cover .player-lyric-trans-btn,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-mode-cycle-btn.player-fs-mode-cycle {
  width: calc(2.5rem * var(--fs-ctrl-scale));
  height: calc(2.5rem * var(--fs-ctrl-scale));
  font-size: calc(1rem * var(--fs-ctrl-scale));
  border-radius: 50%;
}

#player-fullscreen .player-fs-controls--under-cover .player-fs-play-btn--bar {
  width: calc(3.25rem * var(--fs-ctrl-scale));
  height: calc(3.25rem * var(--fs-ctrl-scale));
  font-size: calc(1.1rem * var(--fs-ctrl-scale));
}

#player-fullscreen .player-fs-controls--under-cover .player-mode-cycle__one {
  font-size: calc(0.5rem * var(--fs-ctrl-scale));
  right: calc(3px * var(--fs-ctrl-scale));
  bottom: calc(3px * var(--fs-ctrl-scale));
}

.player-fullscreen__seek {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  width: 100%;
}

@media (max-width: 560px) {
  .player-fs-body {
    justify-content: flex-start;
    gap: clamp(1.1rem, 3.5vh, 1.9rem);
    padding: 2.1rem clamp(0.85rem, 4vw, 1.35rem) 0.55rem;
    --player-fs-lyrics-box-height: min(calc(36rem * 0.8), calc(52vh * 0.8));
  }

  .player-fs-main-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    align-items: stretch;
    gap: 1.575rem;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .player-fs-left-col {
    align-items: center;
    justify-content: flex-start;
    height: auto;
  }

  .player-fs-under-cover-controls {
    width: 100%;
    max-width: 100%;
  }

  .player-fs-cover {
    max-width: min(calc(22rem * 1.1), calc(92vw * 1.1));
    width: 100%;
  }

  .player-fs-main-right {
    width: 100%;
  }

  .player-fs-track-head {
    text-align: center;
  }

  .player-fs-lyrics {
    text-align: center;
  }
}
.player-fullscreen__panel:fullscreen .player-fs-lyric-line.is-current,
.player-fullscreen__panel:-webkit-full-screen .player-fs-lyric-line.is-current,
#player-fullscreen:fullscreen .player-fs-lyric-line.is-current,
#player-fullscreen:-webkit-full-screen .player-fs-lyric-line.is-current {
  font-size: clamp(1.28rem, 3vmin, 1.45rem);
}

.song-list-item.is-current,
.music-album-list-item.is-current {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.16) 0%,
    rgba(22, 26, 34, 0.55) 55%
  );
}

.thumbnails.thumbnails--square-cover a.music-album-card.is-current {
  border-color: rgba(var(--accent-rgb), 0.58);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.38),
    0 0 0 2px rgba(var(--accent-rgb), 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.song-list-item--flash,
.music-track--flash {
  animation: song-list-item-flash 1.35s ease-out 1;
}

@keyframes song-list-item-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.65);
    background-color: rgba(var(--accent-rgb), 0.28);
  }

  100% {
    box-shadow: 0 0 0 0 transparent;
    background-color: transparent;
  }
}
/* 壁纸预览层 */
body.wallpaper-viewer-open {
  overflow: hidden;
}

.wallpaper-viewer {
  position: fixed;
  inset: 0;
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top, 0px))
    max(0.75rem, env(safe-area-inset-right, 0px))
    max(0.75rem, env(safe-area-inset-bottom, 0px))
    max(0.75rem, env(safe-area-inset-left, 0px));
}

.wallpaper-viewer[hidden]:not(.wallpaper-viewer--open) {
  display: none !important;
}

.wallpaper-viewer.wallpaper-viewer--open {
  display: flex !important;
}

.wallpaper-viewer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.wallpaper-viewer__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(72rem, 100%);
  max-height: calc(100vh - 1.5rem);
  min-height: 0;
  background: linear-gradient(165deg, #1e1e26 0%, #121218 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.38);
  border-radius: var(--radius-ios26);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
}

.wallpaper-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.wallpaper-viewer__meta {
  min-width: 0;
  flex: 1 1 auto;
}

.wallpaper-viewer__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallpaper-viewer__footer .wallpaper-viewer__nav,
.wallpaper-viewer__footer .wallpaper-viewer__counter-input {
  pointer-events: auto;
}

.wallpaper-viewer__footer .wallpaper-viewer__counter-input {
  flex: 0 1 auto;
}

.wallpaper-viewer__counter-input {
  margin: 0;
  text-align: center;
  font: inherit;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  -moz-appearance: textfield;
  appearance: textfield;
  cursor: text;
}

.wallpaper-viewer__counter-input::-webkit-outer-spin-button,
.wallpaper-viewer__counter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wallpaper-viewer__counter-input:focus-visible {
  background: rgba(var(--accent-rgb), 0.38);
  border-color: rgba(var(--accent-rgb), 0.62);
  transform: scale(1.02);
  outline: none;
}

.wallpaper-viewer__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.wallpaper-viewer__close:focus-visible {
  background: rgba(var(--accent-rgb), 0.28);
  border-color: rgba(var(--accent-rgb), 0.55);
  outline: none;
}

.wallpaper-viewer__stage {
  position: relative;
  flex: 0 0 auto;
  display: block;
  line-height: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.wallpaper-viewer__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0.65rem 1rem max(0.85rem, env(safe-area-inset-bottom, 0px));
  border: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.wallpaper-viewer__footer .wallpaper-viewer__nav,
.wallpaper-viewer__footer .wallpaper-viewer__counter-input {
  pointer-events: auto;
}

.wallpaper-viewer__footer .wallpaper-viewer__counter-input {
  flex: 0 1 auto;
}

.wallpaper-viewer__nav {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.94);
  font: inherit;
  cursor: pointer;
  transform: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease,
    opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.wallpaper-viewer__nav .fa {
  display: block;
  width: 1em;
  height: 1em;
  font-size: 1.85rem;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

.wallpaper-viewer__nav--prev,
.wallpaper-viewer__nav--next {
  left: auto;
  right: auto;
}

.wallpaper-viewer__nav.wallpaper-viewer__nav--counter,
.wallpaper-viewer__counter-input {
  --viewer-counter-h: 2.5rem;
  box-sizing: border-box;
  width: auto;
  min-width: calc(var(--viewer-counter-h) * 3.35);
  height: var(--viewer-counter-h);
  padding: 0 1.5rem;
  border-radius: calc(var(--viewer-counter-h) / 2);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  line-height: 1;
}

.wallpaper-viewer__nav:focus-visible {
  background: rgba(var(--accent-rgb), 0.38);
  border-color: rgba(var(--accent-rgb), 0.62);
  transform: scale(1.06);
  outline: none;
}

.wallpaper-viewer__nav--counter:focus-visible,
.wallpaper-viewer__counter-input:focus-visible {
  transform: scale(1.02);
}

.wallpaper-viewer__media {
  position: relative;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  vertical-align: top;
}

.wallpaper-viewer__media--video {
  background: #000;
}

.wallpaper-viewer__media[hidden] {
  display: none !important;
}

.thumbnails .wallpaper-card .thumbnail-media video,
.thumbnails .wallpaper-card .thumbnail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex-shrink: 0;
  pointer-events: none;
}

@media screen and (max-width: 640px) {
  .wallpaper-viewer__nav {
    width: 3rem;
    height: 3rem;
  }

  .wallpaper-viewer__nav.wallpaper-viewer__nav--counter,
  .wallpaper-viewer__counter-input {
    --viewer-counter-h: 2.35rem;
    min-width: calc(var(--viewer-counter-h) * 3.2);
    padding: 0 1.25rem;
    font-size: 0.78rem;
  }

  .wallpaper-viewer__footer {
    gap: 1rem;
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
}

/* —— 全局主题色预设（覆盖 :root accent 变量） —— */
html[data-accent="violet"] {
  --accent-blue: #3d8dff;
  --accent-purple: #9b63ff;
  --accent-red: #ff3d6a;
  --accent-blue-rgb: 61, 141, 255;
  --accent-purple-rgb: 155, 99, 255;
  --accent-red-rgb: 255, 61, 106;
  --accent-gradient-play: linear-gradient(
    155deg,
    #8ab4ff 0%,
    var(--accent-purple) 42%,
    #ff5c82 100%
  );
  --accent-solid: #8f74f0;
  --accent-solid-hover: #a08cf5;
  --accent-solid-active: #6b52d4;
  --accent-rgb: 143, 116, 240;
  --accent-lyric: #c4b6f2;
  --accent-lyric-bright: #ddd2ff;
  --lyric-translation-color: rgba(196, 182, 242, 0.88);
  --lyric-translation-color-muted: rgba(196, 182, 242, 0.58);
  --accent-stop-text: #d4caf5;
}

html[data-accent="blue"] {
  --accent-blue: #60a5fa;
  --accent-purple: #3b82f6;
  --accent-red: #6366f1;
  --accent-blue-rgb: 96, 165, 250;
  --accent-purple-rgb: 59, 130, 246;
  --accent-red-rgb: 99, 102, 241;
  --accent-gradient-play: linear-gradient(
    155deg,
    #93c5fd 0%,
    #3b82f6 42%,
    #818cf8 100%
  );
  --accent-solid: #3b82f6;
  --accent-solid-hover: #60a5fa;
  --accent-solid-active: #2563eb;
  --accent-rgb: 59, 130, 246;
  --accent-lyric: #93c5fd;
  --accent-lyric-bright: #dbeafe;
  --lyric-translation-color: rgba(147, 197, 253, 0.9);
  --lyric-translation-color-muted: rgba(147, 197, 253, 0.58);
  --accent-stop-text: #bfdbfe;
}

html[data-accent="teal"] {
  --accent-blue: #2dd4bf;
  --accent-purple: #14b8a6;
  --accent-red: #0ea5e9;
  --accent-blue-rgb: 45, 212, 191;
  --accent-purple-rgb: 20, 184, 166;
  --accent-red-rgb: 14, 165, 233;
  --accent-gradient-play: linear-gradient(
    155deg,
    #5eead4 0%,
    #14b8a6 42%,
    #38bdf8 100%
  );
  --accent-solid: #14b8a6;
  --accent-solid-hover: #2dd4bf;
  --accent-solid-active: #0f766e;
  --accent-rgb: 20, 184, 166;
  --accent-lyric: #99f6e4;
  --accent-lyric-bright: #ccfbf1;
  --lyric-translation-color: rgba(153, 246, 228, 0.9);
  --lyric-translation-color-muted: rgba(153, 246, 228, 0.58);
  --accent-stop-text: #99f6e4;
}

html[data-accent="green"] {
  --accent-blue: #4ade80;
  --accent-purple: #22c55e;
  --accent-red: #16a34a;
  --accent-blue-rgb: 74, 222, 128;
  --accent-purple-rgb: 34, 197, 94;
  --accent-red-rgb: 22, 163, 74;
  --accent-gradient-play: linear-gradient(
    155deg,
    #86efac 0%,
    #22c55e 42%,
    #4ade80 100%
  );
  --accent-solid: #22c55e;
  --accent-solid-hover: #4ade80;
  --accent-solid-active: #15803d;
  --accent-rgb: 34, 197, 94;
  --accent-lyric: #86efac;
  --accent-lyric-bright: #bbf7d0;
  --lyric-translation-color: rgba(134, 239, 172, 0.9);
  --lyric-translation-color-muted: rgba(134, 239, 172, 0.58);
  --accent-stop-text: #bbf7d0;
}

html[data-accent="amber"] {
  --accent-blue: #fbbf24;
  --accent-purple: #f59e0b;
  --accent-red: #f97316;
  --accent-blue-rgb: 251, 191, 36;
  --accent-purple-rgb: 245, 158, 11;
  --accent-red-rgb: 249, 115, 22;
  --accent-gradient-play: linear-gradient(
    155deg,
    #fcd34d 0%,
    #f59e0b 42%,
    #fb7185 100%
  );
  --accent-solid: #f59e0b;
  --accent-solid-hover: #fbbf24;
  --accent-solid-active: #d97706;
  --accent-rgb: 245, 158, 11;
  --accent-lyric: #fcd34d;
  --accent-lyric-bright: #fde68a;
  --lyric-translation-color: rgba(252, 211, 77, 0.9);
  --lyric-translation-color-muted: rgba(252, 211, 77, 0.58);
  --accent-stop-text: #fde68a;
}

html[data-accent="rose"] {
  --accent-blue: #fb7185;
  --accent-purple: #f43f5e;
  --accent-red: #e11d48;
  --accent-blue-rgb: 251, 113, 133;
  --accent-purple-rgb: 244, 63, 94;
  --accent-red-rgb: 225, 29, 72;
  --accent-gradient-play: linear-gradient(
    155deg,
    #fda4af 0%,
    #f43f5e 42%,
    #fb7185 100%
  );
  --accent-solid: #f43f5e;
  --accent-solid-hover: #fb7185;
  --accent-solid-active: #be123c;
  --accent-rgb: 244, 63, 94;
  --accent-lyric: #fda4af;
  --accent-lyric-bright: #fecdd3;
  --lyric-translation-color: rgba(253, 164, 175, 0.9);
  --lyric-translation-color-muted: rgba(253, 164, 175, 0.58);
  --accent-stop-text: #fecdd3;
}

.header-settings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

button.header-settings__action-btn,
.header-settings__action-btn {
  margin: 0;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.header-settings__action-btn:hover,
.header-settings__action-btn:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.45);
  color: rgb(var(--accent-rgb));
  outline: none;
}

@media (prefers-color-scheme: light) {
  html:not(.force-dark) .header-settings__action-btn {
    border-color: rgba(30, 45, 72, 0.14);
    background: rgba(255, 255, 255, 0.72);
    color: rgba(28, 36, 48, 0.82);
  }
}

html.force-light .header-settings__action-btn {
  border-color: rgba(30, 45, 72, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(28, 36, 48, 0.82);
}

/* 设置 · 主题色色点 */
.header-settings__swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0.15rem 0 0;
}
.header-settings__swatch {
  position: relative;
  box-sizing: border-box;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--swatch-color, var(--accent-solid));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.12s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.header-settings__swatch:hover {
  transform: scale(1.06);
}
.header-settings__swatch:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.65);
  outline-offset: 2px;
}
.header-settings__swatch.is-active,
.header-settings__swatch[aria-checked="true"] {
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 2px rgba(var(--accent-rgb), 0.55);
}

.header-settings__swatch.is-active::after,
.header-settings__swatch[aria-checked="true"]::after {
  content: "\f00c";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: FontAwesome;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
@media (prefers-color-scheme: light) {
  html:not(.force-dark) .header-settings__swatch {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      0 0 0 1px rgba(40, 52, 68, 0.14);
  }
  html:not(.force-dark) .header-settings__swatch.is-active,
  html:not(.force-dark) .header-settings__swatch[aria-checked="true"] {
    border-color: transparent;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      0 0 0 2px rgba(var(--accent-rgb), 0.5);
  }
}
html.force-light .header-settings__swatch {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 0 1px rgba(40, 52, 68, 0.14);
}
html.force-light .header-settings__swatch.is-active,
html.force-light .header-settings__swatch[aria-checked="true"] {
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 2px rgba(var(--accent-rgb), 0.5);
}
/**
 * 音乐播放器 — 底栏 dock、全屏播放器、进度条、歌词与控制键。
 * 宽度断点布局见 responsive.css；主题覆盖见 theme-system / glass-ios26。
 */
body.player-dock-visible #wrapper {
  padding-bottom: 9rem;
}
body.header-pinned-scrolled:not(.player-fs-open) #header-sticky {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}
body.header-nav-fixed:not(.player-fs-open) #header-sticky {
  display: flex;
} /* 音乐播放器样式 */
#music-player {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-ios26);
  padding: 1.5em;
  margin-bottom: 2em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.player-main {
  display: flex;
  align-items: center;
  gap: 1.5em;
  flex-wrap: wrap;
}
.player-art {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-ios26-sm);
  overflow: hidden;
  background: #333;
}
.player-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-info {
  flex: 1;
  min-width: 150px;
}
.player-info .song-name {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.2em;
}
.player-info .album-name {
  font-size: 0.9em;
  opacity: 0.8;
}
.player-controls {
  display: flex;
  gap: 0.8em;
}
.player-controls button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-playlist {
  margin-top: 1.5em;
  max-height: 150px;
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1em;
}
.player-playlist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.player-playlist li {
  padding: 0.5em 1em;
  border-radius: var(--radius-ios26-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
  transition: background 0.2s;
}
.player-playlist li.playing {
  background: rgba(var(--accent-rgb), 0.3);
  color: #fff;
  font-weight: bold;
}
.player-playlist li .play-indicator {
  width: 20px;
  text-align: center;
  font-size: 0.8em;
} /* 固定底部音乐播放器（无选曲时隐藏） */
.music-player-dock:not(.has-track) {
  display: none !important;
}
.music-player-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  --dock-seek-fill: 0;
  --dock-art-size: 4rem;
  padding-top: 0.5rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  padding-left: max(
    2em,
    env(safe-area-inset-left, 0px),
    calc((100vw - 68em) / 2 + 2em)
  );
  padding-right: max(
    2em,
    env(safe-area-inset-right, 0px),
    calc((100vw - 68em) / 2 + 2em)
  );
  background: linear-gradient(
    180deg,
    rgba(18, 18, 22, 0.92) 0%,
    rgba(8, 8, 12, 0.97) 100%
  );
  border-top: 1px solid var(--accent-solid);
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(var(--accent-rgb), 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.music-player-dock__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto;
  grid-template-areas: "dock-art dock-lyrics dock-ctrl";
  align-items: center;
  column-gap: 1rem;
  padding-bottom: 0.05rem;
}
.music-player-dock__art-unit {
  grid-area: dock-art;
  position: relative;
  width: var(--dock-art-size);
  height: var(--dock-art-size);
  flex-shrink: 0;
  isolation: isolate;
}
.music-player-dock__progress-ring {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}
.music-player-dock__progress-ring-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}
.music-player-dock__progress-ring-track,
.music-player-dock__progress-ring-fill {
  fill: none;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.music-player-dock__progress-ring-track {
  stroke: rgba(255, 255, 255, 0.14);
}
.music-player-dock__progress-ring-fill {
  stroke: url(#dock-ring-gradient);
  stroke-linecap: round;
  stroke-dasharray: 182.21;
  stroke-dashoffset: 182.21;
  transition: stroke-dashoffset 0.12s linear;
}
.music-player-dock__col--center {
  grid-area: dock-lyrics;
}
.music-player-dock__col--right {
  grid-area: dock-ctrl;
}
.music-player-dock__row--top {
  display: contents;
}
.music-player-dock__col--left {
  display: contents;
}
.music-player-dock__col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.music-player-dock__col--center {
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.35rem;
  align-self: stretch;
  min-width: 0;
}
.music-player-dock__col--right {
  flex: 0 0 auto;
  align-self: stretch;
}
.music-player-dock__controls {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.music-player-dock__art {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-ios26-sm);
  overflow: hidden;
  background: linear-gradient(145deg, #2a2a32 0%, #121218 100%);
  box-shadow:
    0 0 0 1px var(--border-subtle),
    var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.music-player-dock__art.is-placeholder::after {
  content: "\266A";
  font-size: 1.65rem;
  color: rgba(var(--accent-rgb), 0.55);
  line-height: 1;
}
.music-player-dock.has-track .music-player-dock__art {
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.42),
    var(--shadow-soft);
}
.music-player-dock.is-playing .music-player-dock__art {
  animation: player-art-pulse 2.2s ease-in-out infinite;
}
.player-time:first-of-type {
  text-align: right;
}
.player-time:last-of-type {
  text-align: left;
}
.player-progress {
  --seek-fill: 0%;
  flex: 1;
  min-width: 0;
  /* 总高度略大于滑块，便于 WebKit 把圆点与轨道垂直对齐 */
  height: 16px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  touch-action: pan-x;
}
.player-progress::-webkit-slider-runnable-track {
  height: 4px;
  margin-top: 6px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--accent-blue) 0%,
    var(--accent-purple) calc(var(--seek-fill, 0%) / 2),
    var(--accent-red) var(--seek-fill, 0%),
    rgba(42, 42, 52, 0.98) var(--seek-fill, 0%),
    rgba(255, 255, 255, 0.1) 100%
  );
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
}
.player-progress::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: none;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
}
.player-progress::-moz-range-track {
  height: 4px;
  background: rgba(42, 42, 52, 0.95);
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}
.player-progress::-moz-range-progress {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-blue) 0%,
    var(--accent-purple) 55%,
    var(--accent-red) 100%
  );
  border-radius: 999px 0 0 999px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15);
} /* 底栏进度：容器高度固定；移入/焦点时仅轨道加粗至与拨片同高，时间叠在条内 */
.music-player-dock__seek-wrap {
  position: relative;
  width: 100%;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.music-player-dock__seek-wrap .player-progress--dock {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  margin: 0;
  flex: none;
  min-width: 0;
  z-index: 1;
}
.music-player-dock__seek-time {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  line-height: 1;
  /* 数字字形相对行盒略偏上，与 6px/17px 轨道对齐略下移 */
  transform: translateY(1px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  min-width: 0;
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-primary);
  text-shadow:
    0 0 3px rgba(0, 0, 0, 0.28),
    0 1px 1px rgba(0, 0, 0, 0.3);
}
.music-player-dock__seek-time--current {
  left: 0.45rem;
  right: auto;
  width: auto;
  max-width: 40%;
  padding: 0 0.2rem 0 0;
  justify-content: flex-start;
  text-align: left;
}
.music-player-dock__seek-time--total {
  right: 0.45rem;
  left: auto;
  width: auto;
  max-width: 40%;
  padding: 0 0 0 0.2rem;
  justify-content: flex-end;
  text-align: right;
}
.music-player-dock__seek-wrap:focus-within .music-player-dock__seek-time {
  opacity: 1;
}
.music-player-dock__seek-wrap
  .player-progress--dock::-webkit-slider-runnable-track {
  height: 6px;
  margin-top: 9px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--accent-blue) 0%,
    var(--accent-purple) calc(var(--seek-fill, 0%) / 2),
    var(--accent-red) var(--seek-fill, 0%),
    rgba(42, 42, 52, 0.98) var(--seek-fill, 0%),
    rgba(255, 255, 255, 0.1) 100%
  );
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
  transition:
    height 0.2s ease,
    margin 0.2s ease;
}
.music-player-dock__seek-wrap:focus-within
  .player-progress--dock::-webkit-slider-runnable-track {
  height: 17px;
  margin-top: 3.5px;
  margin-bottom: 3.5px;
}
.music-player-dock__seek-wrap .player-progress--dock::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
  transition: margin-top 0.2s ease;
}
.music-player-dock__seek-wrap:focus-within
  .player-progress--dock::-webkit-slider-thumb {
  /* 与轨道垂直对齐：(轨道高 - 拨片直径) / 2，17px 轨 + 15px 圆 */
  margin-top: 1px;
}
.music-player-dock__seek-wrap .player-progress--dock::-moz-range-track {
  height: 6px;
  background: rgba(42, 42, 52, 0.95);
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: height 0.2s ease;
}
.music-player-dock__seek-wrap:focus-within
  .player-progress--dock::-moz-range-track {
  height: 17px;
}
.music-player-dock__seek-wrap .player-progress--dock::-moz-range-progress {
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--accent-blue) 0%,
    var(--accent-purple) 55%,
    var(--accent-red) 100%
  );
  border-radius: 999px 0 0 999px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15);
  transition: height 0.2s ease;
}
.music-player-dock__seek-wrap:focus-within
  .player-progress--dock::-moz-range-progress {
  height: 17px;
}

/* 桌面（>980px）：底栏进度条 hover 加粗（平板仅 focus-within / 拖拽时生效） */
@media screen and (min-width: 981px) {
  .music-player-dock__seek-wrap:hover .music-player-dock__seek-time {
    opacity: 1;
  }

  .music-player-dock__seek-wrap:hover
    .player-progress--dock::-webkit-slider-runnable-track {
    height: 17px;
    margin-top: 3.5px;
    margin-bottom: 3.5px;
  }

  .music-player-dock__seek-wrap:hover
    .player-progress--dock::-webkit-slider-thumb {
    margin-top: 1px;
  }

  .music-player-dock__seek-wrap:hover
    .player-progress--dock::-moz-range-track {
    height: 17px;
  }

  .music-player-dock__seek-wrap:hover
    .player-progress--dock::-moz-range-progress {
    height: 17px;
  }
}

.music-player-dock__seek-wrap .player-progress--dock::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
} /* 全屏进度条（#player-progress-fs 仅用于全屏；轨道较底栏更粗一档） */
#player-progress-fs {
  height: 32px;
  touch-action: pan-x;
  pointer-events: auto;
}
#player-fullscreen.is-open .player-fullscreen__seek--below-main {
  position: relative;
  z-index: 4;
  pointer-events: auto;
  touch-action: pan-x;
}
#player-fullscreen.is-open .player-fullscreen__seek--below-main .player-progress {
  pointer-events: auto;
  touch-action: pan-x;
}
#player-progress-fs::-webkit-slider-runnable-track {
  height: 8px;
  margin-top: 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--accent-blue) 0%,
    var(--accent-purple) calc(var(--seek-fill, 0%) / 2),
    var(--accent-red) var(--seek-fill, 0%),
    rgba(42, 42, 52, 0.98) var(--seek-fill, 0%),
    rgba(255, 255, 255, 0.1) 100%
  );
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}
#player-progress-fs::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  /* 与 8px 轨道垂直居中：(18 - 8) / 2 */
  margin-top: -5px;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
}
#player-progress-fs::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: var(--accent-gradient-thumb);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(var(--accent-rgb), 0.6);
  cursor: grab;
}
#player-progress-fs::-moz-range-track {
  height: 8px;
  background: rgba(42, 42, 52, 0.95);
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}
#player-progress-fs::-moz-range-progress {
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--accent-blue) 0%,
    var(--accent-purple) 55%,
    var(--accent-red) 100%
  );
  border-radius: 999px 0 0 999px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15);
} /* 全屏播放器（系统全屏 / 窗口最大化）：进度区无底色与顶边；滑轨与拨片沿用 #player-progress-fs 与 mini 一致的渐变 */
#player-fullscreen .player-fullscreen__seek--below-main {
  background: transparent;
  border-top: none;
  border-radius: 0;
}
.player-skip-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.player-skip-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}
.player-lyric-trans-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.player-lyric-trans-btn__glyph {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  font-family: inherit;
}
.player-lyric-trans-btn:disabled {
  opacity: 0.28 !important;
  cursor: not-allowed;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}
.player-music-list-btn.is-active {
  background: rgba(var(--accent-rgb), 0.28) !important;
  border-color: rgba(var(--accent-rgb), 0.45);
  color: #fff !important;
}
/* 播放模式：与 .player-skip-btn / .player-lyric-trans-btn 同尺寸同视觉（勿单独改） */
.player-mode-cycle-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  line-height: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
  position: relative;
}
.player-mode-cycle__one {
  position: absolute;
  right: 3px;
  bottom: 3px;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 480px) {
  .player-skip-btn,
  .player-lyric-trans-btn,
  .player-mode-cycle-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1rem;
  }
}

@keyframes player-art-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(var(--accent-rgb), 0.65),
      0 0 20px rgba(var(--accent-rgb), 0.3);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(var(--accent-rgb), 0.9),
      0 0 28px rgba(var(--accent-rgb), 0.5);
  }
}
.player-album-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.music-player-dock__art.is-placeholder .player-album-art {
  opacity: 0;
  pointer-events: none;
}
.music-player-dock__col--center .player-lyrics {
  width: 100%;
  text-align: left;
}
.player-lyrics {
  line-height: 1.42;
  min-height: 1.42em;
  border-radius: 6px;
}
.music-player-dock.has-track .player-lyrics.is-lyric-locate {
  cursor: pointer;
}
.music-player-dock.has-track .player-lyrics:not(.is-lyric-locate) {
  cursor: default;
}
.music-player-dock.has-track .player-lyrics.is-lyric-locate:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.75);
  outline-offset: 2px;
}
.player-lyric-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(1.5em, auto);
  width: 100%;
  align-items: center;
  justify-items: stretch;
}
.player-lyric-dual {
  display: block;
  min-width: 0;
}
.player-current-lyric,
.player-next-lyric {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.12rem;
  min-width: 0;
  width: 100%;
}
.player-lyric-primary {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-lyric-translation {
  display: block;
  font-size: 0.82em;
  font-weight: 400;
  line-height: 1.35;
  color: var(--lyric-translation-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-lyric-translation[hidden] {
  display: none !important;
}
.player-current-lyric {
  color: var(--accent-lyric);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  min-height: 1.5em;
  text-shadow: none;
}
.player-current-lyric .player-lyric-primary {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-shadow: none;
}
.player-next-lyric {
  display: none;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-normal);
  color: var(--ink-muted);
  min-height: 0;
}
.player-next-lyric .player-lyric-primary {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.player-next-lyric .player-lyric-translation {
  font-size: 0.92em;
  color: var(--lyric-translation-color-muted);
}

/* 常规底栏（>480px）：开启翻译时原文左、译文右，单行横向滚动 */
@media screen and (min-width: 481px) {
  html.lyric-translation-on
    .music-player-dock
    .player-current-lyric.has-lyric-translation {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: 1.5em;
    max-height: 1.5em;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  html.lyric-translation-on
    .music-player-dock
    .player-current-lyric.has-lyric-translation::-webkit-scrollbar {
    display: none;
  }

  html.lyric-translation-on
    .music-player-dock
    .player-current-lyric.has-lyric-translation
    .player-lyric-primary {
    flex: 0 0 auto;
    text-align: left;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }

  html.lyric-translation-on
    .music-player-dock
    .player-current-lyric.has-lyric-translation
    .player-lyric-translation {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.85rem;
    line-height: 1.42;
  }
}

.player-lyric-stack > * {
  grid-area: 1 / 1;
  align-self: center;
  width: 100%;
  max-width: 100%;
  text-align: left;
  transition: opacity 0.18s ease;
}
.player-dock-hover-title {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
}

/* 桌面（>980px）：悬停歌词区显示曲名 */
@media screen and (min-width: 981px) {
  .music-player-dock.has-track .player-lyrics:hover .player-lyric-dual {
    opacity: 0;
  }

  .music-player-dock.has-track .player-lyrics:hover .player-dock-hover-title {
    opacity: 1;
  }
}
.player-play-btn {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-solid);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.player-play-btn:active:not(:disabled) {
  transform: scale(0.98);
  background: var(--accent-solid-active);
}
.player-play-btn.is-disabled,
.player-play-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.3);
  box-shadow: none;
} /* Font Awesome 在圆钮内垂直水平居中（抵消字体内边距与 ::before 行盒） */
.music-player-dock__controls .player-skip-btn > .fa,
.music-player-dock__controls .player-lyric-trans-btn > .fa,
.music-player-dock__controls .player-play-btn > .fa,
.music-player-dock__controls .player-mode-cycle-btn > .fa,
#player-fullscreen .player-fs-controls--under-cover .player-skip-btn > .fa,
#player-fullscreen .player-fs-controls--under-cover .player-lyric-trans-btn > .fa,
#player-fullscreen .player-fs-controls--under-cover .player-play-btn > .fa,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-mode-cycle-btn
  > .fa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: inherit;
}
.music-player-dock__controls .player-skip-btn > .fa::before,
.music-player-dock__controls .player-lyric-trans-btn > .fa::before,
.music-player-dock__controls .player-play-btn > .fa::before,
.music-player-dock__controls .player-mode-cycle-btn > .fa::before,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-skip-btn
  > .fa::before,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-lyric-trans-btn
  > .fa::before,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-play-btn
  > .fa::before,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-mode-cycle-btn
  > .fa::before {
  line-height: 1;
  display: block;
  text-align: center;
  width: 100%;
}
body.player-fs-open {
  overflow: hidden;
}

/* 全屏打开时隐藏底层页面，避免 iOS 透明合成把列表透出来 */
body.player-fs-open #app,
body.player-fs-open #live-wallpaper,
body.player-fs-open #header,
body.player-fs-open #header-sticky,
body.player-fs-open #music-player-dock {
  visibility: hidden !important;
  pointer-events: none !important;
}

.music-player-dock__art--open-fs.is-interactive {
  cursor: pointer;
  outline: none;
  transition:
    filter 0.18s ease,
    box-shadow 0.18s ease;
}
.music-player-dock__art--open-fs.is-interactive:focus-visible {
  box-shadow:
    0 0 0 2px rgba(var(--accent-rgb), 0.65),
    0 0 0 4px rgba(255, 255, 255, 0.35),
    0 4px 20px rgba(var(--accent-rgb), 0.2);
}
.music-player-dock__art--open-fs .player-album-art {
  pointer-events: none;
}

.player-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  isolation: isolate;
}
.player-fs-wallpaper {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: none;
  /* canvas 未画出前的兜底：接近动态壁纸色调，避免纯黑 */
  background:
    radial-gradient(ellipse 80% 55% at 20% 30%, rgba(61, 141, 255, 0.42), transparent 55%),
    radial-gradient(ellipse 70% 50% at 78% 22%, rgba(155, 99, 255, 0.38), transparent 50%),
    radial-gradient(ellipse 65% 45% at 55% 78%, rgba(255, 61, 106, 0.2), transparent 55%),
    linear-gradient(165deg, #0a0812 0%, #080a14 45%, #050508 100%);
}
html[data-wallpaper-theme="light"] .player-fs-wallpaper {
  background:
    radial-gradient(ellipse 80% 55% at 20% 30%, rgba(61, 141, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 78% 22%, rgba(155, 99, 255, 0.24), transparent 50%),
    radial-gradient(ellipse 65% 45% at 55% 78%, rgba(255, 61, 106, 0.12), transparent 55%),
    linear-gradient(165deg, #f0f2f6 0%, #e9edf5 45%, #e2e6ee 100%);
}
.player-fullscreen.player-fullscreen--system.is-open .player-fs-wallpaper,
.player-fullscreen.player-fullscreen--window.is-open .player-fs-wallpaper,
#player-fullscreen:fullscreen .player-fs-wallpaper,
#player-fullscreen:-webkit-full-screen .player-fs-wallpaper {
  display: block;
}

.player-fullscreen--system.is-open .player-fullscreen__scrim,
.player-fullscreen--window.is-open .player-fullscreen__scrim {
  opacity: 0;
  pointer-events: none;
}
.player-fullscreen[hidden] {
  display: none !important;
}
.player-fullscreen__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.player-fullscreen--window .player-fullscreen__scrim {
  opacity: 0;
  pointer-events: none;
}
.player-fullscreen--window {
  align-items: stretch;
}

/* 系统全屏 / 最大化：同为占满窗口；面板透明露出动态壁纸 */
#player-fullscreen.is-open.player-fullscreen--system,
#player-fullscreen.is-open.player-fullscreen--window {
  background: #08080e;
  align-items: stretch;
  justify-content: stretch;
}

#player-fullscreen.is-open.player-fullscreen--system .player-fullscreen__scrim,
#player-fullscreen.is-open.player-fullscreen--window .player-fullscreen__scrim {
  opacity: 0;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#player-fullscreen.is-open.player-fullscreen--system .player-fullscreen__panel,
#player-fullscreen.is-open.player-fullscreen--window .player-fullscreen__panel {
  align-self: stretch;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100dvh;
  max-height: none;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (pointer: coarse) {
  #player-fullscreen.is-open.player-fullscreen--window .player-fullscreen__scrim {
    opacity: 0;
    pointer-events: none;
  }

  #player-fullscreen.is-open.player-fullscreen--window .player-fullscreen__panel {
    align-self: stretch;
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    max-height: none;
    height: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
}

#player-fullscreen:fullscreen,
#player-fullscreen:-webkit-full-screen {
  background: #08080e;
}

#player-fullscreen:fullscreen .player-fullscreen__panel,
#player-fullscreen:-webkit-full-screen .player-fullscreen__panel {
  background: transparent;
}

#player-fullscreen.is-open .player-fullscreen__seek--below-main {
  border-radius: 0;
  background: transparent;
  border-top: none;
}

/* 全屏面板：单区主列（内含双列 + 同宽进度条），整块垂直居中 */
.player-fullscreen__panel {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(66rem, calc(100vw - 1.25rem));
  max-height: min(94vh, 76rem);
  margin: 1rem;
  padding: 0.45rem 1rem 0;
  display: grid;
  grid-template-rows: auto;
  grid-template-areas: "fs-main";
  align-items: stretch;
  align-content: center;
  justify-items: stretch;
  gap: 0;
  min-height: 0;
  background: linear-gradient(165deg, #1e1e26 0%, #121218 100%);
  border-radius: var(--radius-ios26);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: rgba(255, 255, 255, 0.92);
}
.player-fullscreen__panel:fullscreen,
.player-fullscreen__panel:-webkit-full-screen,
#player-fullscreen:fullscreen .player-fullscreen__panel,
#player-fullscreen:-webkit-full-screen .player-fullscreen__panel {
  align-self: stretch;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: max(0.4rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px)) 0
    max(1rem, env(safe-area-inset-left, 0px));
  border: none;
  box-shadow: none;
  align-content: center;
}
.player-fullscreen--system .player-fullscreen__panel {
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: max(0.4rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px)) 0
    max(1rem, env(safe-area-inset-left, 0px));
  border: none;
  box-shadow: none;
  align-content: center;
}
.player-fullscreen--window .player-fullscreen__panel {
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: max(0.4rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px)) 0
    max(1rem, env(safe-area-inset-left, 0px));
  border: none;
  box-shadow: none;
  align-content: center;
}
.player-fullscreen__seek--below-main {
  width: 100%;
  max-width: var(--player-fs-content-max, min(66rem, 100%));
  margin-inline: auto;
  box-sizing: border-box;
  flex: 0 0 auto;
  margin-top: 0;
  padding: 1rem 0 calc(1.15rem + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border-top: none;
  border-radius: 0;
}
.player-fullscreen__panel:fullscreen .player-fullscreen__seek--below-main,
.player-fullscreen__panel:-webkit-full-screen
  .player-fullscreen__seek--below-main,
#player-fullscreen:fullscreen .player-fullscreen__seek--below-main,
#player-fullscreen:-webkit-full-screen .player-fullscreen__seek--below-main {
  border-radius: 0;
}
.player-fullscreen__panel .player-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums;
  min-width: 3.1ch;
}
.player-fs-body {
  --player-fs-content-max: min(66rem, 100%);
  --player-fs-cover-w: clamp(22rem, 42vw, 24.2rem);
  --player-fs-lyrics-box-height: min(calc(48rem * 0.8), calc(56vh * 0.8));
  grid-area: fs-main;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(1.5rem, 4.5vh, 2.5rem);
  min-height: 0;
  flex: 0 1 auto;
  padding: clamp(2.65rem, 6vh, 3.65rem) clamp(1rem, 4.5vw, 2rem)
    clamp(0.55rem, 2.2vh, 1rem);
  box-sizing: border-box;
} /* 左列轨宽与封面同宽（clamp 与 .player-fs-cover 一致） */
.player-fs-main-grid {
  --player-fs-cover-w: clamp(22rem, 42vw, 24.2rem);
  display: grid;
  grid-template-columns: var(--player-fs-cover-w) minmax(0, 5.25fr);
  align-items: stretch;
  gap: clamp(2.025rem, 6.75vw, 4.8rem);
  width: 100%;
  max-width: var(--player-fs-content-max);
  max-height: 100%;
  margin-inline: auto;
  flex: 0 1 auto;
  min-height: 0;
  min-width: 0;
}
.player-fs-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.player-fs-vinyl-disc {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: inherit;
  overflow: hidden;
}
.player-fs-vinyl-groove {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}
.player-fs-cover.is-vinyl-spinning .player-fs-vinyl-disc {
  animation: none;
}
@media screen and (max-width: 560px) {
  .player-fs-cover.is-vinyl-spinning .player-fs-vinyl-disc {
    animation: player-fs-vinyl-rotate 22s linear infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .player-fs-cover.is-vinyl-spinning .player-fs-vinyl-disc {
    animation: none !important;
  }
}
@keyframes player-fs-vinyl-rotate {
  to {
    transform: rotate(360deg);
  }
}
.player-fs-under-cover-controls {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.player-fs-controls--under-cover {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.43rem;
  padding: 0.45rem 0 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.player-fs-main-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.05rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
  text-align: center;
}
.player-fs-cover {
  position: relative;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: var(--radius-ios26-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.player-fs-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.65rem;
  box-sizing: border-box;
  border-radius: inherit;
  font-size: clamp(0.82rem, 2.1vw, 1.02rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  background: rgba(18, 18, 24, 0.55);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.player-fs-cover:focus-visible::after {
  opacity: 1;
}
#player-fullscreen.player-fullscreen--system .player-fs-cover::after {
  content: "退出全屏";
}
#player-fullscreen.player-fullscreen--window .player-fs-cover::after {
  content: "退出最大化";
}
.player-fs-cover:focus {
  outline: none;
}
.player-fs-cover:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.85);
  outline-offset: 3px;
}
.player-fs-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.player-fs-track-head {
  flex: 0 0 auto;
  text-align: center;
  padding: 0;
  margin: 0 0 0.15rem;
  width: 100%;
}
.player-fs-title {
  margin: 0;
  font-size: clamp(1.55rem, 4.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.2;
}
.player-fs-artist {
  margin: 0.42rem 0 0;
  font-size: 1.12rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.3;
}
.player-fs-lyrics-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  height: var(--player-fs-lyrics-box-height);
  min-height: var(--player-fs-lyrics-box-height);
  max-height: var(--player-fs-lyrics-box-height);
  margin-top: 0.55rem;
  justify-content: flex-start;
}
.player-fs-lyrics {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  text-align: center;
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  box-sizing: border-box;
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.player-fs-lyrics::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.player-fs-lyric-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  font-size: 1.08rem;
  line-height: 1.58;
  padding: 0.22rem 0.4rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  transition:
    color 0.15s ease,
    opacity 0.15s ease,
    font-size 0.15s ease;
  word-break: break-word;
}
.player-fs-lyric-line .player-lyric-primary {
  display: block;
  width: 100%;
  text-align: center;
}
.player-fs-lyric-line .player-lyric-translation {
  display: block;
  width: 100%;
  font-size: 0.72em;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.34);
  text-align: center;
}
.player-fs-lyric-line .player-lyric-translation[hidden] {
  display: none !important;
}
.player-fs-lyric-line.is-past {
  opacity: 0.45;
  color: rgba(255, 255, 255, 0.28);
}
.player-fs-lyric-line.is-current {
  /* 大于非当前歌词，且小于 .player-fs-title（min 1.55rem） */
  font-size: clamp(1.28rem, 3.2vw, 1.45rem);
  font-weight: 700;
  color: var(--accent-solid-hover);
  opacity: 1;
}
.player-fs-lyric-line.is-current .player-lyric-primary {
  color: var(--accent-solid-hover);
}
.player-fs-lyric-line.is-current .player-lyric-translation {
  color: rgba(var(--accent-rgb), 0.7);
  font-weight: 500;
}
.player-fs-lyric-line.is-future {
  opacity: 0.62;
  color: rgba(255, 255, 255, 0.4);
}
.player-fs-lyric-line.is-empty {
  min-height: 1.45em;
}
.player-fs-controls--bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.68rem;
}
.player-fs-play-btn--bar {
  flex: 0 0 auto;
}
/* 全屏控制键：与底栏同图标/圆钮比例，再整体放大 */
#player-fullscreen .player-fs-controls--under-cover {
  --fs-ctrl-scale: 1.28;
  gap: calc(0.45rem * var(--fs-ctrl-scale));
}
#player-fullscreen .player-fs-controls--under-cover .player-skip-btn,
#player-fullscreen .player-fs-controls--under-cover .player-lyric-trans-btn,
#player-fullscreen .player-fs-controls--under-cover .player-mode-cycle-btn,
#player-fullscreen .player-fs-controls--under-cover .player-fs-play-btn--bar {
  flex: 0 0 auto;
}
#player-fullscreen .player-fs-controls--under-cover .player-skip-btn,
#player-fullscreen .player-fs-controls--under-cover .player-lyric-trans-btn,
#player-fullscreen .player-fs-controls--under-cover .player-mode-cycle-btn {
  width: calc(2.5rem * var(--fs-ctrl-scale));
  height: calc(2.5rem * var(--fs-ctrl-scale));
  font-size: calc(1rem * var(--fs-ctrl-scale));
  border-radius: 50%;
}
#player-fullscreen .player-fs-controls--under-cover .player-fs-play-btn--bar {
  width: calc(3.25rem * var(--fs-ctrl-scale));
  height: calc(3.25rem * var(--fs-ctrl-scale));
  font-size: calc(1.1rem * var(--fs-ctrl-scale));
}
#player-fullscreen .player-fs-controls--under-cover .player-mode-cycle__one {
  font-size: calc(0.5rem * var(--fs-ctrl-scale));
  right: calc(3px * var(--fs-ctrl-scale));
  bottom: calc(3px * var(--fs-ctrl-scale));
}
.player-fullscreen__seek {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  width: 100%;
}
.player-fullscreen__panel:fullscreen .player-fs-lyric-line.is-current,
.player-fullscreen__panel:-webkit-full-screen .player-fs-lyric-line.is-current,
#player-fullscreen:fullscreen .player-fs-lyric-line.is-current,
#player-fullscreen:-webkit-full-screen .player-fs-lyric-line.is-current {
  font-size: clamp(1.28rem, 3vmin, 1.45rem);
}

/* 当前播放列表：位置由 JS 按控制键中心定位；z-index 低于底栏避免遮挡 */
.player-queue {
  --player-queue-max-h: 50vh;
  --player-queue-left: 0px;
  --player-queue-bottom: 5.5rem;
  --player-queue-width: min(22.5rem, calc(100vw - 1.5rem));
  position: fixed;
  z-index: 9990;
  left: var(--player-queue-left);
  right: auto;
  bottom: var(--player-queue-bottom);
  top: auto;
  width: var(--player-queue-width);
  max-width: calc(100vw - 1rem);
  display: block;
  margin: 0;
  padding: 0;
  pointer-events: none;
  box-sizing: border-box;
}
.player-queue[hidden] {
  display: none !important;
}
#player-fullscreen .player-queue {
  position: absolute;
  z-index: 30;
}
#player-fullscreen .player-queue.player-queue--over-lyrics .player-queue__panel {
  width: 100%;
  max-height: var(--player-queue-max-h);
  border-radius: 0.85rem;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(var(--accent-rgb), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.player-queue__panel {
  pointer-events: auto;
  box-sizing: border-box;
  width: 100%;
  max-height: var(--player-queue-max-h);
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(22, 22, 28, 0.92);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(var(--accent-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  color: rgba(255, 255, 255, 0.92);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease;
  overflow: hidden;
}
.player-queue.is-open .player-queue__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.player-queue__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  flex: 0 0 auto;
  padding: 0.7rem 0.75rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}
.player-queue__head-text {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  min-width: 0;
  overflow: hidden;
}
.player-queue__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-queue__count {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.48);
  white-space: nowrap;
}
.player-queue__close {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}
.player-queue__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.player-queue__list {
  list-style: none;
  margin: 0;
  padding: 0.28rem 0.3rem 0.4rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  flex: 1 1 auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.player-queue__list::-webkit-scrollbar {
  width: 5px;
}
.player-queue__list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.player-queue__list > li {
  min-width: 0;
  max-width: 100%;
}
.player-queue__item {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.45rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.42rem 0.45rem;
  border: none;
  border-radius: 0.55rem;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
}
.player-queue__item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.player-queue__item.is-current {
  background: rgba(var(--accent-rgb), 0.2);
  color: #fff;
}
.player-queue__item.is-current .player-queue__meta {
  color: rgba(255, 255, 255, 0.62);
}
.player-queue__item.is-flash {
  animation: player-queue-item-flash 1.15s ease;
}
@keyframes player-queue-item-flash {
  0%,
  100% {
    box-shadow: none;
  }
  20%,
  55% {
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.75);
    background: rgba(var(--accent-rgb), 0.34);
  }
}
.player-queue__idx {
  width: 1.6rem;
  font-size: 0.72rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
}
.player-queue__item.is-current .player-queue__idx {
  color: rgb(var(--accent-rgb));
}
.player-queue__main {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  overflow: hidden;
}
.player-queue__name,
.player-queue__meta {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-queue__name {
  font-size: 0.84rem;
  font-weight: 560;
  line-height: 1.25;
}
.player-queue__meta {
  font-size: 0.7rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.45);
}
.player-queue__now {
  display: none;
}
.player-queue__empty {
  margin: 0;
  padding: 1.35rem 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.84rem;
}

@media (prefers-color-scheme: light) {
  html:not(.force-dark) .player-queue__panel {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(30, 45, 72, 0.12);
    color: rgba(22, 28, 40, 0.92);
    box-shadow:
      0 16px 40px rgba(30, 45, 72, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  html:not(.force-dark) .player-queue__title {
    color: rgba(22, 28, 40, 0.92);
  }
  html:not(.force-dark) .player-queue__count,
  html:not(.force-dark) .player-queue__meta,
  html:not(.force-dark) .player-queue__idx,
  html:not(.force-dark) .player-queue__empty {
    color: rgba(40, 50, 68, 0.5);
  }
  html:not(.force-dark) .player-queue__head {
    border-bottom-color: rgba(30, 45, 72, 0.08);
  }
  html:not(.force-dark) .player-queue__close {
    background: rgba(30, 45, 72, 0.05);
    border-color: rgba(30, 45, 72, 0.1);
    color: rgba(40, 50, 68, 0.7);
  }
  html:not(.force-dark) .player-queue__item:hover {
    background: rgba(30, 45, 72, 0.05);
  }
  html:not(.force-dark) .player-queue__item.is-current {
    background: rgba(var(--accent-rgb), 0.14);
    color: rgba(22, 28, 40, 0.95);
  }
  html:not(.force-dark) .player-queue__item.is-current .player-queue__meta {
    color: rgba(40, 50, 68, 0.55);
  }
}

html.force-light .player-queue__panel {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(30, 45, 72, 0.12);
  color: rgba(22, 28, 40, 0.92);
  box-shadow:
    0 16px 40px rgba(30, 45, 72, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
html.force-light .player-queue__title {
  color: rgba(22, 28, 40, 0.92);
}
html.force-light .player-queue__count,
html.force-light .player-queue__meta,
html.force-light .player-queue__idx,
html.force-light .player-queue__empty {
  color: rgba(40, 50, 68, 0.5);
}
html.force-light .player-queue__head {
  border-bottom-color: rgba(30, 45, 72, 0.08);
}
html.force-light .player-queue__close {
  background: rgba(30, 45, 72, 0.05);
  border-color: rgba(30, 45, 72, 0.1);
  color: rgba(40, 50, 68, 0.7);
}
html.force-light .player-queue__item:hover {
  background: rgba(30, 45, 72, 0.05);
}
html.force-light .player-queue__item.is-current {
  background: rgba(var(--accent-rgb), 0.14);
  color: rgba(22, 28, 40, 0.95);
}
html.force-light .player-queue__item.is-current .player-queue__meta {
  color: rgba(40, 50, 68, 0.55);
}
/* 浅色：系统偏好浅色且未强制深色；手动浅色见文件末尾 html.force-light */
@media (prefers-color-scheme: light) {
  html:not(.force-dark) {
    color-scheme: light;
    --ink-primary: rgba(18, 24, 32, 0.94);
    --ink-secondary: rgba(32, 40, 52, 0.78);
    --ink-muted: rgba(45, 58, 75, 0.58);
    --ink-faint: rgba(45, 58, 75, 0.4);
    --surface-0: #e9edf5;
    --surface-1: rgba(255, 255, 255, 0.55);
    --surface-2: rgba(255, 255, 255, 0.72);
    --surface-elevated: rgba(255, 255, 255, 0.92);
    --border-subtle: rgba(40, 52, 68, 0.12);
    --border-strong: rgba(40, 52, 68, 0.22);
    --shadow-soft: 0 12px 36px rgba(30, 45, 72, 0.08);
    --shadow-elevated: 0 22px 56px rgba(30, 45, 72, 0.14);
    --music-search-input-color: var(--ink-primary);
    --music-search-placeholder-color: var(--ink-muted);
    --music-search-shell-bg: var(--surface-1);
    --music-search-shell-border: var(--border-subtle);
    --music-search-shell-blur: 12px;
    --music-search-shell-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    --music-search-action-color: var(--ink-secondary);
    --music-search-action-bg: rgba(45, 58, 75, 0.08);
    --music-search-action-hover-bg: rgba(var(--accent-rgb), 0.12);
    --music-search-action-hover-color: var(--ink-primary);
    --photo-pagination-btn-bg: var(--surface-1);
    --photo-pagination-btn-border: var(--border-subtle);
    --photo-pagination-btn-color: var(--ink-secondary);
    --photo-pagination-btn-hover-bg: var(--surface-2);
    --photo-pagination-btn-hover-color: var(--ink-primary);
    --photo-pagination-btn-hover-border: rgba(var(--accent-rgb), 0.36);
    --photo-pagination-btn-active-bg: rgba(var(--accent-rgb), 0.18);
    --photo-pagination-btn-active-border: rgba(var(--accent-rgb), 0.42);
    --photo-pagination-btn-active-color: var(--ink-primary);
  }

  html:not(.force-dark) body {
    background-color: var(--surface-0);
  }

  html:not(.force-dark) body,
  html:not(.force-dark) input,
  html:not(.force-dark) select,
  html:not(.force-dark) textarea {
    color: var(--ink-secondary);
  }

  html:not(.force-dark) a {
    border-bottom-color: var(--border-strong);
  }

  html:not(.force-dark) strong,
  html:not(.force-dark) b {
    color: var(--ink-primary);
  }

  html:not(.force-dark) h1,
  html:not(.force-dark) h2,
  html:not(.force-dark) h3,
  html:not(.force-dark) h4,
  html:not(.force-dark) h5,
  html:not(.force-dark) h6 {
    color: var(--ink-primary);
  }

  html:not(.force-dark) #header h1 {
    color: var(--ink-secondary);
  }

  html:not(.force-dark) #header .avatar {
    border-color: rgba(var(--accent-rgb), 0.42);
    background: transparent;
    background-image: none;
    box-shadow: none;
  }

  html:not(.force-dark) .copyright:before {
    border-top-color: rgba(40, 52, 68, 0.18);
  }

  html:not(.force-dark) .copyright a {
    color: var(--accent-solid);
  }

  html:not(.force-dark) .icon.style {
    border-color: rgba(45, 58, 75, 0.2);
    background-color: rgba(255, 255, 255, 0.72);
  }

  html:not(.force-dark):not(.glass-ios26)
    #header
    ul.icons.header-actions
    .header-action-btn.icon.style:not(.is-active) {
    color: rgba(18, 24, 34, 0.9);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  html:not(.force-dark):not(.glass-ios26)
    #header
    ul.icons.header-actions
    .header-action-btn.icon.style:focus-visible:not(.is-active) {
    color: rgba(18, 24, 34, 0.9);
  }

  html:not(.force-dark).glass-ios26
    #header
    ul.icons.header-actions
    .header-action-btn.icon.style:not(.is-active) {
    color: rgba(18, 24, 34, 0.9);
  }

  html:not(.force-dark).glass-ios26
    #header
    ul.icons.header-actions
    .header-action-btn.icon.style:focus-visible:not(.is-active) {
    color: rgba(18, 24, 34, 0.9);
  }

  html:not(.force-dark) .thumbnails a {
    border: 1px solid rgba(45, 58, 75, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
      0 8px 26px rgba(30, 45, 72, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: inherit;
  }

  html:not(.force-dark) .thumbnails.thumbnails--photo-wallpaper a,
  html:not(.force-dark) .thumbnails.thumbnails--photo-color a {
    border: none;
    background: transparent;
    box-shadow: none;
  }

  html:not(.force-dark) .thumbnails a h3 {
    color: rgba(28, 36, 48, 0.9);
  }

  html:not(.force-dark) .thumbnails a h6 {
    color: rgba(55, 64, 78, 0.72);
  }

  html:not(.force-dark) .thumbnails a > img + h3 {
    border-top: 1px solid rgba(45, 58, 75, 0.1);
  }

  html:not(.force-dark)
    .thumbnails
    a.wallpaper-card:focus-visible
    .thumbnail-caption,
  html:not(.force-dark)
    .thumbnails.thumbnails--square-cover
    a.music-album-card:focus-visible
    .thumbnail-caption {
    color: rgba(255, 255, 255, 0.98);
  }

  html:not(.force-dark)
    .thumbnails.thumbnails--photo-wallpaper
    a.wallpaper-card
    .thumbnail-caption,
  html:not(.force-dark)
    .thumbnails.thumbnails--photo-color
    a.wallpaper-card
    .thumbnail-caption,
  html:not(.force-dark)
    .thumbnails.thumbnails--photo-wallpaper
    a.wallpaper-card:focus-visible
    .thumbnail-caption,
  html:not(.force-dark)
    .thumbnails.thumbnails--photo-color
    a.wallpaper-card:focus-visible
    .thumbnail-caption {
    color: rgba(72, 76, 88, 0.9);
    background: transparent;
    border-top: none;
  }

  html:not(.force-dark)
    .thumbnails.thumbnails--photo-wallpaper
    a
    > .thumbnail-media
    + h3,
  html:not(.force-dark)
    .thumbnails.thumbnails--photo-color
    a
    > .thumbnail-media
    + h3 {
    border-top: none;
  }

  html:not(.force-dark) .category-header {
    background-color: rgba(255, 255, 255, 0.85);
    color: #151c26;
  }

  html:not(.force-dark) #music-player {
    background: rgba(255, 255, 255, 0.78);
    color: #151c26;
    border-color: rgba(var(--accent-rgb), 0.32);
  }

  html:not(.force-dark) .player-playlist {
    border-top-color: rgba(45, 58, 75, 0.12);
  }

  html:not(.force-dark) .player-playlist li.playing {
    background: rgba(var(--accent-rgb), 0.18);
    color: #151c26;
  }

  html:not(.force-dark) .song-list-item {
    background: transparent;
    border-color: transparent;
  }

  html:not(.force-dark) .song-list-item .song-index,
  html:not(.force-dark) .song-list-item .song-artist,
  html:not(.force-dark) .song-list-item .song-duration {
    color: rgba(60, 70, 85, 0.72);
  }

  html:not(.force-dark) .song-list-item .song-title {
    color: #151c26;
  }

  html:not(.force-dark) .song-list--table .song-list-item .song-title {
    color: var(--song-ink-title);
  }

  html:not(.force-dark) .song-list--table .song-list-item .song-artist {
    color: var(--song-ink-body);
  }

  html:not(.force-dark) .song-list--table .song-list-item .song-index,
  html:not(.force-dark) .song-list--table .song-list-item .song-duration {
    color: var(--song-ink-muted);
  }

  html:not(.force-dark) .song-list-item.is-current,
  html:not(.force-dark) .music-album-list-item.is-current {
    background: linear-gradient(
      90deg,
      rgba(var(--accent-rgb), 0.22) 0%,
      rgba(245, 247, 252, 0.98) 55%
    );
  }

  html:not(.force-dark) .music-back-btn,
  html:not(.force-dark) .music-view-toolbar {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(45, 58, 75, 0.12);
  }

  html:not(.force-dark) .music-songs-bar {
    border-color: rgba(45, 58, 75, 0.12);
    background: rgba(255, 255, 255, 0.78);
    box-shadow:
      0 8px 24px rgba(30, 45, 72, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  html:not(.force-dark) .music-songs-bar__stat-search {
    background: rgba(var(--accent-rgb), 0.06);
  }

  html:not(.force-dark)
    .music-songs-bar__stat-search:not(.is-search-open):focus-visible {
    background: rgba(var(--accent-rgb), 0.11);
    border-color: rgba(var(--accent-rgb), 0.38);
  }

  html:not(.force-dark) .music-songs-bar__stat-search.is-search-open {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: rgba(var(--accent-rgb), 0.38);
  }

  html:not(.force-dark) .music-songs-bar__count {
    color: rgba(60, 70, 85, 0.72);
  }

  html:not(.force-dark) .music-songs-bar__count-n,
  html:not(.force-dark) .music-songs-bar__hint {
    color: rgb(var(--accent-rgb));
  }

  html:not(.force-dark) .music-songs-bar__search-input {
    color: #151c26;
  }

  html:not(.force-dark) .music-songs-bar__search-input::placeholder {
    color: rgba(60, 70, 85, 0.45);
  }

  html:not(.force-dark) .music-songs-bar__search-clear,
  html:not(.force-dark) .music-songs-bar__search-close {
    background: rgba(45, 58, 75, 0.1);
    color: rgba(60, 70, 85, 0.65);
  }

  html:not(.force-dark) .music-songs-bar__search-clear:focus-visible,
  html:not(.force-dark) .music-songs-bar__search-close:focus-visible {
    background: rgba(var(--accent-rgb), 0.16);
    color: rgb(var(--accent-rgb));
  }

  html:not(.force-dark) .music-back-btn.music-back-btn--icon {
    background: rgba(var(--accent-rgb), 0.82);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.32);
  }

  html:not(.force-dark) .music-back-btn.music-back-btn--icon:focus-visible {
    background: rgb(var(--accent-rgb));
    color: #fff;
    box-shadow: 0 5px 18px rgba(var(--accent-rgb), 0.45);
  }

  html:not(.force-dark) .music-songs-empty {
    background: rgba(var(--accent-rgb), 0.06);
    color: rgba(60, 70, 85, 0.65);
  }

  html:not(.force-dark) .page-items-empty {
    background: rgba(var(--accent-rgb), 0.06);
    color: rgba(60, 70, 85, 0.65);
  }

  html:not(.force-dark) .page-wip {
    background: rgba(var(--accent-rgb), 0.06);
    color: rgba(60, 70, 85, 0.65);
  }

  html:not(.force-dark) {
    --lyric-translation-color: rgba(55, 65, 82, 0.78);
    --lyric-translation-color-muted: rgba(55, 65, 82, 0.58);
  }

  html:not(.force-dark) .music-album-list-item + .music-album-list-item::before,
  html:not(.force-dark) .song-list-item + .song-list-item::before {
    background: rgba(45, 58, 75, 0.12);
  }

  html:not(.force-dark) .music-page-title,
  html:not(.force-dark) .music-album-list-item__title,
  html:not(.force-dark) .song-grid-item__title {
    color: #151c26;
  }

  html:not(.force-dark) .music-album-list-item__count,
  html:not(.force-dark) .song-grid-item__artist,
  html:not(.force-dark) .song-grid-item__duration,
  html:not(.force-dark) .song-list-item .song-artist,
  html:not(.force-dark) .song-list-item .song-duration {
    color: rgba(60, 70, 85, 0.72);
  }

  html:not(.force-dark) .song-list-item .song-title {
    color: #151c26;
  }

  html:not(.force-dark) .page-type-tab {
    --page-type-tab-muted: rgba(55, 64, 78, 0.58);
    --page-type-tab-hover: rgba(28, 36, 48, 0.85);
    --page-type-tab-active: #121820;
    --page-type-tab-focus: rgba(28, 36, 48, 0.9);
  }

  html:not(.force-dark) .music-view-btn {
    color: rgba(60, 70, 85, 0.72);
  }

  html:not(.force-dark) .music-view-btn.is-active {
    color: #151c26;
  }

  html:not(.force-dark) .song-grid-item.is-current,
  html:not(.force-dark) .song-list-item.is-current,
  html:not(.force-dark) .music-album-list-item.is-current {
    background: rgba(var(--accent-rgb), 0.12);
  }

  html:not(.force-dark)
    .thumbnails.thumbnails--square-cover
    a.music-album-card.is-current {
    border-color: rgba(var(--accent-rgb), 0.52);
    box-shadow:
      0 8px 26px rgba(30, 45, 72, 0.1),
      0 0 0 2px rgba(var(--accent-rgb), 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  html:not(.force-dark) .music-player-dock {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(236, 241, 249, 0.99) 100%
    );
    border-top-color: rgba(var(--accent-rgb), 0.5);
    box-shadow:
      0 -8px 28px rgba(30, 45, 72, 0.1),
      0 0 0 1px rgba(var(--accent-rgb), 0.18);
  }

  html:not(.force-dark) .music-player-dock__art {
    background: linear-gradient(145deg, #f0f3fa 0%, #e2e8f4 100%);
  }

  html:not(.force-dark) .player-current-lyric {
    text-shadow: none;
  }


  html:not(.force-dark) .player-dock-hover-title {
    color: #151c26;
    text-shadow: none;
  }

  html:not(.force-dark) .music-player-dock__seek-time {
    color: rgba(60, 70, 85, 0.9);
  }

  html:not(.force-dark) .player-time {
    color: rgba(60, 70, 85, 0.72);
  }

  html:not(.force-dark) .player-skip-btn {
    background: rgba(45, 58, 75, 0.08);
    color: #2a3444;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }

  html:not(.force-dark) .player-lyric-trans-btn {
    background: rgba(45, 58, 75, 0.08);
    color: #2a3444;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    border: none;
  }

  html:not(.force-dark) .player-lyric-trans-btn:disabled {
    border: none;
    color: #2a3444 !important;
    -webkit-text-fill-color: #2a3444;
    background: rgba(45, 58, 75, 0.08) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
  }

  html:not(.force-dark) .player-mode-cycle-btn {
    background: rgba(45, 58, 75, 0.08);
    color: #2a3444;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    border: none;
  }

  html:not(.force-dark) .player-mode-cycle__one {
    color: rgba(35, 42, 55, 0.92);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.85);
  }

  /* 全屏：遮罩与面板 */
  html:not(.force-dark) .player-fullscreen__scrim {
    background: rgba(248, 250, 253, 0.78);
  }

  html:not(.force-dark) .player-fullscreen__panel {
    background: linear-gradient(165deg, #f4f6fc 0%, #eceff8 100%);
    border-color: rgba(var(--accent-rgb), 0.38);
    color: rgba(28, 36, 48, 0.92);
    box-shadow:
      0 24px 72px rgba(30, 45, 72, 0.14),
      0 0 0 1px rgba(255, 255, 255, 0.65);
  }

  html:not(.force-dark) #player-fullscreen.is-open.player-fullscreen--window .player-fullscreen__panel,
  html:not(.force-dark) #player-fullscreen.is-open.player-fullscreen--system .player-fullscreen__panel {
    background: transparent;
    border: none;
    box-shadow: none;
    color: rgba(28, 36, 48, 0.92);
  }

  html:not(.force-dark):not(.glass-ios26)
    #player-fullscreen:fullscreen
    .player-fullscreen__panel,
  html:not(.force-dark):not(.glass-ios26)
    #player-fullscreen:-webkit-full-screen
    .player-fullscreen__panel {
    background: transparent;
    color: rgba(28, 36, 48, 0.92);
  }

  html:not(.force-dark) .player-fullscreen__seek--below-main {
    background: transparent;
    border-top: none;
  }

  html:not(.force-dark) .player-fullscreen__panel .player-time {
    color: rgba(55, 64, 78, 0.72);
  }

  html:not(.force-dark) .player-fs-title {
    color: rgba(18, 24, 34, 0.95);
  }

  html:not(.force-dark) .player-fs-artist {
    color: rgba(55, 64, 78, 0.68);
  }

  html:not(.force-dark) .player-fs-lyric-line {
    color: rgba(55, 64, 78, 0.45);
  }

  html:not(.force-dark) .player-fs-lyric-line.is-past {
    color: rgba(55, 64, 78, 0.35);
  }

  html:not(.force-dark) .player-fs-lyric-line.is-future {
    color: rgba(55, 64, 78, 0.48);
  }

  html:not(.force-dark) .player-fs-lyric-line.is-current {
    color: var(--accent-solid);
  }

  html:not(.force-dark) .player-fs-lyric-line.is-current .player-lyric-primary {
    color: var(--accent-solid);
  }

  html:not(.force-dark) .player-fs-lyric-line .player-lyric-translation {
    color: rgba(55, 64, 78, 0.42);
  }

  html:not(.force-dark) .player-fs-lyric-line.is-current .player-lyric-translation {
    color: rgba(var(--accent-rgb), 0.68);
  }

  html:not(.force-dark) .player-fs-cover {
    background: rgba(45, 58, 75, 0.06);
    box-shadow:
      0 14px 40px rgba(30, 45, 72, 0.12),
      0 0 0 1px rgba(45, 58, 75, 0.1);
  }

  html:not(.force-dark) .player-progress::-webkit-slider-runnable-track {
    background: linear-gradient(
      to right,
      var(--accent-blue) 0%,
      var(--accent-purple) calc(var(--seek-fill, 0%) / 2),
      var(--accent-red) var(--seek-fill, 0%),
      rgba(220, 226, 238, 0.95) var(--seek-fill, 0%),
      rgba(180, 190, 210, 0.45) 100%
    );
  }

  html:not(.force-dark) .player-progress::-moz-range-track {
    background: rgba(210, 218, 232, 0.95);
  }

  html:not(.force-dark) #player-progress-fs::-webkit-slider-runnable-track {
    background: linear-gradient(
      to right,
      var(--accent-blue) 0%,
      var(--accent-purple) calc(var(--seek-fill, 0%) / 2),
      var(--accent-red) var(--seek-fill, 0%),
      rgba(215, 222, 236, 0.98) var(--seek-fill, 0%),
      rgba(175, 188, 210, 0.5) 100%
    );
  }

  html:not(.force-dark) #player-progress-fs::-moz-range-track {
    background: rgba(205, 214, 230, 0.95);
  }

  /* 浅色 + 全屏：仅进度区去底/顶边；滑轨与 mini 共用上方 #player-progress-fs 渐变 */
  html:not(.force-dark)
    #player-fullscreen
    .player-fullscreen__seek--below-main {
    background: transparent;
    border-top: none;
  }

  html:not(.force-dark) #header-sticky {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(236, 241, 249, 0.99) 100%
    );
    border-bottom-color: rgba(var(--accent-rgb), 0.32);
    box-shadow: none;
  }

  html:not(.force-dark)
    body.header-pinned-scrolled:not(.player-fs-open)
    #header-sticky {
    box-shadow: 0 6px 22px rgba(30, 45, 72, 0.12);
  }

  html:not(.force-dark) #header-sticky ul.icons .icon > .label {
    color: rgba(28, 36, 48, 0.88);
  }

  html:not(.force-dark) #header-sticky ul.icons a.is-active > .label {
    font-weight: 650;
    line-height: 1;
    color: rgb(var(--accent-rgb));
    opacity: 1;
  }

  html:not(.force-dark) #header-sticky .header-sticky-settings {
    border: 1px solid transparent;
    background: transparent;
    color: rgba(28, 36, 48, 0.88);
    box-shadow: none;
  }

  html:not(.force-dark) .header-settings__panel,
  html:not(.force-dark) .header-nav-menu__panel,
  html:not(.force-dark) .home-link-editor__panel,
  html:not(.force-dark) .global-header-search__shell,
  html:not(.force-dark) .global-header-search__panel,
  html:not(.force-dark) .header-sticky-search__panel {
    border-color: var(--border-subtle);
    background: var(--surface-elevated);
    box-shadow: var(--shadow-elevated);
  }

  html:not(.force-dark) .global-header-search__shell:focus-within,
  html:not(.force-dark) .global-header-search__panel:focus-within,
  html:not(.force-dark) .header-sticky-search__panel:focus-within {
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow:
      0 0 0 1px rgba(var(--accent-rgb), 0.12),
      var(--shadow-elevated);
  }

  html:not(.force-dark) .global-header-search__field {
    border-bottom-color: var(--border-subtle);
  }

  html:not(.force-dark) .global-header-search__field-icon {
    color: var(--ink-faint);
  }

  html:not(.force-dark) .global-header-search__footer {
    color: var(--ink-faint);
  }

  html:not(.force-dark) .global-header-search__results {
    border-top-color: var(--border-subtle);
  }

  html:not(.force-dark) .global-header-search__hit:hover,
  html:not(.force-dark) .global-header-search__hit.is-active {
    background: rgba(var(--accent-rgb), 0.1);
  }

  html:not(.force-dark) .global-header-search__hit-icon {
    background: rgba(45, 58, 75, 0.08);
  }

  html:not(.force-dark) .global-header-search__hit-title {
    color: var(--ink-primary);
  }

  html:not(.force-dark) .global-header-search__hit-meta,
  html:not(.force-dark) .global-header-search__empty {
    color: var(--ink-muted);
  }

  html:not(.force-dark) .global-header-search__scope {
    color: var(--ink-muted);
  }

  html:not(.force-dark) .global-header-search__kbd,
  html:not(.force-dark) .global-header-search__esc-hint kbd {
    border-color: var(--border-subtle);
    background: var(--surface-1);
    color: var(--ink-muted);
  }

  html:not(.force-dark) .header-sticky-search__input {
    color: var(--ink-primary);
  }

  html:not(.force-dark) .header-sticky-search__input::placeholder {
    color: var(--ink-muted);
  }

  html:not(.force-dark) .header-sticky-search__clear {
    background: var(--surface-1);
    color: var(--ink-muted);
  }

  html:not(.force-dark) #header-sticky .header-sticky-search-toggle {
    color: rgba(28, 36, 48, 0.88);
  }

  html:not(.force-dark) #header-sticky .header-sticky-settings__icon,
  html:not(.force-dark) #header-sticky .header-sticky-settings__label {
    color: rgba(28, 36, 48, 0.88);
  }

  html:not(.force-dark) .wallpaper-viewer__scrim {
    background: rgba(248, 250, 253, 0.82);
  }

  html:not(.force-dark) .wallpaper-viewer__panel {
    background: linear-gradient(165deg, #f4f6fc 0%, #eceff8 100%);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow:
      0 24px 72px rgba(30, 45, 72, 0.14),
      0 0 0 1px rgba(255, 255, 255, 0.65);
    color: rgba(28, 36, 48, 0.92);
  }

  html:not(.force-dark) .wallpaper-viewer__toolbar {
    border-bottom-color: rgba(45, 58, 75, 0.12);
  }

  html:not(.force-dark) .wallpaper-viewer__title {
    color: rgba(18, 24, 34, 0.95);
  }

  html:not(.force-dark) .wallpaper-viewer__stage {
    background: transparent;
  }

  html:not(.force-dark) .wallpaper-viewer__close,
  html:not(.force-dark) .wallpaper-viewer__nav {
    border-color: rgba(45, 58, 75, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: rgba(28, 36, 48, 0.9);
  }
}
/* 系统为深色时，用户手动选择浅色（不受上面 media 限制） */
html.force-light {
  color-scheme: light;
  --ink-primary: rgba(18, 24, 32, 0.94);
  --ink-secondary: rgba(32, 40, 52, 0.78);
  --ink-muted: rgba(45, 58, 75, 0.58);
  --ink-faint: rgba(45, 58, 75, 0.4);
  --surface-0: #e9edf5;
  --surface-1: rgba(255, 255, 255, 0.55);
  --surface-2: rgba(255, 255, 255, 0.72);
  --surface-elevated: rgba(255, 255, 255, 0.92);
  --border-subtle: rgba(40, 52, 68, 0.12);
  --border-strong: rgba(40, 52, 68, 0.22);
  --shadow-soft: 0 12px 36px rgba(30, 45, 72, 0.08);
  --shadow-elevated: 0 22px 56px rgba(30, 45, 72, 0.14);
  --music-search-input-color: var(--ink-primary);
  --music-search-placeholder-color: var(--ink-muted);
  --music-search-shell-bg: var(--surface-1);
  --music-search-shell-border: var(--border-subtle);
  --music-search-shell-blur: 12px;
  --music-search-shell-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --music-search-action-color: var(--ink-secondary);
  --music-search-action-bg: rgba(45, 58, 75, 0.08);
  --music-search-action-hover-bg: rgba(var(--accent-rgb), 0.12);
  --music-search-action-hover-color: var(--ink-primary);
  --photo-pagination-btn-bg: var(--surface-1);
  --photo-pagination-btn-border: var(--border-subtle);
  --photo-pagination-btn-color: var(--ink-secondary);
  --photo-pagination-btn-hover-bg: var(--surface-2);
  --photo-pagination-btn-hover-color: var(--ink-primary);
  --photo-pagination-btn-hover-border: rgba(var(--accent-rgb), 0.36);
  --photo-pagination-btn-active-bg: rgba(var(--accent-rgb), 0.18);
  --photo-pagination-btn-active-border: rgba(var(--accent-rgb), 0.42);
  --photo-pagination-btn-active-color: var(--ink-primary);
}

html.force-light body {
  background-color: var(--surface-0);
}

html.force-light body,
html.force-light input,
html.force-light select,
html.force-light textarea {
  color: var(--ink-secondary);
}

html.force-light a {
  border-bottom-color: var(--border-strong);
}

html.force-light strong,
html.force-light b {
  color: var(--ink-primary);
}

html.force-light h1,
html.force-light h2,
html.force-light h3,
html.force-light h4,
html.force-light h5,
html.force-light h6 {
  color: var(--ink-primary);
}

html.force-light #header h1 {
  color: var(--ink-secondary);
}

html.force-light #header .avatar {
  border-color: rgba(var(--accent-rgb), 0.42);
  background: transparent;
  background-image: none;
  box-shadow: none;
}

html.force-light .copyright:before {
  border-top-color: rgba(40, 52, 68, 0.18);
}

html.force-light .copyright a {
  color: var(--accent-solid);
}

html.force-light .icon.style {
  border-color: rgba(45, 58, 75, 0.2);
  background-color: rgba(255, 255, 255, 0.72);
}

html.force-light:not(.glass-ios26)
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:not(.is-active) {
  color: rgba(18, 24, 34, 0.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.force-light:not(.glass-ios26)
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:focus-visible:not(.is-active) {
  color: rgba(18, 24, 34, 0.9);
}

html.force-light.glass-ios26
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:not(.is-active) {
  color: rgba(18, 24, 34, 0.9);
}

html.force-light.glass-ios26
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:focus-visible:not(.is-active) {
  color: rgba(18, 24, 34, 0.9);
}

html.force-light .thumbnails a {
  border: 1px solid rgba(45, 58, 75, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 8px 26px rgba(30, 45, 72, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: inherit;
}

html.force-light .thumbnails.thumbnails--photo-wallpaper a,
html.force-light .thumbnails.thumbnails--photo-color a {
  border: none;
  background: transparent;
  box-shadow: none;
}

html.force-light .thumbnails a h3 {
  color: rgba(28, 36, 48, 0.9);
}

html.force-light .thumbnails a h6 {
  color: rgba(55, 64, 78, 0.72);
}

html.force-light .thumbnails a > img + h3 {
  border-top: 1px solid rgba(45, 58, 75, 0.1);
}

html.force-light .thumbnails a.wallpaper-card:focus-visible .thumbnail-caption,
html.force-light
  .thumbnails.thumbnails--square-cover
  a.music-album-card:focus-visible
  .thumbnail-caption {
  color: rgba(255, 255, 255, 0.98);
}

html.force-light
  .thumbnails.thumbnails--photo-wallpaper
  a.wallpaper-card
  .thumbnail-caption,
html.force-light
  .thumbnails.thumbnails--photo-color
  a.wallpaper-card
  .thumbnail-caption,
html.force-light
  .thumbnails.thumbnails--photo-wallpaper
  a.wallpaper-card:focus-visible
  .thumbnail-caption,
html.force-light
  .thumbnails.thumbnails--photo-color
  a.wallpaper-card:focus-visible
  .thumbnail-caption {
  color: rgba(72, 76, 88, 0.9);
  background: transparent;
  border-top: none;
}

html.force-light
  .thumbnails.thumbnails--photo-wallpaper
  a
  > .thumbnail-media
  + h3,
html.force-light
  .thumbnails.thumbnails--photo-color
  a
  > .thumbnail-media
  + h3 {
  border-top: none;
}

html.force-light .category-header {
  background-color: rgba(255, 255, 255, 0.85);
  color: #151c26;
}

html.force-light #music-player {
  background: rgba(255, 255, 255, 0.78);
  color: #151c26;
  border-color: rgba(var(--accent-rgb), 0.32);
}

html.force-light .player-playlist {
  border-top-color: rgba(45, 58, 75, 0.12);
}

html.force-light .player-playlist li.playing {
  background: rgba(var(--accent-rgb), 0.18);
  color: #151c26;
}

html.force-light .song-list-item {
  background: transparent;
  border-color: transparent;
}

html.force-light .song-list-item .song-index,
html.force-light .song-list-item .song-artist,
html.force-light .song-list-item .song-duration {
  color: rgba(60, 70, 85, 0.72);
}

html.force-light .song-list-item .song-title {
  color: #151c26;
}

html.force-light .song-list--table .song-list-item .song-title {
  color: var(--song-ink-title);
}

html.force-light .song-list--table .song-list-item .song-artist {
  color: var(--song-ink-body);
}

html.force-light .song-list--table .song-list-item .song-index,
html.force-light .song-list--table .song-list-item .song-duration {
  color: var(--song-ink-muted);
}

html.force-light .song-list-item.is-current,
html.force-light .music-album-list-item.is-current {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.22) 0%,
    rgba(245, 247, 252, 0.98) 55%
  );
}

html.force-light .music-back-btn,
html.force-light .music-view-toolbar {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(45, 58, 75, 0.12);
}

html.force-light .music-songs-bar {
  border-color: rgba(45, 58, 75, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 8px 24px rgba(30, 45, 72, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html.force-light .music-songs-bar__stat-search {
  background: rgba(var(--accent-rgb), 0.06);
}

html.force-light
  .music-songs-bar__stat-search:not(.is-search-open):focus-visible {
  background: rgba(var(--accent-rgb), 0.11);
  border-color: rgba(var(--accent-rgb), 0.38);
}

html.force-light .music-songs-bar__stat-search.is-search-open {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.38);
}

html.force-light .music-songs-bar__count {
  color: rgba(60, 70, 85, 0.72);
}

html.force-light .music-songs-bar__count-n,
html.force-light .music-songs-bar__hint {
  color: rgb(var(--accent-rgb));
}

html.force-light .music-songs-bar__search-input {
  color: #151c26;
}

html.force-light .music-songs-bar__search-input::placeholder {
  color: rgba(60, 70, 85, 0.45);
}

html.force-light .music-songs-bar__search-clear,
html.force-light .music-songs-bar__search-close {
  background: rgba(45, 58, 75, 0.1);
  color: rgba(60, 70, 85, 0.65);
}

html.force-light .music-songs-bar__search-clear:focus-visible,
html.force-light .music-songs-bar__search-close:focus-visible {
  background: rgba(var(--accent-rgb), 0.16);
  color: rgb(var(--accent-rgb));
}

html.force-light .music-back-btn.music-back-btn--icon {
  background: rgba(var(--accent-rgb), 0.82);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.32);
}

html.force-light .music-back-btn.music-back-btn--icon:focus-visible {
  background: rgb(var(--accent-rgb));
  color: #fff;
  box-shadow: 0 5px 18px rgba(var(--accent-rgb), 0.45);
}

html.force-light .music-songs-empty {
  background: rgba(var(--accent-rgb), 0.06);
  color: rgba(60, 70, 85, 0.65);
}

html.force-light .page-items-empty {
  background: rgba(var(--accent-rgb), 0.06);
  color: rgba(60, 70, 85, 0.65);
}

html.force-light .page-wip {
  background: rgba(var(--accent-rgb), 0.06);
  color: rgba(60, 70, 85, 0.65);
}

html.force-light {
  --lyric-translation-color: rgba(55, 65, 82, 0.78);
  --lyric-translation-color-muted: rgba(55, 65, 82, 0.58);
}

html.force-light .music-album-list-item + .music-album-list-item::before,
html.force-light .song-list-item + .song-list-item::before {
  background: rgba(45, 58, 75, 0.12);
}

html.force-light .music-page-title,
html.force-light .music-album-list-item__title,
html.force-light .song-grid-item__title {
  color: #151c26;
}

html.force-light .music-album-list-item__count,
html.force-light .song-grid-item__artist,
html.force-light .song-grid-item__duration {
  color: rgba(60, 70, 85, 0.72);
}

html.force-light .page-type-tab {
  --page-type-tab-muted: rgba(55, 64, 78, 0.58);
  --page-type-tab-hover: rgba(28, 36, 48, 0.85);
  --page-type-tab-active: #121820;
  --page-type-tab-focus: rgba(28, 36, 48, 0.9);
}

html.force-light .music-view-btn {
  color: rgba(60, 70, 85, 0.72);
}

html.force-light .music-view-btn.is-active {
  color: #151c26;
}

html.force-light .song-grid-item.is-current,
html.force-light .song-list-item.is-current,
html.force-light .music-album-list-item.is-current {
  background: rgba(var(--accent-rgb), 0.12);
}

html.force-light
  .thumbnails.thumbnails--square-cover
  a.music-album-card.is-current {
  border-color: rgba(var(--accent-rgb), 0.52);
  box-shadow:
    0 8px 26px rgba(30, 45, 72, 0.1),
    0 0 0 2px rgba(var(--accent-rgb), 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.force-light .music-player-dock {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(236, 241, 249, 0.99) 100%
  );
  border-top-color: rgba(var(--accent-rgb), 0.5);
  box-shadow:
    0 -8px 28px rgba(30, 45, 72, 0.1),
    0 0 0 1px rgba(var(--accent-rgb), 0.18);
}

html.force-light .music-player-dock__art {
  background: linear-gradient(145deg, #f0f3fa 0%, #e2e8f4 100%);
}

html.force-light .player-current-lyric {
  text-shadow: none;
}

html.force-light .player-dock-hover-title {
  color: #151c26;
  text-shadow: none;
}

html.force-light .music-player-dock__seek-time {
  color: rgba(60, 70, 85, 0.9);
}

html.force-light .player-time {
  color: rgba(60, 70, 85, 0.72);
}

html.force-light .player-skip-btn {
  background: rgba(45, 58, 75, 0.08);
  color: #2a3444;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html.force-light .player-lyric-trans-btn {
  background: rgba(45, 58, 75, 0.08);
  color: #2a3444;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  border: none;
}

html.force-light .player-lyric-trans-btn:disabled {
  border: none;
  color: #2a3444 !important;
  -webkit-text-fill-color: #2a3444;
  background: rgba(45, 58, 75, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

html.force-light .player-mode-cycle-btn {
  background: rgba(45, 58, 75, 0.08);
  color: #2a3444;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  border: none;
}

html.force-light .player-mode-cycle__one {
  color: rgba(35, 42, 55, 0.92);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.85);
}

html.force-light .player-fullscreen__scrim {
  background: rgba(248, 250, 253, 0.78);
}

html.force-light .player-fullscreen__panel {
  background: linear-gradient(165deg, #f4f6fc 0%, #eceff8 100%);
  border-color: rgba(var(--accent-rgb), 0.38);
  color: rgba(28, 36, 48, 0.92);
  box-shadow:
    0 24px 72px rgba(30, 45, 72, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.65);
}

html.force-light #player-fullscreen.is-open.player-fullscreen--window .player-fullscreen__panel,
html.force-light #player-fullscreen.is-open.player-fullscreen--system .player-fullscreen__panel {
  background: transparent;
  border: none;
  box-shadow: none;
  color: rgba(28, 36, 48, 0.92);
}

html.force-light:not(.glass-ios26) .player-fullscreen__panel:fullscreen,
html.force-light:not(.glass-ios26)
  .player-fullscreen__panel:-webkit-full-screen,
html.force-light:not(.glass-ios26)
  #player-fullscreen:fullscreen
  .player-fullscreen__panel,
html.force-light:not(.glass-ios26)
  #player-fullscreen:-webkit-full-screen
  .player-fullscreen__panel {
  background: linear-gradient(165deg, #f2f5fb 0%, #e8ecf6 100%);
  color: rgba(28, 36, 48, 0.92);
}

html.force-light .player-fullscreen__seek--below-main {
  background: transparent;
  border-top: none;
}

html.force-light .player-fullscreen__panel .player-time {
  color: rgba(55, 64, 78, 0.72);
}

html.force-light .player-fs-title {
  color: rgba(18, 24, 34, 0.95);
}

html.force-light .player-fs-artist {
  color: rgba(55, 64, 78, 0.68);
}

html.force-light .player-fs-lyric-line {
  color: rgba(55, 64, 78, 0.45);
}

html.force-light .player-fs-lyric-line.is-past {
  color: rgba(55, 64, 78, 0.35);
}

html.force-light .player-fs-lyric-line.is-future {
  color: rgba(55, 64, 78, 0.48);
}

html.force-light .player-fs-lyric-line.is-current {
  color: var(--accent-solid);
}

html.force-light .player-fs-lyric-line.is-current .player-lyric-primary {
  color: var(--accent-solid);
}

html.force-light .player-fs-lyric-line .player-lyric-translation {
  color: rgba(55, 64, 78, 0.42);
}

html.force-light .player-fs-lyric-line.is-current .player-lyric-translation {
  color: rgba(var(--accent-rgb), 0.68);
}

html.force-light .player-fs-cover {
  background: rgba(45, 58, 75, 0.06);
  box-shadow:
    0 14px 40px rgba(30, 45, 72, 0.12),
    0 0 0 1px rgba(45, 58, 75, 0.1);
}

html.force-light .player-progress::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    var(--accent-blue) 0%,
    var(--accent-purple) calc(var(--seek-fill, 0%) / 2),
    var(--accent-red) var(--seek-fill, 0%),
    rgba(220, 226, 238, 0.95) var(--seek-fill, 0%),
    rgba(180, 190, 210, 0.45) 100%
  );
}

html.force-light .player-progress::-moz-range-track {
  background: rgba(210, 218, 232, 0.95);
}

html.force-light #player-progress-fs::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    var(--accent-blue) 0%,
    var(--accent-purple) calc(var(--seek-fill, 0%) / 2),
    var(--accent-red) var(--seek-fill, 0%),
    rgba(215, 222, 236, 0.98) var(--seek-fill, 0%),
    rgba(175, 188, 210, 0.5) 100%
  );
}

html.force-light #player-progress-fs::-moz-range-track {
  background: rgba(205, 214, 230, 0.95);
}

html.force-light #player-fullscreen .player-fullscreen__seek--below-main {
  background: transparent;
  border-top: none;
}

html.force-light #header-sticky {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(236, 241, 249, 0.99) 100%
  );
  border-bottom-color: rgba(var(--accent-rgb), 0.32);
  box-shadow: none;
}

html.force-light
  body.header-pinned-scrolled:not(.player-fs-open)
  #header-sticky {
  box-shadow: 0 6px 22px rgba(30, 45, 72, 0.12);
}

html.force-light #header-sticky ul.icons .icon > .label {
  color: rgba(28, 36, 48, 0.88);
}

html.force-light #header-sticky ul.icons a.is-active > .label {
  font-weight: 650;
  line-height: 1;
  color: rgb(var(--accent-rgb));
  opacity: 1;
}

html.force-light #header-sticky .header-sticky-settings {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(28, 36, 48, 0.88);
  box-shadow: none;
}

html.force-light .header-settings__panel,
html.force-light .header-nav-menu__panel,
html.force-light .home-link-editor__panel,
html.force-light .global-header-search__shell,
html.force-light .global-header-search__panel,
html.force-light .header-sticky-search__panel {
  border-color: var(--border-subtle);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-elevated);
}

html.force-light .global-header-search__shell:focus-within,
html.force-light .global-header-search__panel:focus-within,
html.force-light .header-sticky-search__panel:focus-within {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.12),
    var(--shadow-elevated);
}

html.force-light .global-header-search__field {
  border-bottom-color: var(--border-subtle);
}

html.force-light .global-header-search__field-icon {
  color: var(--ink-faint);
}

html.force-light .global-header-search__footer {
  color: var(--ink-faint);
}

html.force-light .global-header-search__results {
  border-top-color: var(--border-subtle);
}

html.force-light .global-header-search__hit:hover,
html.force-light .global-header-search__hit.is-active {
  background: rgba(var(--accent-rgb), 0.1);
}

html.force-light .global-header-search__hit-icon {
  background: var(--surface-1);
}

html.force-light .global-header-search__hit-title {
  color: var(--ink-primary);
}

html.force-light .global-header-search__hit-meta,
html.force-light .global-header-search__empty {
  color: var(--ink-muted);
}

html.force-light .global-header-search__scope {
  color: var(--ink-muted);
}

html.force-light .global-header-search__kbd,
html.force-light .global-header-search__esc-hint kbd {
  border-color: var(--border-subtle);
  background: var(--surface-1);
  color: var(--ink-muted);
}

html.force-light .header-sticky-search__input {
  color: var(--ink-primary);
}

html.force-light .header-sticky-search__input::placeholder {
  color: var(--ink-muted);
}

html.force-light .header-sticky-search__clear {
  background: var(--surface-1);
  color: var(--ink-muted);
}

html.force-light #header-sticky .header-sticky-search-toggle {
  color: rgba(28, 36, 48, 0.88);
}

html.force-light #header-sticky .header-sticky-settings__icon,
html.force-light #header-sticky .header-sticky-settings__label {
  color: rgba(28, 36, 48, 0.88);
}

html.force-light .wallpaper-viewer__scrim {
  background: rgba(248, 250, 253, 0.82);
}

html.force-light .wallpaper-viewer__panel {
  background: linear-gradient(165deg, #f4f6fc 0%, #eceff8 100%);
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow:
    0 24px 72px rgba(30, 45, 72, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.65);
  color: rgba(28, 36, 48, 0.92);
}

html.force-light .wallpaper-viewer__toolbar {
  border-bottom-color: rgba(45, 58, 75, 0.12);
}

html.force-light .wallpaper-viewer__title {
  color: rgba(18, 24, 34, 0.95);
}

html.force-light .wallpaper-viewer__stage {
  background: transparent;
}

html.force-light .wallpaper-viewer__close,
html.force-light .wallpaper-viewer__nav {
  border-color: rgba(45, 58, 75, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(28, 36, 48, 0.9);
}

/* —— 壁纸分页 浅色模式 —— */
@media (prefers-color-scheme: light) {
  html:not(.force-dark) {
    --photo-pagination-btn-bg: rgba(45, 58, 75, 0.06);
    --photo-pagination-btn-border: rgba(45, 58, 75, 0.12);
    --photo-pagination-btn-color: rgba(45, 58, 75, 0.72);
    --photo-pagination-btn-hover-bg: rgba(var(--accent-rgb), 0.1);
    --photo-pagination-btn-hover-color: #121820;
    --photo-pagination-btn-hover-border: rgba(var(--accent-rgb), 0.32);
    --photo-pagination-btn-active-bg: rgba(var(--accent-rgb), 0.22);
    --photo-pagination-btn-active-border: rgba(var(--accent-rgb), 0.48);
    --photo-pagination-btn-active-color: #121820;
  }
}

html.force-light {
  --photo-pagination-btn-bg: rgba(45, 58, 75, 0.06);
  --photo-pagination-btn-border: rgba(45, 58, 75, 0.12);
  --photo-pagination-btn-color: rgba(45, 58, 75, 0.72);
  --photo-pagination-btn-hover-bg: rgba(var(--accent-rgb), 0.1);
  --photo-pagination-btn-hover-color: #121820;
  --photo-pagination-btn-hover-border: rgba(var(--accent-rgb), 0.32);
  --photo-pagination-btn-active-bg: rgba(var(--accent-rgb), 0.22);
  --photo-pagination-btn-active-border: rgba(var(--accent-rgb), 0.48);
  --photo-pagination-btn-active-color: #121820;
}
/* 全页动态壁纸层（置于 #wrapper 之下） */
.live-wallpaper {
  position: fixed;
  inset: 0;
  /* 覆盖可能的动态工具栏区域，避免露出底层闪烁 */
  width: 100%;
  height: 100%;
  min-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: -1;
  pointer-events: none;
  display: block;
}
/**
 * iOS 26 风格 · 液态玻璃（Liquid Glass）预览层
 * 回退：移除 index.html 中的 class="glass-ios26" 与本文件 link 即可
 */
html.glass-ios26 {
  --glass-blur: 28px;
  --glass-blur-strong: 44px;
  --glass-saturate: 1.72;
  --glass-radius: var(--radius-ios26, 22px);
  --glass-radius-sm: var(--radius-ios26-sm, 16px);
  --glass-radius-pill: 999px;
  /* 玻璃底：白 + 强调色叠层 */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-accent: rgba(var(--accent-rgb), 0.1);
  --glass-bg-hover: rgba(255, 255, 255, 0.11);
  --glass-bg-hover-accent: rgba(var(--accent-rgb), 0.18);
  --glass-bg-elevated: rgba(var(--accent-rgb), 0.14);
  --glass-border: rgba(var(--accent-rgb), 0.28);
  --glass-border-subtle: rgba(var(--accent-rgb), 0.16);
  --glass-border-strong: rgba(var(--accent-rgb), 0.52);
  --glass-highlight: rgba(255, 255, 255, 0.28);
  --glass-accent-glow: 0 0 18px rgba(var(--accent-rgb), 0.12);
  --glass-fill: linear-gradient(
    145deg,
    rgba(var(--accent-rgb), 0.12) 0%,
    rgba(255, 255, 255, 0.06) 48%,
    rgba(var(--accent-blue-rgb), 0.05) 100%
  );
  --glass-fill-hover: linear-gradient(
    145deg,
    rgba(var(--accent-rgb), 0.2) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(var(--accent-red-rgb), 0.07) 100%
  );
  --accent-gradient-glass: linear-gradient(
    118deg,
    rgba(var(--accent-blue-rgb), 0.78) 0%,
    rgba(var(--accent-purple-rgb), 0.72) 52%,
    rgba(var(--accent-red-rgb), 0.76) 100%
  );
  --glass-border-active: rgba(255, 255, 255, 0.34);
  --glass-shadow:
    0 10px 36px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --glass-shadow-hover:
    0 14px 44px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(var(--accent-rgb), 0.32),
    var(--glass-accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  /* 玻璃模式强调文字：比全局 lyric 更深，保证在半透明底上可读 */
  --glass-accent-text: var(--accent-lyric);
  --glass-accent-text-strong: var(--accent-lyric-bright);
  --glass-accent-text-hover: var(--accent-lyric-bright);
  --glass-accent-link: var(--accent-solid-hover);
  --glass-accent-link-hover: var(--accent-lyric-bright);
}

/* 背景：强调色晕 */
html.glass-ios26:not(.force-light) body {
  background-color: #0a0c12;
  background-image:
    radial-gradient(
      ellipse 100% 70% at 15% -5%,
      rgba(var(--accent-rgb), 0.22),
      transparent 52%
    ),
    radial-gradient(
      ellipse 70% 55% at 92% 105%,
      rgba(var(--accent-blue-rgb), 0.14),
      transparent 48%
    ),
    radial-gradient(
      ellipse 50% 40% at 50% 50%,
      rgba(var(--accent-red-rgb), 0.06),
      transparent 55%
    );
}

html.glass-ios26 strong,
html.glass-ios26 b {
  color: var(--ink-primary);
}

html.glass-ios26 .copyright a {
  color: var(--glass-accent-link);
}

html.glass-ios26 .music-songs-bar__count-n,
html.glass-ios26 .music-songs-bar__hint,
html.glass-ios26 .music-songs-bar__search-icon,
html.glass-ios26 .music-songs-bar__search-field-icon {
  color: var(--glass-accent-text);
}

html.glass-ios26 .header-settings__panel,
html.glass-ios26 .header-nav-menu__panel,
html.glass-ios26 .home-link-editor__panel,
html.glass-ios26 .home-folder-overlay__panel,
html.glass-ios26 .global-header-search__shell,
html.glass-ios26 .global-header-search__panel,
html.glass-ios26 .header-sticky-search__panel {
  background: var(--glass-fill);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

html.glass-ios26 .global-header-search__shell:focus-within,
html.glass-ios26 .global-header-search__panel:focus-within,
html.glass-ios26 .header-sticky-search__panel:focus-within {
  border-color: var(--glass-border-strong);
}

html.glass-ios26 .header-settings__radio.is-active .header-settings__radio-dot,
html.glass-ios26
  .header-settings__radio[aria-checked="true"]
  .header-settings__radio-dot {
  border-color: rgba(var(--accent-rgb), 0.95);
  box-shadow: inset 0 0 0 0.28rem rgba(var(--accent-rgb), 0.95);
}

/* —— 置顶组件 —— */
html.glass-ios26 #header-sticky {
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur-strong))
    saturate(var(--glass-saturate));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

html.glass-ios26
  body.header-pinned-scrolled:not(.player-fs-open)
  #header-sticky {
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 var(--glass-highlight);
}

html.glass-ios26 #header .avatar {
  background: transparent;
  background-image: none;
  backdrop-filter: none;
  border-color: var(--glass-border-strong);
  box-shadow: none;
}

html.glass-ios26 #header button.header-avatar-btn.avatar.is-page-swipe-armed {
  background: rgb(var(--accent-rgb));
  background-image: none;
  backdrop-filter: none;
  border-color: rgb(var(--accent-rgb));
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.28);
}

/* 页顶常态：玻璃圆钮（#header-actions 见 header-actions.css） */
html.glass-ios26 .icon.style:not(.header-action-btn) {
  background: var(--glass-fill);
  backdrop-filter: blur(18px) saturate(1.55);
  border-color: var(--glass-border-subtle);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

html.glass-ios26 .icon.style:not(.header-action-btn):hover,
html.glass-ios26 .icon.style:not(.header-action-btn):focus-visible {
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow-hover);
}

/* 置顶组件：导航仅文字，不加外层玻璃容器 */
html.glass-ios26 #header-sticky ul.icons .icon.style {
  padding: 0.15rem 0.22rem;
  background: transparent;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

html.glass-ios26 #header-sticky ul.icons a.is-active > .icon.style {
  background: transparent;
  border: none;
  box-shadow: none;
}

html.glass-ios26 #header-sticky .header-sticky-settings {
  background: transparent;
  backdrop-filter: none;
  border-color: transparent;
  box-shadow: none;
}

/* 紧凑顶栏 · 导航浮层见 main.css · #header-nav-menu */

html.glass-ios26 #header-sticky .header-sticky-search-toggle {
  background: transparent;
  backdrop-filter: none;
  border-color: transparent;
  box-shadow: none;
}

html.glass-ios26 #header-sticky .header-sticky-settings__icon,
html.glass-ios26 #header-sticky .header-sticky-settings__label {
  color: var(--ink-primary);
}

/* 浅色模式：设置按钮颜色跟随导航标签 */
html.glass-ios26:not(.force-dark) #header-sticky .header-sticky-settings__icon,
html.glass-ios26:not(.force-dark) #header-sticky .header-sticky-settings__label,
html.glass-ios26.force-light #header-sticky .header-sticky-settings__icon,
html.glass-ios26.force-light #header-sticky .header-sticky-settings__label {
  color: var(--ink-primary);
}

/* —— 卡片 / 缩略图 —— */
html.glass-ios26 .thumbnails a {
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

html.glass-ios26 .thumbnails.thumbnails--photo-wallpaper a,
html.glass-ios26 .thumbnails.thumbnails--photo-color a,
html.glass-ios26 .thumbnails.thumbnails--photo-wallpaper a.wallpaper-card,
html.glass-ios26 .thumbnails.thumbnails--photo-color a.wallpaper-card {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.glass-ios26 .thumbnails.thumbnails--music-albums a.music-album-card {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.glass-ios26 .category-header {
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: var(--glass-accent-text-strong);
}

html.glass-ios26 .song-list-item.is-current,
html.glass-ios26 .music-album-list-item.is-current {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.22) 0%,
    rgba(255, 255, 255, 0.08) 55%
  );
  backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
}

html.glass-ios26
  .thumbnails.thumbnails--square-cover
  a.music-album-card.is-current {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: var(--glass-shadow-hover);
}

/* —— 歌曲页功能栏 —— */
html.glass-ios26 .music-songs-bar {
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

html.glass-ios26 .music-songs-bar__stat-search {
  background: rgba(var(--accent-rgb), 0.1);
  backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid transparent;
}

html.glass-ios26
  .music-songs-bar__stat-search:not(.is-search-open):focus-visible,
html.glass-ios26 .music-songs-bar__stat-search.is-search-open {
  background: var(--glass-bg-hover-accent);
  border-color: var(--glass-border-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    var(--glass-accent-glow);
}

html.glass-ios26 .music-view-toolbar {
  background: var(--glass-fill);
  backdrop-filter: blur(18px) saturate(1.5);
  border-color: var(--glass-border);
}

html.glass-ios26.force-dark .page-type-tab {
  --page-type-tab-muted: rgba(255, 255, 255, 0.45);
  --page-type-tab-hover: var(--glass-accent-text-hover);
  --page-type-tab-active: rgba(255, 255, 255, 0.96);
  --page-type-tab-focus: rgba(255, 255, 255, 0.9);
}

@media (prefers-color-scheme: dark) {
  html.glass-ios26:not(.force-light):not(.force-dark) .page-type-tab {
    --page-type-tab-muted: rgba(255, 255, 255, 0.45);
    --page-type-tab-hover: var(--glass-accent-text-hover);
    --page-type-tab-active: rgba(255, 255, 255, 0.96);
    --page-type-tab-focus: rgba(255, 255, 255, 0.9);
  }
}
html.glass-ios26 .music-view-btn.is-active {
  background: rgba(var(--accent-rgb), 0.28);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

html.glass-ios26 .music-view-btn:focus-visible {
  color: var(--glass-accent-text-hover);
}

html.glass-ios26 .music-back-btn:not(.music-back-btn--icon) {
  background: var(--glass-fill);
  backdrop-filter: blur(16px) saturate(1.45);
  border-color: var(--glass-border);
}

/* —— 底部播放器 —— */
html.glass-ios26 .music-player-dock {
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur-strong))
    saturate(var(--glass-saturate));
  border-top: 1px solid var(--accent-solid);
  box-shadow:
    0 -12px 48px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(var(--accent-rgb), 0.2),
    inset 0 1px 0 rgba(var(--accent-rgb), 0.15);
}

html.glass-ios26 .music-player-dock__art {
  border: 1px solid var(--glass-border-strong);
  box-shadow: var(--glass-shadow);
}

html.glass-ios26 .player-current-lyric,
html.glass-ios26 .player-dock-hover-title {
  color: var(--glass-accent-text);
}

html.glass-ios26 .player-lyric-translation {
  color: var(--glass-accent-link);
}

/* 全屏歌词：仅当前行用主题色；非当前翻译保持中性淡色 */
html.glass-ios26 .player-fs-lyric-line .player-lyric-translation {
  color: rgba(255, 255, 255, 0.34);
}

html.glass-ios26 .player-skip-btn,
html.glass-ios26 .player-lyric-trans-btn,
html.glass-ios26 .player-mode-cycle-btn {
  background: var(--glass-fill);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 播放键：渐变强调 */
html.glass-ios26 .player-play-btn,
html.glass-ios26 .music-hover-play {
  background: var(--accent-gradient-play);
  box-shadow:
    0 6px 24px rgba(var(--accent-rgb), 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* —— 弹层 —— */
html.glass-ios26 .wallpaper-viewer__scrim {
  backdrop-filter: blur(var(--glass-blur-strong)) saturate(1.2);
}

html.glass-ios26 .wallpaper-viewer__panel,
html.glass-ios26 .player-fullscreen__panel,
html.glass-ios26 .player-queue__panel {
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur-strong))
    saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--glass-radius);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 var(--glass-highlight);
}

html.glass-ios26:not(.force-dark) .player-fullscreen__panel,
html.glass-ios26.force-light .player-fullscreen__panel {
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur-strong))
    saturate(var(--glass-saturate));
  border-color: var(--glass-border-strong);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 var(--glass-highlight);
}

/* 系统全屏 / 最大化：铺满 + 透明面板（壁纸在底层；底层页已隐藏） */
html.glass-ios26 .player-fullscreen__panel:fullscreen,
html.glass-ios26 .player-fullscreen__panel:-webkit-full-screen,
html.glass-ios26 #player-fullscreen:fullscreen .player-fullscreen__panel,
html.glass-ios26
  #player-fullscreen:-webkit-full-screen
  .player-fullscreen__panel,
html.glass-ios26
  #player-fullscreen.is-open.player-fullscreen--system
  .player-fullscreen__panel,
html.glass-ios26
  #player-fullscreen.is-open.player-fullscreen--window
  .player-fullscreen__panel {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100dvh;
  max-height: none;
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
}

html.glass-ios26 .wallpaper-viewer__toolbar {
  background: rgba(var(--accent-rgb), 0.08);
  backdrop-filter: blur(16px);
  border-color: var(--glass-border);
}

html.glass-ios26 .wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__toolbar {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

html.glass-ios26 .wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__panel {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(0, 0, 0, 0.1);
}

html.glass-ios26 .wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__close,
html.glass-ios26 .wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__nav {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.14);
  color: var(--viewer-color-ink-emphasis);
}

html.glass-ios26 .wallpaper-viewer__index-picker {
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}
html.glass-ios26 .wallpaper-viewer__index-cell {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border-subtle);
}
html.glass-ios26 .wallpaper-viewer__index-cell.is-current {
  background: var(--accent-gradient-glass), rgba(var(--accent-rgb), 0.35);
  border-color: rgba(var(--accent-rgb), 0.55);
}

html.glass-ios26 .wallpaper-viewer__footer {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(12, 14, 22, 0.28) 50%,
    rgba(12, 14, 22, 0.52) 100%
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
}

html.glass-ios26 #player-fullscreen .player-fullscreen__seek--below-main {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: none;
  border-color: transparent;
  border-radius: 0;
}

html.glass-ios26 .wallpaper-viewer__close,
html.glass-ios26 .wallpaper-viewer__nav {
  background: var(--glass-fill);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--glass-border);
}

html.glass-ios26 .player-fs-lyric-line.is-current {
  color: var(--accent-solid-hover);
}

html.glass-ios26 .player-fs-lyric-line.is-current .player-lyric-primary {
  color: var(--accent-solid-hover);
}

html.glass-ios26 .player-fs-lyric-line.is-current .player-lyric-translation {
  color: rgba(var(--accent-rgb), 0.7);
  font-weight: 500;
}

html.glass-ios26.force-light .player-fs-lyric-line.is-current {
  color: var(--accent-solid);
}

html.glass-ios26.force-light .player-fs-lyric-line.is-current .player-lyric-primary {
  color: var(--accent-solid);
}

html.glass-ios26.force-light .player-fs-lyric-line .player-lyric-translation {
  color: rgba(55, 64, 78, 0.42);
}

html.glass-ios26.force-light .player-fs-lyric-line.is-current .player-lyric-translation {
  color: rgba(var(--accent-rgb), 0.68);
}

@media (prefers-color-scheme: light) {
  html.glass-ios26:not(.force-dark):not(.force-light) .player-fs-lyric-line.is-current {
    color: var(--accent-solid);
  }

  html.glass-ios26:not(.force-dark):not(.force-light)
    .player-fs-lyric-line.is-current
    .player-lyric-primary {
    color: var(--accent-solid);
  }

  html.glass-ios26:not(.force-dark):not(.force-light)
    .player-fs-lyric-line
    .player-lyric-translation {
    color: rgba(55, 64, 78, 0.42);
  }

  html.glass-ios26:not(.force-dark):not(.force-light)
    .player-fs-lyric-line.is-current
    .player-lyric-translation {
    color: rgba(var(--accent-rgb), 0.68);
  }
}

html.glass-ios26 code {
  background: rgba(var(--accent-rgb), 0.1);
  backdrop-filter: blur(8px);
  border-color: var(--glass-border);
}

/* —— 浅色模式玻璃 —— */
@media (prefers-color-scheme: light) {
  html.glass-ios26:not(.force-dark) {
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-accent: rgba(var(--accent-rgb), 0.12);
    --glass-bg-hover: rgba(255, 255, 255, 0.58);
    --glass-bg-hover-accent: rgba(var(--accent-rgb), 0.2);
    --glass-bg-elevated: rgba(var(--accent-rgb), 0.16);
    --glass-border: rgba(var(--accent-rgb), 0.32);
    --glass-border-subtle: rgba(var(--accent-rgb), 0.2);
    --glass-border-strong: rgba(var(--accent-rgb), 0.48);
    --glass-highlight: rgba(255, 255, 255, 0.92);
    --glass-accent-glow: 0 0 16px rgba(var(--accent-rgb), 0.1);
    --glass-fill: linear-gradient(
      145deg,
      rgba(var(--accent-rgb), 0.1) 0%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(var(--accent-blue-rgb), 0.05) 100%
    );
    --glass-fill-hover: linear-gradient(
      145deg,
      rgba(var(--accent-rgb), 0.18) 0%,
      rgba(255, 255, 255, 0.68) 52%,
      rgba(var(--accent-red-rgb), 0.05) 100%
    );
    --accent-gradient-glass: linear-gradient(
      118deg,
      rgba(var(--accent-blue-rgb), 0.68) 0%,
      rgba(var(--accent-purple-rgb), 0.62) 52%,
      rgba(var(--accent-red-rgb), 0.66) 100%
    );
    --glass-border-active: rgba(255, 255, 255, 0.58);
    --glass-shadow:
      0 10px 32px rgba(30, 45, 72, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
    --glass-shadow-hover:
      0 14px 40px rgba(30, 45, 72, 0.12),
      0 0 0 1px rgba(var(--accent-rgb), 0.3),
      var(--glass-accent-glow),
      inset 0 1px 0 rgba(255, 255, 255, 1);
    --glass-accent-text: var(--accent-solid-active);
    --glass-accent-text-strong: var(--accent-solid-active);
    --glass-accent-text-hover: var(--accent-solid);
    --glass-accent-link: var(--accent-solid-active);
    --glass-accent-link-hover: var(--accent-solid);
  }

  html.glass-ios26:not(.force-dark) body {
    background-color: #e4eaf4;
    background-image:
      radial-gradient(
        ellipse 90% 60% at 10% 0%,
        rgba(var(--accent-rgb), 0.16),
        transparent 50%
      ),
      radial-gradient(
        ellipse 70% 50% at 100% 100%,
        rgba(var(--accent-blue-rgb), 0.1),
        transparent 45%
      );
  }

  html.glass-ios26:not(.force-dark) strong,
  html.glass-ios26:not(.force-dark) b {
    color: var(--ink-primary);
  }

  html.glass-ios26:not(.force-dark) .page-type-tab {
    --page-type-tab-muted: rgba(55, 64, 78, 0.58);
    --page-type-tab-hover: var(--glass-accent-text-hover);
    --page-type-tab-active: #121820;
    --page-type-tab-focus: rgba(28, 36, 48, 0.9);
  }
}

html.glass-ios26.force-light {
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-accent: rgba(var(--accent-rgb), 0.12);
  --glass-bg-hover: rgba(255, 255, 255, 0.58);
  --glass-bg-hover-accent: rgba(var(--accent-rgb), 0.2);
  --glass-bg-elevated: rgba(var(--accent-rgb), 0.16);
  --glass-border: rgba(var(--accent-rgb), 0.32);
  --glass-border-subtle: rgba(var(--accent-rgb), 0.2);
  --glass-border-strong: rgba(var(--accent-rgb), 0.48);
  --glass-highlight: rgba(255, 255, 255, 0.92);
  --glass-accent-glow: 0 0 16px rgba(var(--accent-rgb), 0.1);
  --glass-fill: linear-gradient(
    145deg,
    rgba(var(--accent-rgb), 0.1) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(var(--accent-blue-rgb), 0.05) 100%
  );
  --glass-fill-hover: linear-gradient(
    145deg,
    rgba(var(--accent-rgb), 0.18) 0%,
    rgba(255, 255, 255, 0.68) 52%,
    rgba(var(--accent-red-rgb), 0.05) 100%
  );
  --accent-gradient-glass: linear-gradient(
    118deg,
    rgba(var(--accent-blue-rgb), 0.68) 0%,
    rgba(var(--accent-purple-rgb), 0.62) 52%,
    rgba(var(--accent-red-rgb), 0.66) 100%
  );
  --glass-border-active: rgba(255, 255, 255, 0.58);
  --glass-shadow:
    0 10px 32px rgba(30, 45, 72, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --glass-shadow-hover:
    0 14px 40px rgba(30, 45, 72, 0.12),
    0 0 0 1px rgba(var(--accent-rgb), 0.3),
    var(--glass-accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  --glass-accent-text: var(--accent-solid-active);
  --glass-accent-text-strong: var(--accent-solid-active);
  --glass-accent-text-hover: var(--accent-solid);
  --glass-accent-link: var(--accent-solid-active);
  --glass-accent-link-hover: var(--accent-solid);
}

html.glass-ios26.force-light .page-type-tab {
  --page-type-tab-muted: rgba(55, 64, 78, 0.58);
  --page-type-tab-hover: var(--glass-accent-text-hover);
  --page-type-tab-active: #121820;
  --page-type-tab-focus: rgba(28, 36, 48, 0.9);
}

html.glass-ios26.force-light body {
  background-color: #e4eaf4;
  background-image:
    radial-gradient(
      ellipse 90% 60% at 10% 0%,
      rgba(var(--accent-rgb), 0.16),
      transparent 50%
    ),
    radial-gradient(
      ellipse 70% 50% at 100% 100%,
      rgba(var(--accent-blue-rgb), 0.1),
      transparent 45%
    );
}

html.glass-ios26.force-light strong,
html.glass-ios26.force-light b {
  color: var(--ink-primary);
}

/* 浅色液态玻璃：搜索/设置保留玻璃感，文字走 ink token */
html.glass-ios26.force-light .header-settings__panel,
html.glass-ios26.force-light .header-nav-menu__panel,
html.glass-ios26.force-light .home-link-editor__panel,
html.glass-ios26.force-light .home-folder-overlay__panel,
html.glass-ios26.force-light .global-header-search__shell,
html.glass-ios26.force-light .global-header-search__panel,
html.glass-ios26.force-light .header-sticky-search__panel {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(248, 250, 255, 0.58) 48%,
      rgba(255, 255, 255, 0.64) 100%
    );
  border-color: var(--border-subtle);
  backdrop-filter: blur(28px) saturate(1.55);
  -webkit-backdrop-filter: blur(28px) saturate(1.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55),
    var(--shadow-elevated),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.glass-ios26.force-light .global-header-search__field {
  border-bottom-color: var(--border-subtle);
}

html.glass-ios26.force-light .global-header-search__field-icon {
  color: var(--ink-muted);
}

html.glass-ios26.force-light .header-sticky-search__input,
html.glass-ios26.force-light .global-header-search__input {
  color: var(--ink-primary);
  -webkit-text-fill-color: var(--ink-primary);
  caret-color: var(--ink-primary);
}

html.glass-ios26.force-light .header-sticky-search__input::placeholder,
html.glass-ios26.force-light .global-header-search__input::placeholder {
  color: var(--ink-muted);
  -webkit-text-fill-color: var(--ink-muted);
  opacity: 1;
}

html.glass-ios26.force-light .header-sticky-search__clear {
  background: var(--surface-1);
  color: var(--ink-secondary);
}

html.glass-ios26.force-light .global-header-search__results {
  border-top-color: var(--border-subtle);
}

html.glass-ios26.force-light .global-header-search__hit-title {
  color: var(--ink-primary);
}

html.glass-ios26.force-light .global-header-search__hit-meta,
html.glass-ios26.force-light .global-header-search__empty {
  color: var(--ink-secondary);
}

html.glass-ios26.force-light .global-header-search__hit-icon {
  background: var(--surface-1);
  color: var(--glass-accent-text-strong);
}

html.glass-ios26.force-light .global-header-search__hit:hover,
html.glass-ios26.force-light .global-header-search__hit.is-active {
  background: rgba(var(--accent-rgb), 0.12);
}

html.glass-ios26.force-light .global-header-search__footer,
html.glass-ios26.force-light .global-header-search__scope {
  color: var(--ink-muted);
}

html.glass-ios26.force-light .global-header-search__kbd,
html.glass-ios26.force-light .global-header-search__esc-hint kbd {
  border-color: var(--border-subtle);
  background: var(--surface-1);
  color: var(--ink-secondary);
  box-shadow: none;
}

@media (prefers-color-scheme: light) {
  html.glass-ios26:not(.force-dark):not(.force-light) .header-settings__panel,
  html.glass-ios26:not(.force-dark):not(.force-light) .header-nav-menu__panel,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__panel,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-folder-overlay__panel,
  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__shell,
  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__panel,
  html.glass-ios26:not(.force-dark):not(.force-light) .header-sticky-search__panel {
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(248, 250, 255, 0.58) 48%,
        rgba(255, 255, 255, 0.64) 100%
      );
    border-color: var(--border-subtle);
    backdrop-filter: blur(28px) saturate(1.55);
    -webkit-backdrop-filter: blur(28px) saturate(1.55);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.55),
      var(--shadow-elevated),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__field {
    border-bottom-color: var(--border-subtle);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__field-icon {
    color: var(--ink-muted);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .header-sticky-search__input,
  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__input {
    color: var(--ink-primary);
    -webkit-text-fill-color: var(--ink-primary);
    caret-color: var(--ink-primary);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .header-sticky-search__input::placeholder,
  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__input::placeholder {
    color: var(--ink-muted);
    -webkit-text-fill-color: var(--ink-muted);
    opacity: 1;
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .header-sticky-search__clear {
    background: var(--surface-1);
    color: var(--ink-secondary);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__results {
    border-top-color: var(--border-subtle);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__hit-title {
    color: var(--ink-primary);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__hit-meta,
  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__empty {
    color: var(--ink-secondary);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__hit-icon {
    background: var(--surface-1);
    color: var(--glass-accent-text-strong);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__hit:hover,
  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__hit.is-active {
    background: rgba(var(--accent-rgb), 0.12);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__footer,
  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__scope {
    color: var(--ink-muted);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__kbd,
  html.glass-ios26:not(.force-dark):not(.force-light) .global-header-search__esc-hint kbd {
    border-color: var(--border-subtle);
    background: var(--surface-1);
    color: var(--ink-secondary);
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.glass-ios26 .thumbnails a,
  html.glass-ios26 .icon.style {
    transition-duration: 0.01ms;
  }
}

/* —— Home · 文件夹 / 添加编辑等二级浮层 —— */
html.glass-ios26 .home-folder-overlay__backdrop {
  background: rgba(6, 8, 14, 0.42);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

html.glass-ios26 .home-folder-overlay__panel {
  background: var(--glass-fill);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

html.glass-ios26 .home-folder-overlay__head {
  border-bottom-color: var(--glass-border-subtle);
}

html.glass-ios26 .home-folder-overlay__tool,
html.glass-ios26 .home-folder-overlay__close {
  background: var(--glass-bg);
  border-color: var(--glass-border-subtle);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

html.glass-ios26 .home-folder-overlay__tool:hover,
html.glass-ios26 .home-folder-overlay__tool:focus-visible,
html.glass-ios26 .home-folder-overlay__close:hover,
html.glass-ios26 .home-folder-overlay__close:focus-visible {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border);
  color: #fff;
  outline: none;
}

html.glass-ios26 .home-folder-overlay__pager .wallpaper-pagination__btn {
  background: var(--glass-fill);
  border-color: var(--glass-border);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

html.glass-ios26 .home-folder-overlay__pager .wallpaper-pagination__btn.is-active {
  background-color: transparent;
  background-image: var(--accent-gradient-glass), var(--accent-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: border-box;
  background-clip: border-box;
  border: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 18px rgba(var(--accent-rgb), 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

html.glass-ios26 .home-folder-overlay__pager .wallpaper-pagination__btn:not(.is-active):hover,
html.glass-ios26 .home-folder-overlay__pager .wallpaper-pagination__btn:not(.is-active):focus-visible {
  background: var(--glass-fill-hover);
  border-color: var(--glass-border-strong);
  color: #fff;
}

html.glass-ios26 .home-tile--add .home-tile__add-icon {
  background: transparent;
  border-color: transparent;
  border-style: solid;
  color: rgba(255, 255, 255, 0.42);
  box-shadow: none;
  overflow: visible;
  isolation: auto;
}

html.glass-ios26 .home-tile--add .home-tile__add-icon::after {
  border-color: rgba(255, 255, 255, 0.34);
}

html.glass-ios26 .home-tile--add:hover .home-tile__add-icon,
html.glass-ios26 .home-tile--add:focus-visible .home-tile__add-icon {
  background: rgba(var(--accent-rgb), 0.1);
  color: rgb(var(--accent-rgb));
  box-shadow: none;
}

html.glass-ios26 .home-tile--add:hover .home-tile__add-icon::after,
html.glass-ios26 .home-tile--add:focus-visible .home-tile__add-icon::after {
  border-color: rgba(var(--accent-rgb), 0.7);
}

html.glass-ios26 .home-link-editor .home-link-editor__input,
html.glass-ios26 .home-link-editor .home-link-editor__select,
html.glass-ios26 .home-link-editor .home-link-editor__dropdown-trigger,
html.glass-ios26 .home-link-editor .home-link-editor__icon-preview,
html.glass-ios26 .home-link-editor .home-link-editor__url-wrap {
  background: var(--glass-bg);
  border-color: var(--glass-border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html.glass-ios26 .home-link-editor .home-link-editor__input:focus,
html.glass-ios26 .home-link-editor .home-link-editor__select:focus,
html.glass-ios26 .home-link-editor .home-link-editor__url-wrap:focus-within,
html.glass-ios26 .home-link-editor .home-link-editor__dropdown-trigger:hover,
html.glass-ios26 .home-link-editor .home-link-editor__dropdown-trigger:focus-visible,
html.glass-ios26 .home-link-editor .home-link-editor__dropdown.is-open .home-link-editor__dropdown-trigger {
  border-color: var(--glass-border-strong);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html.glass-ios26 .home-link-editor__segmented {
  background: rgba(0, 0, 0, 0.16);
  border-color: var(--glass-border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.glass-ios26 .home-link-editor__segment {
  overflow: hidden;
  isolation: isolate;
  background-origin: border-box;
  background-clip: border-box;
}

html.glass-ios26 .home-link-editor__segment.is-active,
html.glass-ios26 .home-link-editor__segment[aria-checked='true'] {
  background-color: transparent;
  background-image: var(--accent-gradient-glass), var(--accent-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: border-box;
  background-clip: border-box;
  border-color: transparent;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 16px rgba(var(--accent-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

html.glass-ios26 .home-link-editor__dropdown-menu {
  background: var(--glass-fill);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

html.glass-ios26 .home-link-editor__dropdown-option:hover,
html.glass-ios26 .home-link-editor__dropdown-option:focus-visible {
  background: var(--glass-bg-hover);
}

html.glass-ios26 .home-link-editor__dropdown-option.is-active,
html.glass-ios26 .home-link-editor__dropdown-option[aria-selected='true'] {
  background: var(--glass-bg-elevated);
  color: #fff;
}

html.glass-ios26 .home-link-editor__close,
html.glass-ios26 .home-link-editor__btn--cancel {
  background: var(--glass-bg);
  border-color: var(--glass-border-subtle);
  color: rgba(255, 255, 255, 0.88);
}

html.glass-ios26 .home-link-editor__close:hover,
html.glass-ios26 .home-link-editor__close:focus-visible,
html.glass-ios26 .home-link-editor__btn--cancel:hover,
html.glass-ios26 .home-link-editor__btn--cancel:focus-visible {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border);
  color: #fff;
}

html.glass-ios26 .home-link-editor__btn--save {
  background-color: transparent;
  background-image: var(--accent-gradient-glass), var(--accent-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: border-box;
  background-clip: border-box;
  border-color: transparent;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 16px rgba(var(--accent-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

html.glass-ios26 .home-link-editor__btn--save:hover,
html.glass-ios26 .home-link-editor__btn--save:focus-visible {
  box-shadow:
    0 6px 20px rgba(var(--accent-rgb), 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

html.glass-ios26 .home-link-editor__esc-hint kbd {
  background: var(--glass-bg);
  border-color: var(--glass-border-subtle);
  color: rgba(255, 255, 255, 0.7);
}

html.glass-ios26.force-light .home-folder-overlay__backdrop {
  background: rgba(20, 28, 40, 0.28);
}

html.glass-ios26.force-light .home-folder-overlay__head {
  border-bottom-color: var(--border-subtle);
}

html.glass-ios26.force-light .home-folder-overlay__title {
  color: var(--ink-primary);
}

html.glass-ios26.force-light .home-folder-overlay__tool,
html.glass-ios26.force-light .home-folder-overlay__close,
html.glass-ios26.force-light .home-folder-overlay__pager .wallpaper-pagination__btn,
html.glass-ios26.force-light .home-link-editor__close,
html.glass-ios26.force-light .home-link-editor__btn--cancel,
html.glass-ios26.force-light .home-link-editor__input,
html.glass-ios26.force-light .home-link-editor__select,
html.glass-ios26.force-light .home-link-editor__dropdown-trigger,
html.glass-ios26.force-light .home-link-editor__icon-preview,
html.glass-ios26.force-light .home-link-editor__url-wrap {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--border-subtle);
  color: var(--ink-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html.glass-ios26.force-light .home-folder-overlay__pager .wallpaper-pagination__btn.is-active,
html.glass-ios26.force-light .home-link-editor__segment.is-active,
html.glass-ios26.force-light .home-link-editor__segment[aria-checked='true'],
html.glass-ios26.force-light .home-link-editor__btn--save {
  color: #fff;
}

html.glass-ios26.force-light .home-link-editor__dropdown-menu {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(248, 250, 255, 0.64) 48%,
      rgba(255, 255, 255, 0.7) 100%
    );
  border-color: var(--border-subtle);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55),
    var(--shadow-elevated),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.glass-ios26.force-light .home-tile--add .home-tile__add-icon {
  background: transparent;
  border-color: transparent;
  color: rgba(28, 36, 48, 0.4);
  box-shadow: none;
}

html.glass-ios26.force-light .home-tile--add .home-tile__add-icon::after {
  border-color: rgba(30, 45, 72, 0.28);
}

@media (prefers-color-scheme: light) {
  html.glass-ios26:not(.force-dark):not(.force-light) .home-folder-overlay__backdrop {
    background: rgba(20, 28, 40, 0.28);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-folder-overlay__head {
    border-bottom-color: var(--border-subtle);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-folder-overlay__title {
    color: var(--ink-primary);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-folder-overlay__tool,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-folder-overlay__close,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-folder-overlay__pager .wallpaper-pagination__btn,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__close,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__btn--cancel,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__input,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__select,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__dropdown-trigger,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__icon-preview,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__url-wrap {
    background: rgba(255, 255, 255, 0.55);
    border-color: var(--border-subtle);
    color: var(--ink-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__dropdown-menu {
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.78) 0%,
        rgba(248, 250, 255, 0.64) 48%,
        rgba(255, 255, 255, 0.7) 100%
      );
    border-color: var(--border-subtle);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.55),
      var(--shadow-elevated),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-tile--add .home-tile__add-icon {
    background: transparent;
    border-color: transparent;
    color: rgba(28, 36, 48, 0.4);
    box-shadow: none;
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-tile--add .home-tile__add-icon::after {
    border-color: rgba(30, 45, 72, 0.28);
  }
}
/* ?????? #header-actions
 * ??? border-radius + overflow??? mask/clip?????????
 * ??????????? + inset ?????????
 */

#header ul.icons.header-actions .header-action-btn.icon.style {
  box-sizing: border-box;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--header-action-btn-size);
  height: var(--header-action-btn-size);
  min-width: var(--header-action-btn-size);
  max-width: var(--header-action-btn-size);
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  line-height: 0;
  font-size: inherit;
  font-weight: 400;
  background-color: transparent;
  background-image: none;
  background-origin: border-box;
  background-clip: border-box;
  box-shadow: none;
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
  clip-path: none;
  -webkit-clip-path: none;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    backdrop-filter 0.2s ease;
}

#header ul.icons.header-actions .header-action-btn.icon.style::before,
#header ul.icons.header-actions .header-action-btn.icon.style::after,
#header ul.icons.header-actions .header-action-btn.icon.style:hover::before,
#header ul.icons.header-actions .header-action-btn.icon.style:focus-visible::before,
#header ul.icons.header-actions .header-action-btn.is-active.icon.style::before {
  content: none !important;
  display: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ?? ??? ?? */
html:not(.glass-ios26)
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:not(.is-active):not(.header-action-btn--add-cat) {
  background-image: none;
  background-color: rgba(8, 10, 16, 0.52);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html.glass-ios26
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:not(.is-active):not(.header-action-btn--add-cat) {
  background-color: transparent;
  background-image: var(--glass-fill);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.55);
  box-shadow: var(--glass-shadow);
}

html:not(.glass-ios26)
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:focus-visible:not(.is-active):not(.header-action-btn--add-cat) {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}

html.glass-ios26
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:focus-visible:not(.is-active):not(.header-action-btn--add-cat) {
  box-shadow:
    var(--glass-shadow),
    inset 0 0 0 2px var(--glass-border-strong);
}

/* ?? ????????? + ??? ?? */
#header ul.icons.header-actions .header-action-btn.is-active.icon.style {
  background-color: transparent;
  background-image: var(--accent-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  box-shadow:
    0 4px 16px rgba(var(--accent-rgb), 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

html.glass-ios26
  #header
  ul.icons.header-actions
  .header-action-btn.is-active.icon.style {
  background-image: var(--accent-gradient-glass), var(--accent-gradient);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow:
    0 4px 18px rgba(var(--accent-rgb), 0.34),
    var(--glass-accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

/* ?? ? ??? */
html:not(.force-dark)
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:not(.is-active):not(.header-action-btn--add-cat),
html.force-light
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:not(.is-active):not(.header-action-btn--add-cat) {
  background-image: none;
  background-color: rgba(255, 255, 255, 0.62);
  color: rgba(18, 24, 34, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

html:not(.force-dark).glass-ios26
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:not(.is-active):not(.header-action-btn--add-cat),
html.force-light.glass-ios26
  #header
  ul.icons.header-actions
  .header-action-btn.icon.style:not(.is-active):not(.header-action-btn--add-cat) {
  background-color: transparent;
  background-image: var(--glass-fill);
  color: rgba(18, 24, 34, 0.9);
  backdrop-filter: blur(18px) saturate(1.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.55);
  box-shadow: var(--glass-shadow);
}

/* Home 编辑态：添加分类 — 虚线圈画在 ::after 内，外尺寸与实体钮完全一致 */
#header ul.icons.header-actions .header-action-item--editing,
#header ul.icons.header-actions .header-action-item--add {
  display: block;
  position: relative;
}

#header ul.icons.header-actions .header-action-btn--add-cat {
  box-sizing: border-box !important;
  width: var(--header-action-btn-size) !important;
  height: var(--header-action-btn-size) !important;
  min-width: var(--header-action-btn-size) !important;
  max-width: var(--header-action-btn-size) !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  /* 与实体钮相同：无边框，避免 border 撑大/下沉 */
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: rgba(255, 255, 255, 0.48) !important;
  opacity: 0.92;
  overflow: visible;
}

/* 覆盖通用 ::after { display:none }，在圆内画虚线（特异性需压过 .icon.style::after） */
#header ul.icons.header-actions .header-action-btn.icon.style.header-action-btn--add-cat::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border: 2.5px dashed rgba(255, 255, 255, 0.42) !important;
  border-radius: 50%;
  background: none !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  pointer-events: none;
}

#header ul.icons.header-actions .header-action-btn--add-cat .fa {
  color: inherit;
}

#header ul.icons.header-actions .header-action-btn--add-cat:hover,
#header ul.icons.header-actions .header-action-btn--add-cat:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  color: rgb(var(--accent-rgb)) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  outline: none;
  opacity: 1;
}

#header ul.icons.header-actions .header-action-btn.icon.style.header-action-btn--add-cat:hover::after,
#header ul.icons.header-actions .header-action-btn.icon.style.header-action-btn--add-cat:focus-visible::after {
  border-color: rgba(var(--accent-rgb), 0.7) !important;
}

@media (prefers-color-scheme: light) {
  html:not(.force-dark) #header ul.icons.header-actions .header-action-btn--add-cat {
    color: rgba(28, 36, 48, 0.42) !important;
  }

  html:not(.force-dark) #header ul.icons.header-actions .header-action-btn.icon.style.header-action-btn--add-cat::after {
    border-color: rgba(30, 45, 72, 0.28) !important;
  }

  html:not(.force-dark) #header ul.icons.header-actions .header-action-btn--add-cat:hover,
  html:not(.force-dark) #header ul.icons.header-actions .header-action-btn--add-cat:focus-visible {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: rgb(var(--accent-rgb)) !important;
  }

  html:not(.force-dark) #header ul.icons.header-actions .header-action-btn.icon.style.header-action-btn--add-cat:hover::after,
  html:not(.force-dark) #header ul.icons.header-actions .header-action-btn.icon.style.header-action-btn--add-cat:focus-visible::after {
    border-color: rgba(var(--accent-rgb), 0.65) !important;
  }
}

html.force-light #header ul.icons.header-actions .header-action-btn--add-cat {
  color: rgba(28, 36, 48, 0.42) !important;
}

html.force-light #header ul.icons.header-actions .header-action-btn.icon.style.header-action-btn--add-cat::after {
  border-color: rgba(30, 45, 72, 0.28) !important;
}

html.force-light #header ul.icons.header-actions .header-action-btn--add-cat:hover,
html.force-light #header ul.icons.header-actions .header-action-btn--add-cat:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: rgb(var(--accent-rgb)) !important;
}

html.force-light #header ul.icons.header-actions .header-action-btn.icon.style.header-action-btn--add-cat:hover::after,
html.force-light #header ul.icons.header-actions .header-action-btn.icon.style.header-action-btn--add-cat:focus-visible::after {
  border-color: rgba(var(--accent-rgb), 0.65) !important;
}
/* 短暂操作提示（分页边界等） */
.ui-brief-tip {
  position: fixed;
  left: 50%;
  bottom: max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
  z-index: 10090;
  box-sizing: border-box;
  max-width: min(22rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(16, 18, 26, 0.9);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 0.4rem);
  transition:
    opacity 0.2s ease,
    transform 0.22s ease;
}

.ui-brief-tip.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-color-scheme: light) {
  html:not(.force-dark) .ui-brief-tip {
    border-color: rgba(30, 45, 72, 0.12);
    background: rgba(252, 253, 255, 0.94);
    color: rgba(28, 36, 48, 0.9);
    box-shadow: 0 12px 32px rgba(30, 45, 72, 0.16);
  }
}

html.force-light .ui-brief-tip {
  border-color: rgba(30, 45, 72, 0.12);
  background: rgba(252, 253, 255, 0.94);
  color: rgba(28, 36, 48, 0.9);
  box-shadow: 0 12px 32px rgba(30, 45, 72, 0.16);
}

/* 关键布局（单文件维护，由 css/index.css 最后加载） */
#header {
  text-align: center;
  width: 100%;
}

#header ul.icons.header-actions {
  /* 所有页面统一：每行最多 7 个，超出自动换行；整体居中 */
  --header-actions-per-row: 7;
  --header-actions-gap: 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: min(
    100%,
    calc(
      var(--header-actions-per-row) * var(--header-action-btn-size) +
        (var(--header-actions-per-row) - 1) * var(--header-actions-gap)
    )
  );
  margin-left: auto;
  margin-right: auto;
  column-gap: var(--header-actions-gap);
  row-gap: 0.55em;
}

#header ul.icons.header-actions[hidden],
#header ul.icons.header-actions:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
}

/* 无二级导航时收掉标题与按钮区之间的预留间距 */
body.header-actions-empty #header .header-mid {
  margin-bottom: 0;
}

#header ul.icons.header-actions li {
  display: block;
  flex: 0 0 auto;
  padding: 0;
  width: var(--header-action-btn-size);
}

#header ul.icons.header-actions li:last-child {
  padding-right: 0;
}

#app {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

#app.app-route-transition-out {
  opacity: 0;
  transform: translateY(0.35rem);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  #app {
    transition: none;
  }

  #app.app-route-transition-out {
    transform: none;
  }
}
#app > .music-page-search[hidden],
#app > .page-items-empty[hidden],
#app > .music-albums-empty[hidden],
#app > .music-songs-empty[hidden] {
  display: none !important;
}

#app > .thumbnails,
#app > section.thumbnails {
  width: 100%;
  align-items: start;
}

#app > .wallpaper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-self: center;
  width: auto;
  max-width: 100%;
  margin: 1.8rem auto 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

#app > .wallpaper-pagination .wallpaper-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 2.35rem;
  min-width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--photo-pagination-btn-border);
  border-radius: 50%;
  background: var(--photo-pagination-btn-bg);
  color: var(--photo-pagination-btn-color);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
  font-family: inherit;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

#app > .wallpaper-pagination .wallpaper-pagination__btn .fa {
  display: block;
  width: 1em;
  height: 1em;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

#app > .wallpaper-pagination .wallpaper-pagination__btn--prev .fa {
  transform: translateX(-0.04em);
}

#app > .wallpaper-pagination .wallpaper-pagination__btn--next .fa {
  transform: translateX(0.04em);
}

#app > .wallpaper-pagination .wallpaper-pagination__btn.is-active {
  background: var(--photo-pagination-btn-active-bg);
  border-color: var(--photo-pagination-btn-active-border);
  color: var(--photo-pagination-btn-active-color);
  font-weight: 600;
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.22);
}

#app > .wallpaper-pagination .wallpaper-pagination__btn.is-disabled,
#app > .wallpaper-pagination .wallpaper-pagination__btn:disabled {
  opacity: var(--photo-pagination-btn-disabled-opacity);
  cursor: not-allowed;
  pointer-events: none;
}

#app > .wallpaper-pagination .wallpaper-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 1.35rem;
  height: 2.35rem;
  padding: 0 0.15rem;
  color: var(--photo-pagination-btn-color);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.62;
  user-select: none;
  pointer-events: none;
}

/* 移动端：去掉系统点击浅蓝高亮 + 点击后残留的默认 focus 蓝框 */
*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent !important;
}

a,
button,
input,
select,
textarea,
label,
summary,
[role="button"],
[tabindex]:not([tabindex="-1"]) {
  touch-action: manipulation;
}

@media (hover: none), (pointer: coarse) {
  a:focus,
  button:focus,
  input:focus,
  select:focus,
  textarea:focus,
  summary:focus,
  [tabindex]:focus,
  [role="button"]:focus {
    outline: none;
  }

  /* 部分 WebKit 仍会画内置 focus ring */
  a:focus:not(:focus-visible),
  button:focus:not(:focus-visible),
  input:focus:not(:focus-visible),
  select:focus:not(:focus-visible),
  textarea:focus:not(:focus-visible),
  summary:focus:not(:focus-visible),
  [tabindex]:focus:not(:focus-visible),
  [role="button"]:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none;
  }
}
/** 图片页 — 卡片、分页器、查看器、搜索 */ /* Thumbnails（壁纸 / 色卡：对齐专辑网格风格） */

.thumbnails.thumbnails--photo-wallpaper,
.thumbnails.thumbnails--photo-color {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols, 3), minmax(0, 1fr));
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.65rem);
  position: relative;
  margin: 0 0 2em 0;
}
.thumbnails.thumbnails--photo-wallpaper a,
.thumbnails.thumbnails--photo-color a,
.thumbnails.thumbnails--photo-wallpaper a.wallpaper-card,
.thumbnails.thumbnails--photo-color a.wallpaper-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  border: none;
  border-bottom: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: pointer;
  outline: 0;
  overflow: visible;
  font-weight: normal;
  color: inherit;
  transition:
    transform 0.18s ease,
    color 0.15s ease;
}
.thumbnails.thumbnails--photo-wallpaper a:hover,
.thumbnails.thumbnails--photo-color a:hover,
.thumbnails.thumbnails--photo-wallpaper a.wallpaper-card:hover,
.thumbnails.thumbnails--photo-color a.wallpaper-card:hover {
  transform: none;
  background: transparent;
  border: none;
  box-shadow: none;
}
.thumbnails.thumbnails--photo-wallpaper a img,
.thumbnails.thumbnails--photo-color a img,
.thumbnails.thumbnails--photo-wallpaper a video,
.thumbnails.thumbnails--photo-color a video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex-shrink: 0;
} /* 色卡：1:1 */
.thumbnails.thumbnails--photo-wallpaper
  a.wallpaper-card--color
  .thumbnail-media
  img,
.thumbnails.thumbnails--photo-color
  a.wallpaper-card--color
  .thumbnail-media
  img,
.thumbnails.thumbnails--photo-wallpaper
  a.wallpaper-card--color
  .thumbnail-media
  video,
.thumbnails.thumbnails--photo-color
  a.wallpaper-card--color
  .thumbnail-media
  video {
  aspect-ratio: 1 / 1;
}
.thumbnails.thumbnails--photo-wallpaper a .thumbnail-media,
.thumbnails.thumbnails--photo-color a .thumbnail-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: var(--radius-ios26-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.thumbnails.thumbnails--photo-wallpaper a .thumbnail-media__badge {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  z-index: 2;
  box-sizing: border-box;
  min-width: 2.1rem;
  padding: 0.14rem 0.38rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 10, 16, 0.72);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: lowercase;
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}
html:not(.force-dark)
  .thumbnails.thumbnails--photo-wallpaper
  a
  .thumbnail-media__badge,
html.force-light
  .thumbnails.thumbnails--photo-wallpaper
  a
  .thumbnail-media__badge {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(30, 45, 72, 0.14);
  color: rgba(40, 48, 62, 0.88);
  box-shadow: 0 3px 10px rgba(30, 45, 72, 0.12);
}
.thumbnails.thumbnails--photo-wallpaper a.wallpaper-card--video .thumbnail-media {
  background: rgba(0, 0, 0, 0.22);
}
.thumbnails.thumbnails--photo-wallpaper
  a.wallpaper-card--video
  .wallpaper-thumb-video {
  background: transparent;
}
html:not(.force-dark)
  .thumbnails.thumbnails--photo-wallpaper
  a
  .thumbnail-media,
html:not(.force-dark)
  .thumbnails.thumbnails--photo-color
  a
  .thumbnail-media,
html.force-light .thumbnails.thumbnails--photo-wallpaper a .thumbnail-media,
html.force-light .thumbnails.thumbnails--photo-color a .thumbnail-media {
  border-color: rgba(var(--accent-rgb), 0.12);
  box-shadow: 0 6px 22px rgba(30, 45, 72, 0.08);
}
.thumbnails.thumbnails--photo-wallpaper a:hover .thumbnail-media,
.thumbnails.thumbnails--photo-color a:hover .thumbnail-media,
.thumbnails.thumbnails--photo-wallpaper a:focus-visible .thumbnail-media,
.thumbnails.thumbnails--photo-color a:focus-visible .thumbnail-media {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
html:not(.force-dark)
  .thumbnails.thumbnails--photo-wallpaper
  a:hover
  .thumbnail-media,
html:not(.force-dark)
  .thumbnails.thumbnails--photo-color
  a:hover
  .thumbnail-media,
html.force-light
  .thumbnails.thumbnails--photo-wallpaper
  a:hover
  .thumbnail-media,
html.force-light
  .thumbnails.thumbnails--photo-color
  a:hover
  .thumbnail-media,
html:not(.force-dark)
  .thumbnails.thumbnails--photo-wallpaper
  a:focus-visible
  .thumbnail-media,
html:not(.force-dark)
  .thumbnails.thumbnails--photo-color
  a:focus-visible
  .thumbnail-media,
html.force-light
  .thumbnails.thumbnails--photo-wallpaper
  a:focus-visible
  .thumbnail-media,
html.force-light
  .thumbnails.thumbnails--photo-color
  a:focus-visible
  .thumbnail-media {
  box-shadow: 0 10px 28px rgba(30, 45, 72, 0.12);
}
.thumbnails.thumbnails--photo-wallpaper
  a.wallpaper-card
  .thumbnail-media::after,
.thumbnails.thumbnails--photo-color a.wallpaper-card .thumbnail-media::after {
  content: none;
  display: none;
}
.thumbnails.thumbnails--photo-wallpaper a h3,
.thumbnails.thumbnails--photo-color a h3,
.thumbnails.thumbnails--photo-wallpaper a .thumbnail-caption,
.thumbnails.thumbnails--photo-color a .thumbnail-caption {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  margin: 0;
  padding: 0.55rem 0.15rem 0;
  border: none;
  border-top: none;
  background: transparent;
  color: var(--ink-primary, rgba(255, 255, 255, 0.92));
  font-size: 1.02rem;
  font-weight: var(--font-weight-semibold, 600);
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  opacity: 1;
  transform: none;
  transition: color 0.15s ease;
  pointer-events: none;
}
html:not(.force-dark)
  .thumbnails.thumbnails--photo-wallpaper
  a
  h3,
html:not(.force-dark)
  .thumbnails.thumbnails--photo-color
  a
  h3,
html.force-light .thumbnails.thumbnails--photo-wallpaper a h3,
html.force-light .thumbnails.thumbnails--photo-color a h3,
html:not(.force-dark)
  .thumbnails.thumbnails--photo-wallpaper
  a
  .thumbnail-caption,
html:not(.force-dark)
  .thumbnails.thumbnails--photo-color
  a
  .thumbnail-caption,
html.force-light
  .thumbnails.thumbnails--photo-wallpaper
  a
  .thumbnail-caption,
html.force-light
  .thumbnails.thumbnails--photo-color
  a
  .thumbnail-caption {
  color: rgba(72, 76, 88, 0.9);
}
.thumbnails.thumbnails--photo-wallpaper
  a.wallpaper-card:focus-visible
  .thumbnail-caption,
.thumbnails.thumbnails--photo-color
  a.wallpaper-card:focus-visible
  .thumbnail-caption {
  opacity: 1;
  transform: none;
  color: inherit;
}
.thumbnails.thumbnails--photo-wallpaper a h6,
.thumbnails.thumbnails--photo-color a h6 {
  margin: 0;
  padding: 0.15rem 0.15rem 0;
  font-size: var(--text-xs, 0.72rem);
  font-weight: var(--font-weight-normal, 400);
  letter-spacing: var(--tracking-label, 0.04em);
  color: var(--ink-muted, rgba(255, 255, 255, 0.52));
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .thumbnails.thumbnails--photo-wallpaper a,
  .thumbnails.thumbnails--photo-color a,
  .thumbnails.thumbnails--photo-wallpaper a .thumbnail-media,
  .thumbnails.thumbnails--photo-color a .thumbnail-media {
    transform: none;
    transition-duration: 0.01ms;
  }
}
.category-header {
  display: grid;
  grid-column: 1 / -1; /*跨越所有列，不依赖于具体的列数，自动占满整行。*/
  margin: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-ios26);
}

@media screen and (max-width: 480px) {
  .thumbnails.thumbnails--photo-wallpaper,
  .thumbnails.thumbnails--photo-color {
    grid-template-columns: 1fr !important;
  }
  .thumbnails.thumbnails--photo-wallpaper > div,
  .thumbnails.thumbnails--photo-color > div {
    width: 100%;
  }
  .thumbnails.thumbnails--photo-wallpaper a h3,
  .thumbnails.thumbnails--photo-color a h3,
  .thumbnails.thumbnails--photo-wallpaper a .thumbnail-caption,
  .thumbnails.thumbnails--photo-color a .thumbnail-caption {
    padding: 0.5rem 0.1rem 0;
    font-size: 0.95rem;
  }
}
#app > .wallpaper-pagination {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-self: center;
  width: auto;
  max-width: 100%;
  margin: 1.8rem auto 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}
#app > .wallpaper-pagination .wallpaper-pagination__btn {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.35rem;
  min-width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--photo-pagination-btn-border);
  border-radius: 50%;
  background-color: var(--photo-pagination-btn-bg);
  color: var(--photo-pagination-btn-color);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  filter: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}
#app > .wallpaper-pagination .wallpaper-pagination__btn .fa {
  display: block;
  width: 1em;
  height: 1em;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}
#app > .wallpaper-pagination .wallpaper-pagination__btn--prev .fa {
  transform: translateX(-0.04em);
}
#app > .wallpaper-pagination .wallpaper-pagination__btn--next .fa {
  transform: translateX(0.04em);
}
#app > .wallpaper-pagination .wallpaper-pagination__btn.is-active {
  background-color: var(--photo-pagination-btn-active-bg);
  border-color: var(--photo-pagination-btn-active-border);
  color: var(--photo-pagination-btn-active-color);
  font-weight: 600;
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.22);
}
#app > .wallpaper-pagination .wallpaper-pagination__btn.is-disabled,
#app > .wallpaper-pagination .wallpaper-pagination__btn:disabled {
  opacity: var(--photo-pagination-btn-disabled-opacity);
  cursor: not-allowed;
  pointer-events: none;
}
#app > .wallpaper-pagination .wallpaper-pagination__ellipsis {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 1.35rem;
  height: 2.35rem;
  padding: 0 0.15rem;
  color: var(--photo-pagination-btn-color);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.62;
  user-select: none;
  pointer-events: none;
}
html.glass-ios26
  #app
  > .wallpaper-pagination
  .wallpaper-pagination__btn:not(.is-active):not(.is-disabled):not(:disabled) {
  background: var(--glass-fill);
  border: 2px solid var(--glass-border);
  color: rgba(255, 255, 255, 0.92);
}
html.glass-ios26
  #app
  > .wallpaper-pagination
  .wallpaper-pagination__btn.is-active {
  background-color: transparent;
  background-image: var(--accent-gradient-glass), var(--accent-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: border-box;
  background-clip: border-box;
  border: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 18px rgba(var(--accent-rgb), 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
html.glass-ios26:not(.force-dark)
  #app
  > .wallpaper-pagination
  .wallpaper-pagination__btn:not(.is-active):not(.is-disabled):not(:disabled),
html.glass-ios26.force-light
  #app
  > .wallpaper-pagination
  .wallpaper-pagination__btn:not(.is-active):not(.is-disabled):not(:disabled) {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(45, 58, 75, 0.14);
  color: rgba(28, 36, 48, 0.88);
}
html.glass-ios26:not(.force-dark)
  #app
  > .wallpaper-pagination
  .wallpaper-pagination__btn.is-active,
html.glass-ios26.force-light
  #app
  > .wallpaper-pagination
  .wallpaper-pagination__btn.is-active {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.38);
}
html.glass-ios26:not(.force-dark)
  #app
  > .wallpaper-pagination
  .wallpaper-pagination__ellipsis,
html.glass-ios26.force-light
  #app
  > .wallpaper-pagination
  .wallpaper-pagination__ellipsis {
  color: rgba(28, 36, 48, 0.72);
}
body.wallpaper-viewer-open {
  overflow: hidden;
}
.wallpaper-viewer {
  position: fixed;
  inset: 0;
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top, 0px))
    max(0.75rem, env(safe-area-inset-right, 0px))
    max(0.75rem, env(safe-area-inset-bottom, 0px))
    max(0.75rem, env(safe-area-inset-left, 0px));
}
.wallpaper-viewer[hidden]:not(.wallpaper-viewer--open) {
  display: none !important;
}
.wallpaper-viewer.wallpaper-viewer--open {
  display: flex !important;
}
.wallpaper-viewer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.wallpaper-viewer__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: auto;
  max-width: min(72rem, 100%);
  max-height: calc(100vh - 1.5rem);
  min-height: 0;
  min-width: 0;
  background: linear-gradient(165deg, #1e1e26 0%, #121218 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.38);
  border-radius: var(--radius-ios26);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
}
.wallpaper-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.wallpaper-viewer__meta {
  min-width: 0;
  flex: 1 1 auto;
}
.wallpaper-viewer__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallpaper-viewer__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.wallpaper-viewer__close:focus-visible {
  background: rgba(var(--accent-rgb), 0.28);
  border-color: rgba(var(--accent-rgb), 0.55);
  outline: none;
}
.wallpaper-viewer__stage {
  position: relative;
  flex: 0 0 auto;
  align-self: center;
  display: block;
  line-height: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
}
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__stage {
  background: #fff;
}
/* 色卡浅色 UI：柔和灰字，避免纯黑 */
.wallpaper-viewer.wallpaper-viewer--color-mode,
.wallpaper-viewer__index-picker.wallpaper-viewer__index-picker--light {
  --viewer-color-ink: rgba(92, 96, 106, 0.78);
  --viewer-color-ink-emphasis: rgba(78, 82, 94, 0.84);
}
/* 色卡：面板与舞台统一浅色，标题/关闭钮用深字色（覆盖站点深浅色主题） */
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__panel {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  color: var(--viewer-color-ink-emphasis);
}
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__toolbar {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__title {
  color: var(--viewer-color-ink-emphasis);
}
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__close {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.05);
  color: var(--viewer-color-ink);
}
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__close:focus-visible {
  background: rgba(var(--accent-rgb), 0.14);
  border-color: rgba(var(--accent-rgb), 0.45);
}
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__footer {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.55) 100%
  );
}
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__nav {
  border-color: rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--viewer-color-ink-emphasis);
}
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__nav.wallpaper-viewer__nav--counter {
  color: var(--viewer-color-ink-emphasis);
}
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__nav:focus-visible {
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.48);
  color: var(--viewer-color-ink-emphasis);
}
.wallpaper-viewer.wallpaper-viewer--color-mode .wallpaper-viewer__nav.wallpaper-viewer__nav--counter.is-picker-open {
  background: rgba(var(--accent-rgb), 0.2);
  border-color: rgba(var(--accent-rgb), 0.45);
}
.wallpaper-viewer__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.25rem;
  margin: 0;
  padding: 0.65rem 1rem max(0.85rem, env(safe-area-inset-bottom, 0px));
  border: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}
.wallpaper-viewer__footer .wallpaper-viewer__nav,
.wallpaper-viewer__footer .wallpaper-viewer__index-picker {
  pointer-events: auto;
}
.wallpaper-viewer__nav--prev {
  grid-column: 2;
  justify-self: center;
}
.wallpaper-viewer__counter-wrap {
  position: relative;
  grid-column: 3;
  justify-self: center;
  display: inline-flex;
  flex-shrink: 0;
}
.wallpaper-viewer__nav--next {
  grid-column: 4;
  justify-self: center;
}
.wallpaper-viewer__index-picker {
  position: absolute;
  bottom: calc(100% + 0.55rem);
  left: 50%;
  z-index: 6;
  width: min(16.75rem, calc(100vw - 2.5rem));
  max-height: min(14.5rem, 42vh);
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-ios26-sm);
  background: rgba(14, 16, 22, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.48);
  overflow: auto;
  transform: translateX(-50%);
  -webkit-overflow-scrolling: touch;
}
.wallpaper-viewer__index-picker[hidden] {
  display: none !important;
}
.wallpaper-viewer__index-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}
.wallpaper-viewer__index-cell {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
}
.wallpaper-viewer__index-cell.is-current {
  background: rgba(var(--accent-rgb), 0.45);
  border-color: rgba(var(--accent-rgb), 0.68);
  color: #fff;
}
.wallpaper-viewer__index-cell:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.85);
  outline-offset: 1px;
}
/* 色卡张数网格：浅底深字（class 由 JS 挂载，特异性压过 glass-ios26） */
.wallpaper-viewer__index-picker.wallpaper-viewer__index-picker--light {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.14);
}
.wallpaper-viewer__index-picker.wallpaper-viewer__index-picker--light .wallpaper-viewer__index-cell {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--viewer-color-ink);
}
.wallpaper-viewer__index-picker.wallpaper-viewer__index-picker--light .wallpaper-viewer__index-cell.is-current {
  background: rgba(var(--accent-rgb), 0.22);
  border-color: rgba(var(--accent-rgb), 0.48);
  color: var(--viewer-color-ink-emphasis);
}
html.glass-ios26 .wallpaper-viewer__index-picker.wallpaper-viewer__index-picker--light {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.12);
}
html.glass-ios26
  .wallpaper-viewer__index-picker.wallpaper-viewer__index-picker--light
  .wallpaper-viewer__index-cell,
html.glass-ios26
  .wallpaper-viewer__index-picker.wallpaper-viewer__index-picker--light
  .wallpaper-viewer__index-cell.is-current {
  background-image: none;
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--viewer-color-ink);
}
html.glass-ios26
  .wallpaper-viewer__index-picker.wallpaper-viewer__index-picker--light
  .wallpaper-viewer__index-cell.is-current {
  background: rgba(var(--accent-rgb), 0.22);
  border-color: rgba(var(--accent-rgb), 0.48);
  color: var(--viewer-color-ink-emphasis);
}
.wallpaper-viewer__nav {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.94);
  font: inherit;
  cursor: pointer;
  transform: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease,
    opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.wallpaper-viewer__nav .fa {
  display: block;
  width: 1em;
  height: 1em;
  font-size: 1.85rem;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}
.wallpaper-viewer__nav--prev .fa {
  transform: translateX(-0.07em);
}
.wallpaper-viewer__nav--next .fa {
  transform: translateX(0.07em);
}
.wallpaper-viewer__nav--prev,
.wallpaper-viewer__nav--next {
  left: auto;
  right: auto;
}
/* 灵动岛胶囊：高度与左右圆钮一致，扁长比例 */
.wallpaper-viewer__nav.wallpaper-viewer__nav--counter {
  --viewer-counter-h: 3.5rem;
  box-sizing: border-box;
  width: auto;
  min-width: calc(var(--viewer-counter-h) * 3.1);
  height: var(--viewer-counter-h);
  padding: 0 1.35rem;
  border-radius: calc(var(--viewer-counter-h) / 2);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  line-height: 1;
}
.wallpaper-viewer__nav.wallpaper-viewer__nav--counter.is-picker-open {
  background: rgba(var(--accent-rgb), 0.32);
  border-color: rgba(var(--accent-rgb), 0.58);
}
.wallpaper-viewer__nav:focus-visible {
  background: rgba(var(--accent-rgb), 0.38);
  border-color: rgba(var(--accent-rgb), 0.62);
  transform: scale(1.06);
  outline: none;
}
.wallpaper-viewer__nav--counter:focus-visible {
  transform: scale(1.02);
}
.wallpaper-viewer__media {
  position: relative;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  vertical-align: top;
}
.wallpaper-viewer__media--video {
  background: #000;
}
.wallpaper-viewer__media[hidden] {
  display: none !important;
}
.thumbnails .wallpaper-card .thumbnail-media video,
.thumbnails .wallpaper-card .thumbnail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex-shrink: 0;
  pointer-events: none;
}

@media screen and (max-width: 640px) {
  .wallpaper-viewer__nav {
    width: 3rem;
    height: 3rem;
  }
  .wallpaper-viewer__nav.wallpaper-viewer__nav--counter {
    --viewer-counter-h: 3rem;
    min-width: calc(var(--viewer-counter-h) * 3.05);
    padding: 0 1.1rem;
    font-size: 0.8rem;
  }
  .wallpaper-viewer__index-picker {
    width: min(15.5rem, calc(100vw - 2rem));
    max-height: min(12.5rem, 38vh);
  }
  .wallpaper-viewer__footer {
    column-gap: 1rem;
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
}
.music-page-search,
.music-album-search,
.music-songs-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  margin: 0 0 1.15rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--music-search-shell-border);
  background: var(--music-search-shell-bg);
  backdrop-filter: blur(var(--music-search-shell-blur, 0px));
  -webkit-backdrop-filter: blur(var(--music-search-shell-blur, 0px));
  box-shadow: var(--music-search-shell-shadow, none);
  box-sizing: border-box;
}
.music-page-search[hidden],
.music-album-search[hidden],
.music-songs-search[hidden] {
  display: none !important;
}
.music-page-search__input,
.music-album-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--music-search-input-color);
  font: inherit;
  font-size: var(--music-search-input-size);
  font-weight: 500;
  line-height: 1.4;
  outline: none;
}
.music-page-search__input::-webkit-input-placeholder,
.music-album-search__input::-webkit-input-placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}
.music-page-search__input::-moz-placeholder,
.music-album-search__input::-moz-placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}
.music-page-search__input::placeholder,
.music-album-search__input::placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}
.music-page-search__clear,
.music-page-search__close,
.music-album-search__close {
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--music-search-action-bg);
  color: var(--music-search-action-color);
  cursor: pointer;
}
.music-page-search__clear[hidden] {
  display: none !important;
}
.music-albums-empty {
  margin: -0.5rem 0 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.52);
}
.music-albums-empty[hidden] {
  display: none !important;
}
.page-items-empty {
  margin: -0.35rem 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-ios26-sm);
  background: var(--surface-1);
  color: var(--ink-muted);
  font-size: var(--text-sm);
  text-align: center;
}
.page-items-empty[hidden] {
  display: none !important;
}
/** 音乐页 — 网格/列表/歌单 */ /* Thumbnails（壁纸 / 主题 / 备份等共用） */

.thumbnails.thumbnails--music-albums.thumbnails--square-cover {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols, 4), minmax(0, 1fr));
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.65rem);
  position: relative;
  margin: 0 0 2em 0;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  border-radius: var(--radius-ios26);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 36px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  outline: 0;
  overflow: hidden;
  font-weight: normal;
  color: inherit;
}
html:not(.force-dark)
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a,
html.force-light
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(var(--accent-rgb), 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 32px rgba(30, 45, 72, 0.08);
}
html.glass-ios26 .thumbnails.thumbnails--music-albums.thumbnails--square-cover a {
  background: var(--glass-fill);
  border-color: var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: var(--glass-shadow);
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 40px rgba(0, 0, 0, 0.22);
}
html:not(.force-dark)
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a:hover,
html.force-light
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a:hover {
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 14px 36px rgba(30, 45, 72, 0.1);
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex-shrink: 0;
} /* 色卡 / 方形封面：1:1 比例 */
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.wallpaper-card--color
  .thumbnail-media
  img,
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.wallpaper-card--color
  .thumbnail-media
  video {
  aspect-ratio: 1 / 1;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a h3 {
  margin: 0;
  padding: 0.7rem 0.9rem 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}
html:not(.force-dark)
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a
  h3,
html.force-light
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a
  h3 {
  color: rgba(72, 76, 88, 0.9);
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a > img + h3 {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.65rem;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a h3:first-child {
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a h6 {
  margin: 0;
  padding: 0 0.85rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}
html:not(.force-dark)
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a
  h6,
html.force-light
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a
  h6 {
  color: rgba(108, 112, 124, 0.68);
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a h3 + h6 {
  padding-top: 0.1rem;
} /* 壁纸 / 专辑网格：壁纸 hover 叠字；专辑卡片标题在封面下方 */
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a.wallpaper-card,
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a.music-album-card {
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}
html.glass-ios26
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html:not(.force-dark)
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card,
html.force-light
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card {
  background: transparent;
  border: none;
  box-shadow: none;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a.music-album-card:hover {
  transform: none;
  background: transparent;
  border: none;
  box-shadow: none;
}
html:not(.force-dark)
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card:hover,
html.force-light
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card:hover {
  background: transparent;
  box-shadow: none;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card
  .thumbnail-media {
  flex-shrink: 0;
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-ios26-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
html:not(.force-dark)
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card
  .thumbnail-media,
html.force-light
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card
  .thumbnail-media {
  border-color: rgba(var(--accent-rgb), 0.12);
  box-shadow: 0 6px 22px rgba(30, 45, 72, 0.08);
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card:hover
  .thumbnail-media {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.28);
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card
  .thumbnail-media
  img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card
  .music-album-card__title {
  margin: 0;
  padding: 0.55rem 0.15rem 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
html:not(.force-dark)
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card
  .music-album-card__title,
html.force-light
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.music-album-card
  .music-album-card__title {
  color: rgba(72, 76, 88, 0.9);
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a.wallpaper-card {
  display: block;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a
  .thumbnail-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.wallpaper-card
  .thumbnail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
  z-index: 1;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.wallpaper-card:focus-visible
  .thumbnail-media::after {
  opacity: 1;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.wallpaper-card
  .thumbnail-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 2.1rem 0.75rem 0.6rem;
  border: none;
  border-top: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 42%,
    rgba(0, 0, 0, 0.78) 100%
  );
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  opacity: 0;
  transform: translateY(0.25rem);
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out,
    color 0.18s ease-out;
  pointer-events: none;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a.wallpaper-card:focus-visible
  .thumbnail-caption {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255, 255, 255, 0.98);
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover a {
  min-width: 0;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  a
  .thumbnail-media
  img {
  aspect-ratio: 1 / 1;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  .music-album-cover-wrap--card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.06s ease-out;
  pointer-events: none;
  z-index: 1;
}
.thumbnails.thumbnails--music-albums.thumbnails--square-cover
  .music-album-cover-wrap--card
  .music-hover-play {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%) scale(0.88);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover a {
    transform: none;
  }
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
    a
    .thumbnail-caption,
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
    a.wallpaper-card
    .thumbnail-media::after,
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover
    .music-album-cover-wrap--card::after {
    transition-duration: 0.01ms;
  }
}
.category-header {
  display: grid;
  grid-column: 1 / -1; /*跨越所有列，不依赖于具体的列数，自动占满整行。*/
  margin: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-ios26);
}

@media screen and (max-width: 480px) {
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover {
    grid-template-columns: 1fr !important;
  }
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover > div {
    width: 100%;
  }
  .thumbnails.thumbnails--music-albums.thumbnails--square-cover a h3 {
    padding: 0.55rem 0.75rem 0.5rem;
  }
} /* 音乐页：视图切换与布局 */
.music-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 1.25rem;
}
.music-page-head--albums {
  margin-top: 0.25rem;
} /* 主题 / 备份：类型切换（简洁文字标签，左对齐） */

.page-type-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
}
.page-type-tab {
  position: relative;
  margin: 0;
  padding: 0 0 2px;
  border: none;
  border-radius: 0;
  background: transparent;
  --page-type-tab-muted: rgba(255, 255, 255, 0.48);
  --page-type-tab-hover: rgba(255, 255, 255, 0.78);
  --page-type-tab-active: rgba(255, 255, 255, 0.96);
  --page-type-tab-focus: rgba(255, 255, 255, 0.9);
  color: var(--page-type-tab-muted);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 0.5;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.page-type-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: rgb(var(--accent-rgb));
  opacity: 0;
  transform: scaleX(0.55);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.page-type-tab:active,
.page-type-tab:focus {
  background: transparent;
  border: none;
  box-shadow: none;
  filter: none;
}
.page-type-tab.is-active {
  color: var(--page-type-tab-active);
  font-weight: 600;
}
.page-type-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}
.page-type-tab:focus-visible {
  outline: none;
  color: var(--page-type-tab-focus);
}
.page-type-tab:focus-visible::after {
  opacity: 0.65;
  transform: scaleX(1);
} /* 歌曲页功能栏：返回 + 统计/搜索融合 */
.music-songs-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  padding: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 20, 0.5);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.music-songs-bar__stat-search {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 2.65rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.045);
  cursor: default;
  transition:
    flex 0.18s ease-out,
    padding 0.18s ease-out,
    background 0.06s ease-out,
    border-color 0.06s ease-out,
    box-shadow 0.06s ease-out;
}
.music-songs-bar__stat-search:not(.is-search-open) {
  cursor: pointer;
}
.music-songs-bar__stat-search.is-search-open {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 0.55rem;
  border-color: rgba(var(--accent-rgb), 0.42);
  background: rgba(255, 255, 255, 0.08);
}
.music-songs-bar__stat-face {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  width: 100%;
  min-height: 2.65rem;
  padding: 0;
  pointer-events: none;
}
.music-songs-bar__stat-search:not(.is-search-open):focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(var(--accent-rgb), 0.48);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.2);
}
.music-songs-bar__stat-search.is-search-open .music-songs-bar__stat-face {
  display: none;
}
.music-songs-bar__count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.52);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: opacity 0.12s ease-out;
  pointer-events: none;
}
.music-songs-bar__count-n {
  font-size: 1.08rem;
  font-weight: 600;
  color: rgba(var(--accent-rgb), 0.95);
}
.music-songs-bar__hint {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.92);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease-out;
}
.music-songs-bar__stat-search:not(.is-search-open):focus-within
  .music-songs-bar__count {
  opacity: 0;
}
.music-songs-bar__stat-search:not(.is-search-open):focus-within
  .music-songs-bar__hint {
  opacity: 1;
}
.music-songs-bar__search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  color: rgba(var(--accent-rgb), 0.95);
  font-size: 1.08rem;
  line-height: 1;
  pointer-events: none;
  transition: color 0.06s ease-out;
}
.music-songs-bar__stat-search:not(.is-search-open):focus-within
  .music-songs-bar__search-icon {
  color: rgb(var(--accent-rgb));
}
.music-songs-bar__search-field {
  display: none;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.65rem;
}
.music-songs-bar__stat-search.is-search-open .music-songs-bar__search-field {
  display: inline-flex;
}
.music-songs-bar__search-field[hidden] {
  display: none !important;
}
#music-songs-bar.is-search-open .music-songs-bar__count {
  display: none;
}
#music-songs-bar.is-search-open .music-songs-bar__search-field:not([hidden]) {
  display: inline-flex;
  flex: 1 1 auto;
  min-width: 0;
  border-color: rgba(var(--accent-rgb), 0.42);
}
.music-songs-bar__search-field-icon {
  flex-shrink: 0;
  color: rgba(var(--accent-rgb), 0.85);
  font-size: 1rem;
}
.music-songs-bar__search-input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
  outline: none;
}
.music-songs-bar__search-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}
.music-songs-bar__search-input::-webkit-search-cancel-button,
.music-songs-bar__search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.music-songs-bar__search-clear,
.music-songs-bar__search-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.06s ease-out,
    color 0.06s ease-out;
}
.music-songs-bar__search-clear[hidden] {
  display: none;
}
.music-songs-bar__search-clear:focus-visible,
.music-songs-bar__search-close:focus-visible {
  background: rgba(var(--accent-rgb), 0.22);
  color: #fff;
}
.music-songs-empty {
  margin: -0.35rem 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-ios26-sm);
  background: var(--surface-1);
  color: var(--ink-muted);
  font-size: var(--text-sm);
  text-align: center;
}
.music-songs-empty[hidden] {
  display: none;
}
.music-back-btn.music-back-btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.82);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.38);
  transition:
    background 0.06s ease-out,
    color 0.06s ease-out,
    box-shadow 0.06s ease-out;
}
.music-back-btn.music-back-btn--icon .fa {
  margin-left: -0.1rem;
}
.music-back-btn.music-back-btn--icon:focus-visible {
  background: rgb(var(--accent-rgb));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(var(--accent-rgb), 0.52);
}
.music-page-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-tight);
  color: var(--ink-primary);
}
.music-back-btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-ios26-sm);
  background: rgba(12, 14, 20, 0.55);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  cursor: pointer;
  transition:
    background 0.06s ease-out,
    border-color 0.06s ease-out;
}
.music-view-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  padding: 0.25rem;
  border-radius: var(--radius-ios26-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 14, 20, 0.45);
}
.music-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: calc(var(--radius-ios26-sm) - 0.25rem);
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
  box-shadow: none;
  transition:
    background 0.06s ease-out,
    color 0.06s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.music-view-btn:active,
.music-view-btn:focus {
  filter: none;
  box-shadow: none;
}
.music-view-toolbar .music-view-btn:not(.is-active):active,
.music-view-toolbar .music-view-btn:not(.is-active):focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
}
.music-view-btn.is-active,
.music-view-btn.is-active:active {
  background: rgba(var(--accent-rgb), 0.22);
  color: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.45);
}
.music-album-list {
  --album-list-glass: rgba(14, 18, 28, 0.32);
  --album-list-border: rgba(255, 255, 255, 0.1);
  --album-row-stripe: rgba(255, 255, 255, 0.035);
  --album-row-hover: rgba(var(--accent-rgb), 0.11);
  --album-ink-title: rgba(255, 255, 255, 0.92);
  --album-ink-muted: rgba(255, 255, 255, 0.52);
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 2em;
  border-radius: var(--radius-ios26-sm);
  overflow: hidden;
  background: var(--album-list-glass);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid var(--album-list-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 44px rgba(0, 0, 0, 0.14);
}
html:not(.force-dark) .music-album-list,
html.force-light .music-album-list {
  --album-list-glass: rgba(255, 255, 255, 0.38);
  --album-list-border: rgba(var(--accent-rgb), 0.14);
  --album-row-stripe: rgba(var(--accent-rgb), 0.04);
  --album-row-hover: rgba(var(--accent-rgb), 0.08);
  --album-ink-title: rgba(72, 76, 88, 0.9);
  --album-ink-muted: rgba(108, 112, 124, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 40px rgba(30, 45, 72, 0.07);
}
html.glass-ios26 .music-album-list {
  background: var(--glass-fill, var(--album-list-glass));
  border-color: var(--glass-border, var(--album-list-border));
  backdrop-filter: blur(var(--glass-blur, 18px)) saturate(var(--glass-saturate, 1.35));
  -webkit-backdrop-filter: blur(var(--glass-blur, 18px)) saturate(var(--glass-saturate, 1.35));
  box-shadow: var(--glass-shadow, inset 0 1px 0 rgba(255, 255, 255, 0.07));
}
.music-album-list-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.72rem 1rem;
  border: none;
  border-bottom: none;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition:
    background 0.16s ease,
    transform 0.16s ease;
}
.music-album-list-item:nth-child(even) {
  background: var(--album-row-stripe);
}
.music-album-list-item:hover {
  background: var(--album-row-hover);
}
.music-album-list-item:focus-visible {
  color: inherit;
  border-bottom-color: transparent;
  outline: 2px solid rgba(var(--accent-rgb), 0.45);
  outline-offset: -2px;
}
.music-album-list-item + .music-album-list-item::before {
  display: none;
}
.music-album-cover-wrap {
  position: relative;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
}
.music-album-cover-wrap--card {
  width: 100%;
  border-radius: 0;
}
.music-album-cover-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.music-album-list-item .music-album-cover-wrap {
  width: 3.85rem;
  height: 3.85rem;
  border-radius: var(--radius-ios26-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
html:not(.force-dark) .music-album-list-item .music-album-cover-wrap,
html.force-light .music-album-list-item .music-album-cover-wrap {
  border-color: rgba(var(--accent-rgb), 0.12);
  box-shadow:
    0 4px 14px rgba(30, 45, 72, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.music-album-list-item__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.music-album-list-item > .music-hover-play {
  margin-left: auto;
  flex-shrink: 0;
}
.music-album-list-item__title {
  position: relative;
  z-index: 1;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--album-ink-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.music-album-list-item__count {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-left: 0.65rem;
  padding-left: 0.85rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--album-ink-muted);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.music-album-list .music-album-list-item.is-current {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.2) 0%,
    rgba(var(--accent-rgb), 0.05) 58%,
    transparent 100%
  );
}
html:not(.force-dark) .music-album-list .music-album-list-item.is-current,
html.force-light .music-album-list .music-album-list-item.is-current {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.14) 0%,
    rgba(255, 255, 255, 0.32) 55%,
    rgba(255, 255, 255, 0.1) 100%
  );
}
html.glass-ios26 .music-album-list .music-album-list-item.is-current {
  border-left: 2px solid rgba(var(--accent-rgb), 0.55);
  padding-left: calc(1rem - 2px);
}
.thumbnails.thumbnails--square-cover a.music-album-card.is-current {
  background: transparent;
  border: none;
  box-shadow: none;
}
.thumbnails.thumbnails--square-cover
  a.music-album-card.is-current
  .thumbnail-media {
  border-color: rgba(var(--accent-rgb), 0.52);
  box-shadow:
    0 0 0 2px rgba(var(--accent-rgb), 0.22),
    0 10px 32px rgba(var(--accent-rgb), 0.12);
}
html:not(.force-dark)
  .thumbnails.thumbnails--square-cover
  a.music-album-card.is-current,
html.force-light
  .thumbnails.thumbnails--square-cover
  a.music-album-card.is-current {
  background: transparent;
}
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 1rem;
  margin: 0 0 2em;
}
.song-grid-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.5rem 0.65rem;
  padding: 0.7rem;
  border: none;
  border-radius: var(--radius-ios26);
  background: transparent;
  cursor: pointer;
  transition:
    background 0.06s ease-out,
    transform 0.06s ease-out;
}
.song-grid-item__media {
  position: relative;
  grid-column: 1 / -1;
}
.song-grid-item__cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-ios26-sm);
  object-fit: cover;
}
.song-grid-item__index {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  min-width: 1.5rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-ios26-sm);
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}
.song-grid-item__body {
  grid-column: 1;
  min-width: 0;
}
.song-grid-item__title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.song-grid-item__artist {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-grid-item__duration {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}
.song-grid-item .music-hover-play {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}
.song-grid-item.is-current {
  background: rgba(var(--accent-rgb), 0.12);
}
.music-hover-play {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.92);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.45);
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  cursor: pointer;
}
.music-hover-play .fa-play {
  margin-left: 0.12rem;
}

@media screen and (max-width: 480px) {
  .music-page-head {
    flex-direction: column;
    align-items: stretch;
  }
  .music-songs-bar {
    flex-wrap: wrap;
    border-radius: var(--radius-ios26);
    padding: 0.65rem;
  }
  .music-songs-bar__stat-search,
  .music-songs-bar__stat-search.is-search-open {
    flex: 1 1 100%;
    margin-left: 0;
  }
  .music-view-toolbar {
    margin-left: 0;
    align-self: flex-end;
  }
  .song-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
} /* 歌曲列表样式 */
.song-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.25rem;
}
.song-list--table {
  --song-col-idx: 2.35rem;
  --song-col-time: 3.35rem;
  --song-ink-title: var(--ink-primary);
  --song-ink-body: var(--ink-muted);
  --song-ink-muted: var(--ink-faint);
  --song-list-glass: var(--surface-1);
  --song-list-border: var(--border-subtle);
  --song-head-glass: var(--surface-2);
  --song-row-stripe: rgba(255, 255, 255, 0.035);
  --song-row-hover: rgba(var(--accent-rgb), 0.11);
  --song-row-a: transparent;
  --song-row-b: var(--song-row-stripe);
  border-radius: var(--radius-ios26-sm);
  overflow: hidden;
  background: var(--song-list-glass);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid var(--song-list-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    var(--shadow-soft);
}
html:not(.force-dark) .song-list--table,
html.force-light .song-list--table {
  --song-ink-title: var(--ink-primary);
  --song-ink-body: var(--ink-secondary);
  --song-ink-muted: var(--ink-muted);
  --song-list-glass: var(--surface-1);
  --song-list-border: var(--border-subtle);
  --song-head-glass: rgba(255, 255, 255, 0.28);
  --song-row-stripe: rgba(var(--accent-rgb), 0.04);
  --song-row-hover: rgba(var(--accent-rgb), 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    var(--shadow-soft);
}
html.glass-ios26 .song-list--table {
  background: var(--glass-fill, var(--song-list-glass));
  border-color: var(--glass-border, var(--song-list-border));
  backdrop-filter: blur(var(--glass-blur, 18px)) saturate(var(--glass-saturate, 1.35));
  -webkit-backdrop-filter: blur(var(--glass-blur, 18px)) saturate(var(--glass-saturate, 1.35));
  box-shadow: var(--glass-shadow, inset 0 1px 0 rgba(255, 255, 255, 0.07));
}
html:not(.force-dark).glass-ios26 .song-list--table,
html.force-light.glass-ios26 .song-list--table {
  --song-head-glass: rgba(255, 255, 255, 0.16);
}
.song-list-head,
.song-list--table .song-list-item {
  display: grid;
  grid-template-columns:
    var(--song-col-idx)
    minmax(0, 1.55fr)
    minmax(0, 1fr)
    var(--song-col-time);
  align-items: center;
  column-gap: 0.85rem;
  padding: 0.55rem 1rem;
}
.song-list-head {
  padding-top: 0.4rem;
  padding-bottom: 0.48rem;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-label);
  color: var(--song-ink-muted);
  background: var(--song-head-glass);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
html:not(.force-dark) .song-list-head,
html.force-light .song-list-head {
  border-bottom-color: var(--border-subtle);
}
html:not(.force-dark).glass-ios26 .song-list-head,
html.force-light.glass-ios26 .song-list-head {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border-bottom-color: rgba(var(--accent-rgb), 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.song-list-head__idx {
  min-width: 0;
}
.song-list-head__title,
.song-list-head__artist,
.song-list-head__duration {
  min-width: 0;
  justify-self: start;
  text-align: left;
}
.song-list-head__duration {
  min-width: var(--song-col-time);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.song-list-body {
  display: flex;
  flex-direction: column;
}
.song-list--table .song-list-item {
  border-radius: 0;
  padding-top: 0.58rem;
  padding-bottom: 0.58rem;
  transition:
    background 0.16s ease,
    color 0.16s ease;
}
.song-list--table .song-list-body .song-list-item:nth-child(odd) {
  background: var(--song-row-a);
}
.song-list--table .song-list-body .song-list-item:nth-child(even) {
  background: var(--song-row-b);
}
.song-list--table .song-list-body .song-list-item:hover {
  background: var(--song-row-hover);
}
.song-list--table .song-list-body .song-list-item.is-current {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.2) 0%,
    rgba(var(--accent-rgb), 0.05) 58%,
    transparent 100%
  );
}
html:not(.force-dark) .song-list--table .song-list-body .song-list-item.is-current,
html.force-light .song-list--table .song-list-body .song-list-item.is-current {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.14) 0%,
    rgba(255, 255, 255, 0.32) 55%,
    rgba(255, 255, 255, 0.12) 100%
  );
}
html.glass-ios26 .song-list--table .song-list-body .song-list-item.is-current {
  border-left: 2px solid rgba(var(--accent-rgb), 0.55);
  padding-left: calc(1rem - 2px);
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.16) 0%,
    rgba(255, 255, 255, 0.06) 60%
  );
}
html:not(.force-dark).glass-ios26 .song-list--table .song-list-body .song-list-item.is-current,
html.force-light.glass-ios26 .song-list--table .song-list-body .song-list-item.is-current {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.12) 0%,
    rgba(255, 255, 255, 0.36) 62%
  );
}
.song-list--table .song-list-item + .song-list-item::before {
  display: none;
}
.song-list-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: none;
  border-bottom: none;
  border-radius: var(--radius-ios26);
  background: transparent;
  cursor: pointer;
  transition: background 0.06s ease-out;
}
.song-list-item + .song-list-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.song-list-item .song-index {
  position: relative;
  z-index: 1;
  flex: none;
  text-align: center;
  color: var(--song-ink-muted, rgba(255, 255, 255, 0.5));
  font-size: 0.92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.song-list-item__main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}
.song-list-item .song-title {
  position: relative;
  z-index: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--song-ink-title, rgba(255, 255, 255, 0.94));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-list-item .song-artist {
  position: relative;
  z-index: 1;
  min-width: 0;
  font-size: 0.92rem;
  color: var(--song-ink-body, rgba(255, 255, 255, 0.55));
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-list-item .song-duration {
  position: relative;
  z-index: 1;
  flex: none;
  justify-self: start;
  min-width: var(--song-col-time, 3.35rem);
  text-align: left;
  font-size: 0.88rem;
  color: var(--song-ink-muted, rgba(255, 255, 255, 0.45));
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
body.player-fs-open {
  overflow: hidden;
}
.music-player-dock__art--open-fs.is-interactive {
  cursor: pointer;
  outline: none;
  transition:
    filter 0.18s ease,
    box-shadow 0.18s ease;
}
.music-player-dock__art--open-fs.is-interactive:focus-visible {
  box-shadow:
    0 0 0 2px rgba(var(--accent-rgb), 0.65),
    0 0 0 4px rgba(255, 255, 255, 0.35),
    0 4px 20px rgba(var(--accent-rgb), 0.2);
}
.music-player-dock__art--open-fs .player-album-art {
  pointer-events: none;
}
.player-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.player-fs-wallpaper {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: none;
}
.player-fullscreen.player-fullscreen--system.is-open .player-fs-wallpaper,
.player-fullscreen.player-fullscreen--window.is-open .player-fs-wallpaper,
#player-fullscreen:fullscreen .player-fs-wallpaper,
#player-fullscreen:-webkit-full-screen .player-fs-wallpaper {
  display: block;
}
.player-fullscreen--system.is-open .player-fullscreen__scrim,
.player-fullscreen--window.is-open .player-fullscreen__scrim {
  opacity: 0;
  pointer-events: none;
}
.player-fullscreen[hidden] {
  display: none !important;
}
.player-fullscreen__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.player-fullscreen--window .player-fullscreen__scrim {
  opacity: 0;
  pointer-events: none;
}
.player-fullscreen--window {
  align-items: stretch;
} /* 全屏面板：单区主列（内含双列 + 同宽进度条），整块垂直居中 */
.player-fullscreen__panel {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(66rem, calc(100vw - 1.25rem));
  max-height: min(94vh, 76rem);
  margin: 1rem;
  padding: 0.45rem 1rem 0;
  display: grid;
  grid-template-rows: auto;
  grid-template-areas: "fs-main";
  align-items: stretch;
  align-content: center;
  justify-items: stretch;
  gap: 0;
  min-height: 0;
  background: linear-gradient(165deg, #1e1e26 0%, #121218 100%);
  border-radius: var(--radius-ios26);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
}
.player-fullscreen__panel:fullscreen,
.player-fullscreen__panel:-webkit-full-screen,
#player-fullscreen:fullscreen .player-fullscreen__panel,
#player-fullscreen:-webkit-full-screen .player-fullscreen__panel {
  align-self: stretch;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: max(0.4rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px)) 0
    max(1rem, env(safe-area-inset-left, 0px));
  border: none;
  box-shadow: none;
  align-content: center;
}
.player-fullscreen--system .player-fullscreen__panel {
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: max(0.4rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px)) 0
    max(1rem, env(safe-area-inset-left, 0px));
  border: none;
  box-shadow: none;
  align-content: center;
}
.player-fullscreen--window .player-fullscreen__panel {
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  padding: max(0.4rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px)) 0
    max(1rem, env(safe-area-inset-left, 0px));
  border: none;
  box-shadow: none;
  align-content: center;
}
.player-fullscreen__seek--below-main {
  width: 100%;
  max-width: var(--player-fs-content-max, min(66rem, 100%));
  margin-inline: auto;
  box-sizing: border-box;
  flex: 0 0 auto;
  margin-top: 0;
  padding: 1rem 0 calc(1.15rem + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border-top: none;
  border-radius: 0;
}
.player-fullscreen__panel:fullscreen .player-fullscreen__seek--below-main,
.player-fullscreen__panel:-webkit-full-screen
  .player-fullscreen__seek--below-main,
#player-fullscreen:fullscreen .player-fullscreen__seek--below-main,
#player-fullscreen:-webkit-full-screen .player-fullscreen__seek--below-main {
  border-radius: 0;
}
.player-fullscreen__panel .player-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums;
  min-width: 3.1ch;
}
.player-fs-body {
  --player-fs-content-max: min(66rem, 100%);
  --player-fs-lyrics-box-height: min(calc(48rem * 0.8), calc(56vh * 0.8));
  grid-area: fs-main;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(1.5rem, 4.5vh, 2.5rem);
  min-height: 0;
  flex: 0 1 auto;
  padding: clamp(2.65rem, 6vh, 3.65rem) clamp(1rem, 4.5vw, 2rem)
    clamp(0.55rem, 2.2vh, 1rem);
  box-sizing: border-box;
} /* 左列轨宽与封面同宽（clamp 与 .player-fs-cover 一致） */
.player-fs-main-grid {
  --player-fs-cover-w: clamp(22rem, 42vw, 24.2rem);
  display: grid;
  grid-template-columns: var(--player-fs-cover-w) minmax(0, 5.25fr);
  align-items: stretch;
  gap: clamp(2.025rem, 6.75vw, 4.8rem);
  width: 100%;
  max-width: var(--player-fs-content-max);
  max-height: 100%;
  margin-inline: auto;
  flex: 0 1 auto;
  min-height: 0;
  min-width: 0;
}
.player-fs-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.player-fs-under-cover-controls {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.player-fs-controls--under-cover {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.43rem;
  padding: 0.45rem 0 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.player-fs-main-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.05rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
  text-align: center;
}
.player-fs-cover {
  position: relative;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: var(--radius-ios26-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.player-fs-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.65rem;
  box-sizing: border-box;
  border-radius: inherit;
  font-size: clamp(0.82rem, 2.1vw, 1.02rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  background: rgba(18, 18, 24, 0.55);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.player-fs-cover:focus-visible::after {
  opacity: 1;
}
#player-fullscreen.player-fullscreen--system .player-fs-cover::after {
  content: "退出全屏";
}
#player-fullscreen.player-fullscreen--window .player-fs-cover::after {
  content: "退出最大化";
}
.player-fs-cover:focus {
  outline: none;
}
.player-fs-cover:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.85);
  outline-offset: 3px;
}
.player-fs-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.player-fs-track-head {
  flex: 0 0 auto;
  text-align: center;
  padding: 0;
  margin: 0 0 0.15rem;
  width: 100%;
}
.player-fs-title {
  margin: 0;
  font-size: clamp(1.55rem, 4.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.2;
}
.player-fs-artist {
  margin: 0.42rem 0 0;
  font-size: 1.12rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.3;
}
.player-fs-lyrics-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  height: var(--player-fs-lyrics-box-height);
  min-height: var(--player-fs-lyrics-box-height);
  max-height: var(--player-fs-lyrics-box-height);
  margin-top: 0.55rem;
  justify-content: flex-start;
}
.player-fs-lyrics {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  text-align: center;
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  box-sizing: border-box;
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.player-fs-lyrics::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.player-fs-lyric-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  font-size: 1.08rem;
  line-height: 1.58;
  padding: 0.22rem 0.4rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  transition:
    color 0.15s ease,
    opacity 0.15s ease,
    font-size 0.15s ease;
  word-break: break-word;
}
.player-fs-lyric-line.is-past {
  opacity: 0.45;
  color: rgba(255, 255, 255, 0.28);
}
.player-fs-lyric-line.is-current {
  /* 大于非当前歌词，且小于 .player-fs-title（min 1.55rem） */
  font-size: clamp(1.28rem, 3.2vw, 1.45rem);
  font-weight: 700;
  color: var(--accent-solid-hover);
  opacity: 1;
}
.player-fs-lyric-line.is-current .player-lyric-primary {
  color: var(--accent-solid-hover);
}
.player-fs-lyric-line.is-current .player-lyric-translation {
  color: rgba(var(--accent-rgb), 0.7);
  font-weight: 500;
}
.player-fs-lyric-line.is-future {
  opacity: 0.62;
  color: rgba(255, 255, 255, 0.4);
}
.player-fs-lyric-line.is-empty {
  min-height: 1.45em;
}
.player-fs-controls--bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.68rem;
}
.player-fs-play-btn--bar {
  flex: 0 0 auto;
}
/* 全屏控制键：与底栏同图标/圆钮比例，再整体放大 */
#player-fullscreen .player-fs-controls--under-cover {
  --fs-ctrl-scale: 1.28;
  gap: calc(0.45rem * var(--fs-ctrl-scale));
}
#player-fullscreen .player-fs-controls--under-cover .player-skip-btn,
#player-fullscreen .player-fs-controls--under-cover .player-lyric-trans-btn,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-mode-cycle-btn.player-fs-mode-cycle,
#player-fullscreen .player-fs-controls--under-cover .player-fs-play-btn--bar {
  flex: 0 0 auto;
}
#player-fullscreen .player-fs-controls--under-cover .player-skip-btn,
#player-fullscreen .player-fs-controls--under-cover .player-lyric-trans-btn,
#player-fullscreen
  .player-fs-controls--under-cover
  .player-mode-cycle-btn.player-fs-mode-cycle {
  width: calc(2.5rem * var(--fs-ctrl-scale));
  height: calc(2.5rem * var(--fs-ctrl-scale));
  font-size: calc(1rem * var(--fs-ctrl-scale));
  border-radius: 50%;
}
#player-fullscreen .player-fs-controls--under-cover .player-fs-play-btn--bar {
  width: calc(3.25rem * var(--fs-ctrl-scale));
  height: calc(3.25rem * var(--fs-ctrl-scale));
  font-size: calc(1.1rem * var(--fs-ctrl-scale));
}
#player-fullscreen .player-fs-controls--under-cover .player-mode-cycle__one {
  font-size: calc(0.5rem * var(--fs-ctrl-scale));
  right: calc(3px * var(--fs-ctrl-scale));
  bottom: calc(3px * var(--fs-ctrl-scale));
}
.player-fullscreen__seek {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  width: 100%;
}

@media (max-width: 560px) {
  .player-fs-body {
    justify-content: flex-start;
    gap: clamp(1.1rem, 3.5vh, 1.9rem);
    padding: 2.1rem clamp(0.85rem, 4vw, 1.35rem) 0.55rem;
    --player-fs-lyrics-box-height: min(calc(36rem * 0.8), calc(52vh * 0.8));
  }
  .player-fs-main-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    align-items: stretch;
    gap: 1.575rem;
    max-width: 100%;
    flex: 1 1 auto;
  }
  .player-fs-left-col {
    align-items: center;
    justify-content: flex-start;
    height: auto;
  }
  .player-fs-under-cover-controls {
    width: 100%;
    max-width: 100%;
  }
  .player-fs-cover {
    max-width: min(calc(22rem * 1.1), calc(92vw * 1.1));
    width: 100%;
  }
  .player-fs-main-right {
    width: 100%;
  }
  .player-fs-track-head {
    text-align: center;
  }
  .player-fs-lyrics {
    text-align: center;
  }
}
.player-fullscreen__panel:fullscreen .player-fs-lyric-line.is-current,
.player-fullscreen__panel:-webkit-full-screen .player-fs-lyric-line.is-current,
#player-fullscreen:fullscreen .player-fs-lyric-line.is-current,
#player-fullscreen:-webkit-full-screen .player-fs-lyric-line.is-current {
  font-size: clamp(1.28rem, 3vmin, 1.45rem);
}
.song-list-item.is-current {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.16) 0%,
    rgba(22, 26, 34, 0.55) 55%
  );
}
.song-list-item--flash,
.music-track--flash {
  animation: song-list-item-flash 1.35s ease-out 1;
}

@keyframes song-list-item-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.65);
    background-color: rgba(var(--accent-rgb), 0.28);
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
    background-color: transparent;
  }
}

/* 壁纸预览层 */
/** 主题页 — 网格、分组、类型切换、搜索 */ /* Thumbnails（壁纸 / 主题 / 备份等共用） */

.thumbnails.thumbnails--theme {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.65rem);
  position: relative;
  margin: 0 0 2em 0;
}
.thumbnails.thumbnails--theme a {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  border-radius: var(--radius-ios26);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 20, 0.55);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  outline: 0;
  overflow: hidden;
  font-weight: normal;
  color: inherit;
}
.thumbnails.thumbnails--theme a img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex-shrink: 0;
} /* 色卡 / 方形封面：1:1 比例 */
.thumbnails.thumbnails--theme a.wallpaper-card--color .thumbnail-media img,
.thumbnails.thumbnails--theme a.wallpaper-card--color .thumbnail-media video {
  aspect-ratio: 1 / 1;
}
.thumbnails.thumbnails--theme a h3 {
  margin: 0;
  padding: 0.7rem 0.9rem 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}
.thumbnails.thumbnails--theme a > img + h3 {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.65rem;
}
.thumbnails.thumbnails--theme a h3:first-child {
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
}
.thumbnails.thumbnails--theme a h6 {
  margin: 0;
  padding: 0 0.85rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}
.thumbnails.thumbnails--theme a h3 + h6 {
  padding-top: 0.1rem;
} /* 壁纸 / 专辑网格：仅封面，标题 hover 叠在图上 */
.thumbnails.thumbnails--theme a.wallpaper-card,
.thumbnails.thumbnails--theme.thumbnails--square-cover a.music-album-card {
  display: block;
}
.thumbnails.thumbnails--theme a .thumbnail-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}
.thumbnails.thumbnails--theme a.wallpaper-card .thumbnail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
  z-index: 1;
}
.thumbnails.thumbnails--theme
  a.wallpaper-card:focus-visible
  .thumbnail-media::after {
  opacity: 1;
}
.thumbnails.thumbnails--theme a .thumbnail-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 2.1rem 0.75rem 0.6rem;
  border: none;
  border-top: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 42%,
    rgba(0, 0, 0, 0.78) 100%
  );
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  opacity: 0;
  transform: translateY(0.25rem);
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out,
    color 0.18s ease-out;
  pointer-events: none;
}
.thumbnails.thumbnails--theme a.wallpaper-card:focus-visible .thumbnail-caption,
.thumbnails.thumbnails--theme.thumbnails--square-cover
  a.music-album-card:focus-visible
  .thumbnail-caption {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255, 255, 255, 0.98);
} /* 音乐专辑列表：封面保持 1:1（壁纸等仍为 16/10） */
.thumbnails.thumbnails--theme.thumbnails--square-cover a {
  min-width: 0;
}
.thumbnails.thumbnails--theme.thumbnails--square-cover a .thumbnail-media img {
  aspect-ratio: 1 / 1;
}
.thumbnails.thumbnails--theme.thumbnails--square-cover
  .music-album-cover-wrap--card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.06s ease-out;
  pointer-events: none;
  z-index: 1;
}
.thumbnails.thumbnails--theme.thumbnails--square-cover
  .music-album-cover-wrap--card
  .music-hover-play {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%) scale(0.88);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .thumbnails.thumbnails--theme a {
    transform: none;
  }
  .thumbnails.thumbnails--theme a .thumbnail-caption,
  .thumbnails.thumbnails--theme a.wallpaper-card .thumbnail-media::after,
  .thumbnails.thumbnails--theme.thumbnails--square-cover
    .music-album-cover-wrap--card::after {
    transition-duration: 0.01ms;
  }
}
.category-header {
  display: grid;
  grid-column: 1 / -1; /*跨越所有列，不依赖于具体的列数，自动占满整行。*/
  margin: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-ios26);
}

@media screen and (max-width: 480px) {
  .thumbnails.thumbnails--theme {
    grid-template-columns: 1fr !important;
  }
  .thumbnails.thumbnails--theme > div {
    width: 100%;
  }
  .thumbnails.thumbnails--theme a h3 {
    padding: 0.55rem 0.75rem 0.5rem;
  }
}
.page-type-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 1.15rem;
}
.music-page-search,
.music-album-search,
.music-songs-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  margin: 0 0 1.15rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--music-search-shell-border);
  background: var(--music-search-shell-bg);
  backdrop-filter: blur(var(--music-search-shell-blur, 0px));
  -webkit-backdrop-filter: blur(var(--music-search-shell-blur, 0px));
  box-shadow: var(--music-search-shell-shadow, none);
  box-sizing: border-box;
}
.music-page-search[hidden],
.music-album-search[hidden],
.music-songs-search[hidden] {
  display: none !important;
}
.music-page-search__input,
.music-album-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--music-search-input-color);
  font: inherit;
  font-size: var(--music-search-input-size);
  font-weight: 500;
  line-height: 1.4;
  outline: none;
}
.music-page-search__input::-webkit-input-placeholder,
.music-album-search__input::-webkit-input-placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}
.music-page-search__input::-moz-placeholder,
.music-album-search__input::-moz-placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}
.music-page-search__input::placeholder,
.music-album-search__input::placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}
.music-page-search__clear,
.music-page-search__close,
.music-album-search__close {
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--music-search-action-bg);
  color: var(--music-search-action-color);
  cursor: pointer;
}
.music-page-search__clear[hidden] {
  display: none !important;
}
.music-albums-empty {
  margin: -0.5rem 0 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.52);
}
.music-albums-empty[hidden] {
  display: none !important;
}
.page-items-empty {
  margin: -0.35rem 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-ios26-sm);
  background: var(--surface-1);
  color: var(--ink-muted);
  font-size: var(--text-sm);
  text-align: center;
}
.page-items-empty[hidden] {
  display: none !important;
}

/* 主题 / 备份 · 按首字母分组，组内块状卡片横向排列 */
.resource-list {
  --resource-ink-title: var(--ink-primary, rgba(255, 255, 255, 0.94));
  --resource-ink-muted: var(--ink-muted, rgba(255, 255, 255, 0.52));
  --resource-card-bg: rgba(255, 255, 255, 0.06);
  --resource-card-border: rgba(255, 255, 255, 0.1);
  --resource-card-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 0 0 2.25em;
}
html:not(.force-dark) .resource-list,
html.force-light .resource-list {
  --resource-ink-title: rgba(22, 28, 38, 0.94);
  --resource-ink-muted: rgba(55, 64, 78, 0.62);
  --resource-card-bg: rgba(255, 255, 255, 0.78);
  --resource-card-border: rgba(40, 52, 68, 0.12);
  --resource-card-shadow: 0 8px 24px rgba(30, 45, 72, 0.08);
}
.resource-list-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  scroll-margin-top: 5.5rem;
}
.resource-list-index-wrap {
  display: inline-flex;
  align-items: center;
}
button.resource-list-index,
.resource-list-index {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  font: inherit;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--resource-ink-title);
  cursor: default;
}
button.resource-list-index {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
button.resource-list-index:hover,
button.resource-list-index[aria-expanded="true"] {
  color: rgb(var(--accent-rgb));
  background: rgba(var(--accent-rgb), 0.12);
}
button.resource-list-index:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.5);
  outline-offset: 2px;
}

/* 字母跳转 · 全屏遮罩，仅保留字母按钮 */
.resource-letter-overlay {
  position: fixed;
  inset: 0;
  z-index: 10040;
  pointer-events: none;
}
.resource-letter-overlay:not([hidden]) {
  pointer-events: auto;
}
body.resource-letter-overlay-open {
  overflow: hidden;
}
.resource-letter-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.52);
  opacity: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    opacity 0.28s ease,
    backdrop-filter 0.32s ease,
    -webkit-backdrop-filter 0.32s ease;
}
.resource-letter-overlay.is-visible .resource-letter-overlay__backdrop {
  opacity: 1;
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}
.resource-letter-overlay__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.resource-letter-overlay__grid {
  pointer-events: auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  width: min(22rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  transform: translateY(-10px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease;
}
.resource-letter-overlay.is-visible .resource-letter-overlay__grid {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.resource-letter-overlay__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-height: 2.45rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: transparent;
  color: #f2f2f5;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease,
    box-shadow 0.12s ease,
    transform 0.12s ease;
}
.resource-letter-overlay__btn:hover:not(:disabled),
.resource-letter-overlay__btn:focus-visible:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  outline: none;
}
.resource-letter-overlay__btn:active:not(:disabled) {
  transform: scale(0.96);
}
/* 当前字母：白字 + 强调描边（不用紫色字，避免和置灰混淆） */
.resource-letter-overlay__btn.is-active:not(:disabled) {
  background: rgba(var(--accent-rgb), 0.22);
  border-color: rgb(var(--accent-rgb));
  color: #fff;
  box-shadow:
    0 0 0 2px rgba(var(--accent-rgb), 0.4),
    0 0 20px rgba(var(--accent-rgb), 0.35);
}
/* 深色默认：可用=浅字，置灰=更淡的浅字
   必须盖过 main.css 的 button:disabled { color:#000 !important } */
.resource-letter-overlay__btn:disabled,
.resource-letter-overlay__btn.is-disabled {
  opacity: 1 !important;
  color: rgba(255, 255, 255, 0.42) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.42);
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-weight: 500;
  cursor: default;
  pointer-events: none;
}
/* 浅色：整套反转——可用=深字，置灰=更淡的深字 */
@media (prefers-color-scheme: light) {
  html:not(.force-dark) .resource-letter-overlay__backdrop {
    background: rgba(20, 28, 42, 0.28);
  }
  html:not(.force-dark) .resource-letter-overlay__btn {
    background: transparent;
    border-color: rgba(40, 52, 68, 0.28);
    color: rgba(22, 28, 38, 0.92);
  }
  html:not(.force-dark) .resource-letter-overlay__btn:hover:not(:disabled),
  html:not(.force-dark) .resource-letter-overlay__btn:focus-visible:not(:disabled) {
    background: rgba(40, 52, 68, 0.06);
    border-color: rgba(40, 52, 68, 0.42);
    color: rgba(18, 24, 32, 0.98);
  }
  html:not(.force-dark) .resource-letter-overlay__btn.is-active:not(:disabled) {
    background: rgba(var(--accent-rgb), 0.14);
    border-color: rgb(var(--accent-rgb));
    color: rgba(18, 24, 32, 0.98);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.22);
  }
  html:not(.force-dark) .resource-letter-overlay__btn:disabled,
  html:not(.force-dark) .resource-letter-overlay__btn.is-disabled {
    opacity: 1 !important;
    color: rgba(40, 52, 68, 0.4) !important;
    -webkit-text-fill-color: rgba(40, 52, 68, 0.4);
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }
}
html.force-light .resource-letter-overlay__backdrop {
  background: rgba(20, 28, 42, 0.28);
}
html.force-light .resource-letter-overlay__btn {
  background: transparent;
  border-color: rgba(40, 52, 68, 0.28);
  color: rgba(22, 28, 38, 0.92);
}
html.force-light .resource-letter-overlay__btn:hover:not(:disabled),
html.force-light .resource-letter-overlay__btn:focus-visible:not(:disabled) {
  background: rgba(40, 52, 68, 0.06);
  border-color: rgba(40, 52, 68, 0.42);
  color: rgba(18, 24, 32, 0.98);
}
html.force-light .resource-letter-overlay__btn.is-active:not(:disabled) {
  background: rgba(var(--accent-rgb), 0.14);
  border-color: rgb(var(--accent-rgb));
  color: rgba(18, 24, 32, 0.98);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.22);
}
html.force-light .resource-letter-overlay__btn:disabled,
html.force-light .resource-letter-overlay__btn.is-disabled {
  opacity: 1 !important;
  color: rgba(40, 52, 68, 0.4) !important;
  -webkit-text-fill-color: rgba(40, 52, 68, 0.4);
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .resource-letter-overlay__backdrop,
  .resource-letter-overlay__grid {
    transition: none;
  }
  .resource-letter-overlay:not(.is-visible) .resource-letter-overlay__grid {
    transform: none;
    opacity: 0;
  }
}
.resource-list-group__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.75rem, 1fr));
  gap: clamp(0.65rem, 1.6vw, 0.9rem);
  align-items: stretch;
}
.resource-list-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: 0;
  min-height: 3.65rem;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--resource-card-border);
  border-radius: var(--radius-ios26-sm);
  background: var(--resource-card-bg);
  box-shadow: var(--resource-card-shadow);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  outline: 0;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}
html.glass-ios26 .resource-list-card {
  background: linear-gradient(
    155deg,
    rgba(var(--accent-rgb), 0.1) 0%,
    rgba(255, 255, 255, 0.07) 48%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border-color: var(--glass-border-subtle, var(--resource-card-border));
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
html:not(.force-dark).glass-ios26 .resource-list-card,
html.force-light.glass-ios26 .resource-list-card {
  background: linear-gradient(
    155deg,
    rgba(var(--accent-rgb), 0.08) 0%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.58) 100%
  );
  border-color: rgba(var(--accent-rgb), 0.18);
  box-shadow:
    0 8px 24px rgba(30, 45, 72, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.resource-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.38);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(var(--accent-rgb), 0.08);
}
html:not(.force-dark) .resource-list-card:hover,
html.force-light .resource-list-card:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 12px 30px rgba(30, 45, 72, 0.12),
    0 0 0 1px rgba(var(--accent-rgb), 0.08);
}
.resource-list-card:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.5);
  outline-offset: 2px;
}
.resource-list-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  max-width: 100%;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--resource-ink-title);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

@media screen and (max-width: 980px) {
  .resource-list-group__cards {
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  }
}

@media screen and (max-width: 480px) {
  .resource-list {
    gap: 1.35rem;
  }
  .resource-list-index,
  button.resource-list-index {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.25rem;
  }
  .resource-letter-overlay__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.35rem;
    width: min(20rem, calc(100vw - 1.5rem));
  }
  .resource-letter-overlay__btn {
    min-height: 2.25rem;
    font-size: 0.92rem;
  }
  .resource-list-group__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .resource-list-card {
    min-height: 3.35rem;
    padding: 0.6rem 0.7rem;
  }
  .resource-list-card__title {
    font-size: 0.82rem;
  }
}
/** 备份页 — 当前与主题页一致 */ /* Thumbnails（壁纸 / 主题 / 备份等共用） */

.thumbnails.thumbnails--backup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.65rem);
  position: relative;
  margin: 0 0 2em 0;
}
.thumbnails.thumbnails--backup a {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  border-radius: var(--radius-ios26);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 20, 0.55);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  outline: 0;
  overflow: hidden;
  font-weight: normal;
  color: inherit;
}
.thumbnails.thumbnails--backup a img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex-shrink: 0;
} /* 色卡 / 方形封面：1:1 比例 */
.thumbnails.thumbnails--backup a.wallpaper-card--color .thumbnail-media img,
.thumbnails.thumbnails--backup a.wallpaper-card--color .thumbnail-media video {
  aspect-ratio: 1 / 1;
}
.thumbnails.thumbnails--backup a h3 {
  margin: 0;
  padding: 0.7rem 0.9rem 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}
.thumbnails.thumbnails--backup a > img + h3 {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.65rem;
}
.thumbnails.thumbnails--backup a h3:first-child {
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
}
.thumbnails.thumbnails--backup a h6 {
  margin: 0;
  padding: 0 0.85rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}
.thumbnails.thumbnails--backup a h3 + h6 {
  padding-top: 0.1rem;
} /* 壁纸 / 专辑网格：仅封面，标题 hover 叠在图上 */
.thumbnails.thumbnails--backup a.wallpaper-card,
.thumbnails.thumbnails--backup.thumbnails--square-cover a.music-album-card {
  display: block;
}
.thumbnails.thumbnails--backup a .thumbnail-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}
.thumbnails.thumbnails--backup a.wallpaper-card .thumbnail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
  z-index: 1;
}
.thumbnails.thumbnails--backup
  a.wallpaper-card:focus-visible
  .thumbnail-media::after {
  opacity: 1;
}
.thumbnails.thumbnails--backup a .thumbnail-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 2.1rem 0.75rem 0.6rem;
  border: none;
  border-top: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 42%,
    rgba(0, 0, 0, 0.78) 100%
  );
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  opacity: 0;
  transform: translateY(0.25rem);
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out,
    color 0.18s ease-out;
  pointer-events: none;
}
.thumbnails.thumbnails--backup
  a.wallpaper-card:focus-visible
  .thumbnail-caption,
.thumbnails.thumbnails--backup.thumbnails--square-cover
  a.music-album-card:focus-visible
  .thumbnail-caption {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255, 255, 255, 0.98);
} /* 音乐专辑列表：封面保持 1:1（壁纸等仍为 16/10） */
.thumbnails.thumbnails--backup.thumbnails--square-cover a {
  min-width: 0;
}
.thumbnails.thumbnails--backup.thumbnails--square-cover a .thumbnail-media img {
  aspect-ratio: 1 / 1;
}
.thumbnails.thumbnails--backup.thumbnails--square-cover
  .music-album-cover-wrap--card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.06s ease-out;
  pointer-events: none;
  z-index: 1;
}
.thumbnails.thumbnails--backup.thumbnails--square-cover
  .music-album-cover-wrap--card
  .music-hover-play {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%) scale(0.88);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .thumbnails.thumbnails--backup a {
    transform: none;
  }
  .thumbnails.thumbnails--backup a .thumbnail-caption,
  .thumbnails.thumbnails--backup a.wallpaper-card .thumbnail-media::after,
  .thumbnails.thumbnails--backup.thumbnails--square-cover
    .music-album-cover-wrap--card::after {
    transition-duration: 0.01ms;
  }
}
.category-header {
  display: grid;
  grid-column: 1 / -1; /*跨越所有列，不依赖于具体的列数，自动占满整行。*/
  margin: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-ios26);
}

@media screen and (max-width: 480px) {
  .thumbnails.thumbnails--backup {
    grid-template-columns: 1fr !important;
  }
  .thumbnails.thumbnails--backup > div {
    width: 100%;
  }
  .thumbnails.thumbnails--backup a h3 {
    padding: 0.55rem 0.75rem 0.5rem;
  }
}
.page-type-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 1.15rem;
}
.music-page-search,
.music-album-search,
.music-songs-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  margin: 0 0 1.15rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--music-search-shell-border);
  background: var(--music-search-shell-bg);
  backdrop-filter: blur(var(--music-search-shell-blur, 0px));
  -webkit-backdrop-filter: blur(var(--music-search-shell-blur, 0px));
  box-shadow: var(--music-search-shell-shadow, none);
  box-sizing: border-box;
}
.music-page-search[hidden],
.music-album-search[hidden],
.music-songs-search[hidden] {
  display: none !important;
}
.music-page-search__input,
.music-album-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--music-search-input-color);
  font: inherit;
  font-size: var(--music-search-input-size);
  font-weight: 500;
  line-height: 1.4;
  outline: none;
}
.music-page-search__input::-webkit-input-placeholder,
.music-album-search__input::-webkit-input-placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}
.music-page-search__input::-moz-placeholder,
.music-album-search__input::-moz-placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}
.music-page-search__input::placeholder,
.music-album-search__input::placeholder {
  color: var(--music-search-placeholder-color) !important;
  opacity: 1;
}
.music-page-search__clear,
.music-page-search__close,
.music-album-search__close {
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--music-search-action-bg);
  color: var(--music-search-action-color);
  cursor: pointer;
}
.music-page-search__clear[hidden] {
  display: none !important;
}
.music-albums-empty {
  margin: -0.5rem 0 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.52);
}
.music-albums-empty[hidden] {
  display: none !important;
}
.page-items-empty {
  margin: -0.35rem 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-ios26-sm);
  background: var(--surface-1);
  color: var(--ink-muted);
  font-size: var(--text-sm);
  text-align: center;
}
.page-items-empty[hidden] {
  display: none !important;
}
/**
 * 全站响应式断点与触摸交互 — 宽度相关 @media 仅在此文件维护。
 *
 * 980px   tablet   平板
 * 560px   sm-phone 全屏播放器单列布局
 * 480px   phone    手机（紧凑播放器、双列网格等）
 * 顶栏五标题：由 JS 测量后切换 html.header-nav-compact（不再用固定宽度断点）
 * JS 配套：src/breakpoints.js、src/header.js
 */

.music-hover-play {
  display: none !important;
}

.thumbnails a .thumbnail-caption,
.thumbnails a.wallpaper-card .thumbnail-media::after,
.thumbnails.thumbnails--square-cover .music-album-cover-wrap--card::after {
  opacity: 1;
  transform: translateY(0);
}

/* —— ≤ 980px · 平板 —— */
@media screen and (max-width: 980px) {
  h1 br,
  h2 br,
  h3 br,
  h4 br,
  h5 br,
  h6 br {
    display: none;
  }

  #header {
    padding-top: clamp(3rem, 8vw, 4em);
    padding-bottom: clamp(1rem, 3vw, 1.45em);
  }

  #header .avatar img {
    width: clamp(7rem, 22vw, 10em);
  }

  #header .title {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .copyright {
    padding: 2em 0 2em 0;
  }

  .thumbnails--theme,
  .thumbnails--backup,
  .thumbnails--music-albums {
    --grid-cols: 4 !important;
  }

  .thumbnails--photo-wallpaper {
    --grid-cols: 3 !important;
  }

  .thumbnails--photo-color {
    --grid-cols: 4 !important;
  }

  #header h1.title {
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
    font-family:
      system-ui,
      -apple-system,
      "Segoe UI",
      "Helvetica Neue",
      Arial,
      "Source Han Sans SC",
      sans-serif !important;
    font-weight: 600 !important;
    -webkit-text-fill-color: currentColor !important;
  }

  #header h1.title strong {
    position: relative;
    z-index: 1;
    color: inherit !important;
  }

  html:not(.force-dark) #header h1.title,
  html.force-light #header h1.title {
    color: #121820 !important;
  }

  html.force-dark #header h1.title,
  html.glass-ios26.force-dark #header h1.title {
    color: #ffffff !important;
  }

  :root {
    --header-pinned-gap: 1rem;
  }

  #header ul.icons.header-actions {
    --header-action-btn-size: 2.55em;
    --header-actions-gap: 0.7em;
    row-gap: 0.45em;
  }

  #header ul.icons.header-actions li {
    padding: 0;
    width: var(--header-action-btn-size);
  }

  #header ul.icons.header-actions .header-action-btn.icon.style {
    width: var(--header-action-btn-size);
    height: var(--header-action-btn-size);
    min-width: var(--header-action-btn-size);
    max-width: var(--header-action-btn-size);
  }

  #header-sticky .header-sticky-settings {
    padding: 0;
  }

  .copyright {
    padding: 2.5em 0 3em;
  }

  .wallpaper-viewer__nav {
    width: 3rem;
    height: 3rem;
  }

  .wallpaper-viewer__footer {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
}

/* —— ≤ 560px · 全屏播放器单列（封面唱片 → 曲名 → 歌手 → 歌词 → 进度 → 控制） —— */
@media screen and (max-width: 560px) {
  .thumbnails--theme,
  .thumbnails--backup,
  .thumbnails--music-albums,
  .thumbnails--photo-wallpaper,
  .thumbnails--photo-color {
    --grid-cols: 3 !important;
  }

  #player-fullscreen.is-open .player-fullscreen__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 100%;
    min-height: 100dvh;
    height: 100%;
    max-height: none;
    margin: 0;
    /* 安全区只在面板统一加，避免和内部双重 padding 导致偏斜 */
    padding:
      max(0.75rem, env(safe-area-inset-top, 0px))
      max(0.75rem, env(safe-area-inset-right, 0px))
      max(0.75rem, env(safe-area-inset-bottom, 0px))
      max(0.75rem, env(safe-area-inset-left, 0px));
    align-content: stretch;
    overflow: hidden;
  }

  #player-fullscreen.is-open.player-fullscreen--system .player-fullscreen__panel,
  #player-fullscreen.is-open.player-fullscreen--window .player-fullscreen__panel,
  #player-fullscreen:fullscreen .player-fullscreen__panel,
  #player-fullscreen:-webkit-full-screen .player-fullscreen__panel {
    padding:
      max(0.75rem, env(safe-area-inset-top, 0px))
      max(0.75rem, env(safe-area-inset-right, 0px))
      max(0.75rem, env(safe-area-inset-bottom, 0px))
      max(0.75rem, env(safe-area-inset-left, 0px));
  }

  #player-fullscreen.player-fullscreen--window.is-open .player-fullscreen__panel {
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  #player-fullscreen .player-fs-body {
    --player-fs-section-gap: 0.75rem;
    --player-fs-content-width: min(17.5rem, calc(100% - 1.5rem));
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "cover"
      "meta"
      "lyrics"
      "seek"
      "controls";
    align-items: center;
    justify-items: center;
    justify-content: center;
    gap: var(--player-fs-section-gap);
    padding: 0.5rem 0;
    box-sizing: border-box;
  }

  #player-fullscreen .player-fs-main-grid,
  #player-fullscreen .player-fs-left-col,
  #player-fullscreen .player-fs-main-right {
    display: contents;
  }

  #player-fullscreen .player-fs-cover {
    grid-area: cover;
    width: var(--player-fs-content-width);
    max-width: var(--player-fs-content-width);
    aspect-ratio: 1;
    margin-inline: auto;
    justify-self: center;
    border-radius: 50%;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
      radial-gradient(circle at 50% 50%, #12121a 0%, #050508 100%);
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.1),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  #player-fullscreen .player-fs-vinyl-disc {
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  }

  #player-fullscreen .player-fs-art {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #player-fullscreen .player-fs-vinyl-groove {
    opacity: 1;
    background:
      repeating-radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.035) 0,
        rgba(255, 255, 255, 0.035) 1px,
        transparent 2px,
        transparent 4px
      );
  }

  #player-fullscreen .player-fs-track-head {
    grid-area: meta;
    flex: 0 0 auto;
    width: 100%;
    max-width: var(--player-fs-content-width);
    margin-inline: auto;
    justify-self: center;
    text-align: center;
  }

  #player-fullscreen .player-fs-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  #player-fullscreen .player-fs-artist {
    margin-top: 0.35rem;
    font-size: 0.95rem;
  }

  #player-fullscreen .player-fs-lyrics-wrap {
    grid-area: lyrics;
    flex: 0 1 auto;
    width: 100%;
    max-width: var(--player-fs-content-width);
    margin-inline: auto;
    justify-self: center;
    min-height: 3rem;
    height: auto;
    max-height: none;
  }

  #player-fullscreen .player-fs-lyrics {
    flex: 0 1 auto;
    min-height: 0;
    max-height: 9.5rem;
    width: 100%;
    text-align: center;
    padding-top: 0;
  }

  #player-fullscreen .player-fs-lyric-line {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  #player-fullscreen .player-fs-lyric-line.is-current {
    font-size: clamp(1.05rem, 3.8vw, 1.22rem);
  }

  #player-fullscreen .player-fullscreen__seek--below-main {
    grid-area: seek;
    width: 100%;
    max-width: var(--player-fs-content-width);
    margin-inline: auto;
    justify-self: center;
    padding: 0.35rem 0 0;
    background: transparent;
    border-top: none;
    border-radius: 0;
  }

  #player-fullscreen .player-fs-under-cover-controls {
    grid-area: controls;
    width: 100%;
    max-width: var(--player-fs-content-width);
    margin-inline: auto;
    justify-self: center;
    display: flex;
    justify-content: center;
    padding-bottom: 0;
  }

  #player-fullscreen .player-fs-controls--under-cover {
    padding-top: 0;
    gap: 0.55rem;
    justify-content: center;
  }
}

/* —— 顶栏导航 · 五标题放不下时由 JS 加上 html.header-nav-compact —— */
/* 紧凑态二级菜单为 body 层 #header-nav-menu（与搜索/设置同构），见 main.css */
html.header-nav-compact .header-sticky-nav-toggle {
  display: inline-flex;
  max-width: min(11.5rem, calc(100vw - 6.25rem));
}

html.header-nav-compact .header-sticky-nav-panel {
  display: none !important;
}

html.header-nav-compact:not(.force-dark) .header-sticky-nav-toggle,
html.header-nav-compact:not(.force-dark) .header-sticky-nav-toggle:hover,
html.header-nav-compact:not(.force-dark) .header-sticky-nav-toggle:active,
html.header-nav-compact:not(.force-dark) .header-sticky-nav-toggle:focus,
html.header-nav-compact:not(.force-dark) .header-sticky-nav-toggle:focus-visible,
html.header-nav-compact:not(.force-dark) .header-sticky-nav-toggle[aria-expanded="true"] {
  color: rgba(28, 36, 48, 0.92);
  background: transparent;
  background-color: transparent;
  background-image: none;
}

html.header-nav-compact.force-light .header-sticky-nav-toggle,
html.header-nav-compact.force-light .header-sticky-nav-toggle:hover,
html.header-nav-compact.force-light .header-sticky-nav-toggle:active,
html.header-nav-compact.force-light .header-sticky-nav-toggle:focus,
html.header-nav-compact.force-light .header-sticky-nav-toggle:focus-visible,
html.header-nav-compact.force-light .header-sticky-nav-toggle[aria-expanded="true"] {
  color: rgba(28, 36, 48, 0.92);
  background: transparent;
  background-color: transparent;
  background-image: none;
}

/* —— ≤ 480px · 手机（紧凑播放器 + 双列网格） —— */
@media screen and (max-width: 480px) {
  html,
  body {
    min-width: 320px;
  }

  #header {
    padding-top: clamp(2rem, 6vw, 3rem);
    padding-bottom: 0.85rem;
  }

  #header .avatar img {
    width: clamp(5.5rem, 28vw, 7rem);
  }

  #header .header-mid {
    --header-mid-h: calc(var(--text-2xl) * var(--leading-tight));
    margin-bottom: 1.15em;
  }

  #header h1.title {
    line-height: var(--leading-tight);
  }

  #header-sticky .header-sticky-settings {
    padding: 0;
  }

  .thumbnails--theme,
  .thumbnails--backup,
  .thumbnails--music-albums,
  .thumbnails--photo-wallpaper,
  .thumbnails--photo-color {
    --grid-cols: 2 !important;
  }

  #app > .thumbnails,
  #app > section.thumbnails {
    grid-template-columns: repeat(
      var(--grid-cols, 2),
      minmax(0, 1fr)
    ) !important;
  }

  #app > .wallpaper-pagination .wallpaper-pagination__btn {
    width: 2.1rem;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0;
  }

  .thumbnails > div {
    width: 100%;
  }

  .thumbnails a h3 {
    padding: 0.55rem 0.75rem 0.5rem;
  }

  .music-page-head {
    flex-direction: column;
    align-items: stretch;
  }

  .music-songs-bar {
    flex-wrap: wrap;
    border-radius: var(--radius-ios26);
    padding: 0.65rem;
  }

  .music-songs-bar__stat-search,
  .music-songs-bar__stat-search.is-search-open {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .music-view-toolbar {
    margin-left: 0;
    align-self: flex-end;
  }

  .song-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  ul.actions {
    margin: 0 0 2em 0;
  }

  ul.actions li {
    padding: 1em 0 0 0;
    display: block;
    text-align: center;
    width: 100%;
  }

  ul.actions li:first-child {
    padding-top: 0;
  }

  ul.actions li > * {
    width: 100%;
    margin: 0 !important;
  }

  ul.actions li > *.icon:before {
    margin-left: -2em;
  }

  ul.actions.small li {
    padding: 0.5em 0 0 0;
  }

  ul.actions.small li:first-child {
    padding-top: 0;
  }

  input[type="submit"],
  input[type="reset"],
  input[type="button"],
  button,
  .button {
    padding: 0;
  }

  /* 紧凑底栏：禁用悬停曲名叠层，歌词始终可见 */
  .player-dock-hover-title {
    display: none !important;
  }

  .music-player-dock.has-track .player-current-lyric {
    opacity: 1;
  }

  /* 紧凑置底播放器：仅播放键 + 环状进度 + 双行歌词 */
  .music-player-dock {
    --dock-art-size: 3.15rem;
    --dock-cover-inset: 0.52rem;
    --dock-lyric-primary-size: 1.2rem;
    --dock-lyric-secondary-size: 0.85rem;
    --dock-lyric-line-height: 1.35;
    --dock-lyric-row-gap: 0.1rem;
    --dock-lyric-primary-row-height: calc(
      var(--dock-lyric-primary-size) * var(--dock-lyric-line-height)
    );
    --dock-lyric-secondary-row-height: calc(
      var(--dock-lyric-secondary-size) * var(--dock-lyric-line-height)
    );
    --dock-lyric-dual-height: calc(
      var(--dock-lyric-primary-row-height) + var(--dock-lyric-row-gap) +
        var(--dock-lyric-secondary-row-height)
    );
    padding-top: 0.42rem;
    padding-bottom: calc(0.42rem + env(safe-area-inset-bottom, 0px));
    overscroll-behavior-x: none;
  }

  .music-player-dock__art-unit,
  #player-dock-lyrics {
    touch-action: none;
    overscroll-behavior: none;
    -webkit-user-select: none;
    user-select: none;
  }

  body.player-dock-visible #wrapper {
    padding-bottom: max(5rem, calc(3.85rem + env(safe-area-inset-bottom, 0px)));
  }

  .music-player-dock__inner {
    grid-template-rows: auto;
    grid-template-areas: "dock-art dock-lyrics dock-ctrl";
    column-gap: 0.55rem;
    row-gap: 0;
  }

  .music-player-dock__art-unit {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .music-player-dock__progress-ring {
    display: block;
    z-index: 3;
    pointer-events: none;
  }

  .music-player-dock__art {
    width: calc(100% - var(--dock-cover-inset));
    height: calc(100% - var(--dock-cover-inset));
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .music-player-dock__art .player-album-art {
    border-radius: 50%;
  }

  .music-player-dock.is-playing:not(.is-swipe-animating)
    .music-player-dock__art
    .player-album-art {
    animation: dock-compact-cover-spin 16s linear infinite;
  }

  .music-player-dock.is-swipe-animating
    .music-player-dock__art
    .player-album-art {
    animation: none !important;
  }

  .music-player-dock__art,
  .music-player-dock.has-track .music-player-dock__art,
  .music-player-dock.is-playing .music-player-dock__art {
    box-shadow: none;
  }

  .music-player-dock.is-playing .music-player-dock__art {
    animation: none;
  }

  .music-player-dock__seek-wrap--bar {
    display: none !important;
  }

  .music-player-dock__seek-wrap--bar .player-progress--dock {
    pointer-events: none !important;
  }

  .music-player-dock__controls .player-mode-cycle-btn,
  .music-player-dock__controls #player-prev-btn,
  .music-player-dock__controls #player-next-btn,
  .music-player-dock__controls #player-music-list-btn,
  .music-player-dock__controls #player-lyric-trans-btn {
    display: none !important;
  }

  .music-player-dock__controls {
    gap: 0;
  }

  .music-player-dock__controls .player-play-btn {
    width: 2.65rem;
    height: 2.65rem;
  }

  .music-player-dock__col--center {
    align-self: center;
    gap: 0.25rem;
  }

  .player-lyrics {
    min-height: 0;
    line-height: 1.35;
  }

  .player-lyric-stack {
    grid-template-rows: auto;
  }

  .player-lyric-dual {
    display: flex;
    flex-direction: column;
    gap: var(--dock-lyric-row-gap);
    align-items: stretch;
    min-height: var(--dock-lyric-dual-height);
    max-height: var(--dock-lyric-dual-height);
    overflow: hidden;
  }

  .music-player-dock.is-dock-lyric-translation .player-lyric-dual {
    gap: 0;
  }

  .music-player-dock.is-dock-lyric-translation .player-next-lyric {
    display: none !important;
  }

  .music-player-dock .player-current-lyric {
    font-size: var(--dock-lyric-primary-size);
    line-height: var(--dock-lyric-line-height);
    min-height: 0;
    text-shadow: none;
    color: var(--accent-lyric);
  }

  .music-player-dock .player-next-lyric {
    font-size: var(--dock-lyric-secondary-size);
    line-height: var(--dock-lyric-line-height);
    min-height: 0;
    text-shadow: none;
  }

  .music-player-dock .player-current-lyric .player-lyric-primary {
    font-size: inherit;
    line-height: inherit;
    font-weight: 500;
    color: inherit;
  }

  .music-player-dock .player-current-lyric .player-lyric-translation {
    font-size: var(--dock-lyric-secondary-size);
    line-height: var(--dock-lyric-line-height);
    font-weight: 400;
    color: var(--lyric-translation-color);
  }

  .music-player-dock .player-next-lyric .player-lyric-primary {
    font-size: inherit;
    line-height: inherit;
    font-weight: 400;
    color: inherit;
  }

  .music-player-dock:not(.is-dock-lyric-translation) .player-current-lyric {
    flex: 1 1 0;
    max-height: var(--dock-lyric-primary-row-height);
    overflow: hidden;
  }

  .music-player-dock:not(.is-dock-lyric-translation) .player-next-lyric {
    flex: 1 1 0;
    max-height: var(--dock-lyric-secondary-row-height);
    overflow: hidden;
  }

  .music-player-dock.is-dock-lyric-translation .player-current-lyric {
    flex: 1 1 auto;
    min-height: var(--dock-lyric-dual-height);
    max-height: var(--dock-lyric-dual-height);
    gap: var(--dock-lyric-row-gap);
    overflow: hidden;
  }

  .music-player-dock.is-dock-lyric-translation
    .player-current-lyric
    .player-lyric-primary {
    max-height: var(--dock-lyric-primary-row-height);
    overflow: hidden;
  }

  .music-player-dock.is-dock-lyric-translation
    .player-current-lyric
    .player-lyric-translation {
    max-height: var(--dock-lyric-secondary-row-height);
    overflow: hidden;
  }

  .player-next-lyric {
    display: block;
  }

  html:not(.force-dark) .player-next-lyric {
    color: rgba(28, 36, 48, 0.45);
  }

  html:not(.force-dark)
    .music-player-dock.is-dock-lyric-translation
    .player-current-lyric
    .player-lyric-primary {
    color: inherit;
  }

  html.force-light .player-next-lyric {
    color: rgba(28, 36, 48, 0.45);
  }

  .music-player-dock__art-unit.is-swipe-animating.is-swipe-next
    .music-player-dock__art {
    animation: dock-art-swipe-next 0.38s cubic-bezier(0.33, 1, 0.68, 1) both;
  }

  .music-player-dock__art-unit.is-swipe-animating.is-swipe-prev
    .music-player-dock__art {
    animation: dock-art-swipe-prev 0.38s cubic-bezier(0.33, 1, 0.68, 1) both;
  }

  .music-player-dock.is-swipe-animating.is-swipe-next .player-lyric-dual,
  .music-player-dock.is-swipe-animating.is-swipe-prev .player-lyric-dual {
    animation: dock-lyrics-swipe 0.38s cubic-bezier(0.33, 1, 0.68, 1) both;
  }

  .music-player-dock.is-swipe-animating.is-swipe-next .player-lyric-dual {
    --dock-swipe-dir: -1;
  }

  .music-player-dock.is-swipe-animating.is-swipe-prev .player-lyric-dual {
    --dock-swipe-dir: 1;
  }
}

@keyframes dock-compact-cover-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes dock-art-swipe-next {
  0% {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
  42% {
    transform: translateX(-32%) scale(0.92);
    opacity: 0.15;
    filter: blur(3px);
  }
  43% {
    transform: translateX(26%) scale(0.92);
    opacity: 0.15;
    filter: blur(3px);
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes dock-art-swipe-prev {
  0% {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
  42% {
    transform: translateX(32%) scale(0.92);
    opacity: 0.15;
    filter: blur(3px);
  }
  43% {
    transform: translateX(-26%) scale(0.92);
    opacity: 0.15;
    filter: blur(3px);
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes dock-lyrics-swipe {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  42% {
    transform: translateX(calc(var(--dock-swipe-dir, -1) * 14%));
    opacity: 0.25;
  }
  43% {
    transform: translateX(calc(var(--dock-swipe-dir, -1) * -12%));
    opacity: 0.25;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .music-player-dock__art-unit.is-swipe-animating .music-player-dock__art,
  .music-player-dock.is-swipe-animating .player-lyric-dual {
    animation: none !important;
  }

  .music-player-dock.is-playing .music-player-dock__art .player-album-art {
    animation: none !important;
  }
}
/*
 * Home 快捷方式网格
 *
 * 2×1 扁长文件夹要同时满足：
 *   外壳 W×H 按 pitch 跨格对齐（W=B+(w-1)P, H=B）
 *   内层 3 个正方形边长 s，四边外边距与两处格缝全部等于 m
 * 几何：W = 3s+4m, H = s+2m ⇒ W = 3H-2m ⇒ 需 2H < W < 3H
 * 代入 W=H+P：B < P < 2B，取 P/B = --home-strip-pitch-ratio（≈1.72）
 *   ⇒ m = B - P/2, s = P - B（JS 会按实际 cell 回写 --home-icon-base）
 */

/* 主页不显示版权底栏，其他路由保留 */
body.is-home-route .copyright {
  display: none;
}

.home-grid {
  /* 略增高轨道，给图标与标题留出间距 */
  --home-cell: 5rem;
  --home-gap: 0.5rem;
  --home-gap-x: var(--home-gap);
  --home-gap-y: var(--home-gap);
  --home-pitch: calc(var(--home-cell) + var(--home-gap));
  /* P/B ≈ 1.72 → base ≈ pitch/1.72；随 JS 测量后覆盖 */
  --home-strip-pitch-ratio: 1.72;
  --home-icon-base: calc(var(--home-pitch) / var(--home-strip-pitch-ratio));
  /* 一行最多 10 个 1×1：轨道下限取 min(图标最小宽, 1/10 可用宽) */
  --home-cols-max: 10;
  --home-track-min: max(
    5rem,
    calc(
      (100% - (var(--home-cols-max) - 1) * var(--home-gap)) / var(--home-cols-max)
    )
  );
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--home-track-min), 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: var(--home-cell);
  gap: var(--home-gap);
  align-items: stretch;
  justify-items: stretch;
  margin: 0 0 2em;
  padding: 0;
}

.home-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.32rem;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0.15rem 0.15rem 0.08rem;
  border: none;
  border-radius: 0.85rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: default;
  pointer-events: none;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease;
  --home-span-w: 1;
  --home-span-h: 1;
  /* 横竖同一 pitch，保证 2×2 为正方形，并与两格外沿对齐 */
  --home-icon-w: min(
    100%,
    calc(var(--home-icon-base) + (var(--home-span-w) - 1) * var(--home-pitch))
  );
  --home-icon-h: calc(
    var(--home-icon-base) + (var(--home-span-h) - 1) * var(--home-pitch)
  );
}

.home-tile[data-home-w='2'] {
  grid-column: span 2;
}

.home-tile[data-home-w='3'] {
  grid-column: span 3;
}

.home-tile[data-home-w='4'] {
  grid-column: span 4;
}

.home-tile[data-home-h='2'] {
  grid-row: span 2;
}

button.home-tile,
button.home-tile:active {
  background-color: transparent;
  background-image: none;
}

.home-tile:hover,
.home-tile:focus-visible {
  transform: translateY(-2px);
  outline: none;
  background-color: transparent;
}

.home-tile__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: var(--home-icon-w);
  height: var(--home-icon-h);
  max-width: 100%;
  aspect-ratio: auto;
  container-type: size;
  border-radius: calc(0.85rem + (min(var(--home-span-w), var(--home-span-h)) - 1) * 0.1rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 18, 26, 0.55);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  /* 仅图标可点按 / 拖动，标题与空白穿透以便页面滚动 */
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

.home-tile__resize {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  box-sizing: border-box;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  padding: 0;
  border: none;
  border-right: 3px solid rgba(255, 255, 255, 0.82);
  border-bottom: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 0 0 calc(0.85rem + (min(var(--home-span-w), var(--home-span-h)) - 1) * 0.1rem) 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  cursor: nwse-resize;
  touch-action: none;
  opacity: 0.9;
  -webkit-tap-highlight-color: transparent;
  transition:
    opacity 0.15s ease,
    border-color 0.15s ease;
}

.home-tile__resize:hover,
.home-tile.is-resizing .home-tile__resize {
  opacity: 1;
  border-right-color: rgb(var(--accent-rgb));
  border-bottom-color: rgb(var(--accent-rgb));
}

.home-tile.is-resizing {
  z-index: 2;
}

body.home-tile-resizing {
  cursor: nwse-resize;
  user-select: none;
}

body.home-tile-resizing * {
  cursor: nwse-resize !important;
}

.home-tile__favicon {
  position: absolute;
  inset: 0.28rem;
  width: calc(100% - 0.56rem);
  height: calc(100% - 0.56rem);
  object-fit: contain;
  object-position: center;
  border-radius: 0.55rem;
  background: transparent;
  pointer-events: none;
}

.home-tile__favicon.is-broken {
  display: none;
}

.home-tile__glyph {
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
  pointer-events: none;
}

.home-tile[data-home-w]:not([data-home-w='1']) .home-tile__glyph,
.home-tile[data-home-h]:not([data-home-h='1']) .home-tile__glyph {
  font-size: clamp(1.2rem, 28cqmin, 2.4rem);
}

/* 仅在远程图标真正加载成功后隐藏首字，避免超时期间整块空白 */
.home-tile__favicon.is-loaded:not(.is-broken) ~ .home-tile__glyph {
  display: none;
}

.home-tile__mosaic-favicon.is-loaded:not(.is-broken) ~ .home-tile__mosaic-glyph {
  display: none;
}

.home-tile__mosaic-favicon.is-broken {
  display: none;
}

.home-tile__icon--folder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem;
}

/* 扁长/竖长/多行网格：外壳仍用网格跨度尺寸，不收缩 */
.home-tile__icon--folder:has(.home-tile__mosaic--row),
.home-tile__icon--folder:has(.home-tile__mosaic--col),
.home-tile__icon--folder:has(.home-tile__mosaic--gridN) {
  padding: 0;
  width: var(--home-icon-w);
  height: var(--home-icon-h);
  max-width: 100%;
}

/* 子格始终正方形：按容器较短边推算边长，再居中排布 */
.home-tile__mosaic {
  --home-mosaic-gap: 0.16rem;
  --home-mosaic-cell: min(
    calc((100cqw - var(--home-mosaic-gap)) / 2),
    calc((100cqh - var(--home-mosaic-gap)) / 2)
  );
  display: grid;
  grid-template-columns: repeat(2, var(--home-mosaic-cell));
  grid-template-rows: repeat(2, var(--home-mosaic-cell));
  gap: var(--home-mosaic-gap);
  width: max-content;
  height: max-content;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  place-content: center;
  place-items: center;
}

/*
 * 横排 n 格（2×1→3、3×1→5、4×1→7）：全边距相等
 * m = (n·H - W) / (n - 1), s = H - 2m, g = m
 */
.home-tile__mosaic--row {
  --home-mosaic-n: 3;
  --home-mosaic-margin: max(
    0px,
    calc(
      (var(--home-mosaic-n) * 100cqh - 100cqw) / (var(--home-mosaic-n) - 1)
    )
  );
  --home-mosaic-gap: var(--home-mosaic-margin);
  --home-mosaic-cell: max(0px, calc(100cqh - 2 * var(--home-mosaic-margin)));
  display: grid;
  grid-template-columns: repeat(var(--home-mosaic-n), var(--home-mosaic-cell));
  grid-template-rows: var(--home-mosaic-cell);
  gap: var(--home-mosaic-gap);
  width: max-content;
  height: max-content;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}

.home-tile__mosaic--row .home-tile__mosaic-cell {
  width: var(--home-mosaic-cell);
  height: var(--home-mosaic-cell);
  flex: none;
}

/* 竖排：W↔H 对称 */
.home-tile__mosaic--col {
  --home-mosaic-n: 3;
  --home-mosaic-margin: max(
    0px,
    calc(
      (var(--home-mosaic-n) * 100cqw - 100cqh) / (var(--home-mosaic-n) - 1)
    )
  );
  --home-mosaic-gap: var(--home-mosaic-margin);
  --home-mosaic-cell: max(0px, calc(100cqw - 2 * var(--home-mosaic-margin)));
  display: grid;
  grid-template-columns: var(--home-mosaic-cell);
  grid-template-rows: repeat(var(--home-mosaic-n), var(--home-mosaic-cell));
  gap: var(--home-mosaic-gap);
  width: max-content;
  height: max-content;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}

.home-tile__mosaic--col .home-tile__mosaic-cell {
  width: var(--home-mosaic-cell);
  height: var(--home-mosaic-cell);
  flex: none;
}

/*
 * 多行网格（2×2→3×3、3×2→5×3、4×2→7×3），末格展开
 * 全边距相等：W = C·s+(C+1)·m，H = R·s+(R+1)·m
 * R≠C：m = (R·W − C·H) / (R − C)，s = (H − (R+1)·m) / R
 * R=C（正方外壳）：取 m = s/5 ⇒ s = cqmin / (C + (C+1)/5)
 */
.home-tile__mosaic--gridN {
  --home-mosaic-cols: 3;
  --home-mosaic-rows: 3;
  --home-mosaic-margin-rect: calc(
    (var(--home-mosaic-rows) * 100cqw - var(--home-mosaic-cols) * 100cqh) /
      (var(--home-mosaic-rows) - var(--home-mosaic-cols))
  );
  --home-mosaic-cell-square: calc(
    100cqmin /
      (
        var(--home-mosaic-cols) + (var(--home-mosaic-cols) + 1) / 5
      )
  );
  --home-mosaic-margin: max(
    0px,
    var(--home-mosaic-margin-rect, calc(var(--home-mosaic-cell-square) / 5))
  );
  --home-mosaic-cell: max(
    0px,
    calc(
      (100cqh - (var(--home-mosaic-rows) + 1) * var(--home-mosaic-margin)) /
        var(--home-mosaic-rows)
    )
  );
  --home-mosaic-gap: var(--home-mosaic-margin);
  display: grid;
  grid-template-columns: repeat(var(--home-mosaic-cols), var(--home-mosaic-cell));
  grid-template-rows: repeat(var(--home-mosaic-rows), var(--home-mosaic-cell));
  gap: var(--home-mosaic-gap);
  width: max-content;
  height: max-content;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}

/* 正方形 3×3：分母为 0 时走 cqmin 方案 */
.home-tile__mosaic--gridN[data-home-mosaic-cols='3'][data-home-mosaic-rows='3'] {
  --home-mosaic-cell: calc(100cqmin / 3.8);
  --home-mosaic-gap: calc(var(--home-mosaic-cell) / 5);
  --home-mosaic-margin: var(--home-mosaic-gap);
}

.home-tile__mosaic--gridN .home-tile__mosaic-cell {
  width: var(--home-mosaic-cell);
  height: var(--home-mosaic-cell);
  flex: none;
}

.home-tile__mosaic-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--home-mosaic-cell);
  height: var(--home-mosaic-cell);
  aspect-ratio: 1 / 1;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: none;
  container-type: size;
  border-radius: 0.32rem;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
  text-decoration: none;
  overflow: hidden;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}

a.home-tile__mosaic-cell--link,
button.home-tile__mosaic-cell--more {
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

a.home-tile__mosaic-cell--link:hover,
a.home-tile__mosaic-cell--link:focus-visible,
button.home-tile__mosaic-cell--more:hover,
button.home-tile__mosaic-cell--more:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  transform: scale(1.04);
}

/* 空预览格：不响应悬停 */
.home-tile__mosaic-cell:not(a):not(button) {
  pointer-events: none;
  cursor: default;
}

.home-tile__mosaic-favicon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
}

/* 仅文件夹马赛克内首字；不影响单个 .home-tile__glyph */
.home-tile__mosaic-glyph {
  font-size: clamp(0.52rem, 52cqmin, 0.95rem);
  font-weight: 650;
  line-height: 1;
  color: rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.home-tile__mosaic--row .home-tile__mosaic-glyph,
.home-tile__mosaic--col .home-tile__mosaic-glyph {
  font-size: clamp(0.62rem, 56cqmin, 0.95rem);
}

.home-tile__mosaic--gridN .home-tile__mosaic-glyph {
  font-size: clamp(0.55rem, 54cqmin, 0.88rem);
}

.home-tile__mosaic--gridN[data-home-mosaic-cols='5'] .home-tile__mosaic-glyph,
.home-tile__mosaic--gridN[data-home-mosaic-cols='7'] .home-tile__mosaic-glyph {
  font-size: clamp(0.48rem, 52cqmin, 0.78rem);
}

.home-tile__mosaic--row[data-home-mosaic-n='5'] .home-tile__mosaic-glyph,
.home-tile__mosaic--row[data-home-mosaic-n='7'] .home-tile__mosaic-glyph {
  font-size: clamp(0.54rem, 54cqmin, 0.85rem);
}

.home-tile__mosaic-more {
  display: block;
  font-size: clamp(0.7rem, 60cqmin, 1.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
  transform: translateY(-0.04em);
}

.home-tile__mosaic--row .home-tile__mosaic-more,
.home-tile__mosaic--col .home-tile__mosaic-more {
  font-size: clamp(0.85rem, 62cqmin, 1.2rem);
}

.home-tile__mosaic--gridN .home-tile__mosaic-more {
  font-size: clamp(0.72rem, 58cqmin, 1.05rem);
}

.home-tile__mosaic--gridN[data-home-mosaic-cols='5'] .home-tile__mosaic-more,
.home-tile__mosaic--gridN[data-home-mosaic-cols='7'] .home-tile__mosaic-more {
  font-size: clamp(0.62rem, 56cqmin, 0.95rem);
}

.home-tile__mosaic--row[data-home-mosaic-n='5'] .home-tile__mosaic-more,
.home-tile__mosaic--row[data-home-mosaic-n='7'] .home-tile__mosaic-more {
  font-size: clamp(0.72rem, 58cqmin, 1.05rem);
}

/* 大文件夹标题可点打开：与普通 span 标题同款，仅恢复指针 */
.home-tile--folder-strip > .home-tile__title[data-home-folder-open] {
  pointer-events: auto;
  cursor: pointer;
}

.home-tile--folder-strip > .home-tile__title[data-home-folder-open]:hover,
.home-tile--folder-strip > .home-tile__title[data-home-folder-open]:focus-visible {
  color: rgba(255, 255, 255, 0.95);
  outline: none;
}

.home-tile.is-folder-drop-target .home-tile__icon--folder {
  border-color: rgba(var(--accent-rgb), 0.85);
  box-shadow:
    0 0 0 2px rgba(var(--accent-rgb), 0.28),
    0 8px 22px rgba(0, 0, 0, 0.28);
}

.home-tile.is-merge-pending .home-tile__icon,
.home-tile.is-merge-pending .home-tile__icon--folder {
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.16);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.home-tile.is-merge-target .home-tile__icon {
  border-color: rgba(var(--accent-rgb), 0.9);
  transform: scale(1.08);
  box-shadow:
    0 0 0 3px rgba(var(--accent-rgb), 0.3),
    0 8px 22px rgba(0, 0, 0, 0.28);
}

.home-tile.is-merge-target[data-home-kind='folder'] .home-tile__icon--folder {
  border-color: rgba(var(--accent-rgb), 0.95);
  box-shadow:
    0 0 0 3px rgba(var(--accent-rgb), 0.34),
    0 10px 26px rgba(0, 0, 0, 0.32);
}

#header ul.icons.header-actions .header-action-btn[data-home-edit-target='category'].is-drop-pending {
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.28);
  transform: scale(1.04);
}

body.home-folder-extract-armed #home-folder-overlay .home-folder-overlay__backdrop {
  background: rgba(var(--accent-rgb), 0.22);
}

body.home-folder-extract-armed #home-folder-overlay .home-folder-overlay__panel {
  outline: 2px dashed rgba(var(--accent-rgb), 0.55);
  outline-offset: -6px;
}

.home-folder-overlay {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.home-folder-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.home-folder-overlay[hidden] {
  display: none !important;
}

.home-folder-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-folder-overlay__stage {
  position: relative;
  z-index: 1;
  width: min(28rem, calc(100vw - 1.5rem));
  max-height: min(78vh, 36rem);
  display: flex;
}

.home-folder-overlay__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: inherit;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 18, 26, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.home-folder-overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-folder-overlay__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.home-folder-overlay__head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-folder-overlay__tool,
.home-folder-overlay__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.home-folder-overlay__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
}

.home-folder-overlay__grid {
  --home-folder-cols: 3;
  --home-folder-rows: 4;
  --home-folder-row-h: 5.85rem;
  --home-folder-gap-y: 0.65rem;
  --home-folder-swipe-x: 0px;
  display: grid;
  grid-template-columns: repeat(var(--home-folder-cols), minmax(0, 1fr));
  grid-auto-rows: var(--home-folder-row-h);
  gap: var(--home-folder-gap-y) 0.55rem;
  align-content: start;
  justify-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: calc(
    var(--home-folder-rows) * var(--home-folder-row-h) +
      (var(--home-folder-rows) - 1) * var(--home-folder-gap-y) + 0.95rem
  );
  height: auto;
  max-height: none;
  padding: 0.95rem 1rem 0.35rem;
  overflow: visible;
  touch-action: pan-y;
  transform: translate3d(var(--home-folder-swipe-x), 0, 0);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-folder-overlay__grid.is-page-swiping {
  transition: none;
  cursor: grabbing;
  user-select: none;
}

.home-folder-overlay__grid .home-tile {
  min-width: 0;
  width: 100%;
  max-width: 5.5rem;
  height: auto;
  align-self: start;
  gap: 0.45rem;
  padding: 0.15rem 0.1rem 0;
}

.home-folder-overlay__grid .home-tile__icon {
  flex-shrink: 0;
  width: 3.2rem;
  height: 3.2rem;
  aspect-ratio: 1 / 1;
  container-type: normal;
}

.home-folder-overlay__empty {
  margin: 0;
  padding: 1.5rem 1rem 1.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.home-folder-overlay__pager.wallpaper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-self: center;
  width: auto;
  max-width: 100%;
  margin: 1.15rem auto 0.95rem;
  padding: 0 0.75rem;
  border: none;
  background: transparent;
  box-shadow: none;
}

.home-folder-overlay__pager[hidden] {
  display: none !important;
}

.home-folder-overlay__pager .wallpaper-pagination__btn {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.1rem;
  min-width: 2.1rem;
  height: 2.1rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  appearance: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.home-folder-overlay__pager .wallpaper-pagination__btn .fa {
  display: block;
  width: 1em;
  height: 1em;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

.home-folder-overlay__pager .wallpaper-pagination__btn--prev .fa {
  transform: translateX(-0.04em);
}

.home-folder-overlay__pager .wallpaper-pagination__btn--next .fa {
  transform: translateX(0.04em);
}

.home-folder-overlay__pager .wallpaper-pagination__btn.is-active {
  background: rgba(var(--accent-rgb), 0.28);
  border-color: rgba(var(--accent-rgb), 0.52);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.22);
}

.home-folder-overlay__pager .wallpaper-pagination__btn:not(.is-active):hover,
.home-folder-overlay__pager .wallpaper-pagination__btn:not(.is-active):focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(var(--accent-rgb), 0.4);
  color: rgb(var(--accent-rgb));
  outline: none;
}

.home-folder-overlay__pager .wallpaper-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 1.2rem;
  height: 2.1rem;
  padding: 0 0.1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.72;
  user-select: none;
  pointer-events: none;
}

body.home-folder-overlay-open {
  overflow: hidden;
}

.home-tile__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  min-height: 2.2em;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  word-break: break-word;
  pointer-events: none;
}

.home-tile--edit {
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
}

.home-tile--edit:hover,
.home-tile--edit:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.home-tile--add {
  color: inherit;
}

/* 网格添加：空心虚线；外尺寸与正常图标一致（1px 透明边对齐实体钮，虚线画在内层） */
.home-tile--add .home-tile__add-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--home-icon-w, var(--home-icon-base, 3.2rem));
  height: var(--home-icon-h, var(--home-icon-base, 3.2rem));
  border-radius: calc(0.85rem + (min(var(--home-span-w, 1), var(--home-span-h, 1)) - 1) * 0.1rem);
  /* 与 .home-tile__icon 同为 1px 边，保证外尺寸一致 */
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.42);
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  overflow: visible;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.home-tile--add .home-tile__add-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 2.5px dashed rgba(255, 255, 255, 0.42);
  border-radius: inherit;
  pointer-events: none;
}

.home-tile--add .home-tile__title {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.home-tile--add:hover .home-tile__add-icon,
.home-tile--add:focus-visible .home-tile__add-icon {
  background: rgba(var(--accent-rgb), 0.08);
  color: rgb(var(--accent-rgb));
  box-shadow: none;
}

.home-tile--add:hover .home-tile__add-icon::after,
.home-tile--add:focus-visible .home-tile__add-icon::after {
  border-color: rgba(var(--accent-rgb), 0.65);
}

.home-tile--add:hover .home-tile__title,
.home-tile--add:focus-visible .home-tile__title {
  color: rgba(var(--accent-rgb), 0.85);
}

/* —— 新增 / 修改浮层（对齐设置面板） —— */
.home-link-editor {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
}

.home-link-editor:not([hidden]) {
  pointer-events: auto;
}

body.home-link-editor-open,
body.home-cat-editor-open {
  overflow: hidden;
}

.home-link-editor__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.52);
  opacity: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    opacity 0.28s ease,
    backdrop-filter 0.32s ease,
    -webkit-backdrop-filter 0.32s ease;
}

.home-link-editor.is-visible .home-link-editor__backdrop {
  opacity: 1;
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

.home-link-editor__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
}

/* 添加图标 / 添加导航 共用：刚好容纳 8 列圆形图标（含间距） */
.home-link-editor,
.home-cat-editor {
  --home-editor-icon-size: 2.55rem;
  --home-editor-icon-gap: 0.65rem;
  --home-editor-panel-pad-x: 1.05rem;
  --home-editor-shell-width: calc(
    8 * var(--home-editor-icon-size) + 7 * var(--home-editor-icon-gap) + 2 *
      var(--home-editor-panel-pad-x) + 4px
  );
}

.home-link-editor__shell {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: min(var(--home-editor-shell-width), calc(100vw - 2rem));
  margin: auto;
}

.home-link-editor__overlay-title {
  pointer-events: none;
  margin: 0;
  padding: 0 0.35rem;
  font-size: clamp(1.65rem, 4.5vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5);
}

.home-link-editor__panel {
  pointer-events: auto;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 1rem var(--home-editor-panel-pad-x) 1.05rem;
  overflow: visible;
  border: 1px solid var(--border-subtle);
  border-radius: 1.05rem;
  background: var(--surface-elevated);
  box-shadow: var(--shadow-elevated);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  color: var(--ink-primary);
  transform: translateY(-10px);
  opacity: 0;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    border-color 0.2s ease,
    box-shadow 0.24s ease;
}

.home-link-editor__shell .home-link-editor__panel {
  width: 100%;
}

.home-link-editor.is-visible .home-link-editor__panel {
  transform: translateY(0);
  opacity: 1;
}

.home-link-editor__form {
  margin: 0;
  padding: 0;
}

.home-link-editor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
}

.home-link-editor__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
}

.home-link-editor__esc-hint kbd {
  display: inline-block;
  min-width: 1.15rem;
  padding: 0.12rem 0.38rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

button.home-link-editor__close,
.home-link-editor__close {
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  background-image: none;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 0 !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.home-link-editor__close > .fa {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: inherit;
  color: inherit;
  pointer-events: none;
}

.home-link-editor__close > .fa::before {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  line-height: 1;
  transform: translate(-50%, calc(-50% + 0.06em));
}

.home-link-editor__close:hover,
.home-link-editor__close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.home-link-editor__field,
label.home-link-editor__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.home-link-editor__field[hidden],
label.home-link-editor__field[hidden],
.home-link-editor__icon-preview[hidden],
.home-link-editor__icon-actions[hidden],
.home-link-editor__size[hidden] {
  display: none !important;
}

.home-link-editor__form > .home-link-editor__field:last-of-type {
  margin-bottom: 0.75rem;
}

#home-link-editor-type-field {
  margin-top: 0.15rem;
  margin-bottom: 1.1rem;
}

.home-link-editor__error {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: #f87171;
}

.home-link-editor__error[hidden] {
  display: none !important;
  margin: 0 !important;
}

.home-link-editor__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.35rem 0 0;
  padding: 0.35rem 0 0;
}

.home-link-editor__actions-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
}

button.home-link-editor__btn,
.home-link-editor__btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0.42rem 0.85rem !important;
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2 !important;
  white-space: nowrap;
  cursor: pointer;
  background-image: none;
}

.home-link-editor__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.62);
}

/* 压过 main.css input[type=text]（height/radius/padding），与链接框完全一致 */
.home-link-editor .home-link-editor__input,
.home-link-editor .home-link-editor__select,
.home-link-editor .home-link-editor__url-wrap {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 2.6rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-primary);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.home-link-editor .home-link-editor__url-wrap {
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.home-link-editor .home-link-editor__input:focus,
.home-link-editor .home-link-editor__select:focus,
.home-link-editor .home-link-editor__url-wrap:focus-within {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.18);
}

.home-link-editor .home-link-editor__url-prefix,
.home-link-editor .home-link-editor__url-scheme {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 0.15rem 0.55rem 0.7rem;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  user-select: none;
}

.home-link-editor .home-link-editor__url-scheme {
  box-sizing: border-box;
  width: 4.1rem;
  min-width: 4.1rem;
  max-width: 4.1rem;
  padding: 0.55rem 0.35rem;
  cursor: pointer;
  border-radius: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: rgb(var(--accent-rgb));
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.home-link-editor .home-link-editor__url-scheme:hover,
.home-link-editor .home-link-editor__url-scheme:focus-visible {
  color: rgb(var(--accent-rgb));
  background: rgba(var(--accent-rgb), 0.12);
  outline: none;
}

.home-link-editor .home-link-editor__input--url {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0.55rem 0.75rem 0.55rem 0.7rem;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-link-editor .home-link-editor__input--url:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none;
}

.home-link-editor--add #home-link-editor-delete,
.home-cat-editor--add #home-cat-editor-delete {
  display: none !important;
}

.home-link-editor__select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-link-editor__segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  background: rgba(0, 0, 0, 0.18);
}

.home-link-editor__size {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.home-link-editor__size--grid-only {
  align-items: center;
}

.home-link-editor__size-controls {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-link-editor__size-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-link-editor__size-caption {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

.home-link-editor__size [data-home-size-dim='w'] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-link-editor__size [data-home-size-dim='h'] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-link-editor__size-preview {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1.2rem);
  grid-template-rows: repeat(2, 1.2rem);
  gap: 0.28rem;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  background: rgba(0, 0, 0, 0.18);
}

.home-link-editor__size--grid-only .home-link-editor__size-preview {
  --home-editor-size: 4.4rem;
  --home-editor-size-pad: 0.38rem;
  --home-editor-size-gap: 0.28rem;
  --home-editor-size-cell: calc(
    (var(--home-editor-size) - 2 * var(--home-editor-size-pad) - var(--home-editor-size-gap)) / 2
  );
  box-sizing: border-box;
  width: auto;
  height: var(--home-editor-size);
  grid-template-columns: repeat(4, var(--home-editor-size-cell));
  grid-template-rows: repeat(2, var(--home-editor-size-cell));
  gap: var(--home-editor-size-gap);
  padding: var(--home-editor-size-pad);
  cursor: crosshair;
}

button.home-link-editor__size-cell,
.home-link-editor__size-cell {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 1.05rem;
  min-height: 1.05rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.28rem;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.home-link-editor__size-cell.is-filled,
.home-link-editor__size-cell.is-active {
  background: rgba(var(--accent-rgb), 0.78);
  border-color: rgba(var(--accent-rgb), 0.98);
  box-shadow: none;
}

.home-link-editor__size-cell:hover,
.home-link-editor__size-cell:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.75);
  outline: none;
}

button.home-link-editor__segment,
.home-link-editor__segment {
  margin: 0;
  padding: 0.5rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.home-link-editor__segment:hover,
.home-link-editor__segment:focus-visible {
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.home-link-editor__segment.is-active,
.home-link-editor__segment[aria-checked='true'] {
  background: rgba(var(--accent-rgb), 0.28);
  border-color: rgba(var(--accent-rgb), 0.4);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.12);
}

.home-link-editor__segment:disabled {
  opacity: 0.45;
  cursor: default;
}

.home-link-editor__dropdown {
  position: relative;
}

button.home-link-editor__dropdown-trigger,
.home-link-editor__dropdown-trigger {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-primary);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-link-editor__dropdown-trigger:hover,
.home-link-editor__dropdown-trigger:focus-visible,
.home-link-editor__dropdown.is-open .home-link-editor__dropdown-trigger {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.18);
}

.home-link-editor__dropdown-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-link-editor__dropdown-caret {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.18s ease;
}

.home-link-editor__dropdown.is-open .home-link-editor__dropdown-caret {
  transform: rotate(180deg);
}

.home-link-editor__dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 5;
  max-height: 14rem;
  margin: 0;
  padding: 0.35rem;
  overflow: auto;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.7rem;
  background: rgba(22, 24, 34, 0.96);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.home-link-editor__dropdown-menu[hidden] {
  display: none !important;
}

.home-link-editor__dropdown-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.52rem 0.62rem;
  border-radius: 0.48rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 550;
  cursor: pointer;
  user-select: none;
}

.home-link-editor__dropdown-option > .fa {
  width: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.86rem;
}

.home-link-editor__dropdown-option:hover,
.home-link-editor__dropdown-option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.home-link-editor__dropdown-option.is-active,
.home-link-editor__dropdown-option[aria-selected='true'] {
  background: rgba(var(--accent-rgb), 0.26);
  color: #fff;
}

.home-link-editor__dropdown-option.is-active > .fa,
.home-link-editor__dropdown-option[aria-selected='true'] > .fa {
  color: rgba(255, 255, 255, 0.88);
}

.home-link-editor__btn--danger {
  margin-right: 0;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
  background-image: none;
  color: #f87171;
}

.home-link-editor__btn--danger:hover,
.home-link-editor__btn--danger:focus-visible {
  background: rgba(248, 113, 113, 0.22);
  outline: none;
}

.home-link-editor__btn--cancel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  background-image: none;
  color: rgba(255, 255, 255, 0.78);
}

.home-link-editor__btn--save {
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.22);
  background-image: none;
  color: rgb(var(--accent-rgb));
}

.home-link-editor__btn--save:hover,
.home-link-editor__btn--save:focus-visible {
  background: rgba(var(--accent-rgb), 0.32);
  outline: none;
}

/* 编辑态：仅图标禁止浏览器手势，空白处仍可上下滑动 */
.home-grid--editing .home-tile--edit {
  touch-action: pan-y;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.home-grid--editing .home-tile--edit .home-tile__icon,
.home-grid--editing .home-tile--add .home-tile__add-icon,
body.home-grid-editing .home-folder-overlay__grid .home-tile--edit .home-tile__icon,
body.home-grid-editing .home-folder-overlay__grid .home-tile--add .home-tile__add-icon {
  touch-action: none;
  cursor: grab;
}

body.home-grid-editing .home-folder-overlay__grid .home-tile--edit {
  touch-action: pan-y;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.home-tile--edit.is-long-press .home-tile__icon {
  transform: scale(1.06);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
  border-color: rgb(var(--accent-rgb));
  box-shadow:
    0 0 0 2px rgba(var(--accent-rgb), 0.45),
    0 8px 22px rgba(0, 0, 0, 0.28);
}

/*
 * 头部导航长按抬起：保留原填充（含高亮渐变），用外圈描边表示「已拿起」
 * 与 is-active 实心渐变区分，也与投放目标的强调色描边区分
 */
#header ul.icons.header-actions .header-action-btn[data-home-edit-target='category'].is-long-press {
  transform: scale(1.08);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 0 0 5px rgba(0, 0, 0, 0.4),
    0 10px 22px rgba(0, 0, 0, 0.38) !important;
}

html:not(.force-dark)
  #header
  ul.icons.header-actions
  .header-action-btn[data-home-edit-target='category'].is-long-press,
html.force-light
  #header
  ul.icons.header-actions
  .header-action-btn[data-home-edit-target='category'].is-long-press {
  box-shadow:
    0 0 0 2px rgba(18, 24, 34, 0.88),
    0 0 0 5px rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(0, 0, 0, 0.22) !important;
}

.home-grid--editing.is-reordering .home-tile--edit .home-tile__icon,
.home-grid--editing.is-reordering .home-tile--add .home-tile__add-icon {
  cursor: grabbing;
}

/* 换位中关掉位移动画，避免 insertBefore 后兄弟节点闪动 */
.home-grid--editing.is-reordering .home-tile,
#header ul.icons.header-actions.is-reordering > li {
  transition: none !important;
}

.home-tile--edit.is-dragging,
.home-tile--edit.is-drag-placeholder {
  opacity: 1;
  z-index: 1;
  box-shadow: none;
  filter: none;
  background: transparent !important;
}

.home-tile--edit.is-dragging .home-tile__icon,
.home-tile--edit.is-drag-placeholder .home-tile__icon,
.home-tile--edit.is-dragging .home-tile__title,
.home-tile--edit.is-drag-placeholder .home-tile__title,
.home-tile--edit.is-dragging .home-tile__resize,
.home-tile--edit.is-drag-placeholder .home-tile__resize {
  opacity: 0.35;
  filter: grayscale(0.15);
}

/* 长按拿起拖动中：全局禁用缩放角 */
body.home-dragging-home-item .home-tile__resize,
.home-grid--editing.is-reordering .home-tile__resize {
  pointer-events: none !important;
  opacity: 0;
  cursor: grabbing;
}

/* 拖动幽灵：导航只留圆钮；网格只留圆角图标 */
.is-drag-ghost {
  opacity: 1 !important;
  z-index: 10060 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  outline: none !important;
  filter: none !important;
  transform-origin: top left;
  will-change: transform;
}

.is-drag-ghost:not(.home-tile__icon):not(.home-tile__icon--folder):not(.header-action-btn):not(.is-drag-ghost--tile-icon) {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

.is-drag-ghost.home-tile {
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.is-drag-ghost.home-tile__icon,
.is-drag-ghost.home-tile__icon--folder,
.is-drag-ghost--tile-icon {
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: calc(
    0.85rem + (min(var(--home-span-w, 1), var(--home-span-h, 1)) - 1) * 0.1rem
  ) !important;
  /* 全包边框：移动端一眼能看出已可拖动 */
  border: 3px solid rgb(var(--accent-rgb)) !important;
  box-shadow:
    0 0 0 3px rgba(var(--accent-rgb), 0.28),
    0 14px 32px rgba(0, 0, 0, 0.4) !important;
  pointer-events: none !important;
}

.is-drag-ghost.home-tile__icon .home-tile__resize,
.is-drag-ghost.home-tile__icon .home-tile__title,
.is-drag-ghost--tile-icon .home-tile__resize,
.is-drag-ghost--tile-icon .home-tile__title {
  display: none !important;
}

.is-drag-ghost.header-action-btn {
  border-radius: 50% !important;
  overflow: hidden !important;
  /* 不改背景/边框色，避免跟 is-active 渐变抢戏 */
  border: none !important;
  box-shadow:
    0 0 0 2.5px rgba(255, 255, 255, 0.96),
    0 0 0 6px rgba(0, 0, 0, 0.38),
    0 14px 30px rgba(0, 0, 0, 0.42) !important;
}

html:not(.force-dark) .is-drag-ghost.header-action-btn,
html.force-light .is-drag-ghost.header-action-btn {
  box-shadow:
    0 0 0 2.5px rgba(18, 24, 34, 0.9),
    0 0 0 6px rgba(255, 255, 255, 0.75),
    0 14px 30px rgba(0, 0, 0, 0.28) !important;
}

#header ul.icons.header-actions.is-reordering .header-action-btn[data-home-edit-target="category"] {
  cursor: grabbing;
}

#header ul.icons.header-actions .header-action-btn[data-home-edit-target="category"] {
  touch-action: none;
  cursor: grab;
}

/* 占位：li 本身透明，只淡化圆形按钮 */
#header ul.icons.header-actions li.is-drag-placeholder,
#header ul.icons.header-actions li.is-dragging {
  opacity: 1;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

#header ul.icons.header-actions li.is-drag-placeholder .header-action-btn,
#header ul.icons.header-actions li.is-dragging .header-action-btn,
#header ul.icons.header-actions .header-action-btn.is-drag-placeholder,
#header ul.icons.header-actions .header-action-btn.is-dragging {
  opacity: 0.35;
}

#header ul.icons.header-actions li.is-drag-ghost,
li.is-drag-ghost {
  opacity: 1 !important;
  list-style: none;
  background: transparent !important;
  box-shadow: none !important;
}

#header ul.icons.header-actions .header-action-btn.is-drop-target {
  outline: 2px solid rgb(var(--accent-rgb));
  outline-offset: 3px;
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.22);
}

/* 从网格拖图标/文件夹时，头部分类显示可投放提示 */
body.home-dragging-home-item #header ul.icons.header-actions .header-action-btn[data-home-edit-target="category"]:not(.is-active) {
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.28);
}

body.home-cat-drop-armed #header ul.icons.header-actions .header-action-btn[data-home-edit-target="category"]:not(.is-drop-target) {
  opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
  .home-link-editor__backdrop,
  .home-link-editor__panel,
  .home-tile {
    transition: none;
  }
}

@media (prefers-color-scheme: light) {
  html:not(.force-dark) .home-tile__mosaic-cell {
    background: rgba(30, 45, 72, 0.06);
  }

  html:not(.force-dark) .home-tile__mosaic-glyph {
    color: rgba(28, 36, 48, 0.78);
  }

  html:not(.force-dark) .home-tile__mosaic-more {
    color: rgba(28, 36, 48, 0.55);
  }

  html:not(.force-dark) a.home-tile__mosaic-cell--link:hover,
  html:not(.force-dark) a.home-tile__mosaic-cell--link:focus-visible,
  html:not(.force-dark) button.home-tile__mosaic-cell--more:hover,
  html:not(.force-dark) button.home-tile__mosaic-cell--more:focus-visible {
    background: rgba(30, 45, 72, 0.1);
  }

  html:not(.force-dark) .home-tile--folder-strip > .home-tile__title[data-home-folder-open]:hover,
  html:not(.force-dark) .home-tile--folder-strip > .home-tile__title[data-home-folder-open]:focus-visible {
    color: rgba(28, 36, 48, 0.95);
  }

  html:not(.force-dark) .home-folder-overlay__backdrop {
    background: rgba(20, 28, 40, 0.35);
  }

  html:not(.force-dark) .home-folder-overlay__panel {
    border-color: rgba(30, 45, 72, 0.12);
    background: rgba(252, 253, 255, 0.96);
    box-shadow: 0 24px 60px rgba(30, 45, 72, 0.18);
  }

  html:not(.force-dark) .home-folder-overlay__head {
    border-bottom-color: rgba(30, 45, 72, 0.08);
  }

  html:not(.force-dark) .home-folder-overlay__title {
    color: rgba(28, 36, 48, 0.92);
  }

  html:not(.force-dark) .home-folder-overlay__tool,
  html:not(.force-dark) .home-folder-overlay__close {
    border-color: rgba(30, 45, 72, 0.12);
    background: rgba(255, 255, 255, 0.8);
    color: rgba(28, 36, 48, 0.78);
  }

  html:not(.force-dark) .home-folder-overlay__empty {
    color: rgba(28, 36, 48, 0.5);
  }

  html:not(.force-dark) .home-folder-overlay__pager .wallpaper-pagination__btn {
    border-color: rgba(30, 45, 72, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: rgba(28, 36, 48, 0.78);
  }

  html:not(.force-dark) .home-folder-overlay__pager .wallpaper-pagination__btn.is-active {
    background: rgba(var(--accent-rgb), 0.18);
    border-color: rgba(var(--accent-rgb), 0.42);
    color: rgba(28, 36, 48, 0.92);
  }

  html:not(.force-dark) .home-folder-overlay__pager .wallpaper-pagination__ellipsis {
    color: rgba(28, 36, 48, 0.5);
  }

  html:not(.force-dark) .home-tile__icon {
    border-color: rgba(30, 45, 72, 0.12);
    background: rgba(252, 253, 255, 0.88);
    box-shadow: 0 8px 20px rgba(30, 45, 72, 0.1);
  }

  html:not(.force-dark) .home-tile__resize {
    border-right-color: rgba(28, 36, 48, 0.42);
    border-bottom-color: rgba(28, 36, 48, 0.42);
    background: transparent;
    box-shadow: none;
  }

  html:not(.force-dark) .home-tile__resize:hover,
  html:not(.force-dark) .home-tile.is-resizing .home-tile__resize {
    border-right-color: rgb(var(--accent-rgb));
    border-bottom-color: rgb(var(--accent-rgb));
    background: transparent;
  }

  html:not(.force-dark) .home-tile__glyph {
    color: rgba(28, 36, 48, 0.88);
  }

  html:not(.force-dark) .home-tile__title {
    color: rgba(28, 36, 48, 0.78);
  }

  html:not(.force-dark) .home-tile--add .home-tile__add-icon {
    border-color: transparent;
    background: transparent;
    color: rgba(28, 36, 48, 0.4);
    box-shadow: none;
  }

  html:not(.force-dark) .home-tile--add .home-tile__add-icon::after {
    border-color: rgba(30, 45, 72, 0.28);
  }

  html:not(.force-dark) .home-tile--add .home-tile__title {
    color: rgba(28, 36, 48, 0.4);
  }

  html:not(.force-dark) .home-tile--add:hover .home-tile__add-icon,
  html:not(.force-dark) .home-tile--add:focus-visible .home-tile__add-icon {
    background: rgba(var(--accent-rgb), 0.08);
    color: rgb(var(--accent-rgb));
  }

  html:not(.force-dark) .home-tile--add:hover .home-tile__add-icon::after,
  html:not(.force-dark) .home-tile--add:focus-visible .home-tile__add-icon::after {
    border-color: rgba(var(--accent-rgb), 0.65);
  }

  html:not(.force-dark) .home-link-editor__icon-preview {
    border-color: rgba(30, 45, 72, 0.14);
    background: rgba(255, 255, 255, 0.9);
  }

  html:not(.force-dark) .home-link-editor__icon-glyph {
    color: rgba(28, 36, 48, 0.88);
  }

  html:not(.force-dark) .home-link-editor__size-readout {
    color: rgba(28, 36, 48, 0.55);
  }

  html:not(.force-dark) .home-link-editor__label {
    color: rgba(28, 36, 48, 0.55);
  }

  html:not(.force-dark) .home-link-editor .home-link-editor__input,
  html:not(.force-dark) .home-link-editor .home-link-editor__select,
  html:not(.force-dark) .home-link-editor .home-link-editor__url-wrap {
    border-color: rgba(30, 45, 72, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: rgba(28, 36, 48, 0.92);
  }

  html:not(.force-dark) .home-link-editor .home-link-editor__url-prefix {
    color: rgba(28, 36, 48, 0.48);
  }

  html:not(.force-dark) .home-link-editor .home-link-editor__url-scheme {
    color: rgb(var(--accent-rgb));
    border-right-color: rgba(30, 45, 72, 0.12);
  }

  html:not(.force-dark) .home-link-editor .home-link-editor__url-scheme:hover,
  html:not(.force-dark) .home-link-editor .home-link-editor__url-scheme:focus-visible {
    color: rgb(var(--accent-rgb));
    background: rgba(var(--accent-rgb), 0.1);
  }

  html:not(.force-dark) .home-link-editor__overlay-title {
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5);
  }

  html:not(.force-dark) .home-link-editor .home-link-editor__input--url {
    color: rgba(28, 36, 48, 0.92);
  }

  html:not(.force-dark) .home-link-editor__cat-btn:not(.is-active) {
    background: rgba(255, 255, 255, 0.62);
    color: rgba(18, 24, 34, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }

  html:not(.force-dark) .home-link-editor__cat-btn--add,
  html:not(.force-dark) .home-link-editor__cat-btn--add:not(.is-active) {
    background: transparent !important;
    background-image: none !important;
    color: rgba(28, 36, 48, 0.42);
    box-shadow: none !important;
  }

  html:not(.force-dark) .home-link-editor__cat-btn--add::after {
    border-color: rgba(30, 45, 72, 0.36);
  }

  html:not(.force-dark) .home-link-editor__cat-btn--add:hover,
  html:not(.force-dark) .home-link-editor__cat-btn--add:focus-visible {
    color: rgba(28, 36, 48, 0.72);
  }

  html:not(.force-dark) .home-link-editor__segmented {
    border-color: rgba(30, 45, 72, 0.12);
    background: rgba(30, 45, 72, 0.05);
  }

  html:not(.force-dark) .home-link-editor__size-caption {
    color: rgba(28, 36, 48, 0.45);
  }

  html:not(.force-dark) .home-link-editor__size-preview {
    border-color: rgba(30, 45, 72, 0.18);
    background: rgba(30, 45, 72, 0.07);
  }

  html:not(.force-dark) .home-link-editor__size-cell {
    border-color: rgba(30, 45, 72, 0.28);
    background: rgba(30, 45, 72, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }

  html:not(.force-dark) .home-link-editor__size-cell.is-filled,
  html:not(.force-dark) .home-link-editor__size-cell.is-active {
    background: rgba(var(--accent-rgb), 0.72);
    border-color: rgba(var(--accent-rgb), 0.95);
    box-shadow: none;
  }

  html:not(.force-dark) .home-link-editor__segment {
    color: rgba(28, 36, 48, 0.55);
  }

  html:not(.force-dark) .home-link-editor__segment:hover,
  html:not(.force-dark) .home-link-editor__segment:focus-visible {
    color: rgba(28, 36, 48, 0.9);
  }

  html:not(.force-dark):not(.glass-ios26) .home-link-editor__segment.is-active,
  html:not(.force-dark):not(.glass-ios26) .home-link-editor__segment[aria-checked='true'] {
    color: rgb(var(--accent-rgb));
  }

  html:not(.force-dark) .home-link-editor__dropdown-trigger {
    border-color: rgba(30, 45, 72, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: rgba(28, 36, 48, 0.92);
  }

  html:not(.force-dark) .home-link-editor__dropdown-caret {
    color: rgba(28, 36, 48, 0.4);
  }

  html:not(.force-dark) .home-link-editor__dropdown-menu {
    border-color: rgba(30, 45, 72, 0.12);
    background: rgba(252, 253, 255, 0.98);
    box-shadow: 0 14px 36px rgba(30, 45, 72, 0.16);
  }

  html:not(.force-dark) .home-link-editor__dropdown-option {
    color: rgba(28, 36, 48, 0.86);
  }

  html:not(.force-dark) .home-link-editor__dropdown-option > .fa {
    color: rgba(28, 36, 48, 0.4);
  }

  html:not(.force-dark) .home-link-editor__dropdown-option:hover,
  html:not(.force-dark) .home-link-editor__dropdown-option:focus-visible {
    background: rgba(30, 45, 72, 0.06);
  }

  html:not(.force-dark) .home-link-editor__dropdown-option.is-active,
  html:not(.force-dark) .home-link-editor__dropdown-option[aria-selected='true'] {
    color: #fff;
  }

  html:not(.force-dark) .home-link-editor__dropdown-option.is-active > .fa,
  html:not(.force-dark) .home-link-editor__dropdown-option[aria-selected='true'] > .fa {
    color: rgba(255, 255, 255, 0.9);
  }

  html:not(.force-dark) .home-link-editor__esc-hint kbd {
    border-color: rgba(30, 45, 72, 0.14);
    background: rgba(30, 45, 72, 0.05);
    color: rgba(28, 36, 48, 0.5);
    box-shadow: none;
  }

  html:not(.force-dark) .home-link-editor__close {
    border-color: rgba(30, 45, 72, 0.16);
    background: rgba(30, 45, 72, 0.06);
    color: rgba(28, 36, 48, 0.55);
  }

  html:not(.force-dark) .home-link-editor__close:hover,
  html:not(.force-dark) .home-link-editor__close:focus-visible {
    background: rgba(30, 45, 72, 0.1);
    border-color: rgba(30, 45, 72, 0.24);
    color: rgba(28, 36, 48, 0.9);
  }

  html:not(.force-dark) .home-link-editor__btn--cancel {
    border-color: rgba(30, 45, 72, 0.16);
    color: rgba(28, 36, 48, 0.78);
  }

  html:not(.force-dark) .home-link-editor__btn--danger {
    border-color: rgba(220, 68, 68, 0.4);
    background: rgba(220, 68, 68, 0.1);
    color: #c43c3c;
  }
}

html.force-light .home-tile__icon {
  border-color: rgba(30, 45, 72, 0.12);
  background: rgba(252, 253, 255, 0.88);
  box-shadow: 0 8px 20px rgba(30, 45, 72, 0.1);
}

html.force-light .home-tile__resize {
  border-right-color: rgba(28, 36, 48, 0.42);
  border-bottom-color: rgba(28, 36, 48, 0.42);
  background: transparent;
  box-shadow: none;
}

html.force-light .home-tile__resize:hover,
html.force-light .home-tile.is-resizing .home-tile__resize {
  border-right-color: rgb(var(--accent-rgb));
  border-bottom-color: rgb(var(--accent-rgb));
  background: transparent;
}

html.force-light .home-tile__glyph {
  color: rgba(28, 36, 48, 0.88);
}

html.force-light .home-tile__title {
  color: rgba(28, 36, 48, 0.78);
}

html.force-light .home-tile--folder-strip > .home-tile__title[data-home-folder-open]:hover,
html.force-light .home-tile--folder-strip > .home-tile__title[data-home-folder-open]:focus-visible {
  color: rgba(28, 36, 48, 0.95);
}

html.force-light .home-tile--add .home-tile__add-icon {
  border-color: transparent;
  background: transparent;
  color: rgba(28, 36, 48, 0.4);
  box-shadow: none;
}

html.force-light .home-tile--add .home-tile__add-icon::after {
  border-color: rgba(30, 45, 72, 0.28);
}

html.force-light .home-tile--add .home-tile__title {
  color: rgba(28, 36, 48, 0.4);
}

html.force-light .home-tile--add:hover .home-tile__add-icon,
html.force-light .home-tile--add:focus-visible .home-tile__add-icon {
  background: rgba(var(--accent-rgb), 0.08);
  color: rgb(var(--accent-rgb));
}

html.force-light .home-tile--add:hover .home-tile__add-icon::after,
html.force-light .home-tile--add:focus-visible .home-tile__add-icon::after {
  border-color: rgba(var(--accent-rgb), 0.65);
}

html.force-light .home-folder-overlay__pager .wallpaper-pagination__btn {
  border-color: rgba(30, 45, 72, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(28, 36, 48, 0.78);
}

html.force-light .home-folder-overlay__pager .wallpaper-pagination__btn.is-active {
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.42);
  color: rgba(28, 36, 48, 0.92);
}

html.force-light .home-folder-overlay__pager .wallpaper-pagination__ellipsis {
  color: rgba(28, 36, 48, 0.5);
}

html.force-light .home-link-editor__icon-preview {
  border-color: rgba(30, 45, 72, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

html.force-light .home-link-editor__icon-glyph {
  color: rgba(28, 36, 48, 0.88);
}

html.force-light .home-link-editor__size-readout {
  color: rgba(28, 36, 48, 0.55);
}

html.force-light .home-link-editor__label {
  color: rgba(28, 36, 48, 0.55);
}

html.force-light .home-link-editor .home-link-editor__input,
html.force-light .home-link-editor .home-link-editor__select,
html.force-light .home-link-editor .home-link-editor__url-wrap {
  border-color: rgba(30, 45, 72, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(28, 36, 48, 0.92);
}

html.force-light .home-link-editor .home-link-editor__url-prefix {
  color: rgba(28, 36, 48, 0.48);
}

html.force-light .home-link-editor .home-link-editor__url-scheme {
  color: rgb(var(--accent-rgb));
  border-right-color: rgba(30, 45, 72, 0.12);
}

html.force-light .home-link-editor .home-link-editor__url-scheme:hover,
html.force-light .home-link-editor .home-link-editor__url-scheme:focus-visible {
  color: rgb(var(--accent-rgb));
  background: rgba(var(--accent-rgb), 0.1);
}

html.force-light .home-link-editor__overlay-title {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5);
}

html.force-light .home-link-editor .home-link-editor__input--url {
  color: rgba(28, 36, 48, 0.92);
}

html.force-light .home-link-editor__cat-btn:not(.is-active) {
  background: rgba(255, 255, 255, 0.62);
  color: rgba(18, 24, 34, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

html.force-light .home-link-editor__cat-btn--add,
html.force-light .home-link-editor__cat-btn--add:not(.is-active) {
  background: transparent !important;
  background-image: none !important;
  color: rgba(28, 36, 48, 0.42);
  box-shadow: none !important;
}

html.force-light .home-link-editor__cat-btn--add::after {
  border-color: rgba(30, 45, 72, 0.36);
}

html.force-light .home-link-editor__cat-btn--add:hover,
html.force-light .home-link-editor__cat-btn--add:focus-visible {
  color: rgba(28, 36, 48, 0.72);
}

html.force-light .home-link-editor__segmented {
  border-color: rgba(30, 45, 72, 0.12);
  background: rgba(30, 45, 72, 0.05);
}

html.force-light .home-link-editor__size-caption {
  color: rgba(28, 36, 48, 0.45);
}

html.force-light .home-link-editor__size-preview {
  border-color: rgba(30, 45, 72, 0.18);
  background: rgba(30, 45, 72, 0.07);
}

html.force-light .home-link-editor__size-cell {
  border-color: rgba(30, 45, 72, 0.28);
  background: rgba(30, 45, 72, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

html.force-light .home-link-editor__size-cell.is-filled,
html.force-light .home-link-editor__size-cell.is-active {
  background: rgba(var(--accent-rgb), 0.72);
  border-color: rgba(var(--accent-rgb), 0.95);
  box-shadow: none;
}

html.force-light .home-link-editor__segment {
  color: rgba(28, 36, 48, 0.55);
}

html.force-light:not(.glass-ios26) .home-link-editor__segment.is-active,
html.force-light:not(.glass-ios26) .home-link-editor__segment[aria-checked='true'] {
  color: rgb(var(--accent-rgb));
}

html.force-light .home-link-editor__dropdown-trigger {
  border-color: rgba(30, 45, 72, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(28, 36, 48, 0.92);
}

html.force-light .home-link-editor__dropdown-menu {
  border-color: rgba(30, 45, 72, 0.12);
  background: rgba(252, 253, 255, 0.98);
  box-shadow: 0 14px 36px rgba(30, 45, 72, 0.16);
}

html.force-light .home-link-editor__dropdown-option {
  color: rgba(28, 36, 48, 0.86);
}

html.force-light .home-link-editor__dropdown-option.is-active,
html.force-light .home-link-editor__dropdown-option[aria-selected='true'] {
  color: #fff;
}

html.force-light .home-link-editor__esc-hint kbd {
  border-color: rgba(30, 45, 72, 0.14);
  background: rgba(30, 45, 72, 0.05);
  color: rgba(28, 36, 48, 0.5);
  box-shadow: none;
}

html.force-light .home-link-editor__close {
  border-color: rgba(30, 45, 72, 0.16);
  background: rgba(30, 45, 72, 0.06);
  color: rgba(28, 36, 48, 0.55);
}

html.force-light .home-link-editor__close:hover,
html.force-light .home-link-editor__close:focus-visible {
  background: rgba(30, 45, 72, 0.1);
  border-color: rgba(30, 45, 72, 0.24);
  color: rgba(28, 36, 48, 0.9);
}

html.force-light .home-link-editor__btn--cancel {
  border-color: rgba(30, 45, 72, 0.16);
  color: rgba(28, 36, 48, 0.78);
}

html.force-light .home-link-editor__btn--danger {
  border-color: rgba(220, 68, 68, 0.4);
  background: rgba(220, 68, 68, 0.1);
  color: #c43c3c;
}

html.glass-ios26 .home-tile__icon {
  background: var(--glass-fill);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

html.glass-ios26 .home-tile--add .home-tile__add-icon {
  background: transparent;
  border-color: transparent;
  border-style: solid;
  color: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

html.glass-ios26 .home-tile--add .home-tile__add-icon::after {
  border-color: rgba(255, 255, 255, 0.34);
}

html.glass-ios26 .home-tile--add:hover .home-tile__add-icon,
html.glass-ios26 .home-tile--add:focus-visible .home-tile__add-icon {
  background: rgba(var(--accent-rgb), 0.1);
  color: rgb(var(--accent-rgb));
  box-shadow: none;
}

html.glass-ios26 .home-tile--add:hover .home-tile__add-icon::after,
html.glass-ios26 .home-tile--add:focus-visible .home-tile__add-icon::after {
  border-color: rgba(var(--accent-rgb), 0.7);
}

html.glass-ios26 .home-link-editor__panel,
html.glass-ios26 .home-folder-overlay__panel {
  background: var(--glass-fill);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

html.glass-ios26 .home-folder-overlay__backdrop {
  background: rgba(6, 8, 14, 0.42);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

html.glass-ios26 .home-folder-overlay__head {
  border-bottom-color: var(--glass-border-subtle);
}

html.glass-ios26 .home-folder-overlay__tool,
html.glass-ios26 .home-folder-overlay__close {
  background: var(--glass-bg);
  border-color: var(--glass-border-subtle);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

html.glass-ios26 .home-folder-overlay__pager .wallpaper-pagination__btn {
  background: var(--glass-fill);
  border-color: var(--glass-border);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

html.glass-ios26 .home-folder-overlay__pager .wallpaper-pagination__btn.is-active {
  background-color: transparent;
  background-image: var(--accent-gradient-glass), var(--accent-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: border-box;
  background-clip: border-box;
  border: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 18px rgba(var(--accent-rgb), 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

html.glass-ios26 .home-link-editor__segment {
  overflow: hidden;
  isolation: isolate;
  background-origin: border-box;
  background-clip: border-box;
}

html.glass-ios26 .home-link-editor__segment.is-active,
html.glass-ios26 .home-link-editor__segment[aria-checked='true'] {
  background-color: transparent;
  background-image: var(--accent-gradient-glass), var(--accent-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: border-box;
  background-clip: border-box;
  border-color: transparent;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 16px rgba(var(--accent-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

html.glass-ios26 .home-link-editor__dropdown-menu {
  background: var(--glass-fill);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

html.glass-ios26 .home-link-editor__close,
html.glass-ios26 .home-link-editor__btn--cancel {
  background: var(--glass-bg);
  border-color: var(--glass-border-subtle);
  color: rgba(255, 255, 255, 0.88);
}

html.glass-ios26 .home-link-editor__btn--save {
  background-color: transparent;
  background-image: var(--accent-gradient-glass), var(--accent-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: border-box;
  background-clip: border-box;
  border-color: transparent;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 16px rgba(var(--accent-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

html.glass-ios26.force-light .home-link-editor__panel,
html.glass-ios26.force-light .home-folder-overlay__panel {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(248, 250, 255, 0.58) 48%,
      rgba(255, 255, 255, 0.64) 100%
    );
  border-color: var(--border-subtle);
  backdrop-filter: blur(28px) saturate(1.55);
  -webkit-backdrop-filter: blur(28px) saturate(1.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55),
    var(--shadow-elevated),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.glass-ios26.force-light .home-link-editor__size-preview {
  border-color: rgba(30, 45, 72, 0.2);
  background: rgba(30, 45, 72, 0.08);
}

html.glass-ios26.force-light .home-link-editor__size-cell {
  border-color: rgba(30, 45, 72, 0.3);
  background: rgba(30, 45, 72, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

html.glass-ios26.force-light .home-link-editor__size-cell.is-filled,
html.glass-ios26.force-light .home-link-editor__size-cell.is-active {
  background: rgba(var(--accent-rgb), 0.74);
  border-color: rgba(var(--accent-rgb), 0.96);
  box-shadow: none;
}

@media (prefers-color-scheme: light) {
  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__panel,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-folder-overlay__panel {
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(248, 250, 255, 0.58) 48%,
        rgba(255, 255, 255, 0.64) 100%
      );
    border-color: var(--border-subtle);
    backdrop-filter: blur(28px) saturate(1.55);
    -webkit-backdrop-filter: blur(28px) saturate(1.55);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.55),
      var(--shadow-elevated),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__size-preview {
    border-color: rgba(30, 45, 72, 0.2);
    background: rgba(30, 45, 72, 0.08);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__size-cell {
    border-color: rgba(30, 45, 72, 0.3);
    background: rgba(30, 45, 72, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  }

  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__size-cell.is-filled,
  html.glass-ios26:not(.force-dark):not(.force-light) .home-link-editor__size-cell.is-active {
    background: rgba(var(--accent-rgb), 0.74);
    border-color: rgba(var(--accent-rgb), 0.96);
    box-shadow: none;
  }
}

@media screen and (max-width: 480px) {
  .home-grid {
    --home-cell: 4.35rem;
    --home-gap: 0.42rem;
    --home-icon-base: calc(var(--home-pitch) / var(--home-strip-pitch-ratio));
    --home-track-min: max(
      4.35rem,
      calc(
        (100% - (var(--home-cols-max) - 1) * var(--home-gap)) / var(--home-cols-max)
      )
    );
    grid-template-columns: repeat(auto-fill, minmax(var(--home-track-min), 1fr));
    grid-auto-rows: var(--home-cell);
    gap: var(--home-gap);
  }

  .home-tile__icon,
  .home-tile--add .home-tile__add-icon {
    border-radius: 0.9rem;
  }
}

.home-link-editor__icon-size {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
}

.home-link-editor__icon-top {
  --ep-row-gap: 0.55rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  min-height: 4.4rem;
}

.home-link-editor__icon-preview {
  /* 以正方形为边长单位：width = unit×(w/h)，height = unit；1×1/2×2 为正方形 */
  --ep-w: 1;
  --ep-h: 1;
  --ep-box: 4.4rem;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  width: calc(var(--ep-box) * var(--ep-w) / var(--ep-h));
  height: var(--ep-box);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  container-type: size;
  transition:
    width 0.2s ease,
    height 0.2s ease;
}

.home-link-editor__icon-preview[hidden] {
  display: none !important;
}

.home-link-editor__icon-img {
  position: absolute;
  inset: 0.42rem;
  width: calc(100% - 0.84rem);
  height: calc(100% - 0.84rem);
  object-fit: cover;
  border-radius: 0.32rem;
}

.home-link-editor__icon-glyph {
  font-size: clamp(0.7rem, 42cqmin, 1.7rem);
  font-weight: 650;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
}

.home-link-editor__size-readout {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: auto;
  min-width: 1.5rem;
  margin: 0 0 0 var(--ep-row-gap);
  padding: 0 0 0.2rem;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
  user-select: none;
}

.home-link-editor__size-readout[hidden] {
  display: none !important;
}

.home-link-editor__icon-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.home-link-editor__icon-actions[hidden] {
  display: none !important;
}

.home-link-editor__icon-actions .home-link-editor__btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  font-size: 0.78rem;
}

.home-link-editor__icon-actions .home-link-editor__btn[hidden] {
  display: none !important;
}

.home-link-editor--folder .home-link-editor__icon-actions .home-link-editor__btn {
  flex: 0 0 auto;
  min-width: 5.5rem;
}

.home-link-editor__size[hidden] {
  display: none !important;
}

.home-link-editor__size--grid-only {
  flex: 0 0 auto;
  margin-left: auto;
  touch-action: none;
  user-select: none;
}

.home-link-editor__size-preview.is-sliding {
  cursor: grabbing;
}

.home-link-editor__cat-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--home-editor-icon-gap);
  padding-top: 0.15rem;
}

/* 须写在 .home-link-editor__cat-nav 之后，否则会被 flex + 更大 gap 盖掉 */
.home-cat-editor .home-link-editor__cat-nav.home-cat-editor__icon-nav {
  display: grid;
  grid-template-columns: repeat(8, var(--home-editor-icon-size));
  gap: var(--home-editor-icon-gap);
  width: max-content;
  max-width: none;
  max-height: none;
  overflow: visible;
  padding: 0.1rem 0 0.15rem;
  -webkit-overflow-scrolling: touch;
}

.home-cat-editor .home-cat-editor__icon-nav .home-link-editor__cat-btn {
  width: var(--home-editor-icon-size);
  height: var(--home-editor-icon-size);
}

button.home-link-editor__cat-btn--add,
.home-link-editor__cat-btn--add {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.5);
  overflow: visible;
}

.home-link-editor__cat-btn--add::after {
  content: '';
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 2px dashed rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  pointer-events: none;
}

.home-link-editor__cat-btn--add:hover,
.home-link-editor__cat-btn--add:focus-visible {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.82);
  outline: none;
}

.home-link-editor__cat-btn--add:hover::after,
.home-link-editor__cat-btn--add:focus-visible::after {
  border-color: rgba(var(--accent-rgb), 0.7);
}

button.home-link-editor__cat-btn,
.home-link-editor__cat-btn {
  box-sizing: border-box;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.55rem;
  height: 2.55rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  line-height: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(8, 10, 16, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.home-link-editor__cat-btn > .fa {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  line-height: 1;
  color: inherit;
  pointer-events: none;
}

.home-link-editor__cat-btn:hover,
.home-link-editor__cat-btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.home-link-editor__cat-btn.is-active {
  background: transparent;
  background-image: var(--accent-gradient);
  color: #fff;
  box-shadow:
    0 4px 16px rgba(var(--accent-rgb), 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

html.glass-ios26 .home-link-editor__cat-btn:not(.is-active):not(.home-link-editor__cat-btn--add) {
  background: transparent;
  background-image: var(--glass-fill);
  backdrop-filter: blur(18px) saturate(1.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.55);
  box-shadow: var(--glass-shadow);
}

html.glass-ios26 .home-link-editor__cat-btn.is-active {
  background-image: var(--accent-gradient-glass), var(--accent-gradient);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow:
    0 4px 18px rgba(var(--accent-rgb), 0.34),
    var(--glass-accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
