@charset "UTF-8";
/**
 * YYSDY · star8 自研皮肤（无 Layui）
 * 参考布局密度：https://www.star8.cn/
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --star-bg: #eef2f8;
    --star-card: #ffffff;
    --star-text: #1f2430;
    --star-muted: #8a93a3;
    --star-line: #e6ebf3;
    --star-accent: #2f6bff;
    --star-accent-soft: rgba(47, 107, 255, .12);
    --star-danger: #ff4d4f;
    --star-radius: 14px;
    --star-radius-sm: 10px;
    --star-shadow: 0 8px 28px rgba(31, 45, 80, .08);
    --star-shadow-sm: 0 2px 10px rgba(31, 45, 80, .05);
    --star-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --star-topbar-h: 56px;
    --star-gutter: 12px;
    /* 桌面左侧 mininav：边距 + 浮层宽（对齐 star8） */
    --star-sidebar-inset: 12px;
    --star-sidebar-panel: 148px;
    --star-sidebar-w: 172px;
    --star-nav-active: #f5d76e;
}

html {
    scroll-behavior: smooth;
}

body.yysdy-star8 {
    margin: 0;
    min-height: 100vh;
    font-family: var(--star-font);
    font-size: 14px;
    line-height: 1.5;
    color: var(--star-text);
    background:
        radial-gradient(circle at 18% 12%, rgba(47, 107, 255, .12) 0 1px, transparent 1.6px) 0 0 / 24px 24px,
        linear-gradient(180deg, #dfe9ff 0%, var(--star-bg) 240px, var(--star-bg) 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.yysdy-star8 a {
    color: inherit;
    text-decoration: none;
}

body.yysdy-star8 img {
    max-width: 100%;
    border: 0;
    vertical-align: middle;
}

body.yysdy-star8 button,
body.yysdy-star8 input,
body.yysdy-star8 textarea {
    font: inherit;
}

body.yysdy-star8 ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.ellipsis1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yysdy-w-50 {
    width: 50%;
}

.yysdy-t-right {
    text-align: right;
}

.star-hide-m {
    display: block;
}

.star-hide-pc {
    display: none;
}

/* ===== 顶栏 ===== */
.star-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--star-topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 0 var(--star-gutter);
    overflow: visible;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(230, 235, 243, .85);
}

.star-topbar-left,
.star-topbar-right {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
}

.star-menu-btn,
.star-icon-btn {
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--star-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}

.star-menu-btn:hover,
.star-icon-btn:hover {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

.star-brand {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
}

.star-brand img {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 8px;
}

.star-brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--star-accent);
    white-space: nowrap;
}

.star-top-nav {
    display: none;
    align-items: center;
    gap: .1rem;
}

.star-top-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    padding: .35rem .7rem;
    border: 0;
    border-radius: 999px;
    font-size: .86rem;
    color: #4b5563;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
}

.star-top-board {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: .32rem .65rem;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 600;
    color: #4b5563;
    white-space: nowrap;
}

.star-top-board:hover {
    background: var(--star-nav-active);
    color: #3a3208;
}

.star-drawer-board .star-badge-dot {
    margin-left: auto;
}

.star-top-nav a:hover,
.star-top-nav a.is-active {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

.star-badge-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.1rem;
    height: 1.1rem;
    margin-left: .28rem;
    padding: 0 .28rem;
    border-radius: 999px;
    background: #ff5722;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
    vertical-align: .15em;
    box-sizing: border-box;
}

/* 用户区 */
.star-user {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.star-user-link {
    padding: .3rem .55rem;
    font-size: .86rem;
    color: #4b5563;
    border-radius: 999px;
}

.star-user-link:hover {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

.star-user-menu {
    position: relative;
    z-index: 21;
}

.star-user-trigger {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .5rem;
    border-radius: 999px;
    font-size: .86rem;
}

.star-user-trigger:hover,
.star-user-menu.is-open .star-user-trigger,
.star-user-menu:hover .star-user-trigger {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

.star-user-avatar {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.star-user-drop {
    position: absolute;
    right: 0;
    top: calc(100% + .35rem);
    min-width: 9.5rem;
    padding: .35rem;
    border-radius: 12px;
    background: var(--star-card);
    border: 1px solid var(--star-line);
    box-shadow: var(--star-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(.25rem);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index: 1201;
}

.star-user-menu.is-open .star-user-drop,
.star-user-menu:hover .star-user-drop {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.star-user-drop a {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .65rem;
    border-radius: 8px;
    font-size: .86rem;
    color: var(--star-text);
}

.star-user-drop a:hover {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

/* ===== 左侧分类栏：桌面固定 / 移动端抽屉 ===== */
.star-drawer-mask {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(15, 23, 42, .38);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.star-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1210;
    width: min(78vw, 300px);
    height: 100%;
    background: var(--star-card);
    box-shadow: var(--star-shadow);
    transform: translateX(-104%);
    transition: transform .22s ease;
    overflow: auto;
    padding: .85rem .7rem 1.5rem;
    pointer-events: none;
    -webkit-overflow-scrolling: touch;
}

body.yysdy-star8.star-drawer-open .star-drawer {
    pointer-events: auto;
    transform: none;
}

body.yysdy-star8.star-drawer-open .star-drawer-mask {
    opacity: 1;
    visibility: visible;
}

.star-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
    padding: 0 .15rem;
}

.star-drawer-title {
    font-weight: 700;
    font-size: .98rem;
    color: var(--star-accent);
}

.star-drawer-nav > .star-drawer-home,
.star-drawer-link {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--star-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.star-drawer-link {
    flex: 1;
}

.star-drawer-nav > .star-drawer-home:hover,
.star-drawer-nav > .star-drawer-home.is-active,
.star-drawer-link:hover,
.star-drawer-link.is-active {
    background: var(--star-nav-active);
    color: #3a3208;
}

.star-drawer-nav .layui-icon,
.star-top-nav .layui-icon,
.star-menu-btn .layui-icon,
.star-icon-btn .layui-icon {
    width: 1.15em;
    height: 1.15em;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background-color: currentColor;
    color: inherit;
}

.star-drawer-group {
    display: flex;
    align-items: center;
    gap: .05rem;
    flex-wrap: wrap;
}

.star-drawer-toggle {
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--star-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.star-drawer-toggle:hover {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

.star-drawer-toggle .layui-icon {
    font-size: .85rem;
    width: auto;
    transition: transform .18s ease;
}

.star-drawer-group.is-open > .star-drawer-toggle .layui-icon {
    transform: rotate(90deg);
}

.star-drawer-sub {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: .05rem;
    padding: 0 0 .35rem .5rem;
    margin: 0 0 .05rem .85rem;
    border-left: 1px solid var(--star-line);
}

.star-drawer-group.is-open > .star-drawer-sub {
    display: flex;
}

.star-drawer-sub a {
    display: block;
    padding: .32rem .55rem;
    margin: 0;
    font-size: .78rem;
    font-weight: 400;
    color: var(--star-muted);
    background: transparent;
    border-radius: 8px;
}

.star-drawer-sub a:hover,
.star-drawer-sub a.is-active {
    color: var(--star-accent);
    background: var(--star-accent-soft);
}

/* 桌面：star8 式悬停弹出层（fixed，由 JS 定位） */
.star-nav-pop {
    position: fixed;
    z-index: 1400;
    min-width: 210px;
    max-width: 280px;
    padding: .45rem;
    border-radius: 14px;
    background: var(--star-card);
    border: 1px solid var(--star-line);
    box-shadow: var(--star-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
}

.star-nav-pop.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.star-nav-pop ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 4px;
}

.star-nav-pop a {
    display: block;
    padding: .42rem .55rem;
    border-radius: 8px;
    font-size: .82rem;
    color: var(--star-text);
}

.star-nav-pop a:hover,
.star-nav-pop a.is-active {
    background: var(--star-nav-active);
    color: #3a3208;
}

/* ===== 主内容 ===== */
.star-main {
    width: 100%;
    margin: 0;
    padding: 0 var(--star-gutter) 2.5rem;
}

/* ===== Hero 搜索 ===== */
.star-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: .65rem 0 1rem;
    padding: 2.2rem 1rem 1.8rem;
    min-height: 240px;
    border-radius: 18px;
    overflow: hidden;
    background: #1c2433 url("../img/star-hero.webp") center 42% / cover no-repeat;
    box-shadow: var(--star-shadow);
}

.star-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 22, 36, .18) 0%, rgba(16, 22, 36, .34) 100%);
    pointer-events: none;
}

.star-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% 35%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 68%);
    pointer-events: none;
}

.star-hero {
    flex-direction: column;
}

.star-hero .star-search {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    margin: 0 auto;
}

.star-search-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem;
    margin-bottom: .85rem;
}

.star-search-tab {
    height: 1.9rem;
    line-height: 1.9rem;
    padding: 0 .85rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
    color: #fff;
    font-size: .82rem;
    cursor: pointer;
}

.star-search-tab.is-active,
.star-search-tab:hover {
    background: #fff;
    color: var(--star-accent);
}

.star-search .search-shell {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(31, 45, 80, .16);
}

.star-input,
.star-search .search-shell #search {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 48px;
    border: 0;
    outline: 0;
    padding: 0 1.1rem;
    font-size: .95rem;
    background: transparent;
    color: var(--star-text);
}

.star-search-btn,
.hao-search-btn {
    flex: 0 0 auto;
    min-width: 5rem;
    height: 48px;
    border: 0;
    padding: 0 1.35rem;
    background: var(--star-text);
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
}

.star-search-btn:hover,
.hao-search-btn:hover {
    background: #111827;
}

.star-search-body {
    margin-top: .75rem;
    text-align: center;
}

.star-search-body > div {
    display: none;
}

.star-chip-wrap {
    display: inline-block;
    margin: .15rem;
    cursor: pointer;
}

.star-chip-wrap input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: .22rem .7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
    color: #fff;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.4;
}

