:root {
    color-scheme: light;
    --app-bg: #f6f8ff;
    --card-bg: rgba(255, 255, 255, 0.92);
    --text: #162033;
    --muted: #7b879d;
    --primary: #4f8cff;
    --primary-2: #8b5cf6;
    --border: rgba(94, 117, 158, 0.16);
    --shadow: 0 18px 45px rgba(67, 95, 140, 0.16);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 20% 0%, rgba(142, 197, 252, 0.34), transparent 32%), linear-gradient(180deg, #f8fbff 0%, var(--app-bg) 100%);
}

body.yuxia-app-body {
    min-height: 100vh;
    overflow-x: hidden;
}

body.yuxia-app-body.is-splashing {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
}

.yuxia-shell {
    width: min(480px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 18px calc(92px + env(safe-area-inset-bottom));
    position: relative;
}

.yuxia-topbar {
    position: sticky;
    top: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 -18px 18px;
    padding: max(14px, env(safe-area-inset-top)) 18px 14px;
    border-bottom: 1px solid rgba(122, 145, 180, 0.14);
    background: rgba(246, 248, 255, 0.9);
    box-shadow: 0 12px 30px rgba(67, 95, 140, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.yuxia-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.yuxia-brand-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 16px;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 12px 26px rgba(79, 140, 255, 0.2);
}

.yuxia-brand-icon {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    font-size: 22px;
    font-weight: 900;
}

.yuxia-kicker {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.yuxia-topbar h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.yuxia-title-button {
    display: inline;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    letter-spacing: inherit;
}

.yuxia-splash {
    position: fixed;
    inset: 0;
    z-index: 100;
    height: 100vh;
    height: 100dvh;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: hidden;
    background: #f8fbff;
    overscroll-behavior: none;
    touch-action: none;
    user-select: none;
    transition: opacity 0.42s ease, visibility 0.42s ease, transform 0.42s ease;
}

.yuxia-splash.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    pointer-events: none;
}

.yuxia-splash-image {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}

.yuxia-pull-refresh {
    --pull-y: 0px;
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: 50%;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid rgba(122, 145, 180, 0.18);
    border-radius: 999px;
    color: #0b3155;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(67, 95, 140, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(-60px + var(--pull-y))) scale(0.94);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.yuxia-pull-refresh.is-visible {
    opacity: 1;
    transform: translate(-50%, calc(-60px + var(--pull-y))) scale(1);
}

.yuxia-pull-refresh strong {
    font-size: 13px;
    font-weight: 800;
}

.yuxia-pull-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(79, 140, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    transform: rotate(0deg);
}

.yuxia-pull-refresh.is-ready .yuxia-pull-spinner {
    border-top-color: #0b3155;
    transform: rotate(180deg);
}

.yuxia-pull-refresh.is-refreshing .yuxia-pull-spinner {
    animation: yuxia-spin 0.78s linear infinite;
}

@keyframes yuxia-spin {
    to {
        transform: rotate(360deg);
    }
}

.yuxia-user-pill {
    flex: 0 0 auto;
    max-width: 130px;
    padding: 9px 13px;
    border: 1px solid rgba(79, 140, 255, 0.28);
    border-radius: 999px;
    color: #2f61c6;
    background: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 10px 24px rgba(79, 140, 255, 0.12);
}

.yuxia-main {
    display: grid;
    gap: 18px;
}

.yuxia-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #dbeafe;
    box-shadow: var(--shadow);
}

.yuxia-carousel-track {
    position: relative;
    height: 188px;
}

.yuxia-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.yuxia-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.yuxia-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.yuxia-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

.yuxia-carousel-dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    pointer-events: auto;
}

.yuxia-carousel-dots button.is-active {
    width: 18px;
    background: #fff;
}

.yuxia-section,
.yuxia-profile-card,
.yuxia-feature-hero {
    border: 1px solid var(--border);
    border-radius: 26px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.yuxia-section {
    padding: 18px;
}

.yuxia-feature-section {
    margin-right: -18px;
    margin-left: -18px;
    padding: 18px;
}

.yuxia-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.yuxia-section-head h2 {
    margin: 0;
    font-size: 18px;
}

.yuxia-section-head span {
    color: var(--muted);
    font-size: 12px;
}

.yuxia-empty-list {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.1), rgba(139, 92, 246, 0.1));
}

.yuxia-empty-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff;
    font-size: 24px;
    box-shadow: 0 10px 22px rgba(67, 95, 140, 0.12);
}

.yuxia-empty-list strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.yuxia-empty-list p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.yuxia-news-section {
    margin-right: -18px;
    margin-left: -18px;
    padding: 18px;
    overflow: hidden;
}

.yuxia-news-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.yuxia-news-tabs::-webkit-scrollbar {
    display: none;
}

