/*
 * ASMR521 native Zibll 9.0 refinements, 2026-11-02
 * Based on www.hxino.com/ass/css/index.css (logo shine + Mac dots + pink cards)
 * Directly loaded from active theme header.php. No WordPress plugin.
 */
@font-face {
  font-family:"ASMR521AlimamaShuHei";
  src:url("../fonts/asmr521-hxzt2-20261102.woff2") format("woff2");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
/* Keep icon fonts and monospace controls untouched. */
body,
body input,
body textarea,
body select,
body button {
  font-family:"ASMR521AlimamaShuHei","Microsoft YaHei","PingFang SC",sans-serif;
}
body .fa,body .fa:before,body .fa:after {font-family:FontAwesome!important}
body pre,body code,body kbd,body samp,
body pre *,body code *,body kbd *,body samp * {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
}

/* Shine belongs to the actual logo link, NOT the full-width centered .navbar-brand. */
.navbar-brand > a.navbar-logo {
  display:inline-block;
  position:relative;
  overflow:hidden;
  vertical-align:middle;
  isolation:isolate;
}
.navbar-brand > a.navbar-logo::after {
  content:"";
  position:absolute;
  top:-65%;
  bottom:-65%;
  left:-70%;
  width:42%;
  pointer-events:none;
  z-index:2;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
  transform:skewX(-24deg) translateX(-180%);
  animation:asmr521-logo-shine 6s ease-in-out infinite;
}
@keyframes asmr521-logo-shine {
  0%,38% {transform:skewX(-24deg) translateX(-180%)}
  62%,100% {transform:skewX(-24deg) translateX(620%)}
}

/* Original hxino Mac window header: red / amber / green dots. */
posts.posts-item.ajax-item.card,
posts.posts-item.ajax-item.list {
  position:relative;
  padding-top:35px;
  overflow:hidden;
  border:1px solid rgba(255,160,195,.42);
  border-radius:14px;
  background-color:var(--main-bg-color,#fff);
  background-image:linear-gradient(180deg,rgba(255,205,224,.41) 0,rgba(255,235,243,.2) 50px,rgba(255,255,255,0) 110px);
  box-shadow:0 3px 16px rgba(207,105,146,.09);
  transition:transform .2s ease, box-shadow .2s ease;
}
posts.posts-item.ajax-item.card::before,
posts.posts-item.ajax-item.list::before {
  content:"";
  display:block;
  width:11px;
  height:11px;
  position:absolute;
  top:12px;
  left:17px;
  border-radius:50%;
  background:#ff605c;
  box-shadow:20px 0 0 #ffbd44,40px 0 0 #31c850;
  z-index:3;
  pointer-events:none;
}
posts.posts-item.ajax-item.card:hover,
posts.posts-item.ajax-item.list:hover {
  transform:translateY(-4px);
  box-shadow:0 9px 24px rgba(244,118,160,.23);
}
body.dark-theme posts.posts-item.ajax-item.card,
body.dark-theme posts.posts-item.ajax-item.list {
  border-color:rgba(177,142,213,.30);
  background-color:var(--main-bg-color,#313237);
  background-image:linear-gradient(180deg,rgba(177,119,184,.22) 0,rgba(130,101,149,.12) 48px,rgba(30,30,35,0) 110px);
  box-shadow:0 3px 14px rgba(10,10,20,.12);
}
body.dark-theme posts.posts-item.ajax-item.card:hover,
body.dark-theme posts.posts-item.ajax-item.list:hover {
  box-shadow:0 9px 22px rgba(162,126,228,.22);
}
@media(max-width:600px) {
  posts.posts-item.ajax-item.card,
  posts.posts-item.ajax-item.list {padding-top:32px;border-radius:12px}
  posts.posts-item.ajax-item.card::before,
  posts.posts-item.ajax-item.list::before {top:11px;left:14px;width:10px;height:10px;box-shadow:18px 0 0 #ffbd44,36px 0 0 #31c850}
}
@media(prefers-reduced-motion:reduce) {
  .navbar-brand>a.navbar-logo::after {animation:none;opacity:0}
  posts.posts-item.ajax-item.card,
  posts.posts-item.ajax-item.list {transition:none}
}


/* ASMR521 LOGO SCALE V2 BEGIN */

/* PC：图片和扫光容器一起放大 */
@media (min-width:1200px) {
  body .navbar-top .navbar-brand > a.navbar-logo {
    transform:translateX(-25px) scale(1.36) !important;
    transform-origin:left center !important;
    position:relative !important;
    overflow:hidden !important;
    isolation:isolate;
  }
}

/* 中等屏幕避免与菜单重叠 */
@media (min-width:768px) and (max-width:1199px) {
  body .navbar-top .navbar-brand > a.navbar-logo {
    transform:scale(1.22) !important;
    transform-origin:left center !important;
  }
}

/* 手机端保持合理大小 */
@media (max-width:767px) {
  body .navbar-top .navbar-brand > a.navbar-logo {
    transform:scale(1.05) !important;
    transform-origin:left center !important;
  }
}

/* 扫光覆盖整个 Logo 图片容器 */
body .navbar-brand > a.navbar-logo::after {
  content:"" !important;
  position:absolute !important;
  top:-70% !important;
  bottom:-70% !important;
  left:-90% !important;
  width:55% !important;
  pointer-events:none !important;
  z-index:3 !important;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.18) 22%,
    rgba(255,255,255,.80) 50%,
    rgba(255,255,255,.18) 78%,
    transparent 100%
  ) !important;
  animation:asmr521-logo-shine-wide 5.4s ease-in-out infinite !important;
}

@keyframes asmr521-logo-shine-wide {
  0%,35% {
    transform:skewX(-24deg) translateX(-170%);
  }
  65%,100% {
    transform:skewX(-24deg) translateX(760%);
  }
}

@media (prefers-reduced-motion:reduce) {
  body .navbar-brand > a.navbar-logo::after {
    animation:none !important;
    opacity:0;
  }
}

/* ASMR521 LOGO SCALE V2 END */

/* ASMR521 PSI mobile-only font network reduction 20261113 */
@media only screen and (max-width:767px) {
  body, body input, body textarea, body select, body button {
    font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;
  }
}

/* Keep native Zibll list-card geometry with mobile-only picture sources. */
picture.asmr521-thumb-responsive { display: contents; }