.star-chip.is-active,
.star-chip-wrap:hover .star-chip,
.star-chip-wrap input:checked + .star-chip {
    background: #fff;
    color: var(--star-accent);
}

.item-box-child .star-chip,
.yysdy-cat-more .star-chip,
.small a,
.star-chip-outline {
    background: #f4f7fc;
    color: var(--star-muted);
}

.item-box-child .star-chip:hover,
.yysdy-cat-more .star-chip:hover,
.small a:hover,
.small a.active,
.star-chip-outline:hover {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

/* ===== 面板 ===== */
.star-panel,
.yysdy-card,
.yysdy-link {
    background: var(--star-card);
    border: 1px solid var(--star-line);
    border-radius: var(--star-radius);
    box-shadow: var(--star-shadow-sm);
    padding: .9rem 1rem 1.05rem;
    margin: 0 0 .9rem;
    width: 100%;
}

.star-show-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.star-section-title,
.yysdy-card > h3,
.catName {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: .25rem 0 .75rem;
    padding: 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--star-accent);
    background: transparent;
    border: 0;
}

.star-section-title .layui-icon,
.catName .layui-icon {
    width: 1.25em;
    height: 1.25em;
    color: var(--star-accent);
    background-color: currentColor;
}

.star-section-title a,
.catName a {
    color: inherit;
}

.yysdy-card .item-box.yysdy-bg-gray + .star-section-title,
.yysdy-card .item-box.yysdy-bg-gray + .catName {
    margin-top: 1.75rem;
    padding-top: .35rem;
}

/* ===== Tabs ===== */
.star-tabs {
    margin: 1.2rem 0 0;
}

.star-tabs + .star-tabs {
    margin-top: 1.35rem;
}

body.yysdy-star8 ul.star-tabs-header {
    display: flex;
    align-items: center;
    gap: .1rem;
    max-width: 100%;
    margin: 0 0 .4rem;
    padding: 0 0 .18rem;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.star-tabs-header::-webkit-scrollbar {
    display: none;
}

.star-tabs-header li {
    position: relative;
    flex: 0 0 auto;
    padding: 0 .7rem;
    line-height: 2.05rem;
    font-size: .9rem;
    color: var(--star-muted);
    cursor: pointer;
    user-select: none;
}

.star-tabs-header li.star-tabs-title,
.star-tabs-header li.star-tabs-title a {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    color: var(--star-text);
    font-weight: 700;
    font-size: .98rem;
    cursor: pointer;
    background: transparent;
}

.star-tabs-header li.star-tabs-title .layui-icon {
    width: 1.2em;
    height: 1.2em;
    color: var(--star-accent);
    background-color: currentColor;
}

.star-tabs-header li.is-active {
    color: var(--star-text);
    font-weight: 700;
}

.star-tabs-header li.is-active::before {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--star-accent);
}

.star-tabs-header li.star-tabs-title.is-active::before,
.star-tabs-header li.star-tabs-title::before {
    display: none;
}

.star-tabs-header li.is-disabled {
    color: var(--star-muted);
    font-size: .78rem;
    margin-left: auto;
    cursor: default;
}

.star-tabs-header a.is-active {
    color: var(--star-text);
    font-weight: 700;
}

.yysdy-star {
    display: none;
}

.star-tabs-body {
    padding-top: 0;
}

.star-tabs-body .star-grid {
    margin-top: 0;
}

.star-tabs-body > .star-tabs-item {
    display: none;
}

.star-tabs-body > .star-tabs-item.is-active {
    display: block;
}

.small {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 .8rem;
}

.small a {
    padding: .2rem .65rem;
    border-radius: 999px;
    font-size: .8rem;
}

.item-box-child {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 .7rem;
}

.cat-about {
    margin: 0 0 .8rem;
    font-size: .86rem;
    color: var(--star-muted);
}

/* ===== 网址网格 ===== */
.star-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    margin: 0;
}

.star-site {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .55rem;
    min-height: 3.55rem;
    padding: .5rem .7rem;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.star-site:hover {
    background: #fff;
    border-color: var(--star-line);
    box-shadow: var(--star-shadow-sm);
    transform: translateY(-1px);
}

.star-site-icon {
    position: relative;
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(230, 235, 243, .95);
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-site-icon img,
.star-site .webicon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.star-site-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .15rem;
}

.star-site-name {
    width: 100%;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--star-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.star-site-desc {
    width: 100%;
    font-size: .74rem;
    line-height: 1.35;
    color: var(--star-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.star-site .tips {
    position: absolute;
    top: .3rem;
    right: .4rem;
    z-index: 2;
}

.star-site .tips span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1rem;
    height: 1rem;
    padding: 0 .22rem;
    border-radius: 999px;
    background: var(--star-danger);
    color: #fff;
    font-size: .58rem;
    line-height: 1;
}

.star-site .tips span i {
    font-style: normal;
}

.star-site.closed {
    opacity: .65;
}

.star-site-more {
    justify-content: flex-start;
    align-items: center;
}

.star-site-more::before {
    content: "+";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #fff;
    color: var(--star-accent);
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px var(--star-line);
}

.star-site-more .star-site-name {
    color: var(--star-accent);
}

/* ===== 详情（对齐 star8 sites 页） ===== */
.star-show {
    margin: 0 0 .9rem;
}

.star-show-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1rem;
    align-items: start;
}

.star-show-card {
    background: var(--star-card);
    border: 1px solid var(--star-line);
    border-radius: 16px;
    box-shadow: var(--star-shadow-sm);
    padding: 1.15rem 1.2rem 1.2rem;
    margin: 0 0 .9rem;
}

.star-show-info {
    padding: 0;
    overflow: hidden;
}

/* 封面预览区 */
.star-show-cover {
    position: relative;
    background: #eef2f8;
}

.star-show-cover-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 280px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 18% 28%, rgba(47, 107, 255, .22), transparent 55%),
        radial-gradient(ellipse 70% 50% at 82% 72%, rgba(18, 184, 134, .14), transparent 50%),
        linear-gradient(160deg, #d5e2f6 0%, #eef3fb 48%, #e3ebf8 100%);
}

.star-show-cover-mark {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .28) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .45;
    pointer-events: none;
}

.star-show-cover-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    color: #5b6b86;
    font-size: .82rem;
    padding: 1rem;
    text-align: center;
}

.star-show-cover-fallback img {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(30, 50, 90, .2);
    background: #fff;
}

.star-show-cover-fallback strong {
    font-size: 1.15rem;
    font-weight: 800;
    color: #243047;
    letter-spacing: .02em;
}

.star-show-cover-fallback span {
    opacity: .8;
}

.star-show-stats {
    position: absolute;
    left: .75rem;
    top: .75rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.star-show-stat {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    min-height: 1.7rem;
    padding: 0 .65rem;
    border-radius: 999px;
    background: rgba(20, 28, 45, .55);
    color: #fff;
    font-size: .74rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.star-show-stat .layui-icon {
    width: 1em;
    height: 1em;
    background-color: currentColor;
}

/* 资料区 */
.star-show-profile {
    display: flex;
    gap: .95rem;
    align-items: flex-start;
    padding: 1.1rem 1.2rem .35rem;
}

.star-show-icon,
.yysdy-show-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 14px;
    overflow: hidden;
    flex: 0 0 auto;
    background: #f3f6fb;
    box-shadow: inset 0 0 0 1px var(--star-line);
    margin-top: .15rem;
}

.star-show-icon img,
.yysdy-show-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.star-show-profile-body {
    flex: 1;
    min-width: 0;
}

.star-show-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--star-text);
}

.star-show-404 {
    width: 1.35rem;
    height: 1.35rem;
    vertical-align: -0.15em;
    margin-right: .2rem;
}

.star-show-desc {
    margin: .35rem 0 0;
    color: #6b7280;
    font-size: .9rem;
    line-height: 1.55;
}

.star-show-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    margin: .55rem 0 0;
}

.star-pill {
    display: inline-flex;
    align-items: center;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: var(--star-accent-soft);
    color: var(--star-accent);
    font-size: .75rem;
}

.star-pill.is-warn {
    background: rgba(255, 87, 34, .12);
    color: #ff5722;
}

.star-show-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.2rem .15rem;
}

.star-show-tags-label {
    color: var(--star-muted);
    font-size: .8rem;
    margin-right: .1rem;
}

.star-tag {
    display: inline-flex;
    align-items: center;
    height: 1.7rem;
    padding: 0 .7rem;
    border-radius: 999px;
    border: 1px solid rgba(47, 107, 255, .22);
    background: rgba(47, 107, 255, .06);
    color: var(--star-accent);
    font-size: .78rem;
}

.star-tag:hover {
    background: var(--star-accent-soft);
}

.star-show-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: .85rem 1.2rem 1.15rem;
}

.star-show-mainbtns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.star-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .28rem;
    min-height: 2.35rem;
    padding: 0 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.star-btn-primary {
    background: var(--star-accent);
    color: #fff;
    box-shadow: 0 6px 16px rgba(47, 107, 255, .28);
}

.star-btn-primary:hover {
    filter: brightness(1.05);
    color: #fff;
}

.star-btn-primary .layui-icon {
    width: .9em;
    height: .9em;
    background-color: currentColor;
}

.star-btn-outline {
    background: #fff;
    color: var(--star-text);
    border-color: var(--star-line);
}

.star-btn-outline:hover {
    border-color: rgba(47, 107, 255, .35);
    color: var(--star-accent);
    background: var(--star-accent-soft);
}

.star-btn-icon {
    width: 2.35rem;
    min-width: 2.35rem;
    padding: 0;
    background: #f4f7fc;
    color: var(--star-muted);
    border-color: var(--star-line);
    font-size: .78rem;
    font-weight: 600;
    gap: .15rem;
}

