/* ===================== 全局基础样式 · 纯白极简大众官网风 ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}
body {
    background-color: #ffffff;
    color: #222222;
    line-height: 1.7;
}
/* 管理员深色界面 */
body.admin-on {
    background-color: #0f1420;
    color: #ccc;
}
body.admin-on .page-title, body.admin-on .news-item-title, body.admin-on .rank-title { color: #fff; }
body.admin-on .result-card, body.admin-on .forum-post { background: #1a1f2e; border-color: #2a3040; }
body.admin-on input, body.admin-on textarea { background: #0f1420; border-color: #333; color: #fff; }
body.admin-on .page-desc, body.admin-on .forum-post-meta, body.admin-on .news-item-meta { color: #8899aa; }
body.admin-on .forum-cat { border-color: #2a3a50; color: #8899aa; }
body.admin-on .forum-cat:hover { border-color: #2f6fbb; color: #7ab8ff; }
body.admin-on .forum-search-row input { background: #0f1420; border-color: #333; color: #fff; }
body.admin-on .hot-search-box, body.admin-on .news-section { background: transparent; }
body.admin-on .guess-search, body.admin-on .guess-label { color: #8899aa; }
body.admin-on .intro-card, body.admin-on .news-left, body.admin-on .news-right { background: #1a1f2e; border-color: #2a3040; }
body.admin-on .article-body, body.admin-on .about-text { color: #ccc; }
body.admin-on footer { background: #0a0e18; border-top-color: #1a2332; }
body.admin-on .save-tip { color: #555; }
a {
    text-decoration: none;
    color: #222;
}
/* ===================== 顶部导航栏 · 默认白色 ===================== */
header {
    width: 100%;
    height: 56px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 99;
    transition: 0.3s;
}
/* 管理员深色导航 */
body.admin-on header {
    background: rgba(15,20,32,0.95);
    border-bottom-color: #1a2332;
    backdrop-filter: blur(10px);
}
.logo-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #222;
    transition: 0.3s;
}
body.admin-on .logo-text { color: #fff; }
.nav-left { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 20px; }
.nav-left a {
    font-size: 13px;
    color: #666;
    transition: 0.2s ease;
    cursor: pointer;
}
.nav-left a:hover { color: #2f6fbb; }
body.admin-on .nav-left a { color: #8899aa; }
body.admin-on .nav-left a:hover { color: #fff; }
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
/* ===================== 右上角星频检测器 ===================== */
.freq-status {
    font-size: 12px;
    padding: 3px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #888;
    font-family: monospace;
    transition: all 0.4s ease;
}
body.admin-on .freq-status {
    border-color: #2a3a50;
    color: #6a8aaa;
}
    font-family: monospace;
    transition: all 0.4s ease;
}
/* 正常频率呼吸微动 */
@keyframes freqNormal {
    0% { opacity: 0.92; }
    50% { opacity: 1; }
    100% { opacity: 0.92; }
}
.freq-normal {
    animation: freqNormal 3s infinite ease-in-out;
}
.freq-error {
    color: #ff6b6b !important;
    border: 1px solid rgba(255, 107, 107, 0.5) !important;
}
/* ===================== 主容器 · 视觉居中标准排版 ===================== */
.container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 30px;
}
.page-title {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 12px;
    text-align: center;
}
.page-desc {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin-bottom: 40px;
}

/* 导航栏中间小监测仪 */
.nav-monitor {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 12px;
    color: #666;
}
.nav-monitor-num {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    transition: color 0.3s;
}
.nav-monitor-status {
    opacity: 0.7;
}
/* ===================== 开篇介绍区 · 简约普通网站风格（多条介绍栏框，运行时不可编辑） ===================== */
.intro-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
    letter-spacing: 1px;
}
.intro-para {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}
.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0 40px;
}
/* 银河色系渐变卡片 · 错落排版 */
.intro-card {
    border-radius: 10px;
    padding: 22px 20px;
    color: #e8ecf4;
    position: relative;
    overflow: hidden;
}
.intro-card:nth-child(1) {
    background: linear-gradient(135deg, #1a2a4a 0%, #2d4a7a 100%);
    margin-top: 0;
}
.intro-card:nth-child(2) {
    background: linear-gradient(135deg, #2a2a5a 0%, #3d3a7a 100%);
    margin-top: 28px;
}
.intro-card:nth-child(3) {
    background: linear-gradient(135deg, #1f3a5f 0%, #2d5a8a 100%);
    margin-top: 56px;
}
.intro-card .card-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.intro-card .card-text {
    font-size: 13px;
    color: #c8d0e0;
    line-height: 1.8;
}
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .intro-card:nth-child(1),
    .intro-card:nth-child(2),
    .intro-card:nth-child(3) {
        margin-top: 0;
    }
}
/* ===================== 过往记录区 · 与实时日志同格式 ===================== */
.log-heading {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 30px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.placeholder-item {
    color: #aaa;
}
/* ===================== 搜索框模块 ===================== */
.search-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}
#search-input {
    width: 600px;
    padding: 12px 16px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.3s;
}
#search-input:focus {
    outline: none;
    border-color: #2f6fbb;
}
#search-btn {
    padding: 12px 24px;
    background: #f7f9fc;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}
#search-btn:hover {
    background: #eef4fb;
}
/* ===================== 结果展示区 ===================== */
.result-card {
    width: 100%;
    min-height: 240px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 24px;
    background: #fff;
    font-size: 15px;
    color: #333;
    overflow: hidden;
    margin-top: 28px;
}
.result-img-wrap {
    width: calc(100% + 48px);
    margin: -24px -24px 0;
    max-height: 380px;
    overflow: hidden;
    position: relative;
}
.result-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
/* ===================== 结果图轮播 ===================== */
.result-slider {
    width: calc(100% + 48px);
    margin: -24px -24px 0;
    position: relative;
    overflow: hidden;
    background: #0a0e1a;
}
.result-slides {
    position: relative;
    width: 100%;
    height: 300px;
}
.result-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.result-slide.active {
    opacity: 1;
}
.result-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-hint {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 20px;
    color: rgba(255,255,255,0.3);
    pointer-events: none;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    line-height: 1;
}
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-btn:hover { background: rgba(0,0,0,0.6); }
.result-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}
.result-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
}
.result-dot.active {
    background: #fff;
}
.result-body {
    padding: 0;
    margin-top: 20px;
}
.result-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}
.result-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}
.result-section {
    margin-bottom: 16px;
}
.result-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #2f6fbb;
    margin-bottom: 6px;
}
.result-section-text {
    font-size: 14px;
    line-height: 1.9;
    color: #444;
    text-align: justify;
}
/* ===================== 页面切换隐藏逻辑 ===================== */
.page {
    display: none;
}
.page.active {
    display: block;
}
/* ===================== 关于我们 · 伪装企业页面 ===================== */
.about-text {
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}
.hint-line {
    color: #c0392b;
    font-size: 13px;
    margin-top: 18px;
    letter-spacing: 0.5px;
}
/* ===================== 频率日志页面 ===================== */
.log-item {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
}
.log-err {
    color: #666;
}
/* ===================== 存档提示条 ===================== */
.save-tip {
    font-size: 12px;
    color: #aaa;
    text-align: center;
    margin-top: 40px;
}
/* ===================== 热门星座快捷标签 · 增强查询站质感 ===================== */
.hot-tags {
    text-align: center;
    margin: -18px 0 28px;
}
.hot-tags-label {
    font-size: 12px;
    color: #999;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}
.hot-tags .tag {
    display: inline-block;
    font-size: 13px;
    color: #666;
    background: #f6f8fa;
    border: 1px solid #e5e8ec;
    border-radius: 999px;
    padding: 3px 12px;
    margin: 0 4px 6px;
    cursor: pointer;
    transition: 0.2s ease;
}
.hot-tags .tag:hover {
    color: #2f6fbb;
    border-color: #c9dcf1;
    background: #eef4fb;
}
/* ===================== 热搜榜 ===================== */
.hot-search-box {
    margin: 18px 0 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 14px 18px;
}
.hot-search-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.hot-search-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.hot-search-refresh {
    font-size: 12px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}
.hot-search-refresh:hover {
    color: #2f6fbb;
}
.hot-search-body {
    display: flex;
    gap: 30px;
}
.hot-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.hot-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}
.hot-item:hover .hot-word {
    color: #2f6fbb;
}
.hot-no {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 11px;
    color: #999;
    font-weight: 700;
    flex-shrink: 0;
}
.hot-no-1 { color: #ff4500; }
.hot-no-2 { color: #ff8c00; }
.hot-no-3 { color: #ffb800; }
.hot-word {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hot-tag {
    display: inline-block;
    font-size: 10px;
    padding: 0 4px;
    border-radius: 2px;
    margin-left: 4px;
    line-height: 15px;
    vertical-align: middle;
}
.hot-tag-hot {
    background: #ffe8e0;
    color: #ff4500;
}
.hot-tag-new {
    background: #e0f0ff;
    color: #2f6fbb;
}
/* ===================== 猜你想搜 ===================== */
.guess-search {
    margin: 12px 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.guess-label {
    color: #999;
    font-size: 13px;
}
.guess-tag {
    display: inline-block;
    padding: 3px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: 0.2s;
    background: #fafafa;
}
.guess-tag:hover {
    color: #2f6fbb;
    border-color: #c9dcf1;
    background: #eef4fb;
}
/* ===================== 页脚隐藏加密词条区 ===================== */
footer {
    max-width: 1000px;
    margin: 50px auto 30px;
    padding: 0 30px;
    text-align: center;
}
.footer-arch {
    font-size: 12px;
    color: #b0b0b0;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
    display: inline-block;
}
.footer-arch:hover {
    color: #2f6fbb;
}
.arch-panel {
    display: none;
    margin-top: 14px;
    padding: 18px 20px;
    border: 1px dashed #e0e0e0;
    border-radius: 8px;
    background: #fbfbfb;
    text-align: left;
    animation: fadeIn 0.3s ease;
}
.arch-panel.open {
    display: block;
}
.arch-title {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.arch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.arch-list .arch-word {
    font-size: 13px;
    color: #888;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 4px 12px;
    cursor: pointer;
    transition: 0.2s ease;
}
.arch-list .arch-word:hover {
    color: #c0392b;
    border-color: #e0b3ae;
    background: #fdf7f6;
}
.arch-note {
    margin-top: 10px;
    font-size: 12px;
    color: #c0392b;
    letter-spacing: 0.3px;
}
/* ===================== 全局淡入动画 ===================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.4s ease forwards;
}
/* ===================== 观测资讯流 ===================== */
.news-section {
    margin-top: 40px;
    text-align: left;
}
.news-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #1f2d4d;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.news-head-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2d4d;
}
.news-more {
    font-size: 13px;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
}
.news-more:hover {
    color: #2f6fbb;
}
.news-body {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.news-left {
    flex: 1 1 320px;
    min-width: 240px;
}
.news-right {
    flex: 1 1 220px;
    min-width: 200px;
}
.news-col-label {
    font-size: 13px;
    font-weight: 700;
    color: #3d5bff;
    margin-bottom: 8px;
}
.news-col-label.hot {
    color: #a0346b;
}
/* 左栏资讯条目 */
.news-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
}
.tag-cat {
    flex: 0 0 auto;
    border-radius: 3px;
    padding: 2px 7px;
    font-size: 11px;
    margin-top: 2px;
}
.tag-keji   { background: #eef2fb; color: #3d5bff; }
.tag-data   { background: #fff3e2; color: #c06a12; }
.tag-gonggao{ background: #e6f5ee; color: #2f7d5a; }
.tag-zhuant { background: #fdeef5; color: #a0346b; }
.news-item-main { flex: 1 1 auto; }
.news-item-title {
    font-size: 15px;
    color: #222;
    line-height: 1.45;
    cursor: pointer;
    transition: 0.2s;
}
.news-item-title:hover { color: #2f6fbb; }
.news-item-meta {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
/* 右栏榜单 */
.rank-item {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 6px 0;
}
.rank-no {
    flex: 0 0 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    background: #dfe4ee;
    color: #889;
}
.rank-1 { background: #e74c3c; color: #fff; }
.rank-2 { background: #e67e22; color: #fff; }
.rank-3 { background: #f1c40f; color: #fff; }
.rank-main { flex: 1 1 auto; }
.rank-title {
    font-size: 14px;
    color: #222;
    line-height: 1.35;
    cursor: pointer;
}
.rank-title:hover { color: #2f6fbb; }
.rank-dim { color: #444; }
.rank-meta {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}
/* 底部小推荐卡 */
.news-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.news-card {
    flex: 1 1 40%;
    min-width: 140px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    transition: 0.2s;
}
.news-card:hover {
    border-color: #c9dcf1;
    box-shadow: 0 2px 8px rgba(47,111,187,0.08);
}
.news-thumb {
    height: 48px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.thumb-a { background: url("素材图/银河2.jpg") center/cover no-repeat; }
.thumb-b { background: url("素材图/极光1.jpg") center/cover no-repeat; }
.thumb-c { background: url("素材图/星座图1.jpg") center/cover no-repeat; }
.thumb-d { background: url("素材图/地球5.jpg") center/cover no-repeat; }
.news-card-title {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}
/* 移动端：双栏堆叠为单列 */
@media (max-width: 640px) {
    .news-body { gap: 16px; }
    .news-left, .news-right { min-width: 100%; }
}
/* ===================== 轮播横幅 ===================== */
.banner {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.banner-slides {
    width: 100%;
    height: 100%;
    position: relative;
}
.banner-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.banner-slide.active {
    opacity: 1;
}
.banner-text {
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.banner-title {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.banner-sub {
    font-size: 14px;
    opacity: 0.85;
    letter-spacing: 1px;
}
.banner-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
}
.banner-dot.active {
    background: #fff;
    width: 20px;
    border-radius: 999px;
}
@media (max-width: 640px) {
    .banner { height: 150px; }
    .banner-title { font-size: 18px; }
    .banner-sub { font-size: 12px; }
}
/* ===================== 文章阅读页 ===================== */
#page-article {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}
.article-back {
    font-size: 14px;
    color: #888;
    cursor: pointer;
    margin-bottom: 24px;
    transition: 0.2s;
}
.article-back:hover {
    color: #2f6fbb;
}
.article-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 16px;
}
.article-meta {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: #999;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}
.article-body {
    font-size: 16px;
    line-height: 2;
    color: #333;
}
.article-body p {
    margin-bottom: 18px;
    text-align: justify;
}
.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 28px 0 14px;
    padding-left: 12px;
    border-left: 3px solid #2f6fbb;
}

/* ===================== 登录 & 弹窗 & 论坛 ===================== */
.nav-user {
    margin-left: 16px;
    padding: 4px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}
.nav-user:hover { background: rgba(255,255,255,0.15); }

.modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.modal-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 28px;
    width: 360px;
    position: relative;
    animation: slideUp 0.3s;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
body.admin-on .modal-box {
    background: #1a1f2e;
    border-color: #2f6fbb;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
body.admin-on .modal-title { color: #fff; }
body.admin-on .modal-tab-item { color: #888; }
body.admin-on .modal-tab-item.active { color: #fff; }
body.admin-on .modal-close { color: #888; }
body.admin-on .modal-close:hover { color: #fff; }
body.admin-on .modal-body input, body.admin-on .modal-body textarea {
    background: #0f1420; border-color: #333; color: #fff;
}
/* 管理员登录特效 */
body.admin-on .modal-box { animation: adminPulse 0.6s; }
@keyframes adminPulse {
    0% { box-shadow: 0 0 0 0 rgba(47,111,187,0.6); }
    50% { box-shadow: 0 0 0 20px rgba(47,111,187,0); }
    100% { box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
}
.modal-wide { width: 520px; }
@keyframes slideUp { from{transform:translateY(30px);opacity:0} to{transform:translateY(0);opacity:1} }

.modal-title {
    font-size: 18px;
    color: #222;
    margin-bottom: 16px;
    font-weight: 600;
}
.modal-tab {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.modal-tab-item {
    padding: 6px 16px;
    font-size: 14px;
    color: #888;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.modal-tab-item.active {
    color: #222;
    border-bottom-color: #2f6fbb;
}
.modal-body input,
.modal-body textarea {
    width: 100%;
    box-sizing: border-box;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    color: #222;
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}
.modal-body input:focus,
.modal-body textarea:focus {
    border-color: #2f6fbb;
}
.modal-body textarea { resize: vertical; }
.modal-msg {
    font-size: 13px;
    color: #ff6b6b;
    margin-bottom: 12px;
    min-height: 18px;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    color: #888;
    cursor: pointer;
    font-size: 18px;
}
.modal-close:hover { color: #222; }

.btn-primary {
    background: #2f6fbb;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-primary:hover { background: #3d82d4; }
.btn-refresh {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-refresh:hover { border-color: #2f6fbb; color: #fff; }

.forum-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.forum-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.forum-post {
    background: #1a1f2e;
    border: 1px solid #2a3040;
    border-radius: 6px;
    padding: 16px 20px;
    cursor: pointer;
    transition: 0.3s;
    animation: postIn 0.4s;
}
@keyframes postIn { from{opacity:0;transform:translateX(-20px)} to{opacity:1;transform:translateX(0)} }
.forum-post:hover {
    border-color: #2f6fbb;
    transform: translateX(4px);
}
.forum-post-title {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
}
.forum-post-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    gap: 16px;
}
.post-tag-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.post-tag-label { font-size: 13px; color: #888; }
.post-tag {
    padding: 3px 10px;
    border: 1px solid #333;
    border-radius: 12px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
}
.post-tag:hover, .post-tag.selected {
    border-color: #2f6fbb;
    color: #fff;
    background: rgba(47,111,187,0.15);
}
.forum-post-content {
    font-size: 14px;
    color: #ccc;
    margin: 8px 0;
    line-height: 1.6;
    white-space: pre-wrap;
}
.forum-post-img {
    max-width: 100%;
    border-radius: 4px;
    margin-top: 8px;
}
.forum-post-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 8px;
    vertical-align: middle;
}
.tag-观测记录 { background: #1e3a5f; color: #7ab8ff; }
.tag-异常现象 { background: #3f1e1e; color: #ff7a7a; }
.tag-数据讨论 { background: #1e3f2e; color: #7aff9a; }
.tag-求助提问 { background: #3f3a1e; color: #ffd97a; }
.tag-管理员公告 { background: #3f1e3f; color: #d97aff; }
.forum-detail {
    background: #1a1f2e;
    border: 1px solid #2a3040;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 16px;
}
.forum-back {
    color: #888;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 16px;
    display: inline-block;
}
.forum-back:hover { color: #fff; }

/* ===================== 浮动发布按钮 ===================== */

/* ===================== 用户头像 ===================== */
.nav-user-box {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 20px;
    transition: 0.3s;
}
.nav-user-box:hover { background: rgba(255,255,255,0.08); }
.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2f6fbb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}
.nav-username {
    font-size: 13px;
    color: #ccc;
}
.nav-login {
    font-size: 13px;
    color: #8899aa;
    cursor: pointer;
    padding: 4px 14px;
    border: 1px solid #2a3a50;
    border-radius: 4px;
    transition: 0.3s;
}
.nav-login:hover { color: #fff; border-color: #2f6fbb; }
.profile-avatar-big {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2f6fbb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
}

/* ===================== 论坛搜索 & 分类 & 热门 ===================== */
.forum-search-row { margin-bottom: 16px; }
.forum-search-row input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}
.forum-search-row input:focus { border-color: #2f6fbb; }

/* ===================== 文件选择按钮 ===================== */
.file-label { display: inline-block; margin-top: 8px; cursor: pointer; }
.file-label span {
    display: inline-block;
    padding: 6px 14px;
    border: 1px dashed #555;
    border-radius: 4px;
    font-size: 13px;
    color: #888;
    transition: 0.3s;
}
.file-label:hover span { border-color: #2f6fbb; color: #2f6fbb; }

/* ===================== 退出登录 ===================== */
.nav-logout { font-size: 12px; color: #666; cursor: pointer; margin-left: 8px; }
.nav-logout:hover { color: #ff6b6b; }

/* ===================== 用户标签 & 账号主页 ===================== */
.user-tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 4px;
    vertical-align: middle;
}
.user-tag-admin { background: #ff4444; color: #fff; }
.user-tag-official { background: #ffaa00; color: #fff; }
.user-tag-mod { background: #4488ff; color: #fff; }
.user-tag-pro { background: #9b59b6; color: #fff; }
.user-tag-fan { background: #27ae60; color: #fff; }

.forum-author { cursor: pointer; transition: 0.2s; }
.forum-author:hover { color: #2f6fbb; text-decoration: underline; }

.profile-page {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
}
body.admin-on .profile-page { background: #1a1f2e; }
.profile-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}
.profile-avatar-xl {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2f6fbb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    overflow: hidden;
}
.profile-info-name { font-size: 20px; font-weight: 600; color: #222; }
body.admin-on .profile-info-name { color: #fff; }
.profile-info-bio { font-size: 13px; color: #888; margin-top: 4px; }
.profile-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}
body.admin-on .profile-stats { color: #aaa; }

/* 管理员模式搜索区字体 */
body.admin-on .search-wrap input, body.admin-on .search-wrap button {
    background: #0f1420;
    border-color: #2a3a50;
    color: #fff;
}
body.admin-on .result-card { color: #8899aa; }

/* ===================== 观测论坛 · 深空质感 ===================== */
.forum-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 16px;
    color: #222;
}
body.admin-on .forum-title { color: #fff; }

.forum-ticker {
    background: #fff8e1;
    border: 1px solid #ffd54f;
    border-radius: 6px;
    padding: 10px 0;
    margin-bottom: 20px;
    overflow: hidden;
}
body.admin-on .forum-ticker {
    background: #1a1a0a;
    border-color: #5a4a1a;
}
.ticker-wrap { overflow: hidden; white-space: nowrap; }
.ticker-content {
    display: inline-block;
    animation: tickerScroll 30s linear infinite;
    font-size: 13px;
    color: #8d6e00;
    letter-spacing: 1px;
}
body.admin-on .ticker-content { color: #c8b060; }
.ticker-item { margin: 0 8px; }
.ticker-dot { color: #d4b040; }
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.forum-search-row { margin-bottom: 20px; }
.forum-search-row input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    border: 1px solid #e0e4ea;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #fafbfc;
}
body.admin-on .forum-search-row input {
    background: #0f1420;
    border-color: #2a3040;
    color: #fff;
}
.forum-search-row input:focus { border-color: #2f6fbb; }

.forum-list {
    columns: 2;
    column-gap: 12px;
}
.forum-list .forum-post {
    break-inside: avoid;
    margin-bottom: 12px;
}
@media (max-width: 640px) {
    .forum-list { columns: 1; }
}

.forum-hot-section {
    background: linear-gradient(135deg, #fff8e6 0%, #ffe0b2 100%);
    border: 1px solid #ffb74d;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(255,152,0,0.15);
}
.forum-hot-title {
    font-size: 16px;
    font-weight: 700;
    color: #e65100;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.forum-hot-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
@media (max-width: 640px) { .forum-hot-list { grid-template-columns: 1fr; } }
.forum-hot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
    transition: 0.2s;
}
.forum-hot-item:hover {
    background: rgba(255,255,255,0.6);
    transform: translateX(4px);
}
.hot-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: #ddd;
    flex-shrink: 0;
}
.forum-hot-item:nth-child(1) .hot-rank { background: #e74c3c; }
.forum-hot-item:nth-child(2) .hot-rank { background: #e67e22; }
.forum-hot-item:nth-child(3) .hot-rank { background: #f1c40f; color: #333; }
.forum-hot-item:nth-child(n+4) .hot-rank { background: #bbb; }
.hot-text { font-size: 14px; color: #5d4037; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }

.forum-post {
    background: #ffffff;
    border: 1px solid #e4e8ee;
    border-radius: 8px;
    padding: 18px 20px;
    cursor: pointer;
    transition: 0.25s;
    margin-bottom: 12px;
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.forum-post::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
}
.forum-post::after {
    content: '';
    position: absolute;
    top: -1px; right: -1px;
    width: 14px; height: 14px;
    border-top: 2px solid #2f6fbb;
    border-right: 2px solid #2f6fbb;
    border-top-right-radius: 4px;
    opacity: 0;
    transition: 0.25s;
}
.forum-post:hover::after { opacity: 1; }
.forum-post[data-cat="官方公告"]::before { background: #ffaa00; }
.forum-post[data-cat="数据讨论"]::before { background: #2f6fbb; }
.forum-post[data-cat="求助提问"]::before { background: #27ae60; }
.forum-post[data-cat="观测记录"]::before { background: #8e6bbf; }
.forum-post[data-cat="异常现象"]::before { background: #e74c3c; }
.post-cat-badge {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 2px;
    font-size: 11px;
    color: #889;
    background: #f0f2f5;
    margin-bottom: 6px;
    font-weight: 500;
}
body.admin-on .post-cat-badge { background: #1a2030; color: #789; }
.forum-post .corner-tl,
.forum-post .corner-br {
    position: absolute;
    width: 10px; height: 10px;
    pointer-events: none;
}
.forum-post .corner-tl {
    top: -1px; left: -1px;
    border-top: 1.5px solid #c8d8e8;
    border-left: 1.5px solid #c8d8e8;
    border-top-left-radius: 4px;
}
.forum-post .corner-br {
    bottom: -1px; right: -1px;
    border-bottom: 1.5px solid #c8d8e8;
    border-right: 1.5px solid #c8d8e8;
    border-bottom-right-radius: 4px;
}
.post-cat-badge.pin { background: #e8f0fe; color: #2f6fbb; }
body.admin-on .post-cat-badge.pin { background: #1a2538; color: #6a9fd8; }
.post-cat-badge.official { background: #fff8e1; color: #8d6e00; }
body.admin-on .post-cat-badge.official { background: #2a2510; color: #c8b060; }
body.admin-on .forum-post { background: #151a28; border-color: #252a3a; box-shadow: none; }
.forum-post:hover { border-color: #90b4d8; box-shadow: 0 2px 8px rgba(47,111,187,0.12); transform: translateX(3px); }
body.admin-on .forum-post:hover { border-color: #3a5070; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.forum-post-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2a4a;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #eef4fb;
    border-radius: 4px;
    line-height: 1.4;
}
body.admin-on .forum-post-title { color: #e0e8f0; background: #1a2538; }
.forum-post-meta { font-size: 12px; color: #999; display: flex; gap: 14px; }
body.admin-on .forum-post-meta { color: #667; }

.forum-post-detail {
    background: #ffffff;
    border: 1px solid #e4e8ee;
    border-radius: 4px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
}
body.admin-on .forum-post-detail { background: #151a28; border-color: #252a3a; }
.detail-back {
    color: #2f6fbb; cursor: pointer; font-size: 13px;
    margin-bottom: 16px; display: inline-block;
}
.detail-cat-badge {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 2px;
    font-size: 11px;
    color: #889;
    background: #f0f2f5;
    margin-bottom: 10px;
    font-weight: 500;
}
body.admin-on .detail-cat-badge { background: #1a2030; color: #789; }
.detail-title {
    font-size: 18px; font-weight: 600; color: #1a2a4a;
    margin-bottom: 14px; line-height: 1.4;
    padding: 6px 10px;
    background: #eef4fb;
    border-radius: 3px;
}
body.admin-on .detail-title { color: #e0e8f0; background: #1a2538; }
.detail-author-row {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid #eef0f4;
}
body.admin-on .detail-author-row { border-bottom-color: #222; }
.detail-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: #f0f2f5; display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #666; font-weight: 600;
}
body.admin-on .detail-avatar { background: #2a3040; color: #8899aa; }
.detail-author-name { font-size: 13px; font-weight: 600; color: #333; }
body.admin-on .detail-author-name { color: #ccc; }
.detail-date { font-size: 12px; color: #999; }
.detail-content {
    font-size: 14px; color: #555; line-height: 1.8;
    margin-bottom: 16px; white-space: pre-wrap;
}
body.admin-on .detail-content { color: #bbb; }
.detail-tags { margin-bottom: 16px; }
.detail-tag {
    display: inline-block; padding: 3px 10px;
    background: #eef2f8; border-radius: 4px;
    font-size: 12px; color: #668; margin-right: 6px;
}
body.admin-on .detail-tag { background: #1a2030; color: #789; }

.detail-actions {
    display: flex; gap: 24px;
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
body.admin-on .detail-actions { border-color: #2a3040; }
.detail-action { font-size: 13px; color: #bbb; cursor: default; }
body.admin-on .detail-action { color: #555; }

.detail-replies { margin-bottom: 20px; }
.detail-reply { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
body.admin-on .detail-reply { border-bottom-color: #222; }
.detail-reply-meta { font-size: 12px; color: #999; margin-bottom: 4px; }
.detail-reply-text { font-size: 13px; color: #666; line-height: 1.7; }
body.admin-on .detail-reply-text { color: #999; }

.detail-locked-tip {
    text-align: center; font-size: 13px; color: #aaa;
    padding: 16px; background: #f0f0f0; border-radius: 6px;
}
body.admin-on .detail-locked-tip { background: #1a1f2e; color: #555; }

.forum-admin-area { margin-top: 30px; padding-top: 20px; border-top: 1px dashed #ccc; }
body.admin-on .forum-admin-area { border-top-color: #2a3040; }
.forum-admin-title { font-size: 14px; font-weight: 600; color: #ff4444; margin-bottom: 12px; text-align: center; }
.forum-locked {
    display: flex; gap: 10px; align-items: center; justify-content: center;
    padding: 20px; background: #f8f9fa; border-radius: 6px; font-size: 14px;
}
body.admin-on .forum-locked { background: #1a1f2e; }
.forum-locked input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; outline: none; }
.secret-post {
    background: #1a1a2e; border: 1px solid #4a2a4a; border-radius: 6px;
    padding: 14px 18px; margin-bottom: 10px;
}
.secret-post-title { font-size: 14px; font-weight: 600; color: #ff6b9d; margin-bottom: 6px; }
.secret-post-meta { font-size: 12px; color: #888; }
.secret-post-content { font-size: 13px; color: #ccc; margin-top: 8px; line-height: 1.7; white-space: pre-wrap; }

/* 文章内参考图片 */
.article-img {
    width: 100%; height: 200px; border-radius: 8px; margin: 16px 0;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end; padding: 10px; box-sizing: border-box;
    color: #fff; font-size: 12px; text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.article-img-1 { background: linear-gradient(135deg,#1a1a3e,#3d3a6f,#6f5a9f); }
.article-img-2 { background: linear-gradient(135deg,#0a1a2e,#1f3a5f,#2f6fbb); }
.article-img-3 { background: linear-gradient(135deg,#2e1a1a,#5f3a3d,#9f5a6f); }
.article-img-4 { background: linear-gradient(135deg,#1a2e1a,#3a5f3d,#5a9f6f); }
.article-img-5 { background: linear-gradient(135deg,#2e2a1a,#5f5a3d,#9f9f5a); }

/* 观测资讯列表页 */
.news-list-item {
    padding: 16px 20px; border-bottom: 1px solid #eee; cursor: pointer;
    transition: background .2s;
}
.news-list-item:hover { background: #f8f9fa; }
body.admin-on .news-list-item { border-bottom-color: #2a3040; }
body.admin-on .news-list-item:hover { background: #1a1f2e; }
.news-list-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 4px; }
body.admin-on .news-list-title { color: #ddd; }
.news-list-meta { font-size: 12px; color: #999; }

/* ===================== 网站小宠物 · 残响之星 ===================== */
#starPet {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    user-select: none;
}
.pet-body {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.4s ease;
}
.pet-sparkle {
    position: absolute;
    color: #fff;
    pointer-events: none;
    animation: sparkBlink 4s ease-in-out infinite;
}
.pet-sparkle.s1 { top: -5px; left: 5px; font-size: 8px; animation-delay: 0s; }
.pet-sparkle.s2 { top: -8px; right: 0px; font-size: 12px; animation-delay: 1s; }
.pet-sparkle.s3 { bottom: -3px; left: 0px; font-size: 6px; animation-delay: 2s; }
.pet-sparkle.s4 { bottom: -6px; right: 5px; font-size: 10px; animation-delay: 0.5s; }
.pet-sparkle.s5 { top: 20px; left: -10px; font-size: 7px; animation-delay: 3s; }

@keyframes sparkBlink {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.7; }
}
.pet-body:hover { transform: scale(1.05); }
.pet-star {
    font-size: 50px;
    color: #b8e0f8;
    text-shadow: 0 0 20px rgba(135,206,235,1), 0 0 40px rgba(135,206,235,0.8), 0 0 60px rgba(135,206,235,0.5);
    opacity: 1;
    animation: petTwinkle 4s ease-in-out infinite;
    line-height: 1;
    position: relative;
}
.pet-star-inner {
    position: absolute;
    top: 48%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,1), 0 0 20px rgba(255,255,255,0.8);
    animation: petTwinkle 2s ease-in-out infinite;
    pointer-events: none;
}
.pet-glow {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(135,206,235,0.4) 0%, transparent 70%);
    opacity: 0.5;
    transition: all 0.8s ease;
}
.pet-ring {
    position: absolute;
    width: 90px;
    height: 30px;
    border: 2px solid rgba(171,71,188,0.8);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    opacity: 0;
    transition: all 0.8s ease;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(171,71,188,0.6);
}
.pet-ring.active {
    opacity: 1;
    animation: ringSpin 4s linear infinite;
}
@keyframes ringSpin {
    from { transform: translate(-50%, -50%) rotateX(75deg) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotateX(75deg) rotate(360deg); }
}
@keyframes petTwinkle {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.05); opacity: 1; }
}
.pet-jump {
    animation: petJump 1s ease;
}
@keyframes petJump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.pet-flash {
    animation: petFlash 1.2s ease;
}
@keyframes petFlash {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}
.pet-bubble {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 13px;
    color: #444;
    width: max-content;
    max-width: 220px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10001;
}
.pet-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 15px;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.85);
    border-right: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
}
.pet-actions {
    position: absolute;
    bottom: 95px;
    right: 0;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.pet-btn {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}
.pet-btn:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(0,0,0,0.2);
}
