Files
wordpress-theme-aksrt/assets/css/frontend/widget-batch5.css
T

2576 lines
73 KiB
CSS

/**
* Batch5: user card guest/login depth, main posts, term aggregation.
*/
/* 用户卡/作者卡:外层 .zib-widget 包裹层永不作为卡片绘制,
内层 .aksrt-user-card / .aksrt-author-card 是唯一卡片。
- classname 钩子(.widget_aksrt_user_card / _author_card)命中侧栏 before_widget 包裹层;
- :has() 兜底:无论包裹层类名如何,只要它内部含一张 .aksrt-*-card 就透明化
(用后代而非直接子选择器,因为开启吸顶时中间还隔着 .is-affix 包裹层);
- !important 确保胜过 widgets/part-1.css 的 `html.dark .zib-widget`(0-2-1)、
homepage-fixed/base-3.css 的 `.aksrt-homepage__aside > .zib-widget` 等卡片绘制规则。 */
.zib-widget.widget_aksrt_user_card,
.zib-widget.widget_aksrt_author_card,
.zib-widget:has(.aksrt-user-card),
.zib-widget:has(.aksrt-author-card) {
background: none !important;
border: 0 !important;
box-shadow: none !important;
padding: 0 !important;
border-radius: 0 !important;
margin-bottom: 20px;
}
.aksrt-user-card {
position: relative;
box-sizing: border-box;
width: 100%;
max-width: 100%;
min-width: 0;
border-radius: 8px;
overflow: visible;
border: 1px solid var(--color-line, #e5e7eb);
background: var(--surface-1, #fff);
text-align: center;
margin-bottom: 0;
}
.aksrt-user-card__cover {
position: relative;
box-sizing: border-box;
width: 100%;
height: 139px;
min-height: 139px;
max-height: 139px;
margin: 0;
padding: 0 !important;
overflow: hidden;
border-radius: 7px 7px 0 0;
background-color: #93c5fd;
background-image: linear-gradient(135deg, #93c5fd, #c4b5fd);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.aksrt-user-card__cover.is-empty {
background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}
.aksrt-user-card__body {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
min-width: 0;
padding: 0 16px 18px;
}
.aksrt-user-card__checkin {
position: absolute;
top: 66%;
right: 0;
z-index: 3;
max-width: calc(100% - 56px);
transform: translateY(-50%);
}
.aksrt-user-card__checkin--without-cover {
position: relative;
top: auto;
right: auto;
display: flex;
justify-content: flex-end;
max-width: none;
margin: 10px 0 0;
transform: none;
}
.aksrt-user-card .aksrt-user-card__checkin .aksrt-header-checkin {
width: auto !important;
min-height: 40px;
padding: 8px 12px !important;
border-radius: 6px 0 0 6px !important;
font-size: 13px !important;
line-height: 1.25;
}
.aksrt-user-card__checkin .aksrt-header-checkin-details { display: none; }
.aksrt-user-card__avatar-wrap {
position: relative;
display: inline-block;
flex: 0 0 auto;
width: 76px;
height: 76px;
margin: -38px auto 0;
}
.aksrt-user-card.no-cover .aksrt-user-card__avatar-wrap {
margin-top: 16px;
}
.aksrt-user-card__avatar {
display: block;
box-sizing: border-box;
width: 76px;
height: 76px;
border-radius: 50%;
overflow: hidden;
border: 3px solid var(--surface-1, #fff);
background: var(--surface-2, #eee);
}
.aksrt-user-card__avatar > a {
display: block;
width: 100%;
height: 100%;
}
.aksrt-user-card__avatar > img,
.aksrt-user-card__avatar > a > img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.aksrt-user-card__name {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-width: 0;
margin: 10px 0 0;
font-size: 16px;
font-weight: 700;
line-height: 1.35;
}
.aksrt-user-card__name-row {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 0;
max-width: 100%;
gap: 4px;
}
.aksrt-user-card__name .display-name {
min-width: 0;
max-width: 100%;
}
.aksrt-user-card__name a { color: inherit; text-decoration: none; }
.aksrt-user-card__bio,
.aksrt-user-card__guest-title {
width: 100%;
margin: 8px 0 0;
font-size: 12px;
color: var(--muted-2-color, #888);
line-height: 1.5;
overflow-wrap: anywhere;
}
.aksrt-user-card__guest-title { font-size: 14px; font-weight: 600; color: inherit; }
.aksrt-user-card__stats {
display: flex;
width: 100%;
justify-content: center;
gap: 18px;
margin-top: 12px;
}
.aksrt-user-card__stat-value {
display: block;
font-size: 16px;
font-weight: 700;
}
.aksrt-user-card__stat-label {
font-size: 11px;
color: var(--muted-2-color, #999);
}
.aksrt-user-card__actions {
display: flex;
width: 100%;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
margin-top: 14px;
}
.aksrt-user-card__btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 96px;
padding: 7px 14px;
border-radius: 999px;
font-size: 13px;
text-decoration: none;
font-weight: 600;
}
.aksrt-user-card__btn--primary {
background: var(--color-primary, #3b82f6);
color: #fff !important;
}
.aksrt-user-card__btn--ghost {
background: var(--surface-2, #f3f4f6);
color: inherit !important;
}
/* Main posts */
.aksrt-main-posts { display: flex; flex-direction: column; gap: 10px; }
.aksrt-main-posts.style-card {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
@media (max-width: 575.98px) {
.aksrt-main-posts.style-card { grid-template-columns: 1fr; }
}
.aksrt-main-posts__card {
display: block;
border-radius: 12px;
overflow: hidden;
border: 1px solid var(--color-line, #e5e7eb);
background: var(--surface-1, #fff);
text-decoration: none;
color: inherit;
}
.aksrt-main-posts__thumb {
height: 110px;
background: var(--surface-2, #f3f4f6);
overflow: hidden;
}
.aksrt-main-posts__thumb.mini {
width: 56px;
height: 56px;
border-radius: 8px;
flex-shrink: 0;
}
.aksrt-main-posts__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aksrt-main-posts__thumb.is-empty { background: linear-gradient(135deg, #e2e8f0, #f8fafc); }
.aksrt-main-posts__body { padding: 10px 12px 12px; min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.aksrt-main-posts__title {
font-size: 13px;
font-weight: 600;
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.aksrt-main-posts__meta {
display: flex;
gap: 10px;
font-size: 11px;
color: var(--muted-2-color, #999);
}
.aksrt-main-posts__row {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: inherit;
padding: 4px 0;
border-bottom: 1px dashed var(--color-line, #e5e7eb);
}
.aksrt-main-posts__row:last-child { border-bottom: 0; }
.aksrt-main-posts__num {
width: 20px;
flex-shrink: 0;
font-size: 12px;
font-weight: 700;
color: var(--color-primary, #3b82f6);
text-align: center;
}
/* Term aggregation */
.aksrt-term-agg {
display: grid;
grid-template-columns: repeat(var(--aksrt-ta-cols, 1), minmax(0, 1fr));
gap: 12px;
}
.aksrt-term-agg__card {
border: 1px solid var(--color-line, #e5e7eb);
border-radius: 12px;
overflow: hidden;
background: var(--surface-1, #fff);
}
.aksrt-term-agg__head {
display: block;
text-decoration: none;
color: inherit;
position: relative;
}
.aksrt-term-agg__cover {
height: 96px;
background: var(--surface-2, #f3f4f6) center/cover no-repeat;
}
.aksrt-term-agg__cover.is-empty {
background: linear-gradient(135deg, #dbeafe, #eff6ff);
}
.aksrt-term-agg__name {
position: absolute;
left: 12px;
bottom: 10px;
font-weight: 700;
color: #fff;
text-shadow: 0 1px 3px rgba(0,0,0,.45);
}
.aksrt-term-agg__count {
position: absolute;
right: 10px;
top: 10px;
font-size: 11px;
padding: 2px 8px;
border-radius: 999px;
background: rgba(0,0,0,.45);
color: #fff;
}
.aksrt-term-agg__posts {
list-style: none;
margin: 0;
padding: 8px 12px 10px;
}
.aksrt-term-agg__posts li {
padding: 6px 0;
border-bottom: 1px dashed var(--color-line, #eee);
}
.aksrt-term-agg__posts li:last-child { border-bottom: 0; }
.aksrt-term-agg__posts a {
color: inherit;
text-decoration: none;
font-size: 13px;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Icon cover cards */
.aksrt-icon-cover {
display: grid;
grid-template-columns: repeat(var(--aksrt-icc-pc, 2), minmax(0, 1fr));
gap: 10px;
--aksrt-icc-icon: 25px;
}
@media (max-width: 575.98px) {
.aksrt-icon-cover {
grid-template-columns: repeat(var(--aksrt-icc-m, 1), minmax(0, 1fr));
}
}
.aksrt-icon-cover__item {
display: flex;
align-items: center;
gap: 10px;
padding: 12px;
border-radius: 12px;
border: 1px solid var(--color-line, #e5e7eb);
background: var(--surface-1, #fff);
text-decoration: none;
color: inherit;
}
.aksrt-icon-cover__icon {
width: calc(var(--aksrt-icc-icon) + 18px);
height: calc(var(--aksrt-icc-icon) + 18px);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: var(--aksrt-icc-icon);
color: var(--color-primary, #3b82f6);
background: var(--surface-2, #f3f4f6);
flex-shrink: 0;
overflow: hidden;
}
.aksrt-icon-cover.is-radius .aksrt-icon-cover__icon { border-radius: 10px; }
.aksrt-icon-cover__icon img { width: 70%; height: 70%; object-fit: contain; }
.aksrt-icon-cover__title { font-weight: 700; font-size: 14px; }
.aksrt-icon-cover__desc { font-size: 12px; color: var(--muted-2-color, #888); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Bookmark links */
.aksrt-bookmark-links {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.aksrt-bookmark-links.has-box {
padding: 10px;
border: 1px solid var(--color-line, #e5e7eb);
border-radius: 12px;
}
.aksrt-bookmark-links.style-simple {
grid-template-columns: 1fr;
}
.aksrt-bookmark-links__item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px;
border-radius: 10px;
background: var(--surface-2, #f8fafc);
text-decoration: none;
color: inherit;
min-width: 0;
}
.aksrt-bookmark-links__img {
width: 36px;
height: 36px;
border-radius: 8px;
object-fit: cover;
flex-shrink: 0;
}
.aksrt-bookmark-links__text { min-width: 0; display: flex; flex-direction: column; }
.aksrt-bookmark-links__name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aksrt-bookmark-links__desc { font-size: 11px; color: var(--muted-2-color, #999); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Search keywords */
.aksrt-search-widget__keywords { margin-top: 10px; }
.aksrt-search-widget__kw-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 6px;
}
.aksrt-search-widget__kw-title {
font-size: 12px;
color: var(--muted-2-color, #888);
margin-bottom: 6px;
}
.aksrt-search-widget__kw-head .aksrt-search-widget__kw-title { margin-bottom: 0; }
.aksrt-search-widget__kw-refresh {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
padding: 0;
border: 0;
border-radius: 50%;
background: transparent;
color: var(--muted-2-color, #999);
font-size: 12px;
opacity: .65;
cursor: pointer;
}
.aksrt-search-widget__kw-refresh:hover,
.aksrt-search-widget__kw-refresh:focus-visible { color: var(--color-primary, #3b82f6); opacity: 1; }
.aksrt-search-widget__kw-refresh.is-refreshing i { animation: aksrt-search-keyword-refresh .2s linear; }
@keyframes aksrt-search-keyword-refresh { to { transform: rotate(360deg); } }
.aksrt-search-widget__kw-list { display: flex; flex-wrap: wrap; gap: 6px; }
.aksrt-search-widget__kw {
display: inline-block;
padding: 3px 10px;
border-radius: 999px;
background: var(--surface-2, #f3f4f6);
color: inherit;
text-decoration: none;
font-size: 12px;
}
/* Product list widgets (batch6) */
.aksrt-product-widget { margin-bottom: 8px; }
.aksrt-product-widget__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.aksrt-product-widget--list .aksrt-product-widget__grid,
.aksrt-product-widget--mini .aksrt-product-widget__grid {
grid-template-columns: 1fr;
}
.aksrt-product-widget--oneline .aksrt-product-widget__grid {
display: flex;
overflow-x: auto;
gap: 10px;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
padding-bottom: 4px;
}
.aksrt-product-widget--oneline .aksrt-product-widget__item,
.aksrt-product-widget--oneline .aksrt-product-card {
flex: 0 0 42%;
min-width: 140px;
scroll-snap-align: start;
}
.aksrt-product-widget__item,
.aksrt-product-widget .aksrt-product-card {
border: 1px solid var(--color-line, #e5e7eb);
border-radius: 10px;
overflow: hidden;
background: var(--surface-1, #fff);
}
.aksrt-product-widget__thumb,
.aksrt-product-widget .aksrt-product-card__image {
display: block;
aspect-ratio: 1 / 1;
background: var(--surface-2, #f3f4f6);
overflow: hidden;
}
.aksrt-product-widget__thumb img,
.aksrt-product-widget .aksrt-product-card__image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.aksrt-product-widget__info,
.aksrt-product-widget .aksrt-product-card__body { padding: 8px 10px 10px; }
.aksrt-product-widget__title,
.aksrt-product-widget .aksrt-product-card__title {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
font-size: 13px;
font-weight: 600;
line-height: 1.35;
color: inherit;
text-decoration: none;
}
.aksrt-product-widget__meta {
display: flex;
justify-content: space-between;
gap: 6px;
margin-top: 6px;
font-size: 12px;
}
.aksrt-product-widget__price,
.aksrt-product-widget .aksrt-product-card__price {
color: var(--color-primary, #ef4444);
font-weight: 700;
}
.aksrt-product-widget__sales { color: var(--muted-2-color, #999); font-size: 11px; }
.aksrt-product-widget__empty { font-size: 13px; color: var(--muted-2-color, #999); padding: 12px 0; }
.aksrt-product-widget .ajax-pag { margin-top: 12px; text-align: center; }
.aksrt-product-tab__headers {
display: flex;
gap: 6px;
overflow-x: auto;
margin-bottom: 12px;
-webkit-overflow-scrolling: touch;
}
.aksrt-product-tab__header {
flex: 0 0 auto;
border: 0;
background: var(--surface-2, #f3f4f6);
border-radius: 999px;
padding: 6px 12px;
font-size: 13px;
cursor: pointer;
color: inherit;
}
.aksrt-product-tab__header.is-active {
background: var(--color-primary, #3b82f6);
color: #fff;
}
/* Scroll notice */
.aksrt-scroll-notice {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 14px;
border-radius: 10px;
background: #eff6ff;
color: #1d4ed8;
margin-bottom: 8px;
overflow: hidden;
}
.aksrt-scroll-notice.is-radius,
.aksrt-scroll-notice.radius { border-radius: 999px; }
.aksrt-scroll-notice.color-c-green { background: #ecfdf5; color: #047857; }
.aksrt-scroll-notice.color-c-yellow { background: #fffbeb; color: #b45309; }
.aksrt-scroll-notice.color-c-red { background: #fef2f2; color: #b91c1c; }
.aksrt-scroll-notice.color-c-purple { background: #f5f3ff; color: #6d28d9; }
.aksrt-scroll-notice.color-c-blue-2 { background: #dbeafe; color: #1e3a8a; }
.aksrt-scroll-notice.color-c-green-2 { background: #d1fae5; color: #065f46; }
.aksrt-scroll-notice.color-c-yellow-2 { background: #ffedd5; color: #9a3412; }
.aksrt-scroll-notice.color-c-red-2 { background: #fee2e2; color: #991b1b; }
.aksrt-scroll-notice.color-c-purple-2 { background: #ede9fe; color: #5b21b6; }
.aksrt-scroll-notice.color-b-theme { background: var(--color-primary, #3b82f6); color: #fff; }
.aksrt-scroll-notice.color-b-red { background: #ef4444; color: #fff; }
.aksrt-scroll-notice.color-b-yellow { background: #f59e0b; color: #fff; }
.aksrt-scroll-notice.color-b-blue { background: #3b82f6; color: #fff; }
.aksrt-scroll-notice.color-b-green { background: #10b981; color: #fff; }
.aksrt-scroll-notice.color-b-purple { background: #8b5cf6; color: #fff; }
.aksrt-scroll-notice.text-center { justify-content: center; text-align: center; }
.aksrt-scroll-notice.text-right { justify-content: flex-end; text-align: right; }
.aksrt-scroll-notice.is-affix[data-affix="true"] {
position: sticky;
top: calc(var(--nav-height, 60px) + 12px);
z-index: 5;
}
.aksrt-scroll-notice__icon { flex-shrink: 0; }
.aksrt-scroll-notice .aksrt-notice-swiper,
.aksrt-scroll-notice .new-swiper {
flex: 1;
min-width: 0;
height: 1.5em;
margin: 0;
}
.aksrt-scroll-notice .swiper-slide {
height: 1.5em !important;
display: flex;
align-items: center;
}
.aksrt-scroll-notice .swiper-slide a,
.aksrt-scroll-notice .swiper-slide .text-ellipsis {
display: block;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: inherit;
text-decoration: none;
font-size: 13px;
line-height: 1.5;
}
.aksrt-scroll-notice .bulletin-icon {
display: inline-flex;
width: 1.1em;
margin-right: 6px;
}
.aksrt-scroll-notice__viewport { position: relative; flex: 1; min-width: 0; height: 1.4em; }
.aksrt-scroll-notice__item {
position: absolute;
inset: 0;
opacity: 0;
transform: translateY(8px);
transition: opacity .35s ease, transform .35s ease;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.4em;
font-size: 13px;
}
.aksrt-scroll-notice__item.is-active {
opacity: 1;
transform: translateY(0);
}
.aksrt-scroll-notice__item a { color: inherit; text-decoration: none; }
.aksrt-scroll-notice__item i { margin-right: 6px; opacity: .85; }
.hot-post-item { display: flex; align-items: center; gap: 10px; }
.hot-post-item__thumb {
width: 48px; height: 48px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
background: var(--surface-2, #eee);
}
.hot-post-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aksrt-cover-card__bg.is-video video {
width: 100%; height: 100%; object-fit: cover; display: block;
}
.widget-buttons {
display: flex;
flex-wrap: wrap;
gap: var(--btn-gap, 10px);
margin-bottom: 8px;
}
.widget-buttons--vertical { flex-direction: column; }
.widget-buttons.align-center { justify-content: center; }
.widget-buttons.align-left { justify-content: flex-start; }
.widget-buttons.align-right { justify-content: flex-end; }
.widget-buttons__btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 8px 16px;
border-radius: 8px;
text-decoration: none;
font-size: 13px;
font-weight: 600;
background: var(--color-primary, #3b82f6);
color: #fff !important;
}
.widget-buttons.is-radius .widget-buttons__btn { border-radius: 999px; }
.widget-buttons.is-hollow .widget-buttons__btn {
background: transparent;
color: var(--color-primary, #3b82f6) !important;
border: 1px solid currentColor;
}
.widget-buttons__btn--secondary { background: #64748b; }
.widget-buttons__btn--outline {
background: transparent;
color: inherit !important;
border: 1px solid var(--color-line, #ddd);
}
.widget-buttons__btn--text {
background: transparent;
color: var(--color-primary, #3b82f6) !important;
padding-left: 0;
padding-right: 0;
}
.widget-buttons__btn--pink { background: #ec4899; }
.widget-buttons__btn--blue { background: #3b82f6; }
.widget-buttons__btn--green { background: #22c55e; }
.aksrt-video-widget {
position: relative;
width: 100%;
height: 0;
border-radius: 8px;
overflow: hidden;
background: #111;
margin-bottom: 10px;
}
.aksrt-video-widget iframe,
.aksrt-video-widget video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: 0;
object-fit: cover;
}
.aksrt-video-widget.controller-hide video::-webkit-media-controls {
display: none !important;
}
.widget-recent-comments__post {
margin-top: 2px;
font-size: 11px;
}
.widget-recent-comments__post a {
color: var(--muted-2-color, #999);
text-decoration: none;
}
.widget-icon-cards {
display: grid;
grid-template-columns: repeat(var(--ic-columns, 2), minmax(0, 1fr));
gap: 10px;
}
@media (max-width: 575.98px) {
.widget-icon-cards {
grid-template-columns: repeat(var(--ic-m-columns, 2), minmax(0, 1fr));
}
}
.widget-icon-cards.is-bare .widget-icon-cards__item {
background: transparent;
border: 0;
box-shadow: none;
}
.widget-icon-cards__item.is-vertical {
flex-direction: column;
text-align: center;
padding: 16px 10px;
}
.widget-icon-cards__item.is-vertical .widget-icon-cards__icon {
margin: 0 auto 10px;
width: calc(var(--ic-icon, 28px) + 20px);
height: calc(var(--ic-icon, 28px) + 20px);
font-size: var(--ic-icon, 28px);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: var(--surface-2, #f3f4f6);
color: var(--color-primary, #3b82f6);
}
.aksrt-tag-cloud.tag-cloud {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.aksrt-tag-cloud .but {
display: inline-flex;
align-items: center;
padding: 4px 10px;
border-radius: 999px;
background: var(--surface-2, #f3f4f6);
color: inherit;
text-decoration: none;
font-size: 12px;
}
.aksrt-tag-cloud .c-blue { background: #dbeafe; color: #1d4ed8; }
.aksrt-tag-cloud .c-green { background: #dcfce7; color: #15803d; }
.aksrt-tag-cloud .c-yellow { background: #fef3c7; color: #b45309; }
.aksrt-tag-cloud .c-purple { background: #ede9fe; color: #6d28d9; }
.aksrt-tag-cloud .c-red { background: #fee2e2; color: #b91c1c; }
.aksrt-tag-cloud.fixed-width a { min-width: 72px; justify-content: center; }
.aksrt-cat-list .count {
float: right;
color: var(--muted-2-color, #999);
font-size: 12px;
}
.aksrt-user-card__oauth {
margin-top: 14px;
padding-top: 12px;
border-top: 1px dashed var(--color-line, #e5e7eb);
}
.aksrt-user-card__oauth .social-login-divider {
font-size: 12px;
color: var(--muted-2-color, #999);
margin-bottom: 8px;
}
.aksrt-user-card__oauth .social-login-item,
.aksrt-user-card__oauth a {
margin: 0 4px;
}
.aksrt-author-card__follow {
border: 0;
cursor: pointer;
margin-right: 6px;
background: #ef4444;
color: #fff !important;
}
.aksrt-author-card__follow.is-following {
background: var(--surface-2, #e5e7eb);
color: inherit !important;
}
/* 徽章入口与弹窗样式统一由 assets/css/frontend/medal.css 提供。 */
/* Forum tab topics (batch6) */
.aksrt-ftab__nav {
display: flex;
gap: 6px;
list-style: none;
margin: 0 0 10px;
padding: 0;
overflow-x: auto;
}
.aksrt-ftab__btn {
border: 0;
background: var(--surface-2, #f3f4f6);
border-radius: 999px;
padding: 5px 12px;
font-size: 13px;
cursor: pointer;
color: inherit;
}
.aksrt-ftab__btn.is-active {
background: var(--color-primary, #3b82f6);
color: #fff;
}
.aksrt-ftab__panel { display: none; }
.aksrt-ftab__panel.is-active { display: block; }
.aksrt-ftab__empty { font-size: 13px; color: var(--muted-2-color, #999); padding: 8px 0; }
.aksrt-ftopic-list { list-style: none; margin: 0; padding: 0; }
.aksrt-ftopic-list__item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 7px 0;
border-bottom: 1px dashed var(--color-line, #eee);
font-size: 13px;
}
.aksrt-ftopic-list__item:last-child { border-bottom: 0; }
.aksrt-ftopic-list__link {
color: inherit;
text-decoration: none;
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.aksrt-ftopic-list__views { color: var(--muted-2-color, #999); font-size: 12px; flex-shrink: 0; }
.aksrt-ftopic-list__meta {
display: flex;
gap: 8px;
font-size: 11px;
color: var(--muted-2-color, #999);
margin-top: 4px;
}
.aksrt-ftopic-list.is-detail .aksrt-ftopic-list__item {
flex-direction: column;
align-items: flex-start;
}
/* User ranking extras (batch8) */
.aksrt-user-ranking__item { align-items: center; }
.aksrt-user-ranking__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.aksrt-user-ranking__desc {
font-size: 11px;
color: var(--muted-2-color, #999);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* ---- batch9: plate info actions / mods grid / board list / term polish ---- */
.aksrt-plate-info__cover.is-icon {
display: flex;
align-items: center;
justify-content: center;
font-size: 32px;
color: var(--color-primary, #3b82f6);
background: linear-gradient(135deg, #eff6ff, #f5f3ff);
}
.aksrt-plate-info__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.aksrt-plate-info__btn {
display: inline-flex;
align-items: center;
gap: 6px;
border: 0;
border-radius: 999px;
padding: 6px 12px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
text-decoration: none;
line-height: 1.2;
}
.aksrt-plate-info__follow {
background: #ef4444;
color: #fff !important;
}
.aksrt-plate-info__follow.is-followed {
background: var(--surface-2, #e5e7eb);
color: inherit !important;
}
.aksrt-plate-info__compose {
background: var(--color-primary, #3b82f6);
color: #fff !important;
}
.aksrt-plate-mods.style-grid .aksrt-plate-mods__list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.aksrt-plate-mods.style-grid .aksrt-plate-mods__item {
flex-direction: column;
text-align: center;
gap: 4px;
}
.aksrt-plate-mods.style-grid .aksrt-plate-mods__name {
font-size: 12px;
width: 100%;
}
.aksrt-plate-mods.style-grid .aksrt-plate-mods__role {
font-size: 10px;
}
.aksrt-plate-mods__item.role-author .aksrt-plate-mods__role,
.aksrt-plate-mods__item.role-super .aksrt-plate-mods__role {
color: #b45309;
}
.aksrt-forum-widget__boards .aksrt-forum-widget__name {
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.aksrt-forum-widget__boards .aksrt-forum-widget__count {
margin-left: 8px;
color: var(--muted-2-color, #999);
font-size: 12px;
flex-shrink: 0;
}
.aksrt-forum-widget__boards.style-mini .aksrt-forum-widget__board a {
gap: 8px;
}
.aksrt-forum-widget__thumb {
width: 28px;
height: 28px;
border-radius: 6px;
object-fit: cover;
flex-shrink: 0;
margin-right: 4px;
}
.aksrt-tag-cloud .c-blue-2 { background: #bfdbfe; color: #1e40af; }
.aksrt-tag-cloud .c-green-2 { background: #bbf7d0; color: #166534; }
.aksrt-tag-cloud .c-yellow-2 { background: #fde68a; color: #92400e; }
.aksrt-tag-cloud .c-purple-2 { background: #ddd6fe; color: #5b21b6; }
.aksrt-tag-cloud .c-red-2 { background: #fecaca; color: #991b1b; }
.aksrt-home-widget__ajax .ajax-pag { margin-top: 12px; text-align: center; }
/* ---- batch10: user-card more-posts + slider wrap + ranking top badge ---- */
.user-card-posts .more-posts-mini .item {
padding: 6px 0;
border-bottom: 1px dashed var(--color-line, rgba(0, 0, 0, 0.06));
}
.user-card-posts .more-posts-mini .item:last-child { border-bottom: 0; }
.user-card-posts .more-posts-mini .item a {
display: block;
color: inherit;
text-decoration: none;
font-size: 13px;
}
.user-card-posts .more-posts-mini .item a:hover {
color: var(--color-primary, #3b82f6);
}
.user-card-posts .more-posts.swiper-container {
margin: 8px 0 0;
padding: 0 2px 4px;
overflow: hidden;
}
.user-card-posts .more-posts .swiper-slide {
width: auto;
max-width: 46%;
}
.aksrt-more-post-card {
display: block;
color: inherit;
text-decoration: none;
border-radius: 8px;
overflow: hidden;
background: var(--surface-2, #f8fafc);
}
.aksrt-more-post-card__thumb {
display: block;
aspect-ratio: 16 / 10;
overflow: hidden;
background: var(--surface-3, #eef2f7);
}
.aksrt-more-post-card__thumb img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.aksrt-more-post-card__body {
display: block;
padding: 6px 8px 8px;
}
.aksrt-more-post-card__title {
display: block;
font-size: 12px;
font-weight: 600;
line-height: 1.35;
}
.aksrt-more-post-card__meta {
display: flex;
justify-content: space-between;
gap: 6px;
margin-top: 4px;
font-size: 11px;
}
.aksrt-widget-slider-wrap {
border-radius: 10px;
overflow: hidden;
}
.aksrt-widget-slider-wrap .new-swiper {
--pc-height: 220px;
--m-height: 180px;
height: var(--pc-height);
}
@media (max-width: 768px) {
.aksrt-widget-slider-wrap .new-swiper {
height: var(--m-height);
}
}
.aksrt-widget-slider-wrap .swiper-slide img.fit-cover {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.aksrt-widget-slider-wrap .aksrt-slide-text {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 18px 14px 12px;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
color: #fff;
pointer-events: none;
}
.aksrt-widget-slider-wrap .aksrt-slide-text__title {
font-size: 15px;
font-weight: 700;
}
.aksrt-widget-slider-wrap .aksrt-slide-text__desc {
font-size: 12px;
opacity: 0.9;
margin-top: 2px;
}
.muted-box.c-red,
.c-red.muted-box {
color: #b91c1c;
background: #fef2f2;
border: 1px solid #fecaca;
border-radius: 8px;
padding: 12px 14px;
font-size: 13px;
}
/* ranking empty state */
.aksrt-user-ranking__empty {
margin: 8px 0 0;
font-size: 13px;
color: var(--muted-2-color, #999);
text-align: center;
}
/* ---- batch11: search widget type/cat + FAQ structure ---- */
.aksrt-search-widget__form { margin: 0; }
.aksrt-search-widget__types {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 10px;
}
.aksrt-search-widget__type {
border: 1px solid var(--color-line, #e5e7eb);
background: var(--surface-2, #f8fafc);
color: inherit;
border-radius: 999px;
padding: 4px 12px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
line-height: 1.4;
}
.aksrt-search-widget__type.is-active {
background: var(--color-primary, #3b82f6);
border-color: var(--color-primary, #3b82f6);
color: #fff;
}
.aksrt-search-widget__line {
display: flex;
align-items: stretch;
gap: 0;
border: 1px solid var(--color-line, #e5e7eb);
border-radius: 10px;
overflow: hidden;
background: var(--surface-1, #fff);
}
.aksrt-search-widget__cat {
flex: 0 0 auto;
max-width: 38%;
border-right: 1px solid var(--color-line, #e5e7eb);
background: var(--surface-2, #f8fafc);
}
.aksrt-search-widget__cat-select {
width: 100%;
height: 42px;
border: 0;
background: transparent;
padding: 0 10px;
font-size: 13px;
color: inherit;
outline: none;
cursor: pointer;
}
.aksrt-search-widget__field {
position: relative;
flex: 1;
min-width: 0;
display: flex;
align-items: center;
}
.aksrt-search-widget__field .widget-search-box__input,
.aksrt-search-widget .widget-search-box__input {
width: 100%;
height: 42px;
border: 0;
background: transparent;
padding: 0 44px 0 12px;
font-size: 14px;
color: inherit;
outline: none;
}
.aksrt-search-widget .widget-search-box__btn {
position: absolute;
right: 4px;
top: 50%;
transform: translateY(-50%);
width: 34px;
height: 34px;
border: 0;
border-radius: 8px;
background: var(--color-primary, #3b82f6);
color: #fff;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
}
.aksrt-search-widget .widget-search-box__btn:hover { filter: brightness(1.05); }
/* FAQ structure parity */
.aksrt-faq.produck-wid-faq-block { margin: 0; }
.aksrt-faq__head { margin-bottom: 14px; }
.aksrt-faq__search-wrap {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 10px;
border-radius: 12px;
background: var(--surface-2, #f3f4f6);
border: 1px solid var(--color-line, #e5e7eb);
}
.aksrt-faq__search-icon { color: var(--muted-2-color, #999); }
.aksrt-faq__search-input {
flex: 1;
min-width: 0;
border: 0;
background: transparent;
outline: none;
font-size: 14px;
color: inherit;
height: 34px;
}
.aksrt-faq__search-btn {
border: 0;
border-radius: 8px;
background: var(--color-primary, #3b82f6);
color: #fff;
padding: 0 14px;
height: 34px;
font-weight: 600;
cursor: pointer;
font-size: 13px;
}
.aksrt-faq__main {
display: grid;
grid-template-columns: minmax(0, 1.4fr) minmax(220px, .9fr);
gap: 16px;
align-items: start;
}
.aksrt-faq__main.is-full { grid-template-columns: 1fr; }
.aksrt-faq__list { display: flex; flex-direction: column; gap: 10px; }
.aksrt-faq__item {
border: 1px solid var(--color-line, #e5e7eb);
border-radius: 12px;
background: var(--surface-1, #fff);
padding: 0;
overflow: hidden;
}
.aksrt-faq__summary {
list-style: none;
display: flex;
align-items: center;
gap: 12px;
padding: 12px 14px;
cursor: pointer;
}
.aksrt-faq__summary::-webkit-details-marker { display: none; }
.aksrt-faq__badge {
flex-shrink: 0;
width: 34px;
height: 34px;
border-radius: 10px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 700;
color: #fff;
background: #8b5cf6;
}
.aksrt-faq__badge.tone-pink { background: #ec4899; }
.aksrt-faq__badge.tone-green { background: #10b981; }
.aksrt-faq__badge.tone-orange { background: #f59e0b; }
.aksrt-faq__badge.tone-blue { background: #3b82f6; }
.aksrt-faq__badge.tone-purple { background: #8b5cf6; }
.aksrt-faq__qblock { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.aksrt-faq__q { font-weight: 700; font-size: 14px; line-height: 1.35; }
.aksrt-faq__preview {
font-size: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.aksrt-faq__chevron {
color: var(--muted-2-color, #999);
transition: transform .2s ease;
flex-shrink: 0;
}
.aksrt-faq__item[open] .aksrt-faq__chevron { transform: rotate(180deg); }
.aksrt-faq__a {
padding: 0 14px 14px 60px;
font-size: 13px;
color: var(--color-ink-3, #555);
line-height: 1.65;
}
.aksrt-faq__aside { display: flex; flex-direction: column; gap: 12px; }
.aksrt-faq__doc {
border: 1px solid var(--color-line, #e5e7eb);
border-radius: 12px;
padding: 14px;
background: var(--surface-1, #fff);
}
.aksrt-faq__doc-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.aksrt-faq__doc-ico {
width: 36px; height: 36px; border-radius: 10px;
display: inline-flex; align-items: center; justify-content: center;
background: #eff6ff; color: #2563eb; flex-shrink: 0;
}
.aksrt-faq__doc-title { margin: 0; font-size: 15px; }
.aksrt-faq__doc-desc { margin: 4px 0 0; font-size: 12px; }
.aksrt-faq__doc-list { list-style: none; margin: 0; padding: 0; }
.aksrt-faq__doc-li + .aksrt-faq__doc-li { margin-top: 8px; }
.aksrt-faq__doc-a {
display: flex;
align-items: center;
gap: 10px;
padding: 8px;
border-radius: 10px;
background: var(--surface-2, #f8fafc);
text-decoration: none;
color: inherit;
}
.aksrt-faq__doc-li-ico {
width: 28px; height: 28px; border-radius: 8px;
display: inline-flex; align-items: center; justify-content: center;
background: #fff; color: var(--color-primary, #3b82f6); flex-shrink: 0;
}
.aksrt-faq__doc-li-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.aksrt-faq__doc-li-title { font-size: 13px; font-weight: 600; }
.aksrt-faq__doc-li-desc { font-size: 11px; }
.aksrt-faq__doc-go {
font-size: 12px;
color: var(--color-primary, #3b82f6);
white-space: nowrap;
flex-shrink: 0;
}
.aksrt-faq__help {
border-radius: 12px;
padding: 14px;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
color: #fff;
}
.aksrt-faq__help-top { display: flex; gap: 10px; align-items: flex-start; }
.aksrt-faq__help-ico {
width: 36px; height: 36px; border-radius: 10px;
display: inline-flex; align-items: center; justify-content: center;
background: rgba(255,255,255,.18); flex-shrink: 0;
}
.aksrt-faq__help-title { margin: 0; font-size: 15px; }
.aksrt-faq__help-sub { margin: 4px 0 0; font-size: 12px; opacity: .92; }
.aksrt-faq__help-btn {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 12px;
padding: 8px 14px;
border-radius: 999px;
background: #fff;
color: #1d4ed8 !important;
text-decoration: none;
font-weight: 700;
font-size: 13px;
}
@media (max-width: 900px) {
.aksrt-faq__main { grid-template-columns: 1fr; }
.aksrt-faq__a { padding-left: 14px; }
}
/* ---- batch12: video shell + bookmark links styles + product oneline swiper ---- */
.aksrt-video-widget {
position: relative;
width: 100%;
overflow: hidden;
border-radius: 10px;
background: #000;
}
.aksrt-video-widget.radius8 { border-radius: 10px; }
.aksrt-video-widget__frame,
.aksrt-video-widget__player,
.aksrt-video-widget .aksrt-video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.aksrt-video-widget__frame {
border: 0;
display: block;
}
.aksrt-video-widget.controller-hide .aksrt-video video::-webkit-media-controls {
opacity: 0;
transition: opacity .2s ease;
}
.aksrt-video-widget.controller-hide:hover .aksrt-video video::-webkit-media-controls {
opacity: 1;
}
.aksrt-bookmark-links.links-box {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.aksrt-bookmark-links.style-card .author-minicard,
.aksrt-bookmark-links.style-bigcard .author-minicard {
flex: 1 1 calc(50% - 12px);
min-width: 140px;
background: var(--surface-2, #f8fafc);
border: 1px solid var(--color-line, #e5e7eb);
padding: 12px;
box-sizing: border-box;
}
.aksrt-bookmark-links.style-bigcard .author-minicard {
flex: 1 1 100%;
text-align: center;
}
.aksrt-bookmark-links .avatar-img img,
.aksrt-bookmark-links .link-img img {
width: 42px;
height: 42px;
border-radius: 50%;
object-fit: cover;
}
.aksrt-bookmark-links.style-bigcard .avatar-img img {
width: 64px;
height: 64px;
}
.aksrt-bookmark-links.style-image {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.aksrt-bookmark-links.style-image .link-only-img img {
width: 48px;
height: 48px;
border-radius: 10px;
object-fit: cover;
}
.aksrt-bookmark-links.style-simple {
display: block;
line-height: 1.9;
font-size: 13px;
}
.aksrt-bookmark-links.style-simple a {
color: inherit;
text-decoration: none;
margin-right: 8px;
}
.aksrt-bookmark-links.style-simple a:hover {
color: var(--color-primary, #3b82f6);
}
.aksrt-bookmark-links.has-box {
padding: 12px;
border: 1px solid var(--color-line, #e5e7eb);
border-radius: 12px;
background: var(--surface-1, #fff);
}
.aksrt-product-oneline-swiper {
position: relative;
overflow: hidden;
padding: 0 28px 4px;
}
.aksrt-product-oneline-swiper .swiper-wrapper {
display: flex;
}
.aksrt-product-oneline-swiper .swiper-slide {
width: auto;
max-width: 46%;
min-width: 150px;
height: auto;
}
.aksrt-product-oneline-swiper .aksrt-product-card {
height: 100%;
}
.aksrt-product-oneline-swiper .swiper-button-prev,
.aksrt-product-oneline-swiper .swiper-button-next {
width: 28px;
height: 28px;
margin-top: 0;
top: 42%;
border-radius: 50%;
background: var(--surface-1, #fff);
border: 1px solid var(--color-line, #e5e7eb);
color: var(--color-ink, #111);
box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.aksrt-product-oneline-swiper .swiper-button-prev:after,
.aksrt-product-oneline-swiper .swiper-button-next:after {
font-size: 12px;
font-weight: 700;
}
.aksrt-product-oneline-swiper .swiper-button-prev { left: 0; }
.aksrt-product-oneline-swiper .swiper-button-next { right: 0; }
.aksrt-product-widget--oneline .aksrt-product-widget__grid {
/* legacy flex fallback if swiper unavailable */
}
/* ===== Batch13: oneline posts swiper-scroll + user minicards + term graphic ===== */
.widget-main-post.aksrt-oneline-posts {
margin-bottom: 16px;
}
.aksrt-oneline-swiper {
position: relative;
overflow: hidden;
padding: 0 28px 4px;
}
.aksrt-oneline-swiper .swiper-wrapper {
display: flex;
align-items: stretch;
}
.aksrt-oneline-swiper .swiper-slide {
width: auto;
max-width: 46%;
min-width: 160px;
height: auto;
}
.widget-main-post.style-mini .aksrt-oneline-swiper .swiper-slide {
max-width: 280px;
min-width: 220px;
}
.widget-main-post.style-list .aksrt-oneline-swiper .swiper-slide {
max-width: 320px;
min-width: 240px;
}
.aksrt-oneline-swiper .posts-item,
.aksrt-oneline-swiper .posts-mini {
height: 100%;
margin: 0 8px 0 0;
}
.aksrt-oneline-swiper .swiper-button-prev,
.aksrt-oneline-swiper .swiper-button-next {
width: 28px;
height: 28px;
margin-top: 0;
top: 42%;
border-radius: 50%;
background: var(--surface-1, #fff);
border: 1px solid var(--color-line, #e5e7eb);
color: var(--color-ink, #111);
box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.aksrt-oneline-swiper .swiper-button-prev:after,
.aksrt-oneline-swiper .swiper-button-next:after {
font-size: 12px;
font-weight: 700;
}
.aksrt-oneline-swiper .swiper-button-prev { left: 0; }
.aksrt-oneline-swiper .swiper-button-next { right: 0; }
/* User lists → author-minicard */
.aksrt-user-lists .user_lists {
display: flex;
flex-direction: column;
gap: 10px;
text-align: left;
}
.aksrt-user-lists .author-minicard {
display: block;
padding: 12px 14px;
border-radius: 8px;
background: var(--surface-1, #fff);
border: 1px solid var(--color-line, #e5e7eb);
overflow: hidden;
}
.aksrt-user-lists.is-bare .author-minicard {
background: transparent;
}
.aksrt-user-lists .author-minicard > ul.list-inline {
display: flex;
align-items: center;
gap: 12px;
margin: 0;
padding: 0;
list-style: none;
}
.aksrt-user-lists .author-minicard > ul.list-inline > li {
margin: 0;
list-style: none;
}
.aksrt-user-lists .author-minicard .avatar-img img.avatar {
width: 42px;
height: 42px;
border-radius: 50%;
object-fit: cover;
display: block;
}
.aksrt-user-lists .author-minicard dl {
margin: 0;
min-width: 0;
}
.aksrt-user-lists .author-minicard dt.flex {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 4px;
}
.aksrt-user-lists .author-minicard dd {
margin: 0;
max-width: 100%;
}
.aksrt-user-lists .author-minicard .abs-blur-bg {
position: absolute;
inset: 0;
overflow: hidden;
z-index: 0;
opacity: .18;
pointer-events: none;
}
.aksrt-user-lists .author-minicard .abs-blur-bg img {
width: 100%;
height: 100%;
object-fit: cover;
filter: blur(18px);
transform: scale(1.2);
}
.aksrt-user-lists .author-minicard .relative {
position: relative;
z-index: 1;
}
/* Graphic card polish */
.graphic {
background: var(--surface-2, #f3f4f6);
}
.graphic .graphic-mask {
position: absolute;
inset: 0;
background: #000;
pointer-events: none;
z-index: 1;
}
.graphic .graphic-text,
.graphic .abs-center {
z-index: 2;
padding: 10px 12px;
}
.graphic .title-h-center {
font-size: 16px;
font-weight: 700;
}
.graphic badge.b-black,
.graphic .img-badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
border-radius: 4px;
background: rgba(0,0,0,.55);
color: #fff;
font-size: 12px;
line-height: 1.4;
}
.graphic video.fit-cover {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.hover-zoom-img .graphic img.fit-cover,
.hover-zoom-img.graphic img.fit-cover {
transition: transform .45s ease;
}
.hover-zoom-img:hover .graphic img.fit-cover,
.hover-zoom-img.graphic:hover img.fit-cover {
transform: scale(1.06);
}
.aksrt-term-cards .row.gutters-5 {
display: flex;
flex-wrap: wrap;
margin: 0 -4px;
}
.aksrt-term-cards .row.gutters-5 > [class*="col-"] {
padding: 0 4px;
box-sizing: border-box;
}
.aksrt-term-cards .col-sm-12 { width: 100%; }
.aksrt-term-cards .col-sm-6 { width: 50%; }
.aksrt-term-cards .col-sm-4 { width: 33.333%; }
.aksrt-term-cards .col-sm-3 { width: 25%; }
.aksrt-term-cards .col-sm-2 { width: 16.666%; }
@media (max-width: 767px) {
.aksrt-term-cards .col-xs-12 { width: 100%; }
.aksrt-term-cards .col-xs-6 { width: 50%; }
.aksrt-term-cards .col-xs-4 { width: 33.333%; }
}
/* Term aggregation (zibll term-aggregation) */
.term-aggregation.aksrt-term-agg__card,
.zib-widget.term-aggregation {
padding: 14px;
border-radius: 10px;
background: var(--surface-1, #fff);
border: 1px solid var(--color-line, #e5e7eb);
margin-bottom: 12px;
}
.aksrt-term-agg {
display: grid;
gap: 12px;
grid-template-columns: repeat(var(--aksrt-ta-cols, 1), minmax(0, 1fr));
}
.term-aggregation .hover-zoom-img.flex {
display: flex;
align-items: stretch;
gap: 0;
}
.term-aggregation .term-img {
width: 38%;
max-width: 180px;
min-width: 110px;
}
.term-aggregation .term-img .graphic {
margin: 0;
border-radius: 8px;
}
.term-aggregation .term-title {
min-width: 0;
padding-left: 4px;
}
.term-aggregation .term-title > a {
font-weight: 700;
text-decoration: none;
color: inherit;
}
.term-aggregation .term-meta {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
margin-top: 6px;
}
.term-aggregation .icon-circle {
position: relative;
padding-left: 14px;
color: inherit;
text-decoration: none;
}
.term-aggregation .icon-circle:before {
content: "";
position: absolute;
left: 0;
top: 50%;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--theme-color, var(--focus-color, #f04494));
transform: translateY(-50%);
}
.term-aggregation .but.c-blue {
display: inline-flex;
align-items: center;
gap: 2px;
border-radius: 999px;
padding: 2px 10px;
font-size: 12px;
background: rgba(59,130,246,.1);
color: #2563eb;
text-decoration: none;
}
@media (max-width: 640px) {
.aksrt-term-agg { grid-template-columns: 1fr; }
.term-aggregation .term-img { max-width: 120px; min-width: 88px; width: 34%; }
.term-aggregation .hide-sm { display: none !important; }
.aksrt-oneline-swiper .swiper-slide { max-width: 72%; min-width: 140px; }
}
/* ===== Batch14: recent comments mini + friend links + iframe + cover ===== */
.comment-mini-lists.widget-recent-comments,
.comment-mini-lists.zib-widget {
padding: 4px 0;
}
.comment-mini-lists .posts-mini {
display: flex;
align-items: flex-start;
gap: 0;
padding: 10px 0;
border-bottom: 1px solid var(--color-line, rgba(0,0,0,.06));
}
.comment-mini-lists .posts-mini:last-child {
border-bottom: 0;
}
.comment-mini-lists .avatar-img {
flex: 0 0 auto;
--this-size: 36px;
}
.comment-mini-lists .avatar-img img.avatar {
width: 36px;
height: 36px;
border-radius: 50%;
object-fit: cover;
display: block;
}
.comment-mini-lists .posts-mini-con {
min-width: 0;
flex: 1;
}
.comment-mini-lists .posts-mini-con > p.flex {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 0 4px;
gap: 8px;
}
.comment-mini-lists .icon-spot:before {
content: "·";
margin: 0 6px;
opacity: .5;
}
.comment-mini-lists a.muted-color {
color: var(--muted-2-color, #666);
text-decoration: none;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 1.5;
}
.comment-mini-lists a.muted-color:hover {
color: var(--theme-color, var(--focus-color, #f04494));
}
/* Friend links reuse bookmark-links styles */
.aksrt-friend-links.links-box {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.aksrt-friend-links.style-simple {
gap: 6px 12px;
}
.aksrt-friend-links.style-image {
gap: 8px;
}
/* Iframe lazy shell */
.wp-block-embed.is-type-video.relative-h,
.aksrt-iframe-embed .relative-h {
position: relative;
overflow: hidden;
border-radius: 8px;
background: #0f172a;
}
.aksrt-iframe-ratio {
position: relative;
width: 100%;
height: 0;
}
.aksrt-iframe-ratio iframe,
.aksrt-iframe-el {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: 0;
}
/* Cover cards row already covered by term-cards col rules — scope shared */
.widget-graphic-cover .row.gutters-5 {
display: flex;
flex-wrap: wrap;
margin: 0 -4px;
}
.widget-graphic-cover .row.gutters-5 > [class*="col-"] {
padding: 0 4px;
box-sizing: border-box;
}
.widget-graphic-cover .col-sm-12 { width: 100%; }
.widget-graphic-cover .col-sm-6 { width: 50%; }
.widget-graphic-cover .col-sm-4 { width: 33.333%; }
.widget-graphic-cover .col-sm-3 { width: 25%; }
.widget-graphic-cover .col-sm-2 { width: 16.666%; }
@media (max-width: 767px) {
.widget-graphic-cover .col-xs-12 { width: 100%; }
.widget-graphic-cover .col-xs-6 { width: 50%; }
.widget-graphic-cover .col-xs-4 { width: 33.333%; }
}
.widget-graphic-cover .this-font {
font-size: var(--font-size, 18px);
font-weight: var(--font-weight, 600);
color: var(--color, #fff);
}
@media (max-width: 767px) {
.widget-graphic-cover .this-font {
font-size: var(--font-size-sm, 14px);
font-weight: var(--font-weight-sm, 600);
}
}
/* ===== Batch15: icon-card / icon-cover / buttons / yiyan / text-title ===== */
.icon-card {
text-align: center;
padding: 16px 10px;
}
.icon-card .card-icon {
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
color: var(--theme-color, var(--focus-color, #f04494));
}
.icon-card .card-icon.toggle-radius {
width: 3.2em;
height: 3.2em;
border-radius: 50%;
background: rgba(240, 68, 148, 0.1);
}
.icon-card .card-icon img {
width: 1em;
height: 1em;
object-fit: contain;
}
.icon-card .main-color {
color: inherit;
text-decoration: none;
}
.icon-card .main-color:hover {
color: var(--theme-color, var(--focus-color, #f04494));
}
.icon-cover-card {
display: flex;
align-items: center;
gap: 0;
/* Surface: .zib-widget / .padding-10 on same node (zibll). Do not re-box. */
}
a.main-color > .icon-cover-card:hover {
opacity: 0.92;
}
/* Icon badge uses .badg.cir (+ c-* / jb-*); only ensure flex centering. */
.icon-cover-icon.badg.cir {
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.icon-cover-icon.radius4,
.icon-cover-icon.badg.cir.radius4 {
border-radius: 4px !important;
}
.icon-cover-icon img {
width: 70%;
height: 70%;
object-fit: contain;
}
.icon-cover-desc {
min-width: 0;
overflow: hidden;
}
.icon-cover-desc .font-bold {
font-weight: bold;
}
/* Buttons wrap (zibll flex hh) */
.widget-buttons .widget-buttons-wrap {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--pc-gap, 12px);
}
.widget-buttons .widget-buttons-wrap.align-center { justify-content: center; }
.widget-buttons .widget-buttons-wrap.align-left { justify-content: flex-start; }
.widget-buttons .widget-buttons-wrap.align-right { justify-content: flex-end; }
.widget-buttons .widget-buttons-wrap .but {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 4px;
padding: 8px 16px;
border-radius: 6px;
text-decoration: none;
font-size: 14px;
line-height: 1.3;
background: var(--theme-color, #3b82f6);
color: #fff;
border: 1px solid transparent;
min-width: var(--pc-width, auto);
}
.widget-buttons .widget-buttons-wrap .but.radius {
border-radius: 999px;
}
.widget-buttons .widget-buttons-wrap .but.hollow {
background: transparent;
color: var(--theme-color, #3b82f6);
border-color: currentColor;
}
.widget-buttons .widget-buttons-wrap .but.c-blue { background: #3b82f6; }
.widget-buttons .widget-buttons-wrap .but.c-green { background: #22c55e; }
.widget-buttons .widget-buttons-wrap .but.c-yellow { background: #eab308; color: #1a1a1a; }
.widget-buttons .widget-buttons-wrap .but.c-red { background: #ef4444; }
.widget-buttons .widget-buttons-wrap .but.c-purple { background: #a855f7; }
.widget-buttons .widget-buttons-wrap .but.hollow.c-blue { color: #3b82f6; background: transparent; }
.widget-buttons .widget-buttons-wrap .but.hollow.c-green { color: #22c55e; background: transparent; }
.widget-buttons .widget-buttons-wrap .but.hollow.c-red { color: #ef4444; background: transparent; }
.widget-buttons .widget-buttons-wrap .but.hollow.c-purple { color: #a855f7; background: transparent; }
.widget-buttons .widget-buttons-wrap .but.hollow.c-yellow { color: #ca8a04; background: transparent; }
.widget-buttons.pc-size-small .but { padding: 4px 10px; font-size: 12px; }
.widget-buttons.pc-size-medium .but { padding: 6px 14px; font-size: 13px; }
.widget-buttons.pc-size-large .but { padding: 10px 18px; font-size: 15px; }
@media (max-width: 767px) {
.widget-buttons .widget-buttons-wrap {
gap: var(--m-gap, 6px);
}
.widget-buttons .widget-buttons-wrap .but {
min-width: var(--m-width, auto);
}
.widget-buttons.m-size-small .but { padding: 4px 10px; font-size: 12px; }
.widget-buttons.m-size-medium .but { padding: 6px 12px; font-size: 13px; }
.widget-buttons.m-size-large .but { padding: 8px 14px; font-size: 14px; }
}
/* Yiyan shell */
.yiyan-box.main-bg,
.yiyan-box-wrap .yiyan-box {
background: var(--surface-1, #fff);
border-radius: 8px;
box-shadow: 0 0 10px var(--main-shadow, rgba(116,116,116,.08));
padding: 18px 16px;
text-align: center;
}
.yiyan-box .aksrt-yiyan,
.yiyan-box .yiyan {
margin: 0;
}
/* Text title char animation inherits data-aksrt-animate */
.aksrt-text-title__main > span[data-aksrt-animate] {
display: inline-block;
}
/* Shared icon grid columns (reuse term-cards pattern) */
.widget_aksrt_icon_cards .row.gutters-5,
.widget_aksrt_icon_cover_cards .row.gutters-5 {
display: flex;
flex-wrap: wrap;
margin: 0 -4px;
}
.widget_aksrt_icon_cards .row.gutters-5 > [class*="col-"],
.widget_aksrt_icon_cover_cards .row.gutters-5 > [class*="col-"] {
padding: 0 4px;
box-sizing: border-box;
}
.widget_aksrt_icon_cards .col-sm-12,
.widget_aksrt_icon_cover_cards .col-sm-12 { width: 100%; }
.widget_aksrt_icon_cards .col-sm-6,
.widget_aksrt_icon_cover_cards .col-sm-6 { width: 50%; }
.widget_aksrt_icon_cards .col-sm-4,
.widget_aksrt_icon_cover_cards .col-sm-4 { width: 33.333%; }
.widget_aksrt_icon_cards .col-sm-3,
.widget_aksrt_icon_cover_cards .col-sm-3 { width: 25%; }
.widget_aksrt_icon_cards .col-sm-2,
.widget_aksrt_icon_cover_cards .col-sm-2 { width: 16.666%; }
@media (max-width: 767px) {
.widget_aksrt_icon_cards .col-xs-12,
.widget_aksrt_icon_cover_cards .col-xs-12 { width: 100%; }
.widget_aksrt_icon_cards .col-xs-6,
.widget_aksrt_icon_cover_cards .col-xs-6 { width: 50%; }
.widget_aksrt_icon_cards .col-xs-4,
.widget_aksrt_icon_cover_cards .col-xs-4 { width: 33.333%; }
.widget_aksrt_icon_cards .col-xs-3,
.widget_aksrt_icon_cover_cards .col-xs-3 { width: 25%; }
}
/* ===== Batch16-18: highlights/combo/announcement/gap polish ===== */
.aksrt-highlights__row {
display: grid;
gap: 12px;
margin-bottom: 12px;
}
.aksrt-highlights__row.is-large { grid-template-columns: 1fr; }
.aksrt-highlights__row.is-medium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aksrt-highlights__row.is-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) {
.aksrt-highlights__row.is-medium,
.aksrt-highlights__row.is-small { grid-template-columns: 1fr; }
}
.aksrt-hl-card {
display: block;
position: relative;
overflow: hidden;
border-radius: 12px;
text-decoration: none;
color: inherit;
background: var(--surface-1, #fff);
border: 1px solid var(--color-line, #e5e7eb);
min-height: 120px;
transition: transform .25s ease, box-shadow .25s ease;
}
.aksrt-hl-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.aksrt-hl-card__media {
position: absolute;
inset: 0;
z-index: 0;
}
.aksrt-hl-card__media img {
width: 100%;
height: 100%;
object-fit: cover;
}
.aksrt-hl-card__body {
position: relative;
z-index: 1;
padding: 16px;
}
.aksrt-hl-card.color-blue { --hl: #3b82f6; }
.aksrt-hl-card.color-pink { --hl: #ec4899; }
.aksrt-hl-card.color-purple { --hl: #a855f7; }
.aksrt-hl-card.color-green { --hl: #22c55e; }
.aksrt-hl-card.color-orange { --hl: #f97316; }
.aksrt-hl-card.color-cyan { --hl: #06b6d4; }
.aksrt-hl-card__icon {
width: 36px;
height: 36px;
border-radius: 10px;
display: inline-flex;
align-items: center;
justify-content: center;
background: color-mix(in srgb, var(--hl, #3b82f6) 16%, transparent);
color: var(--hl, #3b82f6);
margin-bottom: 8px;
}
.aksrt-hl-card__title { font-weight: 700; font-size: 16px; }
.aksrt-hl-card__desc { margin-top: 6px; font-size: 13px; color: var(--muted-2-color, #888); }
/* Combo row gutters */
.aksrt-combo-info.row.gutters-10 {
display: flex;
flex-wrap: wrap;
margin: 0 -5px;
}
.aksrt-combo-info.row.gutters-10 > [class*="col-"] {
padding: 0 5px 10px;
box-sizing: border-box;
}
.aksrt-combo-info .col-sm-12 { width: 100%; }
.aksrt-combo-info .col-sm-6 { width: 50%; }
.aksrt-combo-info .col-sm-4 { width: 33.333%; }
.aksrt-combo-info .col-sm-3 { width: 25%; }
.aksrt-combo-info .col-sm-2 { width: 16.666%; }
@media (max-width: 767px) {
.aksrt-combo-info .col-xs-12 { width: 100%; }
.aksrt-combo-info .col-xs-6 { width: 50%; }
.aksrt-combo-info .col-xs-4 { width: 33.333%; }
}
/* Announcement vertical swiper reuse notice styles */
body .content-layout__aside .widget.widget_aksrt_announcement,
.theme-dark .content-layout__aside .widget.widget_aksrt_announcement,
html.dark .content-layout__aside .widget.widget_aksrt_announcement,
.theme-dark .zib-widget.widget_aksrt_announcement,
html.dark .zib-widget.widget_aksrt_announcement,
.zib-widget.widget_aksrt_announcement,
.zib-widget[id^="aksrt_announcement-"],
.zib-widget:has(> .aksrt-announcement),
.widget.widget_aksrt_announcement {
/* The announcement bar owns its surface; avoid stacking the generic widget card around it. */
background: transparent !important;
background-color: transparent !important;
border: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
padding: 0 !important;
overflow: visible !important;
}
/* Category block owns the post cards inside it; remove the generic widget card around the block. */
.zib-widget.widget_aksrt_category_block,
.zib-widget[id^="aksrt_category_block-"],
.zib-widget:has(> .aksrt-home-widget--category-block) {
background: transparent !important;
background-color: transparent !important;
border: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
padding: 0 !important;
overflow: visible !important;
}
.aksrt-announcement-swiper-wrap {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: 8px;
background: var(--surface-1, #fff);
border: 1px solid var(--color-line, #e5e7eb);
}
.aksrt-announcement-swiper-wrap .aksrt-notice-swiper,
.aksrt-announcement-swiper {
flex: 1;
min-width: 0;
height: 28px;
overflow: hidden;
}
.aksrt-announcement-swiper .notice-slide,
.aksrt-announcement-swiper .swiper-slide {
height: 28px;
line-height: 28px;
}
.aksrt-announcement-swiper .text-ellipsis {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: inherit;
text-decoration: none;
}
/* Layout gap responsive */
.aksrt-layout-gap {
width: 100%;
pointer-events: none;
}
@media (max-width: 767px) {
.aksrt-layout-gap {
height: var(--aksrt-gap-m, 20px) !important;
}
}
.widget-custom-html.is-full {
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
width: 100vw;
max-width: 100vw;
}
/* ===== Batch19-21: categories tree, hot meta, paid mini, main renderer, lang ===== */
.aksrt-cat-list.has-thumb .aksrt-cat-list__link,
.aksrt-cat-list.is-tree .aksrt-cat-list__link {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: inherit;
}
.aksrt-cat-list__thumb {
width: 32px;
height: 32px;
border-radius: 8px;
overflow: hidden;
flex: 0 0 auto;
background: var(--surface-2, #f3f4f6);
display: inline-flex;
align-items: center;
justify-content: center;
color: #999;
}
.aksrt-cat-list__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aksrt-cat-list__text { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.aksrt-cat-list__name { font-weight: 600; }
.aksrt-cat-list__desc { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aksrt-cat-list__children {
list-style: none;
margin: 6px 0 0 18px;
padding: 0;
border-left: 2px solid var(--color-line, #e5e7eb);
padding-left: 10px;
}
.aksrt-cat-list .count {
margin-left: auto;
font-size: 12px;
color: var(--muted-2-color, #999);
background: var(--surface-2, #f3f4f6);
border-radius: 999px;
padding: 1px 8px;
}
.aksrt-forum-widget__item.is-top .aksrt-forum-widget__rank {
background: var(--theme-color, #f04494);
color: #fff;
}
.tag-cloud.aksrt-tag-cloud a { transition: transform .15s ease; }
.tag-cloud.aksrt-tag-cloud a:hover { transform: translateY(-1px); }
/* batch22-24 forum/user residual */
.forum-posts.mini.aksrt-ftopic-mini,
.forum-posts.detail.aksrt-ftopic-detail {
display: block;
position: relative;
padding: 12px 0;
border-bottom: 1px solid var(--color-line-soft, #f0f1f3);
}
.forum-posts.mini.aksrt-ftopic-mini:last-child,
.forum-posts.detail.aksrt-ftopic-detail:last-child { border-bottom: 0; }
.forum-posts .forum-posts-header .avatar-img img,
.forum-posts .avatar-img img {
width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block;
}
.forum-posts.detail .avatar-img img { width: 40px; height: 40px; }
.forum-posts .forum-title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.forum-posts .forum-title a { color: inherit; text-decoration: none; }
.forum-posts .forum-title a:hover { color: var(--theme-color, #f04494); }
.forum-posts .item-meta { gap: 2px; }
.forum-posts .forum-excerpt { line-height: 1.5; }
.forum-posts badge.img-badge { z-index: 2; }
.plate-lists .plate-item,
.aksrt-plate-lists .plate-item {
display: flex;
gap: 12px;
align-items: flex-start;
padding: 10px 0;
border-bottom: 1px solid var(--color-line-soft, #f0f1f3);
color: inherit;
text-decoration: none;
}
.plate-lists .plate-item:last-child { border-bottom: 0; }
.plate-thumb,
.aksrt-plate-item__thumb {
width: 48px; height: 48px; border-radius: 10px; overflow: hidden;
flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
background: var(--surface-2, #f3f4f6); color: #999;
}
.plate-thumb img, .aksrt-plate-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-plate.scroll-plate,
.aksrt-plate-cards {
display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin;
}
.plate-card, .aksrt-plate-card {
flex: 0 0 160px; width: 160px; text-decoration: none; color: inherit;
}
.plate-card .plate-thumb, .aksrt-plate-card__cover {
width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
background: var(--surface-2, #f3f4f6); display: flex; align-items: center; justify-content: center;
}
.plate-card .plate-thumb img, .aksrt-plate-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.moderator-box.aksrt-plate-mods__list,
.aksrt-plate-mods__list { display: flex; flex-direction: column; gap: 12px; }
.aksrt-plate-mods.style-grid .aksrt-plate-mods__list {
display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px;
}
.aksrt-plate-mods__item { gap: 4px; }
.aksrt-plate-mods__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.aksrt-plate-mods.style-grid .aksrt-plate-mods__item { text-align: center; }
.aksrt-plate-mods.style-grid .aksrt-plate-mods__avatar { width: 48px; height: 48px; margin: 0 auto 6px; }
.user-ranking-box .user-ranking-item,
.aksrt-user-ranking-box .user-ranking-item { position: relative; }
.user-ranking-item .avatar-img img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; }
.user-ranking-item .badg { white-space: nowrap; }
.aksrt-category-recommend__card[data-aksrt-animate] { will-change: transform, opacity; }
.aksrt-category-recommend__posts.posts-mini-wrap { margin-top: 8px; }
.aksrt-plate-info.plate-info-sidebar { overflow: hidden; }
.aksrt-plate-info__cover.plate-thumb {
width: 100%; height: 110px; border-radius: 12px; overflow: hidden;
background: var(--surface-2, #f3f4f6); display: flex; align-items: center; justify-content: center;
}
.aksrt-plate-info__cover.plate-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aksrt-plate-info__stats.count-mates { gap: 8px; flex-wrap: wrap; }
.aksrt-ftag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.aksrt-ftag-item.is-card { min-width: 120px; justify-content: space-between; }
/* batch25-27 residual */
.aksrt-forum-widget__list.is-mini .forum-posts.mini { border-bottom: 1px solid var(--color-line-soft, #f0f1f3); }
.aksrt-forum-widget__list.is-mini .forum-posts.mini:last-child { border-bottom: 0; }
.aksrt-forum-widget__rank-row {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 8px 0;
border-bottom: 1px solid var(--color-line-soft, #f0f1f3);
}
.aksrt-forum-widget__rank-row:last-child { border-bottom: 0; }
.aksrt-forum-widget__rank-row .forum-posts.mini {
flex: 1;
min-width: 0;
padding: 0;
border: 0;
}
.aksrt-forum-widget__rank {
flex: 0 0 24px;
width: 24px;
height: 24px;
margin-top: 4px;
border-radius: 6px;
background: var(--surface-2, #f3f4f6);
color: var(--muted-2-color, #999);
font-size: 12px;
font-weight: 700;
display: inline-flex;
align-items: center;
justify-content: center;
}
.aksrt-forum-widget__rank-row badge.img-badge { position: static; flex: 0 0 auto; margin-top: 4px; }
/* batch28-30 residual */
.aksrt-ftab.widget-tab-posts .aksrt-ftab__nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 12px; padding: 0; }
.aksrt-ftab__btn.widget-tab-posts__tab {
border: 0; background: var(--surface-2, #f3f4f6); color: inherit;
border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 13px;
}
.aksrt-ftab__btn.is-active { background: var(--theme-color, #f04494); color: #fff; }
.aksrt-ftab__panel[hidden] { display: none !important; }
.aksrt-ftab__panel.is-ajax-loading { opacity: .65; pointer-events: none; }
/* batch34-36 residual */
.widget-hot-posts--graphic .hot-posts-graphic { margin-bottom: 12px; border-radius: 8px; overflow: hidden; }
.widget-hot-posts--graphic .hot-posts-graphic .graphic { position: relative; overflow: hidden; border-radius: 8px; background: var(--surface-2, #f3f4f6); }
.widget-hot-posts--graphic .hot-posts-graphic img.fit-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.widget-hot-posts--graphic .linear-mask {
position: absolute; inset: 0;
background: linear-gradient(to top, rgba(0,0,0,.62), transparent 55%);
pointer-events: none;
}
.widget-hot-posts--graphic .abs-center.left-bottom { position: absolute; left: 0; right: 0; bottom: 0; color: #fff; }
.widget-hot-posts--graphic .hot-posts-graphic__title { font-weight: 600; line-height: 1.35; }
.widget-hot-posts--graphic .hot-post-item { position: relative; align-items: flex-start; gap: 0; }
.widget-hot-posts--graphic .hot-post-item__thumb {
flex: 0 0 72px; width: 72px; height: 54px; border-radius: 8px; overflow: hidden;
position: relative; background: var(--surface-2, #f3f4f6);
}
.widget-hot-posts--graphic .hot-post-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.widget-hot-posts--graphic badge.img-badge.left.hot {
position: absolute; top: 6px; left: 6px; z-index: 2;
padding: 2px 6px; border-radius: 4px; font-size: 11px; line-height: 1.2; color: #fff;
}
.widget-hot-posts--graphic badge.img-badge.jb-red { background: #f04438; }
.widget-hot-posts--graphic badge.img-badge.jb-yellow { background: #f79009; color: #111; }
.widget-hot-posts--graphic badge.img-badge.b-gray { background: #667085; }
.widget-hot-posts--graphic badge.img-badge.em12 { font-size: 12px; }
.pagenav.ajax-pag { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 12px; }
.pagenav.ajax-pag .page-numbers {
display: inline-flex; min-width: 32px; height: 32px; padding: 0 8px;
align-items: center; justify-content: center; border-radius: 8px;
background: var(--surface-2, #f3f4f6); color: inherit; text-decoration: none; font-size: 13px;
}
.pagenav.ajax-pag .page-numbers.current { background: var(--theme-color, #f04494); color: #fff; }
.pagenav.ajax-pag .page-numbers.dots { background: transparent; min-width: auto; }
.widget-tab-posts__skeleton .placeholder-row {
display: flex; gap: 10px; align-items: center; padding: 8px 0;
}
.widget-tab-posts__skeleton .thumb-placeholder {
width: 56px; height: 42px; border-radius: 6px; background: var(--surface-2, #eee);
}
.widget-tab-posts__skeleton .placeholder.k1,
.widget-tab-posts__skeleton .placeholder.s1 {
height: 12px; border-radius: 4px; background: var(--surface-2, #eee);
}
.widget-tab-posts__skeleton .placeholder.k1 { width: 80%; }
.widget-tab-posts__skeleton .placeholder.s1 { width: 48%; }
.posts-mini-lists.aksrt-main-posts { /* zibll mini outer */ }
/* Compact paid-content purchase card for the article sidebar. */
.aksrt-post-pay-card {
--aksrt-pay-accent: var(--color-primary, #3b82f6);
display: grid;
gap: 12px;
padding: 16px;
border: 1px solid color-mix(in srgb, var(--aksrt-pay-accent) 26%, var(--color-line, #e5e7eb));
border-radius: 12px;
background: linear-gradient(145deg, color-mix(in srgb, var(--aksrt-pay-accent) 8%, var(--surface-1, #fff)), var(--surface-1, #fff));
}
.aksrt-post-pay-card.jb-red { --aksrt-pay-accent: #ef4444; }
.aksrt-post-pay-card.jb-yellow { --aksrt-pay-accent: #f59e0b; }
.aksrt-post-pay-card.jb-blue { --aksrt-pay-accent: #3b82f6; }
.aksrt-post-pay-card.jb-green { --aksrt-pay-accent: #22c55e; }
.aksrt-post-pay-card.jb-purple { --aksrt-pay-accent: #8b5cf6; }
.aksrt-post-pay-card.jb-vip1 { --aksrt-pay-accent: #d49a25; }
.aksrt-post-pay-card.jb-vip2 { --aksrt-pay-accent: #64748b; }
.aksrt-post-pay-card__header,
.aksrt-post-pay-card__price-row,
.aksrt-post-pay-card__actions { display: flex; align-items: center; gap: 8px; }
.aksrt-post-pay-card__header { justify-content: space-between; }
.aksrt-post-pay-card__type,
.aksrt-post-pay-card__sales {
font-size: 12px;
line-height: 1;
}
.aksrt-post-pay-card__type {
padding: 5px 8px;
border-radius: 999px;
color: var(--aksrt-pay-accent);
background: color-mix(in srgb, var(--aksrt-pay-accent) 13%, transparent);
font-weight: 700;
}
.aksrt-post-pay-card__sales { color: var(--muted-2-color, #888); }
.aksrt-post-pay-card__price-row { min-height: 32px; }
.aksrt-post-pay-card__price,
.aksrt-post-pay-card__status { color: var(--aksrt-pay-accent); font-size: 25px; line-height: 1.2; }
.aksrt-post-pay-card__status { font-size: 19px; }
.aksrt-post-pay-card__status i { margin-right: 6px; }
.aksrt-post-pay-card__price-row del { color: var(--muted-2-color, #888); font-size: 13px; }
.aksrt-post-pay-card__hint { margin: -4px 0 0; color: var(--muted-2-color, #888); font-size: 12px; }
.aksrt-post-pay-card__actions { align-items: stretch; flex-direction: column; }
.aksrt-post-pay-card__actions .but { justify-content: center; width: 100%; }
.aksrt-main-posts__skeleton .placeholder-row,
.aksrt-product-tab__skeleton .placeholder-row {
display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px;
}
.aksrt-main-posts__skeleton .posts-mini.placeholder-row { flex-direction: row; align-items: center; gap: 10px; }
.aksrt-main-posts__skeleton .thumb-placeholder,
.aksrt-product-tab__skeleton .placeholder.thumb {
width: 72px; height: 54px; border-radius: 8px; background: var(--surface-2, #eee);
}
.aksrt-product-tab__skeleton .placeholder.thumb { width: 100%; height: 100px; }
.aksrt-main-posts__skeleton .placeholder.k1,
.aksrt-main-posts__skeleton .placeholder.t1,
.aksrt-main-posts__skeleton .placeholder.s1,
.aksrt-product-tab__skeleton .placeholder.k1,
.aksrt-product-tab__skeleton .placeholder.s1 {
height: 12px; border-radius: 4px; background: var(--surface-2, #eee);
}
.aksrt-main-posts__skeleton .placeholder.k1,
.aksrt-product-tab__skeleton .placeholder.k1 { width: 80%; }
.aksrt-main-posts__skeleton .placeholder.s1,
.aksrt-product-tab__skeleton .placeholder.s1 { width: 48%; }
.aksrt-main-posts[data-load-mode="ajax"].is-ajax-loading { opacity: .85; }
.widget-search-box.is-affix { position: sticky; top: 72px; }
/* batch40-42 residual */
.aksrt-plate-info .count-mates {
gap: 8px; margin-top: 12px; padding-top: 10px;
border-top: 1px solid var(--color-line, rgba(0,0,0,.06));
}
.aksrt-plate-info .count-mates item,
.aksrt-plate-info .count-mates .mate-views,
.aksrt-plate-info .count-mates .mate-reply,
.aksrt-plate-info .count-mates .mate-follow {
flex: 1 1 0; min-width: 0; text-align: center;
}
.aksrt-plate-info .count-mates .em14 { font-weight: 700; line-height: 1.2; }
/* batch43-45 residual */
.aksrt-product-widget__item--mini {
gap: 10px; padding: 8px 0;
border-bottom: 1px solid var(--color-line, rgba(0,0,0,.06));
}
.aksrt-product-widget__item--mini:last-child { border-bottom: 0; }
.aksrt-product-widget__thumb.mini {
flex: 0 0 56px; width: 56px; height: 56px; border-radius: 8px; overflow: hidden;
background: var(--surface-2, #f3f4f6); display: block;
}
.aksrt-product-widget__thumb.mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* batch46-48 residual */
.widget .is-affix[data-affix="true"],
.ajaxpager.is-affix[data-affix="true"],
.zib-widget.is-affix[data-affix="true"],
.aksrt-author-card.is-affix[data-affix="true"],
.aksrt-text-title.is-affix[data-affix="true"] {
position: sticky;
top: 72px;
z-index: 2;
}
.avatar-img.link-img img.aksrt-lazy { object-fit: cover; }
/* batch49-51 residual */
.aksrt-mod-apply-modal[hidden] { display: none !important; }
.aksrt-mod-apply-modal {
position: fixed; inset: 0; z-index: 10050;
display: flex; align-items: center; justify-content: center;
}
.aksrt-mod-apply-modal__backdrop {
position: absolute; inset: 0; background: rgba(15, 23, 42, .45);
}
.aksrt-mod-apply-modal__dialog {
position: relative; z-index: 1; width: min(420px, calc(100vw - 32px));
max-height: min(80vh, 560px); overflow: auto;
padding: 16px; border-radius: 12px; background: var(--surface-1, #fff);
box-shadow: 0 18px 50px rgba(0,0,0,.2);
}
.aksrt-mod-apply-modal__dialog textarea {
width: 100%; min-height: 96px; border: 1px solid var(--color-line, #e5e7eb);
border-radius: 8px; padding: 8px 10px; resize: vertical;
}
.aksrt-mod-apply-modal__dialog .js-aksrt-action-feedback.is-error { color: #ef4444; }
.aksrt-mod-apply-modal__dialog .js-aksrt-action-feedback.is-success { color: #10b981; }
.aksrt-mod-apply-modal__dialog .js-aksrt-action-feedback.is-loading { color: #64748b; }
body.aksrt-mod-apply-open { overflow: hidden; }
.aksrt-product-widget__item--list { gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-line, rgba(0,0,0,.06)); }
.aksrt-product-widget__item--list:last-child { border-bottom: 0; }
.aksrt-product-widget__thumb.list {
flex: 0 0 80px; width: 80px; height: 80px; border-radius: 10px; overflow: hidden;
background: var(--surface-2, #f3f4f6); display: block;
}
.aksrt-product-widget__thumb.list img { width: 100%; height: 100%; object-fit: cover; display: block; }
.text-ellipsis-2 {
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}