.star-btn-icon .layui-icon {
    width: 1.05em;
    height: 1.05em;
    background-color: currentColor;
}

.star-btn-icon:hover {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

.star-btn-refresh {
    min-height: 1.8rem;
    padding: 0 .75rem;
    background: #f4f7fc;
    color: var(--star-muted);
    border-color: var(--star-line);
    font-size: .8rem;
    font-weight: 600;
}

.star-btn-refresh:hover {
    color: var(--star-accent);
    background: var(--star-accent-soft);
}

.star-show-urls,
.star-show-urls.yysdy-url,
#msg_url.yysdy-url {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
}

.star-show-urls.is-collapsed {
    display: none;
}

.star-show-urls.is-open {
    display: flex;
    padding: .75rem .85rem;
    border-radius: 12px;
    background: #f5f8fd;
    border: 1px solid var(--star-line);
}

/* site_url.html 输出的旧 Layui 按钮 → star8 CTA */
body.yysdy-star8 .yysdy-url a,
body.yysdy-star8 .yysdy-url .layui-btn,
body.yysdy-star8 .yysdy-tell .layui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0 1rem;
    margin: 0 !important;
    border: 0;
    border-radius: 999px !important;
    background: var(--star-accent) !important;
    color: #fff !important;
    font-size: .86rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(47, 107, 255, .18);
    line-height: 1;
}

body.yysdy-star8 .yysdy-url a.layui-bg-cyan,
body.yysdy-star8 .yysdy-tell a.layui-bg-cyan {
    background: #12b886 !important;
    box-shadow: 0 4px 12px rgba(18, 184, 134, .16);
}

body.yysdy-star8 .yysdy-url a.layui-bg-red,
body.yysdy-star8 .yysdy-tell .layui-btn-danger {
    background: var(--star-accent) !important;
}

body.yysdy-star8 .yysdy-tell {
    margin: 0;
    padding: .85rem 1rem;
    border: 1px solid rgba(255, 87, 34, .2);
    border-radius: 12px;
    background: rgba(255, 87, 34, .06);
    color: #d9480f;
    font-size: .86rem;
    width: 100%;
}

body.yysdy-star8 .yysdy-know {
    width: 100%;
    margin-top: .25rem;
    color: var(--star-muted);
    font-size: .78rem;
}

.star-login-hint {
    padding: 1.1rem 1.15rem;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px solid var(--star-line);
}

.star-login-hint p {
    margin: 0 0 .75rem;
    color: var(--star-text);
    font-size: .9rem;
}

.star-login-hint-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.star-login-hint-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    height: 2.1rem;
    padding: 0 .9rem;
    border-radius: 8px;
    background: var(--star-accent);
    color: #fff !important;
    font-size: .86rem;
}

.star-login-hint-actions a:last-child {
    background: transparent;
    color: var(--star-accent) !important;
    box-shadow: inset 0 0 0 1px var(--star-accent);
}

.star-article-head h1 {
    margin: 0 0 .85rem;
    font-size: 1.35rem;
}

.star-article-body {
    font-size: .95rem;
    line-height: 1.75;
    color: var(--star-text);
}

.star-article-body h3,
.star-article-body h4 {
    margin: 1.2rem 0 .5rem;
    font-size: 1.08rem;
}

.star-article-body p {
    margin: 0 0 .7rem;
}

.star-article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: .75rem 0 1rem;
    border-radius: 10px;
    border: 1px solid var(--star-line);
}

.star-page-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .9rem;
    margin: 0 0 .9rem;
}

.star-page-side h3 {
    margin: 0 0 .7rem;
    font-size: .95rem;
}

.star-page-side nav {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.star-page-side a {
    padding: .4rem .55rem;
    border-radius: 8px;
    color: var(--star-text);
    font-size: .86rem;
}

.star-page-side a:hover,
.star-page-side a.is-active {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

.star-fenlei-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .9rem;
    margin: 0 0 .9rem;
}

.star-fenlei-head h1 {
    margin: 0 0 .35rem;
    font-size: 1.35rem;
}

.star-fenlei-head p {
    margin: 0;
    color: var(--star-muted);
    font-size: .88rem;
}

.star-fenlei-cat .star-section-title {
    margin: 0 0 .7rem;
}

.star-fenlei-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .45rem;
    align-items: flex-start;
}

.star-fenlei-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .28rem;
}

.star-fenlei-cell > .star-chip {
    margin: 0;
}

.star-fenlei-subs {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.star-fenlei-subs a {
    padding: .12rem .5rem;
    border-radius: 999px;
    background: #eef3fb;
    color: var(--star-muted);
    font-size: .74rem;
}

.star-fenlei-subs a:hover {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

.star-about .star-article-head p {
    margin: .2rem 0 0;
    color: var(--star-muted);
    font-size: .88rem;
}

.star-tl {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0 0 0 1.15rem;
    position: relative;
}

.star-tl::before {
    content: "";
    position: absolute;
    left: 5px;
    top: .4rem;
    bottom: .4rem;
    width: 2px;
    background: var(--star-line);
}

.star-tl-year {
    margin: 1.15rem 0 .45rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--star-accent);
    position: relative;
}

.star-tl-year:first-child {
    margin-top: 0;
}

.star-tl-year::before,
.star-tl-item::before {
    content: "";
    position: absolute;
    left: -1.15rem;
    top: .42em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--star-accent);
    box-shadow: 0 0 0 3px #fff;
}

.star-tl-item {
    position: relative;
    margin: 0;
    padding: .38rem 0 .38rem .15rem;
    font-size: .9rem;
    line-height: 1.55;
    color: var(--star-text);
}

.star-tl-item::before {
    top: .72em;
    width: 8px;
    height: 8px;
    left: -1.1rem;
    background: #fff;
    border: 2px solid var(--star-accent);
    box-shadow: none;
}

.star-tl-date {
    display: inline-block;
    min-width: 4.6em;
    margin-right: .45rem;
    color: var(--star-muted);
    font-weight: 700;
    font-size: .82rem;
}

.star-help .star-article-head p {
    margin: .25rem 0 0;
    color: var(--star-muted);
    font-size: .88rem;
}

.star-faq {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .75rem;
    counter-reset: faq;
}

.star-faq li {
    position: relative;
    padding: .9rem 1rem .95rem 3.1rem;
    border: 1px solid var(--star-line);
    border-radius: 12px;
    background: #f7f9fd;
}

.star-faq li::before {
    content: counter(faq);
    counter-increment: faq;
    position: absolute;
    left: .85rem;
    top: .95rem;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: var(--star-accent);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-faq h2 {
    margin: 0 0 .35rem;
    font-size: .98rem;
    font-weight: 800;
}

.star-faq p {
    margin: 0;
    color: var(--star-muted);
    font-size: .88rem;
    line-height: 1.65;
}

.star-faq a {
    color: var(--star-accent);
}

.star-show-sec-title {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 .85rem;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--star-text);
}

.star-show-sec-ico {
    width: .28rem;
    height: 1rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #2f6bff, #6ea8ff);
    flex: 0 0 auto;
}

.star-show-sec-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    margin: 0 0 .55rem;
}

.star-show-sec-bar .star-show-sec-title {
    margin: 0;
}

.star-show-sec-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
}

body.yysdy-star8 ul.star-show-mini-tabs {
    margin: 0 0 .85rem;
    padding: 0;
    gap: .25rem;
}

.star-show-mini-tabs li {
    line-height: 1.8rem !important;
    font-size: .84rem !important;
    padding: 0 .65rem !important;
    border-radius: 999px;
    background: #f4f7fc;
}

.star-show-mini-tabs li.is-active {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

.star-show-mini-tabs li.is-active::before {
    display: none !important;
}

.star-grid-like {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.star-grid-like .star-site {
    min-height: 3.1rem;
    padding: .45rem .65rem;
    gap: .45rem;
}

.star-grid-like .star-site-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 6px;
}

.star-grid-like .star-site-icon img,
.star-grid-like .star-site .webicon-img {
    border-radius: 6px;
}

.yysdy-show-tabs .star-tabs-body {
    padding-top: .1rem;
}

@media (min-width: 768px) {
    .star-grid-like {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .star-grid-like .star-site {
        min-height: 3.35rem;
        padding: .5rem .7rem;
    }

    .star-grid-like .star-site-icon {
        width: 1.45rem;
        height: 1.45rem;
        border-radius: 7px;
    }

    .star-grid-like .star-site-name {
        font-size: .88rem;
    }

    .star-grid-like .star-site-desc {
        font-size: .74rem;
        -webkit-line-clamp: 2;
    }
}

.star-show-article-box {
    padding: 1rem 1.05rem;
    border-radius: 12px;
    background: #f5f7fb;
    border: 1px solid rgba(226, 232, 240, .9);
}

.star-show-article {
    color: #4b5563;
    font-size: .9rem;
    line-height: 1.8;
}

.star-show-article h1,
.star-show-article h2,
.star-show-article h3,
.star-show-article h4 {
    margin: 1rem 0 .55rem;
    color: var(--star-text);
    font-weight: 800;
}

.star-show-article h3 {
    font-size: 1rem;
}

.star-show-article p {
    margin: 0 0 .75rem;
}

.star-show-article ol,
.star-show-article ul {
    margin: 0 0 .75rem;
    padding-left: 1.2rem;
}

.star-show-article li + li {
    margin-top: .45rem;
}

.star-show-article a {
    color: var(--star-accent);
}

.star-show-article strong,
.star-show-article b {
    color: var(--star-text);
}

.star-show-note {
    padding: .95rem 1.1rem;
}

.star-show-note p {
    margin: 0;
    color: var(--star-muted);
    font-size: .82rem;
    line-height: 1.7;
}

.star-show-note a {
    color: var(--star-accent);
    word-break: break-all;
}

.star-show-time {
    font-size: .78rem;
    color: var(--star-muted);
}

.star-text {
    margin: 0 0 .35rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--star-text);
}

.star-text-sm {
    font-size: .82rem;
    font-weight: 400;
    color: var(--star-muted);
}

.star-link-accent {
    color: var(--star-accent);
}

.star-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem;
    margin: 1rem 0 .9rem;
    font-size: .8rem;
    color: var(--star-muted);
}