.yuxia-news-tab {
    position: relative;
    min-height: 34px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 13px;
    border: 1px solid rgba(79, 140, 255, 0.16);
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.9));
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    box-shadow: none;
    transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.yuxia-news-tab::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.18), rgba(186, 230, 253, 0.2));
    opacity: 0;
    transition: opacity 0.22s ease;
}

.yuxia-news-tab-label,
.yuxia-news-tab-icon {
    position: relative;
    z-index: 1;
}

.yuxia-news-tab-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    object-fit: cover;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.yuxia-news-tab:hover .yuxia-news-tab-icon,
.yuxia-news-tab:focus-visible .yuxia-news-tab-icon {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: none;
}

.yuxia-news-tab:hover,
.yuxia-news-tab:focus-visible {
    border-color: rgba(125, 211, 252, 0.42);
    color: #0284c7;
    transform: none;
    box-shadow: none;
}

.yuxia-news-tab:hover::before,
.yuxia-news-tab:focus-visible::before {
    opacity: 1;
}

.yuxia-news-tab.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #7dd3fc, #bae6fd);
    color: #075985;
    box-shadow: none;
}

.yuxia-news-tab.is-active:hover,
.yuxia-news-tab.is-active:focus-visible {
    color: #075985;
    transform: none;
    box-shadow: none;
}

.yuxia-news-tab.is-active::before {
    background: linear-gradient(120deg, transparent 0%, rgba(240, 249, 255, 0.62) 45%, rgba(224, 242, 254, 0.42) 58%, transparent 78%);
    opacity: 0.68;
    transform: translateX(-80%);
    transition: transform 0.45s ease, opacity 0.22s ease;
}

.yuxia-news-tab.is-active:hover::before,
.yuxia-news-tab.is-active:focus-visible::before {
    transform: translateX(80%);
}

.yuxia-news-tab:disabled {
    opacity: 0.72;
}

.yuxia-news-category-wrap {
    margin-bottom: 14px;
    padding: 12px 12px 8px;
    border: 1px solid rgba(79, 140, 255, 0.12);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.08), rgba(139, 92, 246, 0.08));
}

.yuxia-news-category-wrap.is-hidden {
    display: none;
}

.yuxia-news-category-tab.is-hidden {
    display: none;
}

.yuxia-news-category-title {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
}

.yuxia-news-category-tabs {
    margin-bottom: 0;
}

.yuxia-news-list {
    display: grid;
    gap: 10px;
}

.yuxia-news-list.is-loading {
    opacity: 0.78;
}

.yuxia-news-item {
    width: 100%;
    display: block;
    padding: 14px 15px;
    border: 1px solid rgba(79, 140, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    text-align: left;
    box-shadow: 0 10px 22px rgba(67, 95, 140, 0.08);
}

.yuxia-news-item strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.yuxia-news-item:active {
    transform: scale(0.99);
}

.yuxia-news-empty {
    min-height: 88px;
    display: grid;
    place-items: center;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.yuxia-feature-hero {
    padding: 18px;
    text-align: center;
}

.yuxia-feature-hero img {
    width: 100%;
    height: 160px;
    display: block;
    object-fit: contain;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.12), rgba(139, 92, 246, 0.14));
}

.yuxia-feature-hero h2 {
    margin: 16px 0 4px;
    font-size: 24px;
}

.yuxia-feature-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.yuxia-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.yuxia-feature-card {
    width: 100%;
    min-height: 118px;
    display: block;
    padding: 16px;
    border: 1px solid rgba(79, 140, 255, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 255, 0.95));
    color: var(--text);
    text-align: left;
    box-shadow: 0 12px 26px rgba(67, 95, 140, 0.1);
}

.yuxia-feature-card span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.14), rgba(139, 92, 246, 0.14));
    font-size: 23px;
}

.yuxia-feature-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.yuxia-feature-card em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.yuxia-feature-card.is-tapping {
    transform: scale(0.98);
}

.yuxia-joke-hero {
    padding: 30px 18px 20px;
    text-align: center;
}

.yuxia-joke-hero-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.14), rgba(139, 92, 246, 0.14));
    font-size: 34px;
    box-shadow: 0 16px 34px rgba(79, 140, 255, 0.16);
}

.yuxia-joke-hero h2 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 24px;
    font-weight: 900;
}

.yuxia-joke-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.yuxia-joke-card {
    margin: 0 18px;
    padding: 20px;
    border: 1px solid rgba(79, 140, 255, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.96));
    box-shadow: 0 14px 32px rgba(67, 95, 140, 0.1);
    text-align: center;
}

.yuxia-joke-content {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    padding: 18px;
    border-radius: 20px;
    color: #0b3155;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.08), rgba(139, 92, 246, 0.08));
    font-size: 15px;
    font-weight: 700;
    line-height: 1.75;
    white-space: pre-wrap;
}

