/* 千本樱 · Glass. Optical materials belong to controls; content stays readable.
   Keep this layer after legacy styles. Never filter HDR media or its canvases. */
body.pix-apple {
  --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --apple-ink: #302a32;
  --apple-secondary: #726573;
  --apple-accent: #89536f;
  --apple-surface: rgb(255 253 254 / 96%);
  --apple-soft: #f6f0f4;
  --apple-line: rgb(95 59 82 / 11%);
  --apple-glass: rgb(255 250 253 / 78%);
  --apple-shadow: 0 8px 30px -16px #3b20382b, 0 1px 3px #3b203808;
  --apple-radius: 20px;
  --apple-ease: cubic-bezier(.22, 1, .36, 1);
  --dark-color: var(--apple-ink);
  --light-text-color: var(--apple-secondary);
  --heave-text-color: var(--apple-ink);
  --border-color: var(--apple-line);
  --withe-bg-color: var(--apple-surface);
  --btn-light-color: #f4e8ef;
  --btn-active-color: #ead0df;
  --btn-text-color: #50354a;
  --hilight-color: var(--apple-accent);
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.65;
  color: var(--apple-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.dark body.pix-apple,
body.pix-apple:has(.land_page.darkl) {
  color-scheme: dark;
  --apple-ink: #f3eaf1;
  --apple-secondary: #b9a9b8;
  --apple-accent: #edb8d1;
  --apple-surface: rgb(35 29 39 / 97%);
  --apple-soft: #302735;
  --apple-line: rgb(243 220 238 / 12%);
  --apple-glass: rgb(40 32 44 / 84%);
  --apple-shadow: 0 8px 28px -14px #0006, 0 1px 2px #0002;
  --btn-light-color: #423244;
  --btn-active-color: #d5b1c6;
  --btn-text-color: #3a2735;
}
body.pix-apple *, body.pix-apple *::before, body.pix-apple *::after { box-sizing: border-box; }
body.pix-apple :is(h1,h2,h3,h4,p,input,button,textarea) { font-family: var(--font-family); }
body.pix-apple :is(h1,h2,h3,h4) { color: var(--apple-ink); letter-spacing: 0; }
body.pix-apple a { color: inherit; }
body.pix-apple a:hover { color: var(--apple-accent); }
body.pix-apple :is(a,button,input,textarea,summary,[tabindex]):focus-visible { outline: 3px solid var(--apple-accent); outline-offset: 4px; }
body.pix-apple .pix-skip-link { position: fixed; top: -100px; left: 20px; z-index: 30000; padding: 12px 20px; border-radius: 16px; background: var(--apple-surface); }
body.pix-apple .pix-skip-link:focus { top: 16px; }
body.pix-apple #pjax-container { scroll-margin-top: 100px; }
body.pix-apple #pjax-container:focus { outline: none; }
/* Independent shell panels leave the illustration at its original viewport scale. */
body.pix-apple .main_wrap { max-width: 1160px; width: calc(100% - 64px); margin: 32px auto 100px; box-shadow: none; }
body.pix-apple .main_body { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 28px; margin: 0; }
body.pix-apple .main_body > * { width: auto; min-width: 0; padding-left: 0; margin-top: 0; }
body.pix-apple .page_main { background: transparent; border-radius: 0; }
body.pix-apple .left_nav_inner { height: 100%; background: transparent; border-radius: 0; }
body.pix-apple .left_nav .pix-sticky-aside { top: min(24px,calc(100vh - var(--pix-aside-height,0px) - 16px)); }
body.pix-apple .top_logo { padding: 4px 12px 28px; margin: 0; text-align: left; }
body.pix-apple .top_logo img { max-width: 100%; object-fit: contain; }
body.pix-apple .top_logo.close_bar { display: none; }
body.pix-apple .pix-sidebar-caption { margin: 0 12px 8px; font-size: 11px; font-weight: 600; color: var(--apple-secondary); letter-spacing: .1em; }
body.pix-apple .left_menu_box > div > ul { display: flex; flex-direction: column; gap: 4px; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.pix-apple .left_menu_box ul li { width: 100%; }
body.pix-apple .left_menu_box ul li a { min-height: 44px; margin: 0; padding: 10px 12px; display: flex; align-items: center; justify-content: flex-start; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: none; line-height: 1.4; }
body.pix-apple .left_menu_box ul li a:hover { transform: none; background: var(--btn-light-color); }
body.pix-apple .left_menu_box a :is(i,img) { font-size: 20px; width: 20px; height: 20px; flex: 0 0 20px; margin: 0 12px 0 0; text-align: center; }
body.pix-apple .left_menu_box .nav_title { display: inline; }
body.pix-apple .left_menu_box .sub-menu { margin-left: 12px; padding-left: 8px; border-left: 1px solid var(--apple-line); }
body.pix-apple .left_menu_box .sub-menu a { font-size: 13px; }
body.pix-apple .widget_inner { padding: 20px 12px; }
body.pix-apple .widget_inner .widget { border-color: var(--apple-line); margin-bottom: 20px; padding-bottom: 20px; }
body.pix-apple .widget-title { font-size: 13px; font-weight: 600; color: var(--apple-secondary); }
body.pix-apple .widget_tag_cloud a { box-shadow: none; border-radius: 8px; padding: 5px 9px; }
body.pix-apple .sidebar_right { background: transparent; }
body.pix-apple .right_admin_tool { display: none; }
body.pix-apple:is(.mod_third,.mod_third_s) .main_wrap { max-width: 1240px; }
body.pix-apple:is(.mod_third,.mod_third_s) .main_body { grid-template-columns: 200px minmax(0,1fr) 216px; }
body.pix-apple.mod_single .main_body, body.pix-apple.mod_double_r .main_body { grid-template-columns: minmax(0,1fr); }
body.pix-apple.mod_single .main_wrap { max-width: 900px; }
/* Floating toolbar: small blur surface, never a viewport-sized glass layer. */
body.pix-apple #masthead { top: 16px; margin-bottom: 20px; }
body.pix-apple #masthead .top_bar { height: 52px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.pix-apple .pix-toolbar-title { order: 1; min-width: 0; margin-right: auto; padding: 10px 12px; font-size: 14px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.pix-apple .top_left { order: 2; padding: 0; flex-shrink: 0; }
body.pix-apple .top_right { order: 3; padding: 0; flex-shrink: 0; }
body.pix-apple .top_tool { margin: 0 2px; }
body.pix-apple .top_tool > a, body.pix-apple .mobile_nav_btn { min-height: 44px; min-width: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; }
body.pix-apple .top_tool i { font-size: 21px; color: var(--apple-secondary); }
body.pix-apple .top_tool > a:hover { background: var(--apple-soft); transform: none; }
body.pix-apple .mobile_logo { display: none; }
@supports (backdrop-filter: blur(12px)) {
  body.pix-apple #masthead .top_bar { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
/* Keep original HDR media separate from text decoration, including during resize. */
body.pix-apple .index_banner { border-radius: 20px; overflow: visible; margin-bottom: 28px; isolation: auto; }
body.pix-apple .index_banner > .pix-banner-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: inherit; }
/* A sibling overlay dims the lower edge without filtering the HDR image itself. */
body.pix-apple .index_banner::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg,transparent 15%,#2215289c); pointer-events: none; z-index: 1; }
body.pix-apple .index_banner .name, body.pix-apple .index_banner .des { text-shadow: 0 1px 4px #000a; }
body.pix-apple .user_info { bottom: 24px; left: 24px; right: 24px; z-index: 2; }
body.pix-apple .user_info .top { flex-direction: row; justify-content: flex-end; gap: 16px; }
body.pix-apple .user_info .left { padding: 0; align-items: flex-end; min-width: 0; }
body.pix-apple .user_info .name { font-size: 26px; letter-spacing: -.035em; color: #fff; }
body.pix-apple .user_info .des { color: #fff; opacity: .9; text-align: right; font-size: 13px; }
body.pix-apple .user_info .avatar img { border-radius: 18px; box-shadow: 0 0 0 2px #ffffff80; }
body.pix-apple .pix-page-heading { margin: 0 0 20px; }
body.pix-apple .pix-page-heading h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.35; font-weight: 700; }
body.pix-apple .pix-page-heading p { margin: 0; line-height: 1.65; font-size: 13px; color: var(--apple-secondary); }
/* Shared collection surfaces: moments, articles, links, photos, archive pages. */
body.pix-apple :is(.blog_list_inner,.normal_list_inner,.archive_main,.page_wrap,.posts_mu_list) { background: transparent; padding-bottom: 28px; }
body.pix-apple :is(#post_item,#photos_item) { padding: 0; }
body.pix-apple :is(.moment_cat_nav,.posts_cat_nav,.photos_cat_nav) { margin: 0 0 22px; padding: 0; border: 0; }
body.pix-apple :is(.moment_cat_nav,.posts_cat_nav,.photos_cat_nav) ul { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px; margin: 0; border-radius: 14px; background: var(--apple-surface); }
body.pix-apple :is(.moment_cat_nav,.posts_cat_nav,.photos_cat_nav) ul li { padding: 0; margin: 0; }
body.pix-apple :is(.moment_cat_nav,.posts_cat_nav,.photos_cat_nav) ul li a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 0; padding: 9px 14px; border-radius: 13px; font-size: 13px; background: transparent; color: var(--apple-secondary); }
body.pix-apple .p_item { margin-bottom: 16px; padding: 24px; background: var(--apple-surface); border: 1px solid var(--apple-line); border-radius: var(--apple-radius); box-shadow: var(--apple-shadow); }
body.pix-apple .p_item .p_item_inner { padding: 0; }
body.pix-apple .list_user_meta { align-items: center; }
body.pix-apple .list_user_meta .name { color: var(--apple-ink); font-weight: 600; }
body.pix-apple .list_user_meta .avatar img { border-radius: 14px; }
body.pix-apple :is(.normal_content,.normal_card_content,.normal_grid_content) .entry-title { margin: 0 0 10px; font-size: 22px; font-weight: 600; line-height: 1.45; }
body.pix-apple .entry-content p { line-height: 1.8; color: var(--apple-secondary); }
body.pix-apple .moment_content { font-size: 15px; line-height: 1.8; }
body.pix-apple :is(.feature,.mo_img,.moment_card_item a) { border-radius: 16px; }
body.pix-apple .feature .shadow { box-shadow: none; }
body.pix-apple .entry-footer { background: transparent; margin: 0; padding: 12px 0 0; }
body.pix-apple .post_footer_meta { color: var(--apple-secondary); font-size: 12px; }
body.pix-apple .post_footer_meta :is(a.up_like,button.show_comment) { min-height: 44px; display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 13px; }
body.pix-apple .post_footer_meta a.up_like:hover { background: var(--apple-soft); }
body.pix-apple .post_footer_meta :is(.left,.right) { flex-wrap: wrap; }
body.pix-apple .post_footer_meta .normal_cat { background: var(--apple-soft); color: var(--apple-accent); border-radius: 8px; padding: 4px 9px; }
body.pix-apple :is(#pagination,#t_pagination,#p_pagination,.arc_pagenav) { padding: 20px 0; }
body.pix-apple :is(#pagination,#t_pagination,#p_pagination,.arc_pagenav) a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 0; border-radius: 16px; padding: 11px 24px; box-shadow: var(--apple-shadow); }
body.pix-apple .page_inner { padding: 0; }
body.pix-apple .column_inner, body.pix-apple .link_group .item { background: var(--apple-surface); border: 1px solid var(--apple-line); border-radius: 20px; box-shadow: var(--apple-shadow); }
body.pix-apple .link_group .item { padding: 20px; }
body.pix-apple .link_group .description { color: var(--apple-secondary); }
body.pix-apple .link_cat_name { margin: 24px 0 16px; font-size: 18px; font-weight: 600; }
body.pix-apple .gallery-photo { border-radius: 18px; overflow: hidden; }
body.pix-apple .gallery-photo img { border-radius: inherit; }
body.pix-apple .pix-tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; }
body.pix-apple .pix-tag-list a { display: block; padding: 12px 20px; border-radius: 16px; background: var(--apple-surface); border: 1px solid var(--apple-line); }
/* Reading surfaces: clear rhythm and contrast, independent of glass lighting. */
body.pix-apple :is(.single_wrap,.page_content,.single_content) { background: var(--apple-surface); border: 1px solid var(--apple-line); border-radius: 28px; padding: clamp(24px,4vw,48px); box-shadow: var(--apple-shadow); }
body.pix-apple .post-single .entry-title { font-size: clamp(28px,3.4vw,40px); line-height: 1.3; font-weight: 700; letter-spacing: -.035em; margin: 0 0 20px; color: var(--apple-ink); text-wrap: balance; }
body.pix-apple .single-inner { border-color: var(--apple-line); }
body.pix-apple :is(.single-content,.page_content .entry-content) { font-size: 17px; line-height: 1.95; color: var(--apple-ink); overflow-wrap: anywhere; }
body.pix-apple .single-content :is(p,ul,ol) { margin: 1.3em 0; }
body.pix-apple .single-content :is(h2,h3,h4) { margin: 2em 0 .7em; font-weight: 650; line-height: 1.4; }
body.pix-apple .single-content h2 { font-size: 26px; }
body.pix-apple .single-content h3 { font-size: 21px; }
body.pix-apple .single-content a:not(.fancybox) { color: var(--apple-accent); text-decoration: underline; text-decoration-color: color-mix(in srgb,var(--apple-accent) 35%,transparent); text-underline-offset: 4px; }
body.pix-apple .single-content img { max-width: 100%; border-radius: 16px; }
body.pix-apple .single-content :is(pre,blockquote) { padding: 20px 24px; border-radius: 16px; background: var(--apple-soft); }
body.pix-apple .single-content pre { font-size: 13px; line-height: 1.7; overflow: auto; }
body.pix-apple .single-content table { display: block; max-width: 100%; overflow-x: auto; }
body.pix-apple :is(.single_wrap,.page_content) .comments-area { padding: 24px 0 0; border-radius: 0; border-top: 1px solid var(--apple-line); background: transparent; }
body.pix-apple .single_footer_box { background: var(--apple-soft); border-radius: 18px; }
body.pix-apple :is(.uk-modal-dialog,.user_pannel,.top_menu_box) { border: 1px solid var(--apple-line); border-radius: 24px; background: var(--apple-surface); color: var(--apple-ink); box-shadow: 0 24px 80px #24152b33; }
body.pix-apple :is(input[type=text],input[type=password],input[type=email],textarea) { color: var(--apple-ink); background: var(--apple-soft); border-radius: 12px; border-color: var(--apple-line); }
body.pix-apple :is(.submit_button,#push_comment,.pix-comment-compose) { min-height: 44px; border-radius: 14px; }
body.pix-apple .footer_main .inner { margin-top: 28px; background: transparent; padding: 24px 12px; color: var(--apple-secondary); }
body.pix-apple .go_top_box { max-width: none; right: 20px; left: auto; width: 44px; }
body.pix-apple .go_top_box :is(a.go_top,.t_dark a,a.bg_music,a.bg_lrc) { border-radius: 15px; min-width: 44px; min-height: 44px; box-shadow: var(--apple-shadow); }
/* Do not change the pet's dimensions or the scene's background-size. */
body.pix-apple .footer_nav { max-width: 1180px; width: calc(100% - 80px); }
body.pix-apple .footer_nav_box { border-radius: 20px 20px 0 0; }
body.pix-apple .pix-reading-meta { color: var(--apple-secondary); font-size: 12px; margin: 0 0 22px; letter-spacing: .02em; }
/* Column count and visibility switch together. Legacy mobile.css hides the
   third rail at 1366px; explicitly restore it whenever this grid has 3 tracks. */
@media (width >= 1200px) {
  body.pix-apple:is(.mod_third,.mod_third_s) .main_sidebar { display: block; grid-column: auto; }
  body.pix-apple:is(.mod_third,.mod_third_s) .sidebar_right { display: flex; }
}
@media (960px <= width < 1200px) {
  body.pix-apple:is(.mod_third,.mod_third_s) .main_wrap { width: calc(100% - 48px); max-width: 1000px; }
  body.pix-apple:is(.mod_third,.mod_third_s) .main_body { grid-template-columns: 184px minmax(0,1fr); gap: 24px; }
  body.pix-apple:is(.mod_third,.mod_third_s) .main_sidebar { display: none; }
}
@media (width < 960px) {
  body.pix-apple .main_wrap, body.pix-apple:is(.mod_third,.mod_third_s) .main_wrap { width: calc(100% - 40px); max-width: 780px; margin-top: 16px; }
  body.pix-apple .main_body, body.pix-apple:is(.mod_third,.mod_third_s) .main_body { display: block; }
  body.pix-apple .main_sidebar, body.pix-apple .left_nav { display: none; }
  body.pix-apple #masthead { top: max(10px,env(safe-area-inset-top)); }
  body.pix-apple .top_left { order: 0; }
  body.pix-apple .pix-toolbar-title { padding-left: 6px; }
  body.pix-apple .index_banner { border-radius: 24px; }
  body.pix-apple #m_offcanvas .uk-offcanvas-bar { background: var(--apple-surface); color: var(--apple-ink); border-radius: 0 28px 28px 0; }
  body.pix-apple #mobile_menu a { display: flex; align-items: center; min-height: 48px; padding: 12px 16px; border-radius: 15px; color: var(--apple-ink); }
  body.pix-apple #mobile_menu a img { width: 22px; height: 22px; }
  body.pix-apple .footer_nav { width: calc(100% - 32px); left: 16px; bottom: max(12px,env(safe-area-inset-bottom)); }
  body.pix-apple .footer_menu .inner { border: 1px solid var(--apple-line); border-radius: 24px; background: var(--apple-glass); box-shadow: var(--apple-shadow); padding: 6px; }
  body.pix-apple .footer_menu li a { min-height: 46px; min-width: 44px; padding: 4px 8px; border-radius: 14px; color: var(--apple-secondary); }
  body.pix-apple .footer_menu li a i { color: inherit; }
  body.pix-apple .footer_nav_box { margin-top: 6px; border-radius: 18px; }
  body.pix-apple .go_top_box { right: 12px; }
}
@media (max-width: 600px) {
  body.pix-apple .main_wrap { width: calc(100% - 24px); margin-bottom: 150px; }
  body.pix-apple #masthead .top_bar { padding: 0; height: 48px; border-radius: 0; }
  body.pix-apple .index_banner { margin-bottom: 22px; }
  body.pix-apple .user_info { left: 20px; right: 20px; }
  body.pix-apple .user_info .name { font-size: 24px; }
  body.pix-apple .pix-page-heading { margin: 0 0 20px; }
  body.pix-apple .p_item { padding: 20px; margin-bottom: 16px; border-radius: 18px; }
  body.pix-apple :is(.normal_content,.normal_card_content,.normal_grid_content) .entry-title { font-size: 22px; }
  body.pix-apple :is(.single_wrap,.page_content,.single_content) { padding: 24px 18px; border-radius: 24px; }
  body.pix-apple .single-content { font-size: 16px; }
  body.pix-apple .single-content :is(pre,blockquote) { padding: 16px; }
  body.pix-apple :is(.moment_cat_nav,.posts_cat_nav,.photos_cat_nav) ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  body.pix-apple :is(.moment_cat_nav,.posts_cat_nav,.photos_cat_nav) ul li { flex-shrink: 0; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  body.pix-apple { --apple-glass: #fffafd; --apple-surface: #fff; --apple-line: #998793; }
  html.dark body.pix-apple { --apple-glass: #28212d; --apple-surface: #231d27; --apple-line: #88798a; }
  body.pix-apple #masthead .top_bar, body.pix-apple .left_menu_box > div > ul, body.pix-apple .pix-hdr-highlight-host::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
/* Reset legacy column offsets and mobile absolute toolbar positioning. */
body.pix-apple :is(.top_left,.top_right) { width: auto; margin: 0; }
body.pix-apple .pix-toolbar-title { flex: 1 1 auto; }
body.pix-apple .pix-page-heading h1 { text-align: left; }
body.pix-apple .index_banner { opacity: 1; text-shadow: none; }
body.pix-apple :is(.blog_list_inner,.single_content,.page_content,.page_wrap,.normal_list_inner,.single_wrap) { top: auto; }
body.pix-apple .widget_inner { padding: 24px 0 0; }
body.pix-apple .widget_inner .widget { padding: 20px 16px; margin: 0 0 16px; background: var(--apple-glass); border: 0; border-radius: 16px; box-shadow: none; }
body.pix-apple .pix_widget_tongji ul li { background: var(--apple-soft); padding: 10px; border-radius: 12px; box-shadow: none; }
body.pix-apple .pix_widget_tongji ul li span { font-size: 12px; color: var(--apple-secondary); }
body.pix-apple .pix_widget_tongji ul li small { color: var(--apple-accent); }
body.pix-apple .go_top_box { right: 16px; bottom: 210px; height: auto; z-index: 1000; }
body.pix-apple .go_top_box .footer_tool { position: static; width: 44px; }
body.pix-apple .go_top_box .top_tool { width: 44px; margin: 0 0 8px; }
body.pix-apple .go_top_box .top_tool a { margin: 0; padding: 0; width: 44px; }
body.pix-apple .go_top_box a.go_top { right: 0; bottom: -44px; justify-content: center; align-items: center; }
body.pix-apple .go_top_box a.go_top:not(.show) { visibility: hidden; }
@media (width < 960px) {
  body.pix-apple #top_third { display: flex; }
  body.pix-apple .top_right { position: static; }
}
@media (max-width: 600px) {
  body.pix-apple:is(.mod_third,.mod_third_s) .main_wrap { width: calc(100% - 24px); }
}
/* Utility controls live in a native disclosure, keeping them clear of content. */
body.pix-apple .pix-utility-menu { order: 4; position: relative; flex: 0 0 auto; }
body.pix-apple .pix-utility-menu summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; cursor: pointer; color: var(--apple-secondary); }
body.pix-apple .pix-utility-menu summary::-webkit-details-marker { display: none; }
body.pix-apple .pix-utility-menu summary:hover { background: var(--apple-soft); }
body.pix-apple .pix-utility-menu .footer_tool { position: absolute; top: 54px; right: 0; bottom: auto; width: 238px; padding: 8px; border: 1px solid var(--apple-line); border-radius: 20px; background: var(--apple-surface); box-shadow: 0 12px 40px #26172c26; }
body.pix-apple .pix-utility-menu .top_tool { margin: 0 !important; width: 100%; }
body.pix-apple .pix-utility-menu .top_tool a { display: flex; justify-content: flex-start; gap: 12px; width: 100%; margin: 0; padding: 10px 12px; border-radius: 12px; background: transparent; color: var(--apple-ink); font-size: 13px; }
body.pix-apple .pix-utility-menu .top_tool i { color: var(--apple-secondary); }
body.pix-apple .index_banner { margin-top: 0; }
body.pix-apple .wid_title { color: var(--apple-secondary); font-size: 13px; font-weight: 600; }
body.pix-apple .list_user_meta .meta { color: var(--apple-secondary); }
body.pix-apple #article-container { padding: 0; }
body.pix-apple #article-container a:not(.rss-plan-item) { color: var(--apple-accent); border: 0; }
body.pix-apple #article-container a:not(.rss-plan-item):hover { background: var(--apple-soft); color: var(--apple-accent); border: 0; }
body.pix-apple .bangumi-tabs { display: flex; gap: 6px; padding: 5px; background: var(--apple-glass); border-radius: 18px; }
body.pix-apple #article-container a.bangumi-tab { padding: 10px 16px; border-radius: 13px; min-height: 44px; font-weight: 500; }
body.pix-apple #article-container a.bangumi-active { background: var(--btn-active-color); color: var(--btn-text-color); }
body.pix-apple .bangumi-item { background: var(--apple-surface); border: 1px solid var(--apple-line); border-radius: 22px; margin-bottom: 16px; padding: 20px; min-height: 210px; }
body.pix-apple .bangumi-picture { top: 20px; left: 20px; }
body.pix-apple .bangumi-info { margin-left: 130px; }
body.pix-apple .bangumi-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
body.pix-apple #article-container a.bangumi-button { min-height: 44px; padding: 10px 14px; border-radius: 12px; background: var(--apple-soft); }
body.pix-apple .nodata_main { background: var(--apple-surface); border-radius: 28px; padding: 40px 24px; text-align: center; }
body.pix-apple .error-404 h1 { font-size: clamp(26px,4vw,36px); }
body.pix-apple .pix-home-button { display: inline-flex; margin: 12px 0 24px; padding: 12px 22px; border-radius: 15px; background: var(--btn-active-color); color: var(--btn-text-color); }
body.pix-apple .db--navItem, body.pix-apple .db--typeItem { border-radius: 12px; min-height: 44px; }
body.pix-apple .top_logo > a { display: flex; align-items: center; gap: 12px; }
body.pix-apple .top_logo img { width: 32px; height: 32px !important; border-radius: 10px; }
body.pix-apple .pix-brand-name { font-size: 16px; font-weight: 600; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.pix-apple[data-pix-view='reading'] .index_banner,
body.pix-apple[data-pix-view='collection'] .index_banner { display: none; }
body.pix-apple .bangumi-title { color: var(--apple-ink); }
body.pix-apple .rss-plan-item { background: var(--apple-surface); border-color: var(--apple-line); border-radius: 20px; }
body.pix-apple .left_menu_box .nav_title { opacity: 1; }
body.pix-apple.mod_third_s .left_menu_box i.drop_icon { display: inline; }
body.pix-apple .post-single .entry-title { text-align: left; }
body.pix-apple .single-content :is(h2,h3,h4)::before { display: none; }
/* The old full-screen grain overlay also muted HDR highlights. */
body.pix-apple::before { display: none; }
body.pix-apple .listree-box { color: var(--apple-ink); }
body.pix-apple .listree-titles a.listree-btn { background: var(--apple-glass); color: var(--apple-accent); border: 1px solid var(--apple-line); border-radius: 0 16px 16px 0; box-shadow: var(--apple-shadow); min-height: 44px; }
body.pix-apple #listree-ol { background: var(--apple-surface); border: 1px solid var(--apple-line); border-radius: 0 20px 20px 0; color: var(--apple-ink); }
body.pix-apple .listree-box { background: transparent; }
body.pix-apple h3.listree-titles { margin: 0; padding: 0; }
body.pix-apple .listree-titles a.listree-btn { width: 44px; padding: 12px 8px; font-size: 12px; }
body.pix-apple #listree-ol { margin: 0; padding: 16px 20px; }
body.pix-apple #listree-ol li a { color: var(--apple-secondary); }
body.pix-apple #listree-ol li.current > a { color: var(--apple-accent); font-weight: 600; }
body.pix-apple .land_content { border-radius: 32px; overflow: hidden; box-shadow: var(--apple-shadow); }
body.pix-apple :is(.land_right,.land_bottom) { background: var(--apple-surface); color: var(--apple-ink); }
body.pix-apple .land_nav a { min-height: 44px; padding: 12px 22px; border-radius: 15px; background: var(--btn-active-color); color: var(--btn-text-color); box-shadow: none; }

/* Align the feed's author, text, media and actions on one content edge. */
body.pix-apple .blog_content { padding-left: 0; margin-top: 16px; }
body.pix-apple .blog_content .entry-content { margin: 0; }
body.pix-apple .list_user_meta { gap: 10px; }
body.pix-apple .list_user_meta .avatar { width: 36px; height: 36px; min-width: 36px; margin: 0; }
body.pix-apple .list_user_meta .avatar img { border-radius: 11px; }
body.pix-apple .list_user_meta .name { gap: 3px; font-size: 14px; line-height: 1.4; }
body.pix-apple .list_user_meta .name time { font-size: 12px; line-height: 1.4; font-weight: 400; color: var(--apple-secondary); }
body.pix-apple .t_content { white-space: pre-wrap; font-size: 15px; line-height: 1.8; letter-spacing: 0; color: var(--apple-ink); }
body.pix-apple .t_content p { white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; margin: 0 0 12px; line-height: inherit; color: inherit; }
body.pix-apple .t_content > :last-child { margin-bottom: 0; }
body.pix-apple .post_footer_meta { min-height: 40px; }
body.pix-apple .post_footer_meta :is(a.up_like,button.show_comment) { min-height: 40px; padding: 8px; gap: 5px; margin: 0; }
body.pix-apple .post_footer_meta > .left { margin-left: -8px; }
body.pix-apple .post_footer_meta > .right { margin-right: -8px; }
body.pix-apple .sidebar_right_inner { padding-top: 0; --pix-sticky-offset: 24px; }
body.pix-apple .left_menu_box ul li { margin: 0; padding: 0; }
body.pix-apple .left_menu_box .nav_title { line-height: 24px; }
body.pix-apple .left_menu_box .drop_icon { margin-left: auto; margin-right: 0; }
body.pix-apple .left_menu_box .pix-hdr-album-mark { margin-left: 8px; }
body.pix-apple .pix-sidebar-tools { margin: 20px 0 0; padding: 12px 4px 0; border-top: 1px solid var(--apple-line); }
body.pix-apple .pix-sidebar-tools .top_bar { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px; height: auto; background: transparent; padding: 0; border: 0; box-shadow: none; border-radius: 0; }
body.pix-apple .pix-sidebar-tools .pix-toolbar-title,
body.pix-apple .pix-sidebar-tools .mobile_logo { display: none; }
body.pix-apple .pix-sidebar-tools .top_left .top_tool,
body.pix-apple .pix-sidebar-tools .top_right .top_tool { margin: 0; }
body.pix-apple .pix-sidebar-tools :is(.top_right,#top_third) { display: flex; }
body.pix-apple .pix-sidebar-tools .top_left .top_tool > a,
body.pix-apple .pix-sidebar-tools .top_right .top_tool > a,
body.pix-apple .pix-sidebar-tools .pix-utility-menu summary { min-width: 40px; width: 40px; min-height: 40px; height: 40px; border-radius: 10px; }
body.pix-apple.pix-toolbar-docked #masthead { display: none; }
body.pix-apple .pix-sidebar-tools .pix-utility-menu .footer_tool { right: auto; left: 0; top: 46px; }
@media (width < 960px) {
  body.pix-apple #masthead { position: relative; top: 0; margin-bottom: 20px; }
  body.pix-apple #masthead .top_bar { background: transparent !important; box-shadow: none; }
  body.pix-apple .pix-sidebar-tools { display: none; }
  body.pix-apple .index_banner { height: 200px; }
  body.pix-apple .pix-toolbar-title { padding: 10px 4px; }
}

body.pix-apple .p_title:empty { display: none; }
body.pix-apple .img_list { margin-top: 12px; }
body.pix-apple .wid_title, body.pix-apple h2.widget-title { margin: 0 0 12px; font-size: 12px; line-height: 1.5; }
body.pix-apple .posts_show_widget ul { margin: 0; padding: 0; }
body.pix-apple .posts_show_widget ul li { align-items: flex-start; gap: 10px; margin: 0 0 16px; }
body.pix-apple .posts_show_widget ul li:last-child { margin-bottom: 0; }
body.pix-apple .posts_show_widget ul li .image { flex: 0 0 40px; }
body.pix-apple .posts_show_widget ul li .image a { width: 40px; height: 40px; }
body.pix-apple .posts_show_widget ul li .info { min-width: 0; margin: 0; }
body.pix-apple .posts_show_widget ul li .title { font-size: 13px; font-weight: 500; line-height: 1.5; margin: 0 0 4px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.pix-apple .posts_show_widget ul li .title a { color: var(--apple-ink); }
body.pix-apple .posts_show_widget ul li .meta { font-size: 11px; line-height: 1.5; white-space: normal; color: var(--apple-secondary); }

/* About: separate keyword entries from compact nested reference lists. */
body.pix-apple .page_content.pix-about { padding: 32px; }
body.pix-apple .pix-about > article { max-width: 660px; margin-inline: auto; }
body.pix-apple .pix-about .entry-header { flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 0 20px; border-color: var(--apple-line); }
body.pix-apple .pix-about .entry-header .left > i { display: none; }
body.pix-apple .pix-about .entry-title { font-size: 28px; font-weight: 650; line-height: 1.3; text-align: left; }
body.pix-apple .pix-about .entry-header time { font-size: 12px; line-height: 1.5; color: var(--apple-secondary); }
body.pix-apple .pix-about .single-content { margin: 20px 0 0; font-size: 16px; line-height: 1.75; letter-spacing: 0; }
body.pix-apple .pix-about .single-content p { margin: 0 0 12px; line-height: inherit; color: var(--apple-ink); }
body.pix-apple .pix-about .single-content :is(h2,h3,h4) { margin: 28px 0 12px; padding: 0; border: 0; line-height: 1.4; }
body.pix-apple .pix-about .single-content h2 { font-size: 21px; }
body.pix-apple .pix-about .single-content h3 { font-size: 18px; }
body.pix-apple .pix-about .single-content :is(ul,ol) { margin: 12px 0 20px; padding-inline-start: 1.3em; }
body.pix-apple .pix-about .single-content li { margin: 0; padding: 0; }
body.pix-apple .pix-about .single-content > :is(ul,ol) > li + li { margin-top: 14px; }
body.pix-apple .pix-about .single-content li > p { margin: 0; }
body.pix-apple .pix-about .single-content li > p + p { margin-top: 8px; }
body.pix-apple .pix-about .single-content li > :is(ul,ol) { margin: 8px 0 4px; }
body.pix-apple .pix-about .single-content li > :is(ul,ol) + :is(ul,ol) { margin-top: 4px; }
body.pix-apple .pix-about .single-content li li + li { margin-top: 4px; }
body.pix-apple .pix-about .single-content li::marker { color: var(--apple-secondary); }
body.pix-apple .pix-about .single-content strong { font-weight: 600; }
body.pix-apple .pix-about .single-content img { height: auto; }
body.pix-apple .pix-about .single-content > :last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  body.pix-apple .page_content.pix-about { padding: 24px 20px; }
  body.pix-apple .pix-about .entry-title { font-size: 26px; }
  body.pix-apple .pix-about .single-content { font-size: 15px; line-height: 1.8; }
  body.pix-apple .pix-about .single-content :is(ul,ol) { padding-inline-start: 1.1em; }
}

/* A bounded menu, independent of the narrow sidebar toolbar's width. */
body.pix-apple .top_menu_box { width: 232px; min-width: 232px; max-width: calc(100vw - 32px); padding: 8px; border-radius: 18px; max-height: min(480px,70vh); overflow-y: auto; }
body.pix-apple .top_menu_box .menu-top-container > ul { display: flex; flex-direction: column; align-items: stretch; gap: 4px; overflow-x: visible; }
body.pix-apple .top_menu_box .menu-top-container li { width: 100%; margin: 0; }
body.pix-apple .pix-sidebar-tools .top_menu_box .menu-top-container li > a,
body.pix-apple .top_menu_box .menu-top-container li > a { width: 100%; min-height: 44px; height: auto; padding: 10px 12px; border-radius: 10px; line-height: 24px; gap: 10px; color: var(--apple-ink); }
body.pix-apple .top_menu_box .menu-top-container li > a :is(i,img) { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; font-size: 20px; color: inherit; }
body.pix-apple .user_info .avatar { flex-shrink: 0; }
/* Media uses the same horizontal bounds as the text and footer. Reset legacy
   25rem caps, percentage widths and fixed pixel heights; retain original URLs. */
body.pix-apple .img_list .list_inner { display: grid; width: 100%; max-width: none; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; align-items: stretch; }
body.pix-apple .img_list .list_inner[num] > .mo_img { position: relative; display: block; grid-area: auto; width: 100%; min-width: 0; margin: 0; padding: 0; aspect-ratio: 1; border-radius: 14px; }
body.pix-apple .img_list .list_inner[num] > .mo_img::before { display: none; }
body.pix-apple .img_list .list_inner[num] > .mo_img > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: none; aspect-ratio: auto; object-fit: cover; border-radius: inherit; }
body.pix-apple .img_list .list_inner:has(> .mo_img:only-child) { grid-template-columns: minmax(0,1fr); }
body.pix-apple .img_list .list_inner[num] > .mo_img:only-child { aspect-ratio: auto; }
body.pix-apple .img_list .list_inner[num] > .mo_img:only-child > img { position: relative; height: auto; max-height: 640px; object-fit: contain; }
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(2):last-child),
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(4):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(3):last-child) > .mo_img:first-child { grid-area: 1 / 1 / 3 / 3; }
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(3):last-child) > .mo_img:nth-child(2) { grid-area: 1 / 3 / 2 / 4; }
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(3):last-child) > .mo_img:nth-child(3) { grid-area: 2 / 3 / 3 / 4; }
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(5):last-child),
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(8):last-child) { grid-template-columns: repeat(6,minmax(0,1fr)); }
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(5):last-child) > .mo_img,
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(8):last-child) > .mo_img { grid-column: span 2; }
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(5):last-child) > .mo_img:nth-last-child(-n+2),
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(8):last-child) > .mo_img:nth-last-child(-n+2) { grid-column: span 3; aspect-ratio: 3 / 2; }
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(7):last-child) { grid-template-columns: repeat(12,minmax(0,1fr)); }
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(7):last-child) > .mo_img { grid-column: span 3; }
body.pix-apple .img_list .list_inner:has(> .mo_img:nth-child(7):last-child) > .mo_img:nth-last-child(-n+3) { grid-column: span 4; aspect-ratio: 4 / 3; }
@media (max-width: 600px) {
  body.pix-apple .img_list .list_inner { gap: 6px; }
  body.pix-apple .img_list .list_inner[num] > .mo_img { border-radius: 10px; }
}

/* A quiet sentinel replaces the feed's mandatory load-more button. */
body .pix-feed-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; min-height: 72px; padding: 20px 0; }
.pix-feed-status { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--light-text-color, #726573); }
.pix-feed-status .pix-sakura-loader { width: 28px; height: 28px; }
.pix-feed-retry { border: 0; border-radius: 12px; padding: 10px 16px; min-height: 44px; background: var(--btn-active-color, #ead0df); color: var(--btn-text-color, #50354a); font: inherit; font-size: 13px; cursor: pointer; }