.star-breadcrumb a:hover {
    color: var(--star-accent);
}

.star-breadcrumb cite {
    font-style: normal;
    color: var(--star-text);
}

.star-bc-sep {
    color: #c5ccd8;
}

.star-side-card {
    border-radius: 16px;
    border: 1px solid var(--star-line);
    box-shadow: var(--star-shadow-sm);
    background: var(--star-card);
    margin-bottom: .85rem;
    overflow: hidden;
}

.star-side-head {
    padding: .9rem .95rem .35rem;
}

.star-side-head h4 {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
}

.star-side-hot {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .25rem .55rem .7rem;
}

.star-side-hot-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .4rem;
    border-radius: 10px;
    color: var(--star-text);
    font-size: .86rem;
    font-weight: 600;
}

.star-side-hot-item:hover {
    background: #f4f7fc;
    color: var(--star-accent);
}

.star-side-hot-item img {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f6fb;
    flex: 0 0 auto;
}

.star-side-hot-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yysdy-cat-more {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: .55rem .95rem .95rem;
}

.yysdy-show-msgbox {
    padding: .2rem 0 0;
}

.star-show-side {
    position: sticky;
    top: calc(var(--star-topbar-h) + 12px);
}

.star-pages {
    text-align: center;
    padding: .75rem 0 .25rem;
}

/* CMS {$pages} 输出 Bootstrap 结构：ul.pagination > li.page-item > a.page-link */
body.yysdy-star8 .star-pages ul.pagination {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.yysdy-star8 .star-pages ul.pagination > li,
body.yysdy-star8 .star-pages ul.pagination > .page-item {
    display: inline-flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.star-pages a,
.star-pages span,
.star-pages .pagination a,
.star-pages .pagination span,
.star-pages .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0 .65rem;
    border-radius: 8px;
    background: #f4f7fc;
    color: var(--star-muted);
    font-size: .82rem;
    line-height: 1;
    text-decoration: none;
}

.star-pages a:hover,
.star-pages .page-link:hover {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

.star-pages .active > a,
.star-pages .active > span,
.star-pages .page-item.active .page-link,
.star-pages strong,
.star-pages .pagination > .active > a,
.star-pages .pagination > .active > span {
    background: var(--star-accent-soft);
    color: var(--star-accent);
    font-weight: 700;
}

.star-pages .disabled > a,
.star-pages .disabled > span,
.star-pages .page-item.disabled .page-link {
    background: #f4f7fc;
    color: var(--star-muted);
    cursor: default;
    opacity: .85;
}

.star-quote {
    margin: .75rem 0;
    padding: .85rem 1rem;
    border-left: 3px solid var(--star-accent);
    background: #f5f8ff;
    border-radius: 0 10px 10px 0;
    color: var(--star-muted);
    font-size: .86rem;
}

.star-quote a {
    color: var(--star-accent);
}

/* 友情链接 / 页脚 */
.yysdy-link-body {
    gap: .4rem;
}

.yysdy-link-body a {
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #f4f7fc;
    color: var(--star-muted);
    font-size: .8rem;
}

.star-foot {
    padding: 1.5rem 0 .35rem;
}

.star-foot-inner {
    padding: 1.7rem 1.6rem 1.15rem;
    border-radius: 10px;
    background: var(--star-card);
    box-shadow: 0 0 20px -5px rgba(158, 158, 158, .2);
}

.star-foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
    gap: 1.4rem 2rem;
    margin: 0 0 1.1rem;
}

.star-foot-logo {
    display: inline-block;
    margin: 0 0 1rem;
}

.star-foot-logo img {
    display: block;
    height: 40px;
    width: auto;
}

.star-foot-about p {
    margin: 0;
    color: var(--star-muted);
    font-size: .82rem;
    line-height: 1.75;
}

.star-foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 2.4rem;
}

.star-foot-col {
    min-width: 5.5rem;
}

.star-foot-title {
    margin: 0 0 .55rem;
    color: var(--star-text);
    font-size: .9rem;
    font-weight: 700;
}

.star-foot-col a {
    display: block;
    color: var(--star-muted);
    font-size: .75rem;
    line-height: 1.95;
}

.star-foot-col a:hover,
.star-foot-copy a:hover {
    color: var(--star-accent);
}

.star-foot-copy {
    color: var(--star-muted);
    font-size: .75rem;
    line-height: 1.6;
}

.star-foot-copy a {
    color: var(--star-muted);
}

.yysdy-footer,
.yysdy-footer-m {
    color: var(--star-muted);
    font-size: .78rem;
    padding: .4rem 0 1.2rem;
    text-align: center;
}

.yysdy-footer a,
.yysdy-footer-m a {
    color: var(--star-muted);
}