.yuxia-joke-btn {
    min-width: 146px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 14px 28px rgba(79, 140, 255, 0.24);
    font-size: 15px;
    font-weight: 900;
}

.yuxia-joke-btn:disabled {
    opacity: 0.72;
}

.yuxia-joke-btn.is-loading {
    pointer-events: none;
}

.yuxia-dujitang-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(79, 140, 255, 0.12));
}

.yuxia-dujitang-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.09), rgba(79, 140, 255, 0.08));
}

.yuxia-dujitang-btn {
    background: linear-gradient(135deg, #f59e0b, var(--primary));
}

.yuxia-qinghua-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(139, 92, 246, 0.14));
}

.yuxia-qinghua-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(139, 92, 246, 0.08));
}

.yuxia-qinghua-btn {
    background: linear-gradient(135deg, #ec4899, var(--primary-2));
}

.yuxia-brainteaser-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(79, 140, 255, 0.14));
}

.yuxia-brainteaser-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(79, 140, 255, 0.08));
}

.yuxia-brainteaser-content {
    white-space: pre-line;
}

.yuxia-brainteaser-btn {
    background: linear-gradient(135deg, #14b8a6, var(--primary));
}

.yuxia-brainteaser-answer-card {
    margin-top: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.yuxia-brainteaser-answer-btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #14b8a6);
    box-shadow: 0 12px 24px rgba(79, 140, 255, 0.24);
}

.yuxia-brainteaser-answer-btn:disabled {
    opacity: 0.55;
}

.yuxia-brainteaser-answer-content {
    display: none;
    margin: 14px 0 0;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(79, 140, 255, 0.08));
}

.yuxia-brainteaser-answer-content.is-show {
    display: block;
}

.yuxia-rainbowfart-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.14), rgba(251, 191, 36, 0.14), rgba(79, 140, 255, 0.12));
}

.yuxia-rainbowfart-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.08), rgba(251, 191, 36, 0.08), rgba(79, 140, 255, 0.08));
}

.yuxia-rainbowfart-btn {
    background: linear-gradient(135deg, #f472b6, #fbbf24, var(--primary));
}

.yuxia-duanzi-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.16), rgba(244, 63, 94, 0.12));
}

.yuxia-duanzi-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.08), rgba(244, 63, 94, 0.08));
}

.yuxia-duanzi-btn {
    background: linear-gradient(135deg, #fb923c, #f43f5e);
}

.yuxia-today-fortune-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(251, 191, 36, 0.14));
}

.yuxia-today-fortune-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(251, 191, 36, 0.08));
}

.yuxia-today-fortune-content {
    white-space: pre-line;
}

.yuxia-today-fortune-btn {
    background: linear-gradient(135deg, #a855f7, #fbbf24);
}

.yuxia-tj-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.14), rgba(245, 158, 11, 0.12));
}

.yuxia-tj-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(245, 158, 11, 0.08));
}

.yuxia-tj-btn {
    background: linear-gradient(135deg, #60a5fa, #f59e0b);
}

.yuxia-emoji-idiom-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(250, 204, 21, 0.14));
}

.yuxia-emoji-idiom-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(250, 204, 21, 0.08));
}

.yuxia-emoji-idiom-content {
    text-align: center;
    font-size: 30px;
    letter-spacing: 2px;
}

.yuxia-emoji-idiom-btn,
.yuxia-emoji-idiom-answer-btn {
    background: linear-gradient(135deg, #22c55e, #facc15);
}

.yuxia-yiyan-two-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(14, 165, 233, 0.12));
}

.yuxia-yiyan-two-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(14, 165, 233, 0.08));
}

.yuxia-yiyan-two-btn {
    background: linear-gradient(135deg, #6366f1, #0ea5e9);
}

.yuxia-answer-book-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(236, 72, 153, 0.12));
}

.yuxia-answer-book-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.08));
}

.yuxia-answer-book-content {
    white-space: pre-line;
}

.yuxia-answer-book-btn {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.yuxia-tongue-twister-hero .yuxia-joke-hero-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(249, 115, 22, 0.12));
}

.yuxia-tongue-twister-card .yuxia-joke-content {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(249, 115, 22, 0.08));
}

.yuxia-tongue-twister-content {
    white-space: pre-line;
}

.yuxia-tongue-twister-btn {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.yuxia-profile-card {
    padding: 28px 20px;
    text-align: center;
}

.yuxia-profile-avatar {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    font-size: 34px;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(79, 140, 255, 0.28);
}

.yuxia-profile-avatar-img {
    display: block;
    object-fit: cover;
    background: #fff;
}

.yuxia-profile-card h2 {
    margin: 0 0 6px;
    font-size: 22px;
}

.yuxia-profile-card p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
}