/* 回到顶部 */
.star-backtop,
.yysdy-backtop {
    position: fixed;
    right: 1.2rem;
    bottom: 1.4rem;
    z-index: 1100;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid var(--star-line);
    border-radius: 999px;
    background: var(--star-card);
    color: var(--star-text);
    box-shadow: var(--star-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(.35rem);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease, color .2s ease;
}

.star-backtop.is-show,
.yysdy-backtop.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.star-backtop:hover,
.yysdy-backtop:hover {
    background: var(--star-accent);
    border-color: var(--star-accent);
    color: #fff;
}

/* Toast */
.star-toast {
    position: fixed;
    left: 50%;
    top: 18%;
    z-index: 2000;
    transform: translate(-50%, -8px);
    padding: .65rem 1.1rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, .88);
    color: #fff;
    font-size: .88rem;
    box-shadow: var(--star-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.star-toast.is-show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* 暗黑 */
body.yysdy-star8.dark-mode,
html.dark-mode body.yysdy-star8 {
    --star-bg: #12151c;
    --star-card: #1b2030;
    --star-text: #e8eaed;
    --star-muted: #9aa3b2;
    --star-line: #2a3142;
    --star-shadow: 0 8px 28px rgba(0, 0, 0, .35);
    --star-shadow-sm: 0 2px 10px rgba(0, 0, 0, .25);
    background:
        radial-gradient(circle at 18% 12%, rgba(47, 107, 255, .18) 0 1px, transparent 1.6px) 0 0 / 24px 24px,
        linear-gradient(180deg, #171d2b 0%, var(--star-bg) 240px, var(--star-bg) 100%);
}

body.yysdy-star8.dark-mode .star-topbar,
body.yysdy-star8.dark-mode .star-drawer,
body.yysdy-star8.dark-mode .star-search .search-shell,
body.yysdy-star8.dark-mode .star-user-drop {
    background: rgba(27, 32, 48, .94);
}

body.yysdy-star8.dark-mode .star-foot-inner {
    box-shadow: 0 0 20px -5px rgba(0, 0, 0, .45);
}

body.yysdy-star8.dark-mode .star-drawer-sub a,
body.yysdy-star8.dark-mode .small a,
body.yysdy-star8.dark-mode .item-box-child .star-chip,
body.yysdy-star8.dark-mode .yysdy-cat-more .star-chip,
body.yysdy-star8.dark-mode .yysdy-link-body a,
body.yysdy-star8.dark-mode .star-fenlei-subs a {
    background: #242b3d;
}

body.yysdy-star8.dark-mode .star-tl-year::before,
body.yysdy-star8.dark-mode .star-tl-item::before {
    box-shadow: 0 0 0 3px #1b2030;
}

body.yysdy-star8.dark-mode .star-tl-item::before {
    background: #1b2030;
    box-shadow: none;
}

body.yysdy-star8.dark-mode .star-faq li {
    background: #222836;
    border-color: #2e364c;
}

body.yysdy-star8.dark-mode .star-site {
    background: #222836;
}

body.yysdy-star8.dark-mode .star-site:hover {
    background: #2a3142;
}

body.yysdy-star8.dark-mode .star-site-icon,
body.yysdy-star8.dark-mode .star-site-more::before {
    background: #1b2030;
}

body.yysdy-star8.dark-mode .star-quote {
    background: #222836;
}

/* 响应式列数 */
@media (min-width: 576px) {
    .star-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .star-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .65rem;
    }

    .star-page-wrap {
        grid-template-columns: minmax(0, 1fr) 220px;
        align-items: start;
    }

    .star-fenlei-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .star-fenlei-head {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .star-top-nav {
        display: flex;
    }

    .star-top-board {
        display: none;
    }

    /* 桌面汉堡用于收起/展开左侧栏（对齐 star8 mini-button） */
    .star-menu-btn {
        display: inline-flex;
    }

    .star-drawer {
        top: calc(var(--star-topbar-h) + 10px);
        left: var(--star-sidebar-inset);
        width: var(--star-sidebar-panel);
        height: calc(100% - var(--star-topbar-h) - 20px);
        padding: .45rem .4rem .7rem;
        transform: none;
        pointer-events: auto;
        box-shadow: var(--star-shadow);
        border-right: 0;
        border-radius: 16px;
        z-index: 1001;
        background: var(--star-card);
        overflow: hidden;
    }

    .star-drawer-mask {
        display: none !important;
    }

    .star-drawer-head {
        display: none;
    }

    .star-drawer-toggle,
    .star-drawer-sub {
        display: none !important;
    }

    .star-drawer-nav {
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #star-search,
    [id^="star-cat-"] {
        scroll-margin-top: calc(var(--star-topbar-h) + 12px);
    }

    .star-topbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        transition: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--star-card);
    }

    body.yysdy-star8 {
        padding-top: var(--star-topbar-h);
    }

    .star-main {
        margin-left: var(--star-sidebar-w);
        width: calc(100% - var(--star-sidebar-w));
    }

    body.yysdy-star8.star-sidebar-off {
        --star-sidebar-w: 0px;
    }

    body.yysdy-star8.star-sidebar-off .star-drawer {
        transform: translateX(calc(-100% - 24px));
        pointer-events: none;
    }

    .star-hero {
        padding: 2.8rem 1.4rem 2.2rem;
        min-height: 270px;
    }

    .star-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    body.yysdy-star8.dark-mode .star-drawer {
        background: #2c2e2f;
    }

    body.yysdy-star8.dark-mode .star-nav-pop {
        background: #2c2e2f;
        border-color: #3a3d40;
    }
}

@media (min-width: 1200px) {
    .star-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .star-show-layout {
        display: block;
    }

    .star-show-side {
        position: static;
        margin-top: .75rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --star-gutter: 8px;
    }

    .star-hide-m {
        display: none !important;
    }

    .star-hide-pc {
        display: block;
    }

    .star-show-card {
        padding: .85rem .7rem 1rem;
        border-radius: 14px;
    }

    .star-show-info {
        padding: 0;
    }

    .star-show-cover-visual {
        max-height: 200px;
    }

    .star-show-profile {
        padding: .9rem .85rem .25rem;
        gap: .75rem;
    }

    .star-show-icon,
    .yysdy-show-icon {
        width: 3.1rem;
        height: 3.1rem;
        border-radius: 12px;
    }

    .star-show-title {
        font-size: 1.2rem;
    }

    .star-show-tags,
    .star-show-actions {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .star-show-sec-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .star-grid-like {
        grid-template-columns: 1fr;
    }

    .star-hero {
        margin-top: .35rem;
        padding: 1.4rem .65rem 1.15rem;
        min-height: 180px;
        border-radius: 14px;
    }

    .star-input,
    .star-search .search-shell #search,
    .star-search-btn,
    .hao-search-btn {
        height: 44px;
    }

    .star-brand-name {
        font-size: .95rem;
    }

    .star-panel,
    .yysdy-card {
        padding: .8rem .6rem .9rem;
        border-radius: 12px;
    }

    .star-site {
        min-height: 3.5rem;
        padding: .5rem .5rem;
        gap: .5rem;
    }

    .star-site-icon,
    .star-site-more::before {
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 7px;
    }

    .star-site-name {
        font-size: .8rem;
    }

    .star-site-desc {
        font-size: .7rem;
    }

    .star-tabs-header li.star-tabs-title {
        position: sticky;
        left: 0;
        z-index: 2;
        background: var(--star-card);
        padding-right: .5rem;
    }

    .star-foot-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .star-foot-links {
        justify-content: center;
        text-align: left;
    }

    .star-foot-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .yysdy-footer .flex {
        display: block;
    }

    .yysdy-w-50 {
        width: 100%;
        text-align: center;
    }
}

/* ===== 留言页布局 ===== */
.star-liuyan {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .85rem;
    margin: 0 0 .9rem;
}

.star-liuyan-main.star-panel {
    margin: 0;
}

.star-liuyan-lead {
    margin: -.35rem 0 1rem;
    color: var(--star-muted);
    font-size: .9rem;
    line-height: 1.6;
}

.star-liuyan-board {
    min-height: 4rem;
}

.star-liuyan-side {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.star-liuyan-card {
    margin: 0;
    padding: .95rem 1rem;
}

.star-liuyan-card-title {
    margin: 0 0 .65rem;
    font-size: .95rem;
    font-weight: 700;
    color: var(--star-text);
}

.star-liuyan-list {
    margin: 0;
    padding: 0 0 0 1.1rem;
    color: var(--star-muted);
    font-size: .86rem;
    line-height: 1.7;
}

.star-liuyan-list li + li {
    margin-top: .35rem;
}

.star-liuyan-list strong {
    color: var(--star-text);
    font-weight: 600;
}

.star-liuyan-text {
    margin: 0;
    color: var(--star-muted);
    font-size: .86rem;
    line-height: 1.7;
}

.star-liuyan-text a {
    color: var(--star-accent);
    font-weight: 600;
}

.star-liuyan-text a:hover {
    text-decoration: underline;
}

@media (min-width: 992px) {
    .star-liuyan {
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: start;
        gap: 1rem;
    }

    .star-liuyan-side {
        position: sticky;
        top: calc(var(--star-topbar-h) + 12px);
    }
}

/* ===== CMS 评论组件（#ds-reset）对齐 star8 ===== */
body.yysdy-star8 #ds-reset {
    font-family: var(--star-font);
    font-size: .9rem;
    color: var(--star-text);
    line-height: 1.55;
}

body.yysdy-star8 #ds-reset ul,
body.yysdy-star8 #ds-reset ol,
body.yysdy-star8 #ds-reset ul li,
body.yysdy-star8 #ds-reset ol li {
    list-style: none;
    margin: 0;
    padding: 0;
    background: none;
}

body.yysdy-star8 #ds-reset a {
    color: var(--star-muted);
    text-decoration: none;
    background: transparent;
}

body.yysdy-star8 #ds-reset a:hover {
    color: var(--star-accent);
}

body.yysdy-star8 #ds-reset .ds_form_post,
body.yysdy-star8 .ds_form_post {
    margin: 0;
    padding: .85rem .9rem .75rem;
    border: 1px solid var(--star-line);
    border-radius: 14px;
    background: #f7f9fc;
    box-shadow: none;
}

body.yysdy-star8 #ds-reset .ds-replybox {
    margin: 0 0 1rem;
    padding: 0 0 0 3.4rem;
    position: relative;
}

body.yysdy-star8 #ds-reset .ds-replybox .ds-avatar {
    position: absolute;
    top: .15rem;
    left: 0;
    float: none;
    background: transparent;
    border-radius: 50%;
}

body.yysdy-star8 #ds-reset .ds-avatar img {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    object-fit: cover;
    background: #eef1f6;
    box-shadow: inset 0 0 0 1px rgba(230, 235, 243, .95);
    transition: none;
}

body.yysdy-star8 #ds-reset .ds-avatar img:hover {
    transform: none;
}

body.yysdy-star8 #ds-reset .ds-replybox .ds-avatar img {
    width: 2.75rem;
    height: 2.75rem;
}

body.yysdy-star8 #ds-reset .ds-textarea-wrapper {
    margin: 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    border: 1px solid var(--star-line);
    border-bottom: 0;
    background: #fff;
}

body.yysdy-star8 #ds-reset .ds-textarea-wrapper textarea {
    display: block;
    width: 100%;
    min-height: 88px;
    height: auto !important;
    margin: 0;
    padding: .85rem 1rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--star-text) !important;
    font: inherit;
    line-height: 1.55;
    resize: vertical;
    box-shadow: none !important;
}

body.yysdy-star8 #ds-reset .ds-textarea-wrapper textarea::placeholder {
    color: #a0a8b8;
}

body.yysdy-star8 #ds-reset .ds-post-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    position: relative;
    height: auto !important;
    min-height: 3.1rem;
    padding: .6rem .85rem .65rem;
    border: 1px solid var(--star-line);
    border-radius: 0 0 12px 12px;
    background: #fff !important;
    box-shadow: none;
    overflow: visible;
}

body.yysdy-star8 #ds-reset .ds-toolbar-buttons {
    position: static;
    order: 1;
    display: inline-flex;
    align-items: center;
}

body.yysdy-star8 #ds-reset .ds-post-options {
    position: static;
    order: 2;
    flex: 1;
    margin: 0;
    height: auto;
    min-height: 0;
}

body.yysdy-star8 #ds-reset .ds-post-button {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    order: 3;
    flex: 0 0 auto;
    margin: 0;
    min-width: 4.75rem;
    height: 2.25rem;
    padding: 0 1.25rem !important;
    border: 0;
    border-radius: 999px !important;
    background: var(--star-text) !important;
    color: #fff !important;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
}

body.yysdy-star8 #ds-reset .ds-post-button:hover {
    background: #111827 !important;
}

body.yysdy-star8 #ds-reset .ds-comments-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .55rem .75rem;
    margin: 0 0 .85rem;
    padding: .15rem 0 .7rem;
    border-bottom: 1px solid var(--star-line);
}

body.yysdy-star8 #ds-reset .ds-comment-count,
body.yysdy-star8 #ds-reset .ds-comment-count a {
    color: var(--star-muted);
    font-size: .86rem;
}

body.yysdy-star8 #ds-reset .ds-comment-count .ds-highlight {
    color: var(--star-accent);
    font-weight: 700;
    font-size: 1rem;
    margin-right: .15rem;
}

body.yysdy-star8 #ds-reset .ds-sort {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .3rem;
}

body.yysdy-star8 #ds-reset .ds-sort a {
    display: inline-flex;
    align-items: center;
    height: 1.75rem;
    padding: 0 .7rem;
    border-radius: 999px;
    background: #f4f7fc;
    color: var(--star-muted);
    font-size: .8rem;
}

body.yysdy-star8 #ds-reset .ds-sort a.ds-current,
body.yysdy-star8 #ds-reset .ds-sort a:hover {
    background: var(--star-accent-soft);
    color: var(--star-accent);
    font-weight: 600;
}

body.yysdy-star8 #ds-reset .ds-comments {
    margin: 0;
    padding: 0;
}

body.yysdy-star8 #ds-reset .ds-post {
    margin: 0;
    padding: 0;
    border: 0;
}

body.yysdy-star8 #ds-reset .ds-post-self {
    display: flex;
    gap: .75rem;
    padding: .95rem 0;
    border-bottom: 1px solid var(--star-line);
}

body.yysdy-star8 #ds-reset .ds-comments > .ds-post:last-child .ds-post-self,
body.yysdy-star8 #ds-reset .ds-comments > ul.ds-children:last-child .ds-post:last-child .ds-post-self {
    border-bottom: 0;
}

body.yysdy-star8 #ds-reset .ds-post-self > .ds-avatar {
    position: static;
    float: none;
    flex: 0 0 auto;
    background: transparent;
}

body.yysdy-star8 #ds-reset .ds-comment-body {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    padding: 0 !important;
}

body.yysdy-star8 #ds-reset .ds-comment-header {
    margin: 0 0 .35rem;
}

body.yysdy-star8 #ds-reset .ds-user-name,
body.yysdy-star8 #ds-reset .ds-highlight {
    color: var(--star-text) !important;
    font-weight: 700;
    font-size: .9rem;
}

body.yysdy-star8 #ds-reset .ds-comment-body > p {
    margin: 0 0 .55rem;
    color: var(--star-text);
    font-size: .9rem;
    line-height: 1.65;
    word-break: break-word;
}

body.yysdy-star8 #ds-reset .ds-comment-footer,
body.yysdy-star8 #ds-reset .ds-comment-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .7rem;
    color: var(--star-muted);
    font-size: .78rem;
}

body.yysdy-star8 #ds-reset .ds-comment-footer a {
    color: var(--star-muted);
}

body.yysdy-star8 #ds-reset .ds-comment-footer a:hover {
    color: var(--star-accent);
}

body.yysdy-star8 #ds-reset .ds-time {
    color: #a0a8b8;
}

body.yysdy-star8 #ds-reset .ds-children {
    margin: 0 0 .35rem 3.35rem;
    padding: .2rem 0 .2rem .85rem;
    border-left: 2px solid var(--star-line);
}

body.yysdy-star8 #ds-reset .ds-children .ds-post-self {
    padding: .7rem 0;
}

body.yysdy-star8 #ds-reset .ds-children .ds-avatar img {
    width: 2rem;
    height: 2rem;
}

body.yysdy-star8 #ds-reset .ds-inline-replybox {
    margin-top: .65rem;
    padding-left: 2.6rem;
}

body.yysdy-star8 #ds-reset .ds-paginator {
    margin-top: .85rem;
    text-align: center;
}

body.yysdy-star8 #ds-reset .ds-paginator .ds-border {
    display: none;
}

body.yysdy-star8 #ds-reset .ds-paginator .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.yysdy-star8 #ds-reset .ds-paginator .pagination > li {
    display: inline-flex;
}

body.yysdy-star8 #ds-reset .ds-paginator .page-link,
body.yysdy-star8 #ds-reset .ds-paginator a,
body.yysdy-star8 #ds-reset .ds-paginator span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 .65rem;
    border-radius: 8px;
    background: #f4f7fc;
    color: var(--star-muted);
    font-size: .82rem;
}

body.yysdy-star8 #ds-reset .ds-paginator .active > a,
body.yysdy-star8 #ds-reset .ds-paginator .active > span,
body.yysdy-star8 #ds-reset .ds-paginator .page-item.active .page-link {
    background: var(--star-accent-soft);
    color: var(--star-accent);
    font-weight: 700;
}

body.yysdy-star8 #ds-smilies-tooltip {
    border: 1px solid var(--star-line) !important;
    border-radius: 12px !important;
    box-shadow: var(--star-shadow) !important;
    overflow: hidden;
    background: #fff !important;
}

body.yysdy-star8.dark-mode .star-liuyan-card,
body.yysdy-star8.dark-mode #ds-reset .ds_form_post,
body.yysdy-star8.dark-mode .ds_form_post {
    background: #222836;
    border-color: #3a3d40;
}

body.yysdy-star8.dark-mode #ds-reset .ds-textarea-wrapper,
body.yysdy-star8.dark-mode #ds-reset .ds-post-toolbar {
    background: #1b2030 !important;
    border-color: #3a3d40;
}

body.yysdy-star8.dark-mode #ds-reset .ds-textarea-wrapper textarea {
    background: #1b2030 !important;
    color: #e8ecf4 !important;
}

body.yysdy-star8.dark-mode #ds-reset .ds-sort a {
    background: #242b3d;
}

body.yysdy-star8.dark-mode #ds-reset .ds-post-self,
body.yysdy-star8.dark-mode #ds-reset .ds-comments-info,
body.yysdy-star8.dark-mode #ds-reset .ds-children {
    border-color: #3a3d40;
}

body.yysdy-star8.dark-mode #ds-reset .ds-paginator .page-link,
body.yysdy-star8.dark-mode #ds-reset .ds-paginator a,
body.yysdy-star8.dark-mode #ds-reset .ds-paginator span {
    background: #242b3d;
}

/* ===== 登录 / 注册（对齐 star8.cn/login） ===== */
body.yysdy-star8.star-auth {
    min-height: 100vh;
    background: linear-gradient(45deg, #00223e, #026292);
    color: #282a2d;
}

body.yysdy-star8.star-auth.dark-mode {
    background: linear-gradient(45deg, #001526, #01466a);
}

.star-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px 20px;
}

.star-auth-holder {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 420px);
    align-items: stretch;
    filter: drop-shadow(0 16px 48px rgba(0, 0, 0, .22));
}

.star-auth-hero {
    display: none;
    background: #01385a center / cover no-repeat;
    border-radius: 12px 0 0 12px;
    min-height: 460px;
    position: relative;
    overflow: hidden;
}

.star-auth-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 20, 40, .15), rgba(0, 20, 40, .45));
}

.star-auth-hero-copy {
    position: relative;
    z-index: 1;
    padding: 48px 40px;
    color: #fff;
}

.star-auth-hero-copy h1 {
    margin: 0 0 .4rem;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: .02em;
}

.star-auth-hero-copy p {
    margin: 0;
    font-size: .95rem;
    opacity: .88;
}

.star-auth-card {
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 12px;
    padding: 36px 28px 28px;
}

.star-auth-card-inner {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.star-auth-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1d21;
    margin: 0 0 1.4rem;
}

.star-auth-field {
    position: relative;
    margin: 0 0 1rem;
}

.star-auth-field input[type="text"],
.star-auth-field input[type="password"],
.star-auth-field input[type="email"],
.star-auth-field input[type="tel"] {
    width: 100%;
    height: 38px;
    padding: 6px 52px 6px 0;
    border: 0;
    border-bottom: 1px solid rgba(136, 136, 136, .28);
    border-radius: 0;
    background: transparent;
    color: #282a2d;
    outline: none;
}

.star-auth-field input:focus {
    border-bottom-color: #f1404b;
}

.star-auth-eye {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    color: #8a93a3;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 0;
}

.star-auth-code {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.star-auth-code input {
    flex: 1;
    padding-right: 0;
}

.star-auth-code .fc-code img,
.star-auth-code .fc-code {
    display: block;
    height: 35px;
    cursor: pointer;
}

.star-auth-code-btn {
    flex: 0 0 auto;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #f1404b;
    border-radius: 3px;
    background: #fff;
    color: #f1404b;
    cursor: pointer;
    white-space: nowrap;
    font-size: 12px;
}

.star-auth-check {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: .2rem 0 1.1rem;
    font-size: 13px;
    color: #4b5160;
    cursor: pointer;
    user-select: none;
}

.star-auth-check input {
    width: 16px;
    height: 16px;
    accent-color: #f1404b;
}

.star-auth-check a {
    color: #f1404b;
}

.star-auth-oauth {
    display: flex;
    gap: .6rem;
    margin: 0 0 1rem;
}

.star-auth-oauth:empty,
.star-auth-oauth:not(:has(a)) {
    display: none;
}

.star-auth-oauth img {
    width: 28px;
    height: 28px;
}

.star-auth-actions {
    display: flex;
    gap: 1rem;
    margin: 0 0 .9rem;
}

.star-auth-btn {
    flex: 1;
    height: 36px;
    line-height: 34px;
    text-align: center;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #f1404b;
}

.star-auth-btn-primary {
    background: #f1404b;
    color: #ffe7eb !important;
    box-shadow: 0 8px 18px rgba(241, 64, 75, .28);
    border-color: #f1404b;
}

.star-auth-btn-primary:hover {
    filter: brightness(.95);
}

.star-auth-btn-ghost {
    background: transparent;
    color: #f1404b !important;
}

.star-auth-extra {
    margin: 0;
    font-size: 12px;
    color: #8a93a3;
}

.star-auth-extra a {
    color: #f1404b;
}

.star-auth-copy {
    margin: 28px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .72);
    text-align: center;
}

.star-auth-copy a {
    color: inherit;
    margin-left: .4rem;
}

.star-layer-mask {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.star-layer {
    width: min(70vw, 720px);
    height: min(70vh, 560px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .25);
}

.star-layer-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--star-line);
    font-weight: 600;
}

.star-layer-hd button {
    border: 0;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #8a93a3;
}

.star-layer-bd {
    flex: 1;
    min-height: 0;
}

.star-layer-bd iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 768px) {
    .star-auth-hero {
        display: block;
    }

    .star-auth-card {
        border-radius: 0 12px 12px 0;
        padding: 48px 40px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    .star-auth-holder {
        grid-template-columns: 1fr;
        max-width: 440px;
    }

    body.yysdy-star8 #ds-reset .ds-replybox {
        padding-left: 0;
    }

    body.yysdy-star8 #ds-reset .ds-replybox .ds-avatar {
        position: static;
        margin: 0 0 .55rem;
    }

    body.yysdy-star8 #ds-reset .ds-children {
        margin-left: .4rem;
        padding-left: .65rem;
    }

    body.yysdy-star8 #ds-reset .ds-post-self {
        gap: .55rem;
    }
}