.yuxia-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.yuxia-logout-section {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid rgba(122, 145, 180, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 28px rgba(67, 95, 140, 0.08);
}

.yuxia-logout-btn {
    width: 100%;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    color: #d94a4a;
    background: rgba(255, 245, 245, 0.96);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(217, 74, 74, 0.16);
}

.yuxia-about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 18px 18px;
    text-align: center;
}

.yuxia-about-avatar {
    width: 88px;
    height: 88px;
    border: 3px solid rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 18px 38px rgba(79, 140, 255, 0.18);
}

.yuxia-about-card h2 {
    margin: 14px 0 5px;
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
}

.yuxia-about-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.yuxia-about-divider {
    height: 1px;
    margin: 10px 2px 18px;
    background: linear-gradient(90deg, transparent, rgba(122, 145, 180, 0.28), transparent);
}

.yuxia-list-row {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 16px;
    border: 1px solid rgba(122, 145, 180, 0.14);
    border-radius: 18px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(67, 95, 140, 0.08);
    text-decoration: none;
}

.yuxia-list-row + .yuxia-list-row {
    margin-top: 12px;
}

.yuxia-list-row strong {
    font-size: 15px;
    font-weight: 800;
}

.yuxia-list-row span {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.yuxia-list-row .yuxia-list-left {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.yuxia-list-row .yuxia-list-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0;
}

.yuxia-list-row .yuxia-list-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.yuxia-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 14px;
    z-index: 30;
    width: min(440px, calc(100% - 28px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(122, 145, 180, 0.2);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(67, 95, 140, 0.18);
    backdrop-filter: blur(18px);
    will-change: transform;
}

.yuxia-bottom-nav a {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    gap: 3px;
    min-height: 52px;
    border-radius: 20px;
    color: #7d8aa3;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transform: translateY(0) scale(1);
    transition: color 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.yuxia-bottom-nav a::before {
    content: "";
    position: absolute;
    inset: 7px 10px;
    z-index: -1;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(226, 240, 255, 0.9), rgba(242, 247, 255, 0.86));
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.yuxia-bottom-nav a:active,
.yuxia-bottom-nav a.is-tapping {
    transform: translateY(2px) scale(0.96);
}

.yuxia-bottom-nav a span {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    line-height: 1;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.yuxia-bottom-nav a svg {
    width: 22px;
    height: 22px;
    display: block;
}

.yuxia-bottom-nav a svg path,
.yuxia-list-row .yuxia-list-icon svg path {
    fill: currentColor;
}

.yuxia-bottom-nav a strong {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.yuxia-bottom-nav a.is-active {
    color: #0b3155;
    background: linear-gradient(135deg, rgba(229, 241, 255, 0.96), rgba(247, 250, 255, 0.92));
    box-shadow: inset 0 0 0 1px rgba(79, 140, 255, 0.18), 0 12px 24px rgba(79, 140, 255, 0.14);
    transform: translateY(-2px) scale(1.02);
}

.yuxia-bottom-nav a.is-active::before {
    opacity: 1;
    transform: scale(1);
}

.yuxia-bottom-nav a.is-active span {
    transform: translateY(-1px) scale(1.08);
}

.yuxia-bottom-nav a.is-active strong {
    transform: translateY(-1px);
}

.yuxia-toast {
    position: fixed;
    left: 50%;
    bottom: 92px;
    z-index: 40;
    transform: translate(-50%, 16px);
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    background: rgba(21, 30, 48, 0.86);
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.yuxia-toast.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.yuxia-login-dialog {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(15, 23, 42, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.yuxia-login-dialog.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.yuxia-login-card {
    width: min(320px, 100%);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 70px rgba(67, 95, 140, 0.28);
    transform: translateY(14px) scale(0.96);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.yuxia-login-dialog.is-show .yuxia-login-card {
    transform: translateY(0) scale(1);
}

.yuxia-login-card p {
    margin: 0 0 18px;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
}

.yuxia-login-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.yuxia-login-actions button,
.yuxia-login-actions a {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.yuxia-login-cancel {
    border: 1px solid rgba(122, 145, 180, 0.28);
    color: var(--muted);
    background: #fff;
}

.yuxia-login-submit {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 12px 24px rgba(79, 140, 255, 0.24);
}

@media (max-width: 360px) {
    .yuxia-shell {
        padding-left: 14px;
        padding-right: 14px;
    }

    .yuxia-carousel-track {
        height: 168px;
    }

    .yuxia-feature-section,
    .yuxia-news-section {
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .yuxia-feature-card {
        min-height: 108px;
        padding: 14px 10px;
    }

    .yuxia-feature-card span {
        width: 38px;
        height: 38px;
        font-size: 21px;
    }
}