/* ===== 用户中心（对齐 star8 /user/settings） ===== */
body.star-member .star-member-layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 1.15rem;
    margin: 0;
    padding: .55rem 0 1.4rem;
    align-items: start;
}

body.star-member .star-main {
    padding-top: 0;
}

body.star-member .page-container,
body.star-member .page-content-wrapper,
body.star-member .page-content,
body.star-member .container-fluid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.star-member-nav-toggle {
    display: none;
}

.star-member-side {
    background: var(--star-card);
    border: 1px solid var(--star-line);
    border-radius: var(--star-radius-sm);
    box-shadow: var(--star-shadow-sm);
    padding: 1.1rem .8rem 1rem;
    position: sticky;
    top: calc(var(--star-topbar-h) + 12px);
}

.star-member-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .4rem;
    padding: .15rem .35rem .95rem;
    border-bottom: 1px solid var(--star-line);
    margin-bottom: .65rem;
    color: inherit;
}

.star-member-profile:hover strong {
    color: var(--star-accent);
}

.star-member-profile img {
    width: 4.35rem;
    height: 4.35rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 8px 22px rgba(47, 107, 255, .18);
}

.star-member-profile strong {
    display: block;
    font-size: .98rem;
    transition: color .15s ease;
}

.star-member-profile span {
    color: var(--star-muted);
    font-size: .74rem;
}

.star-member-nav a,
.star-member-group-title {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .7rem;
    border-radius: 8px;
    font-size: .86rem;
    color: var(--star-text);
    transition: background .15s ease, color .15s ease;
}

.star-member-group {
    margin-top: .55rem;
}

.star-member-group-title {
    color: var(--star-muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .45rem .7rem .2rem;
}

.star-member-nav a i,
.star-member-group-title i {
    width: 1.15rem;
    text-align: center;
    color: #9aa3b5;
    font-size: .92rem;
}

.star-member-nav a:hover {
    background: rgba(47, 107, 255, .07);
    color: var(--star-accent);
}

.star-member-nav a:hover i {
    color: var(--star-accent);
}

.star-member-nav a.is-active {
    background: var(--star-accent-soft);
    color: var(--star-accent);
    font-weight: 800;
    box-shadow: inset 3px 0 0 var(--star-accent);
}

.star-member-nav a.is-active i {
    color: var(--star-accent);
}

.star-member-logout {
    display: block;
    margin-top: .9rem;
    padding: .55rem .65rem;
    text-align: center;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 650;
    color: var(--star-danger);
    background: rgba(255, 77, 79, .08);
    transition: background .15s ease;
}

.star-member-logout:hover {
    background: rgba(255, 77, 79, .14);
}

.star-member-main {
    min-width: 0;
}

.star-member-head {
    margin: 0 0 1.05rem;
}

.star-member-head h2 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    font-size: 1.12rem;
    font-weight: 750;
    letter-spacing: -.01em;
}

.star-member-head h2::before,
body.star-member .caption-subject::before {
    content: "";
    width: 3px;
    height: .95em;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--star-accent), #6b9bff);
    flex-shrink: 0;
}

.star-member-head p {
    margin: .42rem 0 0 calc(3px + .55rem);
    color: var(--star-muted);
    font-size: .82rem;
    line-height: 1.45;
}

.star-member-userbar {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 0 0 1.15rem;
    padding: .95rem 1rem;
    border-radius: var(--star-radius-sm);
    background: linear-gradient(135deg, rgba(47, 107, 255, .08), rgba(47, 107, 255, .02));
    border: 1px solid rgba(47, 107, 255, .12);
}

.star-member-userbar img {
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(47, 107, 255, .15);
}

.star-member-userbar strong {
    display: block;
    font-size: .95rem;
}

.star-member-userbar span {
    color: var(--star-muted);
    font-size: .78rem;
}

.star-member-userbar .btn {
    margin-left: auto;
}

.star-member-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.star-member-shortcuts a {
    display: flex;
    flex-direction: column;
    gap: .22rem;
    padding: 1rem 1rem .95rem;
    border-radius: var(--star-radius-sm);
    background: #f8faff;
    border: 1px solid var(--star-line);
    color: var(--star-text);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
}

.star-member-shortcuts a:hover {
    border-color: rgba(47, 107, 255, .35);
    background: #fff;
    box-shadow: 0 8px 20px rgba(47, 107, 255, .1);
    transform: translateY(-1px);
    color: var(--star-text);
}

.star-member-shortcuts i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: .2rem;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--star-accent);
    background: var(--star-accent-soft);
}

.star-member-shortcuts span {
    font-weight: 750;
    font-size: .9rem;
}

.star-member-shortcuts em {
    font-style: normal;
    font-size: .75rem;
    color: var(--star-muted);
    line-height: 1.4;
}

.star-member-card {
    padding: 1.2rem 1.25rem 1.35rem;
}

.star-member-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--star-line);
    border-radius: 10px;
    background: #fafbfd;
}

.star-member-table,
body.star-member table.table {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem;
    margin: 0;
}

.star-member-table th,
.star-member-table td,
body.star-member table.table th,
body.star-member table.table td {
    padding: .78rem .85rem;
    text-align: left;
    border-bottom: 1px solid var(--star-line);
    vertical-align: middle;
    color: var(--star-text);
}

.star-member-table tr:last-child td,
body.star-member table.table tr:last-child td {
    border-bottom: 0;
}

.star-member-table tbody tr:hover td,
body.star-member table.table tbody tr:hover td {
    background: rgba(47, 107, 255, .04);
}

.star-member-table th,
body.star-member table.table th {
    color: #6b7385;
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .02em;
    background: #f1f4fa;
    border-bottom-color: #e2e8f2;
}

.star-member-dot {
    display: inline-block;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: #c8d0de;
    margin-right: .45rem;
    vertical-align: .08rem;
    box-shadow: 0 0 0 3px rgba(200, 208, 222, .25);
}

.star-member-dot.is-on {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}

body.star-member .page-bar,
body.star-member .page-breadcrumb {
    display: none !important;
}

body.star-member .row {
    display: block;
    margin: 0;
}

body.star-member [class*="col-md-"],
body.star-member [class*="col-sm-"],
body.star-member [class*="col-xs-"] {
    width: 100%;
    float: none;
    padding: 0;
}

body.star-member .portlet,
body.star-member .portlet.light,
body.star-member .star-panel.star-member-card {
    background: var(--star-card);
    border: 1px solid var(--star-line);
    border-radius: var(--star-radius-sm);
    box-shadow: var(--star-shadow-sm);
    margin: 0 0 1rem;
    padding: 0;
}

body.star-member .star-panel.star-member-card {
    padding: 1.2rem 1.25rem 1.35rem;
}

body.star-member .portlet-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .55rem;
    padding: 1.05rem 1.2rem .55rem;
    border: 0;
    min-height: 0;
}

body.star-member .portlet-title.tabbable-line {
    border-bottom: 1px solid var(--star-line);
    margin-bottom: 0;
    padding-bottom: .85rem;
}

body.star-member .caption {
    display: flex;
    align-items: center;
}

body.star-member .caption-subject {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: 1.05rem;
    font-weight: 750;
}

body.star-member .portlet-body {
    padding: 1rem 1.2rem 1.3rem;
}

body.star-member .form-horizontal .form-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    margin: 0 0 1rem;
}

body.star-member .control-label {
    text-align: left !important;
    color: var(--star-text);
    font-size: .86rem;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

body.star-member .form-group > label {
    display: block;
    width: 100%;
    max-width: 36rem;
    font-weight: 400;
}

body.star-member .form-control,
body.star-member input.form-control,
body.star-member select.form-control,
body.star-member textarea.form-control,
body.star-member .form-group label > input,
body.star-member input[type="text"],
body.star-member input[type="password"],
body.star-member input[type="email"],
body.star-member input[type="tel"] {
    width: 100%;
    max-width: 36rem;
    height: 2.5rem;
    padding: .45rem .9rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f3f6fb;
    color: var(--star-text);
    box-shadow: none;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

body.star-member textarea.form-control {
    height: auto;
    min-height: 6.5rem;
}

body.star-member .form-control:focus,
body.star-member input:focus {
    outline: none;
    border-color: rgba(47, 107, 255, .45);
    background: #fff;
    box-shadow: 0 0 0 3px var(--star-accent-soft);
}

body.star-member .form-control-static {
    margin: 0;
    padding: .5rem .9rem;
    max-width: 36rem;
    border-radius: 8px;
    background: #f3f6fb;
    color: #5c6578;
}

body.star-member .help-block {
    display: block;
    margin: .3rem 0 0;
    color: var(--star-muted);
    font-size: .78rem;
}

body.star-member .input-group {
    display: flex;
    gap: .5rem;
    max-width: 36rem;
    width: 100%;
}

body.star-member .input-group .form-control {
    flex: 1;
    max-width: none;
}

body.star-member .form-actions {
    padding-top: .25rem;
}

body.star-member .form-actions .control-label {
    display: none;
}

body.star-member .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    min-height: 2.45rem;
    padding: 0 1.15rem;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 650;
    background: var(--star-accent);
    color: #fff;
    text-decoration: none;
    transition: background .15s ease, box-shadow .15s ease, transform .12s ease;
}

body.star-member .btn:hover {
    background: #2558e6;
    box-shadow: 0 6px 16px rgba(47, 107, 255, .22);
}

body.star-member .btn.blue,
body.star-member .btn-info,
body.star-member .btn-primary {
    background: var(--star-accent);
}

body.star-member .btn.red,
body.star-member .btn-danger {
    background: var(--star-danger);
}

body.star-member .btn.red:hover,
body.star-member .btn-danger:hover {
    background: #e03e40;
    box-shadow: 0 6px 16px rgba(255, 77, 79, .2);
}

body.star-member .btn.green,
body.star-member .btn-success {
    background: #16a34a;
}

body.star-member .btn.green:hover,
body.star-member .btn-success:hover {
    background: #15803d;
    box-shadow: 0 6px 16px rgba(22, 163, 74, .2);
}

body.star-member .btn-xs,
body.star-member .btn-sm {
    min-height: 1.9rem;
    height: auto;
    padding: 0 .75rem;
    font-size: .78rem;
    border-radius: 7px;
}

body.star-member .star-member-btn-ghost {
    background: #fff;
    color: var(--star-text);
    box-shadow: inset 0 0 0 1px var(--star-line);
}

body.star-member .star-member-btn-ghost:hover {
    background: #f7f9fc;
    color: var(--star-accent);
    box-shadow: inset 0 0 0 1px rgba(47, 107, 255, .35);
}

body.star-member .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
    float: none !important;
}

body.star-member .nav-tabs > li {
    float: none !important;
    margin: 0;
}

body.star-member .nav-tabs > li > a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .42rem .9rem;
    border-radius: 8px;
    background: #f2f5fb;
    color: #5b6476;
    font-size: .84rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

body.star-member .nav-tabs > li > a:hover {
    background: var(--star-accent-soft);
    color: var(--star-accent);
}

body.star-member .nav-tabs > li.active > a {
    background: var(--star-accent-soft);
    color: var(--star-accent);
    border-color: rgba(47, 107, 255, .22);
    box-shadow: inset 0 -2px 0 var(--star-accent);
}

body.star-member .feeds {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

body.star-member .feeds > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    padding: .85rem .95rem;
    border: 1px solid var(--star-line);
    border-radius: 10px;
    background: #fafbfd;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

body.star-member .feeds > li:hover {
    background: #fff;
    border-color: rgba(47, 107, 255, .28);
    box-shadow: 0 6px 16px rgba(31, 45, 80, .06);
}

body.star-member .feeds .col1 {
    flex: 1;
    min-width: 0;
}

body.star-member .feeds .col2 {
    flex-shrink: 0;
}

body.star-member .feeds .date {
    font-size: .74rem;
    color: var(--star-muted);
    white-space: nowrap;
    padding: .2rem .55rem;
    border-radius: 6px;
    background: #eef2f8;
}

body.star-member .feeds .cont,
body.star-member .feeds .col1 {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}

body.star-member .feeds .desc,
body.star-member .feeds .desc a {
    color: var(--star-text);
    font-size: .88rem;
    line-height: 1.45;
    word-break: break-word;
}

body.star-member .feeds .desc a:hover {
    color: var(--star-accent);
}

body.star-member .feeds .label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.7rem;
    height: 1.7rem;
    padding: 0 .35rem;
    border-radius: 8px;
    background: var(--star-accent-soft) !important;
    color: var(--star-accent) !important;
}

body.star-member .feeds .label-success {
    background: rgba(34, 197, 94, .12) !important;
    color: #15803d !important;
}

body.star-member .mt-commets-checkable,
body.star-member .mt-comments-checkable {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: .85rem;
    padding: .7rem .85rem;
    border-radius: 10px;
    background: #f3f6fb;
    border: 1px dashed #d7deea;
}

body.star-member .alert {
    padding: .8rem 1rem;
    border-radius: 10px;
    margin-bottom: .85rem;
    border: 1px solid transparent;
}

body.star-member .alert-success { background: #ecfdf3; color: #166534; border-color: #bbf7d0; }
body.star-member .alert-danger { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
body.star-member .alert-info { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }

body.star-member .pagination,
body.star-member .page,
body.star-member .fc-pages,
body.star-member .fc-pages ul.pagination,
body.star-member ul.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    margin: .9rem 0 0;
    padding: 0;
    list-style: none;
}

body.star-member .fc-pages > li,
body.star-member ul.pagination > li {
    display: inline-flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.star-member .fc-pages a,
body.star-member .fc-pages span,
body.star-member ul.pagination a,
body.star-member ul.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.05rem;
    height: 2.05rem;
    padding: 0 .65rem;
    border-radius: 8px;
    background: #eef2f8;
    border: 1px solid transparent;
    color: #6b7385;
    font-size: .82rem;
    line-height: 1;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

body.star-member .fc-pages a:hover,
body.star-member ul.pagination a:hover {
    background: var(--star-accent-soft);
    border-color: rgba(47, 107, 255, .2);
    color: var(--star-accent);
}

body.star-member .fc-pages .active > a,
body.star-member ul.pagination > .active > a {
    background: var(--star-accent);
    border-color: var(--star-accent);
    color: #fff;
    font-weight: 700;
}

body.star-member #clipArea {
    max-width: 100%;
}

body.star-member .text-right {
    text-align: left !important;
}

body.yysdy-star8.dark-mode.star-member .star-member-side,
body.yysdy-star8.dark-mode.star-member .star-member-hero,
body.yysdy-star8.dark-mode.star-member .portlet,
body.yysdy-star8.dark-mode.star-member .star-panel.star-member-card,
body.yysdy-star8.dark-mode.star-member .form-control,
body.yysdy-star8.dark-mode.star-member input,
body.yysdy-star8.dark-mode.star-member .form-control-static,
body.yysdy-star8.dark-mode.star-member .star-member-userbar,
body.yysdy-star8.dark-mode.star-member .star-member-shortcuts a,
body.yysdy-star8.dark-mode.star-member .star-member-side-body,
body.yysdy-star8.dark-mode.star-member .star-member-table-wrap,
body.yysdy-star8.dark-mode.star-member .feeds > li,
body.yysdy-star8.dark-mode.star-member .mt-commets-checkable,
body.yysdy-star8.dark-mode.star-member .nav-tabs > li > a,
body.yysdy-star8.dark-mode.star-member .fc-pages a,
body.yysdy-star8.dark-mode.star-member .fc-pages span {
    background: #1b2030;
    border-color: #3a3d40;
    color: #e8ecf4;
}

body.yysdy-star8.dark-mode.star-member .star-member-table th,
body.yysdy-star8.dark-mode.star-member table.table th {
    background: #232839;
    color: #aab3c5;
    border-bottom-color: #3a3d40;
}

body.yysdy-star8.dark-mode.star-member .star-member-table td,
body.yysdy-star8.dark-mode.star-member table.table td,
body.yysdy-star8.dark-mode.star-member .feeds .desc,
body.yysdy-star8.dark-mode.star-member .feeds .desc a {
    color: #e8ecf4;
    border-bottom-color: #3a3d40;
}

body.yysdy-star8.dark-mode.star-member .feeds .date {
    background: #232839;
    color: #aab3c5;
}

body.yysdy-star8.dark-mode.star-member .star-member-userbar {
    background: linear-gradient(135deg, rgba(47, 107, 255, .16), rgba(27, 32, 48, .9));
    border-color: rgba(47, 107, 255, .25);
}

body.yysdy-star8.dark-mode.star-member .star-member-shortcuts a {
    background: #222738;
}

body.yysdy-star8.dark-mode.star-member .star-member-shortcuts a:hover {
    background: #2a3145;
}

body.yysdy-star8.dark-mode.star-member .nav-tabs > li.active > a {
    background: rgba(47, 107, 255, .18);
    color: #8eb0ff;
    border-color: rgba(47, 107, 255, .35);
}

@media (max-width: 991.98px) {
    body.star-member.yysdy-star8 {
        padding-top: 0 !important;
    }

    body.star-member .star-main {
        padding-top: 0 !important;
        padding-bottom: .55rem;
    }

    body.star-member .star-member-layout {
        grid-template-columns: 1fr;
        margin: 0;
        padding: .8rem 0 .2rem;
        gap: .55rem;
    }

    body.star-member .star-foot {
        padding-top: .2rem;
        padding-bottom: 0;
    }

    body.star-member .star-foot-inner {
        padding: .95rem .85rem .8rem;
    }

    body.star-member .portlet,
    body.star-member .portlet.light,
    body.star-member .star-member-card {
        margin-bottom: .65rem;
    }

    body.star-member .portlet-title {
        padding: .8rem .85rem .1rem;
    }

    body.star-member .portlet-body {
        padding: .75rem .85rem .95rem;
    }

    .star-member-side {
        position: relative;
        top: auto;
        z-index: 8;
        padding: .4rem .65rem;
    }

    .star-member-nav-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        gap: .65rem;
        margin: 0;
        padding: .15rem .1rem;
        border: 0;
        background: transparent;
        color: inherit;
        cursor: pointer;
        text-align: left;
    }

    .star-member-nav-toggle img {
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
    }

    .star-member-nav-meta {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .08rem;
    }

    .star-member-nav-toggle strong {
        font-size: .9rem;
        line-height: 1.2;
    }

    .star-member-nav-toggle small {
        font-size: .72rem;
        font-weight: 700;
        color: var(--star-accent);
        line-height: 1.2;
    }

    .star-member-nav-toggle em {
        font-style: normal;
        font-size: .78rem;
        padding: .22rem .7rem;
        border-radius: 999px;
        background: var(--star-accent-soft);
        color: var(--star-accent);
        font-weight: 700;
        flex-shrink: 0;
    }

    .star-member-side.is-open .star-member-nav-toggle em {
        background: var(--star-accent);
        color: #fff;
    }

    .star-member-side-body {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + .4rem);
        z-index: 9;
        padding: .85rem .75rem 1rem;
        background: var(--star-card);
        border: 1px solid var(--star-line);
        border-radius: 10px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
        max-height: min(70vh, 28rem);
        overflow: auto;
    }

    .star-member-side.is-open .star-member-side-body {
        display: block;
    }

    .star-member-shortcuts {
        grid-template-columns: 1fr;
    }

    .star-member-userbar {
        flex-wrap: wrap;
    }

    .star-member-userbar .btn {
        margin-left: 0;
        width: 100%;
    }
}